commit b39ecf1638f8218b6f5f3311ea3f9cbd4388232a Author: Jimmy Brancaccio Date: Sun Jan 14 13:51:43 2024 -0600 Initial Commit The initial public commit of MVGL website code. diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6537ca4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..967315d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +* text=auto +*.css linguist-vendored +*.scss linguist-vendored +*.js linguist-vendored +CHANGELOG.md export-ignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6200f55 --- /dev/null +++ b/.gitignore @@ -0,0 +1,40 @@ +/node_modules + +/public/hot +/public/storage +/public/css +/public/js +/public/media +/public/plugins + +/public/demo1 +/public/demo2 +/public/demo3 +/public/demo4 +/public/demo5 +/public/demo6 +/public/demo7 +/public/demo8 +/public/demo9 +/public/demo10 +/public/demo11 +/public/demo12 +/public/demo13 + +/storage/*.key +/vendor +.env +.env.backup +.env.example +.phpunit.result.cache +docker-compose.override.yml +Homestead.json +Homestead.yaml +npm-debug.log +yarn-error.log +_ide_helper.php +_ide_helper_models.php +.phpstorm.meta.php +composer.lock +.push.settings.jsonc +config/changelog.php diff --git a/.phpcs.xml b/.phpcs.xml new file mode 100644 index 0000000..1253def --- /dev/null +++ b/.phpcs.xml @@ -0,0 +1,8 @@ + + + */node_modules/* + */resources/assets/* + */storage/* + */vendor/* + + diff --git a/.styleci.yml b/.styleci.yml new file mode 100644 index 0000000..9231873 --- /dev/null +++ b/.styleci.yml @@ -0,0 +1,13 @@ +php: + preset: laravel + disabled: + - no_unused_imports + finder: + not-name: + - index.php + - server.php +js: + finder: + not-name: + - webpack.mix.js +css: true diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php new file mode 100644 index 0000000..31f4b24 --- /dev/null +++ b/app/Console/Kernel.php @@ -0,0 +1,41 @@ +command('inspire')->hourly(); + } + + /** + * Register the commands for the application. + * + * @return void + */ + protected function commands() + { + $this->load(__DIR__ . '/Commands'); + + require base_path('routes/console.php'); + } +} diff --git a/app/Core/Adapters/BootstrapBase.php b/app/Core/Adapters/BootstrapBase.php new file mode 100644 index 0000000..213129d --- /dev/null +++ b/app/Core/Adapters/BootstrapBase.php @@ -0,0 +1,47 @@ +addHtmlAttribute('body', 'id', 'kt_body'); + + if (theme()->isDarkModeEnabled() && theme()->getCurrentMode() === 'dark') { + theme()->addHtmlClass('body', 'dark-mode'); + } + + if (theme()->getOption('layout', 'main/body/background-image')) { + theme()->addHtmlAttribute('body', 'style', 'background-image: url(' . asset(theme()->getMediaUrlPath() . theme()->getOption('layout', 'main/body/background-image')) . ')'); + } + + if (theme()->getOption('layout', 'main/body/class')) { + theme()->addHtmlClass('body', theme()->getOption('layout', 'main/body/class')); + } + + if (theme()->getOption('layout', 'main/body/attributes')) { + theme()->addHtmlAttributes('body', theme()->getOption('layout', 'main/body/attributes')); + } + + if (theme()->getOption('layout', 'loader/display') === true) { + theme()->addHtmlClass('body', 'page-loading-enabled'); + theme()->addHtmlClass('body', 'page-loading'); + } + } + + public static function run() + { + if (theme()->getOption('layout', 'base') === 'docs') { + return; + } + + // Init base + static::initBase(); + + // Init layout + if (theme()->getOption('layout', 'main/type') === 'default') { + static::initLayout(); + } + } +} diff --git a/app/Core/Adapters/Menu.php b/app/Core/Adapters/Menu.php new file mode 100644 index 0000000..0d62bdb --- /dev/null +++ b/app/Core/Adapters/Menu.php @@ -0,0 +1,61 @@ +user(); + + $checkPermission = $checkRole = false; + if (auth()->check()) { + // check if the spatie plugin functions exist + $checkPermission = method_exists($user, 'hasAnyPermission'); + $checkRole = method_exists($user, 'hasAnyRole'); + } + + foreach ($array as $key => &$value) { + if (is_callable($value)) { + continue; + } + + if ($checkPermission && isset($value['permission']) && !$user->hasAnyPermission((array) $value['permission'])) { + unset($array[$key]); + } + + if ($checkRole && isset($value['role']) && !$user->hasAnyRole((array) $value['role'])) { + unset($array[$key]); + } + + if (is_array($value)) { + self::filterMenuPermissions($value); + } + } + } +} diff --git a/app/Core/Adapters/Theme.php b/app/Core/Adapters/Theme.php new file mode 100644 index 0000000..423ed94 --- /dev/null +++ b/app/Core/Adapters/Theme.php @@ -0,0 +1,501 @@ +exists($path)) { + return view($path, $params); + } + + // Append demo folder for layout view + if (Str::startsWith($path, 'layout')) { + $path = str_replace('layout', 'layout/' . self::$demo, $path); + } + + $view = view($path, $params); + + // Special fix to print _mega-menu content for Core/Theme.php + if (strpos($path, '_mega-menu') !== false) { + echo $view; + } + + return $view; + } + + /** + * Print fonts in the HTML head + * + * @param string $value + */ + public static function includeFonts($value = '') + { + if (self::hasOption('assets', 'fonts/google')) { + $fonts = self::getOption('assets', 'fonts/google'); + + echo ''; + } + } + + /** + * Check if the option has a value + * + * @param $scope + * @param false $path + * + * @return bool + */ + public static function hasOption($scope, $path = false) + { + return (bool) self::getOption($scope, $path); + } + + /** + * Get the option's value from config + * + * @param $scope + * @param false $path + * @param null $default + * + * @return mixed|string + */ + public static function getOption($scope, $path = false, $default = null) + { + $demo = self::getDemo() ?? 'demo1'; + + // Map the config path + if (array_key_exists($scope, config($demo . '.general', []))) { + $scope = 'general.' . $scope; + } + + if (in_array($scope, ['page', 'pages'])) { + $scope = 'pages'; + $segments = request()->segments(); + $scope .= '.' . implode('.', $segments); + } + + // Get current page path + $deepPath = ''; + if (!empty($path)) { + $deepPath = '.' . str_replace('/', '.', $path); + } + + // Demo config + $demoConfig = config($demo . '.' . $scope . $deepPath, $default); + + // check if it is a callback + if (is_callable($demoConfig) && !is_string($demoConfig)) { + $demoConfig = $demoConfig(); + } + + return $demoConfig; + } + + /** + * Get current demo + * + * @return string + */ + public static function getDemo() + { + if (class_exists('request')) { + return request()->input('demo', self::$demo); + } + + return self::$demo; + } + + /** + * Get the product name string wrapped with the tag + * + * @return string + */ + public static function getProductNameHtml() + { + return '' . self::getProductName() . ' Laravel '; + } + + /** + * Get plain product name text + * + * @return mixed|string + */ + public static function getProductName() + { + return self::getOption('product', 'name'); + } + + /** + * Get the version number string from config file + * + * @return mixed + */ + public static function getVersion() + { + $versions = array_keys(config('changelog', [])); + if (isset($versions[0])) { + return str_replace('v', '', $versions[0]); + } + + return null; + } + + /** + * Get the current page title from config page.php + */ + public static function getPageTitle() + { + return theme()->getOption('page', 'title'); + } + + /** + * Get current route name and replace with a new route name + * + * @param $name + * + * @return string + */ + public static function subRoute($name) + { + $routes = explode('.', Route::currentRouteName()); + array_pop($routes); + + $parent = implode('.', $routes); + + return $parent . '.' . $name; + } + + public static function putProVersionTooltip($attr = array()) + { + ob_start(); + + // Call the function from core Theme + parent::putProVersionTooltip($attr); + + return ob_get_clean(); + } + + public static function getIllustrationUrl($file, $dark = true) + { + if ($dark === true) { + if (self::isDarkMode()) { + $file = str_replace(".svg", "-dark.svg", $file); + $file = str_replace(".png", "-dark.png", $file); + $file = str_replace(".jpg", "-dark.jpg", $file); + } + } + + $folder = 'illustrations/' . self::getOption('layout', 'illustrations/set'); + + return self::getMediaUrlPath() . $folder . '/' . $file; + } + + /** + * Check dark mode + * + * @return mixed|string + */ + public static function isDarkMode() + { + return self::getCurrentMode() === 'dark'; + } + + /** + * Get current skin + * + * @return mixed|string + */ + public static function getCurrentMode() + { + if (self::isDarkModeEnabled() && isset($_REQUEST['mode']) && $_REQUEST['mode']) { + return $_REQUEST['mode']; + } + + return 'light'; + } + + /** + * Check if current theme has dark mode + * + * @return bool + */ + public static function isDarkModeEnabled() + { + return (bool) self::getOption('layout', 'main/dark-mode-enabled'); + } + + /** + * Get media path + * + * @return string + */ + public static function getMediaUrlPath() + { + return theme()->getDemo() . '/media/'; + } + + public static function getImageUrl($folder, $file, $dark = true) + { + if ($dark) { + if (self::isDarkMode()) { + $file = str_replace(".svg", "-dark.svg", $file); + $file = str_replace(".png", "-dark.png", $file); + $file = str_replace(".jpg", "-dark.jpg", $file); + } + } + + return self::getMediaUrlPath() . $folder . '/' . $file; + } + + /** + * Rebuild config and merge with main and page config level in boot + */ + public function initConfig() + { + $mainConfig = collect(config('global')); + $demoConfig = config(Theme::$demo); + $mergedConfig = $mainConfig->replaceRecursive($demoConfig); + config([Theme::$demo => $mergedConfig->all()]); + + self::$config = $mergedConfig->all(); + + // Get config by url path + $configPath = Theme::$demo . '.pages.' . str_replace('/', '.', Theme::getPagePath()); + $pageConfig = collect(config($configPath)); + + // Merge group config with child config + $pageGroupOptions = Theme::getPageGroupOptions(config(Theme::$demo . '.pages'), Theme::getPagePath()); + if ($pageGroupOptions) { + $overridenConfig = $pageConfig->replaceRecursive($pageGroupOptions); + config([$configPath => $overridenConfig->all()]); + } + + $generalConfig = collect(config(Theme::$demo . '.general')); + // Merge general config with page level config + config([Theme::$demo . '.general' => $generalConfig->replaceRecursive(config($configPath))->all()]); + } + + /** + * Get current page path + * + * @return mixed + */ + public static function getPagePath() + { + // Override page path + $segments = request()->segments(); + if (!empty($segments)) { + \App\Core\Theme::$page = implode('/', $segments); + } + + return \App\Core\Theme::getPagePath(); + } + + /** + * Get menu array from config + * + * @return array + */ + public function getMenu() + { + $menus = self::getOption('menu'); + + $output = []; + + foreach ($menus as $menu) { + if (is_array($menu)) { + $this->iterateMenu($menu, $output); + } + } + + return $output; + } + + /** + * Iterate menu array for self::getMenu() function + * + * @param $menus + * @param $output + */ + private function iterateMenu($menus, &$output) + { + if (!is_array($menus)) { + return; + } + + if (isset($menus['path'])) { + $output[] = $menus; + } + + if (is_array($menus)) { + foreach ($menus as $menu) { + $this->iterateMenu($menu, $output); + } + } + } + + public static function getDemosTotal() + { + $total = 0; + + foreach (self::getOption('product', 'demos') as $id => $demo) { + if ($demo['published'] === true) { + $total++; + } + } + + return $total; + } +} diff --git a/app/Core/Adapters/Util.php b/app/Core/Adapters/Util.php new file mode 100644 index 0000000..b489788 --- /dev/null +++ b/app/Core/Adapters/Util.php @@ -0,0 +1,70 @@ +'; + $html .= '
'; + if ($icon) { + $html .= ' '; + $html .= '
'; + $html .= ' ' . Theme::getSvgIcon("icons/duotone/Layout/Layout-polygon.svg", "svg-icon-' . $state . ' position-absolute opacity-10", "w-80px h-80px"); + $html .= ' ' . Theme::getSvgIcon($icon, 'svg-icon-3x svg-icon-' . $state . ' position-absolute'); + $html .= '
'; + $html .= ' '; + } + + $html .= ' '; + $html .= '
'; + $html .= $text; + $html .= '
'; + $html .= ' '; + $html .= '
'; + $html .= ''; + + echo $html; + } + + public static function putHtmlAttributes($attributes) + { + return self::getHtmlAttributes($attributes); + } +} diff --git a/app/Core/Bootstraps/BootstrapDemo1.php b/app/Core/Bootstraps/BootstrapDemo1.php new file mode 100644 index 0000000..0cd3ba6 --- /dev/null +++ b/app/Core/Bootstraps/BootstrapDemo1.php @@ -0,0 +1,200 @@ +displayIcons(false); + } + + self::$asideMenu->setIconType(Theme::getOption('layout', 'aside/menu-icon')); + } + + private static function initHorizontalMenu() + { + self::$horizontalMenu = new Menu(Theme::getOption('menu', 'horizontal'), Theme::getPagePath()); + self::$horizontalMenu->setItemLinkClass('py-3'); + self::$horizontalMenu->setIconType(Theme::getOption('layout', 'header/menu-icon', 'svg')); + } + + private static function initFooter() + { + if (Theme::getOption('layout', 'footer/width') == 'fluid') { + Theme::addHtmlClass('footer-container', 'container-fluid'); + } else { + Theme::addHtmlClass('footer-container', 'container-xxl'); + } + } + + // Public Methods + public static function initLayout() + { + self::initHeader(); + self::initPageTitle(); + self::initToolbar(); + self::initContent(); + self::initAside(); + self::initFooter(); + self::initAsideMenu(); + self::initHorizontalMenu(); + } + + public static function getAsideMenu() + { + return self::$asideMenu; + } + + public static function getHorizontalMenu() + { + return self::$horizontalMenu; + } + + public static function getBreadcrumb() + { + $options = array( + 'skip-active' => false + ); + + return self::getAsideMenu()->getBreadcrumb($options); + } +} diff --git a/app/Core/Bootstraps/BootstrapDemo2.php b/app/Core/Bootstraps/BootstrapDemo2.php new file mode 100644 index 0000000..d393ab3 --- /dev/null +++ b/app/Core/Bootstraps/BootstrapDemo2.php @@ -0,0 +1,160 @@ +displayIcons(false); + } + + self::$asideMenu->setIconType(Theme::getOption('layout', 'aside/menu-icon')); + } + + private static function initHorizontalMenu() + { + self::$horizontalMenu = new Menu(Theme::getOption('menu', 'horizontal'), Theme::getPagePath()); + self::$horizontalMenu->setItemLinkClass('py-3'); + self::$horizontalMenu->setIconType(Theme::getOption('layout', 'header/menu-icon')); + } + + private static function initFooter() + { + if (Theme::getOption('layout', 'footer/width') == 'fluid') { + Theme::addHtmlClass('footer-container', 'container-fluid'); + } else { + Theme::addHtmlClass('footer-container', 'container'); + } + } + + private static function initScripts() + { + Theme::addPageJs('js/custom/widgets.js'); + Theme::addPageJs('js/custom/apps/chat/chat.js'); + Theme::addPageJs('js/custom/modals/create-app.js'); + Theme::addPageJs('js/custom/modals/upgrade-plan.js'); + + if (Theme::getViewMode() !== 'release') { + Theme::addPageJs('js/custom/intro.js'); + } + } + + // Public Methods + public static function getAsideMenu() + { + return self::$asideMenu; + } + + public static function getHorizontalMenu() + { + return self::$horizontalMenu; + } + + public static function getBreadcrumb() + { + $options = array( + 'skip-active' => false + ); + + return self::getHorizontalMenu()->getBreadcrumb($options); + } + + public static function initLayout() + { + self::initPage(); + self::initHeader(); + self::initPageTitle(); + self::initToolbar(); + self::initContent(); + self::initAside(); + self::initFooter(); + self::initAsideMenu(); + self::initHorizontalMenu(); + self::initScripts(); + } +} diff --git a/app/Core/Bootstraps/BootstrapDemo3.php b/app/Core/Bootstraps/BootstrapDemo3.php new file mode 100644 index 0000000..a397b9e --- /dev/null +++ b/app/Core/Bootstraps/BootstrapDemo3.php @@ -0,0 +1,116 @@ + false + ); + + return self::getMenu()->getBreadcrumb($options); + } + + public static function initLayout() + { + self::initHeader(); + self::initContent(); + self::initAside(); + self::initSidebar(); + self::initFooter(); + self::initMenu(); + self::initScripts(); + } +} diff --git a/app/Core/Bootstraps/BootstrapDemo4.php b/app/Core/Bootstraps/BootstrapDemo4.php new file mode 100644 index 0000000..2e51163 --- /dev/null +++ b/app/Core/Bootstraps/BootstrapDemo4.php @@ -0,0 +1,127 @@ +setIconType(Theme::getOption('layout', 'aside/menu-icon', 'svg')); + } + + private static function initHorizontalMenu() + { + self::$horizontalMenu = new Menu(Theme::getOption('menu', 'horizontal'), Theme::getPagePath()); + self::$horizontalMenu->setItemLinkClass('py-3'); + self::$horizontalMenu->setIconType(Theme::getOption('layout', 'header/menu-icon', 'svg')); + } + + private static function initFooter() + { + if (Theme::getOption('layout', 'footer/width') == 'fluid') { + Theme::addHtmlClass('footer-container', 'container-fluid'); + } else { + Theme::addHtmlClass('footer-container', 'container-xxl'); + } + } + + private static function initScripts() + { + Theme::addPageJs('js/custom/widgets.js'); + Theme::addPageJs('js/custom/apps/chat/chat.js'); + Theme::addPageJs('js/custom/modals/create-app.js'); + Theme::addPageJs('js/custom/modals/upgrade-plan.js'); + + if (Theme::getViewMode() !== 'release') { + Theme::addPageJs('js/custom/intro.js'); + } + } + + // Public Methods + public static function getAsideMenu() + { + return self::$asideMenu; + } + + public static function getHorizontalMenu() + { + return self::$horizontalMenu; + } + + public static function getBreadcrumb() + { + $options = array( + 'skip-active' => false + ); + + return self::getHorizontalMenu()->getBreadcrumb($options); + } + + public static function initLayout() + { + self::initHeader(); + self::initContent(); + self::initAside(); + self::initFooter(); + self::initAsideMenu(); + self::initHorizontalMenu(); + self::initScripts(); + } +} diff --git a/app/Core/Bootstraps/BootstrapDemo5.php b/app/Core/Bootstraps/BootstrapDemo5.php new file mode 100644 index 0000000..a08ef48 --- /dev/null +++ b/app/Core/Bootstraps/BootstrapDemo5.php @@ -0,0 +1,99 @@ +setItemLinkClass('py-3'); + self::$horizontalMenu->setIconType(Theme::getOption('layout', 'header/menu-icon', 'svg')); + } + + private static function initScripts() + { + Theme::addPageJs('js/custom/widgets.js'); + Theme::addPageJs('js/custom/apps/chat/chat.js'); + Theme::addPageJs('js/custom/modals/create-app.js'); + Theme::addPageJs('js/custom/modals/upgrade-plan.js'); + + if (Theme::getViewMode() !== 'release') { + Theme::addPageJs('js/custom/intro.js'); + } + } + + // Public Methods + public static function initLayout() + { + self::initHeader(); + self::initContent(); + self::initAside(); + self::initSidebar(); + self::initHorizontalMenu(); + self::initScripts(); + } + + public static function getHorizontalMenu() + { + return self::$horizontalMenu; + } + + public static function getBreadcrumb() + { + $options = array( + 'skip-active' => false + ); + + return self::getHorizontalMenu()->getBreadcrumb($options); + } +} diff --git a/app/Core/Bootstraps/BootstrapDemo6.php b/app/Core/Bootstraps/BootstrapDemo6.php new file mode 100644 index 0000000..ce05450 --- /dev/null +++ b/app/Core/Bootstraps/BootstrapDemo6.php @@ -0,0 +1,177 @@ +setIconType(Theme::getOption('layout', 'aside/menu-icon')); + } + + private static function initHorizontalMenu() + { + self::$horizontalMenu = new Menu(Theme::getOption('menu', 'horizontal'), Theme::getPagePath()); + self::$horizontalMenu->setItemLinkClass('py-3'); + self::$horizontalMenu->setIconType(Theme::getOption('layout', 'header/menu-icon', 'svg')); + } + + private static function initFooter() + { + if (Theme::getOption('layout', 'footer/width') == 'fluid') { + Theme::addHtmlClass('footer-container', 'container-fluid'); + } else { + Theme::addHtmlClass('footer-container', 'container-xxl'); + } + } + + private static function initScripts() + { + Theme::addPageJs('js/custom/widgets.js'); + Theme::addPageJs('js/custom/apps/chat/chat.js'); + Theme::addPageJs('js/custom/modals/create-app.js'); + Theme::addPageJs('js/custom/modals/upgrade-plan.js'); + + if (Theme::getViewMode() !== 'release') { + Theme::addPageJs('js/custom/intro.js'); + } + } + + // Public Methods + public static function getAsideMenu() + { + return self::$asideMenu; + } + + public static function getHorizontalMenu() + { + return self::$horizontalMenu; + } + + public static function getBreadcrumb() + { + $options = array( + 'skip-active' => false + ); + + return self::getHorizontalMenu()->getBreadcrumb($options); + } + + public static function initLayout() + { + self::initPage(); + self::initHeader(); + self::initPageTitle(); + self::initToolbar(); + self::initContent(); + self::initAside(); + self::initFooter(); + self::initAsideMenu(); + self::initHorizontalMenu(); + self::initScripts(); + } +} diff --git a/app/Core/Bootstraps/BootstrapDemo7.php b/app/Core/Bootstraps/BootstrapDemo7.php new file mode 100644 index 0000000..a847085 --- /dev/null +++ b/app/Core/Bootstraps/BootstrapDemo7.php @@ -0,0 +1,128 @@ +displayIcons(false); + } + + self::$menu->setIconType(Theme::getOption('layout', 'aside/menu-icon')); + } + + private static function initFooter() + { + if (Theme::getOption('layout', 'footer/width') == 'fluid') { + Theme::addHtmlClass('footer-container', 'container-fluid'); + } else { + Theme::addHtmlClass('footer-container', 'container-xxl'); + } + } + + private static function initScripts() + { + // Global widgets + Theme::addPageJs('js/widgets.bundle.js'); + + // Custom widgets + Theme::addPageJs('js/custom/widgets.js'); + + // Chat app + Theme::addPageJs('js/custom/apps/chat/chat.js'); + + if (Theme::getViewMode() !== 'release') { + Theme::addPageJs('js/custom/intro.js'); + } + } + + // Public Methods + public static function getMenu() + { + return self::$menu; + } + + public static function getBreadcrumb() + { + $options = array( + 'skip-active' => false + ); + + return self::getMenu()->getBreadcrumb($options); + } + + public static function initLayout() + { + self::initPage(); + self::initHeader(); + self::initContent(); + self::initAside(); + self::initFooter(); + self::initMenu(); + self::initScripts(); + } +} diff --git a/app/Core/Bootstraps/BootstrapDemo8.php b/app/Core/Bootstraps/BootstrapDemo8.php new file mode 100644 index 0000000..cdc28b5 --- /dev/null +++ b/app/Core/Bootstraps/BootstrapDemo8.php @@ -0,0 +1,97 @@ + false + ); + + return self::getAsideMenu()->getBreadcrumb($options); + } +} diff --git a/app/Core/Bootstraps/BootstrapDemo9.php b/app/Core/Bootstraps/BootstrapDemo9.php new file mode 100644 index 0000000..d5c56c5 --- /dev/null +++ b/app/Core/Bootstraps/BootstrapDemo9.php @@ -0,0 +1,127 @@ +setIconType(Theme::getOption('layout', 'aside/menu-icon', 'svg')); + } + + private static function initHorizontalMenu() + { + self::$horizontalMenu = new Menu(Theme::getOption('menu', 'horizontal'), Theme::getPagePath()); + self::$horizontalMenu->setItemLinkClass('py-3'); + self::$horizontalMenu->setIconType(Theme::getOption('layout', 'header/menu-icon', 'svg')); + } + + private static function initFooter() + { + if (Theme::getOption('layout', 'footer/width') == 'fluid') { + Theme::addHtmlClass('footer-container', 'container-fluid'); + } else { + Theme::addHtmlClass('footer-container', 'container-xxl'); + } + } + + private static function initScripts() + { + Theme::addPageJs('js/custom/widgets.js'); + Theme::addPageJs('js/custom/apps/chat/chat.js'); + Theme::addPageJs('js/custom/modals/create-app.js'); + Theme::addPageJs('js/custom/modals/upgrade-plan.js'); + + if (Theme::getViewMode() !== 'release') { + Theme::addPageJs('js/custom/intro.js'); + } + } + + // Public Methods + public static function getAsideMenu() + { + return self::$asideMenu; + } + + public static function getHorizontalMenu() + { + return self::$horizontalMenu; + } + + public static function getBreadcrumb() + { + $options = array( + 'skip-active' => false + ); + + return self::getHorizontalMenu()->getBreadcrumb($options); + } + + public static function initLayout() + { + self::initHeader(); + self::initContent(); + self::initAside(); + self::initFooter(); + self::initAsideMenu(); + self::initHorizontalMenu(); + self::initScripts(); + } +} diff --git a/app/Core/Components.php b/app/Core/Components.php new file mode 100644 index 0000000..56f8b28 --- /dev/null +++ b/app/Core/Components.php @@ -0,0 +1,81 @@ +'; + $html .= '
'; + + if (isset($options['avatar'])) { + $html .= 'Pic'; + } else { + $html .= ''; + $html .= $options['initials']['label']; + $html .= ''; + } + + // Online badge + if (isset($options['badge'])) { + $html .= $options['badge']; + } + + $html .= '
'; + $html .= ''; + + return $html; + } +} diff --git a/app/Core/Data.php b/app/Core/Data.php new file mode 100644 index 0000000..1255a44 --- /dev/null +++ b/app/Core/Data.php @@ -0,0 +1,622 @@ + array('name' => 'Afghanistan', 'flag' => 'flags/afghanistan.svg'), + 'AX' => array('name' => 'Aland Islands', 'flag' => 'flags/aland-islands.svg'), + 'AL' => array('name' => 'Albania', 'flag' => 'flags/albania.svg'), + 'DZ' => array('name' => 'Algeria', 'flag' => 'flags/algeria.svg'), + 'AS' => array('name' => 'American Samoa', 'flag' => 'flags/american-samoa.svg'), + 'AD' => array('name' => 'Andorra', 'flag' => 'flags/andorra.svg'), + 'AO' => array('name' => 'Angola', 'flag' => 'flags/angola.svg'), + 'AI' => array('name' => 'Anguilla', 'flag' => 'flags/anguilla.svg'), + 'AG' => array('name' => 'Antigua and Barbuda', 'flag' => 'flags/antigua-and-barbuda.svg'), + 'AR' => array('name' => 'Argentina', 'flag' => 'flags/argentina.svg'), + 'AM' => array('name' => 'Armenia', 'flag' => 'flags/armenia.svg'), + 'AW' => array('name' => 'Aruba', 'flag' => 'flags/aruba.svg'), + 'AU' => array('name' => 'Australia', 'flag' => 'flags/australia.svg'), + 'AT' => array('name' => 'Austria', 'flag' => 'flags/austria.svg'), + 'AZ' => array('name' => 'Azerbaijan', 'flag' => 'flags/azerbaijan.svg'), + 'BS' => array('name' => 'Bahamas', 'flag' => 'flags/bahamas.svg'), + 'BH' => array('name' => 'Bahrain', 'flag' => 'flags/bahrain.svg'), + 'BD' => array('name' => 'Bangladesh', 'flag' => 'flags/bangladesh.svg'), + 'BB' => array('name' => 'Barbados', 'flag' => 'flags/barbados.svg'), + 'BY' => array('name' => 'Belarus', 'flag' => 'flags/belarus.svg'), + 'BE' => array('name' => 'Belgium', 'flag' => 'flags/belgium.svg'), + 'BZ' => array('name' => 'Belize', 'flag' => 'flags/belize.svg'), + 'BJ' => array('name' => 'Benin', 'flag' => 'flags/benin.svg'), + 'BM' => array('name' => 'Bermuda', 'flag' => 'flags/bermuda.svg'), + 'BT' => array('name' => 'Bhutan', 'flag' => 'flags/bhutan.svg'), + 'BO' => array('name' => 'Bolivia, Plurinational State of', 'flag' => 'flags/bolivia.svg'), + 'BQ' => array('name' => 'Bonaire, Sint Eustatius and Saba', 'flag' => 'flags/bonaire.svg'), + 'BA' => array('name' => 'Bosnia and Herzegovina', 'flag' => 'flags/bosnia-and-herzegovina.svg'), + 'BW' => array('name' => 'Botswana', 'flag' => 'flags/botswana.svg'), + 'BR' => array('name' => 'Brazil', 'flag' => 'flags/brazil.svg'), + 'IO' => array('name' => 'British Indian Ocean Territory', 'flag' => 'flags/british-indian-ocean-territory.svg'), + 'BN' => array('name' => 'Brunei Darussalam', 'flag' => 'flags/brunei.svg'), + 'BG' => array('name' => 'Bulgaria', 'flag' => 'flags/bulgaria.svg'), + 'BF' => array('name' => 'Burkina Faso', 'flag' => 'flags/burkina-faso.svg'), + 'BI' => array('name' => 'Burundi', 'flag' => 'flags/burundi.svg'), + 'KH' => array('name' => 'Cambodia', 'flag' => 'flags/cambodia.svg'), + 'CM' => array('name' => 'Cameroon', 'flag' => 'flags/cameroon.svg'), + 'CA' => array('name' => 'Canada', 'flag' => 'flags/canada.svg'), + 'CV' => array('name' => 'Cape Verde', 'flag' => 'flags/cape-verde.svg'), + 'KY' => array('name' => 'Cayman Islands', 'flag' => 'flags/cayman-islands.svg'), + 'CF' => array('name' => 'Central African Republic', 'flag' => 'flags/central-african-republic.svg'), + 'TD' => array('name' => 'Chad', 'flag' => 'flags/chad.svg'), + 'CL' => array('name' => 'Chile', 'flag' => 'flags/chile.svg'), + 'CN' => array('name' => 'China', 'flag' => 'flags/china.svg'), + 'CX' => array('name' => 'Christmas Island', 'flag' => 'flags/christmas-island.svg'), + 'CC' => array('name' => 'Cocos (Keeling) Islands', 'flag' => 'flags/cocos-island.svg'), + 'CO' => array('name' => 'Colombia', 'flag' => 'flags/colombia.svg'), + 'KM' => array('name' => 'Comoros', 'flag' => 'flags/comoros.svg'), + 'CK' => array('name' => 'Cook Islands', 'flag' => 'flags/cook-islands.svg'), + 'CR' => array('name' => 'Costa Rica', 'flag' => 'flags/costa-rica.svg'), + 'CI' => array('name' => 'Côte d\'Ivoire', 'flag' => 'flags/ivory-coast.svg'), + 'HR' => array('name' => 'Croatia', 'flag' => 'flags/croatia.svg'), + 'CU' => array('name' => 'Cuba', 'flag' => 'flags/cuba.svg'), + 'CW' => array('name' => 'Curaçao', 'flag' => 'flags/curacao.svg'), + 'CZ' => array('name' => 'Czech Republic', 'flag' => 'flags/czech-republic.svg'), + 'DK' => array('name' => 'Denmark', 'flag' => 'flags/denmark.svg'), + 'DJ' => array('name' => 'Djibouti', 'flag' => 'flags/djibouti.svg'), + 'DM' => array('name' => 'Dominica', 'flag' => 'flags/dominica.svg'), + 'DO' => array('name' => 'Dominican Republic', 'flag' => 'flags/dominican-republic.svg'), + 'EC' => array('name' => 'Ecuador', 'flag' => 'flags/ecuador.svg'), + 'EG' => array('name' => 'Egypt', 'flag' => 'flags/egypt.svg'), + 'SV' => array('name' => 'El Salvador', 'flag' => 'flags/el-salvador.svg'), + 'GQ' => array('name' => 'Equatorial Guinea', 'flag' => 'flags/equatorial-guinea.svg'), + 'ER' => array('name' => 'Eritrea', 'flag' => 'flags/eritrea.svg'), + 'EE' => array('name' => 'Estonia', 'flag' => 'flags/estonia.svg'), + 'ET' => array('name' => 'Ethiopia', 'flag' => 'flags/ethiopia.svg'), + 'FK' => array('name' => 'Falkland Islands (Malvinas)', 'flag' => 'flags/falkland-islands.svg'), + 'FJ' => array('name' => 'Fiji', 'flag' => 'flags/fiji.svg'), + 'FI' => array('name' => 'Finland', 'flag' => 'flags/finland.svg'), + 'FR' => array('name' => 'France', 'flag' => 'flags/france.svg'), + 'PF' => array('name' => 'French Polynesia', 'flag' => 'flags/french-polynesia.svg'), + 'GA' => array('name' => 'Gabon', 'flag' => 'flags/gabon.svg'), + 'GM' => array('name' => 'Gambia', 'flag' => 'flags/gambia.svg'), + 'GE' => array('name' => 'Georgia', 'flag' => 'flags/georgia.svg'), + 'DE' => array('name' => 'Germany', 'flag' => 'flags/germany.svg'), + 'GH' => array('name' => 'Ghana', 'flag' => 'flags/ghana.svg'), + 'GI' => array('name' => 'Gibraltar', 'flag' => 'flags/gibraltar.svg'), + 'GR' => array('name' => 'Greece', 'flag' => 'flags/greece.svg'), + 'GL' => array('name' => 'Greenland', 'flag' => 'flags/greenland.svg'), + 'GD' => array('name' => 'Grenada', 'flag' => 'flags/grenada.svg'), + 'GU' => array('name' => 'Guam', 'flag' => 'flags/guam.svg'), + 'GT' => array('name' => 'Guatemala', 'flag' => 'flags/guatemala.svg'), + 'GG' => array('name' => 'Guernsey', 'flag' => 'flags/guernsey.svg'), + 'GN' => array('name' => 'Guinea', 'flag' => 'flags/guinea.svg'), + 'GW' => array('name' => 'Guinea-Bissau', 'flag' => 'flags/guinea-bissau.svg'), + 'HT' => array('name' => 'Haiti', 'flag' => 'flags/haiti.svg'), + 'VA' => array('name' => 'Holy See (Vatican City State)', 'flag' => 'flags/vatican-city.svg'), + 'HN' => array('name' => 'Honduras', 'flag' => 'flags/honduras.svg'), + 'HK' => array('name' => 'Hong Kong', 'flag' => 'flags/hong-kong.svg'), + 'HU' => array('name' => 'Hungary', 'flag' => 'flags/hungary.svg'), + 'IS' => array('name' => 'Iceland', 'flag' => 'flags/iceland.svg'), + 'IN' => array('name' => 'India', 'flag' => 'flags/india.svg'), + 'ID' => array('name' => 'Indonesia', 'flag' => 'flags/indonesia.svg'), + 'IR' => array('name' => 'Iran, Islamic Republic of', 'flag' => 'flags/iran.svg'), + 'IQ' => array('name' => 'Iraq', 'flag' => 'flags/iraq.svg'), + 'IE' => array('name' => 'Ireland', 'flag' => 'flags/ireland.svg'), + 'IM' => array('name' => 'Isle of Man', 'flag' => 'flags/isle-of-man.svg'), + 'IL' => array('name' => 'Israel', 'flag' => 'flags/israel.svg'), + 'IT' => array('name' => 'Italy', 'flag' => 'flags/italy.svg'), + 'JM' => array('name' => 'Jamaica', 'flag' => 'flags/jamaica.svg'), + 'JP' => array('name' => 'Japan', 'flag' => 'flags/japan.svg'), + 'JE' => array('name' => 'Jersey', 'flag' => 'flags/jersey.svg'), + 'JO' => array('name' => 'Jordan', 'flag' => 'flags/jordan.svg'), + 'KZ' => array('name' => 'Kazakhstan', 'flag' => 'flags/kazakhstan.svg'), + 'KE' => array('name' => 'Kenya', 'flag' => 'flags/kenya.svg'), + 'KI' => array('name' => 'Kiribati', 'flag' => 'flags/kiribati.svg'), + 'KP' => array('name' => 'Korea, Democratic People\'s Republic of', 'flag' => 'flags/north-korea.svg'), + 'KW' => array('name' => 'Kuwait', 'flag' => 'flags/kuwait.svg'), + 'KG' => array('name' => 'Kyrgyzstan', 'flag' => 'flags/kyrgyzstan.svg'), + 'LA' => array('name' => 'Lao People\'s Democratic Republic', 'flag' => 'flags/laos.svg'), + 'LV' => array('name' => 'Latvia', 'flag' => 'flags/latvia.svg'), + 'LB' => array('name' => 'Lebanon', 'flag' => 'flags/lebanon.svg'), + 'LS' => array('name' => 'Lesotho', 'flag' => 'flags/lesotho.svg'), + 'LR' => array('name' => 'Liberia', 'flag' => 'flags/liberia.svg'), + 'LY' => array('name' => 'Libya', 'flag' => 'flags/libya.svg'), + 'LI' => array('name' => 'Liechtenstein', 'flag' => 'flags/liechtenstein.svg'), + 'LT' => array('name' => 'Lithuania', 'flag' => 'flags/lithuania.svg'), + 'LU' => array('name' => 'Luxembourg', 'flag' => 'flags/luxembourg.svg'), + 'MO' => array('name' => 'Macao', 'flag' => 'flags/macao.svg'), + 'MG' => array('name' => 'Madagascar', 'flag' => 'flags/madagascar.svg'), + 'MW' => array('name' => 'Malawi', 'flag' => 'flags/malawi.svg'), + 'MY' => array('name' => 'Malaysia', 'flag' => 'flags/malaysia.svg'), + 'MV' => array('name' => 'Maldives', 'flag' => 'flags/maldives.svg'), + 'ML' => array('name' => 'Mali', 'flag' => 'flags/mali.svg'), + 'MT' => array('name' => 'Malta', 'flag' => 'flags/malta.svg'), + 'MH' => array('name' => 'Marshall Islands', 'flag' => 'flags/marshall-island.svg'), + 'MQ' => array('name' => 'Martinique', 'flag' => 'flags/martinique.svg'), + 'MR' => array('name' => 'Mauritania', 'flag' => 'flags/mauritania.svg'), + 'MU' => array('name' => 'Mauritius', 'flag' => 'flags/mauritius.svg'), + 'MX' => array('name' => 'Mexico', 'flag' => 'flags/mexico.svg'), + 'FM' => array('name' => 'Micronesia, Federated States of', 'flag' => 'flags/micronesia.svg'), + 'MD' => array('name' => 'Moldova, Republic of', 'flag' => 'flags/moldova.svg'), + 'MC' => array('name' => 'Monaco', 'flag' => 'flags/monaco.svg'), + 'MN' => array('name' => 'Mongolia', 'flag' => 'flags/mongolia.svg'), + 'ME' => array('name' => 'Montenegro', 'flag' => 'flags/montenegro.svg'), + 'MS' => array('name' => 'Montserrat', 'flag' => 'flags/montserrat.svg'), + 'MA' => array('name' => 'Morocco', 'flag' => 'flags/morocco.svg'), + 'MZ' => array('name' => 'Mozambique', 'flag' => 'flags/mozambique.svg'), + 'MM' => array('name' => 'Myanmar', 'flag' => 'flags/myanmar.svg'), + 'NA' => array('name' => 'Namibia', 'flag' => 'flags/namibia.svg'), + 'NR' => array('name' => 'Nauru', 'flag' => 'flags/nauru.svg'), + 'NP' => array('name' => 'Nepal', 'flag' => 'flags/nepal.svg'), + 'NL' => array('name' => 'Netherlands', 'flag' => 'flags/netherlands.svg'), + 'NZ' => array('name' => 'New Zealand', 'flag' => 'flags/new-zealand.svg'), + 'NI' => array('name' => 'Nicaragua', 'flag' => 'flags/nicaragua.svg'), + 'NE' => array('name' => 'Niger', 'flag' => 'flags/niger.svg'), + 'NG' => array('name' => 'Nigeria', 'flag' => 'flags/nigeria.svg'), + 'NU' => array('name' => 'Niue', 'flag' => 'flags/niue.svg'), + 'NF' => array('name' => 'Norfolk Island', 'flag' => 'flags/norfolk-island.svg'), + 'MP' => array('name' => 'Northern Mariana Islands', 'flag' => 'flags/northern-mariana-islands.svg'), + 'NO' => array('name' => 'Norway', 'flag' => 'flags/norway.svg'), + 'OM' => array('name' => 'Oman', 'flag' => 'flags/oman.svg'), + 'PK' => array('name' => 'Pakistan', 'flag' => 'flags/pakistan.svg'), + 'PW' => array('name' => 'Palau', 'flag' => 'flags/palau.svg'), + 'PS' => array('name' => 'Palestinian Territory, Occupied', 'flag' => 'flags/palestine.svg'), + 'PA' => array('name' => 'Panama', 'flag' => 'flags/panama.svg'), + 'PG' => array('name' => 'Papua New Guinea', 'flag' => 'flags/papua-new-guinea.svg'), + 'PY' => array('name' => 'Paraguay', 'flag' => 'flags/paraguay.svg'), + 'PE' => array('name' => 'Peru', 'flag' => 'flags/peru.svg'), + 'PH' => array('name' => 'Philippines', 'flag' => 'flags/philippines.svg'), + 'PL' => array('name' => 'Poland', 'flag' => 'flags/poland.svg'), + 'PT' => array('name' => 'Portugal', 'flag' => 'flags/portugal.svg'), + 'PR' => array('name' => 'Puerto Rico', 'flag' => 'flags/puerto-rico.svg'), + 'QA' => array('name' => 'Qatar', 'flag' => 'flags/qatar.svg'), + 'RO' => array('name' => 'Romania', 'flag' => 'flags/romania.svg'), + 'RU' => array('name' => 'Russian Federation', 'flag' => 'flags/russia.svg'), + 'RW' => array('name' => 'Rwanda', 'flag' => 'flags/rwanda.svg'), + 'BL' => array('name' => 'Saint Barthélemy', 'flag' => 'flags/st-barts.svg'), + 'KN' => array('name' => 'Saint Kitts and Nevis', 'flag' => 'flags/saint-kitts-and-nevis.svg'), + 'LC' => array('name' => 'Saint Lucia', 'flag' => 'flags/st-lucia.svg'), + 'MF' => array('name' => 'Saint Martin (French part)', 'flag' => 'flags/sint-maarten.svg'), + // 'PM' => array('name' => 'Saint Pierre and Miquelon', 'flag' => 'flags/saint-pierre.svg'), + 'VC' => array('name' => 'Saint Vincent and the Grenadines', 'flag' => 'flags/st-vincent-and-the-grenadines.svg'), + 'WS' => array('name' => 'Samoa', 'flag' => 'flags/samoa.svg'), + 'SM' => array('name' => 'San Marino', 'flag' => 'flags/san-marino.svg'), + 'ST' => array('name' => 'Sao Tome and Principe', 'flag' => 'flags/sao-tome-and-prince.svg'), + 'SA' => array('name' => 'Saudi Arabia', 'flag' => 'flags/saudi-arabia.svg'), + 'SN' => array('name' => 'Senegal', 'flag' => 'flags/senegal.svg'), + 'RS' => array('name' => 'Serbia', 'flag' => 'flags/serbia.svg'), + 'SC' => array('name' => 'Seychelles', 'flag' => 'flags/seychelles.svg'), + 'SL' => array('name' => 'Sierra Leone', 'flag' => 'flags/sierra-leone.svg'), + 'SG' => array('name' => 'Singapore', 'flag' => 'flags/singapore.svg'), + 'SX' => array('name' => 'Sint Maarten (Dutch part)', 'flag' => 'flags/sint-maarten.svg'), + 'SK' => array('name' => 'Slovakia', 'flag' => 'flags/slovakia.svg'), + 'SI' => array('name' => 'Slovenia', 'flag' => 'flags/slovenia.svg'), + 'SB' => array('name' => 'Solomon Islands', 'flag' => 'flags/solomon-islands.svg'), + 'SO' => array('name' => 'Somalia', 'flag' => 'flags/somalia.svg'), + 'ZA' => array('name' => 'South Africa', 'flag' => 'flags/south-africa.svg'), + 'KR' => array('name' => 'South Korea', 'flag' => 'flags/south-korea.svg'), + 'SS' => array('name' => 'South Sudan', 'flag' => 'flags/south-sudan.svg'), + 'ES' => array('name' => 'Spain', 'flag' => 'flags/spain.svg'), + 'LK' => array('name' => 'Sri Lanka', 'flag' => 'flags/sri-lanka.svg'), + 'SD' => array('name' => 'Sudan', 'flag' => 'flags/sudan.svg'), + 'SR' => array('name' => 'Suriname', 'flag' => 'flags/suriname.svg'), + 'SZ' => array('name' => 'Swaziland', 'flag' => 'flags/swaziland.svg'), + 'SE' => array('name' => 'Sweden', 'flag' => 'flags/sweden.svg'), + 'CH' => array('name' => 'Switzerland', 'flag' => 'flags/switzerland.svg'), + 'SY' => array('name' => 'Syrian Arab Republic', 'flag' => 'flags/syria.svg'), + 'TW' => array('name' => 'Taiwan, Province of China', 'flag' => 'flags/taiwan.svg'), + 'TJ' => array('name' => 'Tajikistan', 'flag' => 'flags/tajikistan.svg'), + 'TZ' => array('name' => 'Tanzania, United Republic of', 'flag' => 'flags/tanzania.svg'), + 'TH' => array('name' => 'Thailand', 'flag' => 'flags/thailand.svg'), + 'TG' => array('name' => 'Togo', 'flag' => 'flags/togo.svg'), + 'TK' => array('name' => 'Tokelau', 'flag' => 'flags/tokelau.svg'), + 'TO' => array('name' => 'Tonga', 'flag' => 'flags/tonga.svg'), + 'TT' => array('name' => 'Trinidad and Tobago', 'flag' => 'flags/trinidad-and-tobago.svg'), + 'TN' => array('name' => 'Tunisia', 'flag' => 'flags/tunisia.svg'), + 'TR' => array('name' => 'Turkey', 'flag' => 'flags/turkey.svg'), + 'TM' => array('name' => 'Turkmenistan', 'flag' => 'flags/turkmenistan.svg'), + 'TC' => array('name' => 'Turks and Caicos Islands', 'flag' => 'flags/turks-and-caicos.svg'), + 'TV' => array('name' => 'Tuvalu', 'flag' => 'flags/tuvalu.svg'), + 'UG' => array('name' => 'Uganda', 'flag' => 'flags/uganda.svg'), + 'UA' => array('name' => 'Ukraine', 'flag' => 'flags/ukraine.svg'), + 'AE' => array('name' => 'United Arab Emirates', 'flag' => 'flags/united-arab-emirates.svg'), + 'GB' => array('name' => 'United Kingdom', 'flag' => 'flags/united-kingdom.svg'), + 'US' => array('name' => 'United States', 'flag' => 'flags/united-states.svg'), + 'UY' => array('name' => 'Uruguay', 'flag' => 'flags/uruguay.svg'), + 'UZ' => array('name' => 'Uzbekistan', 'flag' => 'flags/uzbekistan.svg'), + 'VU' => array('name' => 'Vanuatu', 'flag' => 'flags/vanuatu.svg'), + 'VE' => array('name' => 'Venezuela, Bolivarian Republic of', 'flag' => 'flags/venezuela.svg'), + 'VN' => array('name' => 'Vietnam', 'flag' => 'flags/vietnam.svg'), + 'VI' => array('name' => 'Virgin Islands', 'flag' => 'flags/virgin-islands.svg'), + 'YE' => array('name' => 'Yemen', 'flag' => 'flags/yemen.svg'), + 'ZM' => array('name' => 'Zambia', 'flag' => 'flags/zambia.svg'), + 'ZW' => array('name' => 'Zimbabwe', 'flag' => 'flags/zimbabwe.svg') + ); + } + + public static function getLanguagesList() + { + $countryArr = Data::getCountriesList(); + + return array( + 'id' => array('name' => 'Bahasa Indonesia - Indonesian', 'country' => $countryArr['ID']), + 'msa' => array('name' => 'Bahasa Melayu - Malay', 'country' => $countryArr['MY']), + 'ca' => array('name' => 'Català - Catalan', 'country' => $countryArr['CA']), + 'cs' => array('name' => 'Čeština - Czech', 'country' => $countryArr['CZ']), + 'da' => array('name' => 'Dansk - Danish', 'country' => $countryArr['NL']), + 'de' => array('name' => 'Deutsch - German', 'country' => $countryArr['DE']), + 'en' => array('name' => 'English', 'country' => $countryArr['GB']), + 'en-gb' => array('name' => 'English UK - British English', 'country' => $countryArr['GB']), + 'es' => array('name' => 'Español - Spanish', 'country' => $countryArr['ES']), + 'fil' => array('name' => 'Filipino', 'country' => $countryArr['PH']), + 'fr' => array('name' => 'Français - French', 'country' => $countryArr['FR']), + 'ga' => array('name' => 'Gaeilge - Irish (beta)', 'country' => $countryArr['GA']), + 'gl' => array('name' => 'Galego - Galician (beta)', 'country' => $countryArr['GL']), + 'hr' => array('name' => 'Hrvatski - Croatian', 'country' => $countryArr['HR']), + 'it' => array('name' => 'Italiano - Italian', 'country' => $countryArr['IT']), + 'hu' => array('name' => 'Magyar - Hungarian', 'country' => $countryArr['HU']), + 'nl' => array('name' => 'Nederlands - Dutch', 'country' => $countryArr['NL']), + 'no' => array('name' => 'Norsk - Norwegian', 'country' => $countryArr['NO']), + 'pl' => array('name' => 'Polski - Polish', 'country' => $countryArr['PL']), + 'pt' => array('name' => 'Português - Portuguese', 'country' => $countryArr['PT']), + 'ro' => array('name' => 'Română - Romanian', 'country' => $countryArr['RO']), + 'sk' => array('name' => 'Slovenčina - Slovak', 'country' => $countryArr['SK']), + 'fi' => array('name' => 'Suomi - Finnish', 'country' => $countryArr['FI']), + 'sv' => array('name' => 'Svenska - Swedish', 'country' => $countryArr['SV']), + 'vi' => array('name' => 'Tiếng Việt - Vietnamese', 'country' => $countryArr['VI']), + 'tr' => array('name' => 'Türkçe - Turkish', 'country' => $countryArr['TR']), + 'el' => array('name' => 'Ελληνικά - Greek', 'country' => $countryArr['GR']), + 'bg' => array('name' => 'Български език - Bulgarian', 'country' => $countryArr['BG']), + 'ru' => array('name' => 'Русский - Russian', 'country' => $countryArr['RU']), + 'sr' => array('name' => 'Српски - Serbian', 'country' => $countryArr['SR']), + 'uk' => array('name' => 'Українська мова - Ukrainian', 'country' => $countryArr['UA']), + 'he' => array('name' => 'עִבְרִית - Hebrew', 'country' => $countryArr['IL']), + 'ur' => array('name' => 'اردو - Urdu (beta)', 'country' => $countryArr['PK']), + 'ar' => array('name' => 'العربية - Arabic', 'country' => $countryArr['AR']), + 'fa' => array('name' => 'فارسی - Persian', 'country' => $countryArr['AR']), + 'mr' => array('name' => 'मराठी - Marathi', 'country' => $countryArr['MR']), + 'hi' => array('name' => 'हिन्दी - Hindi', 'country' => $countryArr['IN']), + 'bn' => array('name' => 'বাংলা - Bangla', 'country' => $countryArr['BD']), + 'gu' => array('name' => 'ગુજરાતી - Gujarati', 'country' => $countryArr['GU']), + 'ta' => array('name' => 'தமிழ் - Tamil', 'country' => $countryArr['IN']), + 'kn' => array('name' => 'ಕನ್ನಡ - Kannada', 'country' => $countryArr['KN']), + 'th' => array('name' => 'ภาษาไทย - Thai', 'country' => $countryArr['TH']), + 'ko' => array('name' => '한국어 - Korean', 'country' => $countryArr['KR']), + 'ja' => array('name' => '日本語 - Japanese', 'country' => $countryArr['JP']), + 'zh-cn' => array('name' => '简体中文 - Simplified Chinese', 'country' => $countryArr['CN']), + 'zh-tw' => array('name' => '繁體中文 - Traditional Chinese', 'country' => $countryArr['TW']) + ); + } + + public static function getCurrencyList() + { + $countryArr = Data::getCountriesList(); + + return array( + 'USD' => array('name' => 'USA dollar', 'country' => $countryArr['US']), + 'GBP' => array('name' => 'British pound', 'country' => $countryArr['GB']), + 'AUD' => array('name' => 'Australian dollar', 'country' => $countryArr['AU']), + 'JPY' => array('name' => 'Japanese yen', 'country' => $countryArr['JP']), + 'SEK' => array('name' => 'Swedish krona', 'country' => $countryArr['SE']), + 'CAD' => array('name' => 'Canadian dollar', 'country' => $countryArr['CA']), + 'CHF' => array('name' => 'Swiss franc', 'country' => $countryArr['CH']) + ); + } + + public static function getTimeZonesList() + { + return array( + 'International Date Line West' => array('name' => '(GMT-11:00) International Date Line West', 'offset' => '-39600'), + 'Midway Island' => array('name' => '(GMT-11:00) Midway Island', 'offset' => '-39600'), + 'Samoa' => array('name' => '(GMT-11:00) Samoa', 'offset' => '-39600'), + 'Hawaii' => array('name' => '(GMT-10:00) Hawaii', 'offset' => '-36000'), + 'Alaska' => array('name' => '(GMT-08:00) Alaska', 'offset' => '-28800'), + 'Pacific Time (US & Canada)' => array('name' => '(GMT-07:00) Pacific Time (US & Canada)', 'offset' => '-25200'), + 'Tijuana' => array('name' => '(GMT-07:00) Tijuana', 'offset' => '-25200'), + 'Arizona' => array('name' => '(GMT-07:00) Arizona', 'offset' => '-25200'), + 'Mountain Time (US & Canada)' => array('name' => '(GMT-06:00) Mountain Time (US & Canada)', 'offset' => '-21600'), + 'Chihuahua' => array('name' => '(GMT-06:00) Chihuahua', 'offset' => '-21600'), + 'Mazatlan' => array('name' => '(GMT-06:00) Mazatlan', 'offset' => '-21600'), + 'Saskatchewan' => array('name' => '(GMT-06:00) Saskatchewan', 'offset' => '-21600'), + 'Central America' => array('name' => '(GMT-06:00) Central America', 'offset' => '-21600'), + 'Central Time (US & Canada)' => array('name' => '(GMT-05:00) Central Time (US & Canada)', 'offset' => '-18000'), + 'Guadalajara' => array('name' => '(GMT-05:00) Guadalajara', 'offset' => '-18000'), + 'Mexico City' => array('name' => '(GMT-05:00) Mexico City', 'offset' => '-18000'), + 'Monterrey' => array('name' => '(GMT-05:00) Monterrey', 'offset' => '-18000'), + 'Bogota' => array('name' => '(GMT-05:00) Bogota', 'offset' => '-18000'), + 'Lima' => array('name' => '(GMT-05:00) Lima', 'offset' => '-18000'), + 'Quito' => array('name' => '(GMT-05:00) Quito', 'offset' => '-18000'), + 'Eastern Time (US & Canada)' => array('name' => '(GMT-04:00) Eastern Time (US & Canada)', 'offset' => '-14400'), + 'Indiana (East)' => array('name' => '(GMT-04:00) Indiana (East)', 'offset' => '-14400'), + 'Caracas' => array('name' => '(GMT-04:00) Caracas', 'offset' => '-14400'), + 'La Paz' => array('name' => '(GMT-04:00) La Paz', 'offset' => '-14400'), + 'Georgetown' => array('name' => '(GMT-04:00) Georgetown', 'offset' => '-14400'), + 'Atlantic Time (Canada)' => array('name' => '(GMT-03:00) Atlantic Time (Canada)', 'offset' => '-10800'), + 'Santiago' => array('name' => '(GMT-03:00) Santiago', 'offset' => '-10800'), + 'Brasilia' => array('name' => '(GMT-03:00) Brasilia', 'offset' => '-10800'), + 'Buenos Aires' => array('name' => '(GMT-03:00) Buenos Aires', 'offset' => '-10800'), + 'Newfoundland' => array('name' => '(GMT-02:30) Newfoundland', 'offset' => '-9000'), + 'Greenland' => array('name' => '(GMT-02:00) Greenland', 'offset' => '-7200'), + 'Mid-Atlantic' => array('name' => '(GMT-02:00) Mid-Atlantic', 'offset' => '-7200'), + 'Cape Verde Is.' => array('name' => '(GMT-01:00) Cape Verde Is.', 'offset' => '-3600'), + 'Azores' => array('name' => '(GMT) Azores', 'offset' => '0'), + 'Monrovia' => array('name' => '(GMT) Monrovia', 'offset' => '0'), + 'UTC' => array('name' => '(GMT) UTC', 'offset' => '0'), + 'Dublin' => array('name' => '(GMT+01:00) Dublin', 'offset' => '3600'), + 'Edinburgh' => array('name' => '(GMT+01:00) Edinburgh', 'offset' => '3600'), + 'Lisbon' => array('name' => '(GMT+01:00) Lisbon', 'offset' => '3600'), + 'London' => array('name' => '(GMT+01:00) London', 'offset' => '3600'), + 'Casablanca' => array('name' => '(GMT+01:00) Casablanca', 'offset' => '3600'), + 'West Central Africa' => array('name' => '(GMT+01:00) West Central Africa', 'offset' => '3600'), + 'Belgrade' => array('name' => '(GMT+02:00) Belgrade', 'offset' => '7200'), + 'Bratislava' => array('name' => '(GMT+02:00) Bratislava', 'offset' => '7200'), + 'Budapest' => array('name' => '(GMT+02:00) Budapest', 'offset' => '7200'), + 'Ljubljana' => array('name' => '(GMT+02:00) Ljubljana', 'offset' => '7200'), + 'Prague' => array('name' => '(GMT+02:00) Prague', 'offset' => '7200'), + 'Sarajevo' => array('name' => '(GMT+02:00) Sarajevo', 'offset' => '7200'), + 'Skopje' => array('name' => '(GMT+02:00) Skopje', 'offset' => '7200'), + 'Warsaw' => array('name' => '(GMT+02:00) Warsaw', 'offset' => '7200'), + 'Zagreb' => array('name' => '(GMT+02:00) Zagreb', 'offset' => '7200'), + 'Brussels' => array('name' => '(GMT+02:00) Brussels', 'offset' => '7200'), + 'Copenhagen' => array('name' => '(GMT+02:00) Copenhagen', 'offset' => '7200'), + 'Madrid' => array('name' => '(GMT+02:00) Madrid', 'offset' => '7200'), + 'Paris' => array('name' => '(GMT+02:00) Paris', 'offset' => '7200'), + 'Amsterdam' => array('name' => '(GMT+02:00) Amsterdam', 'offset' => '7200'), + 'Berlin' => array('name' => '(GMT+02:00) Berlin', 'offset' => '7200'), + 'Bern' => array('name' => '(GMT+02:00) Bern', 'offset' => '7200'), + 'Rome' => array('name' => '(GMT+02:00) Rome', 'offset' => '7200'), + 'Stockholm' => array('name' => '(GMT+02:00) Stockholm', 'offset' => '7200'), + 'Vienna' => array('name' => '(GMT+02:00) Vienna', 'offset' => '7200'), + 'Cairo' => array('name' => '(GMT+02:00) Cairo', 'offset' => '7200'), + 'Harare' => array('name' => '(GMT+02:00) Harare', 'offset' => '7200'), + 'Pretoria' => array('name' => '(GMT+02:00) Pretoria', 'offset' => '7200'), + 'Bucharest' => array('name' => '(GMT+03:00) Bucharest', 'offset' => '10800'), + 'Helsinki' => array('name' => '(GMT+03:00) Helsinki', 'offset' => '10800'), + 'Kiev' => array('name' => '(GMT+03:00) Kiev', 'offset' => '10800'), + 'Kyiv' => array('name' => '(GMT+03:00) Kyiv', 'offset' => '10800'), + 'Riga' => array('name' => '(GMT+03:00) Riga', 'offset' => '10800'), + 'Sofia' => array('name' => '(GMT+03:00) Sofia', 'offset' => '10800'), + 'Tallinn' => array('name' => '(GMT+03:00) Tallinn', 'offset' => '10800'), + 'Vilnius' => array('name' => '(GMT+03:00) Vilnius', 'offset' => '10800'), + 'Athens' => array('name' => '(GMT+03:00) Athens', 'offset' => '10800'), + 'Istanbul' => array('name' => '(GMT+03:00) Istanbul', 'offset' => '10800'), + 'Minsk' => array('name' => '(GMT+03:00) Minsk', 'offset' => '10800'), + 'Jerusalem' => array('name' => '(GMT+03:00) Jerusalem', 'offset' => '10800'), + 'Moscow' => array('name' => '(GMT+03:00) Moscow', 'offset' => '10800'), + 'St. Petersburg' => array('name' => '(GMT+03:00) St. Petersburg', 'offset' => '10800'), + 'Volgograd' => array('name' => '(GMT+03:00) Volgograd', 'offset' => '10800'), + 'Kuwait' => array('name' => '(GMT+03:00) Kuwait', 'offset' => '10800'), + 'Riyadh' => array('name' => '(GMT+03:00) Riyadh', 'offset' => '10800'), + 'Nairobi' => array('name' => '(GMT+03:00) Nairobi', 'offset' => '10800'), + 'Baghdad' => array('name' => '(GMT+03:00) Baghdad', 'offset' => '10800'), + 'Abu Dhabi' => array('name' => '(GMT+04:00) Abu Dhabi', 'offset' => '14400'), + 'Muscat' => array('name' => '(GMT+04:00) Muscat', 'offset' => '14400'), + 'Baku' => array('name' => '(GMT+04:00) Baku', 'offset' => '14400'), + 'Tbilisi' => array('name' => '(GMT+04:00) Tbilisi', 'offset' => '14400'), + 'Yerevan' => array('name' => '(GMT+04:00) Yerevan', 'offset' => '14400'), + 'Tehran' => array('name' => '(GMT+04:30) Tehran', 'offset' => '16200'), + 'Kabul' => array('name' => '(GMT+04:30) Kabul', 'offset' => '16200'), + 'Ekaterinburg' => array('name' => '(GMT+05:00) Ekaterinburg', 'offset' => '18000'), + 'Islamabad' => array('name' => '(GMT+05:00) Islamabad', 'offset' => '18000'), + 'Karachi' => array('name' => '(GMT+05:00) Karachi', 'offset' => '18000'), + 'Tashkent' => array('name' => '(GMT+05:00) Tashkent', 'offset' => '18000'), + 'Chennai' => array('name' => '(GMT+05:30) Chennai', 'offset' => '19800'), + 'Kolkata' => array('name' => '(GMT+05:30) Kolkata', 'offset' => '19800'), + 'Mumbai' => array('name' => '(GMT+05:30) Mumbai', 'offset' => '19800'), + 'New Delhi' => array('name' => '(GMT+05:30) New Delhi', 'offset' => '19800'), + 'Sri Jayawardenepura' => array('name' => '(GMT+05:30) Sri Jayawardenepura', 'offset' => '19800'), + 'Kathmandu' => array('name' => '(GMT+05:45) Kathmandu', 'offset' => '20700'), + 'Astana' => array('name' => '(GMT+06:00) Astana', 'offset' => '21600'), + 'Dhaka' => array('name' => '(GMT+06:00) Dhaka', 'offset' => '21600'), + 'Almaty' => array('name' => '(GMT+06:00) Almaty', 'offset' => '21600'), + 'Urumqi' => array('name' => '(GMT+06:00) Urumqi', 'offset' => '21600'), + 'Rangoon' => array('name' => '(GMT+06:30) Rangoon', 'offset' => '23400'), + 'Novosibirsk' => array('name' => '(GMT+07:00) Novosibirsk', 'offset' => '25200'), + 'Bangkok' => array('name' => '(GMT+07:00) Bangkok', 'offset' => '25200'), + 'Hanoi' => array('name' => '(GMT+07:00) Hanoi', 'offset' => '25200'), + 'Jakarta' => array('name' => '(GMT+07:00) Jakarta', 'offset' => '25200'), + 'Krasnoyarsk' => array('name' => '(GMT+07:00) Krasnoyarsk', 'offset' => '25200'), + 'Beijing' => array('name' => '(GMT+08:00) Beijing', 'offset' => '28800'), + 'Chongqing' => array('name' => '(GMT+08:00) Chongqing', 'offset' => '28800'), + 'Hong Kong' => array('name' => '(GMT+08:00) Hong Kong', 'offset' => '28800'), + 'Kuala Lumpur' => array('name' => '(GMT+08:00) Kuala Lumpur', 'offset' => '28800'), + 'Singapore' => array('name' => '(GMT+08:00) Singapore', 'offset' => '28800'), + 'Taipei' => array('name' => '(GMT+08:00) Taipei', 'offset' => '28800'), + 'Perth' => array('name' => '(GMT+08:00) Perth', 'offset' => '28800'), + 'Irkutsk' => array('name' => '(GMT+08:00) Irkutsk', 'offset' => '28800'), + 'Ulaan Bataar' => array('name' => '(GMT+08:00) Ulaan Bataar', 'offset' => '28800'), + 'Seoul' => array('name' => '(GMT+09:00) Seoul', 'offset' => '32400'), + 'Osaka' => array('name' => '(GMT+09:00) Osaka', 'offset' => '32400'), + 'Sapporo' => array('name' => '(GMT+09:00) Sapporo', 'offset' => '32400'), + 'Tokyo' => array('name' => '(GMT+09:00) Tokyo', 'offset' => '32400'), + 'Yakutsk' => array('name' => '(GMT+09:00) Yakutsk', 'offset' => '32400'), + 'Darwin' => array('name' => '(GMT+09:30) Darwin', 'offset' => '34200'), + 'Adelaide' => array('name' => '(GMT+09:30) Adelaide', 'offset' => '34200'), + 'Canberra' => array('name' => '(GMT+10:00) Canberra', 'offset' => '36000'), + 'Melbourne' => array('name' => '(GMT+10:00) Melbourne', 'offset' => '36000'), + 'Sydney' => array('name' => '(GMT+10:00) Sydney', 'offset' => '36000'), + 'Brisbane' => array('name' => '(GMT+10:00) Brisbane', 'offset' => '36000'), + 'Hobart' => array('name' => '(GMT+10:00) Hobart', 'offset' => '36000'), + 'Vladivostok' => array('name' => '(GMT+10:00) Vladivostok', 'offset' => '36000'), + 'Guam' => array('name' => '(GMT+10:00) Guam', 'offset' => '36000'), + 'Port Moresby' => array('name' => '(GMT+10:00) Port Moresby', 'offset' => '36000'), + 'Solomon Is.' => array('name' => '(GMT+10:00) Solomon Is.', 'offset' => '36000'), + 'Magadan' => array('name' => '(GMT+11:00) Magadan', 'offset' => '39600'), + 'New Caledonia' => array('name' => '(GMT+11:00) New Caledonia', 'offset' => '39600'), + 'Fiji' => array('name' => '(GMT+12:00) Fiji', 'offset' => '43200'), + 'Kamchatka' => array('name' => '(GMT+12:00) Kamchatka', 'offset' => '43200'), + 'Marshall Is.' => array('name' => '(GMT+12:00) Marshall Is.', 'offset' => '43200'), + 'Auckland' => array('name' => '(GMT+12:00) Auckland', 'offset' => '43200'), + 'Wellington' => array('name' => '(GMT+12:00) Wellington', 'offset' => '43200'), + 'Nuku\'alofa' => array('name' => '(GMT+13:00) Nuku\'alofa', 'offset' => '46800') + ); + } + + public static function getSampleUserInfo($index = -1) + { + $users = array( + array( + 'name' => 'Emma Smith', + 'avatar' => 'avatars/300-6.jpg', + 'email' => 'e.smith@kpmg.com.au', + 'position' => 'Art Director', + "online" => false + ), + array( + 'name' => 'Melody Macy', + 'initials' => array('label' => 'M', 'state' => 'danger'), + 'email' => 'melody@altbox.com', + 'position' => 'Marketing Analytic', + "online" => true + ), + array( + 'name' => 'Max Smith', + 'avatar' => 'avatars/300-1.jpg', + 'email' => 'max@kt.com', + 'position' => 'Software Enginer', + "online" => false + ), + array( + 'name' => 'Sean Bean', + 'avatar' => 'avatars/300-5.jpg', + 'email' => 'sean@dellito.com', + 'position' => 'Web Developer', + "online" => false + ), + array( + 'name' => 'Brian Cox', + 'avatar' => 'avatars/300-25.jpg', + 'email' => 'brian@exchange.com', + 'position' => 'UI/UX Designer', + "online" => false + ), + array( + 'name' => 'Mikaela Collins', + 'initials' => array('label' => 'C', 'state' => 'warning'), + 'email' => 'mikaela@pexcom.com', + 'position' => 'Head Of Marketing', + "online" => true + ), + array( + 'name' => 'Francis Mitcham', + 'avatar' => 'avatars/300-9.jpg', + 'email' => 'f.mitcham@kpmg.com.au', + 'position' => 'Software Arcitect', + "online" => false + ), + + array( + 'name' => 'Olivia Wild', + 'initials' => array('label' => 'O', 'state' => 'danger'), + 'email' => 'olivia@corpmail.com', + 'position' => 'System Admin', + "online" => true + ), + array( + 'name' => 'Neil Owen', + 'initials' => array('label' => 'N', 'state' => 'primary'), + 'email' => 'owen.neil@gmail.com', + 'position' => 'Account Manager', + "online" => true + ), + array( + 'name' => 'Dan Wilson', + 'avatar' => 'avatars/300-23.jpg', + 'email' => 'dam@consilting.com', + 'position' => 'Web Desinger', + "online" => false + ), + array( + 'name' => 'Emma Bold', + 'initials' => array('label' => 'E', 'state' => 'danger'), + 'email' => 'emma@intenso.com', + 'position' => 'Corporate Finance', + "online" => true + ), + array( + 'name' => 'Ana Crown', + 'avatar' => 'avatars/300-12.jpg', + 'email' => 'ana.cf@limtel.com', + 'position' => 'Customer Relationship', + "online" => false + ), + array( + 'name' => 'Robert Doe', + 'initials' => array('label' => 'A', 'state' => 'info'), + 'email' => 'robert@benko.com', + 'position' => 'Marketing Executive', + "online" => true + ), + array( + 'name' => 'John Miller', + 'avatar' => 'avatars/300-13.jpg', + 'email' => 'miller@mapple.com', + 'position' => 'Project Manager', + "online" => false + ), + array( + 'name' => 'Lucy Kunic', + 'initials' => array('label' => 'L', 'state' => 'success'), + 'email' => 'lucy.m@fentech.com', + 'position' => 'SEO Master', + "online" => true + ), + array( + 'name' => 'Ethan Wilder', + 'avatar' => 'avatars/300-21.jpg', + 'email' => 'ethan@loop.com.au', + 'position' => 'Accountant', + "online" => true + ) + ); + + $total = count($users); + + if ($index === -1 || isset($users[$index]) === false) { + $index = rand(0, $total - 1); + } + + return $users[$index]; + } + + public static function getSampleStatus($index = -1) + { + $statuses = array( + array('label' => 'Approved', 'state' => 'success'), + array('label' => 'Pending', 'state' => 'warning'), + array('label' => 'Rejected', 'state' => 'danger'), + array('label' => 'In progress', 'state' => 'info'), + array('label' => 'Completed', 'state' => 'primary'), + ); + + $total = count($statuses); + + if ($index === -1 || isset($statuses[$index]) === false) { + $index = rand(0, $total - 2); + } + + return $statuses[$index]; + } + + public static function getSampleDate() + { + $dates = array('Feb 21', 'Mar 10', 'Apr 15', 'May 05', 'Jun 20', 'Jun 24', 'Jul 25', 'Aug 19', 'Sep 22', 'Oct 25', 'Nov 10', 'Dec 20'); + + $date = $dates[rand(0, count($dates) - 1)] . ", " . date("Y"); + + return $date; + } + + public static function getSampleDatetime() + { + $dates = array('21 Feb', '10 Mar', '15 Apr', '05 May', '20 Jun', '24 Jun', '25 Jul', '19 Aug', '22 Sep', '25 Oct', '10 Nov', '20 Dec'); + $times = array('8:43 pm', '10:30 am', '5:20 pm', '2:40 pm', '11:05 am', '10:10 pm', '6:05 pm', '11:30 am', '5:30 pm', '9:23 pm', '6:43 am'); + + $date = $dates[rand(0, count($dates) - 1)] . " " . date("Y") . ", " . $times[rand(0, count($times) - 1)]; + + return $date; + } +} diff --git a/app/Core/Menu.php b/app/Core/Menu.php new file mode 100644 index 0000000..3bdd26d --- /dev/null +++ b/app/Core/Menu.php @@ -0,0 +1,521 @@ +linkLevel = $level; + + // Overcome recursive infinite loop + if ($level > 10000) { + return; + } + + // Process callable item + if (is_callable($item)) { + $item = call_user_func($item); + } + + // Exit if item is null + if ($item === null) { + return; + } + + // Handle menu item visiblity with callback function + if (isset($item['hide'])) { + if (is_callable($item['hide'])) { + $hide = call_user_func($item['hide'], $this, $item); + } else { + $hide = $item['hide']; + } + + if ($hide === true) { + return; + } + } + + if (isset($item['sub']) && ($this->_matchParentItemByPath($item) === true)) { + $classes[] = 'here show'; + } + + if (isset($item['attributes']) && isset($item['attributes']['item'])) { + $attributes = $item['attributes']['item']; + } elseif (isset($item['attributes']) && isset($item['attributes']['link']) === false) { + $attributes = $item['attributes']; + } + + if (isset($item['classes']) && isset($item['classes']['item'])) { + $classes[] = $item['classes']['item']; + } + + echo '<' . $this->itemTag . ' ' . Util::getHtmlAttributes($attributes) . Util::getHtmlClass($classes) . '>'; + + if (isset($item['custom'])) { + $this->_generateItemCustom($item); + } + + if (isset($item['content'])) { + $this->_generateItemContent($item); + } + + if (isset($item['title']) || isset($item['breadcrumb-title'])) { + $this->_generateItemLink($item); + } + + if (isset($item['heading'])) { + $this->_generateItemHeading($item); + } + + if (isset($item['sub'])) { + $this->_generateItemSub($item['sub'], $level++); + } + + echo 'itemTag . '>'; + } + + private function _generateItemLink($item) + { + $classes = array('menu-link'); + $attributes = array(); + $tag = 'a'; + // Construct li ks attributes + if (isset($item['path'])) { + // Assign the page URL + $attributes['href'] = Theme::getPageUrl($item['path']); + + // Handle open in new tab mode + if (isset($item['new-tab']) && $item['new-tab'] === true) { + $attributes['target'] = 'blank'; + } + + // Add special attribute for links to pro pages + if (Theme::isFreeVersion() === true && Theme::isProPage($item['path']) === true) { + $attributes['data-kt-page'] = 'pro'; + } + } else { + $tag = 'span'; + } + + if (isset($item['attributes']) && isset($item['attributes']['link'])) { + $attributes = array_merge($attributes, $item['attributes']['link']); + } + + if ($this->_matchItemByPath($item) === true) { + $classes[] = 'active'; + } + + if (!empty($this->itemLinkClass)) { + $classes[] = $this->itemLinkClass; + } + + if (isset($item['classes']) && isset($item['classes']['link'])) { + $classes[] = $item['classes']['link']; + } + + echo '<' . $tag . Util::getHtmlClass($classes) . Util::getHtmlAttributes($attributes) . '>'; + + if ($this->displayIcons !== false) { + $this->_generateItemLinkIcon($item); + } + + $this->_generateItemLinkBullet($item); + + if (isset($item['title'])) { + $this->_generateItemLinkTitle($item); + } + + $this->_generateItemLinkBadge($item); + + if (isset($item['sub']) && @$item['arrow'] !== false) { + if (!($this->hideRootArrow === true && $this->linkLevel === 0)) { + $this->_generateItemLinkArrow($item); + } + } + + echo ''; + } + + private function _generateItemLinkTitle($item) + { + $classes = array('menu-title'); + + if (isset($item['classes']) && isset($item['classes']['title'])) { + $classes[] = $item['classes']['title']; + } + + if (!is_string($item['title']) && is_callable($item['title'])) { + $item['title'] = call_user_func($item['title'], $item); + } + + echo ''; + + if (isset($this->callbacks['title']) && is_callable($this->callbacks['title'])) { + echo call_user_func($this->callbacks['title'], $item, $item['title']); + } else { + echo __($item['title']); + // Append exclusive badge + if (isset($item['path']) && Theme::isExclusivePage($item['path']) === true) { + echo 'Exclusive'; + } + + // Append pro badge + if (Theme::isFreeVersion()) { + if ((isset($item['path']) && Theme::isProPage($item['path']) === true) || (isset($item['pro']) && $item['pro'] === true)) { + echo 'Pro'; + } + } + } + + echo ''; + } + + private function _generateItemLinkIcon($item) + { + $classes = array('menu-icon'); + + if (isset($item['classes']) && isset($item['classes']['icon'])) { + $classes[] = $item['classes']['icon']; + } + + if (isset($item['icon'])) { + echo ''; + + if ($this->linkLevel === 0 && !empty($this->iconRoot)) { + echo $this->iconRoot; + } else { + if (is_array($item['icon'])) { + echo $item['icon'][$this->iconType]; + } else { + echo $item['icon']; + } + } + + echo ''; + + return; + } + } + + private function _generateItemLinkBullet($item) + { + if (isset($item['icon']) === true && $this->displayIcons !== false) { + return; + } + + $classes = array('menu-bullet'); + + if (isset($item['classes']) && isset($item['classes']['bullet'])) { + $classes[] = $item['classes']['bullet']; + } + + if (isset($item['bullet'])) { + echo ''; + + if (isset($item['bullet'])) { + echo $item['bullet']; + } + + echo ''; + } + } + + private function _generateItemLinkBadge($item) + { + $classes = array('menu-badge'); + + if (isset($item['classes']) && isset($item['classes']['badge'])) { + $classes[] = $item['classes']['badge']; + } + + if (isset($item['badge'])) { + echo ''; + echo $item['badge']; + echo ''; + } + } + + private function _generateItemLinkArrow($item) + { + $classes = array('menu-arrow'); + + if (isset($item['classes']['arrow'])) { + $classes[] = $item['classes']['arrow']; + } + + echo ''; + echo ''; + } + + private function _generateItemSub($sub, $level) + { + $classes = array('menu-sub'); + + if (isset($sub['class'])) { + $classes[] = $sub['class']; + } + + echo '<' . $this->parentTag . ' ' . Util::getHtmlClass($classes) . '>'; + + if (isset($sub['view'])) { + Theme::getView($sub['view']); + } else { + foreach ($sub['items'] as $item) { + $this->_generateItem($item, $level++); + } + } + + echo 'parentTag . '>'; + } + + private function _generateItemHeading($item) + { + $classes = array('menu-content'); + + if (isset($item['heading'])) { + if (isset($this->callbacks['heading']) && is_callable($this->callbacks['heading'])) { + echo call_user_func($this->callbacks['heading'], $item['heading']); + } else { + echo '

'; + echo $item['heading']; + echo '

'; + } + } + } + + private function _generateItemContent($item) + { + $classes = array('menu-content'); + + if (isset($item['classes']) && isset($item['classes']['content'])) { + $classes[] = $item['classes']['content']; + } + + if (isset($item['content'])) { + echo '
'; + echo $item['content']; + echo '
'; + } + } + + private function _generateItemCustom($item) + { + if (isset($item['custom'])) { + echo $item['custom']; + } + } + + private function _matchParentItemByPath($item, $level = 0) + { + if ($level > 1000) { + return false; + } + + if ($this->_matchItemByPath($item) === true) { + return true; + } else { + if (isset($item['sub']) && isset($item['sub']['items'])) { + foreach ($item['sub']['items'] as $currentItem) { + if ($this->_matchParentItemByPath($currentItem, $level++) === true) { + return true; + } + } + } + + return false; + } + } + + private function _matchItemByPath($item) + { + if (isset($item['path']) && ($this->path === $item['path'] || $this->path === $item['path'] . '/index')) { + return true; + } else { + return false; + } + } + + private function _buildBreadcrumb($items, &$breadcrumb, $options, $level = 0) + { + if ($level > 10000) { + return false; + } + + foreach ($items as $item) { + $title = ''; + + if (isset($item['breadcrumb-title'])) { + $title = $item['breadcrumb-title']; + } elseif (isset($item['title'])) { + if (!is_string($item['title']) && is_callable($item['title'])) { + $title = call_user_func($item['title'], $item); + } else { + $title = $item['title']; + } + } elseif (isset($item['heading'])) { + $title = $item['heading']; + } + + if (isset($item['path']) && ($item['path'] === $this->path || $item['path'] . '/index' === $this->path)) { + if (@$options['skip-active'] !== true) { + $breadcrumb[] = array( + 'title' => $title, + 'path' => isset($item['path']) ? $item['path'] : '', + 'active' => true + ); + } + + return true; + } elseif (isset($item['sub']) && isset($item['sub']['items'])) { + if ($this->_buildBreadcrumb($item['sub']['items'], $breadcrumb, $options, $level++) === true) { + $breadcrumb[] = array( + 'title' => $title, + 'path' => isset($item['path']) ? $item['path'] : ( isset($item['alt-path']) ? $item['alt-path'] : ''), + 'active' => false + ); + + return true; + } + } + } + + return false; + } + + /** + * Public Methods. + * + */ + public function __construct($items, $path = '') + { + $this->items = $items; + $this->path = $path; + + return $this; + } + + /** + * options: array('includeHomeLink' => boolean, 'homeLink' => array(), 'skipCurrentPage' => boolean) + * + */ + public function getBreadcrumb($options = array()) + { + $breadcrumb = array(); + + //$includeHomeLink = true, $homeLink = null + + $this->_buildBreadcrumb($this->items, $breadcrumb, $options); + + $breadcrumb = array_reverse($breadcrumb, true); + + if (!empty($breadcrumb)) { + if (isset($options['home'])) { + array_unshift($breadcrumb, $options['home']); + } else { + array_unshift($breadcrumb, array( + 'title' => 'Home', + 'path' => 'index', + 'active' => false + )); + } + } + + return $breadcrumb; + } + + public function setPath($path) + { + $this->path = $path; + } + + public function displayIcons($flag) + { + $this->displayIcons = $flag; + } + + public function hideRootArrow($flag) + { + $this->hideRootArrow = $flag; + } + + public function setItemTag($tagName) + { + $this->itemTag = $tagName; + } + + public function setIconType($type) + { + $this->iconType = $type; + } + + public function setDefaultRootIcon($icon) + { + $this->iconRoot = $icon; + } + + public function setItemLinkClass($class) + { + $this->itemLinkClass = $class; + } + + public function addCallback($target, $callback) + { + if (!is_string($callback) && is_callable($callback)) { + $this->callbacks[$target] = $callback; + } + } + + public function build() + { + foreach ($this->items as $item) { + $this->_generateItem($item); + } + } +} diff --git a/app/Core/Theme.php b/app/Core/Theme.php new file mode 100644 index 0000000..8488ad7 --- /dev/null +++ b/app/Core/Theme.php @@ -0,0 +1,1352 @@ + $demo) { + if ($demo['published'] === true) { + $total++; + } + } + + return $total; + } + + public static function isMultiDemo() + { + return !empty(self::getDemo()); + } + + public static function hasWebpack() + { + return !(isset($_REQUEST['webpack']) && !filter_var($_REQUEST['webpack'], FILTER_VALIDATE_BOOLEAN)); + } + + public static function isFreeVersion() + { + if (isset($_REQUEST['free'])) { + return filter_var($_REQUEST['free'], FILTER_VALIDATE_BOOLEAN); + } + + return self::$freeVersion; + } + + public static function setFreeVersion($flag) + { + return self::$freeVersion = $flag; + } + + public static function putProVersionTooltip($attr = array()) + { + $attr['data-bs-toggle'] = 'tooltip'; + $attr['title'] = "Available in Pro version"; + $attr['data-bs-html'] = 'true'; + + if (empty($attr) || isset($attr['data-bs-placement']) === false) { + $attr['data-bs-placement'] = 'bottom'; + } + + if (Theme::isFreeVersion() === true) { + echo Util::putHtmlAttributes($attr); + } + } + + public static function getOption($scope, $path = false, $default = null) + { + if (!self::hasOption($scope, $path)) { + return $default; + } + + $result = array(); + + if (!isset(self::$config[$scope])) { + return null; + } + + if ($path === false) { + $result = self::$config[$scope]; + } else { + $result = Util::getArrayValue(self::$config[$scope], $path); + } + + // check if its a callback + if (is_callable($result) && !is_string($result)) { + $result = call_user_func($result); + } + + return $result; + } + + public static function setOption($scope, $path, $value) + { + if (isset(self::$config[$scope])) { + return Util::setArrayValue(self::$config[$scope], $path, $value); + } else { + return false; + } + } + + public static function hasOption($scope, $path = false) + { + if (isset(self::$config[$scope])) { + if ($path === false) { + return isset(self::$config[$scope]); + } else { + return Util::hasArrayValue(self::$config[$scope], $path); + } + } else { + return false; + } + } + + public static function getPageGroupOptions($pagesConfig, $pagePath) + { + $parts = explode('/', $pagePath); + $running = count($parts) - 1; + + for ($i = 0; $i <= count($parts); $i++) { + $path = array(); + + for ($j = 0; $j <= $running; $j++) { + $path[] = $parts[$j]; + } + + $running--; + $path = implode('/', $path); + $path = $path . '/*'; + + if (Util::hasArrayValue($pagesConfig, $path)) { + return Util::getArrayValue($pagesConfig, $path); + } + } + + return false; + } + + public static function getPageOptionsByPath($path) + { + if (Util::hasArrayValue(self::$config['pages'], $path)) { + return Util::getArrayValue(self::$config['pages'], $path); + } else { + return false; + } + } + + public static function getPageVendorFiles($type) + { + $files = array(); + $vendors = Theme::getOption('vendors'); + $pageVendors = Theme::getOption('page', 'assets/vendors'); + + if (empty($pageVendors)) { + return array(); + } + + foreach ($pageVendors as $name) { + if (isset($vendors[$name]) && is_array($vendors[$name]) && isset($vendors[$name][$type])) { + foreach ($vendors[$name][$type] as $each) { + $files[] = $each; + } + } + } + + return array_unique($files); + } + + public static function hasPageVendorFiles($type) + { + $files = array(); + $vendors = Theme::getOption('vendors'); + $pageVendors = Theme::getOption('page', 'assets/vendors'); + + if (empty($pageVendors)) { + return false; + } + + foreach ($pageVendors as $name) { + if (isset($vendors[$name]) && is_array($vendors[$name]) && isset($vendors[$name][$type])) { + foreach ($vendors[$name][$type] as $each) { + $files[] = $each; + } + } + } + + return count(array_unique($files)) > 0; + } + + public static function getPageVendorsCssFiles() + { + } + + public static function isProPage($path) + { + $pageConfig = self::getPageOptionsByPath($path); + + if ($pageConfig && isset($pageConfig['pro']) && $pageConfig['pro'] === true) { + return true; + } else { + return false; + } + } + + public static function isExclusivePage($path) + { + $pageConfig = self::getPageOptionsByPath($path); + + if ($pageConfig && isset($pageConfig['exclusive']) && $pageConfig['exclusive'] === true) { + return true; + } else { + return false; + } + } + + public static function getPageKey() + { + $el = (array)explode('/', self::getPagePath()); + + return end($el); + } + + public static function getPagePath() + { + return self::$page; + } + + public static function getPagePathPart($index) + { + $parts = explode('/', self::$page); + + return isset($parts[$index]) ? $parts[$index] : false; + } + + public static function addHtmlAttribute($scope, $name, $value) + { + self::$htmlAttributes[$scope][$name] = $value; + } + + public static function addHtmlAttributes($scope, $attributes) + { + foreach ($attributes as $key => $value) { + self::$htmlAttributes[$scope][$key] = $value; + } + } + + public static function addHtmlClass($scope, $class) + { + self::$htmlClasses[$scope][] = $class; + } + + public static function addCssVariable($scope, $name, $value) + { + self::$cssVariables[$scope][$name] = $value; + } + + public static function printHtmlAttributes($scope) + { + $Attributes = array(); + + if (isset(self::$htmlAttributes[$scope]) && !empty(self::$htmlAttributes[$scope])) { + echo Util::getHtmlAttributes(self::$htmlAttributes[$scope]); + } + + echo ''; + } + + public static function printHtmlClasses($scope, $full = true) + { + if (isset(self::$htmlClasses[$scope]) && !empty(self::$htmlClasses[$scope])) { + $classes = implode(' ', self::$htmlClasses[$scope]); + + if ($full) { + echo Util::getHtmlClass(self::$htmlClasses[$scope]); + } else { + echo Util::getHtmlClass(self::$htmlClasses[$scope], false); + } + } else { + echo ''; + } + } + + public static function printCssVariables($scope) + { + $Attributes = array(); + + if (isset(self::$cssVariables[$scope]) && !empty(self::$cssVariables[$scope])) { + echo Util::getCssVariables(self::$cssVariables[$scope]); + } + } + + public static function appendVersionToUrl($path) + { + // only at preview version + if (self::$viewMode == 'preview') { + $path .= '?v=' . self::getOption('theme/version'); + } + + return $path; + } + + public static function getView($path, $params = array(), $once = false) + { + global $_THEME_PATH, $_COMMON_PATH; + + $actual_path = $_THEME_PATH . '/dist/view/' . $path . '.php'; + $common_path = $_COMMON_PATH . '/dist/view/' . $path . '.php'; + + // For multi demo, include from demo1 for other demos + if (file_exists($actual_path) === false) { + if (self::$demo != '' && self::$demo != 'demo1') { + $actual_path = str_replace(self::$demo . '/', 'demo1/', $actual_path); + } + } + + // Get view from common(core)) + if (file_exists($actual_path) === false && file_exists($common_path) === true) { // try to find in common + $actual_path = $common_path; + } + + // Override widget params + if (self::hasOption('widgets')) { + $widgets = self::getOption('widgets'); + + if (isset($widgets[$path]) && isset($widgets[$path]['params'])) { + $params = array_replace_recursive($params, $widgets[$path]['params']); + } + } + + // Include view + self::includeView($actual_path, $params, $once); + } + + public static function getPageView($params = array()) + { + global $_THEME_PATH, $_COMMON_PATH; + + $actual_path = $_THEME_PATH . '/dist/view/pages/' . self::$config['page']['view'] . '.php'; + $common_path = $_COMMON_PATH . '/dist/view/pages/' . self::$config['page']['view'] . '.php'; + + // For multi demo, include from demo1 for other demos + if (file_exists($actual_path) === false) { + if (self::$demo != '' && self::$demo != 'demo1') { + $actual_path = str_replace(self::$demo . '/', 'demo1/', $actual_path); + } + } + + if (file_exists($actual_path) === false && file_exists($common_path) === true) { // try to find in common + $actual_path = $common_path; + } + + self::includeView($actual_path, $params); + } + + public static function getCommonView($path, $params = array()) + { + global $_COMMON_PATH; + + $actual_path = $_COMMON_PATH . '/dist/view/' . $path . '.php'; + + self::includeView($actual_path, $params); + } + + public static function includeView($path, $params = array(), $once = false) + { + if (!file_exists($path)) { + echo '"' . $path . '" does not exist!
'; + return; + } + + if (isset($_REQUEST['layout-marker'])) { + preg_match('/dist\/view\/(.*?)\.php$/', $path, $matches); + if (! empty($matches)) { + echo ''; + if ($once === true) { + include_once($path); + } else { + include($path); + } + echo ''; + } + } else { + if ($once === true) { + include_once($path); + } else { + include($path); + } + } + + return $path; + } + + public static function importModal($name) + { + $modals = self::getOption('modals'); + + if (isset($modals[$name]) && isset(self::$importedModals[$name]) === false) { + self::$importedModals[$name] = $modals[$name]; + + if (isset($modals[$name]['assets'])) { + if (isset($modals[$name]['assets']['vendors'])) { + if (isset(self::$config['page']['assets']['vendors'])) { + self::$config['page']['assets']['vendors'] = array_merge(self::$config['page']['assets']['vendors'], $modals[$name]['assets']['vendors']); + } else { + self::$config['page']['assets']['vendors'] = $modals[$name]['assets']['vendors']; + } + } + + if (isset($modals[$name]['assets']['custom'])) { + if (isset($modals[$name]['assets']['custom']['js'])) { + if (isset(self::$config['page']['assets']['custom']['js'])) { + self::$config['page']['assets']['custom']['js'] = array_merge(self::$config['page']['assets']['custom']['js'], $modals[$name]['assets']['custom']['js']); + } else { + self::$config['page']['assets']['custom']['js'] = $modals[$name]['assets']['custom']['js']; + } + } + + if (isset($modals[$name]['assets']['custom']['css'])) { + if (isset(self::$config['page']['assets']['custom']['css'])) { + self::$config['page']['assets']['custom']['css'] = array_merge(self::$config['page']['assets']['custom']['css'], $modals[$name]['assets']['custom']['css']); + } else { + self::$config['page']['assets']['custom']['css'] = $modals[$name]['assets']['custom']['css']; + } + } + } + } + } + } + + public static function importModalById($id) + { + $name = str_replace('#kt_modal_', '', $id); + $name = str_replace('_', '-', $name); + + self::importModal($name); + } + + public static function linkModal($name, $return = false) + { + $modals = self::getOption('modals'); + + if ($name && isset($modals[$name])) { + self::importModal($name); + } else { + return; + } + + $code = ' data-bs-toggle="modal"'; + $code .= ' data-bs-target="#kt_modal_' . str_replace('-', '_', $name) . '"'; + + if ($return === true) { + return $code; + } else { + echo $code; + } + } + + public static function hasImportedModals() + { + return !empty(self::$importedModals); + } + + public static function includeImportedModals() + { + foreach (self::$importedModals as $name => $modal) { + self::getView($modal['view'], (isset($modal['params']) ? $modal['params'] : null), true); + } + } + + public static function beginPageLayout($path, $params = array()) + { + self::$pageLayoutPath = $path; + self::$pageLayoutParams = $params; + ob_start(); + } + + public static function getPageLayoutView() + { + echo self::$pageLayoutView; + } + + public static function endPageLayout() + { + self::$pageLayoutView = ob_get_contents(); + ob_end_clean(); + + self::getView(self::$pageLayoutPath, self::$pageLayoutParams); + } + + public static function getAssetsPath() + { + global $_THEME_PATH; + + return $_THEME_PATH . '/dist/assets/'; + } + + public static function getMediaPath() + { + return self::getAssetsPath() . 'media/'; + } + + public static function getBaseUrlPath() + { + if (! isset($_SERVER['PHP_SELF'])) { + return ''; + } + + if (!empty($_SERVER['PHP_SELF'])) { + return dirname($_SERVER['PHP_SELF']) . '/'; + } + + return ''; + } + + public static function getAssetsUrlPath() + { + return self::getBaseUrlPath() . 'assets/'; + } + + public static function getMediaUrlPath() + { + return self::getAssetsUrlPath() . 'media/'; + } + + public static function includeFonts($value = '') + { + if (self::hasOption('assets', 'fonts/google')) { + $fonts = self::getOption('assets', 'fonts/google'); + + echo ''; + } + } + + public static function rtlCssFilename($path) + { + if (isset($_REQUEST['rtl']) && $_REQUEST['rtl'] == 1) { + if (strpos($path, 'fullcalendar') !== false) { + } else { + $path = str_replace('.css', '.rtl.css', $path); + } + + if (self::isDarkModeEnabled() && self::isDarkMode() && @$_REQUEST['mode'] != 'rtl') { + if (strpos($path, 'plugins.bundle') !== false || strpos($path, 'style.bundle') !== false) { + // import dark mode css + $path = str_replace('.bundle', '.' . self::getCurrentMode() . '.bundle', $path); + } + } + } elseif (self::isDarkModeEnabled() && self::isDarkMode() && @$_REQUEST['mode'] != 'rtl') { + if (strpos($path, 'plugins.bundle.css') !== false || strpos($path, 'style.bundle.css') !== false) { + // import dark mode css + $path = str_replace('.bundle', '.' . self::getCurrentMode() . '.bundle', $path); + } + } + + return $path; + } + + public static function isRTL() + { + if (isset($_REQUEST['rtl']) && $_REQUEST['rtl'] == 1) { + return true; + } else { + return false; + } + } + + public static function strposa($haystack, $needle, $offset = 0) + { + if (!is_array($needle)) { + $needle = array($needle); + } + foreach ($needle as $query) { + if (strpos($haystack, $query, $offset) !== false) { + return true; + } // stop on first true result + } + + return false; + } + + /** + * Check if current theme has dark mode + * + * @return bool + */ + public static function isDarkModeEnabled() + { + return (bool) self::getOption('layout', 'main/dark-mode-enabled'); + } + + /** + * Get current mode + * + * @return mixed|string + */ + public static function getCurrentMode() + { + if (self::isDarkModeEnabled() && isset($_REQUEST['mode']) && $_REQUEST['mode']) { + return $_REQUEST['mode']; + } + + return self::getOption('layout', 'main/dark-mode-default') === true ? 'dark' : 'light'; + } + + /** + * Check dark mode + * + * @return mixed|string + */ + public static function isDarkMode() + { + return self::getCurrentMode() === 'dark'; + } + + public static function isPageBgWhite() + { + return (bool) self::getOption('layout', 'main/page-bg-white'); + } + + public static function getPageUrl($path, $demo = '', $mode = null) + { + // Disable pro page URL's for the free version + if (self::isFreeVersion() === true && self::isProPage($path) === true) { + return "#"; + } + + if ($path === '#') { + return $path; + } + + $baseUrl = self::getBaseUrlPath(); + + $params = ''; + if (isset($_REQUEST['type']) && $_REQUEST['type'] === 'html') { + // param keep in url + if (isset($_REQUEST['rtl']) && $_REQUEST['rtl']) { + $params = 'rtl/'; + } + + if ($mode !== null) { + if ($mode) { + $params = $mode . '/'; + } + } else { + if (isset($_REQUEST['mode']) && $_REQUEST['mode']) { + $params = $_REQUEST['mode'] . '/'; + } + } + + if (!empty($demo)) { + if (self::getViewMode() === 'release') { + // force add link to other demo in release + $baseUrl .= '../../' . $demo . '/dist/'; + } else { + // for preview + $baseUrl .= '../' . $demo . '/' . $params; + } + } else { + $d = ''; + if (!empty(self::getDemo())) { + $d = '../' . self::getDemo() . '/'; + } + if (self::getViewMode() === 'release') { + // force add link to other demo in release + $baseUrl .= '../' . $d . 'dist/'; + } else { + // for preview + $baseUrl .= $d . $params; + } + } + + $url = $baseUrl . $path . '.html'; + + // skip layout builder page for generated html + if (strpos($path, 'builder') !== false && self::getViewMode() === 'release') { + if (!empty(self::getDemo())) { + $path = self::getDemo() . '/' . $path; + } + + $url = self::getOption('product', 'preview') . '/' . $path . '.html'; + } + } else { + if (isset($_REQUEST['rtl']) && $_REQUEST['rtl']) { + $params = '&rtl=1'; + } + + if ($mode !== null) { + if ($mode) { + $params = '&mode=' . $mode; + } + } else { + if (isset($_REQUEST['mode']) && $_REQUEST['mode']) { + $params = '&mode=' . $_REQUEST['mode']; + } + } + + if (!empty($demo)) { + // force add link to other demo + $baseUrl .= '../../' . $demo . '/dist/'; + } + + $url = $baseUrl . '?page=' . $path . $params; + } + + return $url; + } + + public static function isCurrentPage($path) + { + return self::$page === $path; + } + + public static function getSvgIcon($path, $class = '', $svgClass = '') + { + $path = str_replace('\\', '/', trim($path)); + $full_path = $path; + if (! file_exists($path)) { + $full_path = self::getMediaPath() . $path; + + if (! is_string($full_path)) { + return ''; + } + + if (! file_exists($full_path)) { + return "\n"; + } + } + + $svg_content = file_get_contents($full_path); + + $dom = new DOMDocument(); + $dom->loadXML($svg_content); + + // remove unwanted comments + $xpath = new DOMXPath($dom); + foreach ($xpath->query('//comment()') as $comment) { + $comment->parentNode->removeChild($comment); + } + + // add class to svg + if (! empty($svgClass)) { + foreach ($dom->getElementsByTagName('svg') as $element) { + $element->setAttribute('class', $svgClass); + } + } + + // remove unwanted tags + $title = $dom->getElementsByTagName('title'); + if ($title['length']) { + $dom->documentElement->removeChild($title[0]); + } + $desc = $dom->getElementsByTagName('desc'); + if ($desc['length']) { + $dom->documentElement->removeChild($desc[0]); + } + $defs = $dom->getElementsByTagName('defs'); + if ($defs['length']) { + $dom->documentElement->removeChild($defs[0]); + } + + // remove unwanted id attribute in g tag + $g = $dom->getElementsByTagName('g'); + foreach ($g as $el) { + $el->removeAttribute('id'); + } + $mask = $dom->getElementsByTagName('mask'); + foreach ($mask as $el) { + $el->removeAttribute('id'); + } + $rect = $dom->getElementsByTagName('rect'); + foreach ($rect as $el) { + $el->removeAttribute('id'); + } + $xpath = $dom->getElementsByTagName('path'); + foreach ($xpath as $el) { + $el->removeAttribute('id'); + } + $circle = $dom->getElementsByTagName('circle'); + foreach ($circle as $el) { + $el->removeAttribute('id'); + } + $use = $dom->getElementsByTagName('use'); + foreach ($use as $el) { + $el->removeAttribute('id'); + } + $polygon = $dom->getElementsByTagName('polygon'); + foreach ($polygon as $el) { + $el->removeAttribute('id'); + } + $ellipse = $dom->getElementsByTagName('ellipse'); + foreach ($ellipse as $el) { + $el->removeAttribute('id'); + } + + $string = $dom->saveXML($dom->documentElement); + + // remove empty lines + $string = preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n", $string); + + $cls = array('svg-icon'); + + if (! empty($class)) { + $cls = array_merge($cls, explode(' ', $class)); + } + + $asd = explode('/media/', $path); + if (isset($asd[1])) { + $path = 'assets/media/' . $asd[1]; + } + + $output = "\n"; + $output .= '' . $string . ''; + $output .= "\n"; + + return $output; + } + + public static function getProductName() + { + if (Theme::isFreeVersion() === true && self::getOption('product', 'name-free')) { + return self::getOption('product', 'name-free'); + } elseif (self::getOption('product', 'name-pro')) { + return self::getOption('product', 'name-pro'); + } else { + return self::getOption('product', 'name'); + } + } + + public static function getProductNameHtml() + { + return '' . self::getProductName() . ' '; + } + + public static function getProductDescription() + { + return self::getOption('product', 'description'); + } + + public static function getSassVariableMap($key) + { + global $_COMMON_PATH; + + // get cache if available + $variables = Util::getCache(__CLASS__ . '-' . __FUNCTION__); + + if (empty($variables)) { + // get variable scss file content + $content = file_get_contents($_COMMON_PATH . '/src/sass/components/_variables.scss'); + + // regex capture variables with array + preg_match_all('/\$([A-Za-z0-9-]+): ?\((.*?)\) ?!default;/sm', $content, $matches); + + $variables = array_combine($matches[1], $matches[2]); + + foreach ($variables as &$variable) { + preg_match_all('/"?([A-Za-z0-9-]+)"? ?:/', $variable, $matched); + $variable = $matched[1]; + } + + // keep cache in file + Util::putCache(__CLASS__ . '-' . __FUNCTION__, $variables); + } + + if (isset($variables[$key])) { + return $variables[$key]; + } + + return null; + } + + public static function getPackageReferences() + { + global $_COMMON_PATH; + + $content = file_get_contents($_COMMON_PATH . '/tools/package.json'); + + $json = json_decode($content, true); + $dependencies = $json['dependencies']; + + // predefined + $references = array( + array( + 'name' => 'Node.js', + 'url' => 'https://www.npmjs.com/', + 'version' => '14.16.0', + ), + array( + 'name' => 'Gulp', + 'url' => 'https://gulpjs.com/', + 'version' => '4.0.2', + ), + array( + 'name' => 'Yarn', + 'url' => 'https://yarnpkg.com/', + 'version' => '1.22.10', + ), + array( + 'name' => 'Duotune Icons', + 'url' => 'https://keenthemes.com/products/duotune-pro', + 'version' => '1.0.0', + ), + array( + 'name' => 'FormValidation', + 'url' => 'https://formvalidation.io/', + 'version' => '1.8.0', + ), + array( + 'name' => 'bootstrap-multiselectsplitter', + 'url' => 'https://github.com/poolerMF/bootstrap-multiselectsplitter/', + 'version' => '1.0.4', + ), + array( + 'name' => 'toastr', + 'url' => 'https://github.com/petekeller2/toastr', + 'version' => '2.1.4', + ), + ); + + foreach ($dependencies as $plugin => $version) { + try { + $json_file = $_COMMON_PATH . '/tools/node_modules/' . $plugin . '/package.json'; + if (!file_exists($json_file)) { + continue; + } + $plugin_content = file_get_contents($json_file); + $plugin_json = json_decode($plugin_content, true); + + $url = ''; + if (isset($plugin_json['homepage'])) { + $url = $plugin_json['homepage']; + } elseif (isset($plugin_json['repository']['url'])) { + // if it is a git url convert to normal url + $url = preg_replace('/(git)?(\+https)?:\/\/(.*?)\.git$/', 'https://$3', $plugin_json['repository']['url']); + } elseif (isset($plugin_json['bugs']['url'])) { + $url = $plugin_json['bugs']['url']; + } elseif (isset($plugin_json['funding'])) { + $url = $plugin_json['funding']; + if (isset($plugin_json['funding']['url'])) { + $url = $plugin_json['funding']['url']; + } + } + + if (!empty($url)) { + $references[$url] = array( + 'name' => $plugin, + 'url' => $url, + 'version' => $plugin_json['version'] ?? '', + ); + } + } catch (Exception $exception) { + } + } + + return $references; + } + + public static function getChangelogInfo() + { + global $_THEME_PATH, $_COMMON_PATH; + + $changelog = array(); + + $common_path = $_COMMON_PATH . '/dist/changelog'; + $current_path = $_THEME_PATH . '/dist/changelog'; + + // For multi demo, include from demo1 for other demos + if (file_exists($current_path) === false) { + if (self::$demo != '' && self::$demo != 'demo1') { + $current_path = str_replace(self::$demo . '/', 'demo1/', $current_path); + } + } + + // Read core changelog dir + if ($handle = @opendir($common_path)) { + while (false !== ($entry = readdir($handle))) { + $path = $common_path . '/' . $entry; + + if ($entry != "." && $entry != ".." && file_exists($path)) { + $array = include($common_path . '/' . $entry); + + $changelog = array_replace_recursive($changelog, $array); + } + } + + closedir($handle); + } + + // Read current changelog dir + if ($handle = @opendir($current_path)) { + while (false !== ($entry = readdir($handle))) { + $path = $current_path . '/' . $entry; + + if ($entry != "." && $entry != ".." && file_exists($path)) { + $array = include($path); + + $changelog = array_replace_recursive($changelog, $array); + } + } + + closedir($handle); + } + + // reverse sort by key + uasort($changelog, function ($a, $b) { + $a = strtotime($a['date']); + $b = strtotime($b['date']); + if ($a == $b) { + return 0; + } + + return ($a < $b) ? 1 : -1; + }); + + return $changelog; + } + + public static function getVersion() + { + return self::getOption("product", "version"); + } + + public static function addPageJs($path) + { + self::$config["page"]["assets"]['custom']['js'][] = $path; + } + + public static function getCorePath() + { + return __DIR__ . '/../..'; + } + + public static function getImageUrl($folder, $file, $flip = true) + { + $folder = ltrim($folder, '/'); + $folder = rtrim($folder, '/'); + + $path = Theme::getMediaUrlPath() . $folder . '/' . $file; + + if (Theme::isDarkMode() && $flip === true) { + $file = str_replace(".svg", "-dark.svg", $file); + $file = str_replace(".png", "-dark.png", $file); + $file = str_replace(".jpg", "-dark.jpg", $file); + + $path_dark_path = Theme::getMediaPath() . $folder . '/' . $file; + $path_dark_url_path = Theme::getMediaUrlPath() . $folder . '/' . $file; + + + if (file_exists($path_dark_path)) { + return $path_dark_url_path; + } + } + + return $path; + } + + public static function getIllustrationUrl($file, $flip = true) + { + $folder = 'illustrations/' . Theme::getOption('layout', 'illustrations/set'); + $folder = ltrim($folder, '/'); + $folder = rtrim($folder, '/'); + + $path = Theme::getMediaUrlPath() . $folder . '/' . $file; + + return self::getImageUrl($folder, $file, $flip); + } + + public static function getPagesConfig($config, &$result = array()) + { + foreach ($config as $key => $page) { + if ($key === '*') { + continue; + } + + if (isset($page['view']) && (isset($page['title']))) { + $page['path'] = $config['path'] . '/' . $key; + + $result[] = $page; + } elseif (is_array($page)) { + if (isset($config['path'])) { + $page['path'] = $config['path'] . '/' . $key; + } else { + $page['path'] = $key; + } + + self::getPagesConfig($page, $result); + } + } + + return $result; + } + + public static function printJsHostUrl() + { + echo sprintf('var hostUrl = "%s";', self::getAssetsUrlPath()); + } +} diff --git a/app/Core/Traits/SpatieLogsActivity.php b/app/Core/Traits/SpatieLogsActivity.php new file mode 100644 index 0000000..76f70cc --- /dev/null +++ b/app/Core/Traits/SpatieLogsActivity.php @@ -0,0 +1,20 @@ +logAll(); + $logOptions->logOnlyDirty(); + + return $logOptions; + } +} diff --git a/app/Core/Util.php b/app/Core/Util.php new file mode 100644 index 0000000..ad04dc2 --- /dev/null +++ b/app/Core/Util.php @@ -0,0 +1,523 @@ + 0 ? 'style="height:' . $height . 'px"' : ''; + + $code = '
' . htmlspecialchars(trim($code), ENT_QUOTES) . '
'; + + return $code; + } + + public static function highlight() + { + $tabItemActive = 'active'; + $tabPaneActive = 'show active'; + + $args = func_get_args(); + + echo ''; + echo '
'; + echo ' '; + + if (!empty($args)) { + if (isset($args[0]) && is_array($args[0]) === false) { + echo '
'; + echo Util::parseCode($args[0], @$args[1], @$args[2]); + echo '
'; + } elseif (is_array($args[0]) && isset($args[1]) === false) { + $options = $args[0]; + + echo ''; + + echo '
'; + foreach ($options as $each) { + if (isset($each['lang']) === true) { + echo '
'; + echo '
'; + echo Util::parseCode($each['code'], $each['lang'], @$each['height']); + echo '
'; + echo '
'; + + $tabPaneActive = ''; + } + } + echo '
'; + } + } + + echo '
'; + echo ''; + } + + + public static function tidyHtml($buffer) + { + if (! extension_loaded('Tidy')) { + return $buffer; + } + + // Specify configuration + $config = array( + // 'clean' => true, + 'drop-empty-elements' => false, + 'doctype' => 'omit', + 'indent' => 2, + // 'output-html' => true, + // 'output-xhtml' => true, + // 'force-output' => true, + 'show-body-only' => true, + 'indent-with-tabs' => true, + 'tab-size' => 1, + 'indent-spaces' => 1, + 'tidy-mark' => false, + 'wrap' => 0, + 'indent-attributes' => false, + 'input-xml' => true, + // HTML5 tags + 'new-blocklevel-tags' => 'article aside audio bdi canvas details dialog figcaption figure footer header hgroup main menu menuitem nav section source summary template track video', + 'new-empty-tags' => 'command embed keygen source track wbr', + 'new-inline-tags' => 'code audio command datalist embed keygen mark menuitem meter output progress source time video wbr', + ); + + // Tidy + $tidy = new Tidy(); + $tidy->parseString($buffer, $config, 'utf8'); + $tidy->cleanRepair(); + + // Output + return $tidy; + } + + public static function setArrayValue(&$array, $path, $value) + { + $loc = &$array; + foreach (explode('/', $path) as $step) { + $loc = &$loc[ $step ]; + } + + return $loc = $value; + } + + public static function getArrayValue($array, $path) + { + if (is_string($path)) { + // dot delimiter + $path = explode('/', $path); + } + + $ref = &$array; + foreach ($path as $key) { + if (! is_array($ref)) { + $ref = []; + } + + $ref = &$ref[$key]; + } + + $prev = $ref; + + return $prev; + } + + public static function hasArrayValue($array, $path) + { + return self::getArrayValue($array, $path) !== null; + } + + public static function getArrayPath($array, $searchKey = '') + { + //create a recursive iterator to loop over the array recursively + $iter = new RecursiveIteratorIterator( + new RecursiveArrayIterator($array), + RecursiveIteratorIterator::SELF_FIRST + ); + + //loop over the iterator + foreach ($iter as $key => $value) { + //if the value matches our search + if ($value === $searchKey) { + //add the current key + $keys = array( $key ); + //loop up the recursive chain + for ($i = $iter->getDepth() - 1; $i >= 0; $i--) { + //add each parent key + array_unshift($keys, $iter->getSubIterator($i)->key()); + } + //return our output array + return $keys; + } + } + + //return false if not found + return false; + } + + public static function matchArrayByKeyValue($array, $searchKey, $searchValue) + { + //create a recursive iterator to loop over the array recursively + $iter = new RecursiveIteratorIterator( + new RecursiveArrayIterator($array), + RecursiveIteratorIterator::SELF_FIRST + ); + + //loop over the iterator + foreach ($iter as $key => $value) { + //if the value matches our search + if ($key === $searchKey && $value === $searchValue) { + return true; + } + } + + //return false if not found + return false; + } + + public static function searchArrayByKeyValue($array, $searchKey, $searchValue) + { + $result = array(); + + //create a recursive iterator to loop over the array recursively + $iter = new RecursiveIteratorIterator( + new RecursiveArrayIterator($array), + RecursiveIteratorIterator::SELF_FIRST + ); + + //loop over the iterator + foreach ($iter as $key => $value) { + //if the value matches our search + if ($key === $searchKey && $value === $searchValue) { + return true; + } + } + + //return false if not found + return false; + } + + public static function separateCamelCase($str) + { + $re = '/ + (?<=[a-z]) + (?=[A-Z]) + | (?<=[A-Z]) + (?=[A-Z][a-z]) + /x'; + $a = preg_split($re, $str); + $formattedStr = implode(' ', $a); + + return $formattedStr; + } + + public static function isExternalURL($url) + { + $url = trim(strtolower($url)); + + if (substr($url, 0, 2) == '//') { + return true; + } + + if (substr($url, 0, 7) == 'http://') { + return true; + } + + if (substr($url, 0, 8) == 'https://') { + return true; + } + + if (substr($url, 0, 5) == 'www.') { + return true; + } + + return false; + } + + public static function getIf($cond, $value, $alt = '') + { + return $cond ? $value : $alt; + } + + public static function putIf($cond, $value, $alt = '') + { + echo self::getIf($cond, $value, $alt); + } + + public static function notice($text, $state = 'danger', $icon = 'icons/duotune/art/art006.svg') + { + $html = ''; + + $html .= ''; + $html .= '
'; + $html .= ' '; + $html .= '
'; + $html .= ' ' . Theme::getSvgIcon("icons/duotune/abstract/abs051.svg", "svg-icon-" . $state . " position-absolute opacity-10", "w-80px h-80px"); + $html .= ' ' . Theme::getSvgIcon($icon, "svg-icon-3x svg-icon-" . $state . " position-absolute"); + $html .= '
'; + $html .= ' '; + + $html .= ' '; + $html .= '
'; + $html .= $text; + $html .= '
'; + $html .= ' '; + $html .= '
'; + $html .= ''; + + echo $html; + } + + public static function info($text, $state = 'danger', $icon = 'icons/duotune/general/gen044.svg') + { + $html = ''; + + $html .= ''; + $html .= '
'; + $html .= ' '; + $html .= ' ' . Theme::getSvgIcon($icon, 'svg-icon-3x svg-icon-' . $state . ' me-5'); + $html .= ' '; + + $html .= ' '; + $html .= '
'; + $html .= $text; + $html .= '
'; + $html .= ' '; + $html .= '
'; + $html .= ''; + + echo $html; + } + + public static function getHtmlAttributes($attributes = array()) + { + $result = array(); + + if (empty($attributes)) { + return false; + } + + foreach ($attributes as $name => $value) { + if (!empty($value)) { + $result[] = $name . '="' . $value . '"'; + } + } + + return ' ' . implode(' ', $result) . ' '; + } + + public static function putHtmlAttributes($attributes) + { + $result = self::getHtmlAttributes($attributes); + + if ($result) { + echo $result; + } + } + + public static function getHtmlClass($classes, $full = true) + { + $result = array(); + + $classes = implode(' ', $classes); + + if ($full === true) { + return ' class="' . $classes . '" '; + } else { + return ' ' . $classes . ' '; + } + } + + public static function getCssVariables($variables, $full = true) + { + $result = array(); + + foreach ($variables as $name => $value) { + if (!empty($value)) { + $result[] = $name . ':' . $value; + } + } + + $result = implode(';', $result); + + if ($full === true) { + return ' style="' . $result . '" '; + } else { + return ' ' . $result . ' '; + } + } + + /** + * Create a cache file + * + * @param $key + * @param $value + */ + public static function putCache($key, $value) + { + global $_COMMON_PATH; + + // check if cache file exist + $cache = $_COMMON_PATH . '/dist/libs/cache/' . $key . '.cache.json'; + + // create cache folder if folder does not exist + if (!file_exists(dirname($cache))) { + mkdir(dirname($cache), 0777, true); + } + + // create cache file + file_put_contents($cache, json_encode($value)); + } + + /** + * Retrieve a cache file by key + * + * @param $key + * + * @return mixed|null + */ + public static function getCache($key) + { + global $_COMMON_PATH; + + // check if cache file exist + $cache = $_COMMON_PATH . '/dist/libs/cache/' . $key . '.cache.json'; + + // check if the requested cache file exists + if (file_exists($cache)) { + return json_decode(file_get_contents($cache), true); + } + + return null; + } + + /** + * Sample demo for docs for multidemo site + * + * @return string + */ + public static function sampleDemoText() + { + $demo = ''; + if (Theme::isMultiDemo()) { + $demo = '--demo1'; + } + return $demo; + } + + public static function camelize($input, $separator = '_') + { + return str_replace($separator, ' ', ucwords($input, $separator)); + } + + public static function arrayMergeRecursive() + { + $arrays = func_get_args(); + $merged = array(); + + while ($arrays) { + $array = array_shift($arrays); + + if (!is_array($array)) { + trigger_error(__FUNCTION__ . ' encountered a non array argument', E_USER_WARNING); + return; + } + + if (!$array) { + continue; + } + + foreach ($array as $key => $value) { + if (is_string($key)) { + if (is_array($value) && array_key_exists($key, $merged) && is_array($merged[$key])) { + $merged[$key] = self::arrayMergeRecursive($merged[$key], $value); + } else { + $merged[$key] = $value; + } + } else { + $merged[] = $value; + } + } + } + + return $merged; + } + + public static function isHexColor($color) + { + return preg_match('/^#[a-f0-9]{6}$/i', $color); + } +} diff --git a/app/DataTables/Logs/AuditLogsDataTable.php b/app/DataTables/Logs/AuditLogsDataTable.php new file mode 100644 index 0000000..57db14f --- /dev/null +++ b/app/DataTables/Logs/AuditLogsDataTable.php @@ -0,0 +1,120 @@ +eloquent($query) + ->rawColumns(['description', 'properties', 'action']) + ->editColumn('id', function (Activity $model) { + return $model->id; + }) + ->editColumn('subject_id', function (Activity $model) { + if (!isset($model->subject)) { + return ''; + } + + if (isset($model->subject->name)) { + return $model->subject->name; + } + + return $model->subject->user()->first()->name; + }) + ->editColumn('causer_id', function (Activity $model) { + return $model->causer ? $model->causer->first_name : __('System'); + }) + ->editColumn('properties', function (Activity $model) { + $content = $model->properties; + + return view('pages.log.audit._details', compact('content')); + }) + ->editColumn('created_at', function (Activity $model) { + return $model->created_at->format('d M, Y H:i:s'); + }) + ->addColumn('action', function (Activity $model) { + return view('pages.log.audit._action-menu', compact('model')); + }); + } + + /** + * Get query source of dataTable. + * + * @param Activity $model + * + * @return \Illuminate\Database\Eloquent\Builder + */ + public function query(Activity $model) + { + return $model->newQuery(); + } + + /** + * Optional method if you want to use html builder. + * + * @return \Yajra\DataTables\Html\Builder + */ + public function html() + { + return $this->builder() + ->setTableId('audit-log-table') + ->columns($this->getColumns()) + ->minifiedAjax() + ->stateSave(true) + ->orderBy(6) + ->responsive() + ->autoWidth(false) + ->parameters([ + 'scrollX' => true, + 'drawCallback' => 'function() { KTMenu.createInstances(); }', + ]) + ->addTableClass('align-middle table-row-dashed fs-6 gy-5'); + } + + /** + * Get columns. + * + * @return array + */ + protected function getColumns() + { + return [ + Column::make('id')->title('Log ID')->addClass('ps-0'), + Column::make('log_name')->title(__('Location')), + Column::make('description'), + Column::make('subject_type'), + Column::make('subject_id')->title(__('Subject')), + Column::make('causer_id')->title(__('Causer')), + Column::make('created_at'), + Column::computed('action') + ->exportable(false) + ->printable(false) + ->addClass('text-center') + ->responsivePriority(-1), + Column::make('properties')->addClass('none'), + ]; + } + + /** + * Get filename for export. + * + * @return string + */ + protected function filename() + { + return 'DataLogs_' . date('YmdHis'); + } +} diff --git a/app/DataTables/Logs/SystemLogsDataTable.php b/app/DataTables/Logs/SystemLogsDataTable.php new file mode 100644 index 0000000..26042f6 --- /dev/null +++ b/app/DataTables/Logs/SystemLogsDataTable.php @@ -0,0 +1,143 @@ +collection($query) + ->rawColumns(['action', 'level']) + ->editColumn('id', function (Collection $model) { + return Str::limit($model->get('id'), 5, ''); + }) + ->editColumn('file_path', function (Collection $model) { + return Str::limit($model->get('file_path')); + }) + ->editColumn('message', function (Collection $model) { + return Str::limit($model->get('context')->message, 95); + }) + ->editColumn('date', function (Collection $model) { + return $model->get('date')->format('d M, Y H:i:s'); + }) + ->editColumn('level', function (Collection $model) { + $styles = [ + 'emergency' => 'danger', + 'alert' => 'warning', + 'critical' => 'danger', + 'error' => 'danger', + 'warning' => 'warning', + 'notice' => 'success', + 'info' => 'info', + 'debug' => 'primary', + ]; + $style = 'info'; + if (isset($styles[$model->get('level')])) { + $style = $styles[$model->get('level')]; + } + $value = $model->get('level'); + + return '
' . $value . '
'; + }) + ->editColumn('context', function (Collection $model) { + $content = $model->get('context'); + + return view('pages.log.system._details', compact('content')); + }) + ->addColumn('action', function (Collection $model) { + return view('pages.log.system._action-menu', compact('model')); + }); + } + + /** + * Get query source of dataTable. + * + * @param LogReader $model + * + * @return Collection + */ + public function query(LogReader $model) + { + $data = collect(); + + $model->setLogPath(storage_path('logs')); + + try { + $data = $model->get()->merge($data); + } catch (UnableToRetrieveLogFilesException $exception) { + } + + $data = $data->map(function ($a) { + return (collect($a))->only(['id', 'date', 'environment', 'level', 'file_path', 'context']); + }); + + return $data; + } + + /** + * Optional method if you want to use html builder. + * + * @return \Yajra\DataTables\Html\Builder + */ + public function html() + { + return $this->builder() + ->setTableId('system-log-table') + ->columns($this->getColumns()) + ->minifiedAjax() + ->stateSave(true) + ->orderBy(3) + ->responsive() + ->autoWidth(false) + ->parameters(['scrollX' => true]) + ->addTableClass('align-middle table-row-dashed fs-6 gy-5'); + } + + /** + * Get columns. + * + * @return array + */ + protected function getColumns() + { + return [ + Column::make('id')->title('Log ID')->width(100)->addClass('ps-0'), + Column::make('message'), + Column::make('level'), + Column::make('date')->width(200), + Column::computed('action') + ->exportable(false) + ->printable(false) + ->addClass('text-center') + ->responsivePriority(-1), + Column::make('environment')->addClass('none'), + Column::make('file_path')->title(__('Log Path'))->addClass('none'), + Column::make('context')->addClass('none'), + ]; + } + + /** + * Get filename for export. + * + * @return string + */ + protected function filename() + { + return 'SystemLogs_' . date('YmdHis'); + } +} diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php new file mode 100644 index 0000000..01ea4bb --- /dev/null +++ b/app/Exceptions/Handler.php @@ -0,0 +1,42 @@ +reportable(function (Throwable $e) { + if (app()->bound('sentry')) { + app('sentry')->captureException($e); + } + }); + } +} diff --git a/app/Helpers/Game.php b/app/Helpers/Game.php new file mode 100644 index 0000000..da099d9 --- /dev/null +++ b/app/Helpers/Game.php @@ -0,0 +1,16 @@ +user()->info; + + // get the default inner page + return view('pages.account.settings.settings', compact('info')); + } + + /** + * Update the specified resource in storage. + * + * @param \Illuminate\Http\Request $request + * @param int $user + * + * @return \Illuminate\Http\RedirectResponse + */ + public function update(SettingsInfoRequest $request) + { + // save user name + $validated = $request->validate([ + 'first_name' => 'required|string|max:255', + 'last_name' => 'required|string|max:255', + ]); + + auth()->user()->update($validated); + + // save on user info + $info = UserInfo::where('user_id', auth()->user()->id)->first(); + + if ($info === null) { + // create new model + $info = new UserInfo(); + } + + // attach this info to the current user + $info->user()->associate(auth()->user()); + + foreach ($request->only(array_keys($request->rules())) as $key => $value) { + if (is_array($value)) { + $value = serialize($value); + } + $info->$key = $value; + } + + // include to save avatar + if ($avatar = $this->upload()) { + $info->avatar = $avatar; + } + + if ($request->boolean('avatar_remove')) { + Storage::delete($info->avatar); + $info->avatar = null; + } + + $info->save(); + + return redirect()->intended('account/settings'); + } + + /** + * Function for upload avatar image + * + * @param string $folder + * @param string $key + * @param string $validation + * + * @return false|string|null + */ + public function upload($folder = 'images', $key = 'avatar', $validation = 'image|mimes:jpeg,png,jpg,gif,svg|max:2048|sometimes') + { + request()->validate([$key => $validation]); + + $file = null; + if (request()->hasFile($key)) { + $file = Storage::disk('public')->putFile($folder, request()->file($key), 'public'); + } + + return $file; + } + + /** + * Function to accept request for change email + * + * @param SettingsEmailRequest $request + */ + public function changeEmail(SettingsEmailRequest $request) + { + // prevent change email for demo account + if ($request->input('current_email') === 'demo@demo.com') { + return redirect()->intended('account/settings'); + } + + auth()->user()->update(['email' => $request->input('email')]); + + if ($request->expectsJson()) { + return response()->json($request->all()); + } + + return redirect()->intended('account/settings'); + } + + /** + * Function to accept request for change password + * + * @param SettingsPasswordRequest $request + */ + public function changePassword(SettingsPasswordRequest $request) + { + // prevent change password for demo account + if ($request->input('current_email') === 'demo@demo.com') { + return redirect()->intended('account/settings'); + } + + auth()->user()->update(['password' => Hash::make($request->input('password'))]); + + if ($request->expectsJson()) { + return response()->json($request->all()); + } + + return redirect()->intended('account/settings'); + } +} diff --git a/app/Http/Controllers/Auth/AuthenticatedSessionController.php b/app/Http/Controllers/Auth/AuthenticatedSessionController.php new file mode 100644 index 0000000..5a4bc67 --- /dev/null +++ b/app/Http/Controllers/Auth/AuthenticatedSessionController.php @@ -0,0 +1,102 @@ +authenticate(); + + $request->session()->regenerate(); + + return redirect()->intended(RouteServiceProvider::HOME); + } + + /** + * Handle an incoming api authentication request. + * + * @param \App\Http\Requests\Auth\LoginRequest $request + * + * @return \Illuminate\Http\Response + */ + public function apiStore(LoginRequest $request) + { + if (!Auth::attempt($request->only('email', 'password'))) { + throw ValidationException::withMessages([ + 'email' => ['The provided credentials are incorrect'] + ]); + } + + $user = User::where('email', $request->email)->first(); + return response($user); + } + + /** + * Verifies user token. + * + * @param \Illuminate\Http\Request $request + * + * @return \Illuminate\Http\Response + */ + public function apiVerifyToken(Request $request) + { + $request->validate([ + 'api_token' => 'required' + ]); + + $user = User::where('api_token', $request->api_token)->first(); + + if (!$user) { + throw ValidationException::withMessages([ + 'token' => ['Invalid token'] + ]); + } + return response($user); + } + + /** + * Destroy an authenticated session. + * + * @param \Illuminate\Http\Request $request + * + * @return \Illuminate\Http\RedirectResponse + */ + public function destroy(Request $request) + { + Auth::guard('web')->logout(); + + $request->session()->invalidate(); + + $request->session()->regenerateToken(); + + return redirect('/'); + } +} diff --git a/app/Http/Controllers/Auth/ConfirmablePasswordController.php b/app/Http/Controllers/Auth/ConfirmablePasswordController.php new file mode 100644 index 0000000..4180f9a --- /dev/null +++ b/app/Http/Controllers/Auth/ConfirmablePasswordController.php @@ -0,0 +1,47 @@ +validate([ + 'email' => $request->user()->email, + 'password' => $request->password, + ]) + ) { + throw ValidationException::withMessages([ + 'password' => __('auth.password'), + ]); + } + + $request->session()->put('auth.password_confirmed_at', time()); + + return redirect()->intended(RouteServiceProvider::HOME); + } +} diff --git a/app/Http/Controllers/Auth/EmailVerificationNotificationController.php b/app/Http/Controllers/Auth/EmailVerificationNotificationController.php new file mode 100644 index 0000000..2a499d1 --- /dev/null +++ b/app/Http/Controllers/Auth/EmailVerificationNotificationController.php @@ -0,0 +1,28 @@ +user()->hasVerifiedEmail()) { + return redirect()->intended(RouteServiceProvider::HOME); + } + + $request->user()->sendEmailVerificationNotification(); + + return back()->with('status', 'verification-link-sent'); + } +} diff --git a/app/Http/Controllers/Auth/EmailVerificationPromptController.php b/app/Http/Controllers/Auth/EmailVerificationPromptController.php new file mode 100644 index 0000000..6d6069f --- /dev/null +++ b/app/Http/Controllers/Auth/EmailVerificationPromptController.php @@ -0,0 +1,24 @@ +user()->hasVerifiedEmail() + ? redirect()->intended(RouteServiceProvider::HOME) + : view('auth.verify-email'); + } +} diff --git a/app/Http/Controllers/Auth/NewPasswordController.php b/app/Http/Controllers/Auth/NewPasswordController.php new file mode 100644 index 0000000..81bdd90 --- /dev/null +++ b/app/Http/Controllers/Auth/NewPasswordController.php @@ -0,0 +1,67 @@ +validate([ + 'token' => 'required', + 'email' => 'required|email', + 'password' => ['required', 'confirmed', Rules\Password::defaults()], + ]); + + // Here we will attempt to reset the user's password. If it is successful we + // will update the password on an actual user model and persist it to the + // database. Otherwise we will parse the error and return the response. + $status = Password::reset( + $request->only('email', 'password', 'password_confirmation', 'token'), + function ($user) use ($request) { + $user->forceFill([ + 'password' => Hash::make($request->password), + 'remember_token' => Str::random(60), + ])->save(); + + event(new PasswordReset($user)); + } + ); + + // If the password was successfully reset, we will redirect the user back to + // the application's home authenticated view. If there is an error we can + // redirect them back to where they came from with their error message. + return $status == Password::PASSWORD_RESET + ? redirect()->route('login')->with('status', __($status)) + : back()->withInput($request->only('email')) + ->withErrors(['email' => __($status)]); + } +} diff --git a/app/Http/Controllers/Auth/PasswordResetLinkController.php b/app/Http/Controllers/Auth/PasswordResetLinkController.php new file mode 100644 index 0000000..c0fccd0 --- /dev/null +++ b/app/Http/Controllers/Auth/PasswordResetLinkController.php @@ -0,0 +1,76 @@ +validate([ + 'email' => 'required|email', + ]); + + // We will send the password reset link to this user. Once we have attempted + // to send the link, we will examine the response then see the message we + // need to show to the user. Finally, we'll send out a proper response. + $status = Password::sendResetLink( + $request->only('email') + ); + + return $status == Password::RESET_LINK_SENT + ? back()->with('status', __($status)) + : back()->withInput($request->only('email')) + ->withErrors(['email' => __($status)]); + } + + /** + * Handle an incoming api password reset link request. + * + * @param \Illuminate\Http\Request $request + * + * @return \Illuminate\Http\Response + * + * @throws \Illuminate\Validation\ValidationException + */ + public function apiStore(Request $request) + { + $request->validate([ + 'email' => 'required|email', + ]); + + $user = User::where('email', $request->email)->first(); + + if (!$user) { + throw ValidationException::withMessages([ + 'email' => ['User with such email doesn\'t exist'] + ]); + } + + return response('Password reset email successfully sent.'); + } +} diff --git a/app/Http/Controllers/Auth/RegisteredUserController.php b/app/Http/Controllers/Auth/RegisteredUserController.php new file mode 100644 index 0000000..4bc2e63 --- /dev/null +++ b/app/Http/Controllers/Auth/RegisteredUserController.php @@ -0,0 +1,137 @@ +validate([ + 'username' => 'required|string|max:16|unique:users', + 'email' => 'required|string|email|max:255|unique:users', + 'password' => ['required', 'confirmed', Rules\Password::defaults()] + ]); + + $user = User::create([ + 'username' => $request->username, + 'email' => $request->email, + 'password' => Hash::make($request->password), + 'ip_address' => $request->ip() + ]); + + /* Add account into Fider (https://myvideogamelist.com). */ + $json = '{"name": "' . $request->username . '", "email": "' . $request->email . '"}'; + + $curl = curl_init(); + + curl_setopt_array($curl, array( + CURLOPT_URL => "https://features.myvideogamelist.com/api/v1/users", + CURLOPT_RETURNTRANSFER => true, + CURLOPT_ENCODING => "", + CURLOPT_MAXREDIRS => 10, + CURLOPT_TIMEOUT => 0, + CURLOPT_FOLLOWLOCATION => true, + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, + CURLOPT_CUSTOMREQUEST => "POST", + CURLOPT_POSTFIELDS => $json, + CURLOPT_HTTPHEADER => array( + "Content-Type: application/json", + "Authorization: Bearer $TOKEN" + ), + )); + + curl_exec($curl); + + curl_close($curl); + + event(new Registered($user)); + + Auth::login($user); + + return redirect(RouteServiceProvider::HOME); + } + + + /** + * Handle an incoming api registration request. + * + * @param \Illuminate\Http\Request $request + * + * @return \Illuminate\Http\Response + * + * @throws \Illuminate\Validation\ValidationException + */ + public function apiStore(Request $request) + { + $request->validate([ + 'username' => 'required|string|max:16|unique:users', + 'email' => 'required|string|email|max:255|unique:users', + 'password' => ['required', 'confirmed', Rules\Password::defaults()], + ]); + + $token = Str::random(60); + $user = User::create([ + 'username' => $request->username, + 'email' => $request->email, + 'password' => Hash::make($request->password), + 'api_token' => hash('sha256', $token), + 'ip_address' => $request->ip() + ]); + + /* Add account into Fider (https://myvideogamelist.com). */ + $json = '{"name": "' . $request->username . '", "email": "' . $request->email . '"}'; + + $curl = curl_init(); + + curl_setopt_array($curl, array( + CURLOPT_URL => "https://features.myvideogamelist.com/api/v1/users", + CURLOPT_RETURNTRANSFER => true, + CURLOPT_ENCODING => "", + CURLOPT_MAXREDIRS => 10, + CURLOPT_TIMEOUT => 0, + CURLOPT_FOLLOWLOCATION => true, + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, + CURLOPT_CUSTOMREQUEST => "POST", + CURLOPT_POSTFIELDS => $json, + CURLOPT_HTTPHEADER => array( + "Content-Type: application/json", + "Authorization: Bearer $TOKEN" + ), + )); + + curl_exec($curl); + + curl_close($curl); + + return response($user); + } +} diff --git a/app/Http/Controllers/Auth/VerifyEmailController.php b/app/Http/Controllers/Auth/VerifyEmailController.php new file mode 100644 index 0000000..53e832e --- /dev/null +++ b/app/Http/Controllers/Auth/VerifyEmailController.php @@ -0,0 +1,31 @@ +user()->hasVerifiedEmail()) { + return redirect()->intended(RouteServiceProvider::HOME . '?verified=1'); + } + + if ($request->user()->markEmailAsVerified()) { + event(new Verified($request->user())); + } + + return redirect()->intended(RouteServiceProvider::HOME . '?verified=1'); + } +} diff --git a/app/Http/Controllers/ConsoleListController.php b/app/Http/Controllers/ConsoleListController.php new file mode 100644 index 0000000..7fab85e --- /dev/null +++ b/app/Http/Controllers/ConsoleListController.php @@ -0,0 +1,85 @@ +authorize('create', Game::class); + + // Validate the data from the request. + $inputs = $this->validate($request, [ + 'name' => 'string|required|max:255', + 'alt_titles' => 'string|nullable|max:255', + 'platform_id' => 'integer|required', + 'description' => 'string|nullable', + 'source' => 'url|nullable|max:255', + 'boxart' => 'image|nullable|max:512', + 'genre_ids' => 'array|nullable', + 'developers' => 'string|nullable|max:255', + 'publishers' => 'string|nullable|max:255', + 'composers' => 'string|nullable|max:255', + 'website' => 'url|nullable|max:255', + 'na_release_date' => [ + new GameReleaseDate(), + 'nullable' + ], + 'jp_release_date' => [ + new GameReleaseDate(), + 'nullable' + ], + 'eu_release_date' => [ + new GameReleaseDate(), + 'nullable' + ], + 'aus_release_date' => [ + new GameReleaseDate(), + 'nullable' + ], + 'esrb_rating' => [ + 'string', + 'nullable', + Rule::in(['Everyone', 'Everyone 10+', 'Teen', 'Mature 17+', 'Adults Only 18+', 'Rating Pending - Likely Mature 17+']) // phpcs:ignore + ], + 'pegi_rating' => [ + 'string', + 'nullable', + Rule::in(['PEGI 3', 'PEGI 7', 'PEGI 12', 'PEGI 16', 'PEGI 18']) + ], + 'cero_rating' => [ + 'string', + 'nullable', + Rule::in(['CERO A', 'CERO B', 'CERO C', 'CERO D', 'CERO Z']) + ], + 'acb_rating' => [ + 'string', + 'nullable', + Rule::in(['E', 'G', 'PG', 'M', 'MA 15+', 'R 18+', 'X 18+']) + ] + ]); + + // Convert the genre_ids array into a comma separated string. + if (isset($inputs['genre_ids'])) { + $inputs['genre_ids'] = implode(',', $inputs['genre_ids']); + } + + // Upload the boxart image as necessary. + if ($request->hasFile('boxart')) { + $path = $request->boxart->store('assets/boxart', 's3'); + $inputs['boxart'] = basename($path); + } + + // Set the requested_by and added_by fields to the current user. + $inputs['requested_by'] = auth()->user()->id; + $inputs['added_by'] = auth()->user()->id; + + // Save the data to the database. + $result = Game::create($inputs); + + // If the creation was successful go to the list of games. + if ($result->exists) { + return redirect('/admin/games')->with('create_success', str_replace('"', '', json_encode($inputs['name']))); + } else { // If the creation failed, go back. + return back(); + } + } + + /** + * Display the specified resource. + * + * @param int $gameId + * + * @return \Illuminate\Http\Response + */ + public function show($gameId) + { + // Direct the user to the games profile page. + $game = Game::findOrFail($gameId); + return view('pages.game.index', compact('game')); + } + + /** + * Show the form for editing the specified resource. + * + * @param \App\Models\Game $game + * @return \Illuminate\Http\Response + */ + public function edit(Game $game) + { + // Direct the user to the edit game page. + $game = Game::findOrFail($game->id); + return view('pages.admin.games.edit', compact('game')); + } + + /** + * Update the specified resource in storage. + * + * @param \Illuminate\Http\Request $request + * @param \App\Models\Game $game + * @return \Illuminate\Http\Response + */ + public function update(Request $request, Game $game) + { + // Ensure the user has permission to add games into the database. + $this->authorize('update', Game::class); + + // Validate the data from the request. + $inputs = $this->validate($request, [ + 'name' => 'string|required|max:255', + 'alt_titles' => 'string|nullable|max:255', + 'platform_id' => 'integer|required', + 'description' => 'string|nullable', + 'source' => 'url|nullable|max:255', + 'boxart' => 'image|nullable|max:512', + 'genre_ids' => 'array|nullable', + 'developers' => 'string|nullable|max:255', + 'publishers' => 'string|nullable|max:255', + 'composers' => 'string|nullable|max:255', + 'website' => 'url|nullable|max:255', + 'na_release_date' => [ + new GameReleaseDate(), + 'nullable' + ], + 'jp_release_date' => [ + new GameReleaseDate(), + 'nullable' + ], + 'eu_release_date' => [ + new GameReleaseDate(), + 'nullable' + ], + 'aus_release_date' => [ + new GameReleaseDate(), + 'nullable' + ], + 'esrb_rating' => [ + 'string', + 'nullable', + Rule::in(['Everyone', 'Everyone 10+', 'Teen', 'Mature 17+', 'Adults Only 18+', 'Rating Pending - Likely Mature 17+']) // phpcs:ignore + ], + 'pegi_rating' => [ + 'string', + 'nullable', + Rule::in(['PEGI 3', 'PEGI 7', 'PEGI 12', 'PEGI 16', 'PEGI 18']) + ], + 'cero_rating' => [ + 'string', + 'nullable', + Rule::in(['CERO A', 'CERO B', 'CERO C', 'CERO D', 'CERO Z']) + ], + 'acb_rating' => [ + 'string', + 'nullable', + Rule::in(['E', 'G', 'PG', 'M', 'MA 15+', 'R 18+', 'X 18+']) + ] + ]); + + // Convert the genre_ids array into a comma separated string. + if (isset($inputs['genre_ids'])) { + $inputs['genre_ids'] = implode(',', $inputs['genre_ids']); + $game->genre_ids = $inputs['genre_ids']; + } + + // Upload the new boxart image as necessary. + if ($request->hasFile('boxart')) { + // Get the current boxart image. + $original_boxart = $game->boxart; + + // Delete the boxart image if a previous boxart image existed. + if ($original_boxart) { + $result = Storage::disk('s3')->delete('assets/boxart/' . $original_boxart); + } + + // Upload the new boxart image. + $path = $request->boxart->store('assets/boxart', 's3'); + $inputs['boxart'] = basename($path); + $game->boxart = $inputs['boxart']; + } + + // Set the values of the $game object to the new values. + $game->name = $inputs['name']; + $game->alt_titles = $inputs['alt_titles']; + $game->platform_id = $inputs['platform_id']; + $game->description = $inputs['description']; + $game->source = $inputs['source']; + $game->developers = $inputs['developers']; + $game->publishers = $inputs['publishers']; + $game->composers = $inputs['composers']; + $game->website = $inputs['website']; + $game->na_release_date = $inputs['na_release_date']; + $game->jp_release_date = $inputs['jp_release_date']; + $game->eu_release_date = $inputs['eu_release_date']; + $game->aus_release_date = $inputs['aus_release_date']; + $game->esrb_rating = $inputs['esrb_rating']; + $game->pegi_rating = $inputs['pegi_rating']; + $game->cero_rating = $inputs['cero_rating']; + $game->acb_rating = $inputs['acb_rating']; + + // Save the data to the database. + $result = $game->save(); + + // If the update was successful show the user the updated game. + if ($result === true) { + return redirect('/admin/game/' . $game->id . '/edit')->with('edit_success', '1'); + } else { // If the update failed, go back. + return back(); + } + } + + /** + * Remove the specified resource from storage. + * + * @param \App\Models\Game $game + * @return \Illuminate\Http\Response + */ + public function destroy(Game $game) + { + // + } +} diff --git a/app/Http/Controllers/GameListController.php b/app/Http/Controllers/GameListController.php new file mode 100644 index 0000000..54b5007 --- /dev/null +++ b/app/Http/Controllers/GameListController.php @@ -0,0 +1,283 @@ +user(); + } else { // Otherwise, $user is the user with the specified username. + $user = User::where('username', $username)->firstOrFail(); + } + + // Direct the user to the games list page. + return view('pages.game-lists.index', compact('user')); + } + + /** + * Show the form for creating a new resource. + * + * @param int $gameId + * @return \Illuminate\Http\Response + */ + public function create($gameId) + { + // Make sure $gameId is numeric. + if (is_numeric($gameId)) { + return view('pages.game-lists.create', ['gameId' => $gameId]); + } else { // Else go to the home page. + return redirect()->route('index'); + } + } + + /** + * Store a newly created resource in storage. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\Response + */ + public function store(Request $request) + { + // Validate the data from the request. + $inputs = $this->validate($request, [ + 'name' => [ + 'string', + 'max:128', + 'nullable' + ], + 'ownership' => [ + 'numeric', + 'nullable', + Rule::in([1, 2, 3, 4]) + ], + 'status' => [ + 'numeric', + Rule::in([1, 2, 3, 4, 5, 6]) + ], + 'rating' => [ + 'numeric', + 'nullable', + Rule::in([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) + ], + 'priority' => [ + Rule::in(['Low', 'Medium', 'High']), + 'string', + 'max:6', + 'nullable', + ], + 'difficulty' => [ + 'string', + 'nullable', + Rule::in(['Easy', 'Medium', 'Hard', 'Extremely Hard']) + ], + 'hoursPlayed' => [ + 'numeric', + 'nullable', + Rule::in([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]) + ], + 'start_date' => 'date_format:Y-m-d|after:1970-01-01 00:00:00|nullable', + 'finish_date' => 'date_format:Y-m-d|after:1970-01-01 00:00:00|nullable', + 'replayValue' => [ + 'numeric', + 'nullable', + Rule::in([1, 2, 3, 4, 5]) + ], + 'notes' => 'string|nullable' + ]); + + // Fetch a Game Model. + $game = Game::whereId($request->input('gameId'))->first(); + + // Fetch the name if none was selected. + if (!$request->input('name')) { + $inputs['name'] = $game->name; + } + + // Set $input['game_id']. + $inputs['game_id'] = $game->id; + + // Set $inputs['platform_id']. + $inputs['platform_id'] = Game::whereId($game->id)->value('platform_id'); + + // Set the value of replayValue. + if (!$request->input('replayValue')) { + $inputs['replayValue'] = null; + } + + // Set the value of isReplaying. + if ($request->input('isReplaying') == 1) { + $inputs['isReplaying'] = 'Y'; + } else { + $inputs['isReplaying'] = 'N'; + } + + // Save the data to the database. + $result = auth()->user()->gameList()->create($inputs); + + // If adding the game was successful go to the users list. + if ($result->exists) { + return redirect('/list')->with('create_success', str_replace('"', '', json_encode($inputs['name']))); + } else { // If the addition failed, go back. + return back(); + } + } + + /** + * Display the specified resource. + * + * @param \App\Models\GameList $gameList + * @return \Illuminate\Http\Response + */ + public function show(GameList $gameList) + { + // + } + + /** + * Show the form for editing the specified resource. + * + * @param \App\Models\GameList $gameList + * @return \Illuminate\Http\Response + */ + public function edit(GameList $gameList) + { + // Direct the user to the edit page. + return view('pages.game-lists.edit', compact('gameList')); + } + + /** + * Update the specified resource in storage. + * + * @param \Illuminate\Http\Request $request + * @param \App\Models\GameList $gameList + * @return \Illuminate\Http\Response + */ + public function update(Request $request, GameList $gameList) + { + // Validate the data from the request. + $inputs = $this->validate($request, [ + 'name' => 'string|max:128|nullable', + 'ownership' => [ + 'numeric', + 'nullable', + Rule::in([1, 2, 3, 4]) + ], + 'status' => [ + 'numeric', + Rule::in([1, 2, 3, 4, 5, 6]) + ], + 'rating' => [ + 'numeric', + 'nullable', + Rule::in([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) + ], + 'priority' => [ + Rule::in(['Low', 'Medium', 'High']), + 'string', + 'max:6', + 'nullable', + ], + 'difficulty' => [ + 'string', + 'nullable', + Rule::in(['Easy', 'Medium', 'Hard', 'Extremely Hard']) + ], + 'hoursPlayed' => [ + 'numeric', + 'nullable', + Rule::in([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]) + ], + 'start_date' => 'date_format:Y-m-d|after:1970-01-01 00:00:00|nullable', + 'finish_date' => 'date_format:Y-m-d|after:1970-01-01 00:00:00|nullable', + 'replayValue' => [ + 'numeric', + 'nullable', + Rule::in([1, 2, 3, 4, 5]) + ], + 'notes' => 'string|nullable' + ]); + + // Fetch a Game Model. + $game = Game::whereId($gameList->game_id)->first(); + + // Fetch the name if none was selected. + if (!$request->input('name')) { + $inputs['name'] = $game->name; + } + + // Set $inputs['platform_id']. + $inputs['platform_id'] = $game->platform_id; + + // Set the value of replayValue. + if (!$request->input('replayValue')) { + $inputs['replayValue'] = null; + } + + // Set the value of isReplaying. + if ($request->input('isReplaying') == 1) { + $inputs['isReplaying'] = 'Y'; + } else { + $inputs['isReplaying'] = 'N'; + } + + // Set the values of the gameList object to the updates values. + $gameList['name'] = $inputs['name']; + $gameList['ownership'] = $inputs['ownership']; + $gameList['status'] = $inputs['status']; + $gameList['rating'] = $inputs['rating']; + $gameList['priority'] = $inputs['priority']; + $gameList['difficulty'] = $inputs['difficulty']; + $gameList['hours_played'] = $inputs['hoursPlayed']; + $gameList['start_date'] = $inputs['start_date']; + $gameList['finish_date'] = $inputs['finish_date']; + $gameList['replay_value'] = $inputs['replayValue']; + $gameList['notes'] = $inputs['notes']; + $gameList['is_replaying'] = $inputs['isReplaying']; + + // Ensure the user has permission to update this game list entry. + $this->authorize('update', $gameList); + + // Save the data to the database. + $result = $gameList->save(); + + // If the update was successful go back to the edit page with a success message. + if ($result === true) { + return redirect('/list/edit/' . $gameList->id)->with('edit_success', '1'); + } else { // If the update failed, go back. + return back(); + } + } + + /** + * Remove the specified resource from storage. + * + * @param \App\Models\GameList $gameList + * @return \Illuminate\Http\Response + */ + public function destroy(GameList $gameList) + { + // Check to ensure this user has permission to delete this game list entry. + $this->authorize('delete', $gameList); + + // Soft delete the entry within the database. + $gameList->delete(); + + // Go back to the users game list. + return redirect('/list')->with('delete_success', str_replace('"', '', json_encode($gameList->name))); + } +} diff --git a/app/Http/Controllers/GameSearchController.php b/app/Http/Controllers/GameSearchController.php new file mode 100644 index 0000000..d3be0b2 --- /dev/null +++ b/app/Http/Controllers/GameSearchController.php @@ -0,0 +1,110 @@ +validate($request, [ + 'search' => 'required|string|max:64' + ]); + + // Set the search term variable. + $term = $input['search']; + + // Fetch all matching posts and send them to the search view. + $games = Game::where('name', 'like', "%$term%") + ->orWhere('alt_titles', 'like', "%$term%") + ->orderBy('created_at', 'DESC') + ->paginate(25); + + // Send the results to the view. + return view('pages.search.games.show', compact('games')); + } +} diff --git a/app/Http/Controllers/GenreController.php b/app/Http/Controllers/GenreController.php new file mode 100644 index 0000000..74b58d0 --- /dev/null +++ b/app/Http/Controllers/GenreController.php @@ -0,0 +1,85 @@ +render('pages.log.audit.index'); + } + + /** + * Remove the specified resource from storage. + * + * @param int $id + * + * @return \Illuminate\Http\Response + */ + public function destroy($id) + { + $activity = Activity::find($id); + + // Delete from db + $activity->delete(); + } +} diff --git a/app/Http/Controllers/Logs/SystemLogsController.php b/app/Http/Controllers/Logs/SystemLogsController.php new file mode 100644 index 0000000..1b31d47 --- /dev/null +++ b/app/Http/Controllers/Logs/SystemLogsController.php @@ -0,0 +1,32 @@ +render('pages.log.system.index'); + } + + /** + * Remove the specified resource from storage. + * + * @param int $id + * + * @return \Illuminate\Http\Response + */ + public function destroy($id, LogReader $logReader) + { + return $logReader->find($id)->delete(); + } +} diff --git a/app/Http/Controllers/PlatformController.php b/app/Http/Controllers/PlatformController.php new file mode 100644 index 0000000..6cc3ec7 --- /dev/null +++ b/app/Http/Controllers/PlatformController.php @@ -0,0 +1,100 @@ +firstOrFail(); + } elseif ($platform == 'Sega_Genesis_MegaDrive') { + $platform = Platform::where('name', 'Sega Genesis/MegaDrive')->firstOrFail(); + } elseif ($platform == 'Meta_Oculus_Quest') { + $platform = Platform::where('name', 'Meta/Oculus Quest')->firstOrFail(); + } elseif ($platform == 'Meta_Oculus_Quest_2') { + $platform = Platform::where('name', 'Meta/Oculus Quest 2')->firstOrFail(); + } else { + $platform = Platform::where('name', str_replace('_', ' ', $platform))->firstOrFail(); + } + + // Direct the users to a page showing all the games for the specified platform. + return view('pages.platforms.show', compact('platform')); + } + + /** + * Show the form for editing the specified resource. + * + * @param \App\Models\Platform $platform + * @return \Illuminate\Http\Response + */ + public function edit(Platform $platform) + { + // + } + + /** + * Update the specified resource in storage. + * + * @param \Illuminate\Http\Request $request + * @param \App\Models\Platform $platform + * @return \Illuminate\Http\Response + */ + public function update(Request $request, Platform $platform) + { + // + } + + /** + * Remove the specified resource from storage. + * + * @param \App\Models\Platform $platform + * @return \Illuminate\Http\Response + */ + public function destroy(Platform $platform) + { + // + } +} diff --git a/app/Http/Controllers/ProfileCommentController.php b/app/Http/Controllers/ProfileCommentController.php new file mode 100644 index 0000000..93a82cc --- /dev/null +++ b/app/Http/Controllers/ProfileCommentController.php @@ -0,0 +1,85 @@ +user(); + } else { // Otherwise, $user is the user with the specified username. + $user = User::where('username', $username)->firstOrFail(); + } + + // Direct the user to the profile page. + return view('pages.profile.index', compact('user')); + } + + /** + * Show the form for editing the specified resource. + * + * @param int $id + * + * @return \Illuminate\Http\Response + */ + public function edit($id) + { + // + } + + /** + * Update the specified resource in storage. + * + * @param \Illuminate\Http\Request $request + * @param int $id + * + * @return \Illuminate\Http\Response + */ + public function update(Request $request, $id) + { + // + } + + /** + * Remove the specified resource from storage. + * + * @param int $id + * + * @return \Illuminate\Http\Response + */ + public function destroy($id) + { + // + } +} diff --git a/app/Http/Controllers/UserGamerTagController.php b/app/Http/Controllers/UserGamerTagController.php new file mode 100644 index 0000000..c78a834 --- /dev/null +++ b/app/Http/Controllers/UserGamerTagController.php @@ -0,0 +1,85 @@ +user(); + + $result = DB::table('user_site_settings')->updateOrInsert( + ['user_id' => $user->id, 'setting_name' => 'dark_mode'], + ['setting_value' => $mode] + ); + } +} diff --git a/app/Http/Controllers/WishlistController.php b/app/Http/Controllers/WishlistController.php new file mode 100644 index 0000000..c5e4763 --- /dev/null +++ b/app/Http/Controllers/WishlistController.php @@ -0,0 +1,97 @@ +user()->id; + $wishlist = Wishlist::where('user_id', $userId)->whereNull('deleted_at')->get(); + } else { // Otherwise, fetch the user_id from $username and their wishlist items. + $userId = User::whereUsername($username)->firstOrFail()->id; + $wishlist = Wishlist::where('user_id', $userId)->get(); + } + + // Direct the user to the wishlist page. + return view('pages.wishlist.index', compact('wishlist')); + } + + /** + * Show the form for editing the specified resource. + * + * @param \App\Models\Wishlist $wishlist + * @return \Illuminate\Http\Response + */ + public function edit(Wishlist $wishlist) + { + // + } + + /** + * Update the specified resource in storage. + * + * @param \Illuminate\Http\Request $request + * @param \App\Models\Wishlist $wishlist + * @return \Illuminate\Http\Response + */ + public function update(Request $request, Wishlist $wishlist) + { + // + } + + /** + * Remove the specified resource from storage. + * + * @param \App\Models\Wishlist $wishlist + * @return \Illuminate\Http\Response + */ + public function destroy(Wishlist $wishlist) + { + // + } +} diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php new file mode 100644 index 0000000..915c4ec --- /dev/null +++ b/app/Http/Kernel.php @@ -0,0 +1,67 @@ + [ + \App\Http\Middleware\EncryptCookies::class, + \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, + \Illuminate\Session\Middleware\StartSession::class, + // \Illuminate\Session\Middleware\AuthenticateSession::class, + \Illuminate\View\Middleware\ShareErrorsFromSession::class, + \App\Http\Middleware\VerifyCsrfToken::class, + \Illuminate\Routing\Middleware\SubstituteBindings::class, + ], + + 'api' => [ + 'throttle:api', + \Illuminate\Routing\Middleware\SubstituteBindings::class, + ], + ]; + + /** + * The application's route middleware. + * + * These middleware may be assigned to groups or used individually. + * + * @var array + */ + protected $routeMiddleware = [ + 'auth' => \App\Http\Middleware\Authenticate::class, + 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, + 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, + 'can' => \Illuminate\Auth\Middleware\Authorize::class, + 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, + 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, + 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, + 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, + 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, + ]; +} diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php new file mode 100644 index 0000000..704089a --- /dev/null +++ b/app/Http/Middleware/Authenticate.php @@ -0,0 +1,21 @@ +expectsJson()) { + return route('login'); + } + } +} diff --git a/app/Http/Middleware/DevMiddleware.php b/app/Http/Middleware/DevMiddleware.php new file mode 100644 index 0000000..dcd82d5 --- /dev/null +++ b/app/Http/Middleware/DevMiddleware.php @@ -0,0 +1,32 @@ +check()) { + return redirect(theme()->getPageUrl(RouteServiceProvider::HOME)); + } + } + + return $next($request); + } +} diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php new file mode 100644 index 0000000..5a50e7b --- /dev/null +++ b/app/Http/Middleware/TrimStrings.php @@ -0,0 +1,18 @@ +allSubdomainsOfApplicationUrl(), + ]; + } +} diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php new file mode 100644 index 0000000..0c7d3b6 --- /dev/null +++ b/app/Http/Middleware/TrustProxies.php @@ -0,0 +1,28 @@ + 'required|string|email|max:255|unique:users', + 'current_password' => ['required', new MatchOldPassword()], + ]; + } +} diff --git a/app/Http/Requests/Account/SettingsInfoRequest.php b/app/Http/Requests/Account/SettingsInfoRequest.php new file mode 100644 index 0000000..9e3c5d0 --- /dev/null +++ b/app/Http/Requests/Account/SettingsInfoRequest.php @@ -0,0 +1,38 @@ + 'nullable|string|max:255', + 'phone' => 'nullable|string|max:255', + 'website' => 'nullable|string|max:255', + 'country' => 'nullable|string|max:255', + 'language' => 'nullable|string|max:255', + 'timezone' => 'nullable|string|max:255', + 'currency' => 'nullable|string|max:255', + 'communication' => 'nullable|array', + 'marketing' => 'nullable|integer', + ]; + } +} diff --git a/app/Http/Requests/Account/SettingsPasswordRequest.php b/app/Http/Requests/Account/SettingsPasswordRequest.php new file mode 100644 index 0000000..d19b753 --- /dev/null +++ b/app/Http/Requests/Account/SettingsPasswordRequest.php @@ -0,0 +1,33 @@ + ['required', new MatchOldPassword()], + 'password' => ['required', 'confirmed', Rules\Password::defaults()], + ]; + } +} diff --git a/app/Http/Requests/Auth/LoginRequest.php b/app/Http/Requests/Auth/LoginRequest.php new file mode 100644 index 0000000..8352973 --- /dev/null +++ b/app/Http/Requests/Auth/LoginRequest.php @@ -0,0 +1,93 @@ + 'required|string', + 'password' => 'required|string', + ]; + } + + /** + * Attempt to authenticate the request's credentials. + * + * @return void + * + * @throws \Illuminate\Validation\ValidationException + */ + public function authenticate() + { + $this->ensureIsNotRateLimited(); + + if (! Auth::attempt($this->only('username', 'password'), $this->boolean('remember'))) { + RateLimiter::hit($this->throttleKey()); + + throw ValidationException::withMessages([ + 'username' => __('auth.failed'), + ]); + } + + RateLimiter::clear($this->throttleKey()); + } + + /** + * Ensure the login request is not rate limited. + * + * @return void + * + * @throws \Illuminate\Validation\ValidationException + */ + public function ensureIsNotRateLimited() + { + if (! RateLimiter::tooManyAttempts($this->throttleKey(), 5)) { + return; + } + + event(new Lockout($this)); + + $seconds = RateLimiter::availableIn($this->throttleKey()); + + throw ValidationException::withMessages([ + 'username' => trans('auth.throttle', [ + 'seconds' => $seconds, + 'minutes' => ceil($seconds / 60), + ]), + ]); + } + + /** + * Get the rate limiting throttle key for the request. + * + * @return string + */ + public function throttleKey() + { + return Str::lower($this->input('username')) . '|' . $this->ip(); + } +} diff --git a/app/Models/ConsoleList.php b/app/Models/ConsoleList.php new file mode 100644 index 0000000..4eca579 --- /dev/null +++ b/app/Models/ConsoleList.php @@ -0,0 +1,23 @@ +hasOne(Platform::class, 'id', 'platform_id'); + } +} diff --git a/app/Models/GameComment.php b/app/Models/GameComment.php new file mode 100644 index 0000000..251b65a --- /dev/null +++ b/app/Models/GameComment.php @@ -0,0 +1,25 @@ +hasOne(User::class); + } + + /** + * Game list relation to game model + * + * @return \Illuminate\Database\Eloquent\Relations\HasOne + */ + public function game() + { + return $this->hasOne(Game::class, 'id', 'game_id'); + } +} diff --git a/app/Models/Genre.php b/app/Models/Genre.php new file mode 100644 index 0000000..c5bb0a1 --- /dev/null +++ b/app/Models/Genre.php @@ -0,0 +1,23 @@ + 'datetime', + ]; + + public function getRememberToken() + { + return $this->remember_token; + } + + public function setRememberToken($value) + { + $this->remember_token = $value; + } + + /** + * User relation to user gamertags model + * + * @return \Illuminate\Database\Eloquent\Relations\HasOne + */ + public function gamertags() + { + return $this->hasOne(UserGamerTag::class); + } + + /** + * User relation to user info model + * + * @return \Illuminate\Database\Eloquent\Relations\HasOne + */ + public function info() + { + return $this->hasOne(UserInfo::class); + } + + /** + * User relation to user notification settings model + * + * @return \Illuminate\Database\Eloquent\Relations\HasOne + */ + public function notifications() + { + return $this->hasOne(UserNotificationSetting::class); + } + + /** + * User relation to role model + * + * @return \Illuminate\Database\Eloquent\Relations\HasOne + */ + public function role() + { + return $this->hasOne(Role::class, 'id', 'role_id'); + } + + /** + * User relation to game list model + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function gameList() + { + return $this->hasMany(GameList::class); + } + + /** + * User relation to user site settings model + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function siteSettings() + { + return $this->hasMany(UserSiteSetting::class); + } +} diff --git a/app/Models/UserGamerTag.php b/app/Models/UserGamerTag.php new file mode 100644 index 0000000..fdb8770 --- /dev/null +++ b/app/Models/UserGamerTag.php @@ -0,0 +1,40 @@ +belongsTo(User::class); + } +} diff --git a/app/Models/UserInfo.php b/app/Models/UserInfo.php new file mode 100644 index 0000000..02a79bb --- /dev/null +++ b/app/Models/UserInfo.php @@ -0,0 +1,40 @@ +belongsTo(User::class); + } +} diff --git a/app/Models/UserNotificationSetting.php b/app/Models/UserNotificationSetting.php new file mode 100644 index 0000000..69ac83f --- /dev/null +++ b/app/Models/UserNotificationSetting.php @@ -0,0 +1,37 @@ +belongsTo(User::class); + } +} diff --git a/app/Models/UserSiteSetting.php b/app/Models/UserSiteSetting.php new file mode 100644 index 0000000..afc2e16 --- /dev/null +++ b/app/Models/UserSiteSetting.php @@ -0,0 +1,34 @@ +hasOne(User::class); + } +} diff --git a/app/Models/Wishlist.php b/app/Models/Wishlist.php new file mode 100644 index 0000000..4dc5799 --- /dev/null +++ b/app/Models/Wishlist.php @@ -0,0 +1,25 @@ +id === $gameList->user_id; + } + + /** + * Determine whether the user can delete the model. + * + * @param \App\Models\User $user + * @param \App\Models\GameList $gameList + * @return \Illuminate\Auth\Access\Response|bool + */ + public function delete(User $user, GameList $gameList) + { + return $user->id === $gameList->user_id; + } + + /** + * Determine whether the user can restore the model. + * + * @param \App\Models\User $user + * @param \App\Models\GameList $gameList + * @return \Illuminate\Auth\Access\Response|bool + */ + public function restore(User $user, GameList $gameList) + { + // + } + + /** + * Determine whether the user can permanently delete the model. + * + * @param \App\Models\User $user + * @param \App\Models\GameList $gameList + * @return \Illuminate\Auth\Access\Response|bool + */ + public function forceDelete(User $user, GameList $gameList) + { + // + } +} diff --git a/app/Policies/GamePolicy.php b/app/Policies/GamePolicy.php new file mode 100644 index 0000000..3a6eb3e --- /dev/null +++ b/app/Policies/GamePolicy.php @@ -0,0 +1,129 @@ +role_id === 1 || + $user->role_id === 2 || + $user->role_id === 3 + ) { + return true; + } + } + + /** + * Determine whether the user can clone the model. + */ + public function clone(User $user) + { + // Ensure the user has permission to clone games into the database. + if ( + $user->role_id === 1 || + $user->role_id === 2 || + $user->role_id === 3 + ) { + return true; + } + } + + /** + * Determine whether the user can update the model. + * + * @param \App\Models\User $user + * @return \Illuminate\Auth\Access\Response|bool + */ + public function update(User $user) + { + // Ensure the user has permission to updates games in the database. + if ( + $user->role_id === 1 || + $user->role_id === 2 || + $user->role_id === 3 + ) { + return true; + } + } + + /** + * Determine whether the user can delete the model. + * + * @param \App\Models\User $user + * @param \App\Models\Game $game + * @return \Illuminate\Auth\Access\Response|bool + */ + public function delete(User $user, Game $game) + { + // Ensure the user has permission to delete games from the database. + if ( + $user->role_id === 1 || + $user->role_id === 2 || + $user->role_id === 3 + ) { + return true; + } + } + + /** + * Determine whether the user can restore the model. + * + * @param \App\Models\User $user + * @param \App\Models\Game $game + * @return \Illuminate\Auth\Access\Response|bool + */ + public function restore(User $user, Game $game) + { + // + } + + /** + * Determine whether the user can permanently delete the model. + * + * @param \App\Models\User $user + * @param \App\Models\Game $game + * @return \Illuminate\Auth\Access\Response|bool + */ + public function forceDelete(User $user, Game $game) + { + // + } +} diff --git a/app/Policies/UserPolicy.php b/app/Policies/UserPolicy.php new file mode 100644 index 0000000..0f85833 --- /dev/null +++ b/app/Policies/UserPolicy.php @@ -0,0 +1,93 @@ +is($model); + } + + /** + * Determine whether the user can restore the model. + * + * @param \App\Models\User $user + * @param \App\Models\User $model + * @return mixed + */ + public function restore(User $user, User $model) + { + // + } + + /** + * Determine whether the user can permanently delete the model. + * + * @param \App\Models\User $user + * @param \App\Models\User $model + * @return mixed + */ + public function forceDelete(User $user, User $model) + { + // + } +} diff --git a/app/Policies/UserSiteSettingPolicy.php b/app/Policies/UserSiteSettingPolicy.php new file mode 100644 index 0000000..48884e3 --- /dev/null +++ b/app/Policies/UserSiteSettingPolicy.php @@ -0,0 +1,94 @@ +app->isLocal()) { + // $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class); + // } + } + + /** + * Bootstrap any application services. + * + * @return void + */ + public function boot() + { + $theme = theme(); + + // Share theme adapter class + View::share('theme', $theme); + + // Set demo globally + $theme->setDemo('demo1'); + + $theme->initConfig(); + + bootstrap()->run(); + + if (isRTL()) { + // RTL html attributes + Theme::addHtmlAttribute('html', 'dir', 'rtl'); + Theme::addHtmlAttribute('html', 'direction', 'rtl'); + Theme::addHtmlAttribute('html', 'style', 'direction:rtl;'); + Theme::addHtmlAttribute('body', 'direction', 'rtl'); + } + } +} diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php new file mode 100644 index 0000000..45af7a1 --- /dev/null +++ b/app/Providers/AuthServiceProvider.php @@ -0,0 +1,33 @@ + 'App\Policies\ModelPolicy', + User::class => UserPolicy::class, + ]; + + /** + * Register any authentication / authorization services. + * + * @return void + */ + public function boot() + { + $this->registerPolicies(); + + // + } +} diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php new file mode 100644 index 0000000..395c518 --- /dev/null +++ b/app/Providers/BroadcastServiceProvider.php @@ -0,0 +1,21 @@ + [ + SendEmailVerificationNotification::class, + ], + ]; + + /** + * Register any events for your application. + * + * @return void + */ + public function boot() + { + // + } +} diff --git a/app/Providers/HelperServiceProvider.php b/app/Providers/HelperServiceProvider.php new file mode 100644 index 0000000..37f294b --- /dev/null +++ b/app/Providers/HelperServiceProvider.php @@ -0,0 +1,30 @@ +configureRateLimiting(); + + $this->routes(function () { + Route::prefix('api') + ->middleware('api') + ->namespace($this->namespace) + ->group(base_path('routes/api.php')); + + Route::middleware('web') + ->namespace($this->namespace) + ->group(base_path('routes/web.php')); + }); + + PaginateRoute::registerMacros(); + + parent::boot(); + } + + /** + * Configure the rate limiters for the application. + * + * @return void + */ + protected function configureRateLimiting() + { + RateLimiter::for('api', function (Request $request) { + return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip()); + }); + } +} diff --git a/app/Rules/GameReleaseDate.php b/app/Rules/GameReleaseDate.php new file mode 100644 index 0000000..c980cd1 --- /dev/null +++ b/app/Rules/GameReleaseDate.php @@ -0,0 +1,32 @@ +input('current_email'))->first(); + + return Hash::check($value, $user->password); + } + + /** + * Get the validation error message. + * + * @return string + */ + public function message() + { + return 'The :attribute is not match with old password.'; + } +} diff --git a/app/View/Components/AuthLayout.php b/app/View/Components/AuthLayout.php new file mode 100644 index 0000000..02f1111 --- /dev/null +++ b/app/View/Components/AuthLayout.php @@ -0,0 +1,18 @@ + 'Sign-in', 'wrapperClass' => 'w-lg-500px']); + } +} diff --git a/app/View/Components/BaseLayout.php b/app/View/Components/BaseLayout.php new file mode 100644 index 0000000..4ad9bcb --- /dev/null +++ b/app/View/Components/BaseLayout.php @@ -0,0 +1,20 @@ +getOption('layout', 'base') === 'docs') { + return view('layout.docs.master'); + } + + return theme()->getView('layout.master'); + } +} diff --git a/app/helpers.php b/app/helpers.php new file mode 100644 index 0000000..80e0829 --- /dev/null +++ b/app/helpers.php @@ -0,0 +1,205 @@ +getMediaUrlPath() . $path; + } + + $file_path = public_path($path); + + if (!file_exists($file_path)) { + return ''; + } + + $svg_content = file_get_contents($file_path); + + if (empty($svg_content)) { + return ''; + } + + $dom = new DOMDocument(); + $dom->loadXML($svg_content); + + // remove unwanted comments + $xpath = new DOMXPath($dom); + foreach ($xpath->query('//comment()') as $comment) { + $comment->parentNode->removeChild($comment); + } + + // add class to svg + if (!empty($svgClass)) { + foreach ($dom->getElementsByTagName('svg') as $element) { + $element->setAttribute('class', $svgClass); + } + } + + // remove unwanted tags + $title = $dom->getElementsByTagName('title'); + if ($title['length']) { + $dom->documentElement->removeChild($title[0]); + } + $desc = $dom->getElementsByTagName('desc'); + if ($desc['length']) { + $dom->documentElement->removeChild($desc[0]); + } + $defs = $dom->getElementsByTagName('defs'); + if ($defs['length']) { + $dom->documentElement->removeChild($defs[0]); + } + + // remove unwanted id attribute in g tag + $g = $dom->getElementsByTagName('g'); + foreach ($g as $el) { + $el->removeAttribute('id'); + } + $mask = $dom->getElementsByTagName('mask'); + foreach ($mask as $el) { + $el->removeAttribute('id'); + } + $rect = $dom->getElementsByTagName('rect'); + foreach ($rect as $el) { + $el->removeAttribute('id'); + } + $xpath = $dom->getElementsByTagName('path'); + foreach ($xpath as $el) { + $el->removeAttribute('id'); + } + $circle = $dom->getElementsByTagName('circle'); + foreach ($circle as $el) { + $el->removeAttribute('id'); + } + $use = $dom->getElementsByTagName('use'); + foreach ($use as $el) { + $el->removeAttribute('id'); + } + $polygon = $dom->getElementsByTagName('polygon'); + foreach ($polygon as $el) { + $el->removeAttribute('id'); + } + $ellipse = $dom->getElementsByTagName('ellipse'); + foreach ($ellipse as $el) { + $el->removeAttribute('id'); + } + + $string = $dom->saveXML($dom->documentElement); + + // remove empty lines + $string = preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n", $string); + + $cls = array('svg-icon'); + + if (!empty($class)) { + $cls = array_merge($cls, explode(' ', $class)); + } + + $asd = explode('/media/', $path); + if (isset($asd[1])) { + $path = 'assets/media/' . $asd[1]; + } + + $output = "\n"; + $output .= '' . $string . ''; + $output .= "\n"; + + return $output; + } +} + +if (!function_exists('theme')) { + /** + * Get the instance of Theme class core + * + * @return \App\Core\Adapters\Theme|\Illuminate\Contracts\Foundation\Application|mixed + */ + function theme() + { + return app(\App\Core\Adapters\Theme::class); + } +} + +if (!function_exists('util')) { + /** + * Get the instance of Util class core + * + * @return \App\Core\Adapters\Util|\Illuminate\Contracts\Foundation\Application|mixed + */ + function util() + { + return app(\App\Core\Adapters\Util::class); + } +} + +if (!function_exists('bootstrap')) { + /** + * Get the instance of Util class core + * + * @return \App\Core\Adapters\Util|\Illuminate\Contracts\Foundation\Application|mixed + * @throws Throwable + */ + function bootstrap() + { + $demo = ucwords(theme()->getDemo()); + $bootstrap = "\App\Core\Bootstraps\Bootstrap$demo"; + + if (!class_exists($bootstrap)) { + abort(404, 'Demo has not been set or ' . $bootstrap . ' file is not found.'); + } + + return app($bootstrap); + } +} + +if (!function_exists('assetCustom')) { + /** + * Get the asset path of RTL if this is an RTL request + * + * @param $path + * @param null $secure + * + * @return string + */ + function assetCustom($path) + { + // Include rtl css file + if (isRTL()) { + return asset(theme()->getDemo() . '/' . dirname($path) . '/' . basename($path, '.css') . '.rtl.css'); + } + + // Include dark style css file + if (theme()->isDarkModeEnabled() && theme()->getCurrentMode() !== 'light') { + $darkPath = str_replace('.bundle', '.' . theme()->getCurrentMode() . '.bundle', $path); + if (file_exists(public_path(theme()->getDemo() . '/' . $darkPath))) { + return asset(theme()->getDemo() . '/' . $darkPath); + } + } + + // Include default css file + return asset(theme()->getDemo() . '/' . $path); + } +} + +if (!function_exists('isRTL')) { + /** + * Check if the request has RTL param + * + * @return bool + */ + function isRTL() + { + return (bool) request()->input('rtl'); + } +} + +if (!function_exists('preloadCss')) { + /** + * Preload CSS file + * + * @return bool + */ + function preloadCss($url) + { + return ''; + } +} diff --git a/artisan b/artisan new file mode 100644 index 0000000..5c23e2e --- /dev/null +++ b/artisan @@ -0,0 +1,53 @@ +#!/usr/bin/env php +make(Illuminate\Contracts\Console\Kernel::class); + +$status = $kernel->handle( + $input = new Symfony\Component\Console\Input\ArgvInput, + new Symfony\Component\Console\Output\ConsoleOutput +); + +/* +|-------------------------------------------------------------------------- +| Shutdown The Application +|-------------------------------------------------------------------------- +| +| Once Artisan has finished running, we will fire off the shutdown events +| so that any final work may be done by the application before we shut +| down the process. This is the last thing to happen to the request. +| +*/ + +$kernel->terminate($input, $status); + +exit($status); diff --git a/bootstrap/app.php b/bootstrap/app.php new file mode 100644 index 0000000..037e17d --- /dev/null +++ b/bootstrap/app.php @@ -0,0 +1,55 @@ +singleton( + Illuminate\Contracts\Http\Kernel::class, + App\Http\Kernel::class +); + +$app->singleton( + Illuminate\Contracts\Console\Kernel::class, + App\Console\Kernel::class +); + +$app->singleton( + Illuminate\Contracts\Debug\ExceptionHandler::class, + App\Exceptions\Handler::class +); + +/* +|-------------------------------------------------------------------------- +| Return The Application +|-------------------------------------------------------------------------- +| +| This script returns the application instance. The instance is given to +| the calling script so we can separate the building of the instances +| from the actual running of the application and sending responses. +| +*/ + +return $app; diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/bootstrap/cache/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..9a39b33 --- /dev/null +++ b/composer.json @@ -0,0 +1,90 @@ +{ + "name": "keenthemes/metronic-laravel", + "type": "project", + "description": "The Metronic in the Laravel Framework.", + "keywords": [ + "framework", + "laravel" + ], + "license": "MIT", + "require": { + "alfredo-ramos/parsedown-extra-laravel": "^4.0", + "anlutro/l4-settings": "^1.0", + "fruitcake/laravel-cors": "^3.0", + "guzzlehttp/guzzle": "^7.0.1", + "jackiedo/log-reader": "^2.2", + "joypixels/emoji-toolkit": "^7.0", + "laravel/framework": "^9.0", + "laravel/socialite": "^5.2", + "laravel/tinker": "^2.5", + "league/flysystem-aws-s3-v3": "^3.0", + "maatwebsite/excel": "^3.1", + "michaloravec/laravel-paginateroute": "^1.0", + "sentry/sentry-laravel": "^3.0", + "spatie/laravel-activitylog": "^4.0", + "squizlabs/php_codesniffer": "*", + "yajra/laravel-datatables-buttons": "^4.10", + "yajra/laravel-datatables-oracle": "~9.0" + }, + "require-dev": { + "barryvdh/laravel-debugbar": "^3.6", + "barryvdh/laravel-ide-helper": "^2.9", + "fakerphp/faker": "^1.9.1", + "laravel/breeze": "^1.0", + "laravel/sail": "^1.0.1", + "mockery/mockery": "^1.4.2", + "nunomaduro/collision": "^6.0", + "phpunit/phpunit": "^9.3.3", + "roave/security-advisories": "dev-latest", + "spatie/laravel-ignition": "^1.0" + }, + "config": { + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true, + "allow-plugins": { + "composer/package-versions-deprecated": true + } + }, + "extra": { + "laravel": { + "dont-discover": [] + } + }, + "autoload": { + "files": [ + "app/helpers.php" + ], + "psr-4": { + "App\\": "app/", + "Database\\Factories\\": "database/factories/", + "Database\\Seeders\\": "database/seeders/" + } + }, + "autoload-dev": { + "psr-4": { + "Tests\\": "tests/" + } + }, + "minimum-stability": "dev", + "prefer-stable": true, + "scripts": { + "post-autoload-dump": [ + "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", + "@php artisan package:discover --ansi" + ], + "post-root-package-install": [ + "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" + ], + "post-create-project-cmd": [ + "@php artisan key:generate --ansi" + ], + "post-update-cmd": [ + "Illuminate\\Foundation\\ComposerScripts::postUpdate", + "@php artisan ide-helper:generate", + "@php artisan ide-helper:meta" + ] + }, + "repositories": [ + ] +} diff --git a/config/activitylog.php b/config/activitylog.php new file mode 100644 index 0000000..a6558ec --- /dev/null +++ b/config/activitylog.php @@ -0,0 +1,52 @@ + env('ACTIVITY_LOGGER_ENABLED', true), + + /* + * When the clean-command is executed, all recording activities older than + * the number of days specified here will be deleted. + */ + 'delete_records_older_than_days' => 365, + + /* + * If no log name is passed to the activity() helper + * we use this default log name. + */ + 'default_log_name' => 'default', + + /* + * You can specify an auth driver here that gets user models. + * If this is null we'll use the default Laravel auth driver. + */ + 'default_auth_driver' => null, + + /* + * If set to true, the subject returns soft deleted models. + */ + 'subject_returns_soft_deleted_models' => false, + + /* + * This model will be used to log activity. + * It should be implements the Spatie\Activitylog\Contracts\Activity interface + * and extend Illuminate\Database\Eloquent\Model. + */ + 'activity_model' => \Spatie\Activitylog\Models\Activity::class, + + /* + * This is the name of the table that will be created by the migration and + * used by the Activity model shipped with this package. + */ + 'table_name' => 'activity_log', + + /* + * This is the database connection that will be used by the migration and + * the Activity model shipped with this package. In case it's not set + * Laravel database.default will be used instead. + */ + 'database_connection' => env('ACTIVITY_LOGGER_DB_CONNECTION'), +]; diff --git a/config/app.php b/config/app.php new file mode 100644 index 0000000..6a21b27 --- /dev/null +++ b/config/app.php @@ -0,0 +1,234 @@ + env('APP_NAME', 'Laravel'), + + /* + |-------------------------------------------------------------------------- + | Application Environment + |-------------------------------------------------------------------------- + | + | This value determines the "environment" your application is currently + | running in. This may determine how you prefer to configure various + | services the application utilizes. Set this in your ".env" file. + | + */ + + 'env' => env('APP_ENV', 'production'), + + /* + |-------------------------------------------------------------------------- + | Application Debug Mode + |-------------------------------------------------------------------------- + | + | When your application is in debug mode, detailed error messages with + | stack traces will be shown on every error that occurs within your + | application. If disabled, a simple generic error page is shown. + | + */ + + 'debug' => (bool) env('APP_DEBUG', false), + + /* + |-------------------------------------------------------------------------- + | Application URL + |-------------------------------------------------------------------------- + | + | This URL is used by the console to properly generate URLs when using + | the Artisan command line tool. You should set this to the root of + | your application so that it is used when running Artisan tasks. + | + */ + + 'url' => env('APP_URL', 'http://localhost'), + + 'asset_url' => env('ASSET_URL', null), + + /* + |-------------------------------------------------------------------------- + | Application Timezone + |-------------------------------------------------------------------------- + | + | Here you may specify the default timezone for your application, which + | will be used by the PHP date and date-time functions. We have gone + | ahead and set this to a sensible default for you out of the box. + | + */ + + 'timezone' => env('APP_TIMEZONE', 'UTC'), + + /* + |-------------------------------------------------------------------------- + | Application Locale Configuration + |-------------------------------------------------------------------------- + | + | The application locale determines the default locale that will be used + | by the translation service provider. You are free to set this value + | to any of the locales which will be supported by the application. + | + */ + + 'locale' => 'en', + + /* + |-------------------------------------------------------------------------- + | Application Fallback Locale + |-------------------------------------------------------------------------- + | + | The fallback locale determines the locale to use when the current one + | is not available. You may change the value to correspond to any of + | the language folders that are provided through your application. + | + */ + + 'fallback_locale' => 'en', + + /* + |-------------------------------------------------------------------------- + | Faker Locale + |-------------------------------------------------------------------------- + | + | This locale will be used by the Faker PHP library when generating fake + | data for your database seeds. For example, this will be used to get + | localized telephone numbers, street address information and more. + | + */ + + 'faker_locale' => 'en_US', + + /* + |-------------------------------------------------------------------------- + | Encryption Key + |-------------------------------------------------------------------------- + | + | This key is used by the Illuminate encrypter service and should be set + | to a random, 32 character string, otherwise these encrypted strings + | will not be safe. Please do this before deploying an application! + | + */ + + 'key' => env('APP_KEY'), + + 'cipher' => 'AES-256-CBC', + + /* + |-------------------------------------------------------------------------- + | Autoloaded Service Providers + |-------------------------------------------------------------------------- + | + | The service providers listed here will be automatically loaded on the + | request to your application. Feel free to add your own services to + | this array to grant expanded functionality to your applications. + | + */ + + 'providers' => [ + + /* + * Laravel Framework Service Providers... + */ + Illuminate\Auth\AuthServiceProvider::class, + Illuminate\Broadcasting\BroadcastServiceProvider::class, + Illuminate\Bus\BusServiceProvider::class, + Illuminate\Cache\CacheServiceProvider::class, + Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, + Illuminate\Cookie\CookieServiceProvider::class, + Illuminate\Database\DatabaseServiceProvider::class, + Illuminate\Encryption\EncryptionServiceProvider::class, + Illuminate\Filesystem\FilesystemServiceProvider::class, + Illuminate\Foundation\Providers\FoundationServiceProvider::class, + Illuminate\Hashing\HashServiceProvider::class, + Illuminate\Mail\MailServiceProvider::class, + Illuminate\Notifications\NotificationServiceProvider::class, + Illuminate\Pagination\PaginationServiceProvider::class, + Illuminate\Pipeline\PipelineServiceProvider::class, + Illuminate\Queue\QueueServiceProvider::class, + Illuminate\Redis\RedisServiceProvider::class, + Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, + Illuminate\Session\SessionServiceProvider::class, + Illuminate\Translation\TranslationServiceProvider::class, + Illuminate\Validation\ValidationServiceProvider::class, + Illuminate\View\ViewServiceProvider::class, + + /* + * Package Service Providers... + */ + Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class, + + /* + * Application Service Providers... + */ + App\Providers\AppServiceProvider::class, + App\Providers\AuthServiceProvider::class, + // App\Providers\BroadcastServiceProvider::class, + App\Providers\EventServiceProvider::class, + App\Providers\HelperServiceProvider::class, + App\Providers\RouteServiceProvider::class, + + ], + + /* + |-------------------------------------------------------------------------- + | Class Aliases + |-------------------------------------------------------------------------- + | + | This array of class aliases will be registered when this application + | is started. However, feel free to register as many as you wish as + | the aliases are "lazy" loaded so they don't hinder performance. + | + */ + + 'aliases' => [ + + 'App' => Illuminate\Support\Facades\App::class, + 'Arr' => Illuminate\Support\Arr::class, + 'Artisan' => Illuminate\Support\Facades\Artisan::class, + 'Auth' => Illuminate\Support\Facades\Auth::class, + 'Blade' => Illuminate\Support\Facades\Blade::class, + 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, + 'Bus' => Illuminate\Support\Facades\Bus::class, + 'Cache' => Illuminate\Support\Facades\Cache::class, + 'Config' => Illuminate\Support\Facades\Config::class, + 'Cookie' => Illuminate\Support\Facades\Cookie::class, + 'Crypt' => Illuminate\Support\Facades\Crypt::class, + 'DB' => Illuminate\Support\Facades\DB::class, + 'Eloquent' => Illuminate\Database\Eloquent\Model::class, + 'Event' => Illuminate\Support\Facades\Event::class, + 'File' => Illuminate\Support\Facades\File::class, + 'Gate' => Illuminate\Support\Facades\Gate::class, + 'Hash' => Illuminate\Support\Facades\Hash::class, + 'Http' => Illuminate\Support\Facades\Http::class, + 'Lang' => Illuminate\Support\Facades\Lang::class, + 'Log' => Illuminate\Support\Facades\Log::class, + 'Mail' => Illuminate\Support\Facades\Mail::class, + 'Notification' => Illuminate\Support\Facades\Notification::class, + 'Password' => Illuminate\Support\Facades\Password::class, + 'Queue' => Illuminate\Support\Facades\Queue::class, + 'Redirect' => Illuminate\Support\Facades\Redirect::class, + // 'Redis' => Illuminate\Support\Facades\Redis::class, + 'Request' => Illuminate\Support\Facades\Request::class, + 'Response' => Illuminate\Support\Facades\Response::class, + 'Route' => Illuminate\Support\Facades\Route::class, + 'Schema' => Illuminate\Support\Facades\Schema::class, + 'Session' => Illuminate\Support\Facades\Session::class, + 'Storage' => Illuminate\Support\Facades\Storage::class, + 'Str' => Illuminate\Support\Str::class, + 'URL' => Illuminate\Support\Facades\URL::class, + 'Validator' => Illuminate\Support\Facades\Validator::class, + 'View' => Illuminate\Support\Facades\View::class, + + ], + +]; diff --git a/config/auth.php b/config/auth.php new file mode 100644 index 0000000..d01bfc3 --- /dev/null +++ b/config/auth.php @@ -0,0 +1,117 @@ + [ + 'guard' => 'web', + 'passwords' => 'users', + ], + + /* + |-------------------------------------------------------------------------- + | Authentication Guards + |-------------------------------------------------------------------------- + | + | Next, you may define every authentication guard for your application. + | Of course, a great default configuration has been defined for you + | here which uses session storage and the Eloquent user provider. + | + | All authentication drivers have a user provider. This defines how the + | users are actually retrieved out of your database or other storage + | mechanisms used by this application to persist your user's data. + | + | Supported: "session", "token" + | + */ + + 'guards' => [ + 'web' => [ + 'driver' => 'session', + 'provider' => 'users', + ], + + 'api' => [ + 'driver' => 'token', + 'provider' => 'users', + 'hash' => true, + ], + ], + + /* + |-------------------------------------------------------------------------- + | User Providers + |-------------------------------------------------------------------------- + | + | All authentication drivers have a user provider. This defines how the + | users are actually retrieved out of your database or other storage + | mechanisms used by this application to persist your user's data. + | + | If you have multiple user tables or models you may configure multiple + | sources which represent each model / table. These sources may then + | be assigned to any extra authentication guards you have defined. + | + | Supported: "database", "eloquent" + | + */ + + 'providers' => [ + 'users' => [ + 'driver' => 'eloquent', + 'model' => App\Models\User::class, + ], + + // 'users' => [ + // 'driver' => 'database', + // 'table' => 'users', + // ], + ], + + /* + |-------------------------------------------------------------------------- + | Resetting Passwords + |-------------------------------------------------------------------------- + | + | You may specify multiple password reset configurations if you have more + | than one user table or model in the application and you want to have + | separate password reset settings based on the specific user types. + | + | The expire time is the number of minutes that the reset token should be + | considered valid. This security feature keeps tokens short-lived so + | they have less time to be guessed. You may change this as needed. + | + */ + + 'passwords' => [ + 'users' => [ + 'provider' => 'users', + 'table' => 'password_resets', + 'expire' => 60, + 'throttle' => 60, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Password Confirmation Timeout + |-------------------------------------------------------------------------- + | + | Here you may define the amount of seconds before a password confirmation + | times out and the user is prompted to re-enter their password via the + | confirmation screen. By default, the timeout lasts for three hours. + | + */ + + 'password_timeout' => 10800, + +]; diff --git a/config/broadcasting.php b/config/broadcasting.php new file mode 100644 index 0000000..ef20859 --- /dev/null +++ b/config/broadcasting.php @@ -0,0 +1,64 @@ + env('BROADCAST_DRIVER', 'null'), + + /* + |-------------------------------------------------------------------------- + | Broadcast Connections + |-------------------------------------------------------------------------- + | + | Here you may define all of the broadcast connections that will be used + | to broadcast events to other systems or over websockets. Samples of + | each available type of connection are provided inside this array. + | + */ + + 'connections' => [ + + 'pusher' => [ + 'driver' => 'pusher', + 'key' => env('PUSHER_APP_KEY'), + 'secret' => env('PUSHER_APP_SECRET'), + 'app_id' => env('PUSHER_APP_ID'), + 'options' => [ + 'cluster' => env('PUSHER_APP_CLUSTER'), + 'useTLS' => true, + ], + ], + + 'ably' => [ + 'driver' => 'ably', + 'key' => env('ABLY_KEY'), + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'default', + ], + + 'log' => [ + 'driver' => 'log', + ], + + 'null' => [ + 'driver' => 'null', + ], + + ], + +]; diff --git a/config/cache.php b/config/cache.php new file mode 100644 index 0000000..2389425 --- /dev/null +++ b/config/cache.php @@ -0,0 +1,106 @@ + env('CACHE_DRIVER', 'file'), + + /* + |-------------------------------------------------------------------------- + | Cache Stores + |-------------------------------------------------------------------------- + | + | Here you may define all of the cache "stores" for your application as + | well as their drivers. You may even define multiple stores for the + | same cache driver to group types of items stored in your caches. + | + | Supported drivers: "apc", "array", "database", "file", + | "memcached", "redis", "dynamodb", "null" + | + */ + + 'stores' => [ + + 'apc' => [ + 'driver' => 'apc', + ], + + 'array' => [ + 'driver' => 'array', + 'serialize' => false, + ], + + 'database' => [ + 'driver' => 'database', + 'table' => 'cache', + 'connection' => null, + 'lock_connection' => null, + ], + + 'file' => [ + 'driver' => 'file', + 'path' => storage_path('framework/cache/data'), + ], + + 'memcached' => [ + 'driver' => 'memcached', + 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), + 'sasl' => [ + env('MEMCACHED_USERNAME'), + env('MEMCACHED_PASSWORD'), + ], + 'options' => [ + // Memcached::OPT_CONNECT_TIMEOUT => 2000, + ], + 'servers' => [ + [ + 'host' => env('MEMCACHED_HOST', '127.0.0.1'), + 'port' => env('MEMCACHED_PORT', 11211), + 'weight' => 100, + ], + ], + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'cache', + 'lock_connection' => 'default', + ], + + 'dynamodb' => [ + 'driver' => 'dynamodb', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), + 'endpoint' => env('DYNAMODB_ENDPOINT'), + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Cache Key Prefix + |-------------------------------------------------------------------------- + | + | When utilizing a RAM based store such as APC or Memcached, there might + | be other applications utilizing the same cache. So, we'll specify a + | value to get prefixed to all our keys so we can avoid collisions. + | + */ + + 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_cache'), + +]; diff --git a/config/cors.php b/config/cors.php new file mode 100644 index 0000000..8a39e6d --- /dev/null +++ b/config/cors.php @@ -0,0 +1,34 @@ + ['api/*', 'sanctum/csrf-cookie'], + + 'allowed_methods' => ['*'], + + 'allowed_origins' => ['*'], + + 'allowed_origins_patterns' => [], + + 'allowed_headers' => ['*'], + + 'exposed_headers' => [], + + 'max_age' => 0, + + 'supports_credentials' => false, + +]; diff --git a/config/database.php b/config/database.php new file mode 100644 index 0000000..937779b --- /dev/null +++ b/config/database.php @@ -0,0 +1,147 @@ + env('DB_CONNECTION', 'mysql'), + + /* + |-------------------------------------------------------------------------- + | Database Connections + |-------------------------------------------------------------------------- + | + | Here are each of the database connections setup for your application. + | Of course, examples of configuring each database platform that is + | supported by Laravel is shown below to make development simple. + | + | + | All database work in Laravel is done through the PHP PDO facilities + | so make sure you have the driver for your particular database of + | choice installed on your machine before you begin development. + | + */ + + 'connections' => [ + + 'sqlite' => [ + 'driver' => 'sqlite', + 'url' => env('DATABASE_URL'), + 'database' => env('DB_DATABASE', database_path('database.sqlite')), + 'prefix' => '', + 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), + ], + + 'mysql' => [ + 'driver' => 'mysql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), + 'charset' => 'utf8mb4', + 'collation' => 'utf8mb4_unicode_ci', + 'prefix' => '', + 'prefix_indexes' => true, + 'strict' => true, + 'engine' => 'InnoDB ROW_FORMAT=DYNAMIC', + 'options' => extension_loaded('pdo_mysql') ? array_filter([ + PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + ]) : [], + ], + + 'pgsql' => [ + 'driver' => 'pgsql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '5432'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', + 'prefix_indexes' => true, + 'schema' => 'public', + 'sslmode' => 'prefer', + ], + + 'sqlsrv' => [ + 'driver' => 'sqlsrv', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', 'localhost'), + 'port' => env('DB_PORT', '1433'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', + 'prefix_indexes' => true, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Migration Repository Table + |-------------------------------------------------------------------------- + | + | This table keeps track of all the migrations that have already run for + | your application. Using this information, we can determine which of + | the migrations on disk haven't actually been run in the database. + | + */ + + 'migrations' => 'migrations', + + /* + |-------------------------------------------------------------------------- + | Redis Databases + |-------------------------------------------------------------------------- + | + | Redis is an open source, fast, and advanced key-value store that also + | provides a richer body of commands than a typical key-value system + | such as APC or Memcached. Laravel makes it easy to dig right in. + | + */ + + 'redis' => [ + + 'client' => env('REDIS_CLIENT', 'phpredis'), + + 'options' => [ + 'cluster' => env('REDIS_CLUSTER', 'redis'), + 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_database_'), + ], + + 'default' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'password' => env('REDIS_PASSWORD', null), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_DB', '0'), + ], + + 'cache' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'password' => env('REDIS_PASSWORD', null), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_CACHE_DB', '1'), + ], + + ], + +]; diff --git a/config/datatables-buttons.php b/config/datatables-buttons.php new file mode 100644 index 0000000..54bd787 --- /dev/null +++ b/config/datatables-buttons.php @@ -0,0 +1,90 @@ + [ + /* + * Base namespace/directory to create the new file. + * This is appended on default Laravel namespace. + * Usage: php artisan datatables:make User + * Output: App\DataTables\UserDataTable + * With Model: App\User (default model) + * Export filename: users_timestamp + */ + 'base' => 'DataTables', + + /* + * Base namespace/directory where your model's are located. + * This is appended on default Laravel namespace. + * Usage: php artisan datatables:make Post --model + * Output: App\DataTables\PostDataTable + * With Model: App\Post + * Export filename: posts_timestamp + */ + 'model' => '', + ], + + /* + * Set Custom stub folder + */ + //'stub' => '/resources/custom_stub', + + /* + * PDF generator to be used when converting the table to pdf. + * Available generators: excel, snappy + * Snappy package: barryvdh/laravel-snappy + * Excel package: maatwebsite/excel + */ + 'pdf_generator' => 'snappy', + + /* + * Snappy PDF options. + */ + 'snappy' => [ + 'options' => [ + 'no-outline' => true, + 'margin-left' => '0', + 'margin-right' => '0', + 'margin-top' => '10mm', + 'margin-bottom' => '10mm', + ], + 'orientation' => 'landscape', + ], + + /* + * Default html builder parameters. + */ + 'parameters' => [ + 'dom' => 'Bfrtip', + 'order' => [[0, 'desc']], + 'buttons' => [ + 'create', + 'export', + 'print', + 'reset', + 'reload', + ], + ], + + /* + * Generator command default options value. + */ + 'generator' => [ + /* + * Default columns to generate when not set. + */ + 'columns' => 'id,add your columns,created_at,updated_at', + + /* + * Default buttons to generate when not set. + */ + 'buttons' => 'create,export,print,reset,reload', + + /* + * Default DOM to generate when not set. + */ + 'dom' => 'Bfrtip', + ], +]; diff --git a/config/datatables-html.php b/config/datatables-html.php new file mode 100644 index 0000000..516d313 --- /dev/null +++ b/config/datatables-html.php @@ -0,0 +1,33 @@ + 'LaravelDataTables', + + /* + * Default table attributes when generating the table. + */ + 'table' => [ + 'class' => 'table', + 'id' => 'dataTableBuilder', + ], + + /* + * Default condition to determine if a parameter is a callback or not. + * Callbacks needs to start by those terms or they will be casted to string. + */ + 'callback' => ['$', '$.', 'function'], + + /* + * Html builder script template. + */ + 'script' => 'datatables::script', + + /* + * Html builder script template for DataTables Editor integration. + */ + 'editor' => 'datatables::editor', +]; diff --git a/config/datatables.php b/config/datatables.php new file mode 100644 index 0000000..ed2e36f --- /dev/null +++ b/config/datatables.php @@ -0,0 +1,122 @@ + [ + /* + * Smart search will enclose search keyword with wildcard string "%keyword%". + * SQL: column LIKE "%keyword%" + */ + 'smart' => true, + + /* + * Multi-term search will explode search keyword using spaces resulting into multiple term search. + */ + 'multi_term' => true, + + /* + * Case insensitive will search the keyword in lower case format. + * SQL: LOWER(column) LIKE LOWER(keyword) + */ + 'case_insensitive' => true, + + /* + * Wild card will add "%" in between every characters of the keyword. + * SQL: column LIKE "%k%e%y%w%o%r%d%" + */ + 'use_wildcards' => false, + + /* + * Perform a search which starts with the given keyword. + * SQL: column LIKE "keyword%" + */ + 'starts_with' => false, + ], + + /* + * DataTables internal index id response column name. + */ + 'index_column' => 'DT_RowIndex', + + /* + * List of available builders for DataTables. + * This is where you can register your custom dataTables builder. + */ + 'engines' => [ + 'eloquent' => Yajra\DataTables\EloquentDataTable::class, + 'query' => Yajra\DataTables\QueryDataTable::class, + 'collection' => Yajra\DataTables\CollectionDataTable::class, + 'resource' => Yajra\DataTables\ApiResourceDataTable::class, + ], + + /* + * DataTables accepted builder to engine mapping. + * This is where you can override which engine a builder should use + * Note, only change this if you know what you are doing! + */ + 'builders' => [ + //Illuminate\Database\Eloquent\Relations\Relation::class => 'eloquent', + //Illuminate\Database\Eloquent\Builder::class => 'eloquent', + //Illuminate\Database\Query\Builder::class => 'query', + //Illuminate\Support\Collection::class => 'collection', + ], + + /* + * Nulls last sql pattern for PostgreSQL & Oracle. + * For MySQL, use 'CASE WHEN :column IS NULL THEN 1 ELSE 0 END, :column :direction' + */ + 'nulls_last_sql' => ':column :direction NULLS LAST', + + /* + * User friendly message to be displayed on user if error occurs. + * Possible values: + * null - The exception message will be used on error response. + * 'throw' - Throws a \Yajra\DataTables\Exceptions\Exception. Use your custom error handler if needed. + * 'custom message' - Any friendly message to be displayed to the user. You can also use translation key. + */ + 'error' => env('DATATABLES_ERROR', null), + + /* + * Default columns definition of dataTable utility functions. + */ + 'columns' => [ + /* + * List of columns hidden/removed on json response. + */ + 'excess' => ['rn', 'row_num'], + + /* + * List of columns to be escaped. If set to *, all columns are escape. + * Note: You can set the value to empty array to disable XSS protection. + */ + 'escape' => '*', + + /* + * List of columns that are allowed to display html content. + * Note: Adding columns to list will make us available to XSS attacks. + */ + 'raw' => ['action'], + + /* + * List of columns are are forbidden from being searched/sorted. + */ + 'blacklist' => ['password', 'remember_token'], + + /* + * List of columns that are only allowed fo search/sort. + * If set to *, all columns are allowed. + */ + 'whitelist' => '*', + ], + + /* + * JsonResponse header and options config. + */ + 'json' => [ + 'header' => [], + 'options' => 0, + ], + +]; diff --git a/config/debugbar.php b/config/debugbar.php new file mode 100644 index 0000000..f0c97bf --- /dev/null +++ b/config/debugbar.php @@ -0,0 +1,275 @@ + env('DEBUGBAR_ENABLED', null), + 'except' => [ + 'telescope*', + 'horizon*', + ], + + /* + |-------------------------------------------------------------------------- + | Storage settings + |-------------------------------------------------------------------------- + | + | DebugBar stores data for session/ajax requests. + | You can disable this, so the debugbar stores data in headers/session, + | but this can cause problems with large data collectors. + | By default, file storage (in the storage folder) is used. Redis and PDO + | can also be used. For PDO, run the package migrations first. + | + */ + 'storage' => [ + 'enabled' => true, + 'driver' => 'file', // redis, file, pdo, socket, custom + 'path' => storage_path('debugbar'), // For file driver + 'connection' => null, // Leave null for default connection (Redis/PDO) + 'provider' => '', // Instance of StorageInterface for custom driver + 'hostname' => '127.0.0.1', // Hostname to use with the "socket" driver + 'port' => 2304, // Port to use with the "socket" driver + ], + + /* + |-------------------------------------------------------------------------- + | Editor + |-------------------------------------------------------------------------- + | + | Choose your preferred editor to use when clicking file name. + | + | Supported: "phpstorm", "vscode", "vscode-insiders", "vscode-remote", + | "vscode-insiders-remote", "vscodium", "textmate", "emacs", + | "sublime", "atom", "nova", "macvim", "idea", "netbeans", + | "xdebug", "espresso" + | + */ + + 'editor' => env('DEBUGBAR_EDITOR', 'vscode'), + + /* + |-------------------------------------------------------------------------- + | Remote Path Mapping + |-------------------------------------------------------------------------- + | + | If you are using a remote dev server, like Laravel Homestead, Docker, or + | even a remote VPS, it will be necessary to specify your path mapping. + | + | Leaving one, or both of these, empty or null will not trigger the remote + | URL changes and Debugbar will treat your editor links as local files. + | + | "remote_sites_path" is an absolute base path for your sites or projects + | in Homestead, Vagrant, Docker, or another remote development server. + | + | Example value: "/home/vagrant/Code" + | + | "local_sites_path" is an absolute base path for your sites or projects + | on your local computer where your IDE or code editor is running on. + | + | Example values: "/Users//Code", "C:\Users\\Documents\Code" + | + */ + + 'remote_sites_path' => env('DEBUGBAR_REMOTE_SITES_PATH', ''), + 'local_sites_path' => env('DEBUGBAR_LOCAL_SITES_PATH', ''), + + /* + |-------------------------------------------------------------------------- + | Vendors + |-------------------------------------------------------------------------- + | + | Vendor files are included by default, but can be set to false. + | This can also be set to 'js' or 'css', to only include javascript or css vendor files. + | Vendor files are for css: font-awesome (including fonts) and highlight.js (css files) + | and for js: jquery and and highlight.js + | So if you want syntax highlighting, set it to true. + | jQuery is set to not conflict with existing jQuery scripts. + | + */ + + 'include_vendors' => true, + + /* + |-------------------------------------------------------------------------- + | Capture Ajax Requests + |-------------------------------------------------------------------------- + | + | The Debugbar can capture Ajax requests and display them. If you don't want this (ie. because of errors), + | you can use this option to disable sending the data through the headers. + | + | Optionally, you can also send ServerTiming headers on ajax requests for the Chrome DevTools. + | + | Note for your request to be identified as ajax requests they must either send the header + | X-Requested-With with the value XMLHttpRequest (most JS libraries send this), or have application/json as a Accept header. + */ + + 'capture_ajax' => true, + 'add_ajax_timing' => false, + + /* + |-------------------------------------------------------------------------- + | Custom Error Handler for Deprecated warnings + |-------------------------------------------------------------------------- + | + | When enabled, the Debugbar shows deprecated warnings for Symfony components + | in the Messages tab. + | + */ + 'error_handler' => false, + + /* + |-------------------------------------------------------------------------- + | Clockwork integration + |-------------------------------------------------------------------------- + | + | The Debugbar can emulate the Clockwork headers, so you can use the Chrome + | Extension, without the server-side code. It uses Debugbar collectors instead. + | + */ + 'clockwork' => false, + + /* + |-------------------------------------------------------------------------- + | DataCollectors + |-------------------------------------------------------------------------- + | + | Enable/disable DataCollectors + | + */ + + 'collectors' => [ + 'phpinfo' => true, // Php version + 'messages' => true, // Messages + 'time' => true, // Time Datalogger + 'memory' => true, // Memory usage + 'exceptions' => true, // Exception displayer + 'log' => true, // Logs from Monolog (merged in messages if enabled) + 'db' => true, // Show database (PDO) queries and bindings + 'views' => true, // Views with their data + 'route' => true, // Current route information + 'auth' => false, // Display Laravel authentication status + 'gate' => true, // Display Laravel Gate checks + 'session' => true, // Display session data + 'symfony_request' => true, // Only one can be enabled.. + 'mail' => true, // Catch mail messages + 'laravel' => false, // Laravel version and environment + 'events' => false, // All events fired + 'default_request' => false, // Regular or special Symfony request logger + 'logs' => false, // Add the latest log messages + 'files' => false, // Show the included files + 'config' => false, // Display config settings + 'cache' => false, // Display cache events + 'models' => true, // Display models + 'livewire' => true, // Display Livewire (when available) + ], + + /* + |-------------------------------------------------------------------------- + | Extra options + |-------------------------------------------------------------------------- + | + | Configure some DataCollectors + | + */ + + 'options' => [ + 'auth' => [ + 'show_name' => true, // Also show the users name/email in the debugbar + ], + 'db' => [ + 'with_params' => true, // Render SQL with the parameters substituted + 'backtrace' => true, // Use a backtrace to find the origin of the query in your files. + 'backtrace_exclude_paths' => [], // Paths to exclude from backtrace. (in addition to defaults) + 'timeline' => false, // Add the queries to the timeline + 'duration_background' => true, // Show shaded background on each query relative to how long it took to execute. + 'explain' => [ // Show EXPLAIN output on queries + 'enabled' => false, + 'types' => ['SELECT'], // Deprecated setting, is always only SELECT + ], + 'hints' => false, // Show hints for common mistakes + 'show_copy' => false, // Show copy button next to the query + ], + 'mail' => [ + 'full_log' => false, + ], + 'views' => [ + 'timeline' => false, // Add the views to the timeline (Experimental) + 'data' => false, //Note: Can slow down the application, because the data can be quite large.. + ], + 'route' => [ + 'label' => true, // show complete route on bar + ], + 'logs' => [ + 'file' => null, + ], + 'cache' => [ + 'values' => true, // collect cache values + ], + ], + + /* + |-------------------------------------------------------------------------- + | Inject Debugbar in Response + |-------------------------------------------------------------------------- + | + | Usually, the debugbar is added just before , by listening to the + | Response after the App is done. If you disable this, you have to add them + | in your template yourself. See http://phpdebugbar.com/docs/rendering.html + | + */ + + 'inject' => true, + + /* + |-------------------------------------------------------------------------- + | DebugBar route prefix + |-------------------------------------------------------------------------- + | + | Sometimes you want to set route prefix to be used by DebugBar to load + | its resources from. Usually the need comes from misconfigured web server or + | from trying to overcome bugs like this: http://trac.nginx.org/nginx/ticket/97 + | + */ + 'route_prefix' => '_debugbar', + + /* + |-------------------------------------------------------------------------- + | DebugBar route domain + |-------------------------------------------------------------------------- + | + | By default DebugBar route served from the same domain that request served. + | To override default domain, specify it as a non-empty value. + */ + 'route_domain' => null, + + /* + |-------------------------------------------------------------------------- + | DebugBar theme + |-------------------------------------------------------------------------- + | + | Switches between light and dark theme. If set to auto it will respect system preferences + | Possible values: auto, light, dark + */ + 'theme' => env('DEBUGBAR_THEME', 'auto'), + + /* + |-------------------------------------------------------------------------- + | Backtrace stack limit + |-------------------------------------------------------------------------- + | + | By default, the DebugBar limits the number of frames returned by the 'debug_backtrace()' function. + | If you need larger stacktraces, you can increase this number. Setting it to 0 will result in no limit. + */ + 'debug_backtrace_limit' => 50, +]; diff --git a/config/demo1/general.php b/config/demo1/general.php new file mode 100644 index 0000000..654f721 --- /dev/null +++ b/config/demo1/general.php @@ -0,0 +1,127 @@ + array( + 'favicon' => 'media/logos/favicon.ico', + 'fonts' => array( + 'google' => array( + 'Poppins:300,400,500,600,700', + ), + ), + 'css' => array( + 'plugins/global/plugins.bundle.css', + 'plugins/global/plugins-custom.bundle.css', + 'css/style.bundle.css', + ), + 'js' => array( + 'plugins/global/plugins.bundle.js', + 'js/scripts.bundle.js', + 'js/custom/widgets.js', + ), + ), + + // Layout + 'layout' => array( + // Main + 'main' => array( + 'base' => 'default', // Set base layout: default|docs + 'type' => 'default', // Set layout type: default|blank|none + 'dark-mode-enabled' => true, // Enable optional dark mode mode + 'primary-color' => '#009EF7', // Primary color used in email templates + ), + + // Loader + 'loader' => array( + 'display' => true, + 'type' => 'default' // Set default|spinner-message|spinner-logo to hide or show page loader + ), + + // Header + 'header' => array( + 'display' => true, // Display header + 'width' => 'fluid', // Set header width(fixed|fluid) + 'left' => 'menu', // Set left part content(menu|page-title) + 'fixed' => array( + 'desktop' => true, // Set fixed header for desktop + 'tablet-and-mobile' => true // Set fixed header for tablet & mobile + ), + 'menu-icon' => 'font' // Menu icon type(svg|font) + ), + + // Toolbar + 'toolbar' => array( + 'display' => false, // Display toolbar + 'width' => 'fluid', // Set toolbar container width(fluid|fixed) + 'fixed' => array( + 'desktop' => true, // Set fixed header for desktop + 'tablet-and-mobile' => false // Set fixed header for tablet & mobile + ), + 'layout' => 'toolbar-1', // Set toolbar type + 'layouts' => array( + 'toolbar-1' => array( + 'height' => '55px', + 'height-tablet-and-mobile' => '55px', + ), + 'toolbar-2' => array( + 'height' => '75px', + 'height-tablet-and-mobile' => '65px', + ), + 'toolbar-3' => array( + 'height' => '55px', + 'height-tablet-and-mobile' => '55px', + ), + 'toolbar-4' => array( + 'height' => '65px', + 'height-tablet-and-mobile' => '65px', + ), + 'toolbar-5' => array( + 'height' => '75px', + 'height-tablet-and-mobile' => '65px', + ), + ), + ), + + // Page title + 'page-title' => array( + 'display' => true, // Display page title + 'breadcrumb' => true, // Display breadcrumb + 'description' => false, // Display description + 'layout' => 'default', // Set layout(default|select) + 'direction' => 'row', // Flex direction(column|row)) + 'responsive' => true, // Move page title to content on mobile mode + 'responsive-breakpoint' => 'lg', // Responsive breakpoint value(e.g: md, lg, or 300px) + 'responsive-target' => '#kt_toolbar_container' // Responsive target selector + ), + + // Aside + 'aside' => array( + 'display' => true, // Display aside + 'theme' => 'dark', // Set aside theme(dark|light) + 'menu' => 'main', // Set aside menu(main|documentation) + 'fixed' => true, // Enable aside fixed mode + 'minimized' => false, // Set aside minimized by default + 'minimize' => true, // Allow aside minimize toggle + 'hoverable' => true, // Allow aside hovering when minimized + 'menu-icon' => 'font' // Menu icon type(svg|font) + ), + + // Content + 'content' => array( + 'width' => 'fluid', // Set content width(fixed|fluid) + 'layout' => 'default' // Set content layout(default|documentation) + ), + + // Footer + 'footer' => array( + 'width' => 'fluid' // Set fixed|fluid to change width type + ), + + // Scrolltop + 'scrolltop' => array( + 'display' => true // Display scrolltop + ), + ), +); diff --git a/config/demo1/menu.php b/config/demo1/menu.php new file mode 100644 index 0000000..d9ebdc3 --- /dev/null +++ b/config/demo1/menu.php @@ -0,0 +1,5 @@ + array( + // Apply for all documentation pages + '*' => array( + // Layout + 'layout' => array( + // Aside + 'aside' => array( + 'display' => true, // Display aside + 'theme' => 'light', // Set aside theme(dark|light) + 'minimize' => false, // Allow aside minimize toggle + 'menu' => 'documentation' // Set aside menu type(main|documentation) + ), + + 'header' => array( + 'left' => 'page-title', + ), + + 'toolbar' => array( + 'display' => false, + ), + + 'page-title' => array( + 'layout' => 'documentation', + 'description' => false, + 'responsive' => true, + 'responsive-target' => '#kt_header_nav' // Responsive target selector + ), + ), + ), + ), +); diff --git a/config/filesystems.php b/config/filesystems.php new file mode 100644 index 0000000..e77462c --- /dev/null +++ b/config/filesystems.php @@ -0,0 +1,72 @@ + env('FILESYSTEM_DRIVER', 'local'), + + /* + |-------------------------------------------------------------------------- + | Filesystem Disks + |-------------------------------------------------------------------------- + | + | Here you may configure as many filesystem "disks" as you wish, and you + | may even configure multiple disks of the same driver. Defaults have + | been setup for each driver as an example of the required options. + | + | Supported Drivers: "local", "ftp", "sftp", "s3" + | + */ + + 'disks' => [ + + 'local' => [ + 'driver' => 'local', + 'root' => storage_path('app'), + ], + + 'public' => [ + 'driver' => 'local', + 'root' => storage_path('app/public'), + 'url' => env('APP_URL') . '/storage', + 'visibility' => 'public', + ], + + 's3' => [ + 'driver' => 's3', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION'), + 'bucket' => env('AWS_BUCKET'), + 'url' => env('AWS_URL'), + 'endpoint' => env('AWS_ENDPOINT'), + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Symbolic Links + |-------------------------------------------------------------------------- + | + | Here you may configure the symbolic links that will be created when the + | `storage:link` Artisan command is executed. The array keys should be + | the locations of the links and the values should be their targets. + | + */ + + 'links' => [ + public_path('storage') => storage_path('app/public'), + ], + +]; diff --git a/config/global/general.php b/config/global/general.php new file mode 100644 index 0000000..b514e8e --- /dev/null +++ b/config/global/general.php @@ -0,0 +1,66 @@ + array( + 'name' => 'Metronic', + 'description' => 'Metronic - Bootstrap 5 HTML, VueJS, React, Angular & Laravel Admin Dashboard Theme', + 'preview' => 'https://preview.keenthemes.com/metronic8/laravel', + 'home' => 'https://keenthemes.com/metronic', + 'purchase' => 'https://1.envato.market/EA4JP', + 'licenses' => array( + 'terms' => 'https://themeforest.net/licenses/standard', + 'types' => array( + array( + 'title' => 'Regular License', + 'description' => 'For single end product used by you or one client', + 'tooltip' => 'Use, by you or one client in a single end product which end users are not charged for', + 'price' => '39', + ), + array( + 'title' => 'Extended License', + 'description' => 'For single SaaS app with paying users', + 'tooltip' => 'Use, by you or one client, in a single end product which end users can be charged for.', + 'price' => '939', + ), + ), + ), + ), + + // Meta + 'meta' => array( + 'title' => 'MyVideoGameList', + 'description' => 'MyVideoGameList - Track your video games!', + 'keywords' => 'game, videogame, video game, gaming, gamer, organization, hobby, nintendo, xbox, playstation, nintendo switch, gameboy, computer, data, stats', // phpcs:ignore + 'canonical' => 'https://myvideogamelist.com', + ), + + // General + 'general' => array( + 'website' => 'https://myvideogamelist.com', + 'about' => '/about', + 'contact' => '/contact-us', + 'support' => '/support', + 'social-accounts' => array( + array( + 'name' => 'Twitter', + 'url' => 'https://twitter.com/myvideogamelist', + 'logo' => 'svg/social-logos/twitter.svg', + "class" => "h-20px", + ), + array( + 'name' => 'Instagram', + 'url' => 'https://www.instagram.com/myvideogamelist', + 'logo' => 'svg/social-logos/instagram.svg', + "class" => "h-20px", + ), + + array( + 'name' => 'Facebook', + 'url' => 'https://www.facebook.com/myvideogamelist', + 'logo' => 'svg/social-logos/facebook.svg', + "class" => "h-20px", + ), + ), + ), +); diff --git a/config/global/menu.php b/config/global/menu.php new file mode 100644 index 0000000..1fad487 --- /dev/null +++ b/config/global/menu.php @@ -0,0 +1,128 @@ + array( + // Dashboard + array( + 'title' => 'Home', + 'path' => '/', + 'icon' => array( + 'font' => '', + ), + ), + + // Recent Gamer Updates + array( + 'title' => 'Recent Gamer Updates', + 'path' => '/recent-gamer-updates', + 'icon' => array( + 'font' => '', + ), + ), + + // Newly Added Games + array( + 'title' => 'Newly Added Games', + 'path' => '/newly-added-games', + 'icon' => array( + 'font' => '', + ), + ), + + // Game Reviews + array( + 'title' => 'Game Reviews', + 'path' => '/game-reviews', + 'icon' => array( + 'font' => '', + ), + ), + + // Games by Platform + array( + 'classes' => array('content' => 'pt-8 pb-2'), + 'content' => 'Games by Platform', + ), + + // Xbox Series X/S + array( + 'title' => 'Xbox Series X/S', + 'path' => '/platform/Xbox_Series_X_S', + 'bullet' => '', + ), + + // PlayStation 5 + array( + 'title' => 'PlayStation 5', + 'path' => '/platform/PlayStation_5', + 'bullet' => '', + ), + + // Nintendo Switch + array( + 'title' => 'Nintendo Switch', + 'path' => '/platform/Nintendo_Switch', + 'bullet' => '', + ), + + // PC + array( + 'title' => 'PC', + 'path' => '/platform/PC', + 'bullet' => '', + ), + + // Mobile + array( + 'title' => 'Mobile', + 'path' => '/platform/Mobile', + 'bullet' => '', + ), + + // Nintendo 3DS + array( + 'title' => 'Nintendo 3DS', + 'path' => '/platform/Nintendo_3DS', + 'bullet' => '', + ), + + // More... + array( + 'title' => 'More...', + 'path' => '/platforms', + 'bullet' => '', + ), + + // Support + array( + 'classes' => array('content' => 'pt-8 pb-2'), + 'content' => 'Support', + ), + + // Overview + array( + 'title' => 'Overview', + 'path' => '/support', + 'bullet' => '', + ), + + // Knowledgebase + array( + 'title' => 'Knowledgebase', + 'path' => '/support/knowledgebase', + 'bullet' => '', + ), + + // Contact Us + array( + 'title' => 'Contact Us', + 'path' => '/contact-us', + 'bullet' => '', + ), + ), + + // Horizontal menu + 'horizontal' => array( + ), +); diff --git a/config/global/pages.php b/config/global/pages.php new file mode 100644 index 0000000..b44beb0 --- /dev/null +++ b/config/global/pages.php @@ -0,0 +1,119 @@ + array( + 'title' => 'Dashboard', + 'description' => '', + 'view' => 'index', + 'layout' => array( + 'page-title' => array( + 'description' => true, + 'breadcrumb' => false, + ), + ), + 'assets' => array( + 'custom' => array( + 'js' => array(), + ), + ), + ), + + 'login' => array( + 'title' => 'Login', + 'assets' => array( + 'custom' => array( + 'js' => array( + 'js/custom/authentication/sign-in/general.js', + ), + ), + ) + ), + 'register' => array( + 'title' => 'Register', + 'assets' => array( + 'custom' => array( + 'js' => array( + 'js/custom/authentication/sign-up/general.js', + ), + ), + ) + ), + 'forgot-password' => array( + 'title' => 'Forgot Password', + 'assets' => array( + 'custom' => array( + 'js' => array( + 'js/custom/authentication/password-reset/password-reset.js', + ), + ), + ) + ), + + 'log' => array( + 'audit' => array( + 'title' => 'Audit Log', + 'assets' => array( + 'custom' => array( + 'css' => array( + 'plugins/custom/datatables/datatables.bundle.css', + ), + 'js' => array( + 'plugins/custom/datatables/datatables.bundle.js', + ), + ), + ), + ), + 'system' => array( + 'title' => 'System Log', + 'assets' => array( + 'custom' => array( + 'css' => array( + 'plugins/custom/datatables/datatables.bundle.css', + ), + 'js' => array( + 'plugins/custom/datatables/datatables.bundle.js', + ), + ), + ), + ), + ), + + 'account' => array( + 'overview' => array( + 'title' => 'Account Overview', + 'view' => 'account/overview/overview', + 'assets' => array( + 'custom' => array( + 'js' => array( + 'js/custom/widgets.js', + ), + ), + ), + ), + + 'settings' => array( + 'title' => 'Account Settings', + 'assets' => array( + 'custom' => array( + 'js' => array( + 'js/custom/account/settings/profile-details.js', + 'js/custom/account/settings/signin-methods.js', + 'js/custom/modals/two-factor-authentication.js', + ), + ), + ), + ), + ), + + 'users' => array( + 'title' => 'User List', + + '*' => array( + 'title' => 'Show User', + + 'edit' => array( + 'title' => 'Edit User', + ), + ), + ), +); diff --git a/config/hashing.php b/config/hashing.php new file mode 100644 index 0000000..8425770 --- /dev/null +++ b/config/hashing.php @@ -0,0 +1,52 @@ + 'bcrypt', + + /* + |-------------------------------------------------------------------------- + | Bcrypt Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Bcrypt algorithm. This will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'bcrypt' => [ + 'rounds' => env('BCRYPT_ROUNDS', 10), + ], + + /* + |-------------------------------------------------------------------------- + | Argon Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Argon algorithm. These will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'argon' => [ + 'memory' => 1024, + 'threads' => 2, + 'time' => 2, + ], + +]; diff --git a/config/logging.php b/config/logging.php new file mode 100644 index 0000000..6aa77fe --- /dev/null +++ b/config/logging.php @@ -0,0 +1,104 @@ + env('LOG_CHANNEL', 'stack'), + + /* + |-------------------------------------------------------------------------- + | Log Channels + |-------------------------------------------------------------------------- + | + | Here you may configure the log channels for your application. Out of + | the box, Laravel uses the Monolog PHP logging library. This gives + | you a variety of powerful log handlers / formatters to utilize. + | + | Available Drivers: "single", "daily", "slack", "syslog", + | "errorlog", "monolog", + | "custom", "stack" + | + */ + + 'channels' => [ + 'stack' => [ + 'driver' => 'stack', + 'channels' => ['single'], + 'ignore_exceptions' => false, + ], + + 'single' => [ + 'driver' => 'single', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + ], + + 'daily' => [ + 'driver' => 'daily', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'days' => 14, + ], + + 'slack' => [ + 'driver' => 'slack', + 'url' => env('LOG_SLACK_WEBHOOK_URL'), + 'username' => 'Laravel Log', + 'emoji' => ':boom:', + 'level' => env('LOG_LEVEL', 'critical'), + ], + + 'papertrail' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => SyslogUdpHandler::class, + 'handler_with' => [ + 'host' => env('PAPERTRAIL_URL'), + 'port' => env('PAPERTRAIL_PORT'), + ], + ], + + 'stderr' => [ + 'driver' => 'monolog', + 'handler' => StreamHandler::class, + 'formatter' => env('LOG_STDERR_FORMATTER'), + 'with' => [ + 'stream' => 'php://stderr', + ], + ], + + 'syslog' => [ + 'driver' => 'syslog', + 'level' => env('LOG_LEVEL', 'debug'), + ], + + 'errorlog' => [ + 'driver' => 'errorlog', + 'level' => env('LOG_LEVEL', 'debug'), + ], + + 'null' => [ + 'driver' => 'monolog', + 'handler' => NullHandler::class, + ], + + 'emergency' => [ + 'path' => storage_path('logs/laravel.log'), + ], + ], + +]; diff --git a/config/mail.php b/config/mail.php new file mode 100644 index 0000000..54299aa --- /dev/null +++ b/config/mail.php @@ -0,0 +1,110 @@ + env('MAIL_MAILER', 'smtp'), + + /* + |-------------------------------------------------------------------------- + | Mailer Configurations + |-------------------------------------------------------------------------- + | + | Here you may configure all of the mailers used by your application plus + | their respective settings. Several examples have been configured for + | you and you are free to add your own as your application requires. + | + | Laravel supports a variety of mail "transport" drivers to be used while + | sending an e-mail. You will specify which one you are using for your + | mailers below. You are free to add additional mailers as required. + | + | Supported: "smtp", "sendmail", "mailgun", "ses", + | "postmark", "log", "array" + | + */ + + 'mailers' => [ + 'smtp' => [ + 'transport' => 'smtp', + 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), + 'port' => env('MAIL_PORT', 587), + 'encryption' => env('MAIL_ENCRYPTION', 'tls'), + 'username' => env('MAIL_USERNAME'), + 'password' => env('MAIL_PASSWORD'), + 'timeout' => null, + 'auth_mode' => null, + ], + + 'ses' => [ + 'transport' => 'ses', + ], + + 'mailgun' => [ + 'transport' => 'mailgun', + ], + + 'postmark' => [ + 'transport' => 'postmark', + ], + + 'sendmail' => [ + 'transport' => 'sendmail', + 'path' => '/usr/sbin/sendmail -bs', + ], + + 'log' => [ + 'transport' => 'log', + 'channel' => env('MAIL_LOG_CHANNEL'), + ], + + 'array' => [ + 'transport' => 'array', + ], + ], + + /* + |-------------------------------------------------------------------------- + | Global "From" Address + |-------------------------------------------------------------------------- + | + | You may wish for all e-mails sent by your application to be sent from + | the same address. Here, you may specify a name and address that is + | used globally for all e-mails that are sent by your application. + | + */ + + 'from' => [ + 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), + 'name' => env('MAIL_FROM_NAME', 'Example'), + ], + + /* + |-------------------------------------------------------------------------- + | Markdown Mail Settings + |-------------------------------------------------------------------------- + | + | If you are using Markdown based email rendering, you may configure your + | theme and component paths here, allowing you to customize the design + | of the emails. Or, you may simply stick with the Laravel defaults! + | + */ + + 'markdown' => [ + 'theme' => 'default', + + 'paths' => [ + resource_path('views/vendor/mail'), + ], + ], + +]; diff --git a/config/paginateroute.php b/config/paginateroute.php new file mode 100644 index 0000000..f4f81a8 --- /dev/null +++ b/config/paginateroute.php @@ -0,0 +1,20 @@ + 'normal', + +]; diff --git a/config/queue.php b/config/queue.php new file mode 100644 index 0000000..1222296 --- /dev/null +++ b/config/queue.php @@ -0,0 +1,89 @@ + env('QUEUE_CONNECTION', 'sync'), + + /* + |-------------------------------------------------------------------------- + | Queue Connections + |-------------------------------------------------------------------------- + | + | Here you may configure the connection information for each server that + | is used by your application. A default configuration has been added + | for each back-end shipped with Laravel. You are free to add more. + | + | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" + | + */ + + 'connections' => [ + + 'sync' => [ + 'driver' => 'sync', + ], + + 'database' => [ + 'driver' => 'database', + 'table' => 'jobs', + 'queue' => 'default', + 'retry_after' => 90, + ], + + 'beanstalkd' => [ + 'driver' => 'beanstalkd', + 'host' => 'localhost', + 'queue' => 'default', + 'retry_after' => 90, + 'block_for' => 0, + ], + + 'sqs' => [ + 'driver' => 'sqs', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), + 'queue' => env('SQS_QUEUE', 'your-queue-name'), + 'suffix' => env('SQS_SUFFIX'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'default', + 'queue' => env('REDIS_QUEUE', 'default'), + 'retry_after' => 90, + 'block_for' => null, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Failed Queue Jobs + |-------------------------------------------------------------------------- + | + | These options configure the behavior of failed queue job logging so you + | can control which database and table are used to store the jobs that + | have failed. You may change them to any database / table you wish. + | + */ + + 'failed' => [ + 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), + 'database' => env('DB_CONNECTION', 'mysql'), + 'table' => 'failed_jobs', + ], + +]; diff --git a/config/sentry.php b/config/sentry.php new file mode 100644 index 0000000..b0e4b70 --- /dev/null +++ b/config/sentry.php @@ -0,0 +1,57 @@ + env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')), + + // capture release as git sha + // 'release' => trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')), + + // When left empty or `null` the Laravel environment will be used + 'environment' => env('SENTRY_ENVIRONMENT'), + + 'breadcrumbs' => [ + // Capture Laravel logs in breadcrumbs + 'logs' => true, + + // Capture SQL queries in breadcrumbs + 'sql_queries' => true, + + // Capture bindings on SQL queries logged in breadcrumbs + 'sql_bindings' => true, + + // Capture queue job information in breadcrumbs + 'queue_info' => true, + + // Capture command information in breadcrumbs + 'command_info' => true, + ], + + 'tracing' => [ + // Trace queue jobs as their own transactions + 'queue_job_transactions' => env('SENTRY_TRACE_QUEUE_ENABLED', false), + + // Capture queue jobs as spans when executed on the sync driver + 'queue_jobs' => true, + + // Capture SQL queries as spans + 'sql_queries' => true, + + // Try to find out where the SQL query originated from and add it to the query spans + 'sql_origin' => true, + + // Capture views as spans + 'views' => true, + + // Indicates if the tracing integrations supplied by Sentry should be loaded + 'default_integrations' => true, + ], + + // @see: https://docs.sentry.io/platforms/php/configuration/options/#send-default-pii + 'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', false), + + 'traces_sample_rate' => (float)(env('SENTRY_TRACES_SAMPLE_RATE', 0.0)), + + 'controllers_base_namespace' => env('SENTRY_CONTROLLERS_BASE_NAMESPACE', 'App\\Http\\Controllers'), + +]; diff --git a/config/services.php b/config/services.php new file mode 100644 index 0000000..043f7df --- /dev/null +++ b/config/services.php @@ -0,0 +1,44 @@ + [ + 'domain' => env('MAILGUN_DOMAIN'), + 'secret' => env('MAILGUN_SECRET'), + 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), + ], + + 'postmark' => [ + 'token' => env('POSTMARK_TOKEN'), + ], + + 'ses' => [ + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + ], + + 'google' => [ + 'client_id' => env('GOOGLE_CLIENT_ID'), + 'client_secret' => env('GOOGLE_CLIENT_SECRET'), + 'redirect' => '/auth/redirect/google', + ], + + 'facebook' => [ + 'client_id' => env('FACEBOOK_CLIENT_ID'), + 'client_secret' => env('FACEBOOK_CLIENT_SECRET'), + 'redirect' => '/auth/redirect/facebook', + ], +]; diff --git a/config/session.php b/config/session.php new file mode 100644 index 0000000..c0e798b --- /dev/null +++ b/config/session.php @@ -0,0 +1,201 @@ + env('SESSION_DRIVER', 'file'), + + /* + |-------------------------------------------------------------------------- + | Session Lifetime + |-------------------------------------------------------------------------- + | + | Here you may specify the number of minutes that you wish the session + | to be allowed to remain idle before it expires. If you want them + | to immediately expire on the browser closing, set that option. + | + */ + + 'lifetime' => env('SESSION_LIFETIME', 120), + + 'expire_on_close' => false, + + /* + |-------------------------------------------------------------------------- + | Session Encryption + |-------------------------------------------------------------------------- + | + | This option allows you to easily specify that all of your session data + | should be encrypted before it is stored. All encryption will be run + | automatically by Laravel and you can use the Session like normal. + | + */ + + 'encrypt' => false, + + /* + |-------------------------------------------------------------------------- + | Session File Location + |-------------------------------------------------------------------------- + | + | When using the native session driver, we need a location where session + | files may be stored. A default has been set for you but a different + | location may be specified. This is only needed for file sessions. + | + */ + + 'files' => storage_path('framework/sessions'), + + /* + |-------------------------------------------------------------------------- + | Session Database Connection + |-------------------------------------------------------------------------- + | + | When using the "database" or "redis" session drivers, you may specify a + | connection that should be used to manage these sessions. This should + | correspond to a connection in your database configuration options. + | + */ + + 'connection' => env('SESSION_CONNECTION', null), + + /* + |-------------------------------------------------------------------------- + | Session Database Table + |-------------------------------------------------------------------------- + | + | When using the "database" session driver, you may specify the table we + | should use to manage the sessions. Of course, a sensible default is + | provided for you; however, you are free to change this as needed. + | + */ + + 'table' => 'sessions', + + /* + |-------------------------------------------------------------------------- + | Session Cache Store + |-------------------------------------------------------------------------- + | + | While using one of the framework's cache driven session backends you may + | list a cache store that should be used for these sessions. This value + | must match with one of the application's configured cache "stores". + | + | Affects: "apc", "dynamodb", "memcached", "redis" + | + */ + + 'store' => env('SESSION_STORE', null), + + /* + |-------------------------------------------------------------------------- + | Session Sweeping Lottery + |-------------------------------------------------------------------------- + | + | Some session drivers must manually sweep their storage location to get + | rid of old sessions from storage. Here are the chances that it will + | happen on a given request. By default, the odds are 2 out of 100. + | + */ + + 'lottery' => [2, 100], + + /* + |-------------------------------------------------------------------------- + | Session Cookie Name + |-------------------------------------------------------------------------- + | + | Here you may change the name of the cookie used to identify a session + | instance by ID. The name specified here will get used every time a + | new session cookie is created by the framework for every driver. + | + */ + + 'cookie' => env( + 'SESSION_COOKIE', + Str::slug(env('APP_NAME', 'laravel'), '_') . '_session' + ), + + /* + |-------------------------------------------------------------------------- + | Session Cookie Path + |-------------------------------------------------------------------------- + | + | The session cookie path determines the path for which the cookie will + | be regarded as available. Typically, this will be the root path of + | your application but you are free to change this when necessary. + | + */ + + 'path' => '/', + + /* + |-------------------------------------------------------------------------- + | Session Cookie Domain + |-------------------------------------------------------------------------- + | + | Here you may change the domain of the cookie used to identify a session + | in your application. This will determine which domains the cookie is + | available to in your application. A sensible default has been set. + | + */ + + 'domain' => env('SESSION_DOMAIN', null), + + /* + |-------------------------------------------------------------------------- + | HTTPS Only Cookies + |-------------------------------------------------------------------------- + | + | By setting this option to true, session cookies will only be sent back + | to the server if the browser has a HTTPS connection. This will keep + | the cookie from being sent to you if it can not be done securely. + | + */ + + 'secure' => env('SESSION_SECURE_COOKIE'), + + /* + |-------------------------------------------------------------------------- + | HTTP Access Only + |-------------------------------------------------------------------------- + | + | Setting this value to true will prevent JavaScript from accessing the + | value of the cookie and the cookie will only be accessible through + | the HTTP protocol. You are free to modify this option if needed. + | + */ + + 'http_only' => true, + + /* + |-------------------------------------------------------------------------- + | Same-Site Cookies + |-------------------------------------------------------------------------- + | + | This option determines how your cookies behave when cross-site requests + | take place, and can be used to mitigate CSRF attacks. By default, we + | will set this value to "lax" since this is a secure default value. + | + | Supported: "lax", "strict", "none", null + | + */ + + 'same_site' => 'lax', + +]; diff --git a/config/settings.php b/config/settings.php new file mode 100644 index 0000000..5f0b06b --- /dev/null +++ b/config/settings.php @@ -0,0 +1,73 @@ + 'database', + + /* + |-------------------------------------------------------------------------- + | JSON Store + |-------------------------------------------------------------------------- + | + | If the store is set to "json", settings are stored in the defined + | file path in JSON format. Use full path to file. + | + */ + 'path' => storage_path() . '/settings.json', + + /* + |-------------------------------------------------------------------------- + | Database Store + |-------------------------------------------------------------------------- + | + | The settings are stored in the defined file path in JSON format. + | Use full path to JSON file. + | + */ + // If set to null, the default connection will be used. + 'connection' => null, + // Name of the table used. + 'table' => 'settings', + // If you want to use custom column names in database store you could + // set them in this configuration + 'keyColumn' => 'key', + 'valueColumn' => 'value', + + /* + |-------------------------------------------------------------------------- + | Cache settings + |-------------------------------------------------------------------------- + | + | If you want all setting calls to go through Laravel's cache system. + | + */ + 'enableCache' => false, + // Whether to reset the cache when changing a setting. + 'forgetCacheByWrite' => true, + // TTL in seconds. + 'cacheTtl' => 15, + + /* + |-------------------------------------------------------------------------- + | Default Settings + |-------------------------------------------------------------------------- + | + | Define all default settings that will be used before any settings are set, + | this avoids all settings being set to false to begin with and avoids + | hardcoding the same defaults in all 'Settings::get()' calls + | + */ + 'defaults' => [ + 'demo' => 'demo1', + ] +]; diff --git a/config/view.php b/config/view.php new file mode 100644 index 0000000..22b8a18 --- /dev/null +++ b/config/view.php @@ -0,0 +1,36 @@ + [ + resource_path('views'), + ], + + /* + |-------------------------------------------------------------------------- + | Compiled View Path + |-------------------------------------------------------------------------- + | + | This option determines where all the compiled Blade templates will be + | stored for your application. Typically, this is within the storage + | directory. However, as usual, you are free to change this value. + | + */ + + 'compiled' => env( + 'VIEW_COMPILED_PATH', + realpath(storage_path('framework/views')) + ), + +]; diff --git a/database/.gitignore b/database/.gitignore new file mode 100644 index 0000000..97fc976 --- /dev/null +++ b/database/.gitignore @@ -0,0 +1,2 @@ +*.sqlite +*.sqlite-journal diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php new file mode 100644 index 0000000..a8ba245 --- /dev/null +++ b/database/factories/UserFactory.php @@ -0,0 +1,34 @@ + $this->faker->firstName, + 'last_name' => $this->faker->lastName, + 'email' => $this->faker->unique()->safeEmail, + 'email_verified_at' => now(), + 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password + 'remember_token' => Str::random(10), + ]; + } +} diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php new file mode 100644 index 0000000..5938bf9 --- /dev/null +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -0,0 +1,50 @@ +id(); + $table->string('username')->unique()->index(); + $table->string('password'); + $table->string('email')->unique()->index(); + $table->integer('role_id')->default(6)->index(); + $table->string('avatar')->default('default.png'); + $table->string('coverpic')->default('default.png'); + $table->text('bio')->nullable()->default(null); + $table->string('status')->nullable()->default(null); + $table->string('api_token')->nullable()->default(null); + $table->string('stripe_id')->nullable()->default(null); + $table->integer('profile_views')->default(0); + $table->integer('blog_views')->default(0); + $table->enum('banned', ['Y', 'N'])->default('N'); + $table->enum('user_deleted', ['Y', 'N'])->default('N'); + $table->timestamp('email_verified_at')->nullable(); + $table->rememberToken(); + $table->ipAddress(); + $table->timestamps(); + $table->timestamp('last_activity')->nullable()->default(null); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('users'); + } +}; diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php new file mode 100644 index 0000000..fcacb80 --- /dev/null +++ b/database/migrations/2014_10_12_100000_create_password_resets_table.php @@ -0,0 +1,32 @@ +string('email')->index(); + $table->string('token'); + $table->timestamp('created_at')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('password_resets'); + } +}; diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php new file mode 100644 index 0000000..1719198 --- /dev/null +++ b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php @@ -0,0 +1,36 @@ +id(); + $table->string('uuid')->unique(); + $table->text('connection'); + $table->text('queue'); + $table->longText('payload'); + $table->longText('exception'); + $table->timestamp('failed_at')->useCurrent(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('failed_jobs'); + } +}; diff --git a/database/migrations/2022_04_20_215729_create_user_gamer_tags_table.php b/database/migrations/2022_04_20_215729_create_user_gamer_tags_table.php new file mode 100644 index 0000000..356a591 --- /dev/null +++ b/database/migrations/2022_04_20_215729_create_user_gamer_tags_table.php @@ -0,0 +1,42 @@ +id(); + $table->integer('user_id')->index()->unique()->unsigned(); + $table->string('xbox_live')->nullable()->default(null); + $table->string('wii')->nullable()->default(null); + $table->string('wii_u')->nullable()->default(null); + $table->string('3ds')->nullable()->default(null); + $table->string('nintendo_id')->nullable()->default(null); + $table->string('nintendo_switch_id')->nullable()->default(null); + $table->string('psn')->nullable()->default(null); + $table->string('steam')->nullable()->default(null); + $table->string('battle_net')->nullable()->default(null); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('user_gamer_tags'); + } +}; diff --git a/database/migrations/2022_04_20_220228_create_user_infos_table.php b/database/migrations/2022_04_20_220228_create_user_infos_table.php new file mode 100644 index 0000000..7696efc --- /dev/null +++ b/database/migrations/2022_04_20_220228_create_user_infos_table.php @@ -0,0 +1,42 @@ +id(); + $table->integer('user_id')->unique()->index()->unsigned(); + $table->string('location')->nullable()->default(null); + $table->string('website')->nullable()->default(null); + $table->string('facebook')->nullable()->default(null); + $table->string('twitter')->nullable()->default(null); + $table->string('instagram')->nullable()->default(null); + $table->string('myanimelist')->nullable()->default(null); + $table->string('true_achievements')->nullable()->default(null); + $table->string('true_trophies')->nullable()->default(null); + $table->string('twitch')->nullable()->default(null); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('user_infos'); + } +}; diff --git a/database/migrations/2022_04_22_161837_create_user_notification_settings_table.php b/database/migrations/2022_04_22_161837_create_user_notification_settings_table.php new file mode 100644 index 0000000..b5cb6d2 --- /dev/null +++ b/database/migrations/2022_04_22_161837_create_user_notification_settings_table.php @@ -0,0 +1,39 @@ +id(); + $table->integer('user_id')->unique()->index()->unsigned(); + $table->enum('comment_on_your_profile', ['Y', 'N'])->default('N'); + $table->enum('previously_left_comment_on_game', ['Y', 'N'])->default('N'); + $table->enum('comment_for_game_on_list', ['Y', 'N'])->default('N'); + $table->enum('comment_on_your_review', ['Y', 'N'])->default('N'); + $table->enum('previously_left_comment_on_review', ['Y', 'N'])->default('N'); + $table->enum('friend_added_you', ['Y', 'N'])->default('N'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('user_notification_settings'); + } +}; diff --git a/database/migrations/2022_04_22_165321_create_roles_table.php b/database/migrations/2022_04_22_165321_create_roles_table.php new file mode 100644 index 0000000..d135d51 --- /dev/null +++ b/database/migrations/2022_04_22_165321_create_roles_table.php @@ -0,0 +1,34 @@ +id(); + $table->string('name'); + $table->string('slug'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('roles'); + } +}; diff --git a/database/migrations/2022_04_25_160814_create_games_table.php b/database/migrations/2022_04_25_160814_create_games_table.php new file mode 100644 index 0000000..af44b91 --- /dev/null +++ b/database/migrations/2022_04_25_160814_create_games_table.php @@ -0,0 +1,53 @@ +id(); + $table->string('name'); + $table->string('alt_titles')->nullable()->default(null); + $table->integer('platform_id')->index()->unsigned(); + $table->text('description')->nullable()->default(null); + $table->string('source')->nullable()->default(null); + $table->string('boxart')->nullable()->default(null); + $table->string('genre_ids')->nullable()->default(null); + $table->string('developers')->nullable()->default(null); + $table->string('publishers')->nullable()->default(null); + $table->string('composers')->nullable()->default(null); + $table->string('website')->nullable()->default(null); + $table->timestamp('na_release_date')->nullable()->default(null); + $table->timestamp('jp_release_date')->nullable()->default(null); + $table->timestamp('eu_release_date')->nullable()->default(null); + $table->timestamp('aus_release_date')->nullable()->default(null); + $table->enum('esrb_rating', ['Everyone', 'Everyone 10+', 'Teen', 'Mature 17+', 'Adults Only 18+', 'Rating Pending', 'Rating Pending - Likely Mature 17+'])->nullable()->default(null); // phpcs:ignore + $table->enum('pegi_rating', ['PEGI 3', 'PEGI 7', 'PEGI 12', 'PEGI 16', 'PEGI 18'])->nullable()->default(null); // phpcs:ignore + $table->enum('cero_rating', ['CERO A', 'CERO B', 'CERO C', 'CERO D', 'CERO Z'])->nullable()->default(null); // phpcs:ignore + $table->enum('acb_rating', ['E', 'G', 'PG', 'M', 'MA 15+', 'R 18+', 'X 18+'])->nullable()->default(null); + $table->integer('requested_by')->index()->unsigned(); + $table->integer('added_by')->index()->unsigned(); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('games'); + } +}; diff --git a/database/migrations/2022_04_25_160900_create_game_lists_table.php b/database/migrations/2022_04_25_160900_create_game_lists_table.php new file mode 100644 index 0000000..6366e44 --- /dev/null +++ b/database/migrations/2022_04_25_160900_create_game_lists_table.php @@ -0,0 +1,46 @@ +id(); + $table->integer('user_id')->index()->unsigned(); + $table->integer('game_id')->index()->unsigned(); + $table->enum('ownership', [1, 2, 3, 4])->nullable()->default(null); + $table->enum('status', [1, 2, 3, 4, 5, 6])->index()->default(1); + $table->enum('rating', [1, 2, 3, 4, 5, 6, 7, 8, 9, 10])->index()->nullable()->default(null); + $table->enum('priority', ['Low', 'Medium', 'High'])->nullable()->default(null); + $table->enum('difficulty', ['Easy', 'Medium', 'Hard', 'Extremely Hard'])->nullable()->default(null); + $table->enum('hours_played', [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13])->nullable()->default(null); + $table->enum('replay_value', [1, 2, 3, 4, 5])->nullable()->default(null); + $table->timestamp('start_date')->nullable()->default(null); + $table->timestamp('finish_date')->nullable()->default(null); + $table->enum('is_replaying', ['Y', 'N'])->nullable()->default('N'); + $table->text('notes')->nullable()->default(null); + $table->ipAddress('ip_address')->nullable()->default(null); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('game_lists'); + } +}; diff --git a/database/migrations/2022_04_25_165235_create_console_lists_table.php b/database/migrations/2022_04_25_165235_create_console_lists_table.php new file mode 100644 index 0000000..8814b75 --- /dev/null +++ b/database/migrations/2022_04_25_165235_create_console_lists_table.php @@ -0,0 +1,34 @@ +id(); + $table->integer('user_id')->index()->unsigned(); + $table->string('consoles')->nullable()->default(null); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('consoles'); + } +}; diff --git a/database/migrations/2022_04_25_165247_create_platforms_table.php b/database/migrations/2022_04_25_165247_create_platforms_table.php new file mode 100644 index 0000000..b8d9052 --- /dev/null +++ b/database/migrations/2022_04_25_165247_create_platforms_table.php @@ -0,0 +1,33 @@ +id(); + $table->string('name')->unique(); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('platforms'); + } +}; diff --git a/database/migrations/2022_04_25_165730_create_profile_comments_table.php b/database/migrations/2022_04_25_165730_create_profile_comments_table.php new file mode 100644 index 0000000..bda031f --- /dev/null +++ b/database/migrations/2022_04_25_165730_create_profile_comments_table.php @@ -0,0 +1,36 @@ +id(); + $table->integer('recipient_id')->index()->unsigned(); + $table->integer('sender_id')->index()->unsigned(); + $table->text('comment'); + $table->ipAddress('ip_address')->nullable()->default(null); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('profile_comments'); + } +}; diff --git a/database/migrations/2022_04_25_165743_create_game_comments_table.php b/database/migrations/2022_04_25_165743_create_game_comments_table.php new file mode 100644 index 0000000..a858411 --- /dev/null +++ b/database/migrations/2022_04_25_165743_create_game_comments_table.php @@ -0,0 +1,36 @@ +id(); + $table->integer('game_id')->index()->unsigned(); + $table->integer('user_id')->index()->unsigned(); + $table->text('comment'); + $table->ipAddress('ip_address')->nullable()->default(null); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('game_comments'); + } +}; diff --git a/database/migrations/2022_04_25_170219_create_genres_table.php b/database/migrations/2022_04_25_170219_create_genres_table.php new file mode 100644 index 0000000..6e1e315 --- /dev/null +++ b/database/migrations/2022_04_25_170219_create_genres_table.php @@ -0,0 +1,34 @@ +id(); + $table->string('name')->unique(); + $table->ipAddress('ip_address')->nullable()->default(null); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('genres'); + } +}; diff --git a/database/migrations/2022_05_03_184358_add_list_views_column_to_users_table.php b/database/migrations/2022_05_03_184358_add_list_views_column_to_users_table.php new file mode 100644 index 0000000..9a9a9e6 --- /dev/null +++ b/database/migrations/2022_05_03_184358_add_list_views_column_to_users_table.php @@ -0,0 +1,32 @@ +integer('list_views')->after('profile_views')->default(0); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('list_views'); + }); + } +}; diff --git a/database/migrations/2022_05_04_180713_add_name_and_platform_id_columns_to_game_lists_table.php b/database/migrations/2022_05_04_180713_add_name_and_platform_id_columns_to_game_lists_table.php new file mode 100644 index 0000000..235e2e6 --- /dev/null +++ b/database/migrations/2022_05_04_180713_add_name_and_platform_id_columns_to_game_lists_table.php @@ -0,0 +1,34 @@ +string('name')->after('game_id'); + $table->integer('platform_id')->after('name')->index(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('game_lists', function (Blueprint $table) { + $table->dropColumn('name'); + $table->dropColumn('platform_id'); + }); + } +}; diff --git a/database/migrations/2022_05_07_150203_create_activity_log_table.php b/database/migrations/2022_05_07_150203_create_activity_log_table.php new file mode 100644 index 0000000..a9c979c --- /dev/null +++ b/database/migrations/2022_05_07_150203_create_activity_log_table.php @@ -0,0 +1,27 @@ +create(config('activitylog.table_name'), function (Blueprint $table) { // phpcs:ignore + $table->bigIncrements('id'); + $table->string('log_name')->nullable(); + $table->text('description'); + $table->nullableMorphs('subject', 'subject'); + $table->nullableMorphs('causer', 'causer'); + $table->json('properties')->nullable(); + $table->timestamps(); + $table->index('log_name'); + }); + } + + public function down() + { + Schema::connection(config('activitylog.database_connection'))->dropIfExists(config('activitylog.table_name')); + } +}; diff --git a/database/migrations/2022_05_07_150204_add_event_column_to_activity_log_table.php b/database/migrations/2022_05_07_150204_add_event_column_to_activity_log_table.php new file mode 100644 index 0000000..16b7964 --- /dev/null +++ b/database/migrations/2022_05_07_150204_add_event_column_to_activity_log_table.php @@ -0,0 +1,22 @@ +table(config('activitylog.table_name'), function (Blueprint $table) { + $table->string('event')->nullable()->after('subject_type'); + }); + } + + public function down() + { + Schema::connection(config('activitylog.database_connection'))->table(config('activitylog.table_name'), function (Blueprint $table) { + $table->dropColumn('event'); + }); + } +}; diff --git a/database/migrations/2022_05_07_150205_add_batch_uuid_column_to_activity_log_table.php b/database/migrations/2022_05_07_150205_add_batch_uuid_column_to_activity_log_table.php new file mode 100644 index 0000000..85d4025 --- /dev/null +++ b/database/migrations/2022_05_07_150205_add_batch_uuid_column_to_activity_log_table.php @@ -0,0 +1,22 @@ +table(config('activitylog.table_name'), function (Blueprint $table) { + $table->uuid('batch_uuid')->nullable()->after('properties'); + }); + } + + public function down() + { + Schema::connection(config('activitylog.database_connection'))->table(config('activitylog.table_name'), function (Blueprint $table) { + $table->dropColumn('batch_uuid'); + }); + } +}; diff --git a/database/migrations/2022_06_21_193217_create_user_site_settings_table.php b/database/migrations/2022_06_21_193217_create_user_site_settings_table.php new file mode 100644 index 0000000..2040c55 --- /dev/null +++ b/database/migrations/2022_06_21_193217_create_user_site_settings_table.php @@ -0,0 +1,35 @@ +id(); + $table->integer('user_id')->index()->unsigned(); + $table->string('setting_name'); + $table->string('setting_value'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('user_site_settings'); + } +}; diff --git a/database/migrations/2023_01_04_183036_create_wishlists_table.php b/database/migrations/2023_01_04_183036_create_wishlists_table.php new file mode 100644 index 0000000..f1b3174 --- /dev/null +++ b/database/migrations/2023_01_04_183036_create_wishlists_table.php @@ -0,0 +1,36 @@ +id(); + $table->integer('user_id')->unsigned()->index(); + $table->integer('game_id')->unsigned()->index(); + $table->integer('sort_order')->unsigned()->index(); + $table->ipAddress('ip_address')->nullable()->default(null); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('wishlists'); + } +}; diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php new file mode 100644 index 0000000..3202211 --- /dev/null +++ b/database/seeders/DatabaseSeeder.php @@ -0,0 +1,22 @@ +call([ + UsersSeeder::class, + // PermissionsSeeder::class, + // RolesSeeder::class, + ]); + } +} diff --git a/database/seeders/PermissionsSeeder.php b/database/seeders/PermissionsSeeder.php new file mode 100644 index 0000000..eb71a1f --- /dev/null +++ b/database/seeders/PermissionsSeeder.php @@ -0,0 +1,55 @@ +forgetCachedPermissions(); + + $data = $this->data(); + + foreach ($data as $value) { + Permission::create([ + 'name' => $value['name'], + ]); + } + } + + public function data() + { + $data = []; + // list of model permission + $model = ['content', 'user', 'role', 'permission']; + + foreach ($model as $value) { + foreach ($this->crudActions($value) as $action) { + $data[] = ['name' => $action]; + } + } + + return $data; + } + + public function crudActions($name) + { + $actions = []; + // list of permission actions + $crud = ['create', 'read', 'update', 'delete']; + + foreach ($crud as $value) { + $actions[] = $value . ' ' . $name; + } + + return $actions; + } +} diff --git a/database/seeders/RolesSeeder.php b/database/seeders/RolesSeeder.php new file mode 100644 index 0000000..b9f9e56 --- /dev/null +++ b/database/seeders/RolesSeeder.php @@ -0,0 +1,33 @@ +data(); + + foreach ($data as $value) { + Role::create([ + 'name' => $value['name'], + ]); + } + } + + public function data() + { + return [ + ['name' => 'admin'], + ['name' => 'editor'], + ]; + } +} diff --git a/database/seeders/UsersSeeder.php b/database/seeders/UsersSeeder.php new file mode 100644 index 0000000..e0bc569 --- /dev/null +++ b/database/seeders/UsersSeeder.php @@ -0,0 +1,62 @@ + $faker->firstName, + 'last_name' => $faker->lastName, + 'email' => 'demo@demo.com', + 'password' => Hash::make('demo'), + 'email_verified_at' => now(), + ]); + + $this->addDummyInfo($faker, $demoUser); + + $demoUser2 = User::create([ + 'first_name' => $faker->firstName, + 'last_name' => $faker->lastName, + 'email' => 'admin@demo.com', + 'password' => Hash::make('demo'), + 'email_verified_at' => now(), + ]); + + $this->addDummyInfo($faker, $demoUser2); + + User::factory(100)->create()->each(function (User $user) use ($faker) { + $this->addDummyInfo($faker, $user); + }); + } + + private function addDummyInfo(Generator $faker, User $user) + { + $dummyInfo = [ + 'company' => $faker->company, + 'phone' => $faker->phoneNumber, + 'website' => $faker->url, + 'language' => $faker->languageCode, + 'country' => $faker->countryCode, + ]; + + $info = new UserInfo(); + foreach ($dummyInfo as $key => $value) { + $info->$key = $value; + } + $info->user()->associate($user); + $info->save(); + } +} diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..5ba8e62 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,74 @@ +# For more information: https://laravel.com/docs/sail +version: '3' +services: + laravel.test: + build: + context: ./vendor/laravel/sail/runtimes/8.0 + dockerfile: Dockerfile + args: + WWWGROUP: '${WWWGROUP}' + image: sail-8.0/app + ports: + - '${APP_PORT:-80}:80' + environment: + WWWUSER: '${WWWUSER}' + LARAVEL_SAIL: 1 + volumes: + - '.:/var/www/html' + networks: + - sail + depends_on: + - mysql + - redis + # - selenium + # selenium: + # image: 'selenium/standalone-chrome' + # volumes: + # - '/dev/shm:/dev/shm' + # networks: + # - sail + # depends_on: + # - laravel.test + mysql: + image: 'mysql:8.0' + ports: + - '${FORWARD_DB_PORT:-3306}:3306' + environment: + MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}' + MYSQL_DATABASE: '${DB_DATABASE}' + MYSQL_USER: '${DB_USERNAME}' + MYSQL_PASSWORD: '${DB_PASSWORD}' + MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' + volumes: + - 'sailmysql:/var/lib/mysql' + networks: + - sail + redis: + image: 'redis:alpine' + ports: + - '${FORWARD_REDIS_PORT:-6379}:6379' + volumes: + - 'sailredis:/data' + networks: + - sail + # memcached: + # image: 'memcached:alpine' + # ports: + # - '11211:11211' + # networks: + # - sail + mailhog: + image: 'mailhog/mailhog:latest' + ports: + - 1025:1025 + - 8025:8025 + networks: + - sail +networks: + sail: + driver: bridge +volumes: + sailmysql: + driver: local + sailredis: + driver: local diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..2ca2ac9 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,29114 @@ +{ + "name": "myvideogamelist.com", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "dependencies": { + "@ckeditor/ckeditor5-alignment": "^31.1.0", + "@ckeditor/ckeditor5-build-balloon": "^23.1.0", + "@ckeditor/ckeditor5-build-balloon-block": "^23.1.0", + "@ckeditor/ckeditor5-build-classic": "^23.1.0", + "@ckeditor/ckeditor5-build-decoupled-document": "^23.1.0", + "@ckeditor/ckeditor5-build-inline": "^23.1.0", + "@fortawesome/fontawesome-free": "^5.15.3", + "@popperjs/core": "~2.10.1", + "@shopify/draggable": "^1.0.0-beta.12", + "@yaireo/tagify": "^4.9.2", + "acorn": "^8.0.4", + "apexcharts": "^3.30.0", + "autosize": "^5.0.1", + "axios": "^0.21.1", + "bootstrap": "5.1.3", + "bootstrap-cookie-alert": "^1.2.1", + "bootstrap-daterangepicker": "^3.1.0", + "bootstrap-icons": "^1.5.0", + "bootstrap-maxlength": "^1.10.1", + "bootstrap-multiselectsplitter": "^1.0.4", + "chalk": "^4.1.0", + "chart.js": "^3.6.0", + "clipboard": "^2.0.8", + "countup.js": "^2.0.7", + "cropperjs": "^1.5.12", + "datatables.net": "^1.10.25", + "datatables.net-bs5": "^1.10.25", + "datatables.net-buttons": "^1.7.1", + "datatables.net-buttons-bs5": "^1.7.1", + "datatables.net-colreorder": "^1.5.4", + "datatables.net-colreorder-bs5": "^1.5.4", + "datatables.net-datetime": "^1.1.0", + "datatables.net-fixedcolumns": "^3.3.3", + "datatables.net-fixedcolumns-bs5": "^3.3.3", + "datatables.net-fixedheader": "^3.1.9", + "datatables.net-fixedheader-bs5": "^3.1.9", + "datatables.net-plugins": "^1.10.24", + "datatables.net-responsive": "^2.2.9", + "datatables.net-responsive-bs5": "^2.2.9", + "datatables.net-rowgroup": "^1.1.3", + "datatables.net-rowgroup-bs5": "^1.1.3", + "datatables.net-rowreorder": "^1.2.8", + "datatables.net-rowreorder-bs5": "^1.2.8", + "datatables.net-scroller": "^2.0.4", + "datatables.net-scroller-bs5": "^2.0.4", + "datatables.net-select": "^1.3.3", + "datatables.net-select-bs5": "^1.3.3", + "del": "^6.0.0", + "dropzone": "^5.9.2", + "es6-promise": "^4.2.8", + "es6-promise-polyfill": "^1.2.0", + "es6-shim": "^0.35.5", + "esri-leaflet": "^3.0.2", + "esri-leaflet-geocoder": "^3.0.0", + "flatpickr": "^4.6.9", + "flot": "^4.2.2", + "fslightbox": "^3.3.0-2", + "fullcalendar": "^5.8.0", + "handlebars": "^4.7.7", + "inputmask": "^5.0.6", + "jkanban": "^1.3.1", + "jquery": "3.6.0", + "jquery.repeater": "^1.2.1", + "jstree": "^3.3.11", + "jszip": "^3.6.0", + "leaflet": "^1.7.1", + "line-awesome": "^1.3.0", + "moment": "^2.29.1", + "nouislider": "^15.2.0", + "npm": "^7.19.1", + "pdfmake": "^0.2.0", + "prism-themes": "^1.7.0", + "prismjs": "^1.24.1", + "quill": "^1.3.7", + "select2": "^4.1.0-rc.0", + "smooth-scroll": "^16.1.3", + "sweetalert2": "^11.0.18", + "tiny-slider": "^2.9.3", + "tinymce": "^5.8.2", + "typed.js": "^2.0.12", + "vis-timeline": "^7.4.9", + "wnumb": "^1.2.0" + }, + "devDependencies": { + "alpinejs": "^3.7.1", + "autoprefixer": "^10.4.2", + "axios": "^0.24.0", + "laravel-mix": "^6.0.39", + "lodash": "^4.17.19", + "postcss": "^8.4.5", + "postcss-import": "^14.0.2", + "replace-in-file-webpack-plugin": "^1.0.6", + "resolve-url-loader": "^4.0.0", + "rtlcss": "^3.5.0", + "sass": "^1.47.0", + "sass-loader": "^12.4.0", + "webpack-rtl-plugin": "^2.0.0" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz", + "integrity": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==", + "dev": true, + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.7.tgz", + "integrity": "sha512-p8pdE6j0a29TNGebNm7NzYZWB3xVZJBZ7XGs42uAKzQo8VQ3F0By/cQCtUEABwIqw5zo6WA4NbmxsfzADzMKnQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.9.tgz", + "integrity": "sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.9", + "@babel/helper-compilation-targets": "^7.17.7", + "@babel/helper-module-transforms": "^7.17.7", + "@babel/helpers": "^7.17.9", + "@babel/parser": "^7.17.9", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.9", + "@babel/types": "^7.17.0", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.9.tgz", + "integrity": "sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==", + "dev": true, + "dependencies": { + "@babel/types": "^7.17.0", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/generator/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", + "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", + "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", + "dev": true, + "dependencies": { + "@babel/helper-explode-assignable-expression": "^7.16.7", + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.7.tgz", + "integrity": "sha512-UFzlz2jjd8kroj0hmCFV5zr+tQPi1dpC2cRsDV/3IEW8bJfCPrPpmcSN6ZS8RqIq4LXcmpipCQFPddyFA5Yc7w==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.17.7", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.17.5", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.17.9.tgz", + "integrity": "sha512-kUjip3gruz6AJKOq5i3nC6CoCEEF/oHH3cp6tOZhB+IyyyPyW0g1Gfsxn3mkk6S08pIA2y8GQh609v9G/5sHVQ==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.17.9", + "@babel/helper-member-expression-to-functions": "^7.17.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.0.tgz", + "integrity": "sha512-awO2So99wG6KnlE+TPs6rn83gCz5WlEePJDTnLEqbchMVrBeAujURVphRdigsk094VhvZehFoNOihSlcBjwsXA==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "regexpu-core": "^5.0.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", + "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.13.0", + "@babel/helper-module-imports": "^7.12.13", + "@babel/helper-plugin-utils": "^7.13.0", + "@babel/traverse": "^7.13.0", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2", + "semver": "^6.1.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0-0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", + "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-explode-assignable-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", + "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", + "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "dev": true, + "dependencies": { + "@babel/template": "^7.16.7", + "@babel/types": "^7.17.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz", + "integrity": "sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.17.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.17.7.tgz", + "integrity": "sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-simple-access": "^7.17.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.3", + "@babel/types": "^7.17.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", + "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz", + "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", + "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-wrap-function": "^7.16.8", + "@babel/types": "^7.16.8" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-replace-supers": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz", + "integrity": "sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-member-expression-to-functions": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/traverse": "^7.16.7", + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz", + "integrity": "sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.17.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", + "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-wrap-function": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", + "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", + "dev": true, + "dependencies": { + "@babel/helper-function-name": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.8", + "@babel/types": "^7.16.8" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.17.9.tgz", + "integrity": "sha512-cPCt915ShDWUEzEp3+UNRktO2n6v49l5RSnG9M5pS24hA+2FAc5si+Pn1i4VVbQQ+jh+bIZhPFQOJOzbrOYY1Q==", + "dev": true, + "dependencies": { + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.9", + "@babel/types": "^7.17.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.9.tgz", + "integrity": "sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/@babel/highlight/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/@babel/highlight/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/parser": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.9.tgz", + "integrity": "sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==", + "dev": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz", + "integrity": "sha512-anv/DObl7waiGEnC24O9zqL0pSuI9hljihqiDuFHC8d7/bjr/4RLGPWuc8rYOff/QPzbEPSkzG8wGG9aDuhHRg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.7.tgz", + "integrity": "sha512-di8vUHRdf+4aJ7ltXhaDbPoszdkh59AQtJM5soLsuHpQJdFQZOA4uGj0V2u/CZ8bJ/u8ULDL5yq6FO/bCXnKHw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-proposal-optional-chaining": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.13.0" + } + }, + "node_modules/@babel/plugin-proposal-async-generator-functions": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.8.tgz", + "integrity": "sha512-71YHIvMuiuqWJQkebWJtdhQTfd4Q4mF76q2IX37uZPkG9+olBxsX+rH1vkhFto4UeJZ9dPY2s+mDvhDm1u2BGQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-class-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.7.tgz", + "integrity": "sha512-IobU0Xme31ewjYOShSIqd/ZGM/r/cuOz2z0MDbNrhF5FW+ZVgi0f2lyeoj9KFPDOAqsYxmLWZte1WOwlvY9aww==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-class-static-block": { + "version": "7.17.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.17.6.tgz", + "integrity": "sha512-X/tididvL2zbs7jZCeeRJ8167U/+Ac135AM6jCAx6gYXDUviZV5Ku9UDvWS2NCuWlFjIRXklYhwo6HhAC7ETnA==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.17.6", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" + } + }, + "node_modules/@babel/plugin-proposal-dynamic-import": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", + "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-export-namespace-from": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.7.tgz", + "integrity": "sha512-ZxdtqDXLRGBL64ocZcs7ovt71L3jhC1RGSyR996svrCi3PYqHNkb3SwPJCs8RIzD86s+WPpt2S73+EHCGO+NUA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-json-strings": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.7.tgz", + "integrity": "sha512-lNZ3EEggsGY78JavgbHsK9u5P3pQaW7k4axlgFLYkMd7UBsiNahCITShLjNQschPyjtO6dADrL24757IdhBrsQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-json-strings": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-logical-assignment-operators": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.7.tgz", + "integrity": "sha512-K3XzyZJGQCr00+EtYtrDjmwX7o7PLK6U9bi1nCwkQioRFVUv6dJoxbQjtWVtP+bCPy82bONBKG8NPyQ4+i6yjg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.7.tgz", + "integrity": "sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-numeric-separator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", + "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-object-rest-spread": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.17.3.tgz", + "integrity": "sha512-yuL5iQA/TbZn+RGAfxQXfi7CNLmKi1f8zInn4IgobuCWcAb7i+zj4TYzQ9l8cEzVyJ89PDGuqxK1xZpUDISesw==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.17.0", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-optional-catch-binding": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", + "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.7.tgz", + "integrity": "sha512-eC3xy+ZrUcBtP7x+sq62Q/HYd674pPTb/77XZMb5wbDPGWIdUbSr4Agr052+zaUPSb+gGRnjxXfKFvx5iMJ+DA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-private-methods": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.11.tgz", + "integrity": "sha512-F/2uAkPlXDr8+BHpZvo19w3hLFKge+k75XUprE6jaqKxjGkSYcK+4c+bup5PdW/7W/Rpjwql7FTVEDW+fRAQsw==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.16.10", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-private-property-in-object": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.7.tgz", + "integrity": "sha512-rMQkjcOFbm+ufe3bTZLyOfsOUOxyvLXZJCTARhJr+8UMSoZmqTe1K1BgkFcrW37rAchWg57yI69ORxiWvUINuQ==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-unicode-property-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.7.tgz", + "integrity": "sha512-QRK0YI/40VLhNVGIjRNAAQkEHws0cswSdFFjpFyt943YmJIU1da9uW63Iu6NFV6CxTZW5eTDCrwZUstBWgp/Rg==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", + "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.7.tgz", + "integrity": "sha512-9ffkFFMbvzTvv+7dTp/66xvZAWASuPD5Tl9LK3Z9vhOmANo6j94rik+5YMBt4CwHVMWLWpMsriIc2zsa3WW3xQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.8.tgz", + "integrity": "sha512-MtmUmTJQHCnyJVrScNzNlofQJ3dLFuobYn3mwOTKHnSCMtbNsqvF71GQmJfFjdrXSsAA7iysFmYWw4bXZ20hOg==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", + "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.7.tgz", + "integrity": "sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-classes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.7.tgz", + "integrity": "sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.7.tgz", + "integrity": "sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-destructuring": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.17.7.tgz", + "integrity": "sha512-XVh0r5yq9sLR4vZ6eVZe8FKfIcSgaTBxVBRSYokRj2qksf6QerYnTxz9/GTuKTH/n/HwLP7t6gtlybHetJ/6hQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-dotall-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", + "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-duplicate-keys": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.7.tgz", + "integrity": "sha512-03DvpbRfvWIXyK0/6QiR1KMTWeT6OcQ7tbhjrXyFS02kjuX/mu5Bvnh5SDSWHxyawit2g5aWhKwI86EE7GUnTw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-exponentiation-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", + "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", + "dev": true, + "dependencies": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-for-of": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.7.tgz", + "integrity": "sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", + "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.7.tgz", + "integrity": "sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", + "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-amd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.7.tgz", + "integrity": "sha512-KaaEtgBL7FKYwjJ/teH63oAmE3lP34N3kshz8mm4VMAw7U3PxjVwwUmxEFksbgsNUaO3wId9R2AVQYSEGRa2+g==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.17.9.tgz", + "integrity": "sha512-2TBFd/r2I6VlYn0YRTz2JdazS+FoUuQ2rIFHoAxtyP/0G3D82SBLaRq9rnUkpqlLg03Byfl/+M32mpxjO6KaPw==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.17.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-simple-access": "^7.17.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-systemjs": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.17.8.tgz", + "integrity": "sha512-39reIkMTUVagzgA5x88zDYXPCMT6lcaRKs1+S9K6NKBPErbgO/w/kP8GlNQTC87b412ZTlmNgr3k2JrWgHH+Bw==", + "dev": true, + "dependencies": { + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-module-transforms": "^7.17.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-umd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.7.tgz", + "integrity": "sha512-EMh7uolsC8O4xhudF2F6wedbSHm1HHZ0C6aJ7K67zcDNidMzVcxWdGr+htW9n21klm+bOn+Rx4CBsAntZd3rEQ==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.8.tgz", + "integrity": "sha512-j3Jw+n5PvpmhRR+mrgIh04puSANCk/T/UA3m3P1MjJkhlK906+ApHhDIqBQDdOgL/r1UYpz4GNclTXxyZrYGSw==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-new-target": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.7.tgz", + "integrity": "sha512-xiLDzWNMfKoGOpc6t3U+etCE2yRnn3SM09BXqWPIZOBpL2gvVrBWUKnsJx0K/ADi5F5YC5f8APFfWrz25TdlGg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-object-super": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", + "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-parameters": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.7.tgz", + "integrity": "sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-property-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", + "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-regenerator": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.17.9.tgz", + "integrity": "sha512-Lc2TfbxR1HOyn/c6b4Y/b6NHoTb67n/IoWLxTu4kC7h4KQnWlhCq2S8Tx0t2SVvv5Uu87Hs+6JEJ5kt2tYGylQ==", + "dev": true, + "dependencies": { + "regenerator-transform": "^0.15.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-reserved-words": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.7.tgz", + "integrity": "sha512-KQzzDnZ9hWQBjwi5lpY5v9shmm6IVG0U9pB18zvMu2i4H90xpT4gmqwPYsn8rObiadYe2M0gmgsiOIF5A/2rtg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-runtime": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.17.0.tgz", + "integrity": "sha512-fr7zPWnKXNc1xoHfrIU9mN/4XKX4VLZ45Q+oMhfsYIaHvg7mHgmhfOy/ckRWqDK7XF3QDigRpkh5DKq6+clE8A==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-runtime/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", + "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-spread": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.7.tgz", + "integrity": "sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-sticky-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", + "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-template-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.7.tgz", + "integrity": "sha512-VwbkDDUeenlIjmfNeDX/V0aWrQH2QiVyJtwymVQSzItFDTpxfyJh3EVaQiS0rIN/CqbLGr0VcGmuwyTdZtdIsA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.7.tgz", + "integrity": "sha512-p2rOixCKRJzpg9JB4gjnG4gjWkWa89ZoYUnl9snJ1cWIcTH/hvxZqfO+WjG6T8DRBpctEol5jw1O5rA8gkCokQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", + "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", + "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-env": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.11.tgz", + "integrity": "sha512-qcmWG8R7ZW6WBRPZK//y+E3Cli151B20W1Rv7ln27vuPaXU/8TKms6jFdiJtF7UDTxcrb7mZd88tAeK9LjdT8g==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.16.8", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-option": "^7.16.7", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.16.7", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-async-generator-functions": "^7.16.8", + "@babel/plugin-proposal-class-properties": "^7.16.7", + "@babel/plugin-proposal-class-static-block": "^7.16.7", + "@babel/plugin-proposal-dynamic-import": "^7.16.7", + "@babel/plugin-proposal-export-namespace-from": "^7.16.7", + "@babel/plugin-proposal-json-strings": "^7.16.7", + "@babel/plugin-proposal-logical-assignment-operators": "^7.16.7", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7", + "@babel/plugin-proposal-numeric-separator": "^7.16.7", + "@babel/plugin-proposal-object-rest-spread": "^7.16.7", + "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", + "@babel/plugin-proposal-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-private-methods": "^7.16.11", + "@babel/plugin-proposal-private-property-in-object": "^7.16.7", + "@babel/plugin-proposal-unicode-property-regex": "^7.16.7", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-transform-arrow-functions": "^7.16.7", + "@babel/plugin-transform-async-to-generator": "^7.16.8", + "@babel/plugin-transform-block-scoped-functions": "^7.16.7", + "@babel/plugin-transform-block-scoping": "^7.16.7", + "@babel/plugin-transform-classes": "^7.16.7", + "@babel/plugin-transform-computed-properties": "^7.16.7", + "@babel/plugin-transform-destructuring": "^7.16.7", + "@babel/plugin-transform-dotall-regex": "^7.16.7", + "@babel/plugin-transform-duplicate-keys": "^7.16.7", + "@babel/plugin-transform-exponentiation-operator": "^7.16.7", + "@babel/plugin-transform-for-of": "^7.16.7", + "@babel/plugin-transform-function-name": "^7.16.7", + "@babel/plugin-transform-literals": "^7.16.7", + "@babel/plugin-transform-member-expression-literals": "^7.16.7", + "@babel/plugin-transform-modules-amd": "^7.16.7", + "@babel/plugin-transform-modules-commonjs": "^7.16.8", + "@babel/plugin-transform-modules-systemjs": "^7.16.7", + "@babel/plugin-transform-modules-umd": "^7.16.7", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.16.8", + "@babel/plugin-transform-new-target": "^7.16.7", + "@babel/plugin-transform-object-super": "^7.16.7", + "@babel/plugin-transform-parameters": "^7.16.7", + "@babel/plugin-transform-property-literals": "^7.16.7", + "@babel/plugin-transform-regenerator": "^7.16.7", + "@babel/plugin-transform-reserved-words": "^7.16.7", + "@babel/plugin-transform-shorthand-properties": "^7.16.7", + "@babel/plugin-transform-spread": "^7.16.7", + "@babel/plugin-transform-sticky-regex": "^7.16.7", + "@babel/plugin-transform-template-literals": "^7.16.7", + "@babel/plugin-transform-typeof-symbol": "^7.16.7", + "@babel/plugin-transform-unicode-escapes": "^7.16.7", + "@babel/plugin-transform-unicode-regex": "^7.16.7", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.16.8", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "core-js-compat": "^3.20.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-env/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/preset-modules": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", + "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.9.tgz", + "integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==", + "dev": true, + "dependencies": { + "regenerator-runtime": "^0.13.4" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", + "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.9.tgz", + "integrity": "sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.9", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.17.9", + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/parser": "^7.17.9", + "@babel/types": "^7.17.0", + "debug": "^4.1.0", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz", + "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.16.7", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@ckeditor/ckeditor5-alignment": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-alignment/-/ckeditor5-alignment-31.1.0.tgz", + "integrity": "sha512-G5H8hWUMpjctlxaJKUa5HVbavEukghSOfOJjKL47MFSlp46fDgdotmGYnW8BLqFJItsccO8PJJy20KaO6Gj9BQ==", + "dependencies": { + "ckeditor5": "^31.1.0" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-build-balloon": { + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-balloon/-/ckeditor5-build-balloon-23.1.0.tgz", + "integrity": "sha512-JjiB+ps7r7XkWq1KK757QwQXdm/MjRCaTDlgEnJigEuRgdIr1/UirYH33CIQGNKsRoeU6iaSz+VuFCf9OziR0A==", + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-build-balloon-block": { + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-balloon-block/-/ckeditor5-build-balloon-block-23.1.0.tgz", + "integrity": "sha512-VAiUfMxxU7jG6StuHeyUt4mcCZRolD6cHhWJACCmcah6ODmENIGtPZJ3fYi+RFpIAFXdlVznfAbYImbvr1UCYg==", + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-build-classic": { + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-classic/-/ckeditor5-build-classic-23.1.0.tgz", + "integrity": "sha512-wqJZ6yuqm48NoiciRcfs+t73YOfIKovJIiLSHf0yB2I3Mc+bL6iNhwwyJ3b6D/22IgYEXTpc6PiwsYFbGFnq2Q==", + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-build-decoupled-document": { + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-decoupled-document/-/ckeditor5-build-decoupled-document-23.1.0.tgz", + "integrity": "sha512-dn8/Cw3wf75ZybMLfmPy1ZtitObi6YTHPeavkyu0TVDbJhefpBL+gKWRrTptpvNk3Txw40zWU5MYq0225FpPkA==", + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-build-inline": { + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-inline/-/ckeditor5-build-inline-23.1.0.tgz", + "integrity": "sha512-SrboOm2cjhbsRkqf6fT0asiG65CCPMko680qIyMPgepKIfsCENfkZf3mLL1vOlOiDk/JtvciWrjq2fzNK9LhNA==", + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-clipboard": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-clipboard/-/ckeditor5-clipboard-31.1.0.tgz", + "integrity": "sha512-rHvswGs4Q/ZiKPGk0J7+Nrb3mqNugKQFOXA7SSecOI9ZRt6hIxr4fgj4ccb8ceuHNr2vJNmTGC8jjKX7wGHPbw==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "@ckeditor/ckeditor5-widget": "^31.1.0", + "lodash-es": "^4.17.11" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-core": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-31.1.0.tgz", + "integrity": "sha512-5BUosLrUliV2NZ9DAW48Za/4P3QWmwKMoHohCvq7Jq9Us6TQCnEKauUNexJFDAWqUAdN2WlqaVdSL+FmfhmzSA==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-engine": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-31.1.0.tgz", + "integrity": "sha512-lHZjdKKeBWR4N2rk4rdnxDtdE3F1Q7Z2Ag2RgHG8GT3J6s2BNx/z++9GxhlCKPR3TQ70XWCLBLGXuFHXIvU0Kg==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "^31.1.0", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-enter": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-enter/-/ckeditor5-enter-31.1.0.tgz", + "integrity": "sha512-9K5d12lCfvnUGESwxpu2UJCLsAaa40QR4JgVHKV0CZpERfcsvcF3XdM8cggS/Ovin2TBq1w+tXhOKbop5Why9Q==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-paragraph": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-paragraph/-/ckeditor5-paragraph-31.1.0.tgz", + "integrity": "sha512-rltzxwcKwR6mxZqomKLkrdLuVkkeKiESv7bweVY9VcPb7hk0BiLZcYkLqsOlfkZHWHWCiQ+5UDR8ctuaVmiUjg==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-select-all": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-select-all/-/ckeditor5-select-all-31.1.0.tgz", + "integrity": "sha512-d6bTtuZLoBN61jPjbY562awfRYy+xhnCEIilsoRLb04mFNa6HnFs/mZtNIFqrm7dYZWSkJz9+1XwQouYW+kGqQ==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-typing": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-typing/-/ckeditor5-typing-31.1.0.tgz", + "integrity": "sha512-juskFEb1YrXLS+wcLEnc3GZtqkq95Q13sNAAyvKaEXzNphy4PBv+odLAwP7KCrxifVf278bgVxGDV5GPPAenOA==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-ui": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-ui/-/ckeditor5-ui-31.1.0.tgz", + "integrity": "sha512-fHBLsRK7XRxeewm1NH9idU4zUguhysQPEmEhqWOi+GRt2I0pYrc22GYNJF3yKMqp1LfiLi7GAT66X2RL9rCEaQ==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-undo": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-undo/-/ckeditor5-undo-31.1.0.tgz", + "integrity": "sha512-eNWEP9E5Ji2W7NU6vCKOqjYW0+/xwXGkiExboTApudJDT1IWu2hqoaVQ+3eEWHWJbqCxIRSHif6+uYEBIoInXg==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-upload": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-upload/-/ckeditor5-upload-31.1.0.tgz", + "integrity": "sha512-j+FNllYawZgTWCVOUSce/34SMfwgqNa2F7yvdmw4pmPSl8mlSZxSEYA9mLqbKpXwsuFY0iY14JQEB2bngNgTbA==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-utils": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-31.1.0.tgz", + "integrity": "sha512-l2C2m8uLxKTblXX6SY+k40tK9U4pFZ2WCYP1dc3B0qz5an+h7e5EqRz3kFs+MVw0HM6VCYWDFql/JZDAFonOmQ==", + "dependencies": { + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@ckeditor/ckeditor5-widget": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-widget/-/ckeditor5-widget-31.1.0.tgz", + "integrity": "sha512-e/B2qjgwXHuj/Qo+cGAM7j3NTPXvTikL+wjEF5sh5a0w5el9Sv97tzew5rojkZ6ypQykE+1ue+F579b74n7QiQ==", + "dependencies": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-enter": "^31.1.0", + "@ckeditor/ckeditor5-typing": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "lodash-es": "^4.17.15" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@discoveryjs/json-ext": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", + "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", + "dev": true, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/@egjs/hammerjs": { + "version": "2.0.17", + "resolved": "https://registry.npmjs.org/@egjs/hammerjs/-/hammerjs-2.0.17.tgz", + "integrity": "sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==", + "peer": true, + "dependencies": { + "@types/hammerjs": "^2.0.36" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@foliojs-fork/fontkit": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/@foliojs-fork/fontkit/-/fontkit-1.9.1.tgz", + "integrity": "sha512-U589voc2/ROnvx1CyH9aNzOQWJp127JGU1QAylXGQ7LoEAF6hMmahZLQ4eqAcgHUw+uyW4PjtCItq9qudPkK3A==", + "dependencies": { + "@foliojs-fork/restructure": "^2.0.2", + "brfs": "^2.0.0", + "brotli": "^1.2.0", + "browserify-optional": "^1.0.1", + "clone": "^1.0.4", + "deep-equal": "^1.0.0", + "dfa": "^1.2.0", + "tiny-inflate": "^1.0.2", + "unicode-properties": "^1.2.2", + "unicode-trie": "^2.0.0" + } + }, + "node_modules/@foliojs-fork/linebreak": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@foliojs-fork/linebreak/-/linebreak-1.1.1.tgz", + "integrity": "sha512-pgY/+53GqGQI+mvDiyprvPWgkTlVBS8cxqee03ejm6gKAQNsR1tCYCIvN9FHy7otZajzMqCgPOgC4cHdt4JPig==", + "dependencies": { + "base64-js": "1.3.1", + "brfs": "^2.0.2", + "unicode-trie": "^2.0.0" + } + }, + "node_modules/@foliojs-fork/linebreak/node_modules/base64-js": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz", + "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==" + }, + "node_modules/@foliojs-fork/pdfkit": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@foliojs-fork/pdfkit/-/pdfkit-0.13.0.tgz", + "integrity": "sha512-YXeG1fml9k97YNC9K8e292Pj2JzGt9uOIiBFuQFxHsdQ45BlxW+JU3RQK6JAvXU7kjhjP8rCcYvpk36JLD33sQ==", + "dependencies": { + "@foliojs-fork/fontkit": "^1.9.1", + "@foliojs-fork/linebreak": "^1.1.1", + "crypto-js": "^4.0.0", + "png-js": "^1.0.0" + } + }, + "node_modules/@foliojs-fork/restructure": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@foliojs-fork/restructure/-/restructure-2.0.2.tgz", + "integrity": "sha512-59SgoZ3EXbkfSX7b63tsou/SDGzwUEK6MuB5sKqgVK1/XE0fxmpsOb9DQI8LXW3KfGnAjImCGhhEb7uPPAUVNA==" + }, + "node_modules/@fortawesome/fontawesome-free": { + "version": "5.15.4", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.4.tgz", + "integrity": "sha512-eYm8vijH/hpzr/6/1CJ/V/Eb1xQFW2nnUKArb3z+yUWv7HTwj6M7SP957oMjfZjAHU6qpoNc2wQvIxBLWYa/Jg==", + "hasInstallScript": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz", + "integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.11", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz", + "integrity": "sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz", + "integrity": "sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@leichtgewicht/ip-codec": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.3.tgz", + "integrity": "sha512-nkalE/f1RvRGChwBnEIoBfSEYOXnCRdleKuv6+lePbMDrMZXeDQnqak5XDOeBgrPPyPfAdcCu/B5z+v3VhplGg==", + "dev": true + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@popperjs/core": { + "version": "2.10.2", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.10.2.tgz", + "integrity": "sha512-IXf3XA7+XyN7CP9gGh/XB0UxVMlvARGEgGXLubFICsUMGz6Q+DU+i4gGlpOxTjKvXjkJDJC8YdqdKkDj9qZHEQ==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@romainberger/css-diff": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@romainberger/css-diff/-/css-diff-1.0.3.tgz", + "integrity": "sha1-ztOHU11PQqQqwf4TwJ3pf1rhNEw=", + "dev": true, + "dependencies": { + "lodash.merge": "^4.4.0", + "postcss": "^5.0.21" + } + }, + "node_modules/@romainberger/css-diff/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@romainberger/css-diff/node_modules/ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@romainberger/css-diff/node_modules/chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@romainberger/css-diff/node_modules/chalk/node_modules/supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@romainberger/css-diff/node_modules/has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@romainberger/css-diff/node_modules/postcss": { + "version": "5.2.18", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", + "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "dev": true, + "dependencies": { + "chalk": "^1.1.3", + "js-base64": "^2.1.9", + "source-map": "^0.5.6", + "supports-color": "^3.2.3" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/@romainberger/css-diff/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@romainberger/css-diff/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@romainberger/css-diff/node_modules/supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "dependencies": { + "has-flag": "^1.0.0" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@shopify/draggable": { + "version": "1.0.0-beta.12", + "resolved": "https://registry.npmjs.org/@shopify/draggable/-/draggable-1.0.0-beta.12.tgz", + "integrity": "sha512-Un/Dn61sv2er9yjDXLGWMauCOWBb0BMbm0yzmmrD+oUX2/x50yhNJASTsCRdndUCpWlqYfZH8jEfaOgTPsKc/g==" + }, + "node_modules/@sindresorhus/is": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", + "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/@szmarczak/http-timer": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", + "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", + "dependencies": { + "defer-to-connect": "^1.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@terraformer/arcgis": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@terraformer/arcgis/-/arcgis-2.1.0.tgz", + "integrity": "sha512-eKTvNXze2Fo7vAEjvJFIGn5QdU0OP4aD9DuT/uTBLRM1QS+ju7KtPITbVW+xgCviHLnOVeFQ1UsIs9kjkakD4g==", + "dependencies": { + "@terraformer/common": "^2.0.7" + } + }, + "node_modules/@terraformer/common": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@terraformer/common/-/common-2.0.7.tgz", + "integrity": "sha512-8bl+/JT0Rw6FYe2H3FfJS8uQwgzGl+UHs+8JX0TQLHgA4sMDEwObbMwo0iP3FVONwPXrPHEpC5YH7Grve0cl9A==" + }, + "node_modules/@trysound/sax": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz", + "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/@types/babel__core": { + "version": "7.1.19", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz", + "integrity": "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", + "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", + "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.17.0.tgz", + "integrity": "sha512-r8aveDbd+rzGP+ykSdF3oPuTVRWRfbBiHl0rVDM2yNEmSMXfkObQLV46b4RnCv3Lra51OlfnZhkkFaDl2MIRaA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.3.0" + } + }, + "node_modules/@types/body-parser": { + "version": "1.19.2", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", + "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", + "dev": true, + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/bonjour": { + "version": "3.5.10", + "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.10.tgz", + "integrity": "sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/clean-css": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@types/clean-css/-/clean-css-4.2.5.tgz", + "integrity": "sha512-NEzjkGGpbs9S9fgC4abuBvTpVwE3i+Acu9BBod3PUyjDVZcNsGx61b8r2PphR61QGPnn0JHVs5ey6/I4eTrkxw==", + "dev": true, + "dependencies": { + "@types/node": "*", + "source-map": "^0.6.0" + } + }, + "node_modules/@types/connect": { + "version": "3.4.35", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", + "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/connect-history-api-fallback": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz", + "integrity": "sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw==", + "dev": true, + "dependencies": { + "@types/express-serve-static-core": "*", + "@types/node": "*" + } + }, + "node_modules/@types/eslint": { + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.1.tgz", + "integrity": "sha512-GE44+DNEyxxh2Kc6ro/VkIj+9ma0pO0bwv9+uHSyBrikYOHr8zYcdPvnBOp1aw8s+CjRvuSx7CyWqRrNFQ59mA==", + "dev": true, + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/eslint-scope": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", + "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", + "dev": true, + "dependencies": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "node_modules/@types/estree": { + "version": "0.0.51", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", + "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", + "dev": true + }, + "node_modules/@types/express": { + "version": "4.17.13", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.13.tgz", + "integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==", + "dev": true, + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.18", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "4.17.28", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.28.tgz", + "integrity": "sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==", + "dev": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "node_modules/@types/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", + "dev": true, + "dependencies": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, + "node_modules/@types/hammerjs": { + "version": "2.0.41", + "resolved": "https://registry.npmjs.org/@types/hammerjs/-/hammerjs-2.0.41.tgz", + "integrity": "sha512-ewXv/ceBaJprikMcxCmWU1FKyMAQ2X7a9Gtmzw8fcg2kIePI1crERDM818W+XYrxqdBBOdlf2rm137bU+BltCA==", + "peer": true + }, + "node_modules/@types/http-proxy": { + "version": "1.17.8", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.8.tgz", + "integrity": "sha512-5kPLG5BKpWYkw/LVOGWpiq3nEVqxiN32rTgI53Sk12/xHFQ2rG3ehI9IO+O3W2QoKeyB92dJkoka8SUm6BX1pA==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/imagemin": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@types/imagemin/-/imagemin-8.0.0.tgz", + "integrity": "sha512-B9X2CUeDv/uUeY9CqkzSTfmsLkeJP6PkmXlh4lODBbf9SwpmNuLS30WzUOi863dgsjY3zt3gY5q2F+UdifRi1A==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/imagemin-gifsicle": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@types/imagemin-gifsicle/-/imagemin-gifsicle-7.0.1.tgz", + "integrity": "sha512-kUz6sUh0P95JOS0RGEaaemWUrASuw+dLsWIveK2UZJx74id/B9epgblMkCk/r5MjUWbZ83wFvacG5Rb/f97gyA==", + "dev": true, + "dependencies": { + "@types/imagemin": "*" + } + }, + "node_modules/@types/imagemin-mozjpeg": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@types/imagemin-mozjpeg/-/imagemin-mozjpeg-8.0.1.tgz", + "integrity": "sha512-kMQWEoKxxhlnH4POI3qfW9DjXlQfi80ux3l2b3j5R3eudSCoUIzKQLkfMjNJ6eMYnMWBcB+rfQOWqIzdIwFGKw==", + "dev": true, + "dependencies": { + "@types/imagemin": "*" + } + }, + "node_modules/@types/imagemin-optipng": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/@types/imagemin-optipng/-/imagemin-optipng-5.2.1.tgz", + "integrity": "sha512-XCM/3q+HUL7v4zOqMI+dJ5dTxT+MUukY9KU49DSnYb/4yWtSMHJyADP+WHSMVzTR63J2ZvfUOzSilzBNEQW78g==", + "dev": true, + "dependencies": { + "@types/imagemin": "*" + } + }, + "node_modules/@types/imagemin-svgo": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@types/imagemin-svgo/-/imagemin-svgo-8.0.1.tgz", + "integrity": "sha512-YafkdrVAcr38U0Ln1C+L1n4SIZqC47VBHTyxCq7gTUSd1R9MdIvMcrljWlgU1M9O68WZDeQWUrKipKYfEOCOvQ==", + "dev": true, + "dependencies": { + "@types/imagemin": "*", + "@types/svgo": "^1" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.11", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", + "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", + "dev": true + }, + "node_modules/@types/mime": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", + "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==", + "dev": true + }, + "node_modules/@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true + }, + "node_modules/@types/node": { + "version": "17.0.25", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.25.tgz", + "integrity": "sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w==", + "dev": true + }, + "node_modules/@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", + "dev": true + }, + "node_modules/@types/q": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.5.tgz", + "integrity": "sha512-L28j2FcJfSZOnL1WBjDYp2vUHCeIFlyYI/53EwD/rKUBQ7MtUUfbQWiyKJGpcnv4/WgrhWsFKrcPstcAt/J0tQ==", + "dev": true + }, + "node_modules/@types/qs": { + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", + "dev": true + }, + "node_modules/@types/range-parser": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", + "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", + "dev": true + }, + "node_modules/@types/retry": { + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.1.tgz", + "integrity": "sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g==", + "dev": true + }, + "node_modules/@types/serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg==", + "dev": true, + "dependencies": { + "@types/express": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "1.13.10", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz", + "integrity": "sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==", + "dev": true, + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "node_modules/@types/sockjs": { + "version": "0.3.33", + "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.33.tgz", + "integrity": "sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/svgo": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/@types/svgo/-/svgo-1.3.6.tgz", + "integrity": "sha512-AZU7vQcy/4WFEuwnwsNsJnFwupIpbllH1++LXScN6uxT1Z4zPzdrWG97w4/I7eFKFTvfy/bHFStWjdBAg2Vjug==", + "dev": true + }, + "node_modules/@types/ws": { + "version": "8.5.3", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", + "integrity": "sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@vue/reactivity": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.1.5.tgz", + "integrity": "sha512-1tdfLmNjWG6t/CsPldh+foumYFo3cpyCHgBYQ34ylaMsJ+SNHQ1kApMIa8jN+i593zQuaw3AdWH0nJTARzCFhg==", + "dev": true, + "dependencies": { + "@vue/shared": "3.1.5" + } + }, + "node_modules/@vue/shared": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.1.5.tgz", + "integrity": "sha512-oJ4F3TnvpXaQwZJNF3ZK+kLPHKarDmJjJ6jyzVNDKH9md1dptjC7lWR//jrGuLdek/U6iltWxqAnYOu8gCiOvA==", + "dev": true + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", + "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", + "dev": true, + "dependencies": { + "@webassemblyjs/helper-numbers": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", + "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", + "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", + "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", + "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", + "dev": true, + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.11.1", + "@webassemblyjs/helper-api-error": "1.11.1", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", + "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", + "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", + "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", + "dev": true, + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", + "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", + "dev": true, + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", + "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", + "dev": true + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", + "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/helper-wasm-section": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1", + "@webassemblyjs/wasm-opt": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1", + "@webassemblyjs/wast-printer": "1.11.1" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", + "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/ieee754": "1.11.1", + "@webassemblyjs/leb128": "1.11.1", + "@webassemblyjs/utf8": "1.11.1" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", + "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", + "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-api-error": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/ieee754": "1.11.1", + "@webassemblyjs/leb128": "1.11.1", + "@webassemblyjs/utf8": "1.11.1" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", + "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webpack-cli/configtest": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.1.1.tgz", + "integrity": "sha512-1FBc1f9G4P/AxMqIgfZgeOTuRnwZMten8E7zap5zgpPInnCrP8D4Q81+4CWIch8i/Nf7nXjP0v6CjjbHOrXhKg==", + "dev": true, + "peerDependencies": { + "webpack": "4.x.x || 5.x.x", + "webpack-cli": "4.x.x" + } + }, + "node_modules/@webpack-cli/info": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-1.4.1.tgz", + "integrity": "sha512-PKVGmazEq3oAo46Q63tpMr4HipI3OPfP7LiNOEJg963RMgT0rqheag28NCML0o3GIzA3DmxP1ZIAv9oTX1CUIA==", + "dev": true, + "dependencies": { + "envinfo": "^7.7.3" + }, + "peerDependencies": { + "webpack-cli": "4.x.x" + } + }, + "node_modules/@webpack-cli/serve": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.6.1.tgz", + "integrity": "sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw==", + "dev": true, + "peerDependencies": { + "webpack-cli": "4.x.x" + }, + "peerDependenciesMeta": { + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true + }, + "node_modules/@yaireo/tagify": { + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@yaireo/tagify/-/tagify-4.11.0.tgz", + "integrity": "sha512-J70gWNNlgHw+60azyJTsu0YHPsH7qXowQIi7PGMuhDQAfjTGNUH/Tx2TCzruTDocOTcoD6ol/iZXpNm8+VOg7g==", + "peerDependencies": { + "prop-types": "^15.7.2" + } + }, + "node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", + "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-import-assertions": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", + "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", + "dev": true, + "peerDependencies": { + "acorn": "^8" + } + }, + "node_modules/acorn-node": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", + "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", + "dependencies": { + "acorn": "^7.0.0", + "acorn-walk": "^7.0.0", + "xtend": "^4.0.2" + } + }, + "node_modules/acorn-node/node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/adjust-sourcemap-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz", + "integrity": "sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A==", + "dev": true, + "dependencies": { + "loader-utils": "^2.0.0", + "regex-parser": "^2.2.11" + }, + "engines": { + "node": ">=8.9" + } + }, + "node_modules/aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-formats/node_modules/ajv": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", + "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/alphanum-sort": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz", + "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=", + "dev": true + }, + "node_modules/alpinejs": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/alpinejs/-/alpinejs-3.10.1.tgz", + "integrity": "sha512-1iwVW1flJfPKFyQqGn9f/CPlPHyMKyGHolUtCkwP0G0/AXZmkyVB5/808+77jvWD/S3clVNgA0MLUTsfaJiqzw==", + "dev": true, + "dependencies": { + "@vue/reactivity": "~3.1.1" + } + }, + "node_modules/amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "optional": true, + "engines": { + "node": ">=0.4.2" + } + }, + "node_modules/ansi-align": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", + "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", + "dependencies": { + "string-width": "^4.1.0" + } + }, + "node_modules/ansi-html-community": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", + "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==", + "dev": true, + "engines": [ + "node >= 0.8.0" + ], + "bin": { + "ansi-html": "bin/ansi-html" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/apexcharts": { + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.35.0.tgz", + "integrity": "sha512-oipJRkaxt8DPGRmn1kur6aPzML1JSpf2M3ecu+gyw+8xiNmT2C0p1uuuqPZrk+Lr2hmDxzNBPR7TvxwRl3ozgw==", + "dependencies": { + "svg.draggable.js": "^2.2.2", + "svg.easing.js": "^2.0.0", + "svg.filter.js": "^2.0.2", + "svg.pathmorphing.js": "^0.1.3", + "svg.resize.js": "^1.4.3", + "svg.select.js": "^3.0.1" + } + }, + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/array-flatten": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", + "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==", + "dev": true + }, + "node_modules/array-from": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz", + "integrity": "sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=" + }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "dev": true, + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/asn1.js/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/assert": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", + "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", + "dev": true, + "dependencies": { + "object-assign": "^4.1.1", + "util": "0.10.3" + } + }, + "node_modules/assert/node_modules/inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + }, + "node_modules/assert/node_modules/util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "dependencies": { + "inherits": "2.0.1" + } + }, + "node_modules/ast-transform": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/ast-transform/-/ast-transform-0.0.0.tgz", + "integrity": "sha1-dJRAWIh9goPhidlUYAlHvJj+AGI=", + "dependencies": { + "escodegen": "~1.2.0", + "esprima": "~1.0.4", + "through": "~2.3.4" + } + }, + "node_modules/ast-types": { + "version": "0.7.8", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.7.8.tgz", + "integrity": "sha1-kC0uDWDQcb3NRtwRXhgJ7RHBOKk=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/async": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", + "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", + "dev": true, + "dependencies": { + "lodash": "^4.17.14" + } + }, + "node_modules/atoa": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/atoa/-/atoa-1.0.0.tgz", + "integrity": "sha1-DMDpGkgOc4+SPrwQNnZHF3mzSkk=" + }, + "node_modules/autoprefixer": { + "version": "10.4.4", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.4.tgz", + "integrity": "sha512-Tm8JxsB286VweiZ5F0anmbyGiNI3v3wGv3mz9W+cxEDYB/6jbnj6GM9H9mK3wIL8ftgl+C07Lcwb8PG5PCCPzA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + ], + "dependencies": { + "browserslist": "^4.20.2", + "caniuse-lite": "^1.0.30001317", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/autosize": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/autosize/-/autosize-5.0.1.tgz", + "integrity": "sha512-UIWUlE4TOVPNNj2jjrU39wI4hEYbneUypEqcyRmRFIx5CC2gNdg3rQr+Zh7/3h6egbBvm33TDQjNQKtj9Tk1HA==" + }, + "node_modules/axios": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz", + "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.14.4" + } + }, + "node_modules/babel-loader": { + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.5.tgz", + "integrity": "sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==", + "dev": true, + "dependencies": { + "find-cache-dir": "^3.3.1", + "loader-utils": "^2.0.0", + "make-dir": "^3.1.0", + "schema-utils": "^2.6.5" + }, + "engines": { + "node": ">= 8.9" + }, + "peerDependencies": { + "@babel/core": "^7.0.0", + "webpack": ">=2" + } + }, + "node_modules/babel-plugin-dynamic-import-node": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", + "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", + "dev": true, + "dependencies": { + "object.assign": "^4.1.0" + } + }, + "node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", + "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.13.11", + "@babel/helper-define-polyfill-provider": "^0.3.1", + "semver": "^6.1.1" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", + "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", + "dev": true, + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.3.1", + "core-js-compat": "^3.21.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", + "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", + "dev": true, + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.3.1" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", + "dev": true + }, + "node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", + "dev": true + }, + "node_modules/body-parser": { + "version": "1.19.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.2.tgz", + "integrity": "sha512-SAAwOxgoCKMGs9uUAUFHygfLAyaniaoun6I8mFY9pRAJL9+Kec34aU+oIjDhTycub1jozEfEwx1W1IuOYxVSFw==", + "dev": true, + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.9.7", + "raw-body": "2.4.3", + "type-is": "~1.6.18" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/body-parser/node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/bonjour-service": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.0.11.tgz", + "integrity": "sha512-drMprzr2rDTCtgEE3VgdA9uUFaUHF+jXduwYSThHJnKMYM+FhI9Z3ph+TX3xy0LtgYHae6CHYPJ/2UnK8nQHcA==", + "dev": true, + "dependencies": { + "array-flatten": "^2.1.2", + "dns-equal": "^1.0.0", + "fast-deep-equal": "^3.1.3", + "multicast-dns": "^7.2.4" + } + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "dev": true + }, + "node_modules/bootstrap": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.3.tgz", + "integrity": "sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + }, + "peerDependencies": { + "@popperjs/core": "^2.10.2" + } + }, + "node_modules/bootstrap-cookie-alert": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/bootstrap-cookie-alert/-/bootstrap-cookie-alert-1.2.1.tgz", + "integrity": "sha512-T4nzcJkrCJCfxbw9eRM93EwO3/seSL/wbjsDLLOdLIhhksb07zhj4NOgNJUwtLc7dkI28ef1KZU9yYzHZMUXvQ==" + }, + "node_modules/bootstrap-daterangepicker": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bootstrap-daterangepicker/-/bootstrap-daterangepicker-3.1.0.tgz", + "integrity": "sha512-oaQZx6ZBDo/dZNyXGVi2rx5GmFXThyQLAxdtIqjtLlYVaQUfQALl5JZMJJZzyDIX7blfy4ppZPAJ10g8Ma4d/g==", + "dependencies": { + "jquery": ">=1.10", + "moment": "^2.9.0" + } + }, + "node_modules/bootstrap-icons": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.8.1.tgz", + "integrity": "sha512-IXUqislddPJfwq6H+2nTkHyr9epO9h6u1AG0OZCx616w+TgzeoCjfmI3qJMQqt1J586gN2IxzB4M99Ip4sTZ1w==", + "engines": { + "node": ">=10" + } + }, + "node_modules/bootstrap-maxlength": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/bootstrap-maxlength/-/bootstrap-maxlength-1.10.1.tgz", + "integrity": "sha512-VYQosg0ojUNq05PlZcTwETm0E0Aoe/cclRmCC27QrHk/sY0Q75PUvgHYujN0gb2CD3n2olJfPeqx3EGAqpKjww==", + "dependencies": { + "bootstrap": "^4.4.1", + "jquery": "^3.5.1", + "qunit": "^2.10.0" + } + }, + "node_modules/bootstrap-maxlength/node_modules/bootstrap": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.6.1.tgz", + "integrity": "sha512-0dj+VgI9Ecom+rvvpNZ4MUZJz8dcX7WCX+eTID9+/8HgOkv3dsRzi8BGeZJCQU6flWQVYxwTQnEZFrmJSEO7og==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + }, + "peerDependencies": { + "jquery": "1.9.1 - 3", + "popper.js": "^1.16.1" + } + }, + "node_modules/bootstrap-multiselectsplitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/bootstrap-multiselectsplitter/-/bootstrap-multiselectsplitter-1.0.4.tgz", + "integrity": "sha512-G1TyuzRUOdcf9iuSoTcYPKVr1waMm6rwoBbDi8/nXM7GX5eF3qZGZXLMeT8tGoaYwuQIsZXGerMtq5VTFQgcHQ==" + }, + "node_modules/boxen": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", + "integrity": "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==", + "dependencies": { + "ansi-align": "^3.0.0", + "camelcase": "^6.2.0", + "chalk": "^4.1.0", + "cli-boxes": "^2.2.1", + "string-width": "^4.2.2", + "type-fest": "^0.20.2", + "widest-line": "^3.1.0", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/brfs": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brfs/-/brfs-2.0.2.tgz", + "integrity": "sha512-IrFjVtwu4eTJZyu8w/V2gxU7iLTtcHih67sgEdzrhjLBMHp2uYefUBfdM4k2UvcuWMgV7PQDZHSLeNWnLFKWVQ==", + "dependencies": { + "quote-stream": "^1.0.1", + "resolve": "^1.1.5", + "static-module": "^3.0.2", + "through2": "^2.0.0" + }, + "bin": { + "brfs": "bin/cmd.js" + } + }, + "node_modules/brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", + "dev": true + }, + "node_modules/brotli": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/brotli/-/brotli-1.3.2.tgz", + "integrity": "sha1-UlqcrU/LqWR119OI9q7LE+7VL0Y=", + "dependencies": { + "base64-js": "^1.1.2" + } + }, + "node_modules/browser-resolve": { + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz", + "integrity": "sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==", + "dependencies": { + "resolve": "1.1.7" + } + }, + "node_modules/browser-resolve/node_modules/resolve": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", + "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=" + }, + "node_modules/browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dev": true, + "dependencies": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dev": true, + "dependencies": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "node_modules/browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dev": true, + "dependencies": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/browserify-optional": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-optional/-/browserify-optional-1.0.1.tgz", + "integrity": "sha1-HhNyLP3g2F8SFnbCpyztUzoBiGk=", + "dependencies": { + "ast-transform": "0.0.0", + "ast-types": "^0.7.0", + "browser-resolve": "^1.8.1" + } + }, + "node_modules/browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "dev": true, + "dependencies": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "node_modules/browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "dev": true, + "dependencies": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + } + }, + "node_modules/browserify-sign/node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/browserify-sign/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "dev": true, + "dependencies": { + "pako": "~1.0.5" + } + }, + "node_modules/browserslist": { + "version": "4.20.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.2.tgz", + "integrity": "sha512-CQOBCqp/9pDvDbx3xfMi+86pr4KXIf2FDkTTdeuYw8OxS9t898LA1Khq57gtufFILXpfgsSx5woNgsBgvGjpsA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001317", + "electron-to-chromium": "^1.4.84", + "escalade": "^3.1.1", + "node-releases": "^2.0.2", + "picocolors": "^1.0.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/buffer": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "dev": true, + "dependencies": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "node_modules/buffer-equal": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-0.0.1.tgz", + "integrity": "sha1-kbx0sR6kBbyRa8aqkI+q+ltKrEs=", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "node_modules/buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", + "dev": true + }, + "node_modules/builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "node_modules/bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/cacheable-request": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", + "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^3.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^4.1.0", + "responselike": "^1.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cacheable-request/node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cacheable-request/node_modules/lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/cacheable-request/node_modules/normalize-url": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", + "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/caller-callsite": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", + "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", + "dev": true, + "dependencies": { + "callsites": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/caller-callsite/node_modules/callsites": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", + "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/caller-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", + "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", + "dev": true, + "dependencies": { + "caller-callsite": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camel-case": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz", + "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==", + "dev": true, + "dependencies": { + "pascal-case": "^3.1.2", + "tslib": "^2.0.3" + } + }, + "node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/caniuse-api": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz", + "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==", + "dev": true, + "dependencies": { + "browserslist": "^4.0.0", + "caniuse-lite": "^1.0.0", + "lodash.memoize": "^4.1.2", + "lodash.uniq": "^4.5.0" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001332", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001332.tgz", + "integrity": "sha512-10T30NYOEQtN6C11YGg411yebhvpnC6Z102+B95eAsN0oB6KUs01ivE8u+G6FMIRtIrVlYXhL+LUwQ3/hXwDWw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + } + ] + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/charenc": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", + "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/chart.js": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.7.1.tgz", + "integrity": "sha512-8knRegQLFnPQAheZV8MjxIXc5gQEfDFD897BJgv/klO/vtIyFFmgMXrNfgrXpbTr/XbTturxRgxIXx/Y+ASJBA==" + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chrome-trace-event": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", + "dev": true, + "engines": { + "node": ">=6.0" + } + }, + "node_modules/ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" + }, + "node_modules/cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ckeditor5": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/ckeditor5/-/ckeditor5-31.1.0.tgz", + "integrity": "sha512-uuU5JNeiLFIv6oMtSmHdKOmgO8ZjqoSqV/rJWSpc9yxXbhjjs3Gdb6lbF9f0V5OCvQSIBCTtYVYllzfXAXMyqA==", + "dependencies": { + "@ckeditor/ckeditor5-clipboard": "^31.1.0", + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-enter": "^31.1.0", + "@ckeditor/ckeditor5-paragraph": "^31.1.0", + "@ckeditor/ckeditor5-select-all": "^31.1.0", + "@ckeditor/ckeditor5-typing": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-undo": "^31.1.0", + "@ckeditor/ckeditor5-upload": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "@ckeditor/ckeditor5-widget": "^31.1.0" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.7.1" + } + }, + "node_modules/clean-css": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.0.tgz", + "integrity": "sha512-YYuuxv4H/iNb1Z/5IbMRoxgrzjWGhOEFfd+groZ5dMCVkpENiMZmwspdrzBo9286JjM1gZJPAyL7ZIdzuvu2AQ==", + "dev": true, + "dependencies": { + "source-map": "~0.6.0" + }, + "engines": { + "node": ">= 10.0" + } + }, + "node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/cli-boxes": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", + "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-table3": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.2.tgz", + "integrity": "sha512-QyavHCaIC80cMivimWu4aWHilIpiDpfm3hGmqAmXVL1UsnbLuBSMd21hTX6VY4ZSDSM73ESLeF8TOYId3rBTbw==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0" + }, + "engines": { + "node": "10.* || >= 12.*" + }, + "optionalDependencies": { + "@colors/colors": "1.5.0" + } + }, + "node_modules/clipboard": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.10.tgz", + "integrity": "sha512-cz3m2YVwFz95qSEbCDi2fzLN/epEN9zXBvfgAoGkvGOJZATMl9gtTDVOtBYkx2ODUJl2kvmud7n32sV2BpYR4g==", + "dependencies": { + "good-listener": "^1.2.2", + "select": "^1.1.2", + "tiny-emitter": "^2.0.0" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/clone-response": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", + "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", + "dependencies": { + "mimic-response": "^1.0.0" + } + }, + "node_modules/coa": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz", + "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==", + "dev": true, + "dependencies": { + "@types/q": "^1.5.1", + "chalk": "^2.4.1", + "q": "^1.1.2" + }, + "engines": { + "node": ">= 4.0" + } + }, + "node_modules/coa/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/coa/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/coa/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/coa/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/coa/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/coa/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/collect.js": { + "version": "4.32.0", + "resolved": "https://registry.npmjs.org/collect.js/-/collect.js-4.32.0.tgz", + "integrity": "sha512-Ro0fspulC0J325cgFdkzFEkRDs6MmclMy2Fy5adhdFKg5QqMv1nn1zLpCdAxiehlur6Ep08Wr1f7ldNv+fB6+Q==", + "dev": true + }, + "node_modules/color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "dev": true, + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "node_modules/color/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/colord": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.2.tgz", + "integrity": "sha512-Uqbg+J445nc1TKn4FoDPS6ZZqAvEDnwrH42yo8B40JSOgSLxMZ/gt3h4nmCtPLQeXhjJJkqBx7SCY35WnIixaQ==", + "dev": true + }, + "node_modules/colorette": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", + "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", + "dev": true + }, + "node_modules/colors": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/colors/-/colors-0.6.2.tgz", + "integrity": "sha1-JCP+ZnisDF2uiFLl0OW+CMmXq8w=", + "dev": true, + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "engines": { + "node": ">= 10" + } + }, + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "node_modules/component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "peer": true + }, + "node_modules/compressible": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", + "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", + "dev": true, + "dependencies": { + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/compression": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", + "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", + "dev": true, + "dependencies": { + "accepts": "~1.3.5", + "bytes": "3.0.0", + "compressible": "~2.0.16", + "debug": "2.6.9", + "on-headers": "~1.0.2", + "safe-buffer": "5.1.2", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/compression/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/compression/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/concat": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/concat/-/concat-1.0.3.tgz", + "integrity": "sha1-QPM1MInWVGdpXLGIa0Xt1jfYzKg=", + "dev": true, + "dependencies": { + "commander": "^2.9.0" + }, + "bin": { + "concat": "bin/concat" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "node_modules/concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "engines": [ + "node >= 0.8" + ], + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/concat/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/configstore": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", + "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", + "dependencies": { + "dot-prop": "^5.2.0", + "graceful-fs": "^4.1.2", + "make-dir": "^3.0.0", + "unique-string": "^2.0.0", + "write-file-atomic": "^3.0.0", + "xdg-basedir": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/connect-history-api-fallback": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz", + "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==", + "dev": true, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/consola": { + "version": "2.15.3", + "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz", + "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==", + "dev": true + }, + "node_modules/console-browserify": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", + "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==", + "dev": true + }, + "node_modules/constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", + "dev": true + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dev": true, + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-disposition/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/contra": { + "version": "1.9.4", + "resolved": "https://registry.npmjs.org/contra/-/contra-1.9.4.tgz", + "integrity": "sha1-9TveQtfltZhcrk2ZqNYQUm3o8o0=", + "dependencies": { + "atoa": "1.0.0", + "ticky": "1.0.1" + } + }, + "node_modules/convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "dependencies": { + "safe-buffer": "~5.1.1" + } + }, + "node_modules/cookie": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", + "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "node_modules/core-js-compat": { + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.22.0.tgz", + "integrity": "sha512-WwA7xbfRGrk8BGaaHlakauVXrlYmAIkk8PNGb1FDQS+Rbrewc3pgFfwJFRw6psmJVAll7Px9UHRYE16oRQnwAQ==", + "dev": true, + "dependencies": { + "browserslist": "^4.20.2", + "semver": "7.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-js-compat/node_modules/semver": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", + "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "node_modules/cosmiconfig": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", + "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", + "dev": true, + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/countup.js": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/countup.js/-/countup.js-2.1.0.tgz", + "integrity": "sha512-VanMzLEjkt3Hp/ty5BXikM8s4wE3OH4m1AnFro7THR86nYGRvGfGCoV+zrRJcqTbZi7X1egkLSIeUKDz7+4XLA==" + }, + "node_modules/create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "dev": true, + "dependencies": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + } + }, + "node_modules/create-ecdh/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dev": true, + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "node_modules/create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dev": true, + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "node_modules/cropperjs": { + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/cropperjs/-/cropperjs-1.5.12.tgz", + "integrity": "sha512-re7UdjE5UnwdrovyhNzZ6gathI4Rs3KGCBSc8HCIjUo5hO42CtzyblmWLj6QWVw7huHyDMfpKxhiO2II77nhDw==" + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/crossvent": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/crossvent/-/crossvent-1.5.5.tgz", + "integrity": "sha1-rSCHjkkh6b5z2daXb4suzQ9xoLE=", + "dependencies": { + "custom-event": "^1.0.0" + } + }, + "node_modules/crypt": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", + "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "dev": true, + "dependencies": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + }, + "engines": { + "node": "*" + } + }, + "node_modules/crypto-js": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", + "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==" + }, + "node_modules/crypto-random-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", + "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/css-color-names": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", + "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/css-declaration-sorter": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.2.2.tgz", + "integrity": "sha512-Ufadglr88ZLsrvS11gjeu/40Lw74D9Am/Jpr3LlYm5Q4ZP5KdlUhG+6u2EjyXeZcxmZ2h1ebCKngDjolpeLHpg==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.0.9" + } + }, + "node_modules/css-loader": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-5.2.7.tgz", + "integrity": "sha512-Q7mOvpBNBG7YrVGMxRxcBJZFL75o+cH2abNASdibkj/fffYD8qWbInZrD0S9ccI6vZclF3DsHE7njGlLtaHbhg==", + "dev": true, + "dependencies": { + "icss-utils": "^5.1.0", + "loader-utils": "^2.0.0", + "postcss": "^8.2.15", + "postcss-modules-extract-imports": "^3.0.0", + "postcss-modules-local-by-default": "^4.0.0", + "postcss-modules-scope": "^3.0.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.1.0", + "schema-utils": "^3.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.27.0 || ^5.0.0" + } + }, + "node_modules/css-loader/node_modules/schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/css-select": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", + "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.0.1", + "domhandler": "^4.3.1", + "domutils": "^2.8.0", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/css-select-base-adapter": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz", + "integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==", + "dev": true + }, + "node_modules/css-select/node_modules/domhandler": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "dev": true, + "dependencies": { + "domelementtype": "^2.2.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/css-tree": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", + "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", + "dev": true, + "dependencies": { + "mdn-data": "2.0.14", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", + "dev": true, + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/cssfilter": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/cssfilter/-/cssfilter-0.0.10.tgz", + "integrity": "sha1-xtJnJjKi5cg+AT5oZKQs6N79IK4=", + "peer": true + }, + "node_modules/cssnano": { + "version": "5.1.7", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-5.1.7.tgz", + "integrity": "sha512-pVsUV6LcTXif7lvKKW9ZrmX+rGRzxkEdJuVJcp5ftUjWITgwam5LMZOgaTvUrWPkcORBey6he7JKb4XAJvrpKg==", + "dev": true, + "dependencies": { + "cssnano-preset-default": "^5.2.7", + "lilconfig": "^2.0.3", + "yaml": "^1.10.2" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/cssnano" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/cssnano-preset-default": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-5.2.7.tgz", + "integrity": "sha512-JiKP38ymZQK+zVKevphPzNSGHSlTI+AOwlasoSRtSVMUU285O7/6uZyd5NbW92ZHp41m0sSHe6JoZosakj63uA==", + "dev": true, + "dependencies": { + "css-declaration-sorter": "^6.2.2", + "cssnano-utils": "^3.1.0", + "postcss-calc": "^8.2.3", + "postcss-colormin": "^5.3.0", + "postcss-convert-values": "^5.1.0", + "postcss-discard-comments": "^5.1.1", + "postcss-discard-duplicates": "^5.1.0", + "postcss-discard-empty": "^5.1.1", + "postcss-discard-overridden": "^5.1.0", + "postcss-merge-longhand": "^5.1.4", + "postcss-merge-rules": "^5.1.1", + "postcss-minify-font-values": "^5.1.0", + "postcss-minify-gradients": "^5.1.1", + "postcss-minify-params": "^5.1.2", + "postcss-minify-selectors": "^5.2.0", + "postcss-normalize-charset": "^5.1.0", + "postcss-normalize-display-values": "^5.1.0", + "postcss-normalize-positions": "^5.1.0", + "postcss-normalize-repeat-style": "^5.1.0", + "postcss-normalize-string": "^5.1.0", + "postcss-normalize-timing-functions": "^5.1.0", + "postcss-normalize-unicode": "^5.1.0", + "postcss-normalize-url": "^5.1.0", + "postcss-normalize-whitespace": "^5.1.1", + "postcss-ordered-values": "^5.1.1", + "postcss-reduce-initial": "^5.1.0", + "postcss-reduce-transforms": "^5.1.0", + "postcss-svgo": "^5.1.0", + "postcss-unique-selectors": "^5.1.1" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/cssnano-util-get-arguments": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz", + "integrity": "sha1-7ToIKZ8h11dBsg87gfGU7UnMFQ8=", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/cssnano-util-get-match": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz", + "integrity": "sha1-wOTKB/U4a7F+xeUiULT1lhNlFW0=", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/cssnano-util-raw-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz", + "integrity": "sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA==", + "dev": true, + "dependencies": { + "postcss": "^7.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/cssnano-util-raw-cache/node_modules/picocolors": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", + "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", + "dev": true + }, + "node_modules/cssnano-util-raw-cache/node_modules/postcss": { + "version": "7.0.39", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", + "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "dev": true, + "dependencies": { + "picocolors": "^0.2.1", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + } + }, + "node_modules/cssnano-util-same-parent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz", + "integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/cssnano-utils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-3.1.0.tgz", + "integrity": "sha512-JQNR19/YZhz4psLX/rQ9M83e3z2Wf/HdJbryzte4a3NSuafyp9w/I4U+hx5C2S9g41qlstH7DEWnZaaj83OuEA==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/csso": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz", + "integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==", + "dev": true, + "dependencies": { + "css-tree": "^1.1.2" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/custom-event": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", + "integrity": "sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=" + }, + "node_modules/d": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", + "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "node_modules/dash-ast": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/dash-ast/-/dash-ast-2.0.1.tgz", + "integrity": "sha512-5TXltWJGc+RdnabUGzhRae1TRq6m4gr+3K2wQX0is5/F2yS6MJXJvLyI3ErAnsAXuJoGqvfVD5icRgim07DrxQ==" + }, + "node_modules/datatables.net": { + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/datatables.net/-/datatables.net-1.11.5.tgz", + "integrity": "sha512-nlFst2xfwSWaQgaOg5sXVG3cxYC0tH8E8d65289w9ROgF2TmLULOOpcdMpyxxUim/qEwVSEem42RjkTWEpr3eA==", + "dependencies": { + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-bs5": { + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/datatables.net-bs5/-/datatables.net-bs5-1.11.5.tgz", + "integrity": "sha512-1zyh972GtuK1uAb9h8nP3jJ7f/3UgCDq69LAaZS2bVd4mEHECJ6vrZLacxrkOHOs/q/H3v5sEMeZ46vXz8ox4w==", + "dependencies": { + "datatables.net": ">=1.11.3", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-buttons": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/datatables.net-buttons/-/datatables.net-buttons-1.7.1.tgz", + "integrity": "sha512-D2OxZeR18jhSx+l0xcfAJzfUH7l3LHCu0e606fV7+v3hMhphOfljjZYLaiRmGiR9lqO/f5xE/w2a+OtG/QMavw==", + "dependencies": { + "datatables.net": "^1.10.15", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-buttons-bs5": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/datatables.net-buttons-bs5/-/datatables.net-buttons-bs5-1.7.1.tgz", + "integrity": "sha512-T/TqOrB03tK1ENsjYgGZGMKhVAjzk3F8LXC57j4pEjAq77exknI7KL/kgKpXahZnU5T5mABfNxIOcK2ZxolFRA==", + "dependencies": { + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-colreorder": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/datatables.net-colreorder/-/datatables.net-colreorder-1.5.5.tgz", + "integrity": "sha512-AUwv5A/87I4hg7GY/WbhRrDhqng9b019jLvvKutHibSPCEtMDWqyNtuP0q8zYoquqU9UQ1/nqXLW/ld8TzIDYQ==", + "dependencies": { + "datatables.net": ">=1.11.3", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-colreorder-bs5": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/datatables.net-colreorder-bs5/-/datatables.net-colreorder-bs5-1.5.5.tgz", + "integrity": "sha512-WoOV8deN4E12MrCUtAPhV8rYVrX0xHXzVcvJ79Cf3Lvabt6nf9FD9sxJ7SMjfEVIP0A9lUuEdWinftyodcuPAA==", + "dependencies": { + "datatables.net-bs5": ">=1.11.3", + "datatables.net-colreorder": ">=1.5.4", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-datetime": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/datatables.net-datetime/-/datatables.net-datetime-1.1.2.tgz", + "integrity": "sha512-UpmtpQ7oVtMgG0lt0nnwNfYH0YRWOk/SKv4Z+5RI8JX/rJHUQXyt9Li+7U0znmIv+4Vkw8yuUV9n9WRAEOviJQ==" + }, + "node_modules/datatables.net-fixedcolumns": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/datatables.net-fixedcolumns/-/datatables.net-fixedcolumns-3.3.3.tgz", + "integrity": "sha512-xo6MeI2xc/Ufk4ffrpao+OiPo8/GPB8cO80gA6NFgYBVw6eP9pPa2NsV+gSWRVr7d3A8iZC7mUZT5WdtliNHEA==", + "dependencies": { + "datatables.net": "^1.10.15", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-fixedcolumns-bs5": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/datatables.net-fixedcolumns-bs5/-/datatables.net-fixedcolumns-bs5-3.3.3.tgz", + "integrity": "sha512-4dDV0ZL5qLd6tfY9ALL/KDgOO2JUFIq+Yp6yaOf+5LkYxRBiTq3EcXwg2IArwtqFRLsGnMjbuFbpDcIFXPVeUg==", + "dependencies": { + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-fixedheader": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/datatables.net-fixedheader/-/datatables.net-fixedheader-3.2.2.tgz", + "integrity": "sha512-2bA4HXaL+vA/HesknSQcvDcSMzzDJx11lrLCy8Om4YpZBNtpvETFTqcqRgUmPYrSN8Eq5+OhmPpYkbzy5Nu11Q==", + "dependencies": { + "datatables.net": ">=1.11.3", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-fixedheader-bs5": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/datatables.net-fixedheader-bs5/-/datatables.net-fixedheader-bs5-3.2.2.tgz", + "integrity": "sha512-6CftSIMWv5p2gzeEWKdsbEFHkU6/egS2svNxzqCOdgKSNfx4Mx7jkrCDKrCehh8CWlFi6WtWo7qg//GIAReQ+g==", + "dependencies": { + "datatables.net-bs5": ">=1.11.3", + "datatables.net-fixedheader": ">=3.2.0", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-plugins": { + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/datatables.net-plugins/-/datatables.net-plugins-1.11.5.tgz", + "integrity": "sha512-+Rsf/fyLG8GyFqp7Bvd1ElqWGQO3NPsx2VADn9X8QaZbctshGVW0sqvR5V7iHHgY6OY1LR0+t6qIMhan9BM4gA==" + }, + "node_modules/datatables.net-responsive": { + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/datatables.net-responsive/-/datatables.net-responsive-2.2.9.tgz", + "integrity": "sha512-C+mOY/mG17zzaYPtgqAOsC4JlGddGkKmO/ADNEtNZ41bcPV1/3jJzkOWT3DCZ400NmkXLDz4WObWlPT8WCgfzg==", + "dependencies": { + "datatables.net": "^1.10.15", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-responsive-bs5": { + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/datatables.net-responsive-bs5/-/datatables.net-responsive-bs5-2.2.9.tgz", + "integrity": "sha512-2g+gFyQCek/OR1RQTVPVq42NUQ+cGGeGKV6+qALyO6MCGYqJ4oKNb368EmvyHGCCRdEngiaC/1eesmupF0q20w==", + "dependencies": { + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-rowgroup": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/datatables.net-rowgroup/-/datatables.net-rowgroup-1.1.4.tgz", + "integrity": "sha512-Oe9mL3X8RXLOQZblJVWTYD0melyw3xoPeQ3T2x1k2guTFxob8/2caKuzn95oFJau6tvbhsvY/QneTaCzHRKnnQ==", + "dependencies": { + "datatables.net": ">=1.11.3", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-rowgroup-bs5": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/datatables.net-rowgroup-bs5/-/datatables.net-rowgroup-bs5-1.1.4.tgz", + "integrity": "sha512-74A5jKJrZ6FoSNo1fCGyI0xCUyEQVyMEBLhUWgsLC5L8haKOE2eA94fyPAXShcyWg4/iATwpwgJDv6rZSzCQ4g==", + "dependencies": { + "datatables.net-bs5": ">=1.11.3", + "datatables.net-rowgroup": ">=1.1.3", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-rowreorder": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/datatables.net-rowreorder/-/datatables.net-rowreorder-1.2.8.tgz", + "integrity": "sha512-gFNKMa5DtigbjhSs96ZKT3uICC1z87EuLUIYLVPEXHc7v/WVOiQ3AaRvIQtExORPi/jQzxEoO5wO9UGZ0ldsUQ==", + "dependencies": { + "datatables.net": "^1.10.15", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-rowreorder-bs5": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/datatables.net-rowreorder-bs5/-/datatables.net-rowreorder-bs5-1.2.8.tgz", + "integrity": "sha512-5aiTtKokn+dHGcVEfUR9Mp6yCj39KiSddZKEJFrWqXxbZSeigE7X7ac82BUw9Cw+9Vpn59GhmUeguQ5XS2HUrg==", + "dependencies": { + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-scroller": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/datatables.net-scroller/-/datatables.net-scroller-2.0.5.tgz", + "integrity": "sha512-gXxQcbUgDURcxGUCIj+5YBepJJcWWGJgFlewGy/odaAi+H1Ol8TKcXoQD20y2zcO7l5DWEbzNwHwN0bciBONPw==", + "dependencies": { + "datatables.net": ">=1.10.25", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-scroller-bs5": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/datatables.net-scroller-bs5/-/datatables.net-scroller-bs5-2.0.5.tgz", + "integrity": "sha512-hnF/q81WGwAmwVHxlSupkrxJD0UJ1rythh/+fUKkisFMS/BwXA06DxnldbMu9pZGqN0IsaJlaEHDojnSpBhu2w==", + "dependencies": { + "datatables.net-bs5": ">=1.10.25", + "datatables.net-scroller": ">=2.0.4", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-select": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/datatables.net-select/-/datatables.net-select-1.3.4.tgz", + "integrity": "sha512-iQ/dBHIWkhfCBxzNdtef79seCNO1ZsA5zU0Uiw3R2mlwmjcJM1xn6pFNajke6SX7VnlzndGDHGqzzEljSqz4pA==", + "dependencies": { + "datatables.net": ">=1.11.3", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-select-bs5": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/datatables.net-select-bs5/-/datatables.net-select-bs5-1.3.4.tgz", + "integrity": "sha512-fJyFVtDzo4P4oIOUU2vSvYLuegDdSoqJrqPbFaI0DX2O/MYg2H9hXo09UZ7No/pxBJ1NBRCm8Q3U9uyoCBK7RQ==", + "dependencies": { + "datatables.net-bs5": ">=1.11.3", + "datatables.net-select": ">=1.3.3", + "jquery": ">=1.7" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decompress-response": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", + "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", + "dependencies": { + "mimic-response": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/deep-equal": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", + "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", + "dependencies": { + "is-arguments": "^1.0.4", + "is-date-object": "^1.0.1", + "is-regex": "^1.0.4", + "object-is": "^1.0.1", + "object-keys": "^1.1.1", + "regexp.prototype.flags": "^1.2.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + }, + "node_modules/default-gateway": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-6.0.3.tgz", + "integrity": "sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==", + "dev": true, + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/defer-to-connect": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", + "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" + }, + "node_modules/define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/define-properties": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", + "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", + "dependencies": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/del": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/del/-/del-6.0.0.tgz", + "integrity": "sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ==", + "dependencies": { + "globby": "^11.0.1", + "graceful-fs": "^4.2.4", + "is-glob": "^4.0.1", + "is-path-cwd": "^2.2.0", + "is-path-inside": "^3.0.2", + "p-map": "^4.0.0", + "rimraf": "^3.0.2", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/delegate": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz", + "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==" + }, + "node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "node_modules/detect-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", + "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", + "dev": true + }, + "node_modules/dfa": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/dfa/-/dfa-1.2.0.tgz", + "integrity": "sha512-ED3jP8saaweFTjeGX8HQPjeC1YYyZs98jGNZx6IiBvxW7JG5v492kamAQB3m2wop07CvU/RQmzcKr6bgcC5D/Q==" + }, + "node_modules/diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dev": true, + "dependencies": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "node_modules/diffie-hellman/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dns-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", + "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=", + "dev": true + }, + "node_modules/dns-packet": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.3.1.tgz", + "integrity": "sha512-spBwIj0TK0Ey3666GwIdWVfUpLyubpU53BTCu8iPn4r4oXd9O14Hjg3EHw3ts2oed77/SeckunUYCyRlSngqHw==", + "dev": true, + "dependencies": { + "@leichtgewicht/ip-codec": "^2.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/dom-serializer": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", + "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", + "dev": true, + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/dom-serializer/node_modules/domhandler": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "dev": true, + "dependencies": { + "domelementtype": "^2.2.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true, + "engines": { + "node": ">=0.4", + "npm": ">=1.2" + } + }, + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] + }, + "node_modules/domhandler": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", + "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", + "dev": true, + "dependencies": { + "domelementtype": "^2.0.1" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domutils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "dev": true, + "dependencies": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/domutils/node_modules/domhandler": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "dev": true, + "dependencies": { + "domelementtype": "^2.2.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/dot-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz", + "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==", + "dev": true, + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dependencies": { + "is-obj": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dotenv": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", + "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/dotenv-expand": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-5.1.0.tgz", + "integrity": "sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==", + "dev": true + }, + "node_modules/dragula": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/dragula/-/dragula-3.7.3.tgz", + "integrity": "sha512-/rRg4zRhcpf81TyDhaHLtXt6sEywdfpv1cRUMeFFy7DuypH2U0WUL0GTdyAQvXegviT4PJK4KuMmOaIDpICseQ==", + "dependencies": { + "contra": "1.9.4", + "crossvent": "1.5.5" + } + }, + "node_modules/dropzone": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/dropzone/-/dropzone-5.9.3.tgz", + "integrity": "sha512-Azk8kD/2/nJIuVPK+zQ9sjKMRIpRvNyqn9XwbBHNq+iNuSccbJS6hwm1Woy0pMST0erSo0u4j+KJaodndDk4vA==" + }, + "node_modules/duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", + "dependencies": { + "readable-stream": "^2.0.2" + } + }, + "node_modules/duplexer3": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", + "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "node_modules/electron-to-chromium": { + "version": "1.4.113", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.113.tgz", + "integrity": "sha512-s30WKxp27F3bBH6fA07FYL2Xm/FYnYrKpMjHr3XVCTUb9anAyZn/BeZfPWgTZGAbJeT4NxNwISSbLcYZvggPMA==", + "dev": true + }, + "node_modules/elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dev": true, + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz", + "integrity": "sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/entities": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "dev": true, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/envinfo": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", + "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", + "dev": true, + "bin": { + "envinfo": "dist/cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-abstract": { + "version": "1.19.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.5.tgz", + "integrity": "sha512-Aa2G2+Rd3b6kxEUKTF4TaW67czBLyAv3z7VOhYRU50YBx+bbsYZ9xQP4lMNazePuFlybXI0V4MruPos7qUo5fA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-module-lexer": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", + "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", + "dev": true + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es5-ext": { + "version": "0.10.60", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.60.tgz", + "integrity": "sha512-jpKNXIt60htYG59/9FGf2PYT3pwMpnEbNKysU+k/4FGwyGtMotOvcZOuW+EmXXYASRqYSXQfGL5cVIthOTgbkg==", + "hasInstallScript": true, + "dependencies": { + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.3", + "next-tick": "^1.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "node_modules/es6-map": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", + "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14", + "es6-iterator": "~2.0.1", + "es6-set": "~0.1.5", + "es6-symbol": "~3.1.1", + "event-emitter": "~0.3.5" + } + }, + "node_modules/es6-promise": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", + "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" + }, + "node_modules/es6-promise-polyfill": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/es6-promise-polyfill/-/es6-promise-polyfill-1.2.0.tgz", + "integrity": "sha1-84kl8jyz4+jObNqP93T867sJDN4=" + }, + "node_modules/es6-set": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", + "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14", + "es6-iterator": "~2.0.1", + "es6-symbol": "3.1.1", + "event-emitter": "~0.3.5" + } + }, + "node_modules/es6-set/node_modules/es6-symbol": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", + "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "node_modules/es6-shim": { + "version": "0.35.6", + "resolved": "https://registry.npmjs.org/es6-shim/-/es6-shim-0.35.6.tgz", + "integrity": "sha512-EmTr31wppcaIAgblChZiuN/l9Y7DPyw8Xtbg7fIVngn6zMW+IEBJDJngeKC3x6wr0V/vcA2wqeFnaw1bFJbDdA==" + }, + "node_modules/es6-symbol": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", + "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-goat": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", + "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/escodegen": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.2.0.tgz", + "integrity": "sha1-Cd55Z3kcyVi3+Jot220jRRrzJ+E=", + "dependencies": { + "esprima": "~1.0.4", + "estraverse": "~1.5.0", + "esutils": "~1.0.0" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=0.4.0" + }, + "optionalDependencies": { + "source-map": "~0.1.30" + } + }, + "node_modules/escodegen/node_modules/esutils": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-1.0.0.tgz", + "integrity": "sha1-gVHTWOIMisx/t0XnRywAJf5JZXA=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/escodegen/node_modules/source-map": { + "version": "0.1.43", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", + "optional": true, + "dependencies": { + "amdefine": ">=0.0.4" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-scope/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esprima": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz", + "integrity": "sha1-n1V+CPw7TSbs6d00+Pv0drYlha0=", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esri-leaflet": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/esri-leaflet/-/esri-leaflet-3.0.8.tgz", + "integrity": "sha512-mLb4pRfDAbkG1YhuajD22erLXIAtrF1R32hmgmlJNI3t47n6KjTppCb8lViia0O7+GDORXFuJ9Lj9RkpsaKhSA==", + "dependencies": { + "@terraformer/arcgis": "^2.1.0", + "tiny-binary-search": "^1.0.3" + }, + "peerDependencies": { + "leaflet": "^1.0.0" + } + }, + "node_modules/esri-leaflet-geocoder": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/esri-leaflet-geocoder/-/esri-leaflet-geocoder-3.1.3.tgz", + "integrity": "sha512-XuorBaPKOq2XBswyWS3fX4I0EyGamdQsao/NQbn+9wlCZtpDrpIn2iKLY7x4uOaPC4wCjE/rskli8UMCVwlZrg==", + "dependencies": { + "esri-leaflet": "^3.0.2", + "leaflet": "^1.0.0" + } + }, + "node_modules/estraverse": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.5.1.tgz", + "integrity": "sha1-hno+jlip+EYYr7bC3bzZFrfLr3E=", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/estree-is-function": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/estree-is-function/-/estree-is-function-1.0.0.tgz", + "integrity": "sha512-nSCWn1jkSq2QAtkaVLJZY2ezwcFO161HVc174zL1KPW3RJ+O6C3eJb8Nx7OXzvhoEv+nLgSR1g71oWUHUDTrJA==" + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "node_modules/eventemitter3": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.3.tgz", + "integrity": "sha1-teEHm1n7XhuidxwKmTvgYKWMmbo=" + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dev": true, + "dependencies": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/execa/node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/express": { + "version": "4.17.3", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.3.tgz", + "integrity": "sha512-yuSQpz5I+Ch7gFrPCk4/c+dIBKlQUxtgwqzph132bsT6qhuzss6I8cLJQz7B3rFblzd6wtcI0ZbGltH/C4LjUg==", + "dev": true, + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.19.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.4.2", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.9.7", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/express/node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/express/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/ext": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz", + "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==", + "dependencies": { + "type": "^2.5.0" + } + }, + "node_modules/ext/node_modules/type": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/type/-/type-2.6.0.tgz", + "integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==" + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-diff": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz", + "integrity": "sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig==" + }, + "node_modules/fast-glob": { + "version": "3.2.11", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", + "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" + }, + "node_modules/fastest-levenshtein": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", + "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", + "dev": true + }, + "node_modules/fastq": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", + "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/faye-websocket": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", + "integrity": "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==", + "dev": true, + "dependencies": { + "websocket-driver": ">=0.5.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/file-loader": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz", + "integrity": "sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==", + "dev": true, + "dependencies": { + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/file-loader/node_modules/schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/file-type": { + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-12.4.2.tgz", + "integrity": "sha512-UssQP5ZgIOKelfsaB5CuGAL+Y+q7EmONuiwF3N5HAH0t27rvrttgi6Ra9k/+DVaY9UF6+ybxu5pOXLUdA8N7Vg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "dev": true, + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/find-cache-dir": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", + "dev": true, + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" + } + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/findup": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/findup/-/findup-0.1.5.tgz", + "integrity": "sha1-itkpozk7rGJ5V6fl3kYjsGsOLOs=", + "dev": true, + "dependencies": { + "colors": "~0.6.0-1", + "commander": "~2.1.0" + }, + "bin": { + "findup": "bin/findup.js" + }, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/findup/node_modules/commander": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.1.0.tgz", + "integrity": "sha1-0SG7roYNmZKj1Re6lvVliOR8Z4E=", + "dev": true, + "engines": { + "node": ">= 0.6.x" + } + }, + "node_modules/flatpickr": { + "version": "4.6.13", + "resolved": "https://registry.npmjs.org/flatpickr/-/flatpickr-4.6.13.tgz", + "integrity": "sha512-97PMG/aywoYpB4IvbvUJi0RQi8vearvU0oov1WW3k0WZPBMrTQVqekSX5CjSG/M4Q3i6A/0FKXC7RyAoAUUSPw==" + }, + "node_modules/flot": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/flot/-/flot-4.2.2.tgz", + "integrity": "sha512-Strct/A27o0TA25X7Z0pxKhwK4djiP1Kjeqj0tkiqrkRu1qYPqfbp5BYuxEL8CWDNtj85Uc0PnG2E2plo1+VMg==" + }, + "node_modules/follow-redirects": { + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fraction.js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", + "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", + "dev": true, + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://www.patreon.com/infusion" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/fs-monkey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.3.tgz", + "integrity": "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==", + "dev": true + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/fslightbox": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fslightbox/-/fslightbox-3.3.1.tgz", + "integrity": "sha512-r8mS2lnqw+4F7fQmIXZ4Y+tulxqGsZyG7wzMhWKl8MHvVZRJnclUyt+n+hfTkUa+e1bvlzpw4tY/X9mwqC4wCg==" + }, + "node_modules/fullcalendar": { + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/fullcalendar/-/fullcalendar-5.11.0.tgz", + "integrity": "sha512-R3yQMKJtP6jWZ3o9fNB0WUOl6Oi+vus3ciLtt3eva7ISutkMm6nE4lA+xhfTS3OIevxVQOv0O646R6G8o7sMXA==" + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-assigned-identifiers": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz", + "integrity": "sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ==" + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true + }, + "node_modules/global-dirs": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz", + "integrity": "sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==", + "dependencies": { + "ini": "2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/globalyzer": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz", + "integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==" + }, + "node_modules/globby": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz", + "integrity": "sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==", + "dev": true, + "dependencies": { + "@types/glob": "^7.1.1", + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.0.3", + "glob": "^7.1.3", + "ignore": "^5.1.1", + "merge2": "^1.2.3", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/globrex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz", + "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==" + }, + "node_modules/good-listener": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz", + "integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=", + "dependencies": { + "delegate": "^3.1.2" + } + }, + "node_modules/got": { + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", + "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", + "dependencies": { + "@sindresorhus/is": "^0.14.0", + "@szmarczak/http-timer": "^1.1.2", + "cacheable-request": "^6.0.0", + "decompress-response": "^3.3.0", + "duplexer3": "^0.1.4", + "get-stream": "^4.1.0", + "lowercase-keys": "^1.0.1", + "mimic-response": "^1.0.1", + "p-cancelable": "^1.0.0", + "to-readable-stream": "^1.0.0", + "url-parse-lax": "^3.0.0" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + }, + "node_modules/growly": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", + "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=", + "dev": true + }, + "node_modules/handle-thing": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", + "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", + "dev": true + }, + "node_modules/handlebars": { + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.0", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-ansi/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dependencies": { + "get-intrinsic": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-yarn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", + "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/hash-base/node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/hash-base/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/hash-sum": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-1.0.2.tgz", + "integrity": "sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ=", + "dev": true + }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "bin": { + "he": "bin/he" + } + }, + "node_modules/hex-color-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz", + "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==", + "dev": true + }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dev": true, + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/hpack.js": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", + "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "obuf": "^1.0.0", + "readable-stream": "^2.0.1", + "wbuf": "^1.1.0" + } + }, + "node_modules/hsl-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/hsl-regex/-/hsl-regex-1.0.0.tgz", + "integrity": "sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4=", + "dev": true + }, + "node_modules/hsla-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/hsla-regex/-/hsla-regex-1.0.0.tgz", + "integrity": "sha1-wc56MWjIxmFAM6S194d/OyJfnDg=", + "dev": true + }, + "node_modules/html-entities": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.3.tgz", + "integrity": "sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA==", + "dev": true + }, + "node_modules/html-loader": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/html-loader/-/html-loader-1.3.2.tgz", + "integrity": "sha512-DEkUwSd0sijK5PF3kRWspYi56XP7bTNkyg5YWSzBdjaSDmvCufep5c4Vpb3PBf6lUL0YPtLwBfy9fL0t5hBAGA==", + "dev": true, + "dependencies": { + "html-minifier-terser": "^5.1.1", + "htmlparser2": "^4.1.0", + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/html-loader/node_modules/schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/html-minifier-terser": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz", + "integrity": "sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg==", + "dev": true, + "dependencies": { + "camel-case": "^4.1.1", + "clean-css": "^4.2.3", + "commander": "^4.1.1", + "he": "^1.2.0", + "param-case": "^3.0.3", + "relateurl": "^0.2.7", + "terser": "^4.6.3" + }, + "bin": { + "html-minifier-terser": "cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/html-minifier-terser/node_modules/clean-css": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.4.tgz", + "integrity": "sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==", + "dev": true, + "dependencies": { + "source-map": "~0.6.0" + }, + "engines": { + "node": ">= 4.0" + } + }, + "node_modules/html-minifier-terser/node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/html-minifier-terser/node_modules/terser": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", + "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", + "dev": true, + "dependencies": { + "commander": "^2.20.0", + "source-map": "~0.6.1", + "source-map-support": "~0.5.12" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/html-minifier-terser/node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/htmlparser2": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-4.1.0.tgz", + "integrity": "sha512-4zDq1a1zhE4gQso/c5LP1OtrhYTncXNSpvJYtWJBtXAETPlMfi3IFNjGuQbYLuVY4ZR0QMqRVvo4Pdy9KLyP8Q==", + "dev": true, + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^3.0.0", + "domutils": "^2.0.0", + "entities": "^2.0.0" + } + }, + "node_modules/http-cache-semantics": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" + }, + "node_modules/http-deceiver": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", + "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=", + "dev": true + }, + "node_modules/http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "dev": true, + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/http-parser-js": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.6.tgz", + "integrity": "sha512-vDlkRPDJn93swjcjqMSaGSPABbIarsr1TLAui/gLDXzV5VsJNdXNzMYDyNBLQkjWQCJ1uizu8T2oDMhmGt0PRA==", + "dev": true + }, + "node_modules/http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dev": true, + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/http-proxy-middleware": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.5.tgz", + "integrity": "sha512-ORErEaxkjyrhifofwCuQttHPUSestLtiPDwV0qQOFB0ww6695H953wIGRnkakw1K+GAP+t8/RPbfDB75RFL4Fg==", + "dev": true, + "dependencies": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } + } + }, + "node_modules/http-proxy/node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, + "node_modules/https-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", + "dev": true + }, + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/icss-utils": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", + "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/ignore": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", + "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/ignore-by-default": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", + "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=" + }, + "node_modules/imagemin": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/imagemin/-/imagemin-7.0.1.tgz", + "integrity": "sha512-33AmZ+xjZhg2JMCe+vDf6a9mzWukE7l+wAtesjE7KyteqqKjzxv7aVQeWnul1Ve26mWvEQqyPwl0OctNBfSR9w==", + "dev": true, + "dependencies": { + "file-type": "^12.0.0", + "globby": "^10.0.0", + "graceful-fs": "^4.2.2", + "junk": "^3.1.0", + "make-dir": "^3.0.0", + "p-pipe": "^3.0.0", + "replace-ext": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/img-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/img-loader/-/img-loader-4.0.0.tgz", + "integrity": "sha512-UwRcPQdwdOyEHyCxe1V9s9YFwInwEWCpoO+kJGfIqDrBDqA8jZUsEZTxQ0JteNPGw/Gupmwesk2OhLTcnw6tnQ==", + "dev": true, + "dependencies": { + "loader-utils": "^1.1.0" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "imagemin": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/img-loader/node_modules/json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/img-loader/node_modules/loader-utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", + "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=" + }, + "node_modules/immutable": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.0.0.tgz", + "integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==", + "dev": true + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-lazy": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", + "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", + "engines": { + "node": ">=4" + } + }, + "node_modules/import-local": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", + "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "dev": true, + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/indexes-of": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", + "dev": true + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ini": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", + "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/inputmask": { + "version": "5.0.7", + "resolved": "https://registry.npmjs.org/inputmask/-/inputmask-5.0.7.tgz", + "integrity": "sha512-rUxbRDS25KEib+c/Ow+K01oprU/+EK9t9SOPC8ov94/ftULGDqj1zOgRU/Hko6uzoKRMdwCfuhAafJ/Wk2wffQ==" + }, + "node_modules/internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/interpret": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", + "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/ipaddr.js": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", + "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/is-absolute-url": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz", + "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "node_modules/is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dependencies": { + "ci-info": "^2.0.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/is-color-stop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz", + "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=", + "dev": true, + "dependencies": { + "css-color-names": "^0.0.4", + "hex-color-regex": "^1.1.0", + "hsl-regex": "^1.0.0", + "hsla-regex": "^1.0.0", + "rgb-regex": "^1.0.1", + "rgba-regex": "^1.0.0" + } + }, + "node_modules/is-core-module": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", + "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-installed-globally": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", + "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", + "dependencies": { + "global-dirs": "^3.0.0", + "is-path-inside": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-npm": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-5.0.0.tgz", + "integrity": "sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-path-cwd": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", + "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-resolvable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", + "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==", + "dev": true + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-yarn-global": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", + "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==" + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/jkanban": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jkanban/-/jkanban-1.3.1.tgz", + "integrity": "sha512-5M2nQuLnYTW8ZWAj0Gzes0BVYKE2BmpvJ+wc4Kv5/WZ4A+NYH/Njw3UJbW8hnClgrRVyHbeVNe3Q4gvZzoNjaw==", + "dependencies": { + "dragula": "^3.7.3", + "npm-watch": "^0.7.0" + } + }, + "node_modules/jquery": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz", + "integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==" + }, + "node_modules/jquery.repeater": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/jquery.repeater/-/jquery.repeater-1.2.1.tgz", + "integrity": "sha1-6ihKaTdL9EeNwuYK9ecFsWnLFRQ=" + }, + "node_modules/js-base64": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz", + "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", + "dev": true + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/js-yaml/node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-buffer": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", + "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" + }, + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jstree": { + "version": "3.3.12", + "resolved": "https://registry.npmjs.org/jstree/-/jstree-3.3.12.tgz", + "integrity": "sha512-vHNLWkUr02ZYH7RcIckvhtLUtneWCVEtIKpIp2G9WtRh01ITv18EoNtNQcFG3ozM+oK6wp1Z300gSLXNQWCqGA==", + "dependencies": { + "jquery": ">=1.9.1" + } + }, + "node_modules/jszip": { + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.9.1.tgz", + "integrity": "sha512-H9A60xPqJ1CuC4Ka6qxzXZeU8aNmgOeP5IFqwJbQQwtu2EUYxota3LdsiZWplF7Wgd9tkAd0mdu36nceSaPuYw==", + "dependencies": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "set-immediate-shim": "~1.0.1" + } + }, + "node_modules/junk": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/junk/-/junk-3.1.0.tgz", + "integrity": "sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/keycharm": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/keycharm/-/keycharm-0.4.0.tgz", + "integrity": "sha512-TyQTtsabOVv3MeOpR92sIKk/br9wxS+zGj4BG7CR8YbK4jM3tyIBaF0zhzeBUMx36/Q/iQLOKKOT+3jOQtemRQ==", + "peer": true + }, + "node_modules/keyv": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", + "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", + "dependencies": { + "json-buffer": "3.0.0" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/klona": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz", + "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/laravel-mix": { + "version": "6.0.43", + "resolved": "https://registry.npmjs.org/laravel-mix/-/laravel-mix-6.0.43.tgz", + "integrity": "sha512-SOO+C1aOpVSAUs30DYc6k/e0QJxfyD42aav4IKJtE5UZKw9ROWcVzkVoek2J475jNeNnl7GkoLAC27gejZsQ8g==", + "dev": true, + "dependencies": { + "@babel/core": "^7.15.8", + "@babel/plugin-proposal-object-rest-spread": "^7.15.6", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-transform-runtime": "^7.15.8", + "@babel/preset-env": "^7.15.8", + "@babel/runtime": "^7.15.4", + "@types/babel__core": "^7.1.16", + "@types/clean-css": "^4.2.5", + "@types/imagemin-gifsicle": "^7.0.1", + "@types/imagemin-mozjpeg": "^8.0.1", + "@types/imagemin-optipng": "^5.2.1", + "@types/imagemin-svgo": "^8.0.0", + "autoprefixer": "^10.4.0", + "babel-loader": "^8.2.3", + "chalk": "^4.1.2", + "chokidar": "^3.5.2", + "clean-css": "^5.2.4", + "cli-table3": "^0.6.0", + "collect.js": "^4.28.5", + "commander": "^7.2.0", + "concat": "^1.0.3", + "css-loader": "^5.2.6", + "cssnano": "^5.0.8", + "dotenv": "^10.0.0", + "dotenv-expand": "^5.1.0", + "file-loader": "^6.2.0", + "fs-extra": "^10.0.0", + "glob": "^7.2.0", + "html-loader": "^1.3.2", + "imagemin": "^7.0.1", + "img-loader": "^4.0.0", + "lodash": "^4.17.21", + "md5": "^2.3.0", + "mini-css-extract-plugin": "^1.6.2", + "node-libs-browser": "^2.2.1", + "postcss-load-config": "^3.1.0", + "postcss-loader": "^6.2.0", + "semver": "^7.3.5", + "strip-ansi": "^6.0.0", + "style-loader": "^2.0.0", + "terser": "^5.9.0", + "terser-webpack-plugin": "^5.2.4", + "vue-style-loader": "^4.1.3", + "webpack": "^5.60.0", + "webpack-cli": "^4.9.1", + "webpack-dev-server": "^4.7.3", + "webpack-merge": "^5.8.0", + "webpack-notifier": "^1.14.1", + "webpackbar": "^5.0.0-3", + "yargs": "^17.2.1" + }, + "bin": { + "laravel-mix": "bin/cli.js", + "mix": "bin/cli.js" + }, + "engines": { + "node": ">=12.14.0" + }, + "peerDependencies": { + "@babel/core": "^7.15.8", + "@babel/plugin-proposal-object-rest-spread": "^7.15.6", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-transform-runtime": "^7.15.8", + "@babel/preset-env": "^7.15.8", + "postcss": "^8.3.11", + "webpack": "^5.60.0", + "webpack-cli": "^4.9.1" + } + }, + "node_modules/latest-version": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", + "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", + "dependencies": { + "package-json": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/leaflet": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.8.0.tgz", + "integrity": "sha512-gwhMjFCQiYs3x/Sf+d49f10ERXaEFCPr+nVTryhAW8DWbMGqJqt9G4XuIaHmFW08zYvhgdzqXGr8AlW8v8dQkA==" + }, + "node_modules/levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "dependencies": { + "immediate": "~3.0.5" + } + }, + "node_modules/lilconfig": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.5.tgz", + "integrity": "sha512-xaYmXZtTHPAw5m+xLN8ab9C+3a8YmV3asNSPOATITbtwrfbwaLJj8h66H1WMIpALCkqsIzK3h7oQ+PdX+LQ9Eg==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/line-awesome": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/line-awesome/-/line-awesome-1.3.0.tgz", + "integrity": "sha512-Y0YHksL37ixDsHz+ihCwOtF5jwJgCDxQ3q+zOVgaSW8VugHGTsZZXMacPYZB1/JULBi6BAuTCTek+4ZY/UIwcw==" + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "node_modules/loader-runner": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "dev": true, + "engines": { + "node": ">=6.11.5" + } + }, + "node_modules/loader-utils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz", + "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", + "dev": true + }, + "node_modules/lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "dev": true + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=", + "dev": true + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "peer": true, + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lower-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", + "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, + "node_modules/lowercase-keys": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/magic-string": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.1.tgz", + "integrity": "sha512-sCuTz6pYom8Rlt4ISPFn6wuFodbKMIHUMv4Qko9P17dpxb7s52KJTmRuZZqHdGmLCK9AOcDare039nRIcfdkEg==", + "dependencies": { + "sourcemap-codec": "^1.4.1" + } + }, + "node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/md5": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", + "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", + "dev": true, + "dependencies": { + "charenc": "0.0.2", + "crypt": "0.0.2", + "is-buffer": "~1.1.6" + } + }, + "node_modules/md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dev": true, + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/mdn-data": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", + "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==", + "dev": true + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/memfs": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.1.tgz", + "integrity": "sha512-1c9VPVvW5P7I85c35zAdEr1TD5+F11IToIHIlrVIcflfnzPkJa0ZoYEoEdYDP8KgPFoSZ/opDrUsAoZWym3mtw==", + "dev": true, + "dependencies": { + "fs-monkey": "1.0.3" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "node_modules/merge-source-map": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.0.4.tgz", + "integrity": "sha1-pd5GU42uhNQRTMXqArR3KmNGcB8=", + "dependencies": { + "source-map": "^0.5.6" + } + }, + "node_modules/merge-source-map/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dev": true, + "dependencies": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "bin": { + "miller-rabin": "bin/miller-rabin" + } + }, + "node_modules/miller-rabin/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/mimic-response": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", + "engines": { + "node": ">=4" + } + }, + "node_modules/mini-css-extract-plugin": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-1.6.2.tgz", + "integrity": "sha512-WhDvO3SjGm40oV5y26GjMJYjd2UMqrLAGKy5YS2/3QKJy2F7jgynuHTir/tgUUOiNQu5saXHdc8reo7YuhhT4Q==", + "dev": true, + "dependencies": { + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0", + "webpack-sources": "^1.1.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.4.0 || ^5.0.0" + } + }, + "node_modules/mini-css-extract-plugin/node_modules/schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", + "dev": true + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + }, + "node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/moment": { + "version": "2.29.3", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz", + "integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw==", + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/multicast-dns": { + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.4.tgz", + "integrity": "sha512-XkCYOU+rr2Ft3LI6w4ye51M3VK31qJXFIxu0XLw169PtKG0Zx47OrXeVW/GCYOfpC9s1yyyf1S+L8/4LY0J9Zw==", + "dev": true, + "dependencies": { + "dns-packet": "^5.2.2", + "thunky": "^1.0.2" + }, + "bin": { + "multicast-dns": "cli.js" + } + }, + "node_modules/nanoid": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", + "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "dev": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + }, + "node_modules/next-tick": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", + "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" + }, + "node_modules/no-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", + "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", + "dev": true, + "dependencies": { + "lower-case": "^2.0.2", + "tslib": "^2.0.3" + } + }, + "node_modules/node-forge": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", + "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", + "dev": true, + "engines": { + "node": ">= 6.13.0" + } + }, + "node_modules/node-libs-browser": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", + "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", + "dev": true, + "dependencies": { + "assert": "^1.1.1", + "browserify-zlib": "^0.2.0", + "buffer": "^4.3.0", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.11.0", + "domain-browser": "^1.1.1", + "events": "^3.0.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "0.0.1", + "process": "^0.11.10", + "punycode": "^1.2.4", + "querystring-es3": "^0.2.0", + "readable-stream": "^2.3.3", + "stream-browserify": "^2.0.1", + "stream-http": "^2.7.2", + "string_decoder": "^1.0.0", + "timers-browserify": "^2.0.4", + "tty-browserify": "0.0.0", + "url": "^0.11.0", + "util": "^0.11.0", + "vm-browserify": "^1.0.1" + } + }, + "node_modules/node-notifier": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-9.0.1.tgz", + "integrity": "sha512-fPNFIp2hF/Dq7qLDzSg4vZ0J4e9v60gJR+Qx7RbjbWqzPDdEqeVpEx5CFeDAELIl+A/woaaNn1fQ5nEVerMxJg==", + "dev": true, + "dependencies": { + "growly": "^1.3.0", + "is-wsl": "^2.2.0", + "semver": "^7.3.2", + "shellwords": "^0.1.1", + "uuid": "^8.3.0", + "which": "^2.0.2" + } + }, + "node_modules/node-releases": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.3.tgz", + "integrity": "sha512-maHFz6OLqYxz+VQyCAtA3PTX4UP/53pa05fyDNc9CwjvJ0yEh6+xBwKsgCxMNhS8taUKBFYxfuiaD9U/55iFaw==", + "dev": true + }, + "node_modules/node-watch": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/node-watch/-/node-watch-0.7.3.tgz", + "integrity": "sha512-3l4E8uMPY1HdMMryPRUAl+oIHtXtyiTlIiESNSVSNxcPfzAFzeTbXFQkZfAwBbo0B1qMSG8nUABx+Gd+YrbKrQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/nodemon": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.15.tgz", + "integrity": "sha512-gdHMNx47Gw7b3kWxJV64NI+Q5nfl0y5DgDbiVtShiwa7Z0IZ07Ll4RLFo6AjrhzMtoEZn5PDE3/c2AbVsiCkpA==", + "hasInstallScript": true, + "dependencies": { + "chokidar": "^3.5.2", + "debug": "^3.2.7", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.0.4", + "pstree.remy": "^1.1.8", + "semver": "^5.7.1", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.5", + "update-notifier": "^5.1.0" + }, + "bin": { + "nodemon": "bin/nodemon.js" + }, + "engines": { + "node": ">=8.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nodemon" + } + }, + "node_modules/nodemon/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/nodemon/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "engines": { + "node": ">=4" + } + }, + "node_modules/nodemon/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/nodemon/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/nopt": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", + "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "*" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-url": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nouislider": { + "version": "15.5.1", + "resolved": "https://registry.npmjs.org/nouislider/-/nouislider-15.5.1.tgz", + "integrity": "sha512-V8LNPhLPXLNjkgXLfyzDRGDeKvzZeaiIx5YagMiHnOMqgcRzT75jqvEZYXbSrEffXouwcEShSd8Vllm2Nkwqew==" + }, + "node_modules/npm": { + "version": "7.24.2", + "resolved": "https://registry.npmjs.org/npm/-/npm-7.24.2.tgz", + "integrity": "sha512-120p116CE8VMMZ+hk8IAb1inCPk4Dj3VZw29/n2g6UI77urJKVYb7FZUDW8hY+EBnfsjI/2yrobBgFyzo7YpVQ==", + "bundleDependencies": [ + "@isaacs/string-locale-compare", + "@npmcli/arborist", + "@npmcli/ci-detect", + "@npmcli/config", + "@npmcli/map-workspaces", + "@npmcli/package-json", + "@npmcli/run-script", + "abbrev", + "ansicolors", + "ansistyles", + "archy", + "cacache", + "chalk", + "chownr", + "cli-columns", + "cli-table3", + "columnify", + "fastest-levenshtein", + "glob", + "graceful-fs", + "hosted-git-info", + "ini", + "init-package-json", + "is-cidr", + "json-parse-even-better-errors", + "libnpmaccess", + "libnpmdiff", + "libnpmexec", + "libnpmfund", + "libnpmhook", + "libnpmorg", + "libnpmpack", + "libnpmpublish", + "libnpmsearch", + "libnpmteam", + "libnpmversion", + "make-fetch-happen", + "minipass", + "minipass-pipeline", + "mkdirp", + "mkdirp-infer-owner", + "ms", + "node-gyp", + "nopt", + "npm-audit-report", + "npm-install-checks", + "npm-package-arg", + "npm-pick-manifest", + "npm-profile", + "npm-registry-fetch", + "npm-user-validate", + "npmlog", + "opener", + "pacote", + "parse-conflict-json", + "qrcode-terminal", + "read", + "read-package-json", + "read-package-json-fast", + "readdir-scoped-modules", + "rimraf", + "semver", + "ssri", + "tar", + "text-table", + "tiny-relative-date", + "treeverse", + "validate-npm-package-name", + "which", + "write-file-atomic" + ], + "dependencies": { + "@isaacs/string-locale-compare": "*", + "@npmcli/arborist": "*", + "@npmcli/ci-detect": "*", + "@npmcli/config": "*", + "@npmcli/map-workspaces": "*", + "@npmcli/package-json": "*", + "@npmcli/run-script": "*", + "abbrev": "*", + "ansicolors": "*", + "ansistyles": "*", + "archy": "*", + "cacache": "*", + "chalk": "*", + "chownr": "*", + "cli-columns": "*", + "cli-table3": "*", + "columnify": "*", + "fastest-levenshtein": "*", + "glob": "*", + "graceful-fs": "*", + "hosted-git-info": "*", + "ini": "*", + "init-package-json": "*", + "is-cidr": "*", + "json-parse-even-better-errors": "*", + "libnpmaccess": "*", + "libnpmdiff": "*", + "libnpmexec": "*", + "libnpmfund": "*", + "libnpmhook": "*", + "libnpmorg": "*", + "libnpmpack": "*", + "libnpmpublish": "*", + "libnpmsearch": "*", + "libnpmteam": "*", + "libnpmversion": "*", + "make-fetch-happen": "*", + "minipass": "*", + "minipass-pipeline": "*", + "mkdirp": "*", + "mkdirp-infer-owner": "*", + "ms": "*", + "node-gyp": "*", + "nopt": "*", + "npm-audit-report": "*", + "npm-install-checks": "*", + "npm-package-arg": "*", + "npm-pick-manifest": "*", + "npm-profile": "*", + "npm-registry-fetch": "*", + "npm-user-validate": "*", + "npmlog": "*", + "opener": "*", + "pacote": "*", + "parse-conflict-json": "*", + "qrcode-terminal": "*", + "read": "*", + "read-package-json": "*", + "read-package-json-fast": "*", + "readdir-scoped-modules": "*", + "rimraf": "*", + "semver": "*", + "ssri": "*", + "tar": "*", + "text-table": "*", + "tiny-relative-date": "*", + "treeverse": "*", + "validate-npm-package-name": "*", + "which": "*", + "write-file-atomic": "*" + }, + "bin": { + "npm": "bin/npm-cli.js", + "npx": "bin/npx-cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm-watch": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/npm-watch/-/npm-watch-0.7.0.tgz", + "integrity": "sha512-AN2scNyMljMGkn0mIkaRRk19I7Vx0qTK6GmsIcDblX5YRbSsoJORTAtrceICSx7Om9q48NWcwm/R0t6E7F4Ocg==", + "dependencies": { + "nodemon": "^2.0.3", + "through2": "^2.0.0" + }, + "bin": { + "npm-watch": "cli.js" + } + }, + "node_modules/npm/node_modules/@gar/promisify": { + "version": "1.1.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/@isaacs/string-locale-compare": { + "version": "1.1.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/@npmcli/arborist": { + "version": "2.9.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@isaacs/string-locale-compare": "^1.0.1", + "@npmcli/installed-package-contents": "^1.0.7", + "@npmcli/map-workspaces": "^1.0.2", + "@npmcli/metavuln-calculator": "^1.1.0", + "@npmcli/move-file": "^1.1.0", + "@npmcli/name-from-folder": "^1.0.1", + "@npmcli/node-gyp": "^1.0.1", + "@npmcli/package-json": "^1.0.1", + "@npmcli/run-script": "^1.8.2", + "bin-links": "^2.2.1", + "cacache": "^15.0.3", + "common-ancestor-path": "^1.0.1", + "json-parse-even-better-errors": "^2.3.1", + "json-stringify-nice": "^1.1.4", + "mkdirp": "^1.0.4", + "mkdirp-infer-owner": "^2.0.0", + "npm-install-checks": "^4.0.0", + "npm-package-arg": "^8.1.5", + "npm-pick-manifest": "^6.1.0", + "npm-registry-fetch": "^11.0.0", + "pacote": "^11.3.5", + "parse-conflict-json": "^1.1.1", + "proc-log": "^1.0.0", + "promise-all-reject-late": "^1.0.0", + "promise-call-limit": "^1.0.1", + "read-package-json-fast": "^2.0.2", + "readdir-scoped-modules": "^1.1.0", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "ssri": "^8.0.1", + "treeverse": "^1.0.4", + "walk-up-path": "^1.0.0" + }, + "bin": { + "arborist": "bin/index.js" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/npm/node_modules/@npmcli/ci-detect": { + "version": "1.3.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/@npmcli/config": { + "version": "2.3.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "ini": "^2.0.0", + "mkdirp-infer-owner": "^2.0.0", + "nopt": "^5.0.0", + "semver": "^7.3.4", + "walk-up-path": "^1.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/@npmcli/disparity-colors": { + "version": "1.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "ansi-styles": "^4.3.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/@npmcli/fs": { + "version": "1.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@gar/promisify": "^1.0.1", + "semver": "^7.3.5" + } + }, + "node_modules/npm/node_modules/@npmcli/git": { + "version": "2.1.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/promise-spawn": "^1.3.2", + "lru-cache": "^6.0.0", + "mkdirp": "^1.0.4", + "npm-pick-manifest": "^6.1.1", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^2.0.2" + } + }, + "node_modules/npm/node_modules/@npmcli/installed-package-contents": { + "version": "1.0.7", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-bundled": "^1.1.1", + "npm-normalize-package-bin": "^1.0.1" + }, + "bin": { + "installed-package-contents": "index.js" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/npm/node_modules/@npmcli/map-workspaces": { + "version": "1.0.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/name-from-folder": "^1.0.1", + "glob": "^7.1.6", + "minimatch": "^3.0.4", + "read-package-json-fast": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/@npmcli/metavuln-calculator": { + "version": "1.1.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "cacache": "^15.0.5", + "pacote": "^11.1.11", + "semver": "^7.3.2" + } + }, + "node_modules/npm/node_modules/@npmcli/move-file": { + "version": "1.1.2", + "inBundle": true, + "license": "MIT", + "dependencies": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/@npmcli/name-from-folder": { + "version": "1.0.1", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/@npmcli/node-gyp": { + "version": "1.0.2", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/@npmcli/package-json": { + "version": "1.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^2.3.1" + } + }, + "node_modules/npm/node_modules/@npmcli/promise-spawn": { + "version": "1.3.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "infer-owner": "^1.0.4" + } + }, + "node_modules/npm/node_modules/@npmcli/run-script": { + "version": "1.8.6", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/node-gyp": "^1.0.2", + "@npmcli/promise-spawn": "^1.3.2", + "node-gyp": "^7.1.0", + "read-package-json-fast": "^2.0.1" + } + }, + "node_modules/npm/node_modules/@tootallnate/once": { + "version": "1.1.2", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/npm/node_modules/abbrev": { + "version": "1.1.1", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/agent-base": { + "version": "6.0.2", + "inBundle": true, + "license": "MIT", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/npm/node_modules/agentkeepalive": { + "version": "4.1.4", + "inBundle": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "depd": "^1.1.2", + "humanize-ms": "^1.2.1" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/npm/node_modules/aggregate-error": { + "version": "3.1.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/ajv": { + "version": "6.12.6", + "inBundle": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/npm/node_modules/ansi-regex": { + "version": "2.1.1", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm/node_modules/ansi-styles": { + "version": "4.3.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/npm/node_modules/ansicolors": { + "version": "0.3.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/ansistyles": { + "version": "0.1.3", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/aproba": { + "version": "2.0.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/archy": { + "version": "1.0.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/are-we-there-yet": { + "version": "1.1.6", + "inBundle": true, + "license": "ISC", + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/asap": { + "version": "2.0.6", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/asn1": { + "version": "0.2.4", + "inBundle": true, + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "node_modules/npm/node_modules/assert-plus": { + "version": "1.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/npm/node_modules/asynckit": { + "version": "0.4.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/aws-sign2": { + "version": "0.7.0", + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/npm/node_modules/aws4": { + "version": "1.11.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/balanced-match": { + "version": "1.0.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "inBundle": true, + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "node_modules/npm/node_modules/bin-links": { + "version": "2.2.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "cmd-shim": "^4.0.1", + "mkdirp": "^1.0.3", + "npm-normalize-package-bin": "^1.0.0", + "read-cmd-shim": "^2.0.0", + "rimraf": "^3.0.0", + "write-file-atomic": "^3.0.3" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/binary-extensions": { + "version": "2.2.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/brace-expansion": { + "version": "1.1.11", + "inBundle": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/npm/node_modules/builtins": { + "version": "1.0.3", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/cacache": { + "version": "15.3.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^1.0.0", + "@npmcli/move-file": "^1.0.1", + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "glob": "^7.1.4", + "infer-owner": "^1.0.4", + "lru-cache": "^6.0.0", + "minipass": "^3.1.1", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.2", + "mkdirp": "^1.0.3", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^8.0.1", + "tar": "^6.0.2", + "unique-filename": "^1.1.1" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/npm/node_modules/caseless": { + "version": "0.12.0", + "inBundle": true, + "license": "Apache-2.0" + }, + "node_modules/npm/node_modules/chalk": { + "version": "4.1.2", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/npm/node_modules/chownr": { + "version": "2.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/cidr-regex": { + "version": "3.1.1", + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "ip-regex": "^4.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/clean-stack": { + "version": "2.2.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/npm/node_modules/cli-columns": { + "version": "3.1.2", + "inBundle": true, + "license": "MIT", + "dependencies": { + "string-width": "^2.0.0", + "strip-ansi": "^3.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/npm/node_modules/cli-table3": { + "version": "0.6.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4.1.0", + "string-width": "^4.2.0" + }, + "engines": { + "node": "10.* || >= 12.*" + }, + "optionalDependencies": { + "colors": "^1.1.2" + } + }, + "node_modules/npm/node_modules/cli-table3/node_modules/ansi-regex": { + "version": "5.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/cli-table3/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/cli-table3/node_modules/string-width": { + "version": "4.2.2", + "inBundle": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/cli-table3/node_modules/strip-ansi": { + "version": "6.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/clone": { + "version": "1.0.4", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/npm/node_modules/cmd-shim": { + "version": "4.1.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "mkdirp-infer-owner": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/code-point-at": { + "version": "1.1.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm/node_modules/color-convert": { + "version": "2.0.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/npm/node_modules/color-name": { + "version": "1.1.4", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/color-support": { + "version": "1.1.3", + "inBundle": true, + "license": "ISC", + "bin": { + "color-support": "bin.js" + } + }, + "node_modules/npm/node_modules/colors": { + "version": "1.4.0", + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/npm/node_modules/columnify": { + "version": "1.5.4", + "inBundle": true, + "license": "MIT", + "dependencies": { + "strip-ansi": "^3.0.0", + "wcwidth": "^1.0.0" + } + }, + "node_modules/npm/node_modules/combined-stream": { + "version": "1.0.8", + "inBundle": true, + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/npm/node_modules/common-ancestor-path": { + "version": "1.0.1", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/concat-map": { + "version": "0.0.1", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/console-control-strings": { + "version": "1.1.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/core-util-is": { + "version": "1.0.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/dashdash": { + "version": "1.14.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/npm/node_modules/debug": { + "version": "4.3.2", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/npm/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/debuglog": { + "version": "1.0.1", + "inBundle": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/npm/node_modules/defaults": { + "version": "1.0.3", + "inBundle": true, + "license": "MIT", + "dependencies": { + "clone": "^1.0.2" + } + }, + "node_modules/npm/node_modules/delayed-stream": { + "version": "1.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/npm/node_modules/delegates": { + "version": "1.0.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/depd": { + "version": "1.1.2", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/npm/node_modules/dezalgo": { + "version": "1.0.3", + "inBundle": true, + "license": "ISC", + "dependencies": { + "asap": "^2.0.0", + "wrappy": "1" + } + }, + "node_modules/npm/node_modules/diff": { + "version": "5.0.0", + "inBundle": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/npm/node_modules/ecc-jsbn": { + "version": "0.1.2", + "inBundle": true, + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/npm/node_modules/emoji-regex": { + "version": "8.0.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/encoding": { + "version": "0.1.13", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/npm/node_modules/env-paths": { + "version": "2.2.1", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/npm/node_modules/err-code": { + "version": "2.0.3", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/extend": { + "version": "3.0.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/fast-deep-equal": { + "version": "3.1.3", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/fastest-levenshtein": { + "version": "1.0.12", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/forever-agent": { + "version": "0.6.1", + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/npm/node_modules/fs-minipass": { + "version": "2.1.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/fs.realpath": { + "version": "1.0.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/function-bind": { + "version": "1.1.1", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/gauge": { + "version": "3.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.2", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.1", + "object-assign": "^4.1.1", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1 || ^2.0.0", + "strip-ansi": "^3.0.1 || ^4.0.0", + "wide-align": "^1.1.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/getpass": { + "version": "0.1.7", + "inBundle": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "node_modules/npm/node_modules/glob": { + "version": "7.2.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/graceful-fs": { + "version": "4.2.8", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/har-schema": { + "version": "2.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "node_modules/npm/node_modules/har-validator": { + "version": "5.1.5", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/npm/node_modules/has": { + "version": "1.0.3", + "inBundle": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/npm/node_modules/has-flag": { + "version": "4.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/has-unicode": { + "version": "2.0.1", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/hosted-git-info": { + "version": "4.0.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/http-cache-semantics": { + "version": "4.1.0", + "inBundle": true, + "license": "BSD-2-Clause" + }, + "node_modules/npm/node_modules/http-proxy-agent": { + "version": "4.0.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/npm/node_modules/http-signature": { + "version": "1.2.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "node_modules/npm/node_modules/https-proxy-agent": { + "version": "5.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/npm/node_modules/humanize-ms": { + "version": "1.2.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ms": "^2.0.0" + } + }, + "node_modules/npm/node_modules/iconv-lite": { + "version": "0.6.3", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm/node_modules/ignore-walk": { + "version": "3.0.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minimatch": "^3.0.4" + } + }, + "node_modules/npm/node_modules/imurmurhash": { + "version": "0.1.4", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/npm/node_modules/indent-string": { + "version": "4.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/infer-owner": { + "version": "1.0.4", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/inflight": { + "version": "1.0.6", + "inBundle": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/npm/node_modules/inherits": { + "version": "2.0.4", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/ini": { + "version": "2.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/init-package-json": { + "version": "2.0.5", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-package-arg": "^8.1.5", + "promzard": "^0.3.0", + "read": "~1.0.1", + "read-package-json": "^4.1.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4", + "validate-npm-package-name": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/ip": { + "version": "1.1.5", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/ip-regex": { + "version": "4.3.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/is-cidr": { + "version": "4.0.2", + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "cidr-regex": "^3.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/is-core-module": { + "version": "2.7.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/npm/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/npm/node_modules/is-lambda": { + "version": "1.0.1", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/is-typedarray": { + "version": "1.0.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/isexe": { + "version": "2.0.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/isstream": { + "version": "0.1.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/jsbn": { + "version": "0.1.1", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/json-schema": { + "version": "0.2.3", + "inBundle": true + }, + "node_modules/npm/node_modules/json-schema-traverse": { + "version": "0.4.1", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/json-stringify-nice": { + "version": "1.1.4", + "inBundle": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/json-stringify-safe": { + "version": "5.0.1", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/jsonparse": { + "version": "1.3.1", + "engines": [ + "node >= 0.2.0" + ], + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/jsprim": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "inBundle": true, + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "node_modules/npm/node_modules/just-diff": { + "version": "3.1.1", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/just-diff-apply": { + "version": "3.0.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/libnpmaccess": { + "version": "4.0.3", + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^2.0.0", + "minipass": "^3.1.1", + "npm-package-arg": "^8.1.2", + "npm-registry-fetch": "^11.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/libnpmdiff": { + "version": "2.0.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/disparity-colors": "^1.0.1", + "@npmcli/installed-package-contents": "^1.0.7", + "binary-extensions": "^2.2.0", + "diff": "^5.0.0", + "minimatch": "^3.0.4", + "npm-package-arg": "^8.1.4", + "pacote": "^11.3.4", + "tar": "^6.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/libnpmexec": { + "version": "2.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/arborist": "^2.3.0", + "@npmcli/ci-detect": "^1.3.0", + "@npmcli/run-script": "^1.8.4", + "chalk": "^4.1.0", + "mkdirp-infer-owner": "^2.0.0", + "npm-package-arg": "^8.1.2", + "pacote": "^11.3.1", + "proc-log": "^1.0.0", + "read": "^1.0.7", + "read-package-json-fast": "^2.0.2", + "walk-up-path": "^1.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/libnpmfund": { + "version": "1.1.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/arborist": "^2.5.0" + } + }, + "node_modules/npm/node_modules/libnpmhook": { + "version": "6.0.3", + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^11.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/libnpmorg": { + "version": "2.0.3", + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^11.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/libnpmpack": { + "version": "2.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/run-script": "^1.8.3", + "npm-package-arg": "^8.1.0", + "pacote": "^11.2.6" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/libnpmpublish": { + "version": "4.0.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "normalize-package-data": "^3.0.2", + "npm-package-arg": "^8.1.2", + "npm-registry-fetch": "^11.0.0", + "semver": "^7.1.3", + "ssri": "^8.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/libnpmsearch": { + "version": "3.1.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-registry-fetch": "^11.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/libnpmteam": { + "version": "2.0.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^11.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/libnpmversion": { + "version": "1.2.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^2.0.7", + "@npmcli/run-script": "^1.8.4", + "json-parse-even-better-errors": "^2.3.1", + "semver": "^7.3.5", + "stringify-package": "^1.0.1" + } + }, + "node_modules/npm/node_modules/lru-cache": { + "version": "6.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/make-fetch-happen": { + "version": "9.1.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.1.3", + "cacache": "^15.2.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^6.0.0", + "minipass": "^3.1.3", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^1.3.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.2", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^6.0.0", + "ssri": "^8.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/npm/node_modules/mime-db": { + "version": "1.49.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/npm/node_modules/mime-types": { + "version": "2.1.32", + "inBundle": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.49.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/npm/node_modules/minimatch": { + "version": "3.0.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/npm/node_modules/minipass": { + "version": "3.1.5", + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/minipass-collect": { + "version": "1.0.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/minipass-fetch": { + "version": "1.4.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^3.1.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.0.0" + }, + "engines": { + "node": ">=8" + }, + "optionalDependencies": { + "encoding": "^0.1.12" + } + }, + "node_modules/npm/node_modules/minipass-flush": { + "version": "1.0.5", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/minipass-json-stream": { + "version": "1.0.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "jsonparse": "^1.3.1", + "minipass": "^3.0.0" + } + }, + "node_modules/npm/node_modules/minipass-pipeline": { + "version": "1.2.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/minipass-sized": { + "version": "1.0.3", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/minizlib": { + "version": "2.1.2", + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/mkdirp": { + "version": "1.0.4", + "inBundle": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/mkdirp-infer-owner": { + "version": "2.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "chownr": "^2.0.0", + "infer-owner": "^1.0.4", + "mkdirp": "^1.0.3" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/ms": { + "version": "2.1.3", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/mute-stream": { + "version": "0.0.8", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/negotiator": { + "version": "0.6.2", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/npm/node_modules/node-gyp": { + "version": "7.1.2", + "inBundle": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.0", + "glob": "^7.1.4", + "graceful-fs": "^4.2.3", + "nopt": "^5.0.0", + "npmlog": "^4.1.2", + "request": "^2.88.2", + "rimraf": "^3.0.2", + "semver": "^7.3.2", + "tar": "^6.0.2", + "which": "^2.0.2" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": ">= 10.12.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/aproba": { + "version": "1.2.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/node-gyp/node_modules/gauge": { + "version": "2.7.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/npmlog": { + "version": "4.1.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/string-width": { + "version": "1.0.2", + "inBundle": true, + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm/node_modules/nopt": { + "version": "5.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/npm/node_modules/normalize-package-data": { + "version": "3.0.3", + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/npm-audit-report": { + "version": "2.1.5", + "inBundle": true, + "license": "ISC", + "dependencies": { + "chalk": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/npm-bundled": { + "version": "1.1.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-normalize-package-bin": "^1.0.1" + } + }, + "node_modules/npm/node_modules/npm-install-checks": { + "version": "4.0.0", + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "semver": "^7.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/npm-normalize-package-bin": { + "version": "1.0.1", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/npm-package-arg": { + "version": "8.1.5", + "inBundle": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^4.0.1", + "semver": "^7.3.4", + "validate-npm-package-name": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/npm-packlist": { + "version": "2.2.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.6", + "ignore-walk": "^3.0.3", + "npm-bundled": "^1.1.1", + "npm-normalize-package-bin": "^1.0.1" + }, + "bin": { + "npm-packlist": "bin/index.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/npm-pick-manifest": { + "version": "6.1.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-install-checks": "^4.0.0", + "npm-normalize-package-bin": "^1.0.1", + "npm-package-arg": "^8.1.2", + "semver": "^7.3.4" + } + }, + "node_modules/npm/node_modules/npm-profile": { + "version": "5.0.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-registry-fetch": "^11.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/npm-registry-fetch": { + "version": "11.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "make-fetch-happen": "^9.0.1", + "minipass": "^3.1.3", + "minipass-fetch": "^1.3.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.0.0", + "npm-package-arg": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/npm-user-validate": { + "version": "1.0.1", + "inBundle": true, + "license": "BSD-2-Clause" + }, + "node_modules/npm/node_modules/npmlog": { + "version": "5.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "are-we-there-yet": "^2.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^3.0.0", + "set-blocking": "^2.0.0" + } + }, + "node_modules/npm/node_modules/npmlog/node_modules/are-we-there-yet": { + "version": "2.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/number-is-nan": { + "version": "1.0.1", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm/node_modules/oauth-sign": { + "version": "0.9.0", + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/npm/node_modules/object-assign": { + "version": "4.1.1", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm/node_modules/once": { + "version": "1.4.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/npm/node_modules/opener": { + "version": "1.5.2", + "inBundle": true, + "license": "(WTFPL OR MIT)", + "bin": { + "opener": "bin/opener-bin.js" + } + }, + "node_modules/npm/node_modules/p-map": { + "version": "4.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm/node_modules/pacote": { + "version": "11.3.5", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^2.1.0", + "@npmcli/installed-package-contents": "^1.0.6", + "@npmcli/promise-spawn": "^1.2.0", + "@npmcli/run-script": "^1.8.2", + "cacache": "^15.0.5", + "chownr": "^2.0.0", + "fs-minipass": "^2.1.0", + "infer-owner": "^1.0.4", + "minipass": "^3.1.3", + "mkdirp": "^1.0.3", + "npm-package-arg": "^8.0.1", + "npm-packlist": "^2.1.4", + "npm-pick-manifest": "^6.0.0", + "npm-registry-fetch": "^11.0.0", + "promise-retry": "^2.0.1", + "read-package-json-fast": "^2.0.1", + "rimraf": "^3.0.2", + "ssri": "^8.0.1", + "tar": "^6.1.0" + }, + "bin": { + "pacote": "lib/bin.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/parse-conflict-json": { + "version": "1.1.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^2.3.0", + "just-diff": "^3.0.1", + "just-diff-apply": "^3.0.0" + } + }, + "node_modules/npm/node_modules/path-is-absolute": { + "version": "1.0.1", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm/node_modules/performance-now": { + "version": "2.1.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/proc-log": { + "version": "1.0.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/promise-all-reject-late": { + "version": "1.0.1", + "inBundle": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/promise-call-limit": { + "version": "1.0.1", + "inBundle": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/promise-inflight": { + "version": "1.0.1", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/promise-retry": { + "version": "2.0.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "err-code": "^2.0.2", + "retry": "^0.12.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/promzard": { + "version": "0.3.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "read": "1" + } + }, + "node_modules/npm/node_modules/psl": { + "version": "1.8.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/punycode": { + "version": "2.1.1", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/npm/node_modules/qrcode-terminal": { + "version": "0.12.0", + "inBundle": true, + "bin": { + "qrcode-terminal": "bin/qrcode-terminal.js" + } + }, + "node_modules/npm/node_modules/qs": { + "version": "6.5.2", + "inBundle": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/npm/node_modules/read": { + "version": "1.0.7", + "inBundle": true, + "license": "ISC", + "dependencies": { + "mute-stream": "~0.0.4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/npm/node_modules/read-cmd-shim": { + "version": "2.0.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/read-package-json": { + "version": "4.1.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.1", + "json-parse-even-better-errors": "^2.3.0", + "normalize-package-data": "^3.0.0", + "npm-normalize-package-bin": "^1.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/read-package-json-fast": { + "version": "2.0.3", + "inBundle": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^2.3.0", + "npm-normalize-package-bin": "^1.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/readable-stream": { + "version": "3.6.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/npm/node_modules/readdir-scoped-modules": { + "version": "1.1.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "debuglog": "^1.0.1", + "dezalgo": "^1.0.0", + "graceful-fs": "^4.1.2", + "once": "^1.3.0" + } + }, + "node_modules/npm/node_modules/request": { + "version": "2.88.2", + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/npm/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "inBundle": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/npm/node_modules/request/node_modules/tough-cookie": { + "version": "2.5.0", + "inBundle": true, + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/npm/node_modules/retry": { + "version": "0.12.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/npm/node_modules/rimraf": { + "version": "3.0.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/safe-buffer": { + "version": "5.2.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/safer-buffer": { + "version": "2.1.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/semver": { + "version": "7.3.5", + "inBundle": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/set-blocking": { + "version": "2.0.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/signal-exit": { + "version": "3.0.3", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/smart-buffer": { + "version": "4.2.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/npm/node_modules/socks": { + "version": "2.6.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ip": "^1.1.5", + "smart-buffer": "^4.1.0" + }, + "engines": { + "node": ">= 10.13.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/npm/node_modules/socks-proxy-agent": { + "version": "6.1.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.1", + "socks": "^2.6.1" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/npm/node_modules/spdx-correct": { + "version": "3.1.1", + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/npm/node_modules/spdx-exceptions": { + "version": "2.3.0", + "inBundle": true, + "license": "CC-BY-3.0" + }, + "node_modules/npm/node_modules/spdx-expression-parse": { + "version": "3.0.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/npm/node_modules/spdx-license-ids": { + "version": "3.0.10", + "inBundle": true, + "license": "CC0-1.0" + }, + "node_modules/npm/node_modules/sshpk": { + "version": "1.16.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm/node_modules/ssri": { + "version": "8.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.1.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/string_decoder": { + "version": "1.3.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/npm/node_modules/string-width": { + "version": "2.1.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm/node_modules/string-width/node_modules/ansi-regex": { + "version": "3.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/npm/node_modules/string-width/node_modules/strip-ansi": { + "version": "4.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm/node_modules/stringify-package": { + "version": "1.0.1", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/strip-ansi": { + "version": "3.0.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm/node_modules/supports-color": { + "version": "7.2.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/tar": { + "version": "6.1.11", + "inBundle": true, + "license": "ISC", + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/npm/node_modules/text-table": { + "version": "0.2.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/tiny-relative-date": { + "version": "1.3.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/treeverse": { + "version": "1.0.4", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/tunnel-agent": { + "version": "0.6.0", + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/npm/node_modules/tweetnacl": { + "version": "0.14.5", + "inBundle": true, + "license": "Unlicense" + }, + "node_modules/npm/node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "inBundle": true, + "license": "MIT", + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, + "node_modules/npm/node_modules/unique-filename": { + "version": "1.1.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^2.0.0" + } + }, + "node_modules/npm/node_modules/unique-slug": { + "version": "2.0.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + } + }, + "node_modules/npm/node_modules/uri-js": { + "version": "4.4.1", + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/npm/node_modules/util-deprecate": { + "version": "1.0.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/uuid": { + "version": "3.4.0", + "inBundle": true, + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/npm/node_modules/validate-npm-package-license": { + "version": "3.0.4", + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/npm/node_modules/validate-npm-package-name": { + "version": "3.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "builtins": "^1.0.3" + } + }, + "node_modules/npm/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "inBundle": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "node_modules/npm/node_modules/walk-up-path": { + "version": "1.0.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/wcwidth": { + "version": "1.0.1", + "inBundle": true, + "license": "MIT", + "dependencies": { + "defaults": "^1.0.3" + } + }, + "node_modules/npm/node_modules/which": { + "version": "2.0.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/wide-align": { + "version": "1.1.3", + "inBundle": true, + "license": "ISC", + "dependencies": { + "string-width": "^1.0.2 || 2" + } + }, + "node_modules/npm/node_modules/wrappy": { + "version": "1.0.2", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/write-file-atomic": { + "version": "3.0.3", + "inBundle": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "node_modules/npm/node_modules/yallist": { + "version": "4.0.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/nth-check": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.1.tgz", + "integrity": "sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-is": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", + "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.getownpropertydescriptors": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz", + "integrity": "sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.values": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz", + "integrity": "sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/obuf": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", + "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", + "dev": true + }, + "node_modules/on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/on-headers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", + "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "dev": true, + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", + "dev": true + }, + "node_modules/p-cancelable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", + "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-pipe": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz", + "integrity": "sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-retry": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.1.tgz", + "integrity": "sha512-e2xXGNhZOZ0lfgR9kL34iGlU8N/KO0xZnQxVEwdeOvpqNDQfdnxIYizvWtK8RglUa3bGqI8g0R/BdfzLMxRkiA==", + "dev": true, + "dependencies": { + "@types/retry": "^0.12.0", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/package-json": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", + "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", + "dependencies": { + "got": "^9.6.0", + "registry-auth-token": "^4.0.0", + "registry-url": "^5.0.0", + "semver": "^6.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/package-json/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "node_modules/param-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz", + "integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==", + "dev": true, + "dependencies": { + "dot-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/parchment": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/parchment/-/parchment-1.1.4.tgz", + "integrity": "sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg==" + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "dev": true, + "dependencies": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/pascal-case": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", + "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==", + "dev": true, + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/path-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", + "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", + "dev": true + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "dev": true, + "dependencies": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/pdfmake": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/pdfmake/-/pdfmake-0.2.5.tgz", + "integrity": "sha512-NlayjehMtuZEdw2Lyipf/MxOCR2vATZQ7jn8cH0/dHwsNb+mqof9/6SW4jZT5p+So4qz+0mD21KG81+dDQSEhA==", + "dependencies": { + "@foliojs-fork/linebreak": "^1.1.1", + "@foliojs-fork/pdfkit": "^0.13.0", + "iconv-lite": "^0.6.3", + "xmldoc": "^1.1.2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/png-js": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/png-js/-/png-js-1.0.0.tgz", + "integrity": "sha512-k+YsbhpA9e+EFfKjTCH3VW6aoKlyNYI6NYdTfDL4CIvFnvsuO84ttonmZE7rc+v23SLTH8XX+5w/Ak9v0xGY4g==" + }, + "node_modules/popper.js": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", + "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", + "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1", + "peer": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/portfinder": { + "version": "1.0.28", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", + "integrity": "sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==", + "dev": true, + "dependencies": { + "async": "^2.6.2", + "debug": "^3.1.1", + "mkdirp": "^0.5.5" + }, + "engines": { + "node": ">= 0.12.0" + } + }, + "node_modules/portfinder/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/postcss": { + "version": "8.4.12", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz", + "integrity": "sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + } + ], + "dependencies": { + "nanoid": "^3.3.1", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-calc": { + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-8.2.4.tgz", + "integrity": "sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.9", + "postcss-value-parser": "^4.2.0" + }, + "peerDependencies": { + "postcss": "^8.2.2" + } + }, + "node_modules/postcss-colormin": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-5.3.0.tgz", + "integrity": "sha512-WdDO4gOFG2Z8n4P8TWBpshnL3JpmNmJwdnfP2gbk2qBA8PWwOYcmjmI/t3CmMeL72a7Hkd+x/Mg9O2/0rD54Pg==", + "dev": true, + "dependencies": { + "browserslist": "^4.16.6", + "caniuse-api": "^3.0.0", + "colord": "^2.9.1", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-convert-values": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.1.0.tgz", + "integrity": "sha512-GkyPbZEYJiWtQB0KZ0X6qusqFHUepguBCNFi9t5JJc7I2OTXG7C0twbTLvCfaKOLl3rSXmpAwV7W5txd91V84g==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-discard-comments": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-5.1.1.tgz", + "integrity": "sha512-5JscyFmvkUxz/5/+TB3QTTT9Gi9jHkcn8dcmmuN68JQcv3aQg4y88yEHHhwFB52l/NkaJ43O0dbksGMAo49nfQ==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-discard-duplicates": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz", + "integrity": "sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-discard-empty": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-5.1.1.tgz", + "integrity": "sha512-zPz4WljiSuLWsI0ir4Mcnr4qQQ5e1Ukc3i7UfE2XcrwKK2LIPIqE5jxMRxO6GbI3cv//ztXDsXwEWT3BHOGh3A==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-discard-overridden": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz", + "integrity": "sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-import": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz", + "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-load-config": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz", + "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==", + "dev": true, + "dependencies": { + "lilconfig": "^2.0.5", + "yaml": "^1.10.2" + }, + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/postcss-loader": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-6.2.1.tgz", + "integrity": "sha512-WbbYpmAaKcux/P66bZ40bpWsBucjx/TTgVVzRZ9yUO8yQfVBlameJ0ZGVaPfH64hNSBh63a+ICP5nqOpBA0w+Q==", + "dev": true, + "dependencies": { + "cosmiconfig": "^7.0.0", + "klona": "^2.0.5", + "semver": "^7.3.5" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "postcss": "^7.0.0 || ^8.0.1", + "webpack": "^5.0.0" + } + }, + "node_modules/postcss-merge-longhand": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.1.4.tgz", + "integrity": "sha512-hbqRRqYfmXoGpzYKeW0/NCZhvNyQIlQeWVSao5iKWdyx7skLvCfQFGIUsP9NUs3dSbPac2IC4Go85/zG+7MlmA==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0", + "stylehacks": "^5.1.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-merge-rules": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.1.1.tgz", + "integrity": "sha512-8wv8q2cXjEuCcgpIB1Xx1pIy8/rhMPIQqYKNzEdyx37m6gpq83mQQdCxgIkFgliyEnKvdwJf/C61vN4tQDq4Ww==", + "dev": true, + "dependencies": { + "browserslist": "^4.16.6", + "caniuse-api": "^3.0.0", + "cssnano-utils": "^3.1.0", + "postcss-selector-parser": "^6.0.5" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-minify-font-values": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-5.1.0.tgz", + "integrity": "sha512-el3mYTgx13ZAPPirSVsHqFzl+BBBDrXvbySvPGFnQcTI4iNslrPaFq4muTkLZmKlGk4gyFAYUBMH30+HurREyA==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-minify-gradients": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-5.1.1.tgz", + "integrity": "sha512-VGvXMTpCEo4qHTNSa9A0a3D+dxGFZCYwR6Jokk+/3oB6flu2/PnPXAh2x7x52EkY5xlIHLm+Le8tJxe/7TNhzw==", + "dev": true, + "dependencies": { + "colord": "^2.9.1", + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-minify-params": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-5.1.2.tgz", + "integrity": "sha512-aEP+p71S/urY48HWaRHasyx4WHQJyOYaKpQ6eXl8k0kxg66Wt/30VR6/woh8THgcpRbonJD5IeD+CzNhPi1L8g==", + "dev": true, + "dependencies": { + "browserslist": "^4.16.6", + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-minify-selectors": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-5.2.0.tgz", + "integrity": "sha512-vYxvHkW+iULstA+ctVNx0VoRAR4THQQRkG77o0oa4/mBS0OzGvvzLIvHDv/nNEM0crzN2WIyFU5X7wZhaUK3RA==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.5" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-modules-extract-imports": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", + "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-local-by-default": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz", + "integrity": "sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==", + "dev": true, + "dependencies": { + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-scope": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz", + "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.4" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-values": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", + "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", + "dev": true, + "dependencies": { + "icss-utils": "^5.0.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-normalize-charset": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz", + "integrity": "sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-normalize-display-values": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-5.1.0.tgz", + "integrity": "sha512-WP4KIM4o2dazQXWmFaqMmcvsKmhdINFblgSeRgn8BJ6vxaMyaJkwAzpPpuvSIoG/rmX3M+IrRZEz2H0glrQNEA==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-normalize-positions": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-5.1.0.tgz", + "integrity": "sha512-8gmItgA4H5xiUxgN/3TVvXRoJxkAWLW6f/KKhdsH03atg0cB8ilXnrB5PpSshwVu/dD2ZsRFQcR1OEmSBDAgcQ==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-normalize-repeat-style": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.1.0.tgz", + "integrity": "sha512-IR3uBjc+7mcWGL6CtniKNQ4Rr5fTxwkaDHwMBDGGs1x9IVRkYIT/M4NelZWkAOBdV6v3Z9S46zqaKGlyzHSchw==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-normalize-string": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-5.1.0.tgz", + "integrity": "sha512-oYiIJOf4T9T1N4i+abeIc7Vgm/xPCGih4bZz5Nm0/ARVJ7K6xrDlLwvwqOydvyL3RHNf8qZk6vo3aatiw/go3w==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-normalize-timing-functions": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.1.0.tgz", + "integrity": "sha512-DOEkzJ4SAXv5xkHl0Wa9cZLF3WCBhF3o1SKVxKQAa+0pYKlueTpCgvkFAHfk+Y64ezX9+nITGrDZeVGgITJXjg==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-normalize-unicode": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-5.1.0.tgz", + "integrity": "sha512-J6M3MizAAZ2dOdSjy2caayJLQT8E8K9XjLce8AUQMwOrCvjCHv24aLC/Lps1R1ylOfol5VIDMaM/Lo9NGlk1SQ==", + "dev": true, + "dependencies": { + "browserslist": "^4.16.6", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-normalize-url": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-5.1.0.tgz", + "integrity": "sha512-5upGeDO+PVthOxSmds43ZeMeZfKH+/DKgGRD7TElkkyS46JXAUhMzIKiCa7BabPeIy3AQcTkXwVVN7DbqsiCew==", + "dev": true, + "dependencies": { + "normalize-url": "^6.0.1", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-normalize-whitespace": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.1.1.tgz", + "integrity": "sha512-83ZJ4t3NUDETIHTa3uEg6asWjSBYL5EdkVB0sDncx9ERzOKBVJIUeDO9RyA9Zwtig8El1d79HBp0JEi8wvGQnA==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-ordered-values": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-5.1.1.tgz", + "integrity": "sha512-7lxgXF0NaoMIgyihL/2boNAEZKiW0+HkMhdKMTD93CjW8TdCy2hSdj8lsAo+uwm7EDG16Da2Jdmtqpedl0cMfw==", + "dev": true, + "dependencies": { + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-reduce-initial": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-5.1.0.tgz", + "integrity": "sha512-5OgTUviz0aeH6MtBjHfbr57tml13PuedK/Ecg8szzd4XRMbYxH4572JFG067z+FqBIf6Zp/d+0581glkvvWMFw==", + "dev": true, + "dependencies": { + "browserslist": "^4.16.6", + "caniuse-api": "^3.0.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-reduce-transforms": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-5.1.0.tgz", + "integrity": "sha512-2fbdbmgir5AvpW9RLtdONx1QoYG2/EtqpNQbFASDlixBbAYuTcJ0dECwlqNqH7VbaUnEnh8SrxOe2sRIn24XyQ==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.0.10", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", + "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-svgo": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-5.1.0.tgz", + "integrity": "sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0", + "svgo": "^2.7.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-unique-selectors": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-5.1.1.tgz", + "integrity": "sha512-5JiODlELrz8L2HwxfPnhOWZYWDxVHWL83ufOv84NrcgipI7TaeRsatAhK4Tr2/ZiYldpK/wBvw5BD3qfaK96GA==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.5" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true + }, + "node_modules/prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prepend-http": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", + "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", + "engines": { + "node": ">=4" + } + }, + "node_modules/pretty-time": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/pretty-time/-/pretty-time-1.1.0.tgz", + "integrity": "sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/prism-themes": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/prism-themes/-/prism-themes-1.9.0.tgz", + "integrity": "sha512-tX2AYsehKDw1EORwBps+WhBFKc2kxfoFpQAjxBndbZKr4fRmMkv47XN0BghC/K1qwodB1otbe4oF23vUTFDokw==" + }, + "node_modules/prismjs": { + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.28.0.tgz", + "integrity": "sha512-8aaXdYvl1F7iC7Xm1spqSaY/OJBpYW3v+KJ+F17iYxvdc8sfjW194COK5wVhMZX45tGteiBQgdvD/nhxcRwylw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true, + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "peer": true, + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/propagating-hammerjs": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/propagating-hammerjs/-/propagating-hammerjs-2.0.1.tgz", + "integrity": "sha512-PH3zG5whbSxMocphXJzVtvKr+vWAgfkqVvtuwjSJ/apmEACUoiw6auBAT5HYXpZOR0eGcTAfYG5Yl8h91O5Elg==", + "peer": true, + "peerDependencies": { + "@egjs/hammerjs": "^2.0.17" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dev": true, + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/proxy-addr/node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/pstree.remy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", + "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==" + }, + "node_modules/public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dev": true, + "dependencies": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/public-encrypt/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + }, + "node_modules/pupa": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", + "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", + "dependencies": { + "escape-goat": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", + "dev": true, + "engines": { + "node": ">=0.6.0", + "teleport": ">=0.2.0" + } + }, + "node_modules/qs": { + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw==", + "dev": true, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", + "dev": true, + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", + "dev": true, + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/quill": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz", + "integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==", + "dependencies": { + "clone": "^2.1.1", + "deep-equal": "^1.0.1", + "eventemitter3": "^2.0.3", + "extend": "^3.0.2", + "parchment": "^1.1.4", + "quill-delta": "^3.6.2" + } + }, + "node_modules/quill-delta": { + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/quill-delta/-/quill-delta-3.6.3.tgz", + "integrity": "sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==", + "dependencies": { + "deep-equal": "^1.0.1", + "extend": "^3.0.2", + "fast-diff": "1.1.2" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/quill/node_modules/clone": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/qunit": { + "version": "2.18.2", + "resolved": "https://registry.npmjs.org/qunit/-/qunit-2.18.2.tgz", + "integrity": "sha512-Ux+x9pIU38/F+r3jOl35QzGHPPupMifUvhczCqHgzYWX76fCjPg6VqM84ox1D57fhAXHtpS4Jl91EV8gDoCHPg==", + "dependencies": { + "commander": "7.2.0", + "node-watch": "0.7.3", + "tiny-glob": "0.2.9" + }, + "bin": { + "qunit": "bin/qunit.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/quote-stream": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/quote-stream/-/quote-stream-1.0.2.tgz", + "integrity": "sha1-hJY/jJwmuULhU/7rU6rnRlK34LI=", + "dependencies": { + "buffer-equal": "0.0.1", + "minimist": "^1.1.3", + "through2": "^2.0.0" + }, + "bin": { + "quote-stream": "bin/cmd.js" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dev": true, + "dependencies": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.3.tgz", + "integrity": "sha512-UlTNLIcu0uzb4D2f4WltY6cVjLi+/jEN4lgEUj3E04tpMDpUlkBo/eSn6zou9hum2VMNpCCUone0O0WeJim07g==", + "dev": true, + "dependencies": { + "bytes": "3.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/raw-body/node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/raw-body/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/rc/node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + }, + "node_modules/rc/node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "peer": true + }, + "node_modules/read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=", + "dev": true, + "dependencies": { + "pify": "^2.3.0" + } + }, + "node_modules/readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/readable-stream/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/rechoir": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.1.tgz", + "integrity": "sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg==", + "dev": true, + "dependencies": { + "resolve": "^1.9.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "dev": true + }, + "node_modules/regenerate-unicode-properties": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", + "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "dev": true + }, + "node_modules/regenerator-transform": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz", + "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.8.4" + } + }, + "node_modules/regex-parser": { + "version": "2.2.11", + "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.2.11.tgz", + "integrity": "sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==", + "dev": true + }, + "node_modules/regexp.prototype.flags": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", + "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "functions-have-names": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/regexpu-core": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", + "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.0.1", + "regjsgen": "^0.6.0", + "regjsparser": "^0.8.2", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/registry-auth-token": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", + "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==", + "dependencies": { + "rc": "^1.2.8" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/registry-url": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", + "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", + "dependencies": { + "rc": "^1.2.8" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/regjsgen": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", + "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==", + "dev": true + }, + "node_modules/regjsparser": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", + "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", + "dev": true, + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/relateurl": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", + "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/replace-ext": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.1.tgz", + "integrity": "sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/replace-in-file-webpack-plugin": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/replace-in-file-webpack-plugin/-/replace-in-file-webpack-plugin-1.0.6.tgz", + "integrity": "sha512-+KRgNYL2nbc6nza6SeF+wTBNkovuHFTfJF8QIEqZg5MbwkYpU9no0kH2YU354wvY/BK8mAC2UKoJ7q+sJTvciw==", + "dev": true + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "node_modules/resolve": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "dependencies": { + "is-core-module": "^2.8.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-cwd/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/resolve-url-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-4.0.0.tgz", + "integrity": "sha512-05VEMczVREcbtT7Bz+C+96eUO5HDNvdthIiMB34t7FcF8ehcu4wC0sSgPUubs3XW2Q3CNLJk/BJrCU9wVRymiA==", + "dev": true, + "dependencies": { + "adjust-sourcemap-loader": "^4.0.0", + "convert-source-map": "^1.7.0", + "loader-utils": "^2.0.0", + "postcss": "^7.0.35", + "source-map": "0.6.1" + }, + "engines": { + "node": ">=8.9" + }, + "peerDependencies": { + "rework": "1.0.1", + "rework-visit": "1.0.0" + }, + "peerDependenciesMeta": { + "rework": { + "optional": true + }, + "rework-visit": { + "optional": true + } + } + }, + "node_modules/resolve-url-loader/node_modules/picocolors": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", + "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", + "dev": true + }, + "node_modules/resolve-url-loader/node_modules/postcss": { + "version": "7.0.39", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", + "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "dev": true, + "dependencies": { + "picocolors": "^0.2.1", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + } + }, + "node_modules/responselike": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", + "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", + "dependencies": { + "lowercase-keys": "^1.0.0" + } + }, + "node_modules/retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rgb-regex": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz", + "integrity": "sha1-wODWiC3w4jviVKR16O3UGRX+rrE=", + "dev": true + }, + "node_modules/rgba-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz", + "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=", + "dev": true + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dev": true, + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "node_modules/rtlcss": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/rtlcss/-/rtlcss-3.5.0.tgz", + "integrity": "sha512-wzgMaMFHQTnyi9YOwsx9LjOxYXJPzS8sYnFaKm6R5ysvTkwzHiB0vxnbHwchHQT65PTdBjDG21/kQBWI7q9O7A==", + "dev": true, + "dependencies": { + "find-up": "^5.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.3.11", + "strip-json-comments": "^3.1.1" + }, + "bin": { + "rtlcss": "bin/rtlcss.js" + } + }, + "node_modules/rtlcss/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/rtlcss/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/rtlcss/node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/rtlcss/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/sass": { + "version": "1.50.1", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.50.1.tgz", + "integrity": "sha512-noTnY41KnlW2A9P8sdwESpDmo+KBNkukI1i8+hOK3footBUcohNHtdOJbckp46XO95nuvcHDDZ+4tmOnpK3hjw==", + "dev": true, + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/sass-loader": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-12.6.0.tgz", + "integrity": "sha512-oLTaH0YCtX4cfnJZxKSLAyglED0naiYfNG1iXfU5w1LNZ+ukoA5DtyDIN5zmKVZwYNJP4KRc5Y3hkWga+7tYfA==", + "dev": true, + "dependencies": { + "klona": "^2.0.4", + "neo-async": "^2.6.2" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "fibers": ">= 3.1.0", + "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0", + "sass": "^1.3.0", + "sass-embedded": "*", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "fibers": { + "optional": true + }, + "node-sass": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + } + } + }, + "node_modules/sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + }, + "node_modules/schema-utils": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", + "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.5", + "ajv": "^6.12.4", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 8.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/scope-analyzer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/scope-analyzer/-/scope-analyzer-2.1.2.tgz", + "integrity": "sha512-5cfCmsTYV/wPaRIItNxatw02ua/MThdIUNnUOCYp+3LSEJvnG804ANw2VLaavNILIfWXF1D1G2KNANkBBvInwQ==", + "dependencies": { + "array-from": "^2.1.1", + "dash-ast": "^2.0.1", + "es6-map": "^0.1.5", + "es6-set": "^0.1.5", + "es6-symbol": "^3.1.1", + "estree-is-function": "^1.0.0", + "get-assigned-identifiers": "^1.1.0" + } + }, + "node_modules/select": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz", + "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=" + }, + "node_modules/select-hose": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", + "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=", + "dev": true + }, + "node_modules/select2": { + "version": "4.1.0-rc.0", + "resolved": "https://registry.npmjs.org/select2/-/select2-4.1.0-rc.0.tgz", + "integrity": "sha512-Hr9TdhyHCZUtwznEH2CBf7967mEM0idtJ5nMtjvk3Up5tPukOLXbHUNmh10oRfeNIhj+3GD3niu+g6sVK+gK0A==" + }, + "node_modules/selfsigned": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.0.1.tgz", + "integrity": "sha512-LmME957M1zOsUhG+67rAjKfiWFox3SBxE/yymatMZsAx+oMrJ0YQ8AToOnyCm7xbeg2ep37IHLxdu0o2MavQOQ==", + "dev": true, + "dependencies": { + "node-forge": "^1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver-diff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", + "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", + "dependencies": { + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/semver-diff/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "dev": true, + "dependencies": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "1.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", + "dev": true, + "dependencies": { + "accepts": "~1.3.4", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.6.2", + "mime-types": "~2.1.17", + "parseurl": "~1.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/serve-index/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/serve-index/node_modules/http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", + "dev": true, + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-index/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "node_modules/serve-index/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/serve-index/node_modules/setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "node_modules/serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "dev": true, + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-immediate-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", + "dev": true + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "dev": true + }, + "node_modules/sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + }, + "bin": { + "sha.js": "bin.js" + } + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shallow-copy": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.1.tgz", + "integrity": "sha1-QV9CcC1z2BAzApLMXuhurhoRoXA=" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/shellwords": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", + "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", + "dev": true + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + }, + "node_modules/simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "dev": true, + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/simple-swizzle/node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", + "dev": true + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/smooth-scroll": { + "version": "16.1.3", + "resolved": "https://registry.npmjs.org/smooth-scroll/-/smooth-scroll-16.1.3.tgz", + "integrity": "sha512-ca9U+neJS/cbdScTBuUTCZvUWNF2EuMCk7oAx3ImdeRK5FPm+xRo9XsVHIkeEVkn7MBRx+ufVEhyveM4ZhaTGA==" + }, + "node_modules/sockjs": { + "version": "0.3.24", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.24.tgz", + "integrity": "sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==", + "dev": true, + "dependencies": { + "faye-websocket": "^0.11.3", + "uuid": "^8.3.2", + "websocket-driver": "^0.7.4" + } + }, + "node_modules/source-list-map": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", + "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", + "dev": true + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==" + }, + "node_modules/spdy": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.2.tgz", + "integrity": "sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==", + "dev": true, + "dependencies": { + "debug": "^4.1.0", + "handle-thing": "^2.0.0", + "http-deceiver": "^1.2.7", + "select-hose": "^2.0.0", + "spdy-transport": "^3.0.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/spdy-transport": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz", + "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", + "dev": true, + "dependencies": { + "debug": "^4.1.0", + "detect-node": "^2.0.4", + "hpack.js": "^2.1.6", + "obuf": "^1.1.2", + "readable-stream": "^3.0.6", + "wbuf": "^1.7.3" + } + }, + "node_modules/spdy-transport/node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "node_modules/stable": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz", + "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==", + "dev": true + }, + "node_modules/static-eval": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.1.0.tgz", + "integrity": "sha512-agtxZ/kWSsCkI5E4QifRwsaPs0P0JmZV6dkLz6ILYfFYQGn+5plctanRN+IC8dJRiFkyXHrwEE3W9Wmx67uDbw==", + "dependencies": { + "escodegen": "^1.11.1" + } + }, + "node_modules/static-eval/node_modules/escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=4.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/static-eval/node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/static-eval/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/static-module": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/static-module/-/static-module-3.0.4.tgz", + "integrity": "sha512-gb0v0rrgpBkifXCa3yZXxqVmXDVE+ETXj6YlC/jt5VzOnGXR2C15+++eXuMDUYsePnbhf+lwW0pE1UXyOLtGCw==", + "dependencies": { + "acorn-node": "^1.3.0", + "concat-stream": "~1.6.0", + "convert-source-map": "^1.5.1", + "duplexer2": "~0.1.4", + "escodegen": "^1.11.1", + "has": "^1.0.1", + "magic-string": "0.25.1", + "merge-source-map": "1.0.4", + "object-inspect": "^1.6.0", + "readable-stream": "~2.3.3", + "scope-analyzer": "^2.0.1", + "shallow-copy": "~0.0.1", + "static-eval": "^2.0.5", + "through2": "~2.0.3" + } + }, + "node_modules/static-module/node_modules/escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=4.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/static-module/node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/static-module/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/std-env": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.1.1.tgz", + "integrity": "sha512-/c645XdExBypL01TpFKiG/3RAa/Qmu+zRi0MwAmrdEkwHNuN0ebo8ccAXBBDa5Z0QOJgBskUIbuCK91x0sCVEw==", + "dev": true + }, + "node_modules/stream-browserify": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", + "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", + "dev": true, + "dependencies": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + } + }, + "node_modules/stream-http": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "dev": true, + "dependencies": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "to-arraybuffer": "^1.0.0", + "xtend": "^4.0.0" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/style-loader": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-2.0.0.tgz", + "integrity": "sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ==", + "dev": true, + "dependencies": { + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/style-loader/node_modules/schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/stylehacks": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-5.1.0.tgz", + "integrity": "sha512-SzLmvHQTrIWfSgljkQCw2++C9+Ne91d/6Sp92I8c5uHTcy/PgeHamwITIbBW9wnFTY/3ZfSXR9HIL6Ikqmcu6Q==", + "dev": true, + "dependencies": { + "browserslist": "^4.16.6", + "postcss-selector-parser": "^6.0.4" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/svg.draggable.js": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/svg.draggable.js/-/svg.draggable.js-2.2.2.tgz", + "integrity": "sha512-JzNHBc2fLQMzYCZ90KZHN2ohXL0BQJGQimK1kGk6AvSeibuKcIdDX9Kr0dT9+UJ5O8nYA0RB839Lhvk4CY4MZw==", + "dependencies": { + "svg.js": "^2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/svg.easing.js": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/svg.easing.js/-/svg.easing.js-2.0.0.tgz", + "integrity": "sha1-iqmUawqOJ4V6XEChDrpAkeVpHxI=", + "dependencies": { + "svg.js": ">=2.3.x" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/svg.filter.js": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/svg.filter.js/-/svg.filter.js-2.0.2.tgz", + "integrity": "sha1-kQCOFROJ3ZIwd5/L5uLJo2LRwgM=", + "dependencies": { + "svg.js": "^2.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/svg.js": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/svg.js/-/svg.js-2.7.1.tgz", + "integrity": "sha512-ycbxpizEQktk3FYvn/8BH+6/EuWXg7ZpQREJvgacqn46gIddG24tNNe4Son6omdXCnSOaApnpZw6MPCBA1dODA==" + }, + "node_modules/svg.pathmorphing.js": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/svg.pathmorphing.js/-/svg.pathmorphing.js-0.1.3.tgz", + "integrity": "sha512-49HWI9X4XQR/JG1qXkSDV8xViuTLIWm/B/7YuQELV5KMOPtXjiwH4XPJvr/ghEDibmLQ9Oc22dpWpG0vUDDNww==", + "dependencies": { + "svg.js": "^2.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/svg.resize.js": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/svg.resize.js/-/svg.resize.js-1.4.3.tgz", + "integrity": "sha512-9k5sXJuPKp+mVzXNvxz7U0uC9oVMQrrf7cFsETznzUDDm0x8+77dtZkWdMfRlmbkEEYvUn9btKuZ3n41oNA+uw==", + "dependencies": { + "svg.js": "^2.6.5", + "svg.select.js": "^2.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/svg.resize.js/node_modules/svg.select.js": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/svg.select.js/-/svg.select.js-2.1.2.tgz", + "integrity": "sha512-tH6ABEyJsAOVAhwcCjF8mw4crjXSI1aa7j2VQR8ZuJ37H2MBUbyeqYr5nEO7sSN3cy9AR9DUwNg0t/962HlDbQ==", + "dependencies": { + "svg.js": "^2.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/svg.select.js": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/svg.select.js/-/svg.select.js-3.0.1.tgz", + "integrity": "sha512-h5IS/hKkuVCbKSieR9uQCj9w+zLHoPh+ce19bBYyqF53g6mnPB8sAtIbe1s9dh2S2fCmYX2xel1Ln3PJBbK4kw==", + "dependencies": { + "svg.js": "^2.6.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/svgo": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz", + "integrity": "sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==", + "dev": true, + "dependencies": { + "@trysound/sax": "0.2.0", + "commander": "^7.2.0", + "css-select": "^4.1.3", + "css-tree": "^1.1.3", + "csso": "^4.2.0", + "picocolors": "^1.0.0", + "stable": "^0.1.8" + }, + "bin": { + "svgo": "bin/svgo" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/sweetalert2": { + "version": "11.4.8", + "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.4.8.tgz", + "integrity": "sha512-BDS/+E8RwaekGSxCPUbPnsRAyQ439gtXkTF/s98vY2l9DaVEOMjGj1FaQSorfGREKsbbxGSP7UXboibL5vgTMA==", + "funding": { + "type": "individual", + "url": "https://sweetalert2.github.io/#donations" + } + }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/terser": { + "version": "5.12.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.12.1.tgz", + "integrity": "sha512-NXbs+7nisos5E+yXwAD+y7zrcTkMqb0dEJxIGtSKPdCBzopf7ni4odPul2aechpV7EXNvOudYOX2bb5tln1jbQ==", + "dev": true, + "dependencies": { + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map": "~0.7.2", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz", + "integrity": "sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g==", + "dev": true, + "dependencies": { + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.0", + "source-map": "^0.6.1", + "terser": "^5.7.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/terser-webpack-plugin/node_modules/schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/terser/node_modules/source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/thunky": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", + "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==", + "dev": true + }, + "node_modules/ticky": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ticky/-/ticky-1.0.1.tgz", + "integrity": "sha1-t8+nHnaPHJAAxJe5FRswlHxQ5G0=" + }, + "node_modules/timers-browserify": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz", + "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", + "dev": true, + "dependencies": { + "setimmediate": "^1.0.4" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/timsort": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz", + "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=", + "dev": true + }, + "node_modules/tiny-binary-search": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-binary-search/-/tiny-binary-search-1.0.3.tgz", + "integrity": "sha512-STSHX/L5nI9WTLv6wrzJbAPbO7OIISX83KFBh2GVbX1Uz/vgZOU/ANn/8iV6t35yMTpoPzzO+3OQid3mifE0CA==" + }, + "node_modules/tiny-emitter": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz", + "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==" + }, + "node_modules/tiny-glob": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz", + "integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==", + "dependencies": { + "globalyzer": "0.1.0", + "globrex": "^0.1.2" + } + }, + "node_modules/tiny-inflate": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz", + "integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==" + }, + "node_modules/tiny-slider": { + "version": "2.9.4", + "resolved": "https://registry.npmjs.org/tiny-slider/-/tiny-slider-2.9.4.tgz", + "integrity": "sha512-LAs2kldWcY+BqCKw4kxd4CMx2RhWrHyEePEsymlOIISTlOVkjfK40sSD7ay73eKXBLg/UkluAZpcfCstimHXew==" + }, + "node_modules/tinymce": { + "version": "5.10.3", + "resolved": "https://registry.npmjs.org/tinymce/-/tinymce-5.10.3.tgz", + "integrity": "sha512-O59ssHNnujWvSk5Gt8hIGrdNCMKVWVQv9F8siAgLTRgTh0t3NDHrP1UlLtCxArUi9DPWZvlBeUz8D5fJTu7vnA==" + }, + "node_modules/to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", + "dev": true + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-readable-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", + "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", + "engines": { + "node": ">=6" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/touch": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", + "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", + "dependencies": { + "nopt": "~1.0.10" + }, + "bin": { + "nodetouch": "bin/nodetouch.js" + } + }, + "node_modules/tslib": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", + "dev": true + }, + "node_modules/tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", + "dev": true + }, + "node_modules/type": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", + "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" + }, + "node_modules/type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dev": true, + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typed.js": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/typed.js/-/typed.js-2.0.12.tgz", + "integrity": "sha512-lyACZh1cu+vpfYY3DG/bvsGLXXbdoDDpWxmqta10IQUdMXisMXOEyl+jos+YT9uBbzK4QaKYBjT3R0kTJO0Slw==" + }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + }, + "node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, + "node_modules/uglify-js": { + "version": "3.15.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.4.tgz", + "integrity": "sha512-vMOPGDuvXecPs34V74qDKk4iJ/SN4vL3Ow/23ixafENYvtrNvtbcgUeugTcUGRGsOF/5fU8/NYSL5Hyb3l1OJA==", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/undefsafe": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", + "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==" + }, + "node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", + "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "dev": true, + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-value-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", + "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-properties": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/unicode-properties/-/unicode-properties-1.3.1.tgz", + "integrity": "sha512-nIV3Tf3LcUEZttY/2g4ZJtGXhWwSkuLL+rCu0DIAMbjyVPj+8j5gNVz4T/sVbnQybIsd5SFGkPKg/756OY6jlA==", + "dependencies": { + "base64-js": "^1.3.0", + "unicode-trie": "^2.0.0" + } + }, + "node_modules/unicode-property-aliases-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", + "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-trie": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz", + "integrity": "sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==", + "dependencies": { + "pako": "^0.2.5", + "tiny-inflate": "^1.0.0" + } + }, + "node_modules/unicode-trie/node_modules/pako": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", + "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=" + }, + "node_modules/uniq": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", + "dev": true + }, + "node_modules/uniqs": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz", + "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=", + "dev": true + }, + "node_modules/unique-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", + "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", + "dependencies": { + "crypto-random-string": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/unquote": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz", + "integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=", + "dev": true + }, + "node_modules/update-notifier": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-5.1.0.tgz", + "integrity": "sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==", + "dependencies": { + "boxen": "^5.0.0", + "chalk": "^4.1.0", + "configstore": "^5.0.1", + "has-yarn": "^2.1.0", + "import-lazy": "^2.1.0", + "is-ci": "^2.0.0", + "is-installed-globally": "^0.4.0", + "is-npm": "^5.0.0", + "is-yarn-global": "^0.3.0", + "latest-version": "^5.1.0", + "pupa": "^2.1.1", + "semver": "^7.3.4", + "semver-diff": "^3.1.1", + "xdg-basedir": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/yeoman/update-notifier?sponsor=1" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/uri-js/node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "dependencies": { + "punycode": "1.3.2", + "querystring": "0.2.0" + } + }, + "node_modules/url-parse-lax": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", + "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", + "dependencies": { + "prepend-http": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/url/node_modules/punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + }, + "node_modules/util": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", + "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", + "dev": true, + "dependencies": { + "inherits": "2.0.3" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "node_modules/util.promisify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz", + "integrity": "sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==", + "dev": true, + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.2", + "has-symbols": "^1.0.1", + "object.getownpropertydescriptors": "^2.1.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/util/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/vendors": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz", + "integrity": "sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/vis-data": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/vis-data/-/vis-data-7.1.4.tgz", + "integrity": "sha512-usy+ePX1XnArNvJ5BavQod7YRuGQE1pjFl+pu7IS6rCom2EBoG0o1ZzCqf3l5US6MW51kYkLR+efxRbnjxNl7w==", + "hasInstallScript": true, + "peer": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/visjs" + }, + "peerDependencies": { + "uuid": "^7.0.0 || ^8.0.0", + "vis-util": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/vis-timeline": { + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/vis-timeline/-/vis-timeline-7.5.1.tgz", + "integrity": "sha512-XZMHHbA8xm9/Y/iu3mE9MT7J5tfWgbdsW+PmqrgINU2QRX24AiqifNHZHV4YYzeJstiTSOg9Gs5qRkxQ0BvZJw==", + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/visjs" + }, + "peerDependencies": { + "@egjs/hammerjs": "^2.0.0", + "component-emitter": "^1.3.0", + "keycharm": "^0.3.0 || ^0.4.0", + "moment": "^2.24.0", + "propagating-hammerjs": "^1.4.0 || ^2.0.0", + "uuid": "^3.4.0 || ^7.0.0 || ^8.0.0", + "vis-data": "^6.3.0 || ^7.0.0", + "vis-util": "^3.0.0 || ^4.0.0 || ^5.0.0", + "xss": "^1.0.0" + } + }, + "node_modules/vis-util": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/vis-util/-/vis-util-5.0.3.tgz", + "integrity": "sha512-Wf9STUcFrDzK4/Zr7B6epW2Kvm3ORNWF+WiwEz2dpf5RdWkLUXFSbLcuB88n1W6tCdFwVN+v3V4/Xmn9PeL39g==", + "peer": true, + "engines": { + "node": ">=8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/visjs" + }, + "peerDependencies": { + "@egjs/hammerjs": "^2.0.0", + "component-emitter": "^1.3.0" + } + }, + "node_modules/vm-browserify": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", + "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", + "dev": true + }, + "node_modules/vue-style-loader": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz", + "integrity": "sha512-sFuh0xfbtpRlKfm39ss/ikqs9AbKCoXZBpHeVZ8Tx650o0k0q/YCM7FRvigtxpACezfq6af+a7JeqVTWvncqDg==", + "dev": true, + "dependencies": { + "hash-sum": "^1.0.2", + "loader-utils": "^1.0.2" + } + }, + "node_modules/vue-style-loader/node_modules/json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/vue-style-loader/node_modules/loader-utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", + "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/watchpack": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", + "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", + "dev": true, + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/wbuf": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", + "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", + "dev": true, + "dependencies": { + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/webpack": { + "version": "5.72.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.0.tgz", + "integrity": "sha512-qmSmbspI0Qo5ld49htys8GY9XhS9CGqFoHTsOVAnjBdg0Zn79y135R+k4IR4rKK6+eKaabMhJwiVB7xw0SJu5w==", + "dev": true, + "dependencies": { + "@types/eslint-scope": "^3.7.3", + "@types/estree": "^0.0.51", + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/wasm-edit": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1", + "acorn": "^8.4.1", + "acorn-import-assertions": "^1.7.6", + "browserslist": "^4.14.5", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.9.2", + "es-module-lexer": "^0.9.0", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.9", + "json-parse-better-errors": "^1.0.2", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.1.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.1.3", + "watchpack": "^2.3.1", + "webpack-sources": "^3.2.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-cli": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.9.2.tgz", + "integrity": "sha512-m3/AACnBBzK/kMTcxWHcZFPrw/eQuY4Df1TxvIWfWM2x7mRqBQCqKEd96oCUa9jkapLBaFfRce33eGDb4Pr7YQ==", + "dev": true, + "dependencies": { + "@discoveryjs/json-ext": "^0.5.0", + "@webpack-cli/configtest": "^1.1.1", + "@webpack-cli/info": "^1.4.1", + "@webpack-cli/serve": "^1.6.1", + "colorette": "^2.0.14", + "commander": "^7.0.0", + "execa": "^5.0.0", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^2.2.0", + "rechoir": "^0.7.0", + "webpack-merge": "^5.7.3" + }, + "bin": { + "webpack-cli": "bin/cli.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "peerDependencies": { + "webpack": "4.x.x || 5.x.x" + }, + "peerDependenciesMeta": { + "@webpack-cli/generators": { + "optional": true + }, + "@webpack-cli/migrate": { + "optional": true + }, + "webpack-bundle-analyzer": { + "optional": true + }, + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/webpack-dev-middleware": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.1.tgz", + "integrity": "sha512-81EujCKkyles2wphtdrnPg/QqegC/AtqNH//mQkBYSMqwFVCQrxM6ktB2O/SPlZy7LqeEfTbV3cZARGQz6umhg==", + "dev": true, + "dependencies": { + "colorette": "^2.0.10", + "memfs": "^3.4.1", + "mime-types": "^2.1.31", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/webpack-dev-middleware/node_modules/ajv": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", + "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/webpack-dev-middleware/node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/webpack-dev-middleware/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/webpack-dev-middleware/node_modules/schema-utils": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", + "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.8.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/webpack-dev-server": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.8.1.tgz", + "integrity": "sha512-dwld70gkgNJa33czmcj/PlKY/nOy/BimbrgZRaR9vDATBQAYgLzggR0nxDtPLJiLrMgZwbE6RRfJ5vnBBasTyg==", + "dev": true, + "dependencies": { + "@types/bonjour": "^3.5.9", + "@types/connect-history-api-fallback": "^1.3.5", + "@types/express": "^4.17.13", + "@types/serve-index": "^1.9.1", + "@types/sockjs": "^0.3.33", + "@types/ws": "^8.5.1", + "ansi-html-community": "^0.0.8", + "bonjour-service": "^1.0.11", + "chokidar": "^3.5.3", + "colorette": "^2.0.10", + "compression": "^1.7.4", + "connect-history-api-fallback": "^1.6.0", + "default-gateway": "^6.0.3", + "express": "^4.17.3", + "graceful-fs": "^4.2.6", + "html-entities": "^2.3.2", + "http-proxy-middleware": "^2.0.3", + "ipaddr.js": "^2.0.1", + "open": "^8.0.9", + "p-retry": "^4.5.0", + "portfinder": "^1.0.28", + "rimraf": "^3.0.2", + "schema-utils": "^4.0.0", + "selfsigned": "^2.0.1", + "serve-index": "^1.9.1", + "sockjs": "^0.3.21", + "spdy": "^4.0.2", + "webpack-dev-middleware": "^5.3.1", + "ws": "^8.4.2" + }, + "bin": { + "webpack-dev-server": "bin/webpack-dev-server.js" + }, + "engines": { + "node": ">= 12.13.0" + }, + "peerDependencies": { + "webpack": "^4.37.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-dev-server/node_modules/ajv": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", + "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/webpack-dev-server/node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/webpack-dev-server/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/webpack-dev-server/node_modules/schema-utils": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", + "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.8.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/webpack-merge": { + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.8.0.tgz", + "integrity": "sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==", + "dev": true, + "dependencies": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/webpack-notifier": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/webpack-notifier/-/webpack-notifier-1.15.0.tgz", + "integrity": "sha512-N2V8UMgRB5komdXQRavBsRpw0hPhJq2/SWNOGuhrXpIgRhcMexzkGQysUyGStHLV5hkUlgpRiF7IUXoBqyMmzQ==", + "dev": true, + "dependencies": { + "node-notifier": "^9.0.0", + "strip-ansi": "^6.0.0" + }, + "peerDependencies": { + "@types/webpack": ">4.41.31" + }, + "peerDependenciesMeta": { + "@types/webpack": { + "optional": true + } + } + }, + "node_modules/webpack-rtl-plugin": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/webpack-rtl-plugin/-/webpack-rtl-plugin-2.0.0.tgz", + "integrity": "sha512-lROgFkiPjapg9tcZ8FiLWeP5pJoG00018aEjLTxSrVldPD1ON+LPlhKPHjb7eE8Bc0+KL23pxcAjWDGOv9+UAw==", + "dev": true, + "dependencies": { + "@romainberger/css-diff": "^1.0.3", + "async": "^2.0.0", + "cssnano": "4.1.10", + "rtlcss": "2.4.0", + "webpack-sources": "1.3.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/cosmiconfig": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", + "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", + "dev": true, + "dependencies": { + "import-fresh": "^2.0.0", + "is-directory": "^0.3.1", + "js-yaml": "^3.13.1", + "parse-json": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/css-declaration-sorter": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz", + "integrity": "sha512-BcxQSKTSEEQUftYpBVnsH4SF05NTuBokb19/sBt6asXGKZ/6VP7PLG1CBCkFDYOnhXhPh0jMhO6xZ71oYHXHBA==", + "dev": true, + "dependencies": { + "postcss": "^7.0.1", + "timsort": "^0.3.0" + }, + "engines": { + "node": ">4" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/css-select": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.1.0.tgz", + "integrity": "sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^3.2.1", + "domutils": "^1.7.0", + "nth-check": "^1.0.2" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/css-tree": { + "version": "1.0.0-alpha.37", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.37.tgz", + "integrity": "sha512-DMxWJg0rnz7UgxKT0Q1HU/L9BeJI0M6ksor0OgqOnF+aRCDWg/N2641HmVyU9KVIu0OVVWOb2IpC9A+BJRnejg==", + "dev": true, + "dependencies": { + "mdn-data": "2.0.4", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/css-what": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz", + "integrity": "sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ==", + "dev": true, + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/cssnano": { + "version": "4.1.10", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.10.tgz", + "integrity": "sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ==", + "dev": true, + "dependencies": { + "cosmiconfig": "^5.0.0", + "cssnano-preset-default": "^4.0.7", + "is-resolvable": "^1.0.0", + "postcss": "^7.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/cssnano-preset-default": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.8.tgz", + "integrity": "sha512-LdAyHuq+VRyeVREFmuxUZR1TXjQm8QQU/ktoo/x7bz+SdOge1YKc5eMN6pRW7YWBmyq59CqYba1dJ5cUukEjLQ==", + "dev": true, + "dependencies": { + "css-declaration-sorter": "^4.0.1", + "cssnano-util-raw-cache": "^4.0.1", + "postcss": "^7.0.0", + "postcss-calc": "^7.0.1", + "postcss-colormin": "^4.0.3", + "postcss-convert-values": "^4.0.1", + "postcss-discard-comments": "^4.0.2", + "postcss-discard-duplicates": "^4.0.2", + "postcss-discard-empty": "^4.0.1", + "postcss-discard-overridden": "^4.0.1", + "postcss-merge-longhand": "^4.0.11", + "postcss-merge-rules": "^4.0.3", + "postcss-minify-font-values": "^4.0.2", + "postcss-minify-gradients": "^4.0.2", + "postcss-minify-params": "^4.0.2", + "postcss-minify-selectors": "^4.0.2", + "postcss-normalize-charset": "^4.0.1", + "postcss-normalize-display-values": "^4.0.2", + "postcss-normalize-positions": "^4.0.2", + "postcss-normalize-repeat-style": "^4.0.2", + "postcss-normalize-string": "^4.0.2", + "postcss-normalize-timing-functions": "^4.0.2", + "postcss-normalize-unicode": "^4.0.1", + "postcss-normalize-url": "^4.0.1", + "postcss-normalize-whitespace": "^4.0.2", + "postcss-ordered-values": "^4.1.2", + "postcss-reduce-initial": "^4.0.3", + "postcss-reduce-transforms": "^4.0.2", + "postcss-svgo": "^4.0.3", + "postcss-unique-selectors": "^4.0.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/dom-serializer": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", + "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==", + "dev": true, + "dependencies": { + "domelementtype": "^2.0.1", + "entities": "^2.0.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/domutils": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz", + "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", + "dev": true, + "dependencies": { + "dom-serializer": "0", + "domelementtype": "1" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/domutils/node_modules/domelementtype": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/import-fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", + "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", + "dev": true, + "dependencies": { + "caller-path": "^2.0.0", + "resolve-from": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/mdn-data": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz", + "integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/normalize-url": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz", + "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/nth-check": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "dev": true, + "dependencies": { + "boolbase": "~1.0.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "dependencies": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/picocolors": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", + "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss": { + "version": "7.0.39", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", + "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "dev": true, + "dependencies": { + "picocolors": "^0.2.1", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-calc": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.5.tgz", + "integrity": "sha512-1tKHutbGtLtEZF6PT4JSihCHfIVldU72mZ8SdZHIYriIZ9fh9k9aWSppaT8rHsyI3dX+KSR+W+Ix9BMY3AODrg==", + "dev": true, + "dependencies": { + "postcss": "^7.0.27", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.0.2" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-colormin": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz", + "integrity": "sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw==", + "dev": true, + "dependencies": { + "browserslist": "^4.0.0", + "color": "^3.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-colormin/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-convert-values": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz", + "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==", + "dev": true, + "dependencies": { + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-convert-values/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-discard-comments": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz", + "integrity": "sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==", + "dev": true, + "dependencies": { + "postcss": "^7.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-discard-duplicates": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz", + "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==", + "dev": true, + "dependencies": { + "postcss": "^7.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-discard-empty": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz", + "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==", + "dev": true, + "dependencies": { + "postcss": "^7.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-discard-overridden": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz", + "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==", + "dev": true, + "dependencies": { + "postcss": "^7.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-merge-longhand": { + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz", + "integrity": "sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw==", + "dev": true, + "dependencies": { + "css-color-names": "0.0.4", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0", + "stylehacks": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-merge-longhand/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-merge-rules": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz", + "integrity": "sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ==", + "dev": true, + "dependencies": { + "browserslist": "^4.0.0", + "caniuse-api": "^3.0.0", + "cssnano-util-same-parent": "^4.0.0", + "postcss": "^7.0.0", + "postcss-selector-parser": "^3.0.0", + "vendors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-merge-rules/node_modules/postcss-selector-parser": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", + "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", + "dev": true, + "dependencies": { + "dot-prop": "^5.2.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-minify-font-values": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz", + "integrity": "sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg==", + "dev": true, + "dependencies": { + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-minify-font-values/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-minify-gradients": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz", + "integrity": "sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q==", + "dev": true, + "dependencies": { + "cssnano-util-get-arguments": "^4.0.0", + "is-color-stop": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-minify-gradients/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-minify-params": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz", + "integrity": "sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg==", + "dev": true, + "dependencies": { + "alphanum-sort": "^1.0.0", + "browserslist": "^4.0.0", + "cssnano-util-get-arguments": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0", + "uniqs": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-minify-params/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-minify-selectors": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz", + "integrity": "sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g==", + "dev": true, + "dependencies": { + "alphanum-sort": "^1.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-selector-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-minify-selectors/node_modules/postcss-selector-parser": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", + "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", + "dev": true, + "dependencies": { + "dot-prop": "^5.2.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-charset": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz", + "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==", + "dev": true, + "dependencies": { + "postcss": "^7.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-display-values": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz", + "integrity": "sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ==", + "dev": true, + "dependencies": { + "cssnano-util-get-match": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-display-values/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-positions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz", + "integrity": "sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA==", + "dev": true, + "dependencies": { + "cssnano-util-get-arguments": "^4.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-positions/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-repeat-style": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz", + "integrity": "sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q==", + "dev": true, + "dependencies": { + "cssnano-util-get-arguments": "^4.0.0", + "cssnano-util-get-match": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-repeat-style/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-string": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz", + "integrity": "sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA==", + "dev": true, + "dependencies": { + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-string/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-timing-functions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz", + "integrity": "sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A==", + "dev": true, + "dependencies": { + "cssnano-util-get-match": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-timing-functions/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-unicode": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz", + "integrity": "sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg==", + "dev": true, + "dependencies": { + "browserslist": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-unicode/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-url": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz", + "integrity": "sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA==", + "dev": true, + "dependencies": { + "is-absolute-url": "^2.0.0", + "normalize-url": "^3.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-url/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-whitespace": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz", + "integrity": "sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA==", + "dev": true, + "dependencies": { + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-normalize-whitespace/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-ordered-values": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz", + "integrity": "sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw==", + "dev": true, + "dependencies": { + "cssnano-util-get-arguments": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-ordered-values/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-reduce-initial": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz", + "integrity": "sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA==", + "dev": true, + "dependencies": { + "browserslist": "^4.0.0", + "caniuse-api": "^3.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-reduce-transforms": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz", + "integrity": "sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg==", + "dev": true, + "dependencies": { + "cssnano-util-get-match": "^4.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-reduce-transforms/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-svgo": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.3.tgz", + "integrity": "sha512-NoRbrcMWTtUghzuKSoIm6XV+sJdvZ7GZSc3wdBN0W19FTtp2ko8NqLsgoh/m9CzNhU3KLPvQmjIwtaNFkaFTvw==", + "dev": true, + "dependencies": { + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0", + "svgo": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-svgo/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/webpack-rtl-plugin/node_modules/postcss-unique-selectors": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz", + "integrity": "sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==", + "dev": true, + "dependencies": { + "alphanum-sort": "^1.0.0", + "postcss": "^7.0.0", + "uniqs": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/rtlcss": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/rtlcss/-/rtlcss-2.4.0.tgz", + "integrity": "sha512-hdjFhZ5FCI0ABOfyXOMOhBtwPWtANLCG7rOiOcRf+yi5eDdxmDjqBruWouEnwVdzfh/TWF6NNncIEsigOCFZOA==", + "dev": true, + "dependencies": { + "chalk": "^2.3.0", + "findup": "^0.1.5", + "mkdirp": "^0.5.1", + "postcss": "^6.0.14", + "strip-json-comments": "^2.0.0" + }, + "bin": { + "rtlcss": "bin/rtlcss.js" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/rtlcss/node_modules/postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "dependencies": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.4.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/stylehacks": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.3.tgz", + "integrity": "sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==", + "dev": true, + "dependencies": { + "browserslist": "^4.0.0", + "postcss": "^7.0.0", + "postcss-selector-parser": "^3.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/stylehacks/node_modules/postcss-selector-parser": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", + "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", + "dev": true, + "dependencies": { + "dot-prop": "^5.2.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/svgo": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.3.2.tgz", + "integrity": "sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw==", + "deprecated": "This SVGO version is no longer supported. Upgrade to v2.x.x.", + "dev": true, + "dependencies": { + "chalk": "^2.4.1", + "coa": "^2.0.2", + "css-select": "^2.0.0", + "css-select-base-adapter": "^0.1.1", + "css-tree": "1.0.0-alpha.37", + "csso": "^4.0.2", + "js-yaml": "^3.13.1", + "mkdirp": "~0.5.1", + "object.values": "^1.1.0", + "sax": "~1.2.4", + "stable": "^0.1.8", + "unquote": "~1.1.1", + "util.promisify": "~1.0.0" + }, + "bin": { + "svgo": "bin/svgo" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/webpack-rtl-plugin/node_modules/webpack-sources": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.3.0.tgz", + "integrity": "sha512-OiVgSrbGu7NEnEvQJJgdSFPl2qWKkWq5lHMhgiToIiN9w34EBnjYzSYs+VbL5KoYiLNtFFa7BZIKxRED3I32pA==", + "dev": true, + "dependencies": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + } + }, + "node_modules/webpack-sources": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", + "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", + "dev": true, + "dependencies": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + } + }, + "node_modules/webpack/node_modules/schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/webpack/node_modules/webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpackbar": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/webpackbar/-/webpackbar-5.0.2.tgz", + "integrity": "sha512-BmFJo7veBDgQzfWXl/wwYXr/VFus0614qZ8i9znqcl9fnEdiVkdbi0TedLQ6xAK92HZHDJ0QmyQ0fmuZPAgCYQ==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "consola": "^2.15.3", + "pretty-time": "^1.1.0", + "std-env": "^3.0.1" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "webpack": "3 || 4 || 5" + } + }, + "node_modules/websocket-driver": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz", + "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==", + "dev": true, + "dependencies": { + "http-parser-js": ">=0.5.1", + "safe-buffer": ">=5.1.0", + "websocket-extensions": ">=0.1.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/websocket-extensions": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", + "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/widest-line": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", + "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", + "dependencies": { + "string-width": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wildcard": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz", + "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", + "dev": true + }, + "node_modules/wnumb": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/wnumb/-/wnumb-1.2.0.tgz", + "integrity": "sha512-eYut5K/dW7usfk/Mwm6nxBNoTPp/uP7PlXld+hhg7lDtHLdHFnNclywGYM9BRC7Ohd4JhwuHg+vmOUGfd3NhVA==" + }, + "node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "node_modules/write-file-atomic": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dependencies": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "node_modules/ws": { + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", + "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "dev": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xdg-basedir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", + "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/xmldoc": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/xmldoc/-/xmldoc-1.1.2.tgz", + "integrity": "sha512-ruPC/fyPNck2BD1dpz0AZZyrEwMOrWTO5lDdIXS91rs3wtm4j+T8Rp2o+zoOYkkAxJTZRPOSnOGei1egoRmKMQ==", + "dependencies": { + "sax": "^1.2.1" + } + }, + "node_modules/xss": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/xss/-/xss-1.0.11.tgz", + "integrity": "sha512-EimjrjThZeK2MO7WKR9mN5ZC1CSqivSl55wvUK5EtU6acf0rzEE1pN+9ZDrFXJ82BRp3JL38pPE6S4o/rpp1zQ==", + "peer": true, + "dependencies": { + "commander": "^2.20.3", + "cssfilter": "0.0.10" + }, + "bin": { + "xss": "bin/xss" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/xss/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "peer": true + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/yargs": { + "version": "17.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.4.1.tgz", + "integrity": "sha512-WSZD9jgobAg3ZKuCQZSa3g9QOJeCCqLoLAykiWgmXnDo9EPnn4RPf5qVTtzgOx66o6/oqhcA5tHtJXpG8pMt3g==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.0.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz", + "integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + }, + "dependencies": { + "@ampproject/remapping": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz", + "integrity": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==", + "dev": true, + "requires": { + "@jridgewell/trace-mapping": "^0.3.0" + } + }, + "@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "dev": true, + "requires": { + "@babel/highlight": "^7.16.7" + } + }, + "@babel/compat-data": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.7.tgz", + "integrity": "sha512-p8pdE6j0a29TNGebNm7NzYZWB3xVZJBZ7XGs42uAKzQo8VQ3F0By/cQCtUEABwIqw5zo6WA4NbmxsfzADzMKnQ==", + "dev": true + }, + "@babel/core": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.9.tgz", + "integrity": "sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw==", + "dev": true, + "requires": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.9", + "@babel/helper-compilation-targets": "^7.17.7", + "@babel/helper-module-transforms": "^7.17.7", + "@babel/helpers": "^7.17.9", + "@babel/parser": "^7.17.9", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.9", + "@babel/types": "^7.17.0", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.1", + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "@babel/generator": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.9.tgz", + "integrity": "sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==", + "dev": true, + "requires": { + "@babel/types": "^7.17.0", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "@babel/helper-annotate-as-pure": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", + "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", + "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", + "dev": true, + "requires": { + "@babel/helper-explode-assignable-expression": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-compilation-targets": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.7.tgz", + "integrity": "sha512-UFzlz2jjd8kroj0hmCFV5zr+tQPi1dpC2cRsDV/3IEW8bJfCPrPpmcSN6ZS8RqIq4LXcmpipCQFPddyFA5Yc7w==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.17.7", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.17.5", + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "@babel/helper-create-class-features-plugin": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.17.9.tgz", + "integrity": "sha512-kUjip3gruz6AJKOq5i3nC6CoCEEF/oHH3cp6tOZhB+IyyyPyW0g1Gfsxn3mkk6S08pIA2y8GQh609v9G/5sHVQ==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.17.9", + "@babel/helper-member-expression-to-functions": "^7.17.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7" + } + }, + "@babel/helper-create-regexp-features-plugin": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.0.tgz", + "integrity": "sha512-awO2So99wG6KnlE+TPs6rn83gCz5WlEePJDTnLEqbchMVrBeAujURVphRdigsk094VhvZehFoNOihSlcBjwsXA==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "regexpu-core": "^5.0.1" + } + }, + "@babel/helper-define-polyfill-provider": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", + "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", + "dev": true, + "requires": { + "@babel/helper-compilation-targets": "^7.13.0", + "@babel/helper-module-imports": "^7.12.13", + "@babel/helper-plugin-utils": "^7.13.0", + "@babel/traverse": "^7.13.0", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2", + "semver": "^6.1.2" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "@babel/helper-environment-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", + "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-explode-assignable-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", + "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-function-name": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", + "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "dev": true, + "requires": { + "@babel/template": "^7.16.7", + "@babel/types": "^7.17.0" + } + }, + "@babel/helper-hoist-variables": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz", + "integrity": "sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw==", + "dev": true, + "requires": { + "@babel/types": "^7.17.0" + } + }, + "@babel/helper-module-imports": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-module-transforms": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.17.7.tgz", + "integrity": "sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw==", + "dev": true, + "requires": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-simple-access": "^7.17.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.3", + "@babel/types": "^7.17.0" + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", + "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz", + "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==", + "dev": true + }, + "@babel/helper-remap-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", + "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-wrap-function": "^7.16.8", + "@babel/types": "^7.16.8" + } + }, + "@babel/helper-replace-supers": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz", + "integrity": "sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==", + "dev": true, + "requires": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-member-expression-to-functions": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/traverse": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-simple-access": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz", + "integrity": "sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==", + "dev": true, + "requires": { + "@babel/types": "^7.17.0" + } + }, + "@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", + "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.0" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "dev": true + }, + "@babel/helper-validator-option": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "dev": true + }, + "@babel/helper-wrap-function": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", + "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", + "dev": true, + "requires": { + "@babel/helper-function-name": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.8", + "@babel/types": "^7.16.8" + } + }, + "@babel/helpers": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.17.9.tgz", + "integrity": "sha512-cPCt915ShDWUEzEp3+UNRktO2n6v49l5RSnG9M5pS24hA+2FAc5si+Pn1i4VVbQQ+jh+bIZhPFQOJOzbrOYY1Q==", + "dev": true, + "requires": { + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.9", + "@babel/types": "^7.17.0" + } + }, + "@babel/highlight": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.9.tgz", + "integrity": "sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "@babel/parser": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.9.tgz", + "integrity": "sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==", + "dev": true + }, + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz", + "integrity": "sha512-anv/DObl7waiGEnC24O9zqL0pSuI9hljihqiDuFHC8d7/bjr/4RLGPWuc8rYOff/QPzbEPSkzG8wGG9aDuhHRg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.7.tgz", + "integrity": "sha512-di8vUHRdf+4aJ7ltXhaDbPoszdkh59AQtJM5soLsuHpQJdFQZOA4uGj0V2u/CZ8bJ/u8ULDL5yq6FO/bCXnKHw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-proposal-optional-chaining": "^7.16.7" + } + }, + "@babel/plugin-proposal-async-generator-functions": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.8.tgz", + "integrity": "sha512-71YHIvMuiuqWJQkebWJtdhQTfd4Q4mF76q2IX37uZPkG9+olBxsX+rH1vkhFto4UeJZ9dPY2s+mDvhDm1u2BGQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8", + "@babel/plugin-syntax-async-generators": "^7.8.4" + } + }, + "@babel/plugin-proposal-class-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.7.tgz", + "integrity": "sha512-IobU0Xme31ewjYOShSIqd/ZGM/r/cuOz2z0MDbNrhF5FW+ZVgi0f2lyeoj9KFPDOAqsYxmLWZte1WOwlvY9aww==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-proposal-class-static-block": { + "version": "7.17.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.17.6.tgz", + "integrity": "sha512-X/tididvL2zbs7jZCeeRJ8167U/+Ac135AM6jCAx6gYXDUviZV5Ku9UDvWS2NCuWlFjIRXklYhwo6HhAC7ETnA==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.17.6", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + } + }, + "@babel/plugin-proposal-dynamic-import": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", + "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + } + }, + "@babel/plugin-proposal-export-namespace-from": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.7.tgz", + "integrity": "sha512-ZxdtqDXLRGBL64ocZcs7ovt71L3jhC1RGSyR996svrCi3PYqHNkb3SwPJCs8RIzD86s+WPpt2S73+EHCGO+NUA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + } + }, + "@babel/plugin-proposal-json-strings": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.7.tgz", + "integrity": "sha512-lNZ3EEggsGY78JavgbHsK9u5P3pQaW7k4axlgFLYkMd7UBsiNahCITShLjNQschPyjtO6dADrL24757IdhBrsQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-json-strings": "^7.8.3" + } + }, + "@babel/plugin-proposal-logical-assignment-operators": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.7.tgz", + "integrity": "sha512-K3XzyZJGQCr00+EtYtrDjmwX7o7PLK6U9bi1nCwkQioRFVUv6dJoxbQjtWVtP+bCPy82bONBKG8NPyQ4+i6yjg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + } + }, + "@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.7.tgz", + "integrity": "sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + } + }, + "@babel/plugin-proposal-numeric-separator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", + "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + } + }, + "@babel/plugin-proposal-object-rest-spread": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.17.3.tgz", + "integrity": "sha512-yuL5iQA/TbZn+RGAfxQXfi7CNLmKi1f8zInn4IgobuCWcAb7i+zj4TYzQ9l8cEzVyJ89PDGuqxK1xZpUDISesw==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.17.0", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.16.7" + } + }, + "@babel/plugin-proposal-optional-catch-binding": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", + "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + } + }, + "@babel/plugin-proposal-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.7.tgz", + "integrity": "sha512-eC3xy+ZrUcBtP7x+sq62Q/HYd674pPTb/77XZMb5wbDPGWIdUbSr4Agr052+zaUPSb+gGRnjxXfKFvx5iMJ+DA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + } + }, + "@babel/plugin-proposal-private-methods": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.11.tgz", + "integrity": "sha512-F/2uAkPlXDr8+BHpZvo19w3hLFKge+k75XUprE6jaqKxjGkSYcK+4c+bup5PdW/7W/Rpjwql7FTVEDW+fRAQsw==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.16.10", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-proposal-private-property-in-object": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.7.tgz", + "integrity": "sha512-rMQkjcOFbm+ufe3bTZLyOfsOUOxyvLXZJCTARhJr+8UMSoZmqTe1K1BgkFcrW37rAchWg57yI69ORxiWvUINuQ==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + } + }, + "@babel/plugin-proposal-unicode-property-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.7.tgz", + "integrity": "sha512-QRK0YI/40VLhNVGIjRNAAQkEHws0cswSdFFjpFyt943YmJIU1da9uW63Iu6NFV6CxTZW5eTDCrwZUstBWgp/Rg==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.12.13" + } + }, + "@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", + "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-transform-arrow-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.7.tgz", + "integrity": "sha512-9ffkFFMbvzTvv+7dTp/66xvZAWASuPD5Tl9LK3Z9vhOmANo6j94rik+5YMBt4CwHVMWLWpMsriIc2zsa3WW3xQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.8.tgz", + "integrity": "sha512-MtmUmTJQHCnyJVrScNzNlofQJ3dLFuobYn3mwOTKHnSCMtbNsqvF71GQmJfFjdrXSsAA7iysFmYWw4bXZ20hOg==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8" + } + }, + "@babel/plugin-transform-block-scoped-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", + "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-block-scoping": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.7.tgz", + "integrity": "sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-classes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.7.tgz", + "integrity": "sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "globals": "^11.1.0" + } + }, + "@babel/plugin-transform-computed-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.7.tgz", + "integrity": "sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-destructuring": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.17.7.tgz", + "integrity": "sha512-XVh0r5yq9sLR4vZ6eVZe8FKfIcSgaTBxVBRSYokRj2qksf6QerYnTxz9/GTuKTH/n/HwLP7t6gtlybHetJ/6hQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-dotall-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", + "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-duplicate-keys": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.7.tgz", + "integrity": "sha512-03DvpbRfvWIXyK0/6QiR1KMTWeT6OcQ7tbhjrXyFS02kjuX/mu5Bvnh5SDSWHxyawit2g5aWhKwI86EE7GUnTw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-exponentiation-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", + "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", + "dev": true, + "requires": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-for-of": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.7.tgz", + "integrity": "sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", + "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", + "dev": true, + "requires": { + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.7.tgz", + "integrity": "sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-member-expression-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", + "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-modules-amd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.7.tgz", + "integrity": "sha512-KaaEtgBL7FKYwjJ/teH63oAmE3lP34N3kshz8mm4VMAw7U3PxjVwwUmxEFksbgsNUaO3wId9R2AVQYSEGRa2+g==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-commonjs": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.17.9.tgz", + "integrity": "sha512-2TBFd/r2I6VlYn0YRTz2JdazS+FoUuQ2rIFHoAxtyP/0G3D82SBLaRq9rnUkpqlLg03Byfl/+M32mpxjO6KaPw==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.17.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-simple-access": "^7.17.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-systemjs": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.17.8.tgz", + "integrity": "sha512-39reIkMTUVagzgA5x88zDYXPCMT6lcaRKs1+S9K6NKBPErbgO/w/kP8GlNQTC87b412ZTlmNgr3k2JrWgHH+Bw==", + "dev": true, + "requires": { + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-module-transforms": "^7.17.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-umd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.7.tgz", + "integrity": "sha512-EMh7uolsC8O4xhudF2F6wedbSHm1HHZ0C6aJ7K67zcDNidMzVcxWdGr+htW9n21klm+bOn+Rx4CBsAntZd3rEQ==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.8.tgz", + "integrity": "sha512-j3Jw+n5PvpmhRR+mrgIh04puSANCk/T/UA3m3P1MjJkhlK906+ApHhDIqBQDdOgL/r1UYpz4GNclTXxyZrYGSw==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7" + } + }, + "@babel/plugin-transform-new-target": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.7.tgz", + "integrity": "sha512-xiLDzWNMfKoGOpc6t3U+etCE2yRnn3SM09BXqWPIZOBpL2gvVrBWUKnsJx0K/ADi5F5YC5f8APFfWrz25TdlGg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-object-super": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", + "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7" + } + }, + "@babel/plugin-transform-parameters": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.7.tgz", + "integrity": "sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-property-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", + "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-regenerator": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.17.9.tgz", + "integrity": "sha512-Lc2TfbxR1HOyn/c6b4Y/b6NHoTb67n/IoWLxTu4kC7h4KQnWlhCq2S8Tx0t2SVvv5Uu87Hs+6JEJ5kt2tYGylQ==", + "dev": true, + "requires": { + "regenerator-transform": "^0.15.0" + } + }, + "@babel/plugin-transform-reserved-words": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.7.tgz", + "integrity": "sha512-KQzzDnZ9hWQBjwi5lpY5v9shmm6IVG0U9pB18zvMu2i4H90xpT4gmqwPYsn8rObiadYe2M0gmgsiOIF5A/2rtg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-runtime": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.17.0.tgz", + "integrity": "sha512-fr7zPWnKXNc1xoHfrIU9mN/4XKX4VLZ45Q+oMhfsYIaHvg7mHgmhfOy/ckRWqDK7XF3QDigRpkh5DKq6+clE8A==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "@babel/plugin-transform-shorthand-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", + "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-spread": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.7.tgz", + "integrity": "sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" + } + }, + "@babel/plugin-transform-sticky-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", + "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-template-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.7.tgz", + "integrity": "sha512-VwbkDDUeenlIjmfNeDX/V0aWrQH2QiVyJtwymVQSzItFDTpxfyJh3EVaQiS0rIN/CqbLGr0VcGmuwyTdZtdIsA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-typeof-symbol": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.7.tgz", + "integrity": "sha512-p2rOixCKRJzpg9JB4gjnG4gjWkWa89ZoYUnl9snJ1cWIcTH/hvxZqfO+WjG6T8DRBpctEol5jw1O5rA8gkCokQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-unicode-escapes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", + "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-unicode-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", + "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/preset-env": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.11.tgz", + "integrity": "sha512-qcmWG8R7ZW6WBRPZK//y+E3Cli151B20W1Rv7ln27vuPaXU/8TKms6jFdiJtF7UDTxcrb7mZd88tAeK9LjdT8g==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.16.8", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-option": "^7.16.7", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.16.7", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-async-generator-functions": "^7.16.8", + "@babel/plugin-proposal-class-properties": "^7.16.7", + "@babel/plugin-proposal-class-static-block": "^7.16.7", + "@babel/plugin-proposal-dynamic-import": "^7.16.7", + "@babel/plugin-proposal-export-namespace-from": "^7.16.7", + "@babel/plugin-proposal-json-strings": "^7.16.7", + "@babel/plugin-proposal-logical-assignment-operators": "^7.16.7", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7", + "@babel/plugin-proposal-numeric-separator": "^7.16.7", + "@babel/plugin-proposal-object-rest-spread": "^7.16.7", + "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", + "@babel/plugin-proposal-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-private-methods": "^7.16.11", + "@babel/plugin-proposal-private-property-in-object": "^7.16.7", + "@babel/plugin-proposal-unicode-property-regex": "^7.16.7", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-transform-arrow-functions": "^7.16.7", + "@babel/plugin-transform-async-to-generator": "^7.16.8", + "@babel/plugin-transform-block-scoped-functions": "^7.16.7", + "@babel/plugin-transform-block-scoping": "^7.16.7", + "@babel/plugin-transform-classes": "^7.16.7", + "@babel/plugin-transform-computed-properties": "^7.16.7", + "@babel/plugin-transform-destructuring": "^7.16.7", + "@babel/plugin-transform-dotall-regex": "^7.16.7", + "@babel/plugin-transform-duplicate-keys": "^7.16.7", + "@babel/plugin-transform-exponentiation-operator": "^7.16.7", + "@babel/plugin-transform-for-of": "^7.16.7", + "@babel/plugin-transform-function-name": "^7.16.7", + "@babel/plugin-transform-literals": "^7.16.7", + "@babel/plugin-transform-member-expression-literals": "^7.16.7", + "@babel/plugin-transform-modules-amd": "^7.16.7", + "@babel/plugin-transform-modules-commonjs": "^7.16.8", + "@babel/plugin-transform-modules-systemjs": "^7.16.7", + "@babel/plugin-transform-modules-umd": "^7.16.7", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.16.8", + "@babel/plugin-transform-new-target": "^7.16.7", + "@babel/plugin-transform-object-super": "^7.16.7", + "@babel/plugin-transform-parameters": "^7.16.7", + "@babel/plugin-transform-property-literals": "^7.16.7", + "@babel/plugin-transform-regenerator": "^7.16.7", + "@babel/plugin-transform-reserved-words": "^7.16.7", + "@babel/plugin-transform-shorthand-properties": "^7.16.7", + "@babel/plugin-transform-spread": "^7.16.7", + "@babel/plugin-transform-sticky-regex": "^7.16.7", + "@babel/plugin-transform-template-literals": "^7.16.7", + "@babel/plugin-transform-typeof-symbol": "^7.16.7", + "@babel/plugin-transform-unicode-escapes": "^7.16.7", + "@babel/plugin-transform-unicode-regex": "^7.16.7", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.16.8", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "core-js-compat": "^3.20.2", + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "@babel/preset-modules": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", + "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + } + }, + "@babel/runtime": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.9.tgz", + "integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "@babel/template": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", + "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/traverse": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.9.tgz", + "integrity": "sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.9", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.17.9", + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/parser": "^7.17.9", + "@babel/types": "^7.17.0", + "debug": "^4.1.0", + "globals": "^11.1.0" + } + }, + "@babel/types": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz", + "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "to-fast-properties": "^2.0.0" + } + }, + "@ckeditor/ckeditor5-alignment": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-alignment/-/ckeditor5-alignment-31.1.0.tgz", + "integrity": "sha512-G5H8hWUMpjctlxaJKUa5HVbavEukghSOfOJjKL47MFSlp46fDgdotmGYnW8BLqFJItsccO8PJJy20KaO6Gj9BQ==", + "requires": { + "ckeditor5": "^31.1.0" + } + }, + "@ckeditor/ckeditor5-build-balloon": { + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-balloon/-/ckeditor5-build-balloon-23.1.0.tgz", + "integrity": "sha512-JjiB+ps7r7XkWq1KK757QwQXdm/MjRCaTDlgEnJigEuRgdIr1/UirYH33CIQGNKsRoeU6iaSz+VuFCf9OziR0A==" + }, + "@ckeditor/ckeditor5-build-balloon-block": { + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-balloon-block/-/ckeditor5-build-balloon-block-23.1.0.tgz", + "integrity": "sha512-VAiUfMxxU7jG6StuHeyUt4mcCZRolD6cHhWJACCmcah6ODmENIGtPZJ3fYi+RFpIAFXdlVznfAbYImbvr1UCYg==" + }, + "@ckeditor/ckeditor5-build-classic": { + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-classic/-/ckeditor5-build-classic-23.1.0.tgz", + "integrity": "sha512-wqJZ6yuqm48NoiciRcfs+t73YOfIKovJIiLSHf0yB2I3Mc+bL6iNhwwyJ3b6D/22IgYEXTpc6PiwsYFbGFnq2Q==" + }, + "@ckeditor/ckeditor5-build-decoupled-document": { + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-decoupled-document/-/ckeditor5-build-decoupled-document-23.1.0.tgz", + "integrity": "sha512-dn8/Cw3wf75ZybMLfmPy1ZtitObi6YTHPeavkyu0TVDbJhefpBL+gKWRrTptpvNk3Txw40zWU5MYq0225FpPkA==" + }, + "@ckeditor/ckeditor5-build-inline": { + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-inline/-/ckeditor5-build-inline-23.1.0.tgz", + "integrity": "sha512-SrboOm2cjhbsRkqf6fT0asiG65CCPMko680qIyMPgepKIfsCENfkZf3mLL1vOlOiDk/JtvciWrjq2fzNK9LhNA==" + }, + "@ckeditor/ckeditor5-clipboard": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-clipboard/-/ckeditor5-clipboard-31.1.0.tgz", + "integrity": "sha512-rHvswGs4Q/ZiKPGk0J7+Nrb3mqNugKQFOXA7SSecOI9ZRt6hIxr4fgj4ccb8ceuHNr2vJNmTGC8jjKX7wGHPbw==", + "requires": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "@ckeditor/ckeditor5-widget": "^31.1.0", + "lodash-es": "^4.17.11" + } + }, + "@ckeditor/ckeditor5-core": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-31.1.0.tgz", + "integrity": "sha512-5BUosLrUliV2NZ9DAW48Za/4P3QWmwKMoHohCvq7Jq9Us6TQCnEKauUNexJFDAWqUAdN2WlqaVdSL+FmfhmzSA==", + "requires": { + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "lodash-es": "^4.17.15" + } + }, + "@ckeditor/ckeditor5-engine": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-31.1.0.tgz", + "integrity": "sha512-lHZjdKKeBWR4N2rk4rdnxDtdE3F1Q7Z2Ag2RgHG8GT3J6s2BNx/z++9GxhlCKPR3TQ70XWCLBLGXuFHXIvU0Kg==", + "requires": { + "@ckeditor/ckeditor5-utils": "^31.1.0", + "lodash-es": "^4.17.15" + } + }, + "@ckeditor/ckeditor5-enter": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-enter/-/ckeditor5-enter-31.1.0.tgz", + "integrity": "sha512-9K5d12lCfvnUGESwxpu2UJCLsAaa40QR4JgVHKV0CZpERfcsvcF3XdM8cggS/Ovin2TBq1w+tXhOKbop5Why9Q==", + "requires": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0" + } + }, + "@ckeditor/ckeditor5-paragraph": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-paragraph/-/ckeditor5-paragraph-31.1.0.tgz", + "integrity": "sha512-rltzxwcKwR6mxZqomKLkrdLuVkkeKiESv7bweVY9VcPb7hk0BiLZcYkLqsOlfkZHWHWCiQ+5UDR8ctuaVmiUjg==", + "requires": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0" + } + }, + "@ckeditor/ckeditor5-select-all": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-select-all/-/ckeditor5-select-all-31.1.0.tgz", + "integrity": "sha512-d6bTtuZLoBN61jPjbY562awfRYy+xhnCEIilsoRLb04mFNa6HnFs/mZtNIFqrm7dYZWSkJz9+1XwQouYW+kGqQ==", + "requires": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0" + } + }, + "@ckeditor/ckeditor5-typing": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-typing/-/ckeditor5-typing-31.1.0.tgz", + "integrity": "sha512-juskFEb1YrXLS+wcLEnc3GZtqkq95Q13sNAAyvKaEXzNphy4PBv+odLAwP7KCrxifVf278bgVxGDV5GPPAenOA==", + "requires": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "lodash-es": "^4.17.15" + } + }, + "@ckeditor/ckeditor5-ui": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-ui/-/ckeditor5-ui-31.1.0.tgz", + "integrity": "sha512-fHBLsRK7XRxeewm1NH9idU4zUguhysQPEmEhqWOi+GRt2I0pYrc22GYNJF3yKMqp1LfiLi7GAT66X2RL9rCEaQ==", + "requires": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "lodash-es": "^4.17.15" + } + }, + "@ckeditor/ckeditor5-undo": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-undo/-/ckeditor5-undo-31.1.0.tgz", + "integrity": "sha512-eNWEP9E5Ji2W7NU6vCKOqjYW0+/xwXGkiExboTApudJDT1IWu2hqoaVQ+3eEWHWJbqCxIRSHif6+uYEBIoInXg==", + "requires": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0" + } + }, + "@ckeditor/ckeditor5-upload": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-upload/-/ckeditor5-upload-31.1.0.tgz", + "integrity": "sha512-j+FNllYawZgTWCVOUSce/34SMfwgqNa2F7yvdmw4pmPSl8mlSZxSEYA9mLqbKpXwsuFY0iY14JQEB2bngNgTbA==", + "requires": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0" + } + }, + "@ckeditor/ckeditor5-utils": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-31.1.0.tgz", + "integrity": "sha512-l2C2m8uLxKTblXX6SY+k40tK9U4pFZ2WCYP1dc3B0qz5an+h7e5EqRz3kFs+MVw0HM6VCYWDFql/JZDAFonOmQ==", + "requires": { + "lodash-es": "^4.17.15" + } + }, + "@ckeditor/ckeditor5-widget": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-widget/-/ckeditor5-widget-31.1.0.tgz", + "integrity": "sha512-e/B2qjgwXHuj/Qo+cGAM7j3NTPXvTikL+wjEF5sh5a0w5el9Sv97tzew5rojkZ6ypQykE+1ue+F579b74n7QiQ==", + "requires": { + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-enter": "^31.1.0", + "@ckeditor/ckeditor5-typing": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "lodash-es": "^4.17.15" + } + }, + "@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true, + "optional": true + }, + "@discoveryjs/json-ext": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", + "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", + "dev": true + }, + "@egjs/hammerjs": { + "version": "2.0.17", + "resolved": "https://registry.npmjs.org/@egjs/hammerjs/-/hammerjs-2.0.17.tgz", + "integrity": "sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==", + "peer": true, + "requires": { + "@types/hammerjs": "^2.0.36" + } + }, + "@foliojs-fork/fontkit": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/@foliojs-fork/fontkit/-/fontkit-1.9.1.tgz", + "integrity": "sha512-U589voc2/ROnvx1CyH9aNzOQWJp127JGU1QAylXGQ7LoEAF6hMmahZLQ4eqAcgHUw+uyW4PjtCItq9qudPkK3A==", + "requires": { + "@foliojs-fork/restructure": "^2.0.2", + "brfs": "^2.0.0", + "brotli": "^1.2.0", + "browserify-optional": "^1.0.1", + "clone": "^1.0.4", + "deep-equal": "^1.0.0", + "dfa": "^1.2.0", + "tiny-inflate": "^1.0.2", + "unicode-properties": "^1.2.2", + "unicode-trie": "^2.0.0" + } + }, + "@foliojs-fork/linebreak": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@foliojs-fork/linebreak/-/linebreak-1.1.1.tgz", + "integrity": "sha512-pgY/+53GqGQI+mvDiyprvPWgkTlVBS8cxqee03ejm6gKAQNsR1tCYCIvN9FHy7otZajzMqCgPOgC4cHdt4JPig==", + "requires": { + "base64-js": "1.3.1", + "brfs": "^2.0.2", + "unicode-trie": "^2.0.0" + }, + "dependencies": { + "base64-js": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz", + "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==" + } + } + }, + "@foliojs-fork/pdfkit": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@foliojs-fork/pdfkit/-/pdfkit-0.13.0.tgz", + "integrity": "sha512-YXeG1fml9k97YNC9K8e292Pj2JzGt9uOIiBFuQFxHsdQ45BlxW+JU3RQK6JAvXU7kjhjP8rCcYvpk36JLD33sQ==", + "requires": { + "@foliojs-fork/fontkit": "^1.9.1", + "@foliojs-fork/linebreak": "^1.1.1", + "crypto-js": "^4.0.0", + "png-js": "^1.0.0" + } + }, + "@foliojs-fork/restructure": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@foliojs-fork/restructure/-/restructure-2.0.2.tgz", + "integrity": "sha512-59SgoZ3EXbkfSX7b63tsou/SDGzwUEK6MuB5sKqgVK1/XE0fxmpsOb9DQI8LXW3KfGnAjImCGhhEb7uPPAUVNA==" + }, + "@fortawesome/fontawesome-free": { + "version": "5.15.4", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.4.tgz", + "integrity": "sha512-eYm8vijH/hpzr/6/1CJ/V/Eb1xQFW2nnUKArb3z+yUWv7HTwj6M7SP957oMjfZjAHU6qpoNc2wQvIxBLWYa/Jg==" + }, + "@jridgewell/resolve-uri": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz", + "integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==", + "dev": true + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.11", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz", + "integrity": "sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==", + "dev": true + }, + "@jridgewell/trace-mapping": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz", + "integrity": "sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==", + "dev": true, + "requires": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "@leichtgewicht/ip-codec": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.3.tgz", + "integrity": "sha512-nkalE/f1RvRGChwBnEIoBfSEYOXnCRdleKuv6+lePbMDrMZXeDQnqak5XDOeBgrPPyPfAdcCu/B5z+v3VhplGg==", + "dev": true + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "@popperjs/core": { + "version": "2.10.2", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.10.2.tgz", + "integrity": "sha512-IXf3XA7+XyN7CP9gGh/XB0UxVMlvARGEgGXLubFICsUMGz6Q+DU+i4gGlpOxTjKvXjkJDJC8YdqdKkDj9qZHEQ==" + }, + "@romainberger/css-diff": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@romainberger/css-diff/-/css-diff-1.0.3.tgz", + "integrity": "sha1-ztOHU11PQqQqwf4TwJ3pf1rhNEw=", + "dev": true, + "requires": { + "lodash.merge": "^4.4.0", + "postcss": "^5.0.21" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "dependencies": { + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "postcss": { + "version": "5.2.18", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", + "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "js-base64": "^2.1.9", + "source-map": "^0.5.6", + "supports-color": "^3.2.3" + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "^1.0.0" + } + } + } + }, + "@shopify/draggable": { + "version": "1.0.0-beta.12", + "resolved": "https://registry.npmjs.org/@shopify/draggable/-/draggable-1.0.0-beta.12.tgz", + "integrity": "sha512-Un/Dn61sv2er9yjDXLGWMauCOWBb0BMbm0yzmmrD+oUX2/x50yhNJASTsCRdndUCpWlqYfZH8jEfaOgTPsKc/g==" + }, + "@sindresorhus/is": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", + "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==" + }, + "@szmarczak/http-timer": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", + "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", + "requires": { + "defer-to-connect": "^1.0.1" + } + }, + "@terraformer/arcgis": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@terraformer/arcgis/-/arcgis-2.1.0.tgz", + "integrity": "sha512-eKTvNXze2Fo7vAEjvJFIGn5QdU0OP4aD9DuT/uTBLRM1QS+ju7KtPITbVW+xgCviHLnOVeFQ1UsIs9kjkakD4g==", + "requires": { + "@terraformer/common": "^2.0.7" + } + }, + "@terraformer/common": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@terraformer/common/-/common-2.0.7.tgz", + "integrity": "sha512-8bl+/JT0Rw6FYe2H3FfJS8uQwgzGl+UHs+8JX0TQLHgA4sMDEwObbMwo0iP3FVONwPXrPHEpC5YH7Grve0cl9A==" + }, + "@trysound/sax": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz", + "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==", + "dev": true + }, + "@types/babel__core": { + "version": "7.1.19", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz", + "integrity": "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==", + "dev": true, + "requires": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "@types/babel__generator": { + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", + "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@types/babel__template": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", + "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", + "dev": true, + "requires": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@types/babel__traverse": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.17.0.tgz", + "integrity": "sha512-r8aveDbd+rzGP+ykSdF3oPuTVRWRfbBiHl0rVDM2yNEmSMXfkObQLV46b4RnCv3Lra51OlfnZhkkFaDl2MIRaA==", + "dev": true, + "requires": { + "@babel/types": "^7.3.0" + } + }, + "@types/body-parser": { + "version": "1.19.2", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", + "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", + "dev": true, + "requires": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "@types/bonjour": { + "version": "3.5.10", + "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.10.tgz", + "integrity": "sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/clean-css": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@types/clean-css/-/clean-css-4.2.5.tgz", + "integrity": "sha512-NEzjkGGpbs9S9fgC4abuBvTpVwE3i+Acu9BBod3PUyjDVZcNsGx61b8r2PphR61QGPnn0JHVs5ey6/I4eTrkxw==", + "dev": true, + "requires": { + "@types/node": "*", + "source-map": "^0.6.0" + } + }, + "@types/connect": { + "version": "3.4.35", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", + "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/connect-history-api-fallback": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz", + "integrity": "sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw==", + "dev": true, + "requires": { + "@types/express-serve-static-core": "*", + "@types/node": "*" + } + }, + "@types/eslint": { + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.1.tgz", + "integrity": "sha512-GE44+DNEyxxh2Kc6ro/VkIj+9ma0pO0bwv9+uHSyBrikYOHr8zYcdPvnBOp1aw8s+CjRvuSx7CyWqRrNFQ59mA==", + "dev": true, + "requires": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "@types/eslint-scope": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", + "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", + "dev": true, + "requires": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "@types/estree": { + "version": "0.0.51", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", + "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", + "dev": true + }, + "@types/express": { + "version": "4.17.13", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.13.tgz", + "integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==", + "dev": true, + "requires": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.18", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "@types/express-serve-static-core": { + "version": "4.17.28", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.28.tgz", + "integrity": "sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==", + "dev": true, + "requires": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "@types/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", + "dev": true, + "requires": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, + "@types/hammerjs": { + "version": "2.0.41", + "resolved": "https://registry.npmjs.org/@types/hammerjs/-/hammerjs-2.0.41.tgz", + "integrity": "sha512-ewXv/ceBaJprikMcxCmWU1FKyMAQ2X7a9Gtmzw8fcg2kIePI1crERDM818W+XYrxqdBBOdlf2rm137bU+BltCA==", + "peer": true + }, + "@types/http-proxy": { + "version": "1.17.8", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.8.tgz", + "integrity": "sha512-5kPLG5BKpWYkw/LVOGWpiq3nEVqxiN32rTgI53Sk12/xHFQ2rG3ehI9IO+O3W2QoKeyB92dJkoka8SUm6BX1pA==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/imagemin": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@types/imagemin/-/imagemin-8.0.0.tgz", + "integrity": "sha512-B9X2CUeDv/uUeY9CqkzSTfmsLkeJP6PkmXlh4lODBbf9SwpmNuLS30WzUOi863dgsjY3zt3gY5q2F+UdifRi1A==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/imagemin-gifsicle": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@types/imagemin-gifsicle/-/imagemin-gifsicle-7.0.1.tgz", + "integrity": "sha512-kUz6sUh0P95JOS0RGEaaemWUrASuw+dLsWIveK2UZJx74id/B9epgblMkCk/r5MjUWbZ83wFvacG5Rb/f97gyA==", + "dev": true, + "requires": { + "@types/imagemin": "*" + } + }, + "@types/imagemin-mozjpeg": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@types/imagemin-mozjpeg/-/imagemin-mozjpeg-8.0.1.tgz", + "integrity": "sha512-kMQWEoKxxhlnH4POI3qfW9DjXlQfi80ux3l2b3j5R3eudSCoUIzKQLkfMjNJ6eMYnMWBcB+rfQOWqIzdIwFGKw==", + "dev": true, + "requires": { + "@types/imagemin": "*" + } + }, + "@types/imagemin-optipng": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/@types/imagemin-optipng/-/imagemin-optipng-5.2.1.tgz", + "integrity": "sha512-XCM/3q+HUL7v4zOqMI+dJ5dTxT+MUukY9KU49DSnYb/4yWtSMHJyADP+WHSMVzTR63J2ZvfUOzSilzBNEQW78g==", + "dev": true, + "requires": { + "@types/imagemin": "*" + } + }, + "@types/imagemin-svgo": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@types/imagemin-svgo/-/imagemin-svgo-8.0.1.tgz", + "integrity": "sha512-YafkdrVAcr38U0Ln1C+L1n4SIZqC47VBHTyxCq7gTUSd1R9MdIvMcrljWlgU1M9O68WZDeQWUrKipKYfEOCOvQ==", + "dev": true, + "requires": { + "@types/imagemin": "*", + "@types/svgo": "^1" + } + }, + "@types/json-schema": { + "version": "7.0.11", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", + "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", + "dev": true + }, + "@types/mime": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", + "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==", + "dev": true + }, + "@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true + }, + "@types/node": { + "version": "17.0.25", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.25.tgz", + "integrity": "sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w==", + "dev": true + }, + "@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", + "dev": true + }, + "@types/q": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.5.tgz", + "integrity": "sha512-L28j2FcJfSZOnL1WBjDYp2vUHCeIFlyYI/53EwD/rKUBQ7MtUUfbQWiyKJGpcnv4/WgrhWsFKrcPstcAt/J0tQ==", + "dev": true + }, + "@types/qs": { + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", + "dev": true + }, + "@types/range-parser": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", + "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", + "dev": true + }, + "@types/retry": { + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.1.tgz", + "integrity": "sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g==", + "dev": true + }, + "@types/serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg==", + "dev": true, + "requires": { + "@types/express": "*" + } + }, + "@types/serve-static": { + "version": "1.13.10", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz", + "integrity": "sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==", + "dev": true, + "requires": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "@types/sockjs": { + "version": "0.3.33", + "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.33.tgz", + "integrity": "sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/svgo": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/@types/svgo/-/svgo-1.3.6.tgz", + "integrity": "sha512-AZU7vQcy/4WFEuwnwsNsJnFwupIpbllH1++LXScN6uxT1Z4zPzdrWG97w4/I7eFKFTvfy/bHFStWjdBAg2Vjug==", + "dev": true + }, + "@types/ws": { + "version": "8.5.3", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", + "integrity": "sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@vue/reactivity": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.1.5.tgz", + "integrity": "sha512-1tdfLmNjWG6t/CsPldh+foumYFo3cpyCHgBYQ34ylaMsJ+SNHQ1kApMIa8jN+i593zQuaw3AdWH0nJTARzCFhg==", + "dev": true, + "requires": { + "@vue/shared": "3.1.5" + } + }, + "@vue/shared": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.1.5.tgz", + "integrity": "sha512-oJ4F3TnvpXaQwZJNF3ZK+kLPHKarDmJjJ6jyzVNDKH9md1dptjC7lWR//jrGuLdek/U6iltWxqAnYOu8gCiOvA==", + "dev": true + }, + "@webassemblyjs/ast": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", + "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", + "dev": true, + "requires": { + "@webassemblyjs/helper-numbers": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1" + } + }, + "@webassemblyjs/floating-point-hex-parser": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", + "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", + "dev": true + }, + "@webassemblyjs/helper-api-error": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", + "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", + "dev": true + }, + "@webassemblyjs/helper-buffer": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", + "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", + "dev": true + }, + "@webassemblyjs/helper-numbers": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", + "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", + "dev": true, + "requires": { + "@webassemblyjs/floating-point-hex-parser": "1.11.1", + "@webassemblyjs/helper-api-error": "1.11.1", + "@xtuc/long": "4.2.2" + } + }, + "@webassemblyjs/helper-wasm-bytecode": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", + "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", + "dev": true + }, + "@webassemblyjs/helper-wasm-section": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", + "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1" + } + }, + "@webassemblyjs/ieee754": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", + "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", + "dev": true, + "requires": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "@webassemblyjs/leb128": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", + "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", + "dev": true, + "requires": { + "@xtuc/long": "4.2.2" + } + }, + "@webassemblyjs/utf8": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", + "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", + "dev": true + }, + "@webassemblyjs/wasm-edit": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", + "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/helper-wasm-section": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1", + "@webassemblyjs/wasm-opt": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1", + "@webassemblyjs/wast-printer": "1.11.1" + } + }, + "@webassemblyjs/wasm-gen": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", + "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/ieee754": "1.11.1", + "@webassemblyjs/leb128": "1.11.1", + "@webassemblyjs/utf8": "1.11.1" + } + }, + "@webassemblyjs/wasm-opt": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", + "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1" + } + }, + "@webassemblyjs/wasm-parser": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", + "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-api-error": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/ieee754": "1.11.1", + "@webassemblyjs/leb128": "1.11.1", + "@webassemblyjs/utf8": "1.11.1" + } + }, + "@webassemblyjs/wast-printer": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", + "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@xtuc/long": "4.2.2" + } + }, + "@webpack-cli/configtest": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.1.1.tgz", + "integrity": "sha512-1FBc1f9G4P/AxMqIgfZgeOTuRnwZMten8E7zap5zgpPInnCrP8D4Q81+4CWIch8i/Nf7nXjP0v6CjjbHOrXhKg==", + "dev": true, + "requires": {} + }, + "@webpack-cli/info": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-1.4.1.tgz", + "integrity": "sha512-PKVGmazEq3oAo46Q63tpMr4HipI3OPfP7LiNOEJg963RMgT0rqheag28NCML0o3GIzA3DmxP1ZIAv9oTX1CUIA==", + "dev": true, + "requires": { + "envinfo": "^7.7.3" + } + }, + "@webpack-cli/serve": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.6.1.tgz", + "integrity": "sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw==", + "dev": true, + "requires": {} + }, + "@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true + }, + "@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true + }, + "@yaireo/tagify": { + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@yaireo/tagify/-/tagify-4.11.0.tgz", + "integrity": "sha512-J70gWNNlgHw+60azyJTsu0YHPsH7qXowQIi7PGMuhDQAfjTGNUH/Tx2TCzruTDocOTcoD6ol/iZXpNm8+VOg7g==", + "requires": {} + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + }, + "accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "requires": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + } + }, + "acorn": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", + "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==" + }, + "acorn-import-assertions": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", + "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", + "dev": true, + "requires": {} + }, + "acorn-node": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", + "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", + "requires": { + "acorn": "^7.0.0", + "acorn-walk": "^7.0.0", + "xtend": "^4.0.2" + }, + "dependencies": { + "acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==" + } + } + }, + "acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==" + }, + "adjust-sourcemap-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz", + "integrity": "sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A==", + "dev": true, + "requires": { + "loader-utils": "^2.0.0", + "regex-parser": "^2.2.11" + } + }, + "aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "requires": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "requires": { + "ajv": "^8.0.0" + }, + "dependencies": { + "ajv": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", + "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + } + } + }, + "ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "requires": {} + }, + "alphanum-sort": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz", + "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=", + "dev": true + }, + "alpinejs": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/alpinejs/-/alpinejs-3.10.1.tgz", + "integrity": "sha512-1iwVW1flJfPKFyQqGn9f/CPlPHyMKyGHolUtCkwP0G0/AXZmkyVB5/808+77jvWD/S3clVNgA0MLUTsfaJiqzw==", + "dev": true, + "requires": { + "@vue/reactivity": "~3.1.1" + } + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "optional": true + }, + "ansi-align": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", + "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", + "requires": { + "string-width": "^4.1.0" + } + }, + "ansi-html-community": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", + "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==", + "dev": true + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "apexcharts": { + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.35.0.tgz", + "integrity": "sha512-oipJRkaxt8DPGRmn1kur6aPzML1JSpf2M3ecu+gyw+8xiNmT2C0p1uuuqPZrk+Lr2hmDxzNBPR7TvxwRl3ozgw==", + "requires": { + "svg.draggable.js": "^2.2.2", + "svg.easing.js": "^2.0.0", + "svg.filter.js": "^2.0.2", + "svg.pathmorphing.js": "^0.1.3", + "svg.resize.js": "^1.4.3", + "svg.select.js": "^3.0.1" + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "array-flatten": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", + "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==", + "dev": true + }, + "array-from": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz", + "integrity": "sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=" + }, + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" + }, + "asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "assert": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", + "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", + "dev": true, + "requires": { + "object-assign": "^4.1.1", + "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "requires": { + "inherits": "2.0.1" + } + } + } + }, + "ast-transform": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/ast-transform/-/ast-transform-0.0.0.tgz", + "integrity": "sha1-dJRAWIh9goPhidlUYAlHvJj+AGI=", + "requires": { + "escodegen": "~1.2.0", + "esprima": "~1.0.4", + "through": "~2.3.4" + } + }, + "ast-types": { + "version": "0.7.8", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.7.8.tgz", + "integrity": "sha1-kC0uDWDQcb3NRtwRXhgJ7RHBOKk=" + }, + "async": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", + "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", + "dev": true, + "requires": { + "lodash": "^4.17.14" + } + }, + "atoa": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/atoa/-/atoa-1.0.0.tgz", + "integrity": "sha1-DMDpGkgOc4+SPrwQNnZHF3mzSkk=" + }, + "autoprefixer": { + "version": "10.4.4", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.4.tgz", + "integrity": "sha512-Tm8JxsB286VweiZ5F0anmbyGiNI3v3wGv3mz9W+cxEDYB/6jbnj6GM9H9mK3wIL8ftgl+C07Lcwb8PG5PCCPzA==", + "dev": true, + "requires": { + "browserslist": "^4.20.2", + "caniuse-lite": "^1.0.30001317", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + } + }, + "autosize": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/autosize/-/autosize-5.0.1.tgz", + "integrity": "sha512-UIWUlE4TOVPNNj2jjrU39wI4hEYbneUypEqcyRmRFIx5CC2gNdg3rQr+Zh7/3h6egbBvm33TDQjNQKtj9Tk1HA==" + }, + "axios": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz", + "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", + "dev": true, + "requires": { + "follow-redirects": "^1.14.4" + } + }, + "babel-loader": { + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.5.tgz", + "integrity": "sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==", + "dev": true, + "requires": { + "find-cache-dir": "^3.3.1", + "loader-utils": "^2.0.0", + "make-dir": "^3.1.0", + "schema-utils": "^2.6.5" + } + }, + "babel-plugin-dynamic-import-node": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", + "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", + "dev": true, + "requires": { + "object.assign": "^4.1.0" + } + }, + "babel-plugin-polyfill-corejs2": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", + "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.13.11", + "@babel/helper-define-polyfill-provider": "^0.3.1", + "semver": "^6.1.1" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "babel-plugin-polyfill-corejs3": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", + "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", + "dev": true, + "requires": { + "@babel/helper-define-polyfill-provider": "^0.3.1", + "core-js-compat": "^3.21.0" + } + }, + "babel-plugin-polyfill-regenerator": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", + "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", + "dev": true, + "requires": { + "@babel/helper-define-polyfill-provider": "^0.3.1" + } + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", + "dev": true + }, + "big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" + }, + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", + "dev": true + }, + "body-parser": { + "version": "1.19.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.2.tgz", + "integrity": "sha512-SAAwOxgoCKMGs9uUAUFHygfLAyaniaoun6I8mFY9pRAJL9+Kec34aU+oIjDhTycub1jozEfEwx1W1IuOYxVSFw==", + "dev": true, + "requires": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.9.7", + "raw-body": "2.4.3", + "type-is": "~1.6.18" + }, + "dependencies": { + "bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "bonjour-service": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.0.11.tgz", + "integrity": "sha512-drMprzr2rDTCtgEE3VgdA9uUFaUHF+jXduwYSThHJnKMYM+FhI9Z3ph+TX3xy0LtgYHae6CHYPJ/2UnK8nQHcA==", + "dev": true, + "requires": { + "array-flatten": "^2.1.2", + "dns-equal": "^1.0.0", + "fast-deep-equal": "^3.1.3", + "multicast-dns": "^7.2.4" + } + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "dev": true + }, + "bootstrap": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.3.tgz", + "integrity": "sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q==", + "requires": {} + }, + "bootstrap-cookie-alert": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/bootstrap-cookie-alert/-/bootstrap-cookie-alert-1.2.1.tgz", + "integrity": "sha512-T4nzcJkrCJCfxbw9eRM93EwO3/seSL/wbjsDLLOdLIhhksb07zhj4NOgNJUwtLc7dkI28ef1KZU9yYzHZMUXvQ==" + }, + "bootstrap-daterangepicker": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bootstrap-daterangepicker/-/bootstrap-daterangepicker-3.1.0.tgz", + "integrity": "sha512-oaQZx6ZBDo/dZNyXGVi2rx5GmFXThyQLAxdtIqjtLlYVaQUfQALl5JZMJJZzyDIX7blfy4ppZPAJ10g8Ma4d/g==", + "requires": { + "jquery": ">=1.10", + "moment": "^2.9.0" + } + }, + "bootstrap-icons": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.8.1.tgz", + "integrity": "sha512-IXUqislddPJfwq6H+2nTkHyr9epO9h6u1AG0OZCx616w+TgzeoCjfmI3qJMQqt1J586gN2IxzB4M99Ip4sTZ1w==" + }, + "bootstrap-maxlength": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/bootstrap-maxlength/-/bootstrap-maxlength-1.10.1.tgz", + "integrity": "sha512-VYQosg0ojUNq05PlZcTwETm0E0Aoe/cclRmCC27QrHk/sY0Q75PUvgHYujN0gb2CD3n2olJfPeqx3EGAqpKjww==", + "requires": { + "bootstrap": "^4.4.1", + "jquery": "^3.5.1", + "qunit": "^2.10.0" + }, + "dependencies": { + "bootstrap": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.6.1.tgz", + "integrity": "sha512-0dj+VgI9Ecom+rvvpNZ4MUZJz8dcX7WCX+eTID9+/8HgOkv3dsRzi8BGeZJCQU6flWQVYxwTQnEZFrmJSEO7og==", + "requires": {} + } + } + }, + "bootstrap-multiselectsplitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/bootstrap-multiselectsplitter/-/bootstrap-multiselectsplitter-1.0.4.tgz", + "integrity": "sha512-G1TyuzRUOdcf9iuSoTcYPKVr1waMm6rwoBbDi8/nXM7GX5eF3qZGZXLMeT8tGoaYwuQIsZXGerMtq5VTFQgcHQ==" + }, + "boxen": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", + "integrity": "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==", + "requires": { + "ansi-align": "^3.0.0", + "camelcase": "^6.2.0", + "chalk": "^4.1.0", + "cli-boxes": "^2.2.1", + "string-width": "^4.2.2", + "type-fest": "^0.20.2", + "widest-line": "^3.1.0", + "wrap-ansi": "^7.0.0" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "requires": { + "fill-range": "^7.0.1" + } + }, + "brfs": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brfs/-/brfs-2.0.2.tgz", + "integrity": "sha512-IrFjVtwu4eTJZyu8w/V2gxU7iLTtcHih67sgEdzrhjLBMHp2uYefUBfdM4k2UvcuWMgV7PQDZHSLeNWnLFKWVQ==", + "requires": { + "quote-stream": "^1.0.1", + "resolve": "^1.1.5", + "static-module": "^3.0.2", + "through2": "^2.0.0" + } + }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", + "dev": true + }, + "brotli": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/brotli/-/brotli-1.3.2.tgz", + "integrity": "sha1-UlqcrU/LqWR119OI9q7LE+7VL0Y=", + "requires": { + "base64-js": "^1.1.2" + } + }, + "browser-resolve": { + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz", + "integrity": "sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==", + "requires": { + "resolve": "1.1.7" + }, + "dependencies": { + "resolve": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", + "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=" + } + } + }, + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dev": true, + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dev": true, + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-optional": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-optional/-/browserify-optional-1.0.1.tgz", + "integrity": "sha1-HhNyLP3g2F8SFnbCpyztUzoBiGk=", + "requires": { + "ast-transform": "0.0.0", + "ast-types": "^0.7.0", + "browser-resolve": "^1.8.1" + } + }, + "browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "dev": true, + "requires": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "dev": true, + "requires": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "dev": true, + "requires": { + "pako": "~1.0.5" + } + }, + "browserslist": { + "version": "4.20.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.2.tgz", + "integrity": "sha512-CQOBCqp/9pDvDbx3xfMi+86pr4KXIf2FDkTTdeuYw8OxS9t898LA1Khq57gtufFILXpfgsSx5woNgsBgvGjpsA==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001317", + "electron-to-chromium": "^1.4.84", + "escalade": "^3.1.1", + "node-releases": "^2.0.2", + "picocolors": "^1.0.0" + } + }, + "buffer": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "dev": true, + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "buffer-equal": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-0.0.1.tgz", + "integrity": "sha1-kbx0sR6kBbyRa8aqkI+q+ltKrEs=" + }, + "buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", + "dev": true + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", + "dev": true + }, + "cacheable-request": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", + "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", + "requires": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^3.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^4.1.0", + "responselike": "^1.0.2" + }, + "dependencies": { + "get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "requires": { + "pump": "^3.0.0" + } + }, + "lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==" + }, + "normalize-url": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", + "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==" + } + } + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "caller-callsite": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", + "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", + "dev": true, + "requires": { + "callsites": "^2.0.0" + }, + "dependencies": { + "callsites": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", + "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", + "dev": true + } + } + }, + "caller-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", + "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", + "dev": true, + "requires": { + "caller-callsite": "^2.0.0" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "camel-case": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz", + "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==", + "dev": true, + "requires": { + "pascal-case": "^3.1.2", + "tslib": "^2.0.3" + } + }, + "camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==" + }, + "caniuse-api": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz", + "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==", + "dev": true, + "requires": { + "browserslist": "^4.0.0", + "caniuse-lite": "^1.0.0", + "lodash.memoize": "^4.1.2", + "lodash.uniq": "^4.5.0" + } + }, + "caniuse-lite": { + "version": "1.0.30001332", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001332.tgz", + "integrity": "sha512-10T30NYOEQtN6C11YGg411yebhvpnC6Z102+B95eAsN0oB6KUs01ivE8u+G6FMIRtIrVlYXhL+LUwQ3/hXwDWw==", + "dev": true + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "charenc": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", + "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=", + "dev": true + }, + "chart.js": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.7.1.tgz", + "integrity": "sha512-8knRegQLFnPQAheZV8MjxIXc5gQEfDFD897BJgv/klO/vtIyFFmgMXrNfgrXpbTr/XbTturxRgxIXx/Y+ASJBA==" + }, + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "chrome-trace-event": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", + "dev": true + }, + "ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" + }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "ckeditor5": { + "version": "31.1.0", + "resolved": "https://registry.npmjs.org/ckeditor5/-/ckeditor5-31.1.0.tgz", + "integrity": "sha512-uuU5JNeiLFIv6oMtSmHdKOmgO8ZjqoSqV/rJWSpc9yxXbhjjs3Gdb6lbF9f0V5OCvQSIBCTtYVYllzfXAXMyqA==", + "requires": { + "@ckeditor/ckeditor5-clipboard": "^31.1.0", + "@ckeditor/ckeditor5-core": "^31.1.0", + "@ckeditor/ckeditor5-engine": "^31.1.0", + "@ckeditor/ckeditor5-enter": "^31.1.0", + "@ckeditor/ckeditor5-paragraph": "^31.1.0", + "@ckeditor/ckeditor5-select-all": "^31.1.0", + "@ckeditor/ckeditor5-typing": "^31.1.0", + "@ckeditor/ckeditor5-ui": "^31.1.0", + "@ckeditor/ckeditor5-undo": "^31.1.0", + "@ckeditor/ckeditor5-upload": "^31.1.0", + "@ckeditor/ckeditor5-utils": "^31.1.0", + "@ckeditor/ckeditor5-widget": "^31.1.0" + } + }, + "clean-css": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.0.tgz", + "integrity": "sha512-YYuuxv4H/iNb1Z/5IbMRoxgrzjWGhOEFfd+groZ5dMCVkpENiMZmwspdrzBo9286JjM1gZJPAyL7ZIdzuvu2AQ==", + "dev": true, + "requires": { + "source-map": "~0.6.0" + } + }, + "clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==" + }, + "cli-boxes": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", + "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==" + }, + "cli-table3": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.2.tgz", + "integrity": "sha512-QyavHCaIC80cMivimWu4aWHilIpiDpfm3hGmqAmXVL1UsnbLuBSMd21hTX6VY4ZSDSM73ESLeF8TOYId3rBTbw==", + "dev": true, + "requires": { + "@colors/colors": "1.5.0", + "string-width": "^4.2.0" + } + }, + "clipboard": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.10.tgz", + "integrity": "sha512-cz3m2YVwFz95qSEbCDi2fzLN/epEN9zXBvfgAoGkvGOJZATMl9gtTDVOtBYkx2ODUJl2kvmud7n32sV2BpYR4g==", + "requires": { + "good-listener": "^1.2.2", + "select": "^1.1.2", + "tiny-emitter": "^2.0.0" + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" + }, + "clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + } + }, + "clone-response": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", + "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", + "requires": { + "mimic-response": "^1.0.0" + } + }, + "coa": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz", + "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==", + "dev": true, + "requires": { + "@types/q": "^1.5.1", + "chalk": "^2.4.1", + "q": "^1.1.2" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "collect.js": { + "version": "4.32.0", + "resolved": "https://registry.npmjs.org/collect.js/-/collect.js-4.32.0.tgz", + "integrity": "sha512-Ro0fspulC0J325cgFdkzFEkRDs6MmclMy2Fy5adhdFKg5QqMv1nn1zLpCdAxiehlur6Ep08Wr1f7ldNv+fB6+Q==", + "dev": true + }, + "color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "dev": true, + "requires": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + }, + "dependencies": { + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + } + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "dev": true, + "requires": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "colord": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.2.tgz", + "integrity": "sha512-Uqbg+J445nc1TKn4FoDPS6ZZqAvEDnwrH42yo8B40JSOgSLxMZ/gt3h4nmCtPLQeXhjJJkqBx7SCY35WnIixaQ==", + "dev": true + }, + "colorette": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", + "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", + "dev": true + }, + "colors": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/colors/-/colors-0.6.2.tgz", + "integrity": "sha1-JCP+ZnisDF2uiFLl0OW+CMmXq8w=", + "dev": true + }, + "commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==" + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "peer": true + }, + "compressible": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", + "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", + "dev": true, + "requires": { + "mime-db": ">= 1.43.0 < 2" + } + }, + "compression": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", + "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", + "dev": true, + "requires": { + "accepts": "~1.3.5", + "bytes": "3.0.0", + "compressible": "~2.0.16", + "debug": "2.6.9", + "on-headers": "~1.0.2", + "safe-buffer": "5.1.2", + "vary": "~1.1.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "concat": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/concat/-/concat-1.0.3.tgz", + "integrity": "sha1-QPM1MInWVGdpXLGIa0Xt1jfYzKg=", + "dev": true, + "requires": { + "commander": "^2.9.0" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + } + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "configstore": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", + "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", + "requires": { + "dot-prop": "^5.2.0", + "graceful-fs": "^4.1.2", + "make-dir": "^3.0.0", + "unique-string": "^2.0.0", + "write-file-atomic": "^3.0.0", + "xdg-basedir": "^4.0.0" + } + }, + "connect-history-api-fallback": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz", + "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==", + "dev": true + }, + "consola": { + "version": "2.15.3", + "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz", + "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==", + "dev": true + }, + "console-browserify": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", + "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==", + "dev": true + }, + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", + "dev": true + }, + "content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dev": true, + "requires": { + "safe-buffer": "5.2.1" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true + }, + "contra": { + "version": "1.9.4", + "resolved": "https://registry.npmjs.org/contra/-/contra-1.9.4.tgz", + "integrity": "sha1-9TveQtfltZhcrk2ZqNYQUm3o8o0=", + "requires": { + "atoa": "1.0.0", + "ticky": "1.0.1" + } + }, + "convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "cookie": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", + "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", + "dev": true + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "core-js-compat": { + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.22.0.tgz", + "integrity": "sha512-WwA7xbfRGrk8BGaaHlakauVXrlYmAIkk8PNGb1FDQS+Rbrewc3pgFfwJFRw6psmJVAll7Px9UHRYE16oRQnwAQ==", + "dev": true, + "requires": { + "browserslist": "^4.20.2", + "semver": "7.0.0" + }, + "dependencies": { + "semver": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", + "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", + "dev": true + } + } + }, + "core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "cosmiconfig": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", + "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", + "dev": true, + "requires": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + } + }, + "countup.js": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/countup.js/-/countup.js-2.1.0.tgz", + "integrity": "sha512-VanMzLEjkt3Hp/ty5BXikM8s4wE3OH4m1AnFro7THR86nYGRvGfGCoV+zrRJcqTbZi7X1egkLSIeUKDz7+4XLA==" + }, + "create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "cropperjs": { + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/cropperjs/-/cropperjs-1.5.12.tgz", + "integrity": "sha512-re7UdjE5UnwdrovyhNzZ6gathI4Rs3KGCBSc8HCIjUo5hO42CtzyblmWLj6QWVw7huHyDMfpKxhiO2II77nhDw==" + }, + "cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "crossvent": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/crossvent/-/crossvent-1.5.5.tgz", + "integrity": "sha1-rSCHjkkh6b5z2daXb4suzQ9xoLE=", + "requires": { + "custom-event": "^1.0.0" + } + }, + "crypt": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", + "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=", + "dev": true + }, + "crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "dev": true, + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, + "crypto-js": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", + "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==" + }, + "crypto-random-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", + "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==" + }, + "css-color-names": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", + "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=", + "dev": true + }, + "css-declaration-sorter": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.2.2.tgz", + "integrity": "sha512-Ufadglr88ZLsrvS11gjeu/40Lw74D9Am/Jpr3LlYm5Q4ZP5KdlUhG+6u2EjyXeZcxmZ2h1ebCKngDjolpeLHpg==", + "dev": true, + "requires": {} + }, + "css-loader": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-5.2.7.tgz", + "integrity": "sha512-Q7mOvpBNBG7YrVGMxRxcBJZFL75o+cH2abNASdibkj/fffYD8qWbInZrD0S9ccI6vZclF3DsHE7njGlLtaHbhg==", + "dev": true, + "requires": { + "icss-utils": "^5.1.0", + "loader-utils": "^2.0.0", + "postcss": "^8.2.15", + "postcss-modules-extract-imports": "^3.0.0", + "postcss-modules-local-by-default": "^4.0.0", + "postcss-modules-scope": "^3.0.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.1.0", + "schema-utils": "^3.0.0", + "semver": "^7.3.5" + }, + "dependencies": { + "schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + } + } + }, + "css-select": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", + "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", + "dev": true, + "requires": { + "boolbase": "^1.0.0", + "css-what": "^6.0.1", + "domhandler": "^4.3.1", + "domutils": "^2.8.0", + "nth-check": "^2.0.1" + }, + "dependencies": { + "domhandler": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "dev": true, + "requires": { + "domelementtype": "^2.2.0" + } + } + } + }, + "css-select-base-adapter": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz", + "integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==", + "dev": true + }, + "css-tree": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", + "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", + "dev": true, + "requires": { + "mdn-data": "2.0.14", + "source-map": "^0.6.1" + } + }, + "css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", + "dev": true + }, + "cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true + }, + "cssfilter": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/cssfilter/-/cssfilter-0.0.10.tgz", + "integrity": "sha1-xtJnJjKi5cg+AT5oZKQs6N79IK4=", + "peer": true + }, + "cssnano": { + "version": "5.1.7", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-5.1.7.tgz", + "integrity": "sha512-pVsUV6LcTXif7lvKKW9ZrmX+rGRzxkEdJuVJcp5ftUjWITgwam5LMZOgaTvUrWPkcORBey6he7JKb4XAJvrpKg==", + "dev": true, + "requires": { + "cssnano-preset-default": "^5.2.7", + "lilconfig": "^2.0.3", + "yaml": "^1.10.2" + } + }, + "cssnano-preset-default": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-5.2.7.tgz", + "integrity": "sha512-JiKP38ymZQK+zVKevphPzNSGHSlTI+AOwlasoSRtSVMUU285O7/6uZyd5NbW92ZHp41m0sSHe6JoZosakj63uA==", + "dev": true, + "requires": { + "css-declaration-sorter": "^6.2.2", + "cssnano-utils": "^3.1.0", + "postcss-calc": "^8.2.3", + "postcss-colormin": "^5.3.0", + "postcss-convert-values": "^5.1.0", + "postcss-discard-comments": "^5.1.1", + "postcss-discard-duplicates": "^5.1.0", + "postcss-discard-empty": "^5.1.1", + "postcss-discard-overridden": "^5.1.0", + "postcss-merge-longhand": "^5.1.4", + "postcss-merge-rules": "^5.1.1", + "postcss-minify-font-values": "^5.1.0", + "postcss-minify-gradients": "^5.1.1", + "postcss-minify-params": "^5.1.2", + "postcss-minify-selectors": "^5.2.0", + "postcss-normalize-charset": "^5.1.0", + "postcss-normalize-display-values": "^5.1.0", + "postcss-normalize-positions": "^5.1.0", + "postcss-normalize-repeat-style": "^5.1.0", + "postcss-normalize-string": "^5.1.0", + "postcss-normalize-timing-functions": "^5.1.0", + "postcss-normalize-unicode": "^5.1.0", + "postcss-normalize-url": "^5.1.0", + "postcss-normalize-whitespace": "^5.1.1", + "postcss-ordered-values": "^5.1.1", + "postcss-reduce-initial": "^5.1.0", + "postcss-reduce-transforms": "^5.1.0", + "postcss-svgo": "^5.1.0", + "postcss-unique-selectors": "^5.1.1" + } + }, + "cssnano-util-get-arguments": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz", + "integrity": "sha1-7ToIKZ8h11dBsg87gfGU7UnMFQ8=", + "dev": true + }, + "cssnano-util-get-match": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz", + "integrity": "sha1-wOTKB/U4a7F+xeUiULT1lhNlFW0=", + "dev": true + }, + "cssnano-util-raw-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz", + "integrity": "sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA==", + "dev": true, + "requires": { + "postcss": "^7.0.0" + }, + "dependencies": { + "picocolors": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", + "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", + "dev": true + }, + "postcss": { + "version": "7.0.39", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", + "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "dev": true, + "requires": { + "picocolors": "^0.2.1", + "source-map": "^0.6.1" + } + } + } + }, + "cssnano-util-same-parent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz", + "integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q==", + "dev": true + }, + "cssnano-utils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-3.1.0.tgz", + "integrity": "sha512-JQNR19/YZhz4psLX/rQ9M83e3z2Wf/HdJbryzte4a3NSuafyp9w/I4U+hx5C2S9g41qlstH7DEWnZaaj83OuEA==", + "dev": true, + "requires": {} + }, + "csso": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz", + "integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==", + "dev": true, + "requires": { + "css-tree": "^1.1.2" + } + }, + "custom-event": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", + "integrity": "sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=" + }, + "d": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", + "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", + "requires": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "dash-ast": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/dash-ast/-/dash-ast-2.0.1.tgz", + "integrity": "sha512-5TXltWJGc+RdnabUGzhRae1TRq6m4gr+3K2wQX0is5/F2yS6MJXJvLyI3ErAnsAXuJoGqvfVD5icRgim07DrxQ==" + }, + "datatables.net": { + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/datatables.net/-/datatables.net-1.11.5.tgz", + "integrity": "sha512-nlFst2xfwSWaQgaOg5sXVG3cxYC0tH8E8d65289w9ROgF2TmLULOOpcdMpyxxUim/qEwVSEem42RjkTWEpr3eA==", + "requires": { + "jquery": ">=1.7" + } + }, + "datatables.net-bs5": { + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/datatables.net-bs5/-/datatables.net-bs5-1.11.5.tgz", + "integrity": "sha512-1zyh972GtuK1uAb9h8nP3jJ7f/3UgCDq69LAaZS2bVd4mEHECJ6vrZLacxrkOHOs/q/H3v5sEMeZ46vXz8ox4w==", + "requires": { + "datatables.net": ">=1.11.3", + "jquery": ">=1.7" + } + }, + "datatables.net-buttons": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/datatables.net-buttons/-/datatables.net-buttons-1.7.1.tgz", + "integrity": "sha512-D2OxZeR18jhSx+l0xcfAJzfUH7l3LHCu0e606fV7+v3hMhphOfljjZYLaiRmGiR9lqO/f5xE/w2a+OtG/QMavw==", + "requires": { + "datatables.net": "^1.10.15", + "jquery": ">=1.7" + } + }, + "datatables.net-buttons-bs5": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/datatables.net-buttons-bs5/-/datatables.net-buttons-bs5-1.7.1.tgz", + "integrity": "sha512-T/TqOrB03tK1ENsjYgGZGMKhVAjzk3F8LXC57j4pEjAq77exknI7KL/kgKpXahZnU5T5mABfNxIOcK2ZxolFRA==", + "requires": { + "jquery": ">=1.7" + } + }, + "datatables.net-colreorder": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/datatables.net-colreorder/-/datatables.net-colreorder-1.5.5.tgz", + "integrity": "sha512-AUwv5A/87I4hg7GY/WbhRrDhqng9b019jLvvKutHibSPCEtMDWqyNtuP0q8zYoquqU9UQ1/nqXLW/ld8TzIDYQ==", + "requires": { + "datatables.net": ">=1.11.3", + "jquery": ">=1.7" + } + }, + "datatables.net-colreorder-bs5": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/datatables.net-colreorder-bs5/-/datatables.net-colreorder-bs5-1.5.5.tgz", + "integrity": "sha512-WoOV8deN4E12MrCUtAPhV8rYVrX0xHXzVcvJ79Cf3Lvabt6nf9FD9sxJ7SMjfEVIP0A9lUuEdWinftyodcuPAA==", + "requires": { + "datatables.net-bs5": ">=1.11.3", + "datatables.net-colreorder": ">=1.5.4", + "jquery": ">=1.7" + } + }, + "datatables.net-datetime": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/datatables.net-datetime/-/datatables.net-datetime-1.1.2.tgz", + "integrity": "sha512-UpmtpQ7oVtMgG0lt0nnwNfYH0YRWOk/SKv4Z+5RI8JX/rJHUQXyt9Li+7U0znmIv+4Vkw8yuUV9n9WRAEOviJQ==" + }, + "datatables.net-fixedcolumns": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/datatables.net-fixedcolumns/-/datatables.net-fixedcolumns-3.3.3.tgz", + "integrity": "sha512-xo6MeI2xc/Ufk4ffrpao+OiPo8/GPB8cO80gA6NFgYBVw6eP9pPa2NsV+gSWRVr7d3A8iZC7mUZT5WdtliNHEA==", + "requires": { + "datatables.net": "^1.10.15", + "jquery": ">=1.7" + } + }, + "datatables.net-fixedcolumns-bs5": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/datatables.net-fixedcolumns-bs5/-/datatables.net-fixedcolumns-bs5-3.3.3.tgz", + "integrity": "sha512-4dDV0ZL5qLd6tfY9ALL/KDgOO2JUFIq+Yp6yaOf+5LkYxRBiTq3EcXwg2IArwtqFRLsGnMjbuFbpDcIFXPVeUg==", + "requires": { + "jquery": ">=1.7" + } + }, + "datatables.net-fixedheader": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/datatables.net-fixedheader/-/datatables.net-fixedheader-3.2.2.tgz", + "integrity": "sha512-2bA4HXaL+vA/HesknSQcvDcSMzzDJx11lrLCy8Om4YpZBNtpvETFTqcqRgUmPYrSN8Eq5+OhmPpYkbzy5Nu11Q==", + "requires": { + "datatables.net": ">=1.11.3", + "jquery": ">=1.7" + } + }, + "datatables.net-fixedheader-bs5": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/datatables.net-fixedheader-bs5/-/datatables.net-fixedheader-bs5-3.2.2.tgz", + "integrity": "sha512-6CftSIMWv5p2gzeEWKdsbEFHkU6/egS2svNxzqCOdgKSNfx4Mx7jkrCDKrCehh8CWlFi6WtWo7qg//GIAReQ+g==", + "requires": { + "datatables.net-bs5": ">=1.11.3", + "datatables.net-fixedheader": ">=3.2.0", + "jquery": ">=1.7" + } + }, + "datatables.net-plugins": { + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/datatables.net-plugins/-/datatables.net-plugins-1.11.5.tgz", + "integrity": "sha512-+Rsf/fyLG8GyFqp7Bvd1ElqWGQO3NPsx2VADn9X8QaZbctshGVW0sqvR5V7iHHgY6OY1LR0+t6qIMhan9BM4gA==" + }, + "datatables.net-responsive": { + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/datatables.net-responsive/-/datatables.net-responsive-2.2.9.tgz", + "integrity": "sha512-C+mOY/mG17zzaYPtgqAOsC4JlGddGkKmO/ADNEtNZ41bcPV1/3jJzkOWT3DCZ400NmkXLDz4WObWlPT8WCgfzg==", + "requires": { + "datatables.net": "^1.10.15", + "jquery": ">=1.7" + } + }, + "datatables.net-responsive-bs5": { + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/datatables.net-responsive-bs5/-/datatables.net-responsive-bs5-2.2.9.tgz", + "integrity": "sha512-2g+gFyQCek/OR1RQTVPVq42NUQ+cGGeGKV6+qALyO6MCGYqJ4oKNb368EmvyHGCCRdEngiaC/1eesmupF0q20w==", + "requires": { + "jquery": ">=1.7" + } + }, + "datatables.net-rowgroup": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/datatables.net-rowgroup/-/datatables.net-rowgroup-1.1.4.tgz", + "integrity": "sha512-Oe9mL3X8RXLOQZblJVWTYD0melyw3xoPeQ3T2x1k2guTFxob8/2caKuzn95oFJau6tvbhsvY/QneTaCzHRKnnQ==", + "requires": { + "datatables.net": ">=1.11.3", + "jquery": ">=1.7" + } + }, + "datatables.net-rowgroup-bs5": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/datatables.net-rowgroup-bs5/-/datatables.net-rowgroup-bs5-1.1.4.tgz", + "integrity": "sha512-74A5jKJrZ6FoSNo1fCGyI0xCUyEQVyMEBLhUWgsLC5L8haKOE2eA94fyPAXShcyWg4/iATwpwgJDv6rZSzCQ4g==", + "requires": { + "datatables.net-bs5": ">=1.11.3", + "datatables.net-rowgroup": ">=1.1.3", + "jquery": ">=1.7" + } + }, + "datatables.net-rowreorder": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/datatables.net-rowreorder/-/datatables.net-rowreorder-1.2.8.tgz", + "integrity": "sha512-gFNKMa5DtigbjhSs96ZKT3uICC1z87EuLUIYLVPEXHc7v/WVOiQ3AaRvIQtExORPi/jQzxEoO5wO9UGZ0ldsUQ==", + "requires": { + "datatables.net": "^1.10.15", + "jquery": ">=1.7" + } + }, + "datatables.net-rowreorder-bs5": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/datatables.net-rowreorder-bs5/-/datatables.net-rowreorder-bs5-1.2.8.tgz", + "integrity": "sha512-5aiTtKokn+dHGcVEfUR9Mp6yCj39KiSddZKEJFrWqXxbZSeigE7X7ac82BUw9Cw+9Vpn59GhmUeguQ5XS2HUrg==", + "requires": { + "jquery": ">=1.7" + } + }, + "datatables.net-scroller": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/datatables.net-scroller/-/datatables.net-scroller-2.0.5.tgz", + "integrity": "sha512-gXxQcbUgDURcxGUCIj+5YBepJJcWWGJgFlewGy/odaAi+H1Ol8TKcXoQD20y2zcO7l5DWEbzNwHwN0bciBONPw==", + "requires": { + "datatables.net": ">=1.10.25", + "jquery": ">=1.7" + } + }, + "datatables.net-scroller-bs5": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/datatables.net-scroller-bs5/-/datatables.net-scroller-bs5-2.0.5.tgz", + "integrity": "sha512-hnF/q81WGwAmwVHxlSupkrxJD0UJ1rythh/+fUKkisFMS/BwXA06DxnldbMu9pZGqN0IsaJlaEHDojnSpBhu2w==", + "requires": { + "datatables.net-bs5": ">=1.10.25", + "datatables.net-scroller": ">=2.0.4", + "jquery": ">=1.7" + } + }, + "datatables.net-select": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/datatables.net-select/-/datatables.net-select-1.3.4.tgz", + "integrity": "sha512-iQ/dBHIWkhfCBxzNdtef79seCNO1ZsA5zU0Uiw3R2mlwmjcJM1xn6pFNajke6SX7VnlzndGDHGqzzEljSqz4pA==", + "requires": { + "datatables.net": ">=1.11.3", + "jquery": ">=1.7" + } + }, + "datatables.net-select-bs5": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/datatables.net-select-bs5/-/datatables.net-select-bs5-1.3.4.tgz", + "integrity": "sha512-fJyFVtDzo4P4oIOUU2vSvYLuegDdSoqJrqPbFaI0DX2O/MYg2H9hXo09UZ7No/pxBJ1NBRCm8Q3U9uyoCBK7RQ==", + "requires": { + "datatables.net-bs5": ">=1.11.3", + "datatables.net-select": ">=1.3.3", + "jquery": ">=1.7" + } + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "decompress-response": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", + "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", + "requires": { + "mimic-response": "^1.0.0" + } + }, + "deep-equal": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", + "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", + "requires": { + "is-arguments": "^1.0.4", + "is-date-object": "^1.0.1", + "is-regex": "^1.0.4", + "object-is": "^1.0.1", + "object-keys": "^1.1.1", + "regexp.prototype.flags": "^1.2.0" + } + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + }, + "default-gateway": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-6.0.3.tgz", + "integrity": "sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==", + "dev": true, + "requires": { + "execa": "^5.0.0" + } + }, + "defer-to-connect": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", + "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" + }, + "define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true + }, + "define-properties": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", + "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", + "requires": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + } + }, + "del": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/del/-/del-6.0.0.tgz", + "integrity": "sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ==", + "requires": { + "globby": "^11.0.1", + "graceful-fs": "^4.2.4", + "is-glob": "^4.0.1", + "is-path-cwd": "^2.2.0", + "is-path-inside": "^3.0.2", + "p-map": "^4.0.0", + "rimraf": "^3.0.2", + "slash": "^3.0.0" + }, + "dependencies": { + "globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + } + } + } + }, + "delegate": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz", + "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==" + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, + "des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "detect-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", + "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", + "dev": true + }, + "dfa": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/dfa/-/dfa-1.2.0.tgz", + "integrity": "sha512-ED3jP8saaweFTjeGX8HQPjeC1YYyZs98jGNZx6IiBvxW7JG5v492kamAQB3m2wop07CvU/RQmzcKr6bgcC5D/Q==" + }, + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "requires": { + "path-type": "^4.0.0" + } + }, + "dns-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", + "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=", + "dev": true + }, + "dns-packet": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.3.1.tgz", + "integrity": "sha512-spBwIj0TK0Ey3666GwIdWVfUpLyubpU53BTCu8iPn4r4oXd9O14Hjg3EHw3ts2oed77/SeckunUYCyRlSngqHw==", + "dev": true, + "requires": { + "@leichtgewicht/ip-codec": "^2.0.1" + } + }, + "dom-serializer": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", + "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", + "dev": true, + "requires": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "dependencies": { + "domhandler": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "dev": true, + "requires": { + "domelementtype": "^2.2.0" + } + } + } + }, + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true + }, + "domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true + }, + "domhandler": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", + "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", + "dev": true, + "requires": { + "domelementtype": "^2.0.1" + } + }, + "domutils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "dev": true, + "requires": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "dependencies": { + "domhandler": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "dev": true, + "requires": { + "domelementtype": "^2.2.0" + } + } + } + }, + "dot-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz", + "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==", + "dev": true, + "requires": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "requires": { + "is-obj": "^2.0.0" + } + }, + "dotenv": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", + "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==", + "dev": true + }, + "dotenv-expand": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-5.1.0.tgz", + "integrity": "sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==", + "dev": true + }, + "dragula": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/dragula/-/dragula-3.7.3.tgz", + "integrity": "sha512-/rRg4zRhcpf81TyDhaHLtXt6sEywdfpv1cRUMeFFy7DuypH2U0WUL0GTdyAQvXegviT4PJK4KuMmOaIDpICseQ==", + "requires": { + "contra": "1.9.4", + "crossvent": "1.5.5" + } + }, + "dropzone": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/dropzone/-/dropzone-5.9.3.tgz", + "integrity": "sha512-Azk8kD/2/nJIuVPK+zQ9sjKMRIpRvNyqn9XwbBHNq+iNuSccbJS6hwm1Woy0pMST0erSo0u4j+KJaodndDk4vA==" + }, + "duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", + "requires": { + "readable-stream": "^2.0.2" + } + }, + "duplexer3": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", + "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "electron-to-chromium": { + "version": "1.4.113", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.113.tgz", + "integrity": "sha512-s30WKxp27F3bBH6fA07FYL2Xm/FYnYrKpMjHr3XVCTUb9anAyZn/BeZfPWgTZGAbJeT4NxNwISSbLcYZvggPMA==", + "dev": true + }, + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dev": true, + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "dev": true + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "requires": { + "once": "^1.4.0" + } + }, + "enhanced-resolve": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz", + "integrity": "sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + } + }, + "entities": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "dev": true + }, + "envinfo": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", + "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", + "dev": true + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es-abstract": { + "version": "1.19.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.5.tgz", + "integrity": "sha512-Aa2G2+Rd3b6kxEUKTF4TaW67czBLyAv3z7VOhYRU50YBx+bbsYZ9xQP4lMNazePuFlybXI0V4MruPos7qUo5fA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + } + }, + "es-module-lexer": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", + "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", + "dev": true + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "es5-ext": { + "version": "0.10.60", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.60.tgz", + "integrity": "sha512-jpKNXIt60htYG59/9FGf2PYT3pwMpnEbNKysU+k/4FGwyGtMotOvcZOuW+EmXXYASRqYSXQfGL5cVIthOTgbkg==", + "requires": { + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.3", + "next-tick": "^1.1.0" + } + }, + "es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", + "requires": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "es6-map": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", + "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", + "requires": { + "d": "1", + "es5-ext": "~0.10.14", + "es6-iterator": "~2.0.1", + "es6-set": "~0.1.5", + "es6-symbol": "~3.1.1", + "event-emitter": "~0.3.5" + } + }, + "es6-promise": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", + "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" + }, + "es6-promise-polyfill": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/es6-promise-polyfill/-/es6-promise-polyfill-1.2.0.tgz", + "integrity": "sha1-84kl8jyz4+jObNqP93T867sJDN4=" + }, + "es6-set": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", + "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", + "requires": { + "d": "1", + "es5-ext": "~0.10.14", + "es6-iterator": "~2.0.1", + "es6-symbol": "3.1.1", + "event-emitter": "~0.3.5" + }, + "dependencies": { + "es6-symbol": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", + "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", + "requires": { + "d": "1", + "es5-ext": "~0.10.14" + } + } + } + }, + "es6-shim": { + "version": "0.35.6", + "resolved": "https://registry.npmjs.org/es6-shim/-/es6-shim-0.35.6.tgz", + "integrity": "sha512-EmTr31wppcaIAgblChZiuN/l9Y7DPyw8Xtbg7fIVngn6zMW+IEBJDJngeKC3x6wr0V/vcA2wqeFnaw1bFJbDdA==" + }, + "es6-symbol": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", + "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", + "requires": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true + }, + "escape-goat": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", + "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==" + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "escodegen": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.2.0.tgz", + "integrity": "sha1-Cd55Z3kcyVi3+Jot220jRRrzJ+E=", + "requires": { + "esprima": "~1.0.4", + "estraverse": "~1.5.0", + "esutils": "~1.0.0", + "source-map": "~0.1.30" + }, + "dependencies": { + "esutils": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-1.0.0.tgz", + "integrity": "sha1-gVHTWOIMisx/t0XnRywAJf5JZXA=" + }, + "source-map": { + "version": "0.1.43", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", + "optional": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, + "eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "dependencies": { + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true + } + } + }, + "esprima": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz", + "integrity": "sha1-n1V+CPw7TSbs6d00+Pv0drYlha0=" + }, + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "requires": { + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + } + } + }, + "esri-leaflet": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/esri-leaflet/-/esri-leaflet-3.0.8.tgz", + "integrity": "sha512-mLb4pRfDAbkG1YhuajD22erLXIAtrF1R32hmgmlJNI3t47n6KjTppCb8lViia0O7+GDORXFuJ9Lj9RkpsaKhSA==", + "requires": { + "@terraformer/arcgis": "^2.1.0", + "tiny-binary-search": "^1.0.3" + } + }, + "esri-leaflet-geocoder": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/esri-leaflet-geocoder/-/esri-leaflet-geocoder-3.1.3.tgz", + "integrity": "sha512-XuorBaPKOq2XBswyWS3fX4I0EyGamdQsao/NQbn+9wlCZtpDrpIn2iKLY7x4uOaPC4wCjE/rskli8UMCVwlZrg==", + "requires": { + "esri-leaflet": "^3.0.2", + "leaflet": "^1.0.0" + } + }, + "estraverse": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.5.1.tgz", + "integrity": "sha1-hno+jlip+EYYr7bC3bzZFrfLr3E=" + }, + "estree-is-function": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/estree-is-function/-/estree-is-function-1.0.0.tgz", + "integrity": "sha512-nSCWn1jkSq2QAtkaVLJZY2ezwcFO161HVc174zL1KPW3RJ+O6C3eJb8Nx7OXzvhoEv+nLgSR1g71oWUHUDTrJA==" + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true + }, + "event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", + "requires": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "eventemitter3": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.3.tgz", + "integrity": "sha1-teEHm1n7XhuidxwKmTvgYKWMmbo=" + }, + "events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true + }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dev": true, + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "dependencies": { + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + } + } + }, + "express": { + "version": "4.17.3", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.3.tgz", + "integrity": "sha512-yuSQpz5I+Ch7gFrPCk4/c+dIBKlQUxtgwqzph132bsT6qhuzss6I8cLJQz7B3rFblzd6wtcI0ZbGltH/C4LjUg==", + "dev": true, + "requires": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.19.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.4.2", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.9.7", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "dependencies": { + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "ext": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz", + "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==", + "requires": { + "type": "^2.5.0" + }, + "dependencies": { + "type": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/type/-/type-2.6.0.tgz", + "integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==" + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-diff": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz", + "integrity": "sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig==" + }, + "fast-glob": { + "version": "3.2.11", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", + "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + } + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" + }, + "fastest-levenshtein": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", + "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", + "dev": true + }, + "fastq": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", + "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "requires": { + "reusify": "^1.0.4" + } + }, + "faye-websocket": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", + "integrity": "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==", + "dev": true, + "requires": { + "websocket-driver": ">=0.5.1" + } + }, + "file-loader": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz", + "integrity": "sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==", + "dev": true, + "requires": { + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0" + }, + "dependencies": { + "schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + } + } + }, + "file-type": { + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-12.4.2.tgz", + "integrity": "sha512-UssQP5ZgIOKelfsaB5CuGAL+Y+q7EmONuiwF3N5HAH0t27rvrttgi6Ra9k/+DVaY9UF6+ybxu5pOXLUdA8N7Vg==", + "dev": true + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "find-cache-dir": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "findup": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/findup/-/findup-0.1.5.tgz", + "integrity": "sha1-itkpozk7rGJ5V6fl3kYjsGsOLOs=", + "dev": true, + "requires": { + "colors": "~0.6.0-1", + "commander": "~2.1.0" + }, + "dependencies": { + "commander": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.1.0.tgz", + "integrity": "sha1-0SG7roYNmZKj1Re6lvVliOR8Z4E=", + "dev": true + } + } + }, + "flatpickr": { + "version": "4.6.13", + "resolved": "https://registry.npmjs.org/flatpickr/-/flatpickr-4.6.13.tgz", + "integrity": "sha512-97PMG/aywoYpB4IvbvUJi0RQi8vearvU0oov1WW3k0WZPBMrTQVqekSX5CjSG/M4Q3i6A/0FKXC7RyAoAUUSPw==" + }, + "flot": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/flot/-/flot-4.2.2.tgz", + "integrity": "sha512-Strct/A27o0TA25X7Z0pxKhwK4djiP1Kjeqj0tkiqrkRu1qYPqfbp5BYuxEL8CWDNtj85Uc0PnG2E2plo1+VMg==" + }, + "follow-redirects": { + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==", + "dev": true + }, + "forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "dev": true + }, + "fraction.js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", + "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", + "dev": true + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true + }, + "fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "fs-monkey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.3.tgz", + "integrity": "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==", + "dev": true + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "optional": true + }, + "fslightbox": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fslightbox/-/fslightbox-3.3.1.tgz", + "integrity": "sha512-r8mS2lnqw+4F7fQmIXZ4Y+tulxqGsZyG7wzMhWKl8MHvVZRJnclUyt+n+hfTkUa+e1bvlzpw4tY/X9mwqC4wCg==" + }, + "fullcalendar": { + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/fullcalendar/-/fullcalendar-5.11.0.tgz", + "integrity": "sha512-R3yQMKJtP6jWZ3o9fNB0WUOl6Oi+vus3ciLtt3eva7ISutkMm6nE4lA+xhfTS3OIevxVQOv0O646R6G8o7sMXA==" + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" + }, + "gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true + }, + "get-assigned-identifiers": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz", + "integrity": "sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ==" + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true + }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "requires": { + "pump": "^3.0.0" + } + }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, + "glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "requires": { + "is-glob": "^4.0.1" + } + }, + "glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true + }, + "global-dirs": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz", + "integrity": "sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==", + "requires": { + "ini": "2.0.0" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "globalyzer": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz", + "integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==" + }, + "globby": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz", + "integrity": "sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==", + "dev": true, + "requires": { + "@types/glob": "^7.1.1", + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.0.3", + "glob": "^7.1.3", + "ignore": "^5.1.1", + "merge2": "^1.2.3", + "slash": "^3.0.0" + } + }, + "globrex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz", + "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==" + }, + "good-listener": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz", + "integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=", + "requires": { + "delegate": "^3.1.2" + } + }, + "got": { + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", + "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", + "requires": { + "@sindresorhus/is": "^0.14.0", + "@szmarczak/http-timer": "^1.1.2", + "cacheable-request": "^6.0.0", + "decompress-response": "^3.3.0", + "duplexer3": "^0.1.4", + "get-stream": "^4.1.0", + "lowercase-keys": "^1.0.1", + "mimic-response": "^1.0.1", + "p-cancelable": "^1.0.0", + "to-readable-stream": "^1.0.0", + "url-parse-lax": "^3.0.0" + } + }, + "graceful-fs": { + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + }, + "growly": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", + "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=", + "dev": true + }, + "handle-thing": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", + "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", + "dev": true + }, + "handlebars": { + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "requires": { + "minimist": "^1.2.5", + "neo-async": "^2.6.0", + "source-map": "^0.6.1", + "uglify-js": "^3.1.4", + "wordwrap": "^1.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + } + } + }, + "has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "requires": { + "get-intrinsic": "^1.1.1" + } + }, + "has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "requires": { + "has-symbols": "^1.0.2" + } + }, + "has-yarn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", + "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==" + }, + "hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "hash-sum": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-1.0.2.tgz", + "integrity": "sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ=", + "dev": true + }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true + }, + "hex-color-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz", + "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==", + "dev": true + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dev": true, + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "hpack.js": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", + "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "obuf": "^1.0.0", + "readable-stream": "^2.0.1", + "wbuf": "^1.1.0" + } + }, + "hsl-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/hsl-regex/-/hsl-regex-1.0.0.tgz", + "integrity": "sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4=", + "dev": true + }, + "hsla-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/hsla-regex/-/hsla-regex-1.0.0.tgz", + "integrity": "sha1-wc56MWjIxmFAM6S194d/OyJfnDg=", + "dev": true + }, + "html-entities": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.3.tgz", + "integrity": "sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA==", + "dev": true + }, + "html-loader": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/html-loader/-/html-loader-1.3.2.tgz", + "integrity": "sha512-DEkUwSd0sijK5PF3kRWspYi56XP7bTNkyg5YWSzBdjaSDmvCufep5c4Vpb3PBf6lUL0YPtLwBfy9fL0t5hBAGA==", + "dev": true, + "requires": { + "html-minifier-terser": "^5.1.1", + "htmlparser2": "^4.1.0", + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0" + }, + "dependencies": { + "schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + } + } + }, + "html-minifier-terser": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz", + "integrity": "sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg==", + "dev": true, + "requires": { + "camel-case": "^4.1.1", + "clean-css": "^4.2.3", + "commander": "^4.1.1", + "he": "^1.2.0", + "param-case": "^3.0.3", + "relateurl": "^0.2.7", + "terser": "^4.6.3" + }, + "dependencies": { + "clean-css": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.4.tgz", + "integrity": "sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==", + "dev": true, + "requires": { + "source-map": "~0.6.0" + } + }, + "commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true + }, + "terser": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", + "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", + "dev": true, + "requires": { + "commander": "^2.20.0", + "source-map": "~0.6.1", + "source-map-support": "~0.5.12" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + } + } + } + } + }, + "htmlparser2": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-4.1.0.tgz", + "integrity": "sha512-4zDq1a1zhE4gQso/c5LP1OtrhYTncXNSpvJYtWJBtXAETPlMfi3IFNjGuQbYLuVY4ZR0QMqRVvo4Pdy9KLyP8Q==", + "dev": true, + "requires": { + "domelementtype": "^2.0.1", + "domhandler": "^3.0.0", + "domutils": "^2.0.0", + "entities": "^2.0.0" + } + }, + "http-cache-semantics": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" + }, + "http-deceiver": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", + "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=", + "dev": true + }, + "http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + } + }, + "http-parser-js": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.6.tgz", + "integrity": "sha512-vDlkRPDJn93swjcjqMSaGSPABbIarsr1TLAui/gLDXzV5VsJNdXNzMYDyNBLQkjWQCJ1uizu8T2oDMhmGt0PRA==", + "dev": true + }, + "http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dev": true, + "requires": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "dependencies": { + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + } + } + }, + "http-proxy-middleware": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.5.tgz", + "integrity": "sha512-ORErEaxkjyrhifofwCuQttHPUSestLtiPDwV0qQOFB0ww6695H953wIGRnkakw1K+GAP+t8/RPbfDB75RFL4Fg==", + "dev": true, + "requires": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + } + }, + "https-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", + "dev": true + }, + "human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true + }, + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "icss-utils": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", + "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", + "dev": true, + "requires": {} + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true + }, + "ignore": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", + "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==" + }, + "ignore-by-default": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", + "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=" + }, + "imagemin": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/imagemin/-/imagemin-7.0.1.tgz", + "integrity": "sha512-33AmZ+xjZhg2JMCe+vDf6a9mzWukE7l+wAtesjE7KyteqqKjzxv7aVQeWnul1Ve26mWvEQqyPwl0OctNBfSR9w==", + "dev": true, + "requires": { + "file-type": "^12.0.0", + "globby": "^10.0.0", + "graceful-fs": "^4.2.2", + "junk": "^3.1.0", + "make-dir": "^3.0.0", + "p-pipe": "^3.0.0", + "replace-ext": "^1.0.0" + } + }, + "img-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/img-loader/-/img-loader-4.0.0.tgz", + "integrity": "sha512-UwRcPQdwdOyEHyCxe1V9s9YFwInwEWCpoO+kJGfIqDrBDqA8jZUsEZTxQ0JteNPGw/Gupmwesk2OhLTcnw6tnQ==", + "dev": true, + "requires": { + "loader-utils": "^1.1.0" + }, + "dependencies": { + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + }, + "loader-utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", + "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "dev": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + } + } + } + }, + "immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=" + }, + "immutable": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.0.0.tgz", + "integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==", + "dev": true + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "import-lazy": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", + "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=" + }, + "import-local": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", + "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "dev": true, + "requires": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" + }, + "indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" + }, + "indexes-of": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "ini": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", + "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==" + }, + "inputmask": { + "version": "5.0.7", + "resolved": "https://registry.npmjs.org/inputmask/-/inputmask-5.0.7.tgz", + "integrity": "sha512-rUxbRDS25KEib+c/Ow+K01oprU/+EK9t9SOPC8ov94/ftULGDqj1zOgRU/Hko6uzoKRMdwCfuhAafJ/Wk2wffQ==" + }, + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, + "interpret": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", + "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", + "dev": true + }, + "ipaddr.js": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", + "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==", + "dev": true + }, + "is-absolute-url": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz", + "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=", + "dev": true + }, + "is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "requires": { + "has-bigints": "^1.0.1" + } + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "dev": true + }, + "is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "requires": { + "ci-info": "^2.0.0" + } + }, + "is-color-stop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz", + "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=", + "dev": true, + "requires": { + "css-color-names": "^0.0.4", + "hex-color-regex": "^1.1.0", + "hsl-regex": "^1.0.0", + "hsla-regex": "^1.0.0", + "rgb-regex": "^1.0.1", + "rgba-regex": "^1.0.0" + } + }, + "is-core-module": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", + "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "requires": { + "has": "^1.0.3" + } + }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true + }, + "is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-installed-globally": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", + "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", + "requires": { + "global-dirs": "^3.0.0", + "is-path-inside": "^3.0.2" + } + }, + "is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true + }, + "is-npm": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-5.0.0.tgz", + "integrity": "sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==" + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" + }, + "is-path-cwd": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", + "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==" + }, + "is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==" + }, + "is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-resolvable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", + "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==", + "dev": true + }, + "is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, + "is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "requires": { + "is-docker": "^2.0.0" + } + }, + "is-yarn-global": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", + "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==" + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "requires": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "dependencies": { + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "jkanban": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jkanban/-/jkanban-1.3.1.tgz", + "integrity": "sha512-5M2nQuLnYTW8ZWAj0Gzes0BVYKE2BmpvJ+wc4Kv5/WZ4A+NYH/Njw3UJbW8hnClgrRVyHbeVNe3Q4gvZzoNjaw==", + "requires": { + "dragula": "^3.7.3", + "npm-watch": "^0.7.0" + } + }, + "jquery": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz", + "integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==" + }, + "jquery.repeater": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/jquery.repeater/-/jquery.repeater-1.2.1.tgz", + "integrity": "sha1-6ihKaTdL9EeNwuYK9ecFsWnLFRQ=" + }, + "js-base64": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz", + "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + } + } + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, + "json-buffer": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", + "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json5": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "dev": true + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "jstree": { + "version": "3.3.12", + "resolved": "https://registry.npmjs.org/jstree/-/jstree-3.3.12.tgz", + "integrity": "sha512-vHNLWkUr02ZYH7RcIckvhtLUtneWCVEtIKpIp2G9WtRh01ITv18EoNtNQcFG3ozM+oK6wp1Z300gSLXNQWCqGA==", + "requires": { + "jquery": ">=1.9.1" + } + }, + "jszip": { + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.9.1.tgz", + "integrity": "sha512-H9A60xPqJ1CuC4Ka6qxzXZeU8aNmgOeP5IFqwJbQQwtu2EUYxota3LdsiZWplF7Wgd9tkAd0mdu36nceSaPuYw==", + "requires": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "set-immediate-shim": "~1.0.1" + } + }, + "junk": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/junk/-/junk-3.1.0.tgz", + "integrity": "sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ==", + "dev": true + }, + "keycharm": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/keycharm/-/keycharm-0.4.0.tgz", + "integrity": "sha512-TyQTtsabOVv3MeOpR92sIKk/br9wxS+zGj4BG7CR8YbK4jM3tyIBaF0zhzeBUMx36/Q/iQLOKKOT+3jOQtemRQ==", + "peer": true + }, + "keyv": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", + "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", + "requires": { + "json-buffer": "3.0.0" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + }, + "klona": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz", + "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==", + "dev": true + }, + "laravel-mix": { + "version": "6.0.43", + "resolved": "https://registry.npmjs.org/laravel-mix/-/laravel-mix-6.0.43.tgz", + "integrity": "sha512-SOO+C1aOpVSAUs30DYc6k/e0QJxfyD42aav4IKJtE5UZKw9ROWcVzkVoek2J475jNeNnl7GkoLAC27gejZsQ8g==", + "dev": true, + "requires": { + "@babel/core": "^7.15.8", + "@babel/plugin-proposal-object-rest-spread": "^7.15.6", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-transform-runtime": "^7.15.8", + "@babel/preset-env": "^7.15.8", + "@babel/runtime": "^7.15.4", + "@types/babel__core": "^7.1.16", + "@types/clean-css": "^4.2.5", + "@types/imagemin-gifsicle": "^7.0.1", + "@types/imagemin-mozjpeg": "^8.0.1", + "@types/imagemin-optipng": "^5.2.1", + "@types/imagemin-svgo": "^8.0.0", + "autoprefixer": "^10.4.0", + "babel-loader": "^8.2.3", + "chalk": "^4.1.2", + "chokidar": "^3.5.2", + "clean-css": "^5.2.4", + "cli-table3": "^0.6.0", + "collect.js": "^4.28.5", + "commander": "^7.2.0", + "concat": "^1.0.3", + "css-loader": "^5.2.6", + "cssnano": "^5.0.8", + "dotenv": "^10.0.0", + "dotenv-expand": "^5.1.0", + "file-loader": "^6.2.0", + "fs-extra": "^10.0.0", + "glob": "^7.2.0", + "html-loader": "^1.3.2", + "imagemin": "^7.0.1", + "img-loader": "^4.0.0", + "lodash": "^4.17.21", + "md5": "^2.3.0", + "mini-css-extract-plugin": "^1.6.2", + "node-libs-browser": "^2.2.1", + "postcss-load-config": "^3.1.0", + "postcss-loader": "^6.2.0", + "semver": "^7.3.5", + "strip-ansi": "^6.0.0", + "style-loader": "^2.0.0", + "terser": "^5.9.0", + "terser-webpack-plugin": "^5.2.4", + "vue-style-loader": "^4.1.3", + "webpack": "^5.60.0", + "webpack-cli": "^4.9.1", + "webpack-dev-server": "^4.7.3", + "webpack-merge": "^5.8.0", + "webpack-notifier": "^1.14.1", + "webpackbar": "^5.0.0-3", + "yargs": "^17.2.1" + } + }, + "latest-version": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", + "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", + "requires": { + "package-json": "^6.3.0" + } + }, + "leaflet": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.8.0.tgz", + "integrity": "sha512-gwhMjFCQiYs3x/Sf+d49f10ERXaEFCPr+nVTryhAW8DWbMGqJqt9G4XuIaHmFW08zYvhgdzqXGr8AlW8v8dQkA==" + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, + "lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "requires": { + "immediate": "~3.0.5" + } + }, + "lilconfig": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.5.tgz", + "integrity": "sha512-xaYmXZtTHPAw5m+xLN8ab9C+3a8YmV3asNSPOATITbtwrfbwaLJj8h66H1WMIpALCkqsIzK3h7oQ+PdX+LQ9Eg==", + "dev": true + }, + "line-awesome": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/line-awesome/-/line-awesome-1.3.0.tgz", + "integrity": "sha512-Y0YHksL37ixDsHz+ihCwOtF5jwJgCDxQ3q+zOVgaSW8VugHGTsZZXMacPYZB1/JULBi6BAuTCTek+4ZY/UIwcw==" + }, + "lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "loader-runner": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "dev": true + }, + "loader-utils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz", + "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", + "dev": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", + "dev": true + }, + "lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "dev": true + }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "peer": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "lower-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", + "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", + "dev": true, + "requires": { + "tslib": "^2.0.3" + } + }, + "lowercase-keys": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "requires": { + "yallist": "^4.0.0" + } + }, + "magic-string": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.1.tgz", + "integrity": "sha512-sCuTz6pYom8Rlt4ISPFn6wuFodbKMIHUMv4Qko9P17dpxb7s52KJTmRuZZqHdGmLCK9AOcDare039nRIcfdkEg==", + "requires": { + "sourcemap-codec": "^1.4.1" + } + }, + "make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "requires": { + "semver": "^6.0.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + } + } + }, + "md5": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", + "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", + "dev": true, + "requires": { + "charenc": "0.0.2", + "crypt": "0.0.2", + "is-buffer": "~1.1.6" + } + }, + "md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "mdn-data": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", + "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==", + "dev": true + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true + }, + "memfs": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.1.tgz", + "integrity": "sha512-1c9VPVvW5P7I85c35zAdEr1TD5+F11IToIHIlrVIcflfnzPkJa0ZoYEoEdYDP8KgPFoSZ/opDrUsAoZWym3mtw==", + "dev": true, + "requires": { + "fs-monkey": "1.0.3" + } + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "merge-source-map": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.0.4.tgz", + "integrity": "sha1-pd5GU42uhNQRTMXqArR3KmNGcB8=", + "requires": { + "source-map": "^0.5.6" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + }, + "mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true + }, + "mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "requires": { + "mime-db": "1.52.0" + } + }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true + }, + "mimic-response": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" + }, + "mini-css-extract-plugin": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-1.6.2.tgz", + "integrity": "sha512-WhDvO3SjGm40oV5y26GjMJYjd2UMqrLAGKy5YS2/3QKJy2F7jgynuHTir/tgUUOiNQu5saXHdc8reo7YuhhT4Q==", + "dev": true, + "requires": { + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0", + "webpack-sources": "^1.1.0" + }, + "dependencies": { + "schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + } + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", + "dev": true + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + }, + "mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "requires": { + "minimist": "^1.2.6" + } + }, + "moment": { + "version": "2.29.3", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz", + "integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw==" + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "multicast-dns": { + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.4.tgz", + "integrity": "sha512-XkCYOU+rr2Ft3LI6w4ye51M3VK31qJXFIxu0XLw169PtKG0Zx47OrXeVW/GCYOfpC9s1yyyf1S+L8/4LY0J9Zw==", + "dev": true, + "requires": { + "dns-packet": "^5.2.2", + "thunky": "^1.0.2" + } + }, + "nanoid": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", + "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "dev": true + }, + "negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true + }, + "neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + }, + "next-tick": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", + "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" + }, + "no-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", + "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", + "dev": true, + "requires": { + "lower-case": "^2.0.2", + "tslib": "^2.0.3" + } + }, + "node-forge": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", + "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", + "dev": true + }, + "node-libs-browser": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", + "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", + "dev": true, + "requires": { + "assert": "^1.1.1", + "browserify-zlib": "^0.2.0", + "buffer": "^4.3.0", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.11.0", + "domain-browser": "^1.1.1", + "events": "^3.0.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "0.0.1", + "process": "^0.11.10", + "punycode": "^1.2.4", + "querystring-es3": "^0.2.0", + "readable-stream": "^2.3.3", + "stream-browserify": "^2.0.1", + "stream-http": "^2.7.2", + "string_decoder": "^1.0.0", + "timers-browserify": "^2.0.4", + "tty-browserify": "0.0.0", + "url": "^0.11.0", + "util": "^0.11.0", + "vm-browserify": "^1.0.1" + } + }, + "node-notifier": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-9.0.1.tgz", + "integrity": "sha512-fPNFIp2hF/Dq7qLDzSg4vZ0J4e9v60gJR+Qx7RbjbWqzPDdEqeVpEx5CFeDAELIl+A/woaaNn1fQ5nEVerMxJg==", + "dev": true, + "requires": { + "growly": "^1.3.0", + "is-wsl": "^2.2.0", + "semver": "^7.3.2", + "shellwords": "^0.1.1", + "uuid": "^8.3.0", + "which": "^2.0.2" + } + }, + "node-releases": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.3.tgz", + "integrity": "sha512-maHFz6OLqYxz+VQyCAtA3PTX4UP/53pa05fyDNc9CwjvJ0yEh6+xBwKsgCxMNhS8taUKBFYxfuiaD9U/55iFaw==", + "dev": true + }, + "node-watch": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/node-watch/-/node-watch-0.7.3.tgz", + "integrity": "sha512-3l4E8uMPY1HdMMryPRUAl+oIHtXtyiTlIiESNSVSNxcPfzAFzeTbXFQkZfAwBbo0B1qMSG8nUABx+Gd+YrbKrQ==" + }, + "nodemon": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.15.tgz", + "integrity": "sha512-gdHMNx47Gw7b3kWxJV64NI+Q5nfl0y5DgDbiVtShiwa7Z0IZ07Ll4RLFo6AjrhzMtoEZn5PDE3/c2AbVsiCkpA==", + "requires": { + "chokidar": "^3.5.2", + "debug": "^3.2.7", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.0.4", + "pstree.remy": "^1.1.8", + "semver": "^5.7.1", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.5", + "update-notifier": "^5.1.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "requires": { + "ms": "^2.1.1" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "nopt": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", + "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", + "requires": { + "abbrev": "1" + } + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" + }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", + "dev": true + }, + "normalize-url": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", + "dev": true + }, + "nouislider": { + "version": "15.5.1", + "resolved": "https://registry.npmjs.org/nouislider/-/nouislider-15.5.1.tgz", + "integrity": "sha512-V8LNPhLPXLNjkgXLfyzDRGDeKvzZeaiIx5YagMiHnOMqgcRzT75jqvEZYXbSrEffXouwcEShSd8Vllm2Nkwqew==" + }, + "npm": { + "version": "7.24.2", + "resolved": "https://registry.npmjs.org/npm/-/npm-7.24.2.tgz", + "integrity": "sha512-120p116CE8VMMZ+hk8IAb1inCPk4Dj3VZw29/n2g6UI77urJKVYb7FZUDW8hY+EBnfsjI/2yrobBgFyzo7YpVQ==", + "requires": { + "@isaacs/string-locale-compare": "*", + "@npmcli/arborist": "*", + "@npmcli/ci-detect": "*", + "@npmcli/config": "*", + "@npmcli/map-workspaces": "*", + "@npmcli/package-json": "*", + "@npmcli/run-script": "*", + "abbrev": "*", + "ansicolors": "*", + "ansistyles": "*", + "archy": "*", + "cacache": "*", + "chalk": "*", + "chownr": "*", + "cli-columns": "*", + "cli-table3": "*", + "columnify": "*", + "fastest-levenshtein": "*", + "glob": "*", + "graceful-fs": "*", + "hosted-git-info": "*", + "ini": "*", + "init-package-json": "*", + "is-cidr": "*", + "json-parse-even-better-errors": "*", + "libnpmaccess": "*", + "libnpmdiff": "*", + "libnpmexec": "*", + "libnpmfund": "*", + "libnpmhook": "*", + "libnpmorg": "*", + "libnpmpack": "*", + "libnpmpublish": "*", + "libnpmsearch": "*", + "libnpmteam": "*", + "libnpmversion": "*", + "make-fetch-happen": "*", + "minipass": "*", + "minipass-pipeline": "*", + "mkdirp": "*", + "mkdirp-infer-owner": "*", + "ms": "*", + "node-gyp": "*", + "nopt": "*", + "npm-audit-report": "*", + "npm-install-checks": "*", + "npm-package-arg": "*", + "npm-pick-manifest": "*", + "npm-profile": "*", + "npm-registry-fetch": "*", + "npm-user-validate": "*", + "npmlog": "*", + "opener": "*", + "pacote": "*", + "parse-conflict-json": "*", + "qrcode-terminal": "*", + "read": "*", + "read-package-json": "*", + "read-package-json-fast": "*", + "readdir-scoped-modules": "*", + "rimraf": "*", + "semver": "*", + "ssri": "*", + "tar": "*", + "text-table": "*", + "tiny-relative-date": "*", + "treeverse": "*", + "validate-npm-package-name": "*", + "which": "*", + "write-file-atomic": "*" + }, + "dependencies": { + "@gar/promisify": { + "version": "1.1.2", + "bundled": true + }, + "@isaacs/string-locale-compare": { + "version": "1.1.0", + "bundled": true + }, + "@npmcli/arborist": { + "version": "2.9.0", + "bundled": true, + "requires": { + "@isaacs/string-locale-compare": "^1.0.1", + "@npmcli/installed-package-contents": "^1.0.7", + "@npmcli/map-workspaces": "^1.0.2", + "@npmcli/metavuln-calculator": "^1.1.0", + "@npmcli/move-file": "^1.1.0", + "@npmcli/name-from-folder": "^1.0.1", + "@npmcli/node-gyp": "^1.0.1", + "@npmcli/package-json": "^1.0.1", + "@npmcli/run-script": "^1.8.2", + "bin-links": "^2.2.1", + "cacache": "^15.0.3", + "common-ancestor-path": "^1.0.1", + "json-parse-even-better-errors": "^2.3.1", + "json-stringify-nice": "^1.1.4", + "mkdirp": "^1.0.4", + "mkdirp-infer-owner": "^2.0.0", + "npm-install-checks": "^4.0.0", + "npm-package-arg": "^8.1.5", + "npm-pick-manifest": "^6.1.0", + "npm-registry-fetch": "^11.0.0", + "pacote": "^11.3.5", + "parse-conflict-json": "^1.1.1", + "proc-log": "^1.0.0", + "promise-all-reject-late": "^1.0.0", + "promise-call-limit": "^1.0.1", + "read-package-json-fast": "^2.0.2", + "readdir-scoped-modules": "^1.1.0", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "ssri": "^8.0.1", + "treeverse": "^1.0.4", + "walk-up-path": "^1.0.0" + } + }, + "@npmcli/ci-detect": { + "version": "1.3.0", + "bundled": true + }, + "@npmcli/config": { + "version": "2.3.0", + "bundled": true, + "requires": { + "ini": "^2.0.0", + "mkdirp-infer-owner": "^2.0.0", + "nopt": "^5.0.0", + "semver": "^7.3.4", + "walk-up-path": "^1.0.0" + } + }, + "@npmcli/disparity-colors": { + "version": "1.0.1", + "bundled": true, + "requires": { + "ansi-styles": "^4.3.0" + } + }, + "@npmcli/fs": { + "version": "1.0.0", + "bundled": true, + "requires": { + "@gar/promisify": "^1.0.1", + "semver": "^7.3.5" + } + }, + "@npmcli/git": { + "version": "2.1.0", + "bundled": true, + "requires": { + "@npmcli/promise-spawn": "^1.3.2", + "lru-cache": "^6.0.0", + "mkdirp": "^1.0.4", + "npm-pick-manifest": "^6.1.1", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^2.0.2" + } + }, + "@npmcli/installed-package-contents": { + "version": "1.0.7", + "bundled": true, + "requires": { + "npm-bundled": "^1.1.1", + "npm-normalize-package-bin": "^1.0.1" + } + }, + "@npmcli/map-workspaces": { + "version": "1.0.4", + "bundled": true, + "requires": { + "@npmcli/name-from-folder": "^1.0.1", + "glob": "^7.1.6", + "minimatch": "^3.0.4", + "read-package-json-fast": "^2.0.1" + } + }, + "@npmcli/metavuln-calculator": { + "version": "1.1.1", + "bundled": true, + "requires": { + "cacache": "^15.0.5", + "pacote": "^11.1.11", + "semver": "^7.3.2" + } + }, + "@npmcli/move-file": { + "version": "1.1.2", + "bundled": true, + "requires": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + } + }, + "@npmcli/name-from-folder": { + "version": "1.0.1", + "bundled": true + }, + "@npmcli/node-gyp": { + "version": "1.0.2", + "bundled": true + }, + "@npmcli/package-json": { + "version": "1.0.1", + "bundled": true, + "requires": { + "json-parse-even-better-errors": "^2.3.1" + } + }, + "@npmcli/promise-spawn": { + "version": "1.3.2", + "bundled": true, + "requires": { + "infer-owner": "^1.0.4" + } + }, + "@npmcli/run-script": { + "version": "1.8.6", + "bundled": true, + "requires": { + "@npmcli/node-gyp": "^1.0.2", + "@npmcli/promise-spawn": "^1.3.2", + "node-gyp": "^7.1.0", + "read-package-json-fast": "^2.0.1" + } + }, + "@tootallnate/once": { + "version": "1.1.2", + "bundled": true + }, + "abbrev": { + "version": "1.1.1", + "bundled": true + }, + "agent-base": { + "version": "6.0.2", + "bundled": true, + "requires": { + "debug": "4" + } + }, + "agentkeepalive": { + "version": "4.1.4", + "bundled": true, + "requires": { + "debug": "^4.1.0", + "depd": "^1.1.2", + "humanize-ms": "^1.2.1" + } + }, + "aggregate-error": { + "version": "3.1.0", + "bundled": true, + "requires": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + } + }, + "ajv": { + "version": "6.12.6", + "bundled": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true + }, + "ansi-styles": { + "version": "4.3.0", + "bundled": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "ansicolors": { + "version": "0.3.2", + "bundled": true + }, + "ansistyles": { + "version": "0.1.3", + "bundled": true + }, + "aproba": { + "version": "2.0.0", + "bundled": true + }, + "archy": { + "version": "1.0.0", + "bundled": true + }, + "are-we-there-yet": { + "version": "1.1.6", + "bundled": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + } + }, + "asap": { + "version": "2.0.6", + "bundled": true + }, + "asn1": { + "version": "0.2.4", + "bundled": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "bundled": true + }, + "asynckit": { + "version": "0.4.0", + "bundled": true + }, + "aws-sign2": { + "version": "0.7.0", + "bundled": true + }, + "aws4": { + "version": "1.11.0", + "bundled": true + }, + "balanced-match": { + "version": "1.0.2", + "bundled": true + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "bundled": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "bin-links": { + "version": "2.2.1", + "bundled": true, + "requires": { + "cmd-shim": "^4.0.1", + "mkdirp": "^1.0.3", + "npm-normalize-package-bin": "^1.0.0", + "read-cmd-shim": "^2.0.0", + "rimraf": "^3.0.0", + "write-file-atomic": "^3.0.3" + } + }, + "binary-extensions": { + "version": "2.2.0", + "bundled": true + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "builtins": { + "version": "1.0.3", + "bundled": true + }, + "cacache": { + "version": "15.3.0", + "bundled": true, + "requires": { + "@npmcli/fs": "^1.0.0", + "@npmcli/move-file": "^1.0.1", + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "glob": "^7.1.4", + "infer-owner": "^1.0.4", + "lru-cache": "^6.0.0", + "minipass": "^3.1.1", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.2", + "mkdirp": "^1.0.3", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^8.0.1", + "tar": "^6.0.2", + "unique-filename": "^1.1.1" + } + }, + "caseless": { + "version": "0.12.0", + "bundled": true + }, + "chalk": { + "version": "4.1.2", + "bundled": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "chownr": { + "version": "2.0.0", + "bundled": true + }, + "cidr-regex": { + "version": "3.1.1", + "bundled": true, + "requires": { + "ip-regex": "^4.1.0" + } + }, + "clean-stack": { + "version": "2.2.0", + "bundled": true + }, + "cli-columns": { + "version": "3.1.2", + "bundled": true, + "requires": { + "string-width": "^2.0.0", + "strip-ansi": "^3.0.1" + } + }, + "cli-table3": { + "version": "0.6.0", + "bundled": true, + "requires": { + "colors": "^1.1.2", + "object-assign": "^4.1.0", + "string-width": "^4.2.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "bundled": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "bundled": true + }, + "string-width": { + "version": "4.2.2", + "bundled": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "strip-ansi": { + "version": "6.0.0", + "bundled": true, + "requires": { + "ansi-regex": "^5.0.0" + } + } + } + }, + "clone": { + "version": "1.0.4", + "bundled": true + }, + "cmd-shim": { + "version": "4.1.0", + "bundled": true, + "requires": { + "mkdirp-infer-owner": "^2.0.0" + } + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true + }, + "color-convert": { + "version": "2.0.1", + "bundled": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "bundled": true + }, + "color-support": { + "version": "1.1.3", + "bundled": true + }, + "colors": { + "version": "1.4.0", + "bundled": true, + "optional": true + }, + "columnify": { + "version": "1.5.4", + "bundled": true, + "requires": { + "strip-ansi": "^3.0.0", + "wcwidth": "^1.0.0" + } + }, + "combined-stream": { + "version": "1.0.8", + "bundled": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "common-ancestor-path": { + "version": "1.0.1", + "bundled": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true + }, + "dashdash": { + "version": "1.14.1", + "bundled": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "debug": { + "version": "4.3.2", + "bundled": true, + "requires": { + "ms": "2.1.2" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "bundled": true + } + } + }, + "debuglog": { + "version": "1.0.1", + "bundled": true + }, + "defaults": { + "version": "1.0.3", + "bundled": true, + "requires": { + "clone": "^1.0.2" + } + }, + "delayed-stream": { + "version": "1.0.0", + "bundled": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true + }, + "depd": { + "version": "1.1.2", + "bundled": true + }, + "dezalgo": { + "version": "1.0.3", + "bundled": true, + "requires": { + "asap": "^2.0.0", + "wrappy": "1" + } + }, + "diff": { + "version": "5.0.0", + "bundled": true + }, + "ecc-jsbn": { + "version": "0.1.2", + "bundled": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "emoji-regex": { + "version": "8.0.0", + "bundled": true + }, + "encoding": { + "version": "0.1.13", + "bundled": true, + "optional": true, + "requires": { + "iconv-lite": "^0.6.2" + } + }, + "env-paths": { + "version": "2.2.1", + "bundled": true + }, + "err-code": { + "version": "2.0.3", + "bundled": true + }, + "extend": { + "version": "3.0.2", + "bundled": true + }, + "extsprintf": { + "version": "1.3.0", + "bundled": true + }, + "fast-deep-equal": { + "version": "3.1.3", + "bundled": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "bundled": true + }, + "fastest-levenshtein": { + "version": "1.0.12", + "bundled": true + }, + "forever-agent": { + "version": "0.6.1", + "bundled": true + }, + "fs-minipass": { + "version": "2.1.0", + "bundled": true, + "requires": { + "minipass": "^3.0.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true + }, + "function-bind": { + "version": "1.1.1", + "bundled": true + }, + "gauge": { + "version": "3.0.1", + "bundled": true, + "requires": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.2", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.1", + "object-assign": "^4.1.1", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1 || ^2.0.0", + "strip-ansi": "^3.0.1 || ^4.0.0", + "wide-align": "^1.1.2" + } + }, + "getpass": { + "version": "0.1.7", + "bundled": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "glob": { + "version": "7.2.0", + "bundled": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "graceful-fs": { + "version": "4.2.8", + "bundled": true + }, + "har-schema": { + "version": "2.0.0", + "bundled": true + }, + "har-validator": { + "version": "5.1.5", + "bundled": true, + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "has": { + "version": "1.0.3", + "bundled": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-flag": { + "version": "4.0.0", + "bundled": true + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true + }, + "hosted-git-info": { + "version": "4.0.2", + "bundled": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "http-cache-semantics": { + "version": "4.1.0", + "bundled": true + }, + "http-proxy-agent": { + "version": "4.0.1", + "bundled": true, + "requires": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + } + }, + "http-signature": { + "version": "1.2.0", + "bundled": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "https-proxy-agent": { + "version": "5.0.0", + "bundled": true, + "requires": { + "agent-base": "6", + "debug": "4" + } + }, + "humanize-ms": { + "version": "1.2.1", + "bundled": true, + "requires": { + "ms": "^2.0.0" + } + }, + "iconv-lite": { + "version": "0.6.3", + "bundled": true, + "optional": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "ignore-walk": { + "version": "3.0.4", + "bundled": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "imurmurhash": { + "version": "0.1.4", + "bundled": true + }, + "indent-string": { + "version": "4.0.0", + "bundled": true + }, + "infer-owner": { + "version": "1.0.4", + "bundled": true + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "bundled": true + }, + "ini": { + "version": "2.0.0", + "bundled": true + }, + "init-package-json": { + "version": "2.0.5", + "bundled": true, + "requires": { + "npm-package-arg": "^8.1.5", + "promzard": "^0.3.0", + "read": "~1.0.1", + "read-package-json": "^4.1.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4", + "validate-npm-package-name": "^3.0.0" + } + }, + "ip": { + "version": "1.1.5", + "bundled": true + }, + "ip-regex": { + "version": "4.3.0", + "bundled": true + }, + "is-cidr": { + "version": "4.0.2", + "bundled": true, + "requires": { + "cidr-regex": "^3.1.1" + } + }, + "is-core-module": { + "version": "2.7.0", + "bundled": true, + "requires": { + "has": "^1.0.3" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "bundled": true + }, + "is-lambda": { + "version": "1.0.1", + "bundled": true + }, + "is-typedarray": { + "version": "1.0.0", + "bundled": true + }, + "isexe": { + "version": "2.0.0", + "bundled": true + }, + "isstream": { + "version": "0.1.2", + "bundled": true + }, + "jsbn": { + "version": "0.1.1", + "bundled": true + }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "bundled": true + }, + "json-schema": { + "version": "0.2.3", + "bundled": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "bundled": true + }, + "json-stringify-nice": { + "version": "1.1.4", + "bundled": true + }, + "json-stringify-safe": { + "version": "5.0.1", + "bundled": true + }, + "jsonparse": { + "version": "1.3.1", + "bundled": true + }, + "jsprim": { + "version": "1.4.1", + "bundled": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "just-diff": { + "version": "3.1.1", + "bundled": true + }, + "just-diff-apply": { + "version": "3.0.0", + "bundled": true + }, + "libnpmaccess": { + "version": "4.0.3", + "bundled": true, + "requires": { + "aproba": "^2.0.0", + "minipass": "^3.1.1", + "npm-package-arg": "^8.1.2", + "npm-registry-fetch": "^11.0.0" + } + }, + "libnpmdiff": { + "version": "2.0.4", + "bundled": true, + "requires": { + "@npmcli/disparity-colors": "^1.0.1", + "@npmcli/installed-package-contents": "^1.0.7", + "binary-extensions": "^2.2.0", + "diff": "^5.0.0", + "minimatch": "^3.0.4", + "npm-package-arg": "^8.1.4", + "pacote": "^11.3.4", + "tar": "^6.1.0" + } + }, + "libnpmexec": { + "version": "2.0.1", + "bundled": true, + "requires": { + "@npmcli/arborist": "^2.3.0", + "@npmcli/ci-detect": "^1.3.0", + "@npmcli/run-script": "^1.8.4", + "chalk": "^4.1.0", + "mkdirp-infer-owner": "^2.0.0", + "npm-package-arg": "^8.1.2", + "pacote": "^11.3.1", + "proc-log": "^1.0.0", + "read": "^1.0.7", + "read-package-json-fast": "^2.0.2", + "walk-up-path": "^1.0.0" + } + }, + "libnpmfund": { + "version": "1.1.0", + "bundled": true, + "requires": { + "@npmcli/arborist": "^2.5.0" + } + }, + "libnpmhook": { + "version": "6.0.3", + "bundled": true, + "requires": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^11.0.0" + } + }, + "libnpmorg": { + "version": "2.0.3", + "bundled": true, + "requires": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^11.0.0" + } + }, + "libnpmpack": { + "version": "2.0.1", + "bundled": true, + "requires": { + "@npmcli/run-script": "^1.8.3", + "npm-package-arg": "^8.1.0", + "pacote": "^11.2.6" + } + }, + "libnpmpublish": { + "version": "4.0.2", + "bundled": true, + "requires": { + "normalize-package-data": "^3.0.2", + "npm-package-arg": "^8.1.2", + "npm-registry-fetch": "^11.0.0", + "semver": "^7.1.3", + "ssri": "^8.0.1" + } + }, + "libnpmsearch": { + "version": "3.1.2", + "bundled": true, + "requires": { + "npm-registry-fetch": "^11.0.0" + } + }, + "libnpmteam": { + "version": "2.0.4", + "bundled": true, + "requires": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^11.0.0" + } + }, + "libnpmversion": { + "version": "1.2.1", + "bundled": true, + "requires": { + "@npmcli/git": "^2.0.7", + "@npmcli/run-script": "^1.8.4", + "json-parse-even-better-errors": "^2.3.1", + "semver": "^7.3.5", + "stringify-package": "^1.0.1" + } + }, + "lru-cache": { + "version": "6.0.0", + "bundled": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "make-fetch-happen": { + "version": "9.1.0", + "bundled": true, + "requires": { + "agentkeepalive": "^4.1.3", + "cacache": "^15.2.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^6.0.0", + "minipass": "^3.1.3", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^1.3.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.2", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^6.0.0", + "ssri": "^8.0.0" + } + }, + "mime-db": { + "version": "1.49.0", + "bundled": true + }, + "mime-types": { + "version": "2.1.32", + "bundled": true, + "requires": { + "mime-db": "1.49.0" + } + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minipass": { + "version": "3.1.5", + "bundled": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "minipass-collect": { + "version": "1.0.2", + "bundled": true, + "requires": { + "minipass": "^3.0.0" + } + }, + "minipass-fetch": { + "version": "1.4.1", + "bundled": true, + "requires": { + "encoding": "^0.1.12", + "minipass": "^3.1.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.0.0" + } + }, + "minipass-flush": { + "version": "1.0.5", + "bundled": true, + "requires": { + "minipass": "^3.0.0" + } + }, + "minipass-json-stream": { + "version": "1.0.1", + "bundled": true, + "requires": { + "jsonparse": "^1.3.1", + "minipass": "^3.0.0" + } + }, + "minipass-pipeline": { + "version": "1.2.4", + "bundled": true, + "requires": { + "minipass": "^3.0.0" + } + }, + "minipass-sized": { + "version": "1.0.3", + "bundled": true, + "requires": { + "minipass": "^3.0.0" + } + }, + "minizlib": { + "version": "2.1.2", + "bundled": true, + "requires": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + } + }, + "mkdirp": { + "version": "1.0.4", + "bundled": true + }, + "mkdirp-infer-owner": { + "version": "2.0.0", + "bundled": true, + "requires": { + "chownr": "^2.0.0", + "infer-owner": "^1.0.4", + "mkdirp": "^1.0.3" + } + }, + "ms": { + "version": "2.1.3", + "bundled": true + }, + "mute-stream": { + "version": "0.0.8", + "bundled": true + }, + "negotiator": { + "version": "0.6.2", + "bundled": true + }, + "node-gyp": { + "version": "7.1.2", + "bundled": true, + "requires": { + "env-paths": "^2.2.0", + "glob": "^7.1.4", + "graceful-fs": "^4.2.3", + "nopt": "^5.0.0", + "npmlog": "^4.1.2", + "request": "^2.88.2", + "rimraf": "^3.0.2", + "semver": "^7.3.2", + "tar": "^6.0.2", + "which": "^2.0.2" + }, + "dependencies": { + "aproba": { + "version": "1.2.0", + "bundled": true + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "npmlog": { + "version": "4.1.2", + "bundled": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + } + } + }, + "nopt": { + "version": "5.0.0", + "bundled": true, + "requires": { + "abbrev": "1" + } + }, + "normalize-package-data": { + "version": "3.0.3", + "bundled": true, + "requires": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + } + }, + "npm-audit-report": { + "version": "2.1.5", + "bundled": true, + "requires": { + "chalk": "^4.0.0" + } + }, + "npm-bundled": { + "version": "1.1.2", + "bundled": true, + "requires": { + "npm-normalize-package-bin": "^1.0.1" + } + }, + "npm-install-checks": { + "version": "4.0.0", + "bundled": true, + "requires": { + "semver": "^7.1.1" + } + }, + "npm-normalize-package-bin": { + "version": "1.0.1", + "bundled": true + }, + "npm-package-arg": { + "version": "8.1.5", + "bundled": true, + "requires": { + "hosted-git-info": "^4.0.1", + "semver": "^7.3.4", + "validate-npm-package-name": "^3.0.0" + } + }, + "npm-packlist": { + "version": "2.2.2", + "bundled": true, + "requires": { + "glob": "^7.1.6", + "ignore-walk": "^3.0.3", + "npm-bundled": "^1.1.1", + "npm-normalize-package-bin": "^1.0.1" + } + }, + "npm-pick-manifest": { + "version": "6.1.1", + "bundled": true, + "requires": { + "npm-install-checks": "^4.0.0", + "npm-normalize-package-bin": "^1.0.1", + "npm-package-arg": "^8.1.2", + "semver": "^7.3.4" + } + }, + "npm-profile": { + "version": "5.0.4", + "bundled": true, + "requires": { + "npm-registry-fetch": "^11.0.0" + } + }, + "npm-registry-fetch": { + "version": "11.0.0", + "bundled": true, + "requires": { + "make-fetch-happen": "^9.0.1", + "minipass": "^3.1.3", + "minipass-fetch": "^1.3.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.0.0", + "npm-package-arg": "^8.0.0" + } + }, + "npm-user-validate": { + "version": "1.0.1", + "bundled": true + }, + "npmlog": { + "version": "5.0.1", + "bundled": true, + "requires": { + "are-we-there-yet": "^2.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^3.0.0", + "set-blocking": "^2.0.0" + }, + "dependencies": { + "are-we-there-yet": { + "version": "2.0.0", + "bundled": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + } + } + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true + }, + "oauth-sign": { + "version": "0.9.0", + "bundled": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "requires": { + "wrappy": "1" + } + }, + "opener": { + "version": "1.5.2", + "bundled": true + }, + "p-map": { + "version": "4.0.0", + "bundled": true, + "requires": { + "aggregate-error": "^3.0.0" + } + }, + "pacote": { + "version": "11.3.5", + "bundled": true, + "requires": { + "@npmcli/git": "^2.1.0", + "@npmcli/installed-package-contents": "^1.0.6", + "@npmcli/promise-spawn": "^1.2.0", + "@npmcli/run-script": "^1.8.2", + "cacache": "^15.0.5", + "chownr": "^2.0.0", + "fs-minipass": "^2.1.0", + "infer-owner": "^1.0.4", + "minipass": "^3.1.3", + "mkdirp": "^1.0.3", + "npm-package-arg": "^8.0.1", + "npm-packlist": "^2.1.4", + "npm-pick-manifest": "^6.0.0", + "npm-registry-fetch": "^11.0.0", + "promise-retry": "^2.0.1", + "read-package-json-fast": "^2.0.1", + "rimraf": "^3.0.2", + "ssri": "^8.0.1", + "tar": "^6.1.0" + } + }, + "parse-conflict-json": { + "version": "1.1.1", + "bundled": true, + "requires": { + "json-parse-even-better-errors": "^2.3.0", + "just-diff": "^3.0.1", + "just-diff-apply": "^3.0.0" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true + }, + "performance-now": { + "version": "2.1.0", + "bundled": true + }, + "proc-log": { + "version": "1.0.0", + "bundled": true + }, + "promise-all-reject-late": { + "version": "1.0.1", + "bundled": true + }, + "promise-call-limit": { + "version": "1.0.1", + "bundled": true + }, + "promise-inflight": { + "version": "1.0.1", + "bundled": true + }, + "promise-retry": { + "version": "2.0.1", + "bundled": true, + "requires": { + "err-code": "^2.0.2", + "retry": "^0.12.0" + } + }, + "promzard": { + "version": "0.3.0", + "bundled": true, + "requires": { + "read": "1" + } + }, + "psl": { + "version": "1.8.0", + "bundled": true + }, + "punycode": { + "version": "2.1.1", + "bundled": true + }, + "qrcode-terminal": { + "version": "0.12.0", + "bundled": true + }, + "qs": { + "version": "6.5.2", + "bundled": true + }, + "read": { + "version": "1.0.7", + "bundled": true, + "requires": { + "mute-stream": "~0.0.4" + } + }, + "read-cmd-shim": { + "version": "2.0.0", + "bundled": true + }, + "read-package-json": { + "version": "4.1.1", + "bundled": true, + "requires": { + "glob": "^7.1.1", + "json-parse-even-better-errors": "^2.3.0", + "normalize-package-data": "^3.0.0", + "npm-normalize-package-bin": "^1.0.0" + } + }, + "read-package-json-fast": { + "version": "2.0.3", + "bundled": true, + "requires": { + "json-parse-even-better-errors": "^2.3.0", + "npm-normalize-package-bin": "^1.0.1" + } + }, + "readable-stream": { + "version": "3.6.0", + "bundled": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "readdir-scoped-modules": { + "version": "1.1.0", + "bundled": true, + "requires": { + "debuglog": "^1.0.1", + "dezalgo": "^1.0.0", + "graceful-fs": "^4.1.2", + "once": "^1.3.0" + } + }, + "request": { + "version": "2.88.2", + "bundled": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "form-data": { + "version": "2.3.3", + "bundled": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "tough-cookie": { + "version": "2.5.0", + "bundled": true, + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + } + } + }, + "retry": { + "version": "0.12.0", + "bundled": true + }, + "rimraf": { + "version": "3.0.2", + "bundled": true, + "requires": { + "glob": "^7.1.3" + } + }, + "safe-buffer": { + "version": "5.2.1", + "bundled": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true + }, + "semver": { + "version": "7.3.5", + "bundled": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true + }, + "signal-exit": { + "version": "3.0.3", + "bundled": true + }, + "smart-buffer": { + "version": "4.2.0", + "bundled": true + }, + "socks": { + "version": "2.6.1", + "bundled": true, + "requires": { + "ip": "^1.1.5", + "smart-buffer": "^4.1.0" + } + }, + "socks-proxy-agent": { + "version": "6.1.0", + "bundled": true, + "requires": { + "agent-base": "^6.0.2", + "debug": "^4.3.1", + "socks": "^2.6.1" + } + }, + "spdx-correct": { + "version": "3.1.1", + "bundled": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.3.0", + "bundled": true + }, + "spdx-expression-parse": { + "version": "3.0.1", + "bundled": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.10", + "bundled": true + }, + "sshpk": { + "version": "1.16.1", + "bundled": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "ssri": { + "version": "8.0.1", + "bundled": true, + "requires": { + "minipass": "^3.1.1" + } + }, + "string_decoder": { + "version": "1.3.0", + "bundled": true, + "requires": { + "safe-buffer": "~5.2.0" + } + }, + "string-width": { + "version": "2.1.1", + "bundled": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "bundled": true + }, + "strip-ansi": { + "version": "4.0.0", + "bundled": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "stringify-package": { + "version": "1.0.1", + "bundled": true + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "supports-color": { + "version": "7.2.0", + "bundled": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "tar": { + "version": "6.1.11", + "bundled": true, + "requires": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + } + }, + "text-table": { + "version": "0.2.0", + "bundled": true + }, + "tiny-relative-date": { + "version": "1.3.0", + "bundled": true + }, + "treeverse": { + "version": "1.0.4", + "bundled": true + }, + "tunnel-agent": { + "version": "0.6.0", + "bundled": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "bundled": true + }, + "typedarray-to-buffer": { + "version": "3.1.5", + "bundled": true, + "requires": { + "is-typedarray": "^1.0.0" + } + }, + "unique-filename": { + "version": "1.1.1", + "bundled": true, + "requires": { + "unique-slug": "^2.0.0" + } + }, + "unique-slug": { + "version": "2.0.2", + "bundled": true, + "requires": { + "imurmurhash": "^0.1.4" + } + }, + "uri-js": { + "version": "4.4.1", + "bundled": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true + }, + "uuid": { + "version": "3.4.0", + "bundled": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "bundled": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "validate-npm-package-name": { + "version": "3.0.0", + "bundled": true, + "requires": { + "builtins": "^1.0.3" + } + }, + "verror": { + "version": "1.10.0", + "bundled": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "walk-up-path": { + "version": "1.0.0", + "bundled": true + }, + "wcwidth": { + "version": "1.0.1", + "bundled": true, + "requires": { + "defaults": "^1.0.3" + } + }, + "which": { + "version": "2.0.2", + "bundled": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "wide-align": { + "version": "1.1.3", + "bundled": true, + "requires": { + "string-width": "^1.0.2 || 2" + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true + }, + "write-file-atomic": { + "version": "3.0.3", + "bundled": true, + "requires": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "yallist": { + "version": "4.0.0", + "bundled": true + } + } + }, + "npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "npm-watch": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/npm-watch/-/npm-watch-0.7.0.tgz", + "integrity": "sha512-AN2scNyMljMGkn0mIkaRRk19I7Vx0qTK6GmsIcDblX5YRbSsoJORTAtrceICSx7Om9q48NWcwm/R0t6E7F4Ocg==", + "requires": { + "nodemon": "^2.0.3", + "through2": "^2.0.0" + } + }, + "nth-check": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.1.tgz", + "integrity": "sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w==", + "dev": true, + "requires": { + "boolbase": "^1.0.0" + } + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==" + }, + "object-is": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", + "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "object.getownpropertydescriptors": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz", + "integrity": "sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + } + }, + "object.values": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz", + "integrity": "sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + } + }, + "obuf": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", + "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", + "dev": true + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "on-headers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", + "dev": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "open": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", + "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "dev": true, + "requires": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + } + }, + "optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + } + }, + "os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", + "dev": true + }, + "p-cancelable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", + "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==" + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "requires": { + "aggregate-error": "^3.0.0" + } + }, + "p-pipe": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz", + "integrity": "sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==", + "dev": true + }, + "p-retry": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.1.tgz", + "integrity": "sha512-e2xXGNhZOZ0lfgR9kL34iGlU8N/KO0xZnQxVEwdeOvpqNDQfdnxIYizvWtK8RglUa3bGqI8g0R/BdfzLMxRkiA==", + "dev": true, + "requires": { + "@types/retry": "^0.12.0", + "retry": "^0.13.1" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "package-json": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", + "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", + "requires": { + "got": "^9.6.0", + "registry-auth-token": "^4.0.0", + "registry-url": "^5.0.0", + "semver": "^6.2.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + } + } + }, + "pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "param-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz", + "integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==", + "dev": true, + "requires": { + "dot-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "parchment": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/parchment/-/parchment-1.1.4.tgz", + "integrity": "sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg==" + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "dev": true, + "requires": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + } + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true + }, + "pascal-case": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", + "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==", + "dev": true, + "requires": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "path-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", + "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", + "dev": true + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" + }, + "pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "dev": true, + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "pdfmake": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/pdfmake/-/pdfmake-0.2.5.tgz", + "integrity": "sha512-NlayjehMtuZEdw2Lyipf/MxOCR2vATZQ7jn8cH0/dHwsNb+mqof9/6SW4jZT5p+So4qz+0mD21KG81+dDQSEhA==", + "requires": { + "@foliojs-fork/linebreak": "^1.1.1", + "@foliojs-fork/pdfkit": "^0.13.0", + "iconv-lite": "^0.6.3", + "xmldoc": "^1.1.2" + } + }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "requires": { + "find-up": "^4.0.0" + } + }, + "png-js": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/png-js/-/png-js-1.0.0.tgz", + "integrity": "sha512-k+YsbhpA9e+EFfKjTCH3VW6aoKlyNYI6NYdTfDL4CIvFnvsuO84ttonmZE7rc+v23SLTH8XX+5w/Ak9v0xGY4g==" + }, + "popper.js": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", + "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", + "peer": true + }, + "portfinder": { + "version": "1.0.28", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", + "integrity": "sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==", + "dev": true, + "requires": { + "async": "^2.6.2", + "debug": "^3.1.1", + "mkdirp": "^0.5.5" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "postcss": { + "version": "8.4.12", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz", + "integrity": "sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==", + "dev": true, + "requires": { + "nanoid": "^3.3.1", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, + "postcss-calc": { + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-8.2.4.tgz", + "integrity": "sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q==", + "dev": true, + "requires": { + "postcss-selector-parser": "^6.0.9", + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-colormin": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-5.3.0.tgz", + "integrity": "sha512-WdDO4gOFG2Z8n4P8TWBpshnL3JpmNmJwdnfP2gbk2qBA8PWwOYcmjmI/t3CmMeL72a7Hkd+x/Mg9O2/0rD54Pg==", + "dev": true, + "requires": { + "browserslist": "^4.16.6", + "caniuse-api": "^3.0.0", + "colord": "^2.9.1", + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-convert-values": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.1.0.tgz", + "integrity": "sha512-GkyPbZEYJiWtQB0KZ0X6qusqFHUepguBCNFi9t5JJc7I2OTXG7C0twbTLvCfaKOLl3rSXmpAwV7W5txd91V84g==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-discard-comments": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-5.1.1.tgz", + "integrity": "sha512-5JscyFmvkUxz/5/+TB3QTTT9Gi9jHkcn8dcmmuN68JQcv3aQg4y88yEHHhwFB52l/NkaJ43O0dbksGMAo49nfQ==", + "dev": true, + "requires": {} + }, + "postcss-discard-duplicates": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz", + "integrity": "sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw==", + "dev": true, + "requires": {} + }, + "postcss-discard-empty": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-5.1.1.tgz", + "integrity": "sha512-zPz4WljiSuLWsI0ir4Mcnr4qQQ5e1Ukc3i7UfE2XcrwKK2LIPIqE5jxMRxO6GbI3cv//ztXDsXwEWT3BHOGh3A==", + "dev": true, + "requires": {} + }, + "postcss-discard-overridden": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz", + "integrity": "sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw==", + "dev": true, + "requires": {} + }, + "postcss-import": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz", + "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + } + }, + "postcss-load-config": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz", + "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==", + "dev": true, + "requires": { + "lilconfig": "^2.0.5", + "yaml": "^1.10.2" + } + }, + "postcss-loader": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-6.2.1.tgz", + "integrity": "sha512-WbbYpmAaKcux/P66bZ40bpWsBucjx/TTgVVzRZ9yUO8yQfVBlameJ0ZGVaPfH64hNSBh63a+ICP5nqOpBA0w+Q==", + "dev": true, + "requires": { + "cosmiconfig": "^7.0.0", + "klona": "^2.0.5", + "semver": "^7.3.5" + } + }, + "postcss-merge-longhand": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.1.4.tgz", + "integrity": "sha512-hbqRRqYfmXoGpzYKeW0/NCZhvNyQIlQeWVSao5iKWdyx7skLvCfQFGIUsP9NUs3dSbPac2IC4Go85/zG+7MlmA==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.2.0", + "stylehacks": "^5.1.0" + } + }, + "postcss-merge-rules": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.1.1.tgz", + "integrity": "sha512-8wv8q2cXjEuCcgpIB1Xx1pIy8/rhMPIQqYKNzEdyx37m6gpq83mQQdCxgIkFgliyEnKvdwJf/C61vN4tQDq4Ww==", + "dev": true, + "requires": { + "browserslist": "^4.16.6", + "caniuse-api": "^3.0.0", + "cssnano-utils": "^3.1.0", + "postcss-selector-parser": "^6.0.5" + } + }, + "postcss-minify-font-values": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-5.1.0.tgz", + "integrity": "sha512-el3mYTgx13ZAPPirSVsHqFzl+BBBDrXvbySvPGFnQcTI4iNslrPaFq4muTkLZmKlGk4gyFAYUBMH30+HurREyA==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-minify-gradients": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-5.1.1.tgz", + "integrity": "sha512-VGvXMTpCEo4qHTNSa9A0a3D+dxGFZCYwR6Jokk+/3oB6flu2/PnPXAh2x7x52EkY5xlIHLm+Le8tJxe/7TNhzw==", + "dev": true, + "requires": { + "colord": "^2.9.1", + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-minify-params": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-5.1.2.tgz", + "integrity": "sha512-aEP+p71S/urY48HWaRHasyx4WHQJyOYaKpQ6eXl8k0kxg66Wt/30VR6/woh8THgcpRbonJD5IeD+CzNhPi1L8g==", + "dev": true, + "requires": { + "browserslist": "^4.16.6", + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-minify-selectors": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-5.2.0.tgz", + "integrity": "sha512-vYxvHkW+iULstA+ctVNx0VoRAR4THQQRkG77o0oa4/mBS0OzGvvzLIvHDv/nNEM0crzN2WIyFU5X7wZhaUK3RA==", + "dev": true, + "requires": { + "postcss-selector-parser": "^6.0.5" + } + }, + "postcss-modules-extract-imports": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", + "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", + "dev": true, + "requires": {} + }, + "postcss-modules-local-by-default": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz", + "integrity": "sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==", + "dev": true, + "requires": { + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-modules-scope": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz", + "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==", + "dev": true, + "requires": { + "postcss-selector-parser": "^6.0.4" + } + }, + "postcss-modules-values": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", + "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", + "dev": true, + "requires": { + "icss-utils": "^5.0.0" + } + }, + "postcss-normalize-charset": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz", + "integrity": "sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg==", + "dev": true, + "requires": {} + }, + "postcss-normalize-display-values": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-5.1.0.tgz", + "integrity": "sha512-WP4KIM4o2dazQXWmFaqMmcvsKmhdINFblgSeRgn8BJ6vxaMyaJkwAzpPpuvSIoG/rmX3M+IrRZEz2H0glrQNEA==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-normalize-positions": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-5.1.0.tgz", + "integrity": "sha512-8gmItgA4H5xiUxgN/3TVvXRoJxkAWLW6f/KKhdsH03atg0cB8ilXnrB5PpSshwVu/dD2ZsRFQcR1OEmSBDAgcQ==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-normalize-repeat-style": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.1.0.tgz", + "integrity": "sha512-IR3uBjc+7mcWGL6CtniKNQ4Rr5fTxwkaDHwMBDGGs1x9IVRkYIT/M4NelZWkAOBdV6v3Z9S46zqaKGlyzHSchw==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-normalize-string": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-5.1.0.tgz", + "integrity": "sha512-oYiIJOf4T9T1N4i+abeIc7Vgm/xPCGih4bZz5Nm0/ARVJ7K6xrDlLwvwqOydvyL3RHNf8qZk6vo3aatiw/go3w==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-normalize-timing-functions": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.1.0.tgz", + "integrity": "sha512-DOEkzJ4SAXv5xkHl0Wa9cZLF3WCBhF3o1SKVxKQAa+0pYKlueTpCgvkFAHfk+Y64ezX9+nITGrDZeVGgITJXjg==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-normalize-unicode": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-5.1.0.tgz", + "integrity": "sha512-J6M3MizAAZ2dOdSjy2caayJLQT8E8K9XjLce8AUQMwOrCvjCHv24aLC/Lps1R1ylOfol5VIDMaM/Lo9NGlk1SQ==", + "dev": true, + "requires": { + "browserslist": "^4.16.6", + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-normalize-url": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-5.1.0.tgz", + "integrity": "sha512-5upGeDO+PVthOxSmds43ZeMeZfKH+/DKgGRD7TElkkyS46JXAUhMzIKiCa7BabPeIy3AQcTkXwVVN7DbqsiCew==", + "dev": true, + "requires": { + "normalize-url": "^6.0.1", + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-normalize-whitespace": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.1.1.tgz", + "integrity": "sha512-83ZJ4t3NUDETIHTa3uEg6asWjSBYL5EdkVB0sDncx9ERzOKBVJIUeDO9RyA9Zwtig8El1d79HBp0JEi8wvGQnA==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-ordered-values": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-5.1.1.tgz", + "integrity": "sha512-7lxgXF0NaoMIgyihL/2boNAEZKiW0+HkMhdKMTD93CjW8TdCy2hSdj8lsAo+uwm7EDG16Da2Jdmtqpedl0cMfw==", + "dev": true, + "requires": { + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-reduce-initial": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-5.1.0.tgz", + "integrity": "sha512-5OgTUviz0aeH6MtBjHfbr57tml13PuedK/Ecg8szzd4XRMbYxH4572JFG067z+FqBIf6Zp/d+0581glkvvWMFw==", + "dev": true, + "requires": { + "browserslist": "^4.16.6", + "caniuse-api": "^3.0.0" + } + }, + "postcss-reduce-transforms": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-5.1.0.tgz", + "integrity": "sha512-2fbdbmgir5AvpW9RLtdONx1QoYG2/EtqpNQbFASDlixBbAYuTcJ0dECwlqNqH7VbaUnEnh8SrxOe2sRIn24XyQ==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-selector-parser": { + "version": "6.0.10", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", + "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", + "dev": true, + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + }, + "postcss-svgo": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-5.1.0.tgz", + "integrity": "sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.2.0", + "svgo": "^2.7.0" + } + }, + "postcss-unique-selectors": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-5.1.1.tgz", + "integrity": "sha512-5JiODlELrz8L2HwxfPnhOWZYWDxVHWL83ufOv84NrcgipI7TaeRsatAhK4Tr2/ZiYldpK/wBvw5BD3qfaK96GA==", + "dev": true, + "requires": { + "postcss-selector-parser": "^6.0.5" + } + }, + "postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" + }, + "prepend-http": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", + "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=" + }, + "pretty-time": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/pretty-time/-/pretty-time-1.1.0.tgz", + "integrity": "sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA==", + "dev": true + }, + "prism-themes": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/prism-themes/-/prism-themes-1.9.0.tgz", + "integrity": "sha512-tX2AYsehKDw1EORwBps+WhBFKc2kxfoFpQAjxBndbZKr4fRmMkv47XN0BghC/K1qwodB1otbe4oF23vUTFDokw==" + }, + "prismjs": { + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.28.0.tgz", + "integrity": "sha512-8aaXdYvl1F7iC7Xm1spqSaY/OJBpYW3v+KJ+F17iYxvdc8sfjW194COK5wVhMZX45tGteiBQgdvD/nhxcRwylw==" + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "peer": true, + "requires": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "propagating-hammerjs": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/propagating-hammerjs/-/propagating-hammerjs-2.0.1.tgz", + "integrity": "sha512-PH3zG5whbSxMocphXJzVtvKr+vWAgfkqVvtuwjSJ/apmEACUoiw6auBAT5HYXpZOR0eGcTAfYG5Yl8h91O5Elg==", + "peer": true, + "requires": {} + }, + "proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dev": true, + "requires": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "dependencies": { + "ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "dev": true + } + } + }, + "pstree.remy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", + "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==" + }, + "public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + }, + "pupa": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", + "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", + "requires": { + "escape-goat": "^2.0.0" + } + }, + "q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", + "dev": true + }, + "qs": { + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw==", + "dev": true + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true + }, + "querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", + "dev": true + }, + "queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" + }, + "quill": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz", + "integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==", + "requires": { + "clone": "^2.1.1", + "deep-equal": "^1.0.1", + "eventemitter3": "^2.0.3", + "extend": "^3.0.2", + "parchment": "^1.1.4", + "quill-delta": "^3.6.2" + }, + "dependencies": { + "clone": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" + } + } + }, + "quill-delta": { + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/quill-delta/-/quill-delta-3.6.3.tgz", + "integrity": "sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==", + "requires": { + "deep-equal": "^1.0.1", + "extend": "^3.0.2", + "fast-diff": "1.1.2" + } + }, + "qunit": { + "version": "2.18.2", + "resolved": "https://registry.npmjs.org/qunit/-/qunit-2.18.2.tgz", + "integrity": "sha512-Ux+x9pIU38/F+r3jOl35QzGHPPupMifUvhczCqHgzYWX76fCjPg6VqM84ox1D57fhAXHtpS4Jl91EV8gDoCHPg==", + "requires": { + "commander": "7.2.0", + "node-watch": "0.7.3", + "tiny-glob": "0.2.9" + } + }, + "quote-stream": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/quote-stream/-/quote-stream-1.0.2.tgz", + "integrity": "sha1-hJY/jJwmuULhU/7rU6rnRlK34LI=", + "requires": { + "buffer-equal": "0.0.1", + "minimist": "^1.1.3", + "through2": "^2.0.0" + } + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dev": true, + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true + }, + "raw-body": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.3.tgz", + "integrity": "sha512-UlTNLIcu0uzb4D2f4WltY6cVjLi+/jEN4lgEUj3E04tpMDpUlkBo/eSn6zou9hum2VMNpCCUone0O0WeJim07g==", + "dev": true, + "requires": { + "bytes": "3.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "dependencies": { + "bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + } + } + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" + } + } + }, + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "peer": true + }, + "read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=", + "dev": true, + "requires": { + "pify": "^2.3.0" + } + }, + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + }, + "dependencies": { + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "requires": { + "picomatch": "^2.2.1" + } + }, + "rechoir": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.1.tgz", + "integrity": "sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg==", + "dev": true, + "requires": { + "resolve": "^1.9.0" + } + }, + "regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "dev": true + }, + "regenerate-unicode-properties": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", + "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", + "dev": true, + "requires": { + "regenerate": "^1.4.2" + } + }, + "regenerator-runtime": { + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "dev": true + }, + "regenerator-transform": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz", + "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==", + "dev": true, + "requires": { + "@babel/runtime": "^7.8.4" + } + }, + "regex-parser": { + "version": "2.2.11", + "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.2.11.tgz", + "integrity": "sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==", + "dev": true + }, + "regexp.prototype.flags": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", + "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "functions-have-names": "^1.2.2" + } + }, + "regexpu-core": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", + "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", + "dev": true, + "requires": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.0.1", + "regjsgen": "^0.6.0", + "regjsparser": "^0.8.2", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.0.0" + } + }, + "registry-auth-token": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", + "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==", + "requires": { + "rc": "^1.2.8" + } + }, + "registry-url": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", + "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", + "requires": { + "rc": "^1.2.8" + } + }, + "regjsgen": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", + "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==", + "dev": true + }, + "regjsparser": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", + "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", + "dev": true, + "requires": { + "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + } + } + }, + "relateurl": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", + "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=", + "dev": true + }, + "replace-ext": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.1.tgz", + "integrity": "sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw==", + "dev": true + }, + "replace-in-file-webpack-plugin": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/replace-in-file-webpack-plugin/-/replace-in-file-webpack-plugin-1.0.6.tgz", + "integrity": "sha512-+KRgNYL2nbc6nza6SeF+wTBNkovuHFTfJF8QIEqZg5MbwkYpU9no0kH2YU354wvY/BK8mAC2UKoJ7q+sJTvciw==", + "dev": true + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "resolve": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "requires": { + "is-core-module": "^2.8.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "requires": { + "resolve-from": "^5.0.0" + }, + "dependencies": { + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + } + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "resolve-url-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-4.0.0.tgz", + "integrity": "sha512-05VEMczVREcbtT7Bz+C+96eUO5HDNvdthIiMB34t7FcF8ehcu4wC0sSgPUubs3XW2Q3CNLJk/BJrCU9wVRymiA==", + "dev": true, + "requires": { + "adjust-sourcemap-loader": "^4.0.0", + "convert-source-map": "^1.7.0", + "loader-utils": "^2.0.0", + "postcss": "^7.0.35", + "source-map": "0.6.1" + }, + "dependencies": { + "picocolors": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", + "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", + "dev": true + }, + "postcss": { + "version": "7.0.39", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", + "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "dev": true, + "requires": { + "picocolors": "^0.2.1", + "source-map": "^0.6.1" + } + } + } + }, + "responselike": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", + "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", + "requires": { + "lowercase-keys": "^1.0.0" + } + }, + "retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "dev": true + }, + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" + }, + "rgb-regex": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz", + "integrity": "sha1-wODWiC3w4jviVKR16O3UGRX+rrE=", + "dev": true + }, + "rgba-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz", + "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=", + "dev": true + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "requires": { + "glob": "^7.1.3" + } + }, + "ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "rtlcss": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/rtlcss/-/rtlcss-3.5.0.tgz", + "integrity": "sha512-wzgMaMFHQTnyi9YOwsx9LjOxYXJPzS8sYnFaKm6R5ysvTkwzHiB0vxnbHwchHQT65PTdBjDG21/kQBWI7q9O7A==", + "dev": true, + "requires": { + "find-up": "^5.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.3.11", + "strip-json-comments": "^3.1.1" + }, + "dependencies": { + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + } + } + }, + "run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "requires": { + "queue-microtask": "^1.2.2" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "sass": { + "version": "1.50.1", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.50.1.tgz", + "integrity": "sha512-noTnY41KnlW2A9P8sdwESpDmo+KBNkukI1i8+hOK3footBUcohNHtdOJbckp46XO95nuvcHDDZ+4tmOnpK3hjw==", + "dev": true, + "requires": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + } + }, + "sass-loader": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-12.6.0.tgz", + "integrity": "sha512-oLTaH0YCtX4cfnJZxKSLAyglED0naiYfNG1iXfU5w1LNZ+ukoA5DtyDIN5zmKVZwYNJP4KRc5Y3hkWga+7tYfA==", + "dev": true, + "requires": { + "klona": "^2.0.4", + "neo-async": "^2.6.2" + } + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + }, + "schema-utils": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", + "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.5", + "ajv": "^6.12.4", + "ajv-keywords": "^3.5.2" + } + }, + "scope-analyzer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/scope-analyzer/-/scope-analyzer-2.1.2.tgz", + "integrity": "sha512-5cfCmsTYV/wPaRIItNxatw02ua/MThdIUNnUOCYp+3LSEJvnG804ANw2VLaavNILIfWXF1D1G2KNANkBBvInwQ==", + "requires": { + "array-from": "^2.1.1", + "dash-ast": "^2.0.1", + "es6-map": "^0.1.5", + "es6-set": "^0.1.5", + "es6-symbol": "^3.1.1", + "estree-is-function": "^1.0.0", + "get-assigned-identifiers": "^1.1.0" + } + }, + "select": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz", + "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=" + }, + "select-hose": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", + "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=", + "dev": true + }, + "select2": { + "version": "4.1.0-rc.0", + "resolved": "https://registry.npmjs.org/select2/-/select2-4.1.0-rc.0.tgz", + "integrity": "sha512-Hr9TdhyHCZUtwznEH2CBf7967mEM0idtJ5nMtjvk3Up5tPukOLXbHUNmh10oRfeNIhj+3GD3niu+g6sVK+gK0A==" + }, + "selfsigned": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.0.1.tgz", + "integrity": "sha512-LmME957M1zOsUhG+67rAjKfiWFox3SBxE/yymatMZsAx+oMrJ0YQ8AToOnyCm7xbeg2ep37IHLxdu0o2MavQOQ==", + "dev": true, + "requires": { + "node-forge": "^1" + } + }, + "semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "requires": { + "lru-cache": "^6.0.0" + } + }, + "semver-diff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", + "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", + "requires": { + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + } + } + }, + "send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "1.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + } + } + }, + "serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } + }, + "serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", + "dev": true, + "requires": { + "accepts": "~1.3.4", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.6.2", + "mime-types": "~2.1.17", + "parseurl": "~1.3.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + } + } + }, + "serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "dev": true, + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + } + }, + "set-immediate-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=" + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", + "dev": true + }, + "setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "dev": true + }, + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "requires": { + "kind-of": "^6.0.2" + } + }, + "shallow-copy": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.1.tgz", + "integrity": "sha1-QV9CcC1z2BAzApLMXuhurhoRoXA=" + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "shellwords": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", + "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", + "dev": true + }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + }, + "simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "dev": true, + "requires": { + "is-arrayish": "^0.3.1" + }, + "dependencies": { + "is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", + "dev": true + } + } + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" + }, + "smooth-scroll": { + "version": "16.1.3", + "resolved": "https://registry.npmjs.org/smooth-scroll/-/smooth-scroll-16.1.3.tgz", + "integrity": "sha512-ca9U+neJS/cbdScTBuUTCZvUWNF2EuMCk7oAx3ImdeRK5FPm+xRo9XsVHIkeEVkn7MBRx+ufVEhyveM4ZhaTGA==" + }, + "sockjs": { + "version": "0.3.24", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.24.tgz", + "integrity": "sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==", + "dev": true, + "requires": { + "faye-websocket": "^0.11.3", + "uuid": "^8.3.2", + "websocket-driver": "^0.7.4" + } + }, + "source-list-map": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", + "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true + }, + "source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==" + }, + "spdy": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.2.tgz", + "integrity": "sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==", + "dev": true, + "requires": { + "debug": "^4.1.0", + "handle-thing": "^2.0.0", + "http-deceiver": "^1.2.7", + "select-hose": "^2.0.0", + "spdy-transport": "^3.0.0" + } + }, + "spdy-transport": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz", + "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", + "dev": true, + "requires": { + "debug": "^4.1.0", + "detect-node": "^2.0.4", + "hpack.js": "^2.1.6", + "obuf": "^1.1.2", + "readable-stream": "^3.0.6", + "wbuf": "^1.7.3" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "stable": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz", + "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==", + "dev": true + }, + "static-eval": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.1.0.tgz", + "integrity": "sha512-agtxZ/kWSsCkI5E4QifRwsaPs0P0JmZV6dkLz6ILYfFYQGn+5plctanRN+IC8dJRiFkyXHrwEE3W9Wmx67uDbw==", + "requires": { + "escodegen": "^1.11.1" + }, + "dependencies": { + "escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "requires": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + }, + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" + } + } + }, + "static-module": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/static-module/-/static-module-3.0.4.tgz", + "integrity": "sha512-gb0v0rrgpBkifXCa3yZXxqVmXDVE+ETXj6YlC/jt5VzOnGXR2C15+++eXuMDUYsePnbhf+lwW0pE1UXyOLtGCw==", + "requires": { + "acorn-node": "^1.3.0", + "concat-stream": "~1.6.0", + "convert-source-map": "^1.5.1", + "duplexer2": "~0.1.4", + "escodegen": "^1.11.1", + "has": "^1.0.1", + "magic-string": "0.25.1", + "merge-source-map": "1.0.4", + "object-inspect": "^1.6.0", + "readable-stream": "~2.3.3", + "scope-analyzer": "^2.0.1", + "shallow-copy": "~0.0.1", + "static-eval": "^2.0.5", + "through2": "~2.0.3" + }, + "dependencies": { + "escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "requires": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + }, + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" + } + } + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", + "dev": true + }, + "std-env": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.1.1.tgz", + "integrity": "sha512-/c645XdExBypL01TpFKiG/3RAa/Qmu+zRi0MwAmrdEkwHNuN0ebo8ccAXBBDa5Z0QOJgBskUIbuCK91x0sCVEw==", + "dev": true + }, + "stream-browserify": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", + "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", + "dev": true, + "requires": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + } + }, + "stream-http": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "dev": true, + "requires": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "to-arraybuffer": "^1.0.0", + "xtend": "^4.0.0" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "requires": { + "safe-buffer": "~5.2.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, + "style-loader": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-2.0.0.tgz", + "integrity": "sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ==", + "dev": true, + "requires": { + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0" + }, + "dependencies": { + "schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + } + } + }, + "stylehacks": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-5.1.0.tgz", + "integrity": "sha512-SzLmvHQTrIWfSgljkQCw2++C9+Ne91d/6Sp92I8c5uHTcy/PgeHamwITIbBW9wnFTY/3ZfSXR9HIL6Ikqmcu6Q==", + "dev": true, + "requires": { + "browserslist": "^4.16.6", + "postcss-selector-parser": "^6.0.4" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + }, + "svg.draggable.js": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/svg.draggable.js/-/svg.draggable.js-2.2.2.tgz", + "integrity": "sha512-JzNHBc2fLQMzYCZ90KZHN2ohXL0BQJGQimK1kGk6AvSeibuKcIdDX9Kr0dT9+UJ5O8nYA0RB839Lhvk4CY4MZw==", + "requires": { + "svg.js": "^2.0.1" + } + }, + "svg.easing.js": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/svg.easing.js/-/svg.easing.js-2.0.0.tgz", + "integrity": "sha1-iqmUawqOJ4V6XEChDrpAkeVpHxI=", + "requires": { + "svg.js": ">=2.3.x" + } + }, + "svg.filter.js": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/svg.filter.js/-/svg.filter.js-2.0.2.tgz", + "integrity": "sha1-kQCOFROJ3ZIwd5/L5uLJo2LRwgM=", + "requires": { + "svg.js": "^2.2.5" + } + }, + "svg.js": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/svg.js/-/svg.js-2.7.1.tgz", + "integrity": "sha512-ycbxpizEQktk3FYvn/8BH+6/EuWXg7ZpQREJvgacqn46gIddG24tNNe4Son6omdXCnSOaApnpZw6MPCBA1dODA==" + }, + "svg.pathmorphing.js": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/svg.pathmorphing.js/-/svg.pathmorphing.js-0.1.3.tgz", + "integrity": "sha512-49HWI9X4XQR/JG1qXkSDV8xViuTLIWm/B/7YuQELV5KMOPtXjiwH4XPJvr/ghEDibmLQ9Oc22dpWpG0vUDDNww==", + "requires": { + "svg.js": "^2.4.0" + } + }, + "svg.resize.js": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/svg.resize.js/-/svg.resize.js-1.4.3.tgz", + "integrity": "sha512-9k5sXJuPKp+mVzXNvxz7U0uC9oVMQrrf7cFsETznzUDDm0x8+77dtZkWdMfRlmbkEEYvUn9btKuZ3n41oNA+uw==", + "requires": { + "svg.js": "^2.6.5", + "svg.select.js": "^2.1.2" + }, + "dependencies": { + "svg.select.js": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/svg.select.js/-/svg.select.js-2.1.2.tgz", + "integrity": "sha512-tH6ABEyJsAOVAhwcCjF8mw4crjXSI1aa7j2VQR8ZuJ37H2MBUbyeqYr5nEO7sSN3cy9AR9DUwNg0t/962HlDbQ==", + "requires": { + "svg.js": "^2.2.5" + } + } + } + }, + "svg.select.js": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/svg.select.js/-/svg.select.js-3.0.1.tgz", + "integrity": "sha512-h5IS/hKkuVCbKSieR9uQCj9w+zLHoPh+ce19bBYyqF53g6mnPB8sAtIbe1s9dh2S2fCmYX2xel1Ln3PJBbK4kw==", + "requires": { + "svg.js": "^2.6.5" + } + }, + "svgo": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz", + "integrity": "sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==", + "dev": true, + "requires": { + "@trysound/sax": "0.2.0", + "commander": "^7.2.0", + "css-select": "^4.1.3", + "css-tree": "^1.1.3", + "csso": "^4.2.0", + "picocolors": "^1.0.0", + "stable": "^0.1.8" + } + }, + "sweetalert2": { + "version": "11.4.8", + "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.4.8.tgz", + "integrity": "sha512-BDS/+E8RwaekGSxCPUbPnsRAyQ439gtXkTF/s98vY2l9DaVEOMjGj1FaQSorfGREKsbbxGSP7UXboibL5vgTMA==" + }, + "tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true + }, + "terser": { + "version": "5.12.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.12.1.tgz", + "integrity": "sha512-NXbs+7nisos5E+yXwAD+y7zrcTkMqb0dEJxIGtSKPdCBzopf7ni4odPul2aechpV7EXNvOudYOX2bb5tln1jbQ==", + "dev": true, + "requires": { + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map": "~0.7.2", + "source-map-support": "~0.5.20" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + } + } + }, + "terser-webpack-plugin": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz", + "integrity": "sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g==", + "dev": true, + "requires": { + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.0", + "source-map": "^0.6.1", + "terser": "^5.7.2" + }, + "dependencies": { + "schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + } + } + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + }, + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "thunky": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", + "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==", + "dev": true + }, + "ticky": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ticky/-/ticky-1.0.1.tgz", + "integrity": "sha1-t8+nHnaPHJAAxJe5FRswlHxQ5G0=" + }, + "timers-browserify": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz", + "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", + "dev": true, + "requires": { + "setimmediate": "^1.0.4" + } + }, + "timsort": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz", + "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=", + "dev": true + }, + "tiny-binary-search": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-binary-search/-/tiny-binary-search-1.0.3.tgz", + "integrity": "sha512-STSHX/L5nI9WTLv6wrzJbAPbO7OIISX83KFBh2GVbX1Uz/vgZOU/ANn/8iV6t35yMTpoPzzO+3OQid3mifE0CA==" + }, + "tiny-emitter": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz", + "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==" + }, + "tiny-glob": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz", + "integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==", + "requires": { + "globalyzer": "0.1.0", + "globrex": "^0.1.2" + } + }, + "tiny-inflate": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz", + "integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==" + }, + "tiny-slider": { + "version": "2.9.4", + "resolved": "https://registry.npmjs.org/tiny-slider/-/tiny-slider-2.9.4.tgz", + "integrity": "sha512-LAs2kldWcY+BqCKw4kxd4CMx2RhWrHyEePEsymlOIISTlOVkjfK40sSD7ay73eKXBLg/UkluAZpcfCstimHXew==" + }, + "tinymce": { + "version": "5.10.3", + "resolved": "https://registry.npmjs.org/tinymce/-/tinymce-5.10.3.tgz", + "integrity": "sha512-O59ssHNnujWvSk5Gt8hIGrdNCMKVWVQv9F8siAgLTRgTh0t3NDHrP1UlLtCxArUi9DPWZvlBeUz8D5fJTu7vnA==" + }, + "to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", + "dev": true + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + }, + "to-readable-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", + "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==" + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "requires": { + "is-number": "^7.0.0" + } + }, + "toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "dev": true + }, + "touch": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", + "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", + "requires": { + "nopt": "~1.0.10" + } + }, + "tslib": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", + "dev": true + }, + "tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", + "dev": true + }, + "type": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", + "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "requires": { + "prelude-ls": "~1.1.2" + } + }, + "type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" + }, + "type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "typed.js": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/typed.js/-/typed.js-2.0.12.tgz", + "integrity": "sha512-lyACZh1cu+vpfYY3DG/bvsGLXXbdoDDpWxmqta10IQUdMXisMXOEyl+jos+YT9uBbzK4QaKYBjT3R0kTJO0Slw==" + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + }, + "typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "requires": { + "is-typedarray": "^1.0.0" + } + }, + "uglify-js": { + "version": "3.15.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.4.tgz", + "integrity": "sha512-vMOPGDuvXecPs34V74qDKk4iJ/SN4vL3Ow/23ixafENYvtrNvtbcgUeugTcUGRGsOF/5fU8/NYSL5Hyb3l1OJA==", + "optional": true + }, + "unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + } + }, + "undefsafe": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", + "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==" + }, + "unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", + "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "dev": true + }, + "unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "dev": true, + "requires": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + } + }, + "unicode-match-property-value-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", + "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", + "dev": true + }, + "unicode-properties": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/unicode-properties/-/unicode-properties-1.3.1.tgz", + "integrity": "sha512-nIV3Tf3LcUEZttY/2g4ZJtGXhWwSkuLL+rCu0DIAMbjyVPj+8j5gNVz4T/sVbnQybIsd5SFGkPKg/756OY6jlA==", + "requires": { + "base64-js": "^1.3.0", + "unicode-trie": "^2.0.0" + } + }, + "unicode-property-aliases-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", + "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", + "dev": true + }, + "unicode-trie": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz", + "integrity": "sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==", + "requires": { + "pako": "^0.2.5", + "tiny-inflate": "^1.0.0" + }, + "dependencies": { + "pako": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", + "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=" + } + } + }, + "uniq": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", + "dev": true + }, + "uniqs": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz", + "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=", + "dev": true + }, + "unique-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", + "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", + "requires": { + "crypto-random-string": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true + }, + "unquote": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz", + "integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=", + "dev": true + }, + "update-notifier": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-5.1.0.tgz", + "integrity": "sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==", + "requires": { + "boxen": "^5.0.0", + "chalk": "^4.1.0", + "configstore": "^5.0.1", + "has-yarn": "^2.1.0", + "import-lazy": "^2.1.0", + "is-ci": "^2.0.0", + "is-installed-globally": "^0.4.0", + "is-npm": "^5.0.0", + "is-yarn-global": "^0.3.0", + "latest-version": "^5.1.0", + "pupa": "^2.1.1", + "semver": "^7.3.4", + "semver-diff": "^3.1.1", + "xdg-basedir": "^4.0.0" + } + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + }, + "dependencies": { + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + } + } + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + } + } + }, + "url-parse-lax": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", + "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", + "requires": { + "prepend-http": "^2.0.0" + } + }, + "util": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", + "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", + "dev": true, + "requires": { + "inherits": "2.0.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + } + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "util.promisify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz", + "integrity": "sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.2", + "has-symbols": "^1.0.1", + "object.getownpropertydescriptors": "^2.1.0" + } + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true + }, + "vendors": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz", + "integrity": "sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w==", + "dev": true + }, + "vis-data": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/vis-data/-/vis-data-7.1.4.tgz", + "integrity": "sha512-usy+ePX1XnArNvJ5BavQod7YRuGQE1pjFl+pu7IS6rCom2EBoG0o1ZzCqf3l5US6MW51kYkLR+efxRbnjxNl7w==", + "peer": true, + "requires": {} + }, + "vis-timeline": { + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/vis-timeline/-/vis-timeline-7.5.1.tgz", + "integrity": "sha512-XZMHHbA8xm9/Y/iu3mE9MT7J5tfWgbdsW+PmqrgINU2QRX24AiqifNHZHV4YYzeJstiTSOg9Gs5qRkxQ0BvZJw==", + "requires": {} + }, + "vis-util": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/vis-util/-/vis-util-5.0.3.tgz", + "integrity": "sha512-Wf9STUcFrDzK4/Zr7B6epW2Kvm3ORNWF+WiwEz2dpf5RdWkLUXFSbLcuB88n1W6tCdFwVN+v3V4/Xmn9PeL39g==", + "peer": true, + "requires": {} + }, + "vm-browserify": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", + "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", + "dev": true + }, + "vue-style-loader": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz", + "integrity": "sha512-sFuh0xfbtpRlKfm39ss/ikqs9AbKCoXZBpHeVZ8Tx650o0k0q/YCM7FRvigtxpACezfq6af+a7JeqVTWvncqDg==", + "dev": true, + "requires": { + "hash-sum": "^1.0.2", + "loader-utils": "^1.0.2" + }, + "dependencies": { + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + }, + "loader-utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", + "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "dev": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + } + } + } + }, + "watchpack": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", + "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", + "dev": true, + "requires": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + } + }, + "wbuf": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", + "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", + "dev": true, + "requires": { + "minimalistic-assert": "^1.0.0" + } + }, + "webpack": { + "version": "5.72.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.0.tgz", + "integrity": "sha512-qmSmbspI0Qo5ld49htys8GY9XhS9CGqFoHTsOVAnjBdg0Zn79y135R+k4IR4rKK6+eKaabMhJwiVB7xw0SJu5w==", + "dev": true, + "requires": { + "@types/eslint-scope": "^3.7.3", + "@types/estree": "^0.0.51", + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/wasm-edit": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1", + "acorn": "^8.4.1", + "acorn-import-assertions": "^1.7.6", + "browserslist": "^4.14.5", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.9.2", + "es-module-lexer": "^0.9.0", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.9", + "json-parse-better-errors": "^1.0.2", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.1.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.1.3", + "watchpack": "^2.3.1", + "webpack-sources": "^3.2.3" + }, + "dependencies": { + "schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + }, + "webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "dev": true + } + } + }, + "webpack-cli": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.9.2.tgz", + "integrity": "sha512-m3/AACnBBzK/kMTcxWHcZFPrw/eQuY4Df1TxvIWfWM2x7mRqBQCqKEd96oCUa9jkapLBaFfRce33eGDb4Pr7YQ==", + "dev": true, + "requires": { + "@discoveryjs/json-ext": "^0.5.0", + "@webpack-cli/configtest": "^1.1.1", + "@webpack-cli/info": "^1.4.1", + "@webpack-cli/serve": "^1.6.1", + "colorette": "^2.0.14", + "commander": "^7.0.0", + "execa": "^5.0.0", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^2.2.0", + "rechoir": "^0.7.0", + "webpack-merge": "^5.7.3" + } + }, + "webpack-dev-middleware": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.1.tgz", + "integrity": "sha512-81EujCKkyles2wphtdrnPg/QqegC/AtqNH//mQkBYSMqwFVCQrxM6ktB2O/SPlZy7LqeEfTbV3cZARGQz6umhg==", + "dev": true, + "requires": { + "colorette": "^2.0.10", + "memfs": "^3.4.1", + "mime-types": "^2.1.31", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" + }, + "dependencies": { + "ajv": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", + "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, + "ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.3" + } + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "schema-utils": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", + "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.8.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.0.0" + } + } + } + }, + "webpack-dev-server": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.8.1.tgz", + "integrity": "sha512-dwld70gkgNJa33czmcj/PlKY/nOy/BimbrgZRaR9vDATBQAYgLzggR0nxDtPLJiLrMgZwbE6RRfJ5vnBBasTyg==", + "dev": true, + "requires": { + "@types/bonjour": "^3.5.9", + "@types/connect-history-api-fallback": "^1.3.5", + "@types/express": "^4.17.13", + "@types/serve-index": "^1.9.1", + "@types/sockjs": "^0.3.33", + "@types/ws": "^8.5.1", + "ansi-html-community": "^0.0.8", + "bonjour-service": "^1.0.11", + "chokidar": "^3.5.3", + "colorette": "^2.0.10", + "compression": "^1.7.4", + "connect-history-api-fallback": "^1.6.0", + "default-gateway": "^6.0.3", + "express": "^4.17.3", + "graceful-fs": "^4.2.6", + "html-entities": "^2.3.2", + "http-proxy-middleware": "^2.0.3", + "ipaddr.js": "^2.0.1", + "open": "^8.0.9", + "p-retry": "^4.5.0", + "portfinder": "^1.0.28", + "rimraf": "^3.0.2", + "schema-utils": "^4.0.0", + "selfsigned": "^2.0.1", + "serve-index": "^1.9.1", + "sockjs": "^0.3.21", + "spdy": "^4.0.2", + "webpack-dev-middleware": "^5.3.1", + "ws": "^8.4.2" + }, + "dependencies": { + "ajv": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", + "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, + "ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.3" + } + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "schema-utils": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", + "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.8.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.0.0" + } + } + } + }, + "webpack-merge": { + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.8.0.tgz", + "integrity": "sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==", + "dev": true, + "requires": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + } + }, + "webpack-notifier": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/webpack-notifier/-/webpack-notifier-1.15.0.tgz", + "integrity": "sha512-N2V8UMgRB5komdXQRavBsRpw0hPhJq2/SWNOGuhrXpIgRhcMexzkGQysUyGStHLV5hkUlgpRiF7IUXoBqyMmzQ==", + "dev": true, + "requires": { + "node-notifier": "^9.0.0", + "strip-ansi": "^6.0.0" + } + }, + "webpack-rtl-plugin": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/webpack-rtl-plugin/-/webpack-rtl-plugin-2.0.0.tgz", + "integrity": "sha512-lROgFkiPjapg9tcZ8FiLWeP5pJoG00018aEjLTxSrVldPD1ON+LPlhKPHjb7eE8Bc0+KL23pxcAjWDGOv9+UAw==", + "dev": true, + "requires": { + "@romainberger/css-diff": "^1.0.3", + "async": "^2.0.0", + "cssnano": "4.1.10", + "rtlcss": "2.4.0", + "webpack-sources": "1.3.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "cosmiconfig": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", + "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", + "dev": true, + "requires": { + "import-fresh": "^2.0.0", + "is-directory": "^0.3.1", + "js-yaml": "^3.13.1", + "parse-json": "^4.0.0" + } + }, + "css-declaration-sorter": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz", + "integrity": "sha512-BcxQSKTSEEQUftYpBVnsH4SF05NTuBokb19/sBt6asXGKZ/6VP7PLG1CBCkFDYOnhXhPh0jMhO6xZ71oYHXHBA==", + "dev": true, + "requires": { + "postcss": "^7.0.1", + "timsort": "^0.3.0" + } + }, + "css-select": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.1.0.tgz", + "integrity": "sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==", + "dev": true, + "requires": { + "boolbase": "^1.0.0", + "css-what": "^3.2.1", + "domutils": "^1.7.0", + "nth-check": "^1.0.2" + } + }, + "css-tree": { + "version": "1.0.0-alpha.37", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.37.tgz", + "integrity": "sha512-DMxWJg0rnz7UgxKT0Q1HU/L9BeJI0M6ksor0OgqOnF+aRCDWg/N2641HmVyU9KVIu0OVVWOb2IpC9A+BJRnejg==", + "dev": true, + "requires": { + "mdn-data": "2.0.4", + "source-map": "^0.6.1" + } + }, + "css-what": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz", + "integrity": "sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ==", + "dev": true + }, + "cssnano": { + "version": "4.1.10", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.10.tgz", + "integrity": "sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ==", + "dev": true, + "requires": { + "cosmiconfig": "^5.0.0", + "cssnano-preset-default": "^4.0.7", + "is-resolvable": "^1.0.0", + "postcss": "^7.0.0" + } + }, + "cssnano-preset-default": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.8.tgz", + "integrity": "sha512-LdAyHuq+VRyeVREFmuxUZR1TXjQm8QQU/ktoo/x7bz+SdOge1YKc5eMN6pRW7YWBmyq59CqYba1dJ5cUukEjLQ==", + "dev": true, + "requires": { + "css-declaration-sorter": "^4.0.1", + "cssnano-util-raw-cache": "^4.0.1", + "postcss": "^7.0.0", + "postcss-calc": "^7.0.1", + "postcss-colormin": "^4.0.3", + "postcss-convert-values": "^4.0.1", + "postcss-discard-comments": "^4.0.2", + "postcss-discard-duplicates": "^4.0.2", + "postcss-discard-empty": "^4.0.1", + "postcss-discard-overridden": "^4.0.1", + "postcss-merge-longhand": "^4.0.11", + "postcss-merge-rules": "^4.0.3", + "postcss-minify-font-values": "^4.0.2", + "postcss-minify-gradients": "^4.0.2", + "postcss-minify-params": "^4.0.2", + "postcss-minify-selectors": "^4.0.2", + "postcss-normalize-charset": "^4.0.1", + "postcss-normalize-display-values": "^4.0.2", + "postcss-normalize-positions": "^4.0.2", + "postcss-normalize-repeat-style": "^4.0.2", + "postcss-normalize-string": "^4.0.2", + "postcss-normalize-timing-functions": "^4.0.2", + "postcss-normalize-unicode": "^4.0.1", + "postcss-normalize-url": "^4.0.1", + "postcss-normalize-whitespace": "^4.0.2", + "postcss-ordered-values": "^4.1.2", + "postcss-reduce-initial": "^4.0.3", + "postcss-reduce-transforms": "^4.0.2", + "postcss-svgo": "^4.0.3", + "postcss-unique-selectors": "^4.0.1" + } + }, + "dom-serializer": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", + "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==", + "dev": true, + "requires": { + "domelementtype": "^2.0.1", + "entities": "^2.0.0" + } + }, + "domutils": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz", + "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", + "dev": true, + "requires": { + "dom-serializer": "0", + "domelementtype": "1" + }, + "dependencies": { + "domelementtype": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", + "dev": true + } + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "import-fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", + "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", + "dev": true, + "requires": { + "caller-path": "^2.0.0", + "resolve-from": "^3.0.0" + } + }, + "mdn-data": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz", + "integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==", + "dev": true + }, + "normalize-url": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz", + "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==", + "dev": true + }, + "nth-check": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "dev": true, + "requires": { + "boolbase": "~1.0.0" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, + "picocolors": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", + "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", + "dev": true + }, + "postcss": { + "version": "7.0.39", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", + "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "dev": true, + "requires": { + "picocolors": "^0.2.1", + "source-map": "^0.6.1" + } + }, + "postcss-calc": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.5.tgz", + "integrity": "sha512-1tKHutbGtLtEZF6PT4JSihCHfIVldU72mZ8SdZHIYriIZ9fh9k9aWSppaT8rHsyI3dX+KSR+W+Ix9BMY3AODrg==", + "dev": true, + "requires": { + "postcss": "^7.0.27", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.0.2" + } + }, + "postcss-colormin": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz", + "integrity": "sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw==", + "dev": true, + "requires": { + "browserslist": "^4.0.0", + "color": "^3.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-convert-values": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz", + "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==", + "dev": true, + "requires": { + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-discard-comments": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz", + "integrity": "sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==", + "dev": true, + "requires": { + "postcss": "^7.0.0" + } + }, + "postcss-discard-duplicates": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz", + "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==", + "dev": true, + "requires": { + "postcss": "^7.0.0" + } + }, + "postcss-discard-empty": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz", + "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==", + "dev": true, + "requires": { + "postcss": "^7.0.0" + } + }, + "postcss-discard-overridden": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz", + "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==", + "dev": true, + "requires": { + "postcss": "^7.0.0" + } + }, + "postcss-merge-longhand": { + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz", + "integrity": "sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw==", + "dev": true, + "requires": { + "css-color-names": "0.0.4", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0", + "stylehacks": "^4.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-merge-rules": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz", + "integrity": "sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ==", + "dev": true, + "requires": { + "browserslist": "^4.0.0", + "caniuse-api": "^3.0.0", + "cssnano-util-same-parent": "^4.0.0", + "postcss": "^7.0.0", + "postcss-selector-parser": "^3.0.0", + "vendors": "^1.0.0" + }, + "dependencies": { + "postcss-selector-parser": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", + "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", + "dev": true, + "requires": { + "dot-prop": "^5.2.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + } + } + } + }, + "postcss-minify-font-values": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz", + "integrity": "sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg==", + "dev": true, + "requires": { + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-minify-gradients": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz", + "integrity": "sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q==", + "dev": true, + "requires": { + "cssnano-util-get-arguments": "^4.0.0", + "is-color-stop": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-minify-params": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz", + "integrity": "sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg==", + "dev": true, + "requires": { + "alphanum-sort": "^1.0.0", + "browserslist": "^4.0.0", + "cssnano-util-get-arguments": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0", + "uniqs": "^2.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-minify-selectors": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz", + "integrity": "sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g==", + "dev": true, + "requires": { + "alphanum-sort": "^1.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-selector-parser": "^3.0.0" + }, + "dependencies": { + "postcss-selector-parser": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", + "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", + "dev": true, + "requires": { + "dot-prop": "^5.2.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + } + } + } + }, + "postcss-normalize-charset": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz", + "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==", + "dev": true, + "requires": { + "postcss": "^7.0.0" + } + }, + "postcss-normalize-display-values": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz", + "integrity": "sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ==", + "dev": true, + "requires": { + "cssnano-util-get-match": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-normalize-positions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz", + "integrity": "sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA==", + "dev": true, + "requires": { + "cssnano-util-get-arguments": "^4.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-normalize-repeat-style": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz", + "integrity": "sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q==", + "dev": true, + "requires": { + "cssnano-util-get-arguments": "^4.0.0", + "cssnano-util-get-match": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-normalize-string": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz", + "integrity": "sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA==", + "dev": true, + "requires": { + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-normalize-timing-functions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz", + "integrity": "sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A==", + "dev": true, + "requires": { + "cssnano-util-get-match": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-normalize-unicode": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz", + "integrity": "sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg==", + "dev": true, + "requires": { + "browserslist": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-normalize-url": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz", + "integrity": "sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA==", + "dev": true, + "requires": { + "is-absolute-url": "^2.0.0", + "normalize-url": "^3.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-normalize-whitespace": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz", + "integrity": "sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA==", + "dev": true, + "requires": { + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-ordered-values": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz", + "integrity": "sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw==", + "dev": true, + "requires": { + "cssnano-util-get-arguments": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-reduce-initial": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz", + "integrity": "sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA==", + "dev": true, + "requires": { + "browserslist": "^4.0.0", + "caniuse-api": "^3.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0" + } + }, + "postcss-reduce-transforms": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz", + "integrity": "sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg==", + "dev": true, + "requires": { + "cssnano-util-get-match": "^4.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-svgo": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.3.tgz", + "integrity": "sha512-NoRbrcMWTtUghzuKSoIm6XV+sJdvZ7GZSc3wdBN0W19FTtp2ko8NqLsgoh/m9CzNhU3KLPvQmjIwtaNFkaFTvw==", + "dev": true, + "requires": { + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0", + "svgo": "^1.0.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + } + } + }, + "postcss-unique-selectors": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz", + "integrity": "sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==", + "dev": true, + "requires": { + "alphanum-sort": "^1.0.0", + "postcss": "^7.0.0", + "uniqs": "^2.0.0" + } + }, + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "dev": true + }, + "rtlcss": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/rtlcss/-/rtlcss-2.4.0.tgz", + "integrity": "sha512-hdjFhZ5FCI0ABOfyXOMOhBtwPWtANLCG7rOiOcRf+yi5eDdxmDjqBruWouEnwVdzfh/TWF6NNncIEsigOCFZOA==", + "dev": true, + "requires": { + "chalk": "^2.3.0", + "findup": "^0.1.5", + "mkdirp": "^0.5.1", + "postcss": "^6.0.14", + "strip-json-comments": "^2.0.0" + }, + "dependencies": { + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.4.0" + } + } + } + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true + }, + "stylehacks": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.3.tgz", + "integrity": "sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==", + "dev": true, + "requires": { + "browserslist": "^4.0.0", + "postcss": "^7.0.0", + "postcss-selector-parser": "^3.0.0" + }, + "dependencies": { + "postcss-selector-parser": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", + "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", + "dev": true, + "requires": { + "dot-prop": "^5.2.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + } + } + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "svgo": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.3.2.tgz", + "integrity": "sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "coa": "^2.0.2", + "css-select": "^2.0.0", + "css-select-base-adapter": "^0.1.1", + "css-tree": "1.0.0-alpha.37", + "csso": "^4.0.2", + "js-yaml": "^3.13.1", + "mkdirp": "~0.5.1", + "object.values": "^1.1.0", + "sax": "~1.2.4", + "stable": "^0.1.8", + "unquote": "~1.1.1", + "util.promisify": "~1.0.0" + } + }, + "webpack-sources": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.3.0.tgz", + "integrity": "sha512-OiVgSrbGu7NEnEvQJJgdSFPl2qWKkWq5lHMhgiToIiN9w34EBnjYzSYs+VbL5KoYiLNtFFa7BZIKxRED3I32pA==", + "dev": true, + "requires": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + } + } + } + }, + "webpack-sources": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", + "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", + "dev": true, + "requires": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + } + }, + "webpackbar": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/webpackbar/-/webpackbar-5.0.2.tgz", + "integrity": "sha512-BmFJo7veBDgQzfWXl/wwYXr/VFus0614qZ8i9znqcl9fnEdiVkdbi0TedLQ6xAK92HZHDJ0QmyQ0fmuZPAgCYQ==", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "consola": "^2.15.3", + "pretty-time": "^1.1.0", + "std-env": "^3.0.1" + } + }, + "websocket-driver": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz", + "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==", + "dev": true, + "requires": { + "http-parser-js": ">=0.5.1", + "safe-buffer": ">=5.1.0", + "websocket-extensions": ">=0.1.1" + } + }, + "websocket-extensions": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", + "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", + "dev": true + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "widest-line": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", + "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", + "requires": { + "string-width": "^4.0.0" + } + }, + "wildcard": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz", + "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", + "dev": true + }, + "wnumb": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/wnumb/-/wnumb-1.2.0.tgz", + "integrity": "sha512-eYut5K/dW7usfk/Mwm6nxBNoTPp/uP7PlXld+hhg7lDtHLdHFnNclywGYM9BRC7Ohd4JhwuHg+vmOUGfd3NhVA==" + }, + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" + }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "write-file-atomic": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "requires": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "ws": { + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", + "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "dev": true, + "requires": {} + }, + "xdg-basedir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", + "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==" + }, + "xmldoc": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/xmldoc/-/xmldoc-1.1.2.tgz", + "integrity": "sha512-ruPC/fyPNck2BD1dpz0AZZyrEwMOrWTO5lDdIXS91rs3wtm4j+T8Rp2o+zoOYkkAxJTZRPOSnOGei1egoRmKMQ==", + "requires": { + "sax": "^1.2.1" + } + }, + "xss": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/xss/-/xss-1.0.11.tgz", + "integrity": "sha512-EimjrjThZeK2MO7WKR9mN5ZC1CSqivSl55wvUK5EtU6acf0rzEE1pN+9ZDrFXJ82BRp3JL38pPE6S4o/rpp1zQ==", + "peer": true, + "requires": { + "commander": "^2.20.3", + "cssfilter": "0.0.10" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "peer": true + } + } + }, + "xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true + }, + "yargs": { + "version": "17.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.4.1.tgz", + "integrity": "sha512-WSZD9jgobAg3ZKuCQZSa3g9QOJeCCqLoLAykiWgmXnDo9EPnn4RPf5qVTtzgOx66o6/oqhcA5tHtJXpG8pMt3g==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.0.0" + } + }, + "yargs-parser": { + "version": "21.0.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz", + "integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==", + "dev": true + }, + "yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..32f0078 --- /dev/null +++ b/package.json @@ -0,0 +1,111 @@ +{ + "private": true, + "scripts": { + "dev": "npm run development", + "development": "mix", + "watch": "mix watch", + "watch-poll": "mix watch -- --watch-options-poll=1000", + "hot": "mix watch --hot", + "prod": "npm run production", + "production": "mix --production" + }, + "dependencies": { + "@ckeditor/ckeditor5-alignment": "^31.1.0", + "@ckeditor/ckeditor5-build-balloon": "^23.1.0", + "@ckeditor/ckeditor5-build-balloon-block": "^23.1.0", + "@ckeditor/ckeditor5-build-classic": "^23.1.0", + "@ckeditor/ckeditor5-build-decoupled-document": "^23.1.0", + "@ckeditor/ckeditor5-build-inline": "^23.1.0", + "@fortawesome/fontawesome-free": "^5.15.3", + "@popperjs/core": "~2.10.1", + "@shopify/draggable": "^1.0.0-beta.12", + "@yaireo/tagify": "^4.9.2", + "acorn": "^8.0.4", + "apexcharts": "^3.30.0", + "autosize": "^5.0.1", + "axios": "^0.21.1", + "bootstrap": "5.1.3", + "bootstrap-cookie-alert": "^1.2.1", + "bootstrap-daterangepicker": "^3.1.0", + "bootstrap-icons": "^1.5.0", + "bootstrap-maxlength": "^1.10.1", + "bootstrap-multiselectsplitter": "^1.0.4", + "chalk": "^4.1.0", + "chart.js": "^3.6.0", + "clipboard": "^2.0.8", + "countup.js": "^2.0.7", + "cropperjs": "^1.5.12", + "datatables.net": "^1.10.25", + "datatables.net-bs5": "^1.10.25", + "datatables.net-buttons": "^1.7.1", + "datatables.net-buttons-bs5": "^1.7.1", + "datatables.net-colreorder": "^1.5.4", + "datatables.net-colreorder-bs5": "^1.5.4", + "datatables.net-datetime": "^1.1.0", + "datatables.net-fixedcolumns": "^3.3.3", + "datatables.net-fixedcolumns-bs5": "^3.3.3", + "datatables.net-fixedheader": "^3.1.9", + "datatables.net-fixedheader-bs5": "^3.1.9", + "datatables.net-plugins": "^1.10.24", + "datatables.net-responsive": "^2.2.9", + "datatables.net-responsive-bs5": "^2.2.9", + "datatables.net-rowgroup": "^1.1.3", + "datatables.net-rowgroup-bs5": "^1.1.3", + "datatables.net-rowreorder": "^1.2.8", + "datatables.net-rowreorder-bs5": "^1.2.8", + "datatables.net-scroller": "^2.0.4", + "datatables.net-scroller-bs5": "^2.0.4", + "datatables.net-select": "^1.3.3", + "datatables.net-select-bs5": "^1.3.3", + "del": "^6.0.0", + "dropzone": "^5.9.2", + "es6-promise": "^4.2.8", + "es6-promise-polyfill": "^1.2.0", + "es6-shim": "^0.35.5", + "esri-leaflet": "^3.0.2", + "esri-leaflet-geocoder": "^3.0.0", + "flatpickr": "^4.6.9", + "flot": "^4.2.2", + "fslightbox": "^3.3.0-2", + "fullcalendar": "^5.8.0", + "handlebars": "^4.7.7", + "inputmask": "^5.0.6", + "jkanban": "^1.3.1", + "jquery": "3.6.0", + "jquery.repeater": "^1.2.1", + "jstree": "^3.3.11", + "jszip": "^3.6.0", + "leaflet": "^1.7.1", + "line-awesome": "^1.3.0", + "moment": "^2.29.1", + "nouislider": "^15.2.0", + "npm": "^7.19.1", + "pdfmake": "^0.2.0", + "prism-themes": "^1.7.0", + "prismjs": "^1.24.1", + "quill": "^1.3.7", + "select2": "^4.1.0-rc.0", + "smooth-scroll": "^16.1.3", + "sweetalert2": "^11.0.18", + "tiny-slider": "^2.9.3", + "tinymce": "^5.8.2", + "typed.js": "^2.0.12", + "vis-timeline": "^7.4.9", + "wnumb": "^1.2.0" + }, + "devDependencies": { + "alpinejs": "^3.7.1", + "autoprefixer": "^10.4.2", + "axios": "^0.24.0", + "laravel-mix": "^6.0.39", + "lodash": "^4.17.19", + "postcss": "^8.4.5", + "postcss-import": "^14.0.2", + "replace-in-file-webpack-plugin": "^1.0.6", + "resolve-url-loader": "^4.0.0", + "rtlcss": "^3.5.0", + "sass": "^1.47.0", + "sass-loader": "^12.4.0", + "webpack-rtl-plugin": "^2.0.0" + } +} diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..4ae4d97 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,31 @@ + + + + + ./tests/Unit + + + ./tests/Feature + + + + + ./app + + + + + + + + + + + + + + diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..3aec5e2 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,21 @@ + + + Options -MultiViews -Indexes + + + RewriteEngine On + + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + + # Redirect Trailing Slashes If Not A Folder... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] + + # Send Requests To Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] + diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..e69de29 diff --git a/public/icon_replacement.txt b/public/icon_replacement.txt new file mode 100644 index 0000000..89b51e3 --- /dev/null +++ b/public/icon_replacement.txt @@ -0,0 +1,24 @@ +150-1.jpg - 300-6.jpg +150-2.jpg - 300-1.jpg +150-3.jpg - 300-2.jpg +150-4.jpg - 300-5.jpg +150-5.jpg - 300-20.jpg +150-6.jpg - 300-23.jpg +150-7.jpg - 300-12.jpg +150-8.jpg - 300-9.jpg +150-9.jpg - 300-10.jpg +150-10.jpg - 300-21.jpg +150-11.jpg - 300-14.jpg +150-12.jpg - 300-11.jpg +150-13.jpg - 300-7.jpg +150-14.jpg - 300-4.jpg +150-15.jpg - 300-25.jpg +150-16.jpg - 300-8.jpg +150-17.jpg - 300-13.jpg +150-18.jpg - 300-15.jpg +150-19.jpg - 300-24.jpg +150-20.jpg - 300-3.jpg +150-21.jpg - 300-17.jpg +150-24.jpg - 300-19.jpg +150-25.jpg - 300-2.jpg +150-26.jpg - 300-1.jpg diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..a8137b1 --- /dev/null +++ b/public/index.php @@ -0,0 +1,55 @@ +make(Kernel::class); + +$response = tap($kernel->handle( + $request = Request::capture() +))->send(); + +$kernel->terminate($request, $response); diff --git a/public/mix-manifest.json b/public/mix-manifest.json new file mode 100644 index 0000000..2d20247 --- /dev/null +++ b/public/mix-manifest.json @@ -0,0 +1,110 @@ +{ + "/demo1/plugins/custom/cookiealert/cookiealert.bundle.js": "/demo1/plugins/custom/cookiealert/cookiealert.bundle.js", + "/demo1/plugins/custom/cropper/cropper.bundle.js": "/demo1/plugins/custom/cropper/cropper.bundle.js", + "/demo1/plugins/custom/draggable/draggable.bundle.js": "/demo1/plugins/custom/draggable/draggable.bundle.js", + "/demo1/plugins/custom/flotcharts/flotcharts.bundle.js": "/demo1/plugins/custom/flotcharts/flotcharts.bundle.js", + "/demo1/plugins/custom/fslightbox/fslightbox.bundle.js": "/demo1/plugins/custom/fslightbox/fslightbox.bundle.js", + "/demo1/plugins/custom/jkanban/jkanban.bundle.js": "/demo1/plugins/custom/jkanban/jkanban.bundle.js", + "/demo1/plugins/custom/jstree/jstree.bundle.js": "/demo1/plugins/custom/jstree/jstree.bundle.js", + "/demo1/plugins/custom/prismjs/prismjs.bundle.js": "/demo1/plugins/custom/prismjs/prismjs.bundle.js", + "/demo1/plugins/custom/tiny-slider/tiny-slider.bundle.js": "/demo1/plugins/custom/tiny-slider/tiny-slider.bundle.js", + "/demo1/plugins/custom/typedjs/typedjs.bundle.js": "/demo1/plugins/custom/typedjs/typedjs.bundle.js", + "/demo1/js/custom/account/api-keys/api-keys.js": "/demo1/js/custom/account/api-keys/api-keys.js", + "/demo1/js/custom/account/orders/classic.js": "/demo1/js/custom/account/orders/classic.js", + "/demo1/js/custom/account/security/license-usage.js": "/demo1/js/custom/account/security/license-usage.js", + "/demo1/js/custom/account/security/security-summary.js": "/demo1/js/custom/account/security/security-summary.js", + "/demo1/js/custom/account/settings/deactivate-account.js": "/demo1/js/custom/account/settings/deactivate-account.js", + "/demo1/js/custom/account/settings/overview.js": "/demo1/js/custom/account/settings/overview.js", + "/demo1/js/custom/apps/calendar/calendar.js": "/demo1/js/custom/apps/calendar/calendar.js", + "/demo1/js/custom/apps/chat/chat.js": "/demo1/js/custom/apps/chat/chat.js", + "/demo1/js/custom/apps/inbox/compose.js": "/demo1/js/custom/apps/inbox/compose.js", + "/demo1/js/custom/apps/inbox/listing.js": "/demo1/js/custom/apps/inbox/listing.js", + "/demo1/js/custom/apps/inbox/reply.js": "/demo1/js/custom/apps/inbox/reply.js", + "/demo1/js/custom/apps/invoices/create.js": "/demo1/js/custom/apps/invoices/create.js", + "/demo1/js/custom/apps/subscriptions/add/advanced.js": "/demo1/js/custom/apps/subscriptions/add/advanced.js", + "/demo1/js/custom/apps/subscriptions/add/customer-select.js": "/demo1/js/custom/apps/subscriptions/add/customer-select.js", + "/demo1/js/custom/apps/subscriptions/add/products.js": "/demo1/js/custom/apps/subscriptions/add/products.js", + "/demo1/js/custom/apps/subscriptions/list/export.js": "/demo1/js/custom/apps/subscriptions/list/export.js", + "/demo1/js/custom/apps/subscriptions/list/list.js": "/demo1/js/custom/apps/subscriptions/list/list.js", + "/demo1/js/custom/apps/support-center/tickets/create.js": "/demo1/js/custom/apps/support-center/tickets/create.js", + "/demo1/js/custom/apps/user-management/permissions/add-permission.js": "/demo1/js/custom/apps/user-management/permissions/add-permission.js", + "/demo1/js/custom/apps/user-management/permissions/list.js": "/demo1/js/custom/apps/user-management/permissions/list.js", + "/demo1/js/custom/apps/user-management/permissions/update-permission.js": "/demo1/js/custom/apps/user-management/permissions/update-permission.js", + "/demo1/js/custom/apps/user-management/roles/list/add.js": "/demo1/js/custom/apps/user-management/roles/list/add.js", + "/demo1/js/custom/apps/user-management/roles/list/update-role.js": "/demo1/js/custom/apps/user-management/roles/list/update-role.js", + "/demo1/js/custom/apps/user-management/roles/view/update-role.js": "/demo1/js/custom/apps/user-management/roles/view/update-role.js", + "/demo1/js/custom/apps/user-management/roles/view/view.js": "/demo1/js/custom/apps/user-management/roles/view/view.js", + "/demo1/js/custom/apps/user-management/users/list/add.js": "/demo1/js/custom/apps/user-management/users/list/add.js", + "/demo1/js/custom/apps/user-management/users/list/export-users.js": "/demo1/js/custom/apps/user-management/users/list/export-users.js", + "/demo1/js/custom/apps/user-management/users/list/table.js": "/demo1/js/custom/apps/user-management/users/list/table.js", + "/demo1/js/custom/apps/user-management/users/view/add-auth-app.js": "/demo1/js/custom/apps/user-management/users/view/add-auth-app.js", + "/demo1/js/custom/apps/user-management/users/view/add-one-time-password.js": "/demo1/js/custom/apps/user-management/users/view/add-one-time-password.js", + "/demo1/js/custom/apps/user-management/users/view/add-schedule.js": "/demo1/js/custom/apps/user-management/users/view/add-schedule.js", + "/demo1/js/custom/apps/user-management/users/view/add-task.js": "/demo1/js/custom/apps/user-management/users/view/add-task.js", + "/demo1/js/custom/apps/user-management/users/view/update-details.js": "/demo1/js/custom/apps/user-management/users/view/update-details.js", + "/demo1/js/custom/apps/user-management/users/view/update-email.js": "/demo1/js/custom/apps/user-management/users/view/update-email.js", + "/demo1/js/custom/apps/user-management/users/view/update-password.js": "/demo1/js/custom/apps/user-management/users/view/update-password.js", + "/demo1/js/custom/apps/user-management/users/view/update-role.js": "/demo1/js/custom/apps/user-management/users/view/update-role.js", + "/demo1/js/custom/apps/user-management/users/view/view.js": "/demo1/js/custom/apps/user-management/users/view/view.js", + "/demo1/js/custom/pages/pricing/general.js": "/demo1/js/custom/pages/pricing/general.js", + "/demo1/js/custom/pages/user-profile/followers.js": "/demo1/js/custom/pages/user-profile/followers.js", + "/demo1/js/custom/utilities/modals/bidding.js": "/demo1/js/custom/utilities/modals/bidding.js", + "/demo1/js/custom/utilities/modals/create-account.js": "/demo1/js/custom/utilities/modals/create-account.js", + "/demo1/js/custom/utilities/modals/create-api-key.js": "/demo1/js/custom/utilities/modals/create-api-key.js", + "/demo1/js/custom/utilities/modals/create-project.js": "/demo1/js/custom/utilities/modals/create-project.js", + "/demo1/js/custom/utilities/modals/two-factor-authentication.js": "/demo1/js/custom/utilities/modals/two-factor-authentication.js", + "/demo1/js/custom/utilities/modals/upgrade-plan.js": "/demo1/js/custom/utilities/modals/upgrade-plan.js", + "/demo1/js/custom/utilities/modals/users-search.js": "/demo1/js/custom/utilities/modals/users-search.js", + "/demo1/js/custom/utilities/search/horizontal.js": "/demo1/js/custom/utilities/search/horizontal.js", + "/demo1/js/custom/intro.js": "/demo1/js/custom/intro.js", + "/demo1/js/custom/landing.js": "/demo1/js/custom/landing.js", + "/demo1/plugins/global/plugins.bundle.css": "/demo1/plugins/global/plugins.bundle.css", + "/demo1/plugins/custom/datatables/datatables.bundle.css": "/demo1/plugins/custom/datatables/datatables.bundle.css", + "/demo1/plugins/custom/cropper/cropper.bundle.css": "/demo1/plugins/custom/cropper/cropper.bundle.css", + "/demo1/plugins/custom/cookiealert/cookiealert.bundle.css": "/demo1/plugins/custom/cookiealert/cookiealert.bundle.css", + "/demo1/plugins/custom/tiny-slider/tiny-slider.bundle.css": "/demo1/plugins/custom/tiny-slider/tiny-slider.bundle.css", + "/demo1/plugins/custom/prismjs/prismjs.bundle.css": "/demo1/plugins/custom/prismjs/prismjs.bundle.css", + "/demo1/plugins/custom/jstree/jstree.bundle.css": "/demo1/plugins/custom/jstree/jstree.bundle.css", + "/demo1/plugins/custom/jkanban/jkanban.bundle.css": "/demo1/plugins/custom/jkanban/jkanban.bundle.css", + "/demo1/plugins/custom/fullcalendar/fullcalendar.bundle.css": "/demo1/plugins/custom/fullcalendar/fullcalendar.bundle.css", + "/demo1/plugins/custom/flatpickr/flatpickr.bundle.css": "/demo1/plugins/custom/flatpickr/flatpickr.bundle.css", + "/demo1/css/style.bundle.css": "/demo1/css/style.bundle.css", + "/demo1/plugins/global/plugins-custom.bundle.css": "/demo1/plugins/global/plugins-custom.bundle.css", + "/demo1/plugins/global/plugins.bundle.js": "/demo1/plugins/global/plugins.bundle.js", + "/demo1/js/scripts.bundle.js": "/demo1/js/scripts.bundle.js", + "/demo1/js/custom/account/settings/profile-details.js": "/demo1/js/custom/account/settings/profile-details.js", + "/demo1/js/custom/account/settings/signin-methods.js": "/demo1/js/custom/account/settings/signin-methods.js", + "/demo1/js/custom/authentication/password-reset/new-password.js": "/demo1/js/custom/authentication/password-reset/new-password.js", + "/demo1/js/custom/authentication/password-reset/password-reset.js": "/demo1/js/custom/authentication/password-reset/password-reset.js", + "/demo1/js/custom/authentication/sign-in/general.js": "/demo1/js/custom/authentication/sign-in/general.js", + "/demo1/js/custom/authentication/sign-up/general.js": "/demo1/js/custom/authentication/sign-up/general.js", + "/demo1/js/custom/modals/two-factor-authentication.js": "/demo1/js/custom/modals/two-factor-authentication.js", + "/demo1/js/custom/user-management/permissions/add-permission.js": "/demo1/js/custom/user-management/permissions/add-permission.js", + "/demo1/js/custom/user-management/permissions/list.js": "/demo1/js/custom/user-management/permissions/list.js", + "/demo1/js/custom/user-management/permissions/update-permission.js": "/demo1/js/custom/user-management/permissions/update-permission.js", + "/demo1/js/custom/user-management/roles/list/add.js": "/demo1/js/custom/user-management/roles/list/add.js", + "/demo1/js/custom/user-management/roles/list/update-role.js": "/demo1/js/custom/user-management/roles/list/update-role.js", + "/demo1/js/custom/user-management/roles/view/update-role.js": "/demo1/js/custom/user-management/roles/view/update-role.js", + "/demo1/js/custom/user-management/roles/view/view.js": "/demo1/js/custom/user-management/roles/view/view.js", + "/demo1/js/custom/user-management/users/list/add.js": "/demo1/js/custom/user-management/users/list/add.js", + "/demo1/js/custom/user-management/users/list/export-users.js": "/demo1/js/custom/user-management/users/list/export-users.js", + "/demo1/js/custom/user-management/users/list/table.js": "/demo1/js/custom/user-management/users/list/table.js", + "/demo1/js/custom/user-management/users/view/add-auth-app.js": "/demo1/js/custom/user-management/users/view/add-auth-app.js", + "/demo1/js/custom/user-management/users/view/add-one-time-password.js": "/demo1/js/custom/user-management/users/view/add-one-time-password.js", + "/demo1/js/custom/user-management/users/view/add-schedule.js": "/demo1/js/custom/user-management/users/view/add-schedule.js", + "/demo1/js/custom/user-management/users/view/add-task.js": "/demo1/js/custom/user-management/users/view/add-task.js", + "/demo1/js/custom/user-management/users/view/update-details.js": "/demo1/js/custom/user-management/users/view/update-details.js", + "/demo1/js/custom/user-management/users/view/update-email.js": "/demo1/js/custom/user-management/users/view/update-email.js", + "/demo1/js/custom/user-management/users/view/update-password.js": "/demo1/js/custom/user-management/users/view/update-password.js", + "/demo1/js/custom/user-management/users/view/update-role.js": "/demo1/js/custom/user-management/users/view/update-role.js", + "/demo1/js/custom/user-management/users/view/view.js": "/demo1/js/custom/user-management/users/view/view.js", + "/demo1/js/custom/widgets.js": "/demo1/js/custom/widgets.js", + "/demo1/js/vendors/plugins/datatables.init.js": "/demo1/js/vendors/plugins/datatables.init.js", + "/demo1/plugins/custom/jstree/32px.png": "/demo1/plugins/custom/jstree/32px.png", + "/demo1/plugins/custom/jstree/40px.png": "/demo1/plugins/custom/jstree/40px.png", + "/demo1/plugins/custom/jstree/throbber.gif": "/demo1/plugins/custom/jstree/throbber.gif", + "/demo1/plugins/custom/datatables/datatables.bundle.js": "/demo1/plugins/custom/datatables/datatables.bundle.js", + "/demo1/plugins/custom/flatpickr/flatpickr.bundle.js": "/demo1/plugins/custom/flatpickr/flatpickr.bundle.js", + "/demo1/plugins/custom/formrepeater/formrepeater.bundle.js": "/demo1/plugins/custom/formrepeater/formrepeater.bundle.js", + "/demo1/plugins/custom/fullcalendar/fullcalendar.bundle.js": "/demo1/plugins/custom/fullcalendar/fullcalendar.bundle.js" +} diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..eb05362 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: diff --git a/public/vendor/datatables/buttons.server-side.js b/public/vendor/datatables/buttons.server-side.js new file mode 100644 index 0000000..e012c9b --- /dev/null +++ b/public/vendor/datatables/buttons.server-side.js @@ -0,0 +1,284 @@ +(function ($, DataTable) { + "use strict"; + + var _buildParams = function (dt, action, onlyVisibles) { + var params = dt.ajax.params(); + params.action = action; + params._token = $('meta[name="csrf-token"]').attr('content'); + + if (onlyVisibles) { + params.visible_columns = _getVisibleColumns(); + } else { + params.visible_columns = null; + } + + return params; + }; + + var _getVisibleColumns = function () { + + var visible_columns = []; + $.each(DataTable.settings[0].aoColumns, function (key, col) { + if (col.bVisible) { + visible_columns.push(col.name); + } + }); + + return visible_columns; + }; + + var _downloadFromUrl = function (url, params) { + var postUrl = url + '/export'; + var xhr = new XMLHttpRequest(); + xhr.open('POST', postUrl, true); + xhr.responseType = 'arraybuffer'; + xhr.onload = function () { + if (this.status === 200) { + var filename = ""; + var disposition = xhr.getResponseHeader('Content-Disposition'); + if (disposition && disposition.indexOf('attachment') !== -1) { + var filenameRegex = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/; + var matches = filenameRegex.exec(disposition); + if (matches != null && matches[1]) filename = matches[1].replace(/['"]/g, ''); + } + var type = xhr.getResponseHeader('Content-Type'); + + var blob = new Blob([this.response], {type: type}); + if (typeof window.navigator.msSaveBlob !== 'undefined') { + // IE workaround for "HTML7007: One or more blob URLs were revoked by closing the blob for which they were created. These URLs will no longer resolve as the data backing the URL has been freed." + window.navigator.msSaveBlob(blob, filename); + } else { + var URL = window.URL || window.webkitURL; + var downloadUrl = URL.createObjectURL(blob); + + if (filename) { + // use HTML5 a[download] attribute to specify filename + var a = document.createElement("a"); + // safari doesn't support this yet + if (typeof a.download === 'undefined') { + window.location = downloadUrl; + } else { + a.href = downloadUrl; + a.download = filename; + document.body.appendChild(a); + a.click(); + } + } else { + window.location = downloadUrl; + } + + setTimeout(function () { + URL.revokeObjectURL(downloadUrl); + }, 100); // cleanup + } + } + }; + xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); + xhr.send($.param(params)); + }; + + var _buildUrl = function(dt, action) { + var url = dt.ajax.url() || ''; + var params = dt.ajax.params(); + params.action = action; + + if (url.indexOf('?') > -1) { + return url + '&' + $.param(params); + } + + return url + '?' + $.param(params); + }; + + DataTable.ext.buttons.excel = { + className: 'buttons-excel', + + text: function (dt) { + return ' ' + dt.i18n('buttons.excel', 'Excel'); + }, + + action: function (e, dt, button, config) { + var url = _buildUrl(dt, 'excel'); + window.location = url; + } + }; + + DataTable.ext.buttons.postExcel = { + className: 'buttons-excel', + + text: function (dt) { + return ' ' + dt.i18n('buttons.excel', 'Excel'); + }, + + action: function (e, dt, button, config) { + var url = dt.ajax.url() || window.location.href; + var params = _buildParams(dt, 'excel'); + + _downloadFromUrl(url, params); + } + }; + + DataTable.ext.buttons.postExcelVisibleColumns = { + className: 'buttons-excel', + + text: function (dt) { + return ' ' + dt.i18n('buttons.excel', 'Excel (only visible columns)'); + }, + + action: function (e, dt, button, config) { + var url = dt.ajax.url() || window.location.href; + var params = _buildParams(dt, 'excel', true); + + _downloadFromUrl(url, params); + } + }; + + DataTable.ext.buttons.export = { + extend: 'collection', + + className: 'buttons-export', + + text: function (dt) { + return ' ' + dt.i18n('buttons.export', 'Export') + ' '; + }, + + buttons: ['csv', 'excel', 'pdf'] + }; + + DataTable.ext.buttons.csv = { + className: 'buttons-csv', + + text: function (dt) { + return ' ' + dt.i18n('buttons.csv', 'CSV'); + }, + + action: function (e, dt, button, config) { + var url = _buildUrl(dt, 'csv'); + window.location = url; + } + }; + + DataTable.ext.buttons.postCsvVisibleColumns = { + className: 'buttons-csv', + + text: function (dt) { + return ' ' + dt.i18n('buttons.csv', 'CSV (only visible columns)'); + }, + + action: function (e, dt, button, config) { + var url = dt.ajax.url() || window.location.href; + var params = _buildParams(dt, 'csv', true); + + _downloadFromUrl(url, params); + } + }; + + DataTable.ext.buttons.postCsv = { + className: 'buttons-csv', + + text: function (dt) { + return ' ' + dt.i18n('buttons.csv', 'CSV'); + }, + + action: function (e, dt, button, config) { + var url = dt.ajax.url() || window.location.href; + var params = _buildParams(dt, 'csv'); + + _downloadFromUrl(url, params); + } + }; + + DataTable.ext.buttons.pdf = { + className: 'buttons-pdf', + + text: function (dt) { + return ' ' + dt.i18n('buttons.pdf', 'PDF'); + }, + + action: function (e, dt, button, config) { + var url = _buildUrl(dt, 'pdf'); + window.location = url; + } + }; + + DataTable.ext.buttons.postPdf = { + className: 'buttons-pdf', + + text: function (dt) { + return ' ' + dt.i18n('buttons.pdf', 'PDF'); + }, + + action: function (e, dt, button, config) { + var url = dt.ajax.url() || window.location.href; + var params = _buildParams(dt, 'pdf'); + + _downloadFromUrl(url, params); + } + }; + + DataTable.ext.buttons.print = { + className: 'buttons-print', + + text: function (dt) { + return ' ' + dt.i18n('buttons.print', 'Print'); + }, + + action: function (e, dt, button, config) { + var url = _buildUrl(dt, 'print'); + window.location = url; + } + }; + + DataTable.ext.buttons.reset = { + className: 'buttons-reset', + + text: function (dt) { + return ' ' + dt.i18n('buttons.reset', 'Reset'); + }, + + action: function (e, dt, button, config) { + dt.search(''); + dt.columns().search(''); + dt.draw(); + } + }; + + DataTable.ext.buttons.reload = { + className: 'buttons-reload', + + text: function (dt) { + return ' ' + dt.i18n('buttons.reload', 'Reload'); + }, + + action: function (e, dt, button, config) { + dt.draw(false); + } + }; + + DataTable.ext.buttons.create = { + className: 'buttons-create', + + text: function (dt) { + return ' ' + dt.i18n('buttons.create', 'Create'); + }, + + action: function (e, dt, button, config) { + window.location = window.location.href.replace(/\/+$/, "") + '/create'; + } + }; + + if (typeof DataTable.ext.buttons.copyHtml5 !== 'undefined') { + $.extend(DataTable.ext.buttons.copyHtml5, { + text: function (dt) { + return ' ' + dt.i18n('buttons.copy', 'Copy'); + } + }); + } + + if (typeof DataTable.ext.buttons.colvis !== 'undefined') { + $.extend(DataTable.ext.buttons.colvis, { + text: function (dt) { + return ' ' + dt.i18n('buttons.colvis', 'Column visibility'); + } + }); + } +})(jQuery, jQuery.fn.dataTable); diff --git a/public/web.config b/public/web.config new file mode 100644 index 0000000..d3711d7 --- /dev/null +++ b/public/web.config @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/assets/core/js/components/blockui.js b/resources/assets/core/js/components/blockui.js new file mode 100644 index 0000000..75a1f90 --- /dev/null +++ b/resources/assets/core/js/components/blockui.js @@ -0,0 +1,177 @@ +"use strict"; + +// Class definition +var KTBlockUI = function(element, options) { + ////////////////////////////// + // ** Private variables ** // + ////////////////////////////// + var the = this; + + if ( typeof element === "undefined" || element === null ) { + return; + } + + // Default options + var defaultOptions = { + zIndex: false, + overlayClass: '', + overflow: 'hidden', + message: '' + }; + + //////////////////////////// + // ** Private methods ** // + //////////////////////////// + + var _construct = function() { + if ( KTUtil.data(element).has('blockui') ) { + the = KTUtil.data(element).get('blockui'); + } else { + _init(); + } + } + + var _init = function() { + // Variables + the.options = KTUtil.deepExtend({}, defaultOptions, options); + the.element = element; + the.overlayElement = null; + the.blocked = false; + the.positionChanged = false; + the.overflowChanged = false; + + // Bind Instance + KTUtil.data(the.element).set('blockui', the); + } + + var _block = function() { + if ( KTEventHandler.trigger(the.element, 'kt.blockui.block', the) === false ) { + return; + } + + var isPage = (the.element.tagName === 'BODY'); + + var position = KTUtil.css(the.element, 'position'); + var overflow = KTUtil.css(the.element, 'overflow'); + var zIndex = isPage ? 10000 : 1; + + if (the.options.zIndex > 0) { + zIndex = the.options.zIndex; + } else { + if (KTUtil.css(the.element, 'z-index') != 'auto') { + zIndex = KTUtil.css(the.element, 'z-index'); + } + } + + the.element.classList.add('blockui'); + + if (position === "absolute" || position === "relative" || position === "fixed") { + KTUtil.css(the.element, 'position', 'relative'); + the.positionChanged = true; + } + + if (the.options.overflow === 'hidden' && overflow === 'visible') { + KTUtil.css(the.element, 'overflow', 'hidden'); + the.overflowChanged = true; + } + + the.overlayElement = document.createElement('DIV'); + the.overlayElement.setAttribute('class', 'blockui-overlay ' + the.options.overlayClass); + + the.overlayElement.innerHTML = the.options.message; + + KTUtil.css(the.overlayElement, 'z-index', zIndex); + + the.element.append(the.overlayElement); + the.blocked = true; + + KTEventHandler.trigger(the.element, 'kt.blockui.after.blocked', the) === false + } + + var _release = function() { + if ( KTEventHandler.trigger(the.element, 'kt.blockui.release', the) === false ) { + return; + } + + the.element.classList.add('blockui'); + + if (the.positionChanged) { + KTUtil.css(the.element, 'position', ''); + } + + if (the.overflowChanged) { + KTUtil.css(the.element, 'overflow', ''); + } + + if (the.overlayElement) { + KTUtil.remove(the.overlayElement); + } + + the.blocked = false; + + KTEventHandler.trigger(the.element, 'kt.blockui.released', the); + } + + var _isBlocked = function() { + return the.blocked; + } + + var _destroy = function() { + KTUtil.data(the.element).remove('blockui'); + } + + // Construct class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Plugin API + the.block = function() { + _block(); + } + + the.release = function() { + _release(); + } + + the.isBlocked = function() { + return _isBlocked(); + } + + the.destroy = function() { + return _destroy(); + } + + // Event API + the.on = function(name, handler) { + return KTEventHandler.on(the.element, name, handler); + } + + the.one = function(name, handler) { + return KTEventHandler.one(the.element, name, handler); + } + + the.off = function(name) { + return KTEventHandler.off(the.element, name); + } + + the.trigger = function(name, event) { + return KTEventHandler.trigger(the.element, name, event, the, event); + } +}; + +// Static methods +KTBlockUI.getInstance = function(element) { + if (element !== null && KTUtil.data(element).has('blockui')) { + return KTUtil.data(element).get('blockui'); + } else { + return null; + } +} + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTBlockUI; +} \ No newline at end of file diff --git a/resources/assets/core/js/components/cookie.js b/resources/assets/core/js/components/cookie.js new file mode 100644 index 0000000..6c62577 --- /dev/null +++ b/resources/assets/core/js/components/cookie.js @@ -0,0 +1,62 @@ +"use strict"; +// DOCS: https://javascript.info/cookie + +// Class definition +var KTCookie = function() { + return { + // returns the cookie with the given name, + // or undefined if not found + get: function(name) { + var matches = document.cookie.match(new RegExp( + "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)" + )); + + return matches ? decodeURIComponent(matches[1]) : null; + }, + + // Please note that a cookie value is encoded, + // so getCookie uses a built-in decodeURIComponent function to decode it. + set: function(name, value, options) { + if ( typeof options === "undefined" || options === null ) { + options = {}; + } + + options = Object.assign({}, { + path: '/' + }, options); + + if ( options.expires instanceof Date ) { + options.expires = options.expires.toUTCString(); + } + + var updatedCookie = encodeURIComponent(name) + "=" + encodeURIComponent(value); + + for ( var optionKey in options ) { + if ( options.hasOwnProperty(optionKey) === false ) { + continue; + } + + updatedCookie += "; " + optionKey; + var optionValue = options[optionKey]; + + if ( optionValue !== true ) { + updatedCookie += "=" + optionValue; + } + } + + document.cookie = updatedCookie; + }, + + // To remove a cookie, we can call it with a negative expiration date: + remove: function(name) { + this.set(name, "", { + 'max-age': -1 + }); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTCookie; +} diff --git a/resources/assets/core/js/components/dialer.js b/resources/assets/core/js/components/dialer.js new file mode 100644 index 0000000..7c18991 --- /dev/null +++ b/resources/assets/core/js/components/dialer.js @@ -0,0 +1,297 @@ +"use strict"; + +// Class definition +var KTDialer = function(element, options) { + //////////////////////////// + // ** Private variables ** // + //////////////////////////// + var the = this; + + if (!element) { + return; + } + + // Default options + var defaultOptions = { + min: null, + max: null, + step: 1, + decimals: 0, + prefix: "", + suffix: "" + }; + + //////////////////////////// + // ** Private methods ** // + //////////////////////////// + + // Constructor + var _construct = function() { + if ( KTUtil.data(element).has('dialer') === true ) { + the = KTUtil.data(element).get('dialer'); + } else { + _init(); + } + } + + // Initialize + var _init = function() { + // Variables + the.options = KTUtil.deepExtend({}, defaultOptions, options); + + // Elements + the.element = element; + the.incElement = the.element.querySelector('[data-kt-dialer-control="increase"]'); + the.decElement = the.element.querySelector('[data-kt-dialer-control="decrease"]'); + the.inputElement = the.element.querySelector('input[type]'); + + // Set Values + if (_getOption('decimals')) { + the.options.decimals = parseInt(_getOption('decimals')); + } + + if (_getOption('prefix')) { + the.options.prefix = _getOption('prefix'); + } + + if (_getOption('suffix')) { + the.options.suffix = _getOption('suffix'); + } + + if (_getOption('step')) { + the.options.step = parseFloat(_getOption('step')); + } + + if (_getOption('min')) { + the.options.min = parseFloat(_getOption('min')); + } + + if (_getOption('max')) { + the.options.max = parseFloat(_getOption('max')); + } + + the.value = parseFloat(the.inputElement.value.replace(/[^\d.]/g, '')); + + _setValue(); + + // Event Handlers + _handlers(); + + // Bind Instance + KTUtil.data(the.element).set('dialer', the); + } + + // Handlers + var _handlers = function() { + KTUtil.addEvent(the.incElement, 'click', function(e) { + e.preventDefault(); + + _increase(); + }); + + KTUtil.addEvent(the.decElement, 'click', function(e) { + e.preventDefault(); + + _decrease(); + }); + + KTUtil.addEvent(the.inputElement, 'input', function(e) { + e.preventDefault(); + + _setValue(); + }); + } + + // Event handlers + var _increase = function() { + // Trigger "after.dialer" event + KTEventHandler.trigger(the.element, 'kt.dialer.increase', the); + + the.inputElement.value = the.value + the.options.step; + _setValue(); + + // Trigger "before.dialer" event + KTEventHandler.trigger(the.element, 'kt.dialer.increased', the); + + return the; + } + + var _decrease = function() { + // Trigger "after.dialer" event + KTEventHandler.trigger(the.element, 'kt.dialer.decrease', the); + + the.inputElement.value = the.value - the.options.step; + + _setValue(); + + // Trigger "before.dialer" event + KTEventHandler.trigger(the.element, 'kt.dialer.decreased', the); + + return the; + } + + // Set Input Value + var _setValue = function(value) { + // Trigger "after.dialer" event + KTEventHandler.trigger(the.element, 'kt.dialer.change', the); + + if (value !== undefined) { + the.value = value; + } else { + the.value = _parse(the.inputElement.value); + } + + if (the.options.min !== null && the.value < the.options.min) { + the.value = the.options.min; + } + + if (the.options.max !== null && the.value > the.options.max) { + the.value = the.options.max; + } + + the.inputElement.value = _format(the.value); + + // Trigger input change event + the.inputElement.dispatchEvent(new Event('change')); + + // Trigger "after.dialer" event + KTEventHandler.trigger(the.element, 'kt.dialer.changed', the); + } + + var _parse = function(val) { + val = val + .replace(/[^0-9.-]/g, '') // remove chars except number, hyphen, point. + .replace(/(\..*)\./g, '$1') // remove multiple points. + .replace(/(?!^)-/g, '') // remove middle hyphen. + .replace(/^0+(\d)/gm, '$1'); // remove multiple leading zeros. <-- I added this. + + val = parseFloat(val); + + if (isNaN(val)) { + val = 0; + } + + return val; + } + + // Format + var _format = function(val){ + return the.options.prefix + parseFloat(val).toFixed(the.options.decimals) + the.options.suffix; + } + + // Get option + var _getOption = function(name) { + if ( the.element.hasAttribute('data-kt-dialer-' + name) === true ) { + var attr = the.element.getAttribute('data-kt-dialer-' + name); + var value = attr; + + return value; + } else { + return null; + } + } + + var _destroy = function() { + KTUtil.data(the.element).remove('dialer'); + } + + // Construct class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Plugin API + the.setMinValue = function(value) { + the.options.min = value; + } + + the.setMaxValue = function(value) { + the.options.max = value; + } + + the.setValue = function(value) { + _setValue(value); + } + + the.getValue = function() { + return the.inputElement.value; + } + + the.update = function() { + _setValue(); + } + + the.increase = function() { + return _increase(); + } + + the.decrease = function() { + return _decrease(); + } + + the.getElement = function() { + return the.element; + } + + the.destroy = function() { + return _destroy(); + } + + // Event API + the.on = function(name, handler) { + return KTEventHandler.on(the.element, name, handler); + } + + the.one = function(name, handler) { + return KTEventHandler.one(the.element, name, handler); + } + + the.off = function(name) { + return KTEventHandler.off(the.element, name); + } + + the.trigger = function(name, event) { + return KTEventHandler.trigger(the.element, name, event, the, event); + } +}; + +// Static methods +KTDialer.getInstance = function(element) { + if ( element !== null && KTUtil.data(element).has('dialer') ) { + return KTUtil.data(element).get('dialer'); + } else { + return null; + } +} + +// Create instances +KTDialer.createInstances = function(selector = '[data-kt-dialer="true"]') { + // Get instances + var elements = document.body.querySelectorAll(selector); + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + // Initialize instances + new KTDialer(elements[i]); + } + } +} + +// Global initialization +KTDialer.init = function() { + KTDialer.createInstances(); +}; + +// On document ready +if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', KTDialer.init); +} else { + KTDialer.init(); +} + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTDialer; +} \ No newline at end of file diff --git a/resources/assets/core/js/components/drawer.js b/resources/assets/core/js/components/drawer.js new file mode 100644 index 0000000..e6905eb --- /dev/null +++ b/resources/assets/core/js/components/drawer.js @@ -0,0 +1,460 @@ +"use strict"; + +// Class definition +var KTDrawer = function(element, options) { + ////////////////////////////// + // ** Private variables ** // + ////////////////////////////// + var the = this; + var body = document.getElementsByTagName("BODY")[0]; + + if ( typeof element === "undefined" || element === null ) { + return; + } + + // Default options + var defaultOptions = { + overlay: true, + direction: 'end', + baseClass: 'drawer', + overlayClass: 'drawer-overlay' + }; + + //////////////////////////// + // ** Private methods ** // + //////////////////////////// + + var _construct = function() { + if ( KTUtil.data(element).has('drawer') ) { + the = KTUtil.data(element).get('drawer'); + } else { + _init(); + } + } + + var _init = function() { + // Variables + the.options = KTUtil.deepExtend({}, defaultOptions, options); + the.uid = KTUtil.getUniqueId('drawer'); + the.element = element; + the.overlayElement = null; + the.name = the.element.getAttribute('data-kt-drawer-name'); + the.shown = false; + the.lastWidth; + the.toggleElement = null; + + // Set initialized + the.element.setAttribute('data-kt-drawer', 'true'); + + // Event Handlers + _handlers(); + + // Update Instance + _update(); + + // Bind Instance + KTUtil.data(the.element).set('drawer', the); + } + + var _handlers = function() { + var togglers = _getOption('toggle'); + var closers = _getOption('close'); + + if ( togglers !== null && togglers.length > 0 ) { + KTUtil.on(body, togglers, 'click', function(e) { + e.preventDefault(); + + the.toggleElement = this; + _toggle(); + }); + } + + if ( closers !== null && closers.length > 0 ) { + KTUtil.on(body, closers, 'click', function(e) { + e.preventDefault(); + + the.closeElement = this; + _hide(); + }); + } + } + + var _toggle = function() { + if ( KTEventHandler.trigger(the.element, 'kt.drawer.toggle', the) === false ) { + return; + } + + if ( the.shown === true ) { + _hide(); + } else { + _show(); + } + + KTEventHandler.trigger(the.element, 'kt.drawer.toggled', the); + } + + var _hide = function() { + if ( KTEventHandler.trigger(the.element, 'kt.drawer.hide', the) === false ) { + return; + } + + the.shown = false; + + _deleteOverlay(); + + body.removeAttribute('data-kt-drawer-' + the.name, 'on'); + body.removeAttribute('data-kt-drawer'); + + KTUtil.removeClass(the.element, the.options.baseClass + '-on'); + + if ( the.toggleElement !== null ) { + KTUtil.removeClass(the.toggleElement, 'active'); + } + + KTEventHandler.trigger(the.element, 'kt.drawer.after.hidden', the) === false + } + + var _show = function() { + if ( KTEventHandler.trigger(the.element, 'kt.drawer.show', the) === false ) { + return; + } + + the.shown = true; + + _createOverlay(); + body.setAttribute('data-kt-drawer-' + the.name, 'on'); + body.setAttribute('data-kt-drawer', 'on'); + + KTUtil.addClass(the.element, the.options.baseClass + '-on'); + + if ( the.toggleElement !== null ) { + KTUtil.addClass(the.toggleElement, 'active'); + } + + KTEventHandler.trigger(the.element, 'kt.drawer.shown', the); + } + + var _update = function() { + var width = _getWidth(); + var direction = _getOption('direction'); + + var top = _getOption('top'); + var bottom = _getOption('bottom'); + var start = _getOption('start'); + var end = _getOption('end'); + + // Reset state + if ( KTUtil.hasClass(the.element, the.options.baseClass + '-on') === true && String(body.getAttribute('data-kt-drawer-' + the.name + '-')) === 'on' ) { + the.shown = true; + } else { + the.shown = false; + } + + // Activate/deactivate + if ( _getOption('activate') === true ) { + KTUtil.addClass(the.element, the.options.baseClass); + KTUtil.addClass(the.element, the.options.baseClass + '-' + direction); + + KTUtil.css(the.element, 'width', width, true); + the.lastWidth = width; + + if (top) { + KTUtil.css(the.element, 'top', top); + } + + if (bottom) { + KTUtil.css(the.element, 'bottom', bottom); + } + + if (start) { + if (KTUtil.isRTL()) { + KTUtil.css(the.element, 'right', start); + } else { + KTUtil.css(the.element, 'left', start); + } + } + + if (end) { + if (KTUtil.isRTL()) { + KTUtil.css(the.element, 'left', end); + } else { + KTUtil.css(the.element, 'right', end); + } + } + } else { + KTUtil.removeClass(the.element, the.options.baseClass); + KTUtil.removeClass(the.element, the.options.baseClass + '-' + direction); + + KTUtil.css(the.element, 'width', ''); + + if (top) { + KTUtil.css(the.element, 'top', ''); + } + + if (bottom) { + KTUtil.css(the.element, 'bottom', ''); + } + + if (start) { + if (KTUtil.isRTL()) { + KTUtil.css(the.element, 'right', ''); + } else { + KTUtil.css(the.element, 'left', ''); + } + } + + if (end) { + if (KTUtil.isRTL()) { + KTUtil.css(the.element, 'left', ''); + } else { + KTUtil.css(the.element, 'right', ''); + } + } + + _hide(); + } + } + + var _createOverlay = function() { + if ( _getOption('overlay') === true ) { + the.overlayElement = document.createElement('DIV'); + + KTUtil.css(the.overlayElement, 'z-index', KTUtil.css(the.element, 'z-index') - 1); // update + + body.append(the.overlayElement); + + KTUtil.addClass(the.overlayElement, _getOption('overlay-class')); + + KTUtil.addEvent(the.overlayElement, 'click', function(e) { + e.preventDefault(); + _hide(); + }); + } + } + + var _deleteOverlay = function() { + if ( the.overlayElement !== null ) { + KTUtil.remove(the.overlayElement); + } + } + + var _getOption = function(name) { + if ( the.element.hasAttribute('data-kt-drawer-' + name) === true ) { + var attr = the.element.getAttribute('data-kt-drawer-' + name); + var value = KTUtil.getResponsiveValue(attr); + + if ( value !== null && String(value) === 'true' ) { + value = true; + } else if ( value !== null && String(value) === 'false' ) { + value = false; + } + + return value; + } else { + var optionName = KTUtil.snakeToCamel(name); + + if ( the.options[optionName] ) { + return KTUtil.getResponsiveValue(the.options[optionName]); + } else { + return null; + } + } + } + + var _getWidth = function() { + var width = _getOption('width'); + + if ( width === 'auto') { + width = KTUtil.css(the.element, 'width'); + } + + return width; + } + + var _destroy = function() { + KTUtil.data(the.element).remove('drawer'); + } + + // Construct class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Plugin API + the.toggle = function() { + return _toggle(); + } + + the.show = function() { + return _show(); + } + + the.hide = function() { + return _hide(); + } + + the.isShown = function() { + return the.shown; + } + + the.update = function() { + _update(); + } + + the.goElement = function() { + return the.element; + } + + the.destroy = function() { + return _destroy(); + } + + // Event API + the.on = function(name, handler) { + return KTEventHandler.on(the.element, name, handler); + } + + the.one = function(name, handler) { + return KTEventHandler.one(the.element, name, handler); + } + + the.off = function(name) { + return KTEventHandler.off(the.element, name); + } + + the.trigger = function(name, event) { + return KTEventHandler.trigger(the.element, name, event, the, event); + } +}; + +// Static methods +KTDrawer.getInstance = function(element) { + if (element !== null && KTUtil.data(element).has('drawer')) { + return KTUtil.data(element).get('drawer'); + } else { + return null; + } +} + +// Hide all drawers and skip one if provided +KTDrawer.hideAll = function(skip = null, selector = '[data-kt-drawer="true"]') { + var items = document.querySelectorAll(selector); + + if (items && items.length > 0) { + for (var i = 0, len = items.length; i < len; i++) { + var item = items[i]; + var drawer = KTDrawer.getInstance(item); + + if (!drawer) { + continue; + } + + if ( skip ) { + if ( item !== skip ) { + drawer.hide(); + } + } else { + drawer.hide(); + } + } + } +} + +// Update all drawers +KTDrawer.updateAll = function(selector = '[data-kt-drawer="true"]') { + var items = document.querySelectorAll(selector); + + if (items && items.length > 0) { + for (var i = 0, len = items.length; i < len; i++) { + var item = items[i]; + var drawer = KTDrawer.getInstance(item); + + if (drawer) { + drawer.update();; + } + } + } +} + +// Create instances +KTDrawer.createInstances = function(selector = '[data-kt-drawer="true"]') { + var body = document.getElementsByTagName("BODY")[0]; + + // Initialize Menus + var elements = body.querySelectorAll(selector); + var drawer; + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + drawer = new KTDrawer(elements[i]); + } + } +} + +// Toggle instances +KTDrawer.handleShow = function() { + // External drawer toggle handler + KTUtil.on(document.body, '[data-kt-drawer-show="true"][data-kt-drawer-target]', 'click', function(e) { + var element = document.querySelector(this.getAttribute('data-kt-drawer-target')); + + if (element) { + KTDrawer.getInstance(element).show(); + } + }); +} + +// Dismiss instances +KTDrawer.handleDismiss = function() { + // External drawer toggle handler + KTUtil.on(document.body, '[data-kt-drawer-dismiss="true"]', 'click', function(e) { + var element = this.closest('[data-kt-drawer="true"]'); + + if (element) { + var drawer = KTDrawer.getInstance(element); + if (drawer.isShown()) { + drawer.hide(); + } + } + }); +} + +// Window resize Handling +window.addEventListener('resize', function() { + var timer; + var body = document.getElementsByTagName("BODY")[0]; + + KTUtil.throttle(timer, function() { + // Locate and update drawer instances on window resize + var elements = body.querySelectorAll('[data-kt-drawer="true"]'); + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + var drawer = KTDrawer.getInstance(elements[i]); + if (drawer) { + drawer.update(); + } + } + } + }, 200); +}); + +// Global initialization +KTDrawer.init = function() { + KTDrawer.createInstances(); + KTDrawer.handleShow(); + KTDrawer.handleDismiss(); +}; + +// On document ready +if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', KTDrawer.init); +} else { + KTDrawer.init(); +} + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTDrawer; +} \ No newline at end of file diff --git a/resources/assets/core/js/components/event-handler.js b/resources/assets/core/js/components/event-handler.js new file mode 100644 index 0000000..173a3a6 --- /dev/null +++ b/resources/assets/core/js/components/event-handler.js @@ -0,0 +1,93 @@ +"use strict"; + +// Class definition +var KTEventHandler = function() { + //////////////////////////// + // ** Private Variables ** // + //////////////////////////// + var _handlers = {}; + + //////////////////////////// + // ** Private Methods ** // + //////////////////////////// + var _triggerEvent = function(element, name, target, e) { + if ( KTUtil.data(element).has(name) === true ) { + var handlerId = KTUtil.data(element).get(name); + + if ( _handlers[name] && _handlers[name][handlerId] ) { + var handler = _handlers[name][handlerId]; + + if ( handler.name === name ) { + if ( handler.one == true ) { + if ( handler.fired == false ) { + _handlers[name][handlerId].fired = true; + + return handler.callback.call(this, target, e); + } + } else { + return handler.callback.call(this, target, e); + } + } + } + } + + return null; + } + + var _addEvent = function(element, name, callback, one) { + var handlerId = KTUtil.getUniqueId('event'); + + KTUtil.data(element).set(name, handlerId); + + if ( !_handlers[name] ) { + _handlers[name] = {}; + } + + _handlers[name][handlerId] = { + name: name, + callback: callback, + one: one, + fired: false + }; + } + + var _removeEvent = function(element, name) { + var handlerId = KTUtil.data(element).get(name); + + if (_handlers[name] && _handlers[name][handlerId]) { + delete _handlers[name][handlerId]; + } + } + + //////////////////////////// + // ** Public Methods ** // + //////////////////////////// + return { + trigger: function(element, name, target, e) { + return _triggerEvent(element, name, target, e); + }, + + on: function(element, name, handler) { + return _addEvent(element, name, handler); + }, + + one: function(element, name, handler) { + return _addEvent(element, name, handler, true); + }, + + off: function(element, name) { + return _removeEvent(element, name); + }, + + debug: function() { + for (var b in _handlers) { + if ( _handlers.hasOwnProperty(b) ) console.log(b); + } + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTEventHandler; +} diff --git a/resources/assets/core/js/components/feedback.js b/resources/assets/core/js/components/feedback.js new file mode 100644 index 0000000..9214128 --- /dev/null +++ b/resources/assets/core/js/components/feedback.js @@ -0,0 +1,164 @@ +"use strict"; + +// Class definition +var KTFeedback = function(options) { + //////////////////////////// + // ** Private Variables ** // + //////////////////////////// + var the = this; + var body = document.getElementsByTagName("BODY")[0]; + + // Default options + var defaultOptions = { + 'width' : 100, + 'placement' : 'top-center', + 'content' : '', + 'type': 'popup' + }; + + //////////////////////////// + // ** Private methods ** // + //////////////////////////// + + var _construct = function() { + _init(); + } + + var _init = function() { + // Variables + the.options = KTUtil.deepExtend({}, defaultOptions, options); + the.uid = KTUtil.getUniqueId('feedback'); + the.element; + the.shown = false; + + // Event Handlers + _handlers(); + + // Bind Instance + KTUtil.data(the.element).set('feedback', the); + } + + var _handlers = function() { + KTUtil.addEvent(the.element, 'click', function(e) { + e.preventDefault(); + + _go(); + }); + } + + var _show = function() { + if ( KTEventHandler.trigger(the.element, 'kt.feedback.show', the) === false ) { + return; + } + + if ( the.options.type === 'popup') { + _showPopup(); + } + + KTEventHandler.trigger(the.element, 'kt.feedback.shown', the); + + return the; + } + + var _hide = function() { + if ( KTEventHandler.trigger(the.element, 'kt.feedback.hide', the) === false ) { + return; + } + + if ( the.options.type === 'popup') { + _hidePopup(); + } + + the.shown = false; + + KTEventHandler.trigger(the.element, 'kt.feedback.hidden', the); + + return the; + } + + var _showPopup = function() { + the.element = document.createElement("DIV"); + + KTUtil.addClass(the.element, 'feedback feedback-popup'); + KTUtil.setHTML(the.element, the.options.content); + + if (the.options.placement == 'top-center') { + _setPopupTopCenterPosition(); + } + + body.appendChild(the.element); + + KTUtil.addClass(the.element, 'feedback-shown'); + + the.shown = true; + } + + var _setPopupTopCenterPosition = function() { + var width = KTUtil.getResponsiveValue(the.options.width); + var height = KTUtil.css(the.element, 'height'); + + KTUtil.addClass(the.element, 'feedback-top-center'); + + KTUtil.css(the.element, 'width', width); + KTUtil.css(the.element, 'left', '50%'); + KTUtil.css(the.element, 'top', '-' + height); + } + + var _hidePopup = function() { + the.element.remove(); + } + + var _destroy = function() { + KTUtil.data(the.element).remove('feedback'); + } + + // Construct class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Plugin API + the.show = function() { + return _show(); + } + + the.hide = function() { + return _hide(); + } + + the.isShown = function() { + return the.shown; + } + + the.getElement = function() { + return the.element; + } + + the.destroy = function() { + return _destroy(); + } + + // Event API + the.on = function(name, handler) { + return KTEventHandler.on(the.element, name, handler); + } + + the.one = function(name, handler) { + return KTEventHandler.one(the.element, name, handler); + } + + the.off = function(name) { + return KTEventHandler.off(the.element, name); + } + + the.trigger = function(name, event) { + return KTEventHandler.trigger(the.element, name, event, the, event); + } +}; + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTFeedback; +} diff --git a/resources/assets/core/js/components/image-input.js b/resources/assets/core/js/components/image-input.js new file mode 100644 index 0000000..d2d6ec5 --- /dev/null +++ b/resources/assets/core/js/components/image-input.js @@ -0,0 +1,216 @@ +"use strict"; + +// Class definition +var KTImageInput = function(element, options) { + //////////////////////////// + // ** Private Variables ** // + //////////////////////////// + var the = this; + + if ( typeof element === "undefined" || element === null ) { + return; + } + + // Default Options + var defaultOptions = { + + }; + + //////////////////////////// + // ** Private Methods ** // + //////////////////////////// + + var _construct = function() { + if ( KTUtil.data(element).has('image-input') === true ) { + the = KTUtil.data(element).get('image-input'); + } else { + _init(); + } + } + + var _init = function() { + // Variables + the.options = KTUtil.deepExtend({}, defaultOptions, options); + the.uid = KTUtil.getUniqueId('image-input'); + + // Elements + the.element = element; + the.inputElement = KTUtil.find(element, 'input[type="file"]'); + the.wrapperElement = KTUtil.find(element, '.image-input-wrapper'); + the.cancelElement = KTUtil.find(element, '[data-kt-image-input-action="cancel"]'); + the.removeElement = KTUtil.find(element, '[data-kt-image-input-action="remove"]'); + the.hiddenElement = KTUtil.find(element, 'input[type="hidden"]'); + the.src = KTUtil.css(the.wrapperElement, 'backgroundImage'); + + // Set initialized + the.element.setAttribute('data-kt-image-input', 'true'); + + // Event Handlers + _handlers(); + + // Bind Instance + KTUtil.data(the.element).set('image-input', the); + } + + // Init Event Handlers + var _handlers = function() { + KTUtil.addEvent(the.inputElement, 'change', _change); + KTUtil.addEvent(the.cancelElement, 'click', _cancel); + KTUtil.addEvent(the.removeElement, 'click', _remove); + } + + // Event Handlers + var _change = function(e) { + e.preventDefault(); + + if ( the.inputElement !== null && the.inputElement.files && the.inputElement.files[0] ) { + // Fire change event + if ( KTEventHandler.trigger(the.element, 'kt.imageinput.change', the) === false ) { + return; + } + + var reader = new FileReader(); + + reader.onload = function(e) { + KTUtil.css(the.wrapperElement, 'background-image', 'url('+ e.target.result +')'); + } + + reader.readAsDataURL(the.inputElement.files[0]); + + the.element.classList.add('image-input-changed'); + the.element.classList.remove('image-input-empty'); + + // Fire removed event + KTEventHandler.trigger(the.element, 'kt.imageinput.changed', the); + } + } + + var _cancel = function(e) { + e.preventDefault(); + + // Fire cancel event + if ( KTEventHandler.trigger(the.element, 'kt.imageinput.cancel', the) === false ) { + return; + } + + the.element.classList.remove('image-input-changed'); + the.element.classList.remove('image-input-empty'); + + if (the.src === 'none') { + KTUtil.css(the.wrapperElement, 'background-image', ''); + the.element.classList.add('image-input-empty'); + } else { + KTUtil.css(the.wrapperElement, 'background-image', the.src); + } + + the.inputElement.value = ""; + + if ( the.hiddenElement !== null ) { + the.hiddenElement.value = "0"; + } + + // Fire canceled event + KTEventHandler.trigger(the.element, 'kt.imageinput.canceled', the); + } + + var _remove = function(e) { + e.preventDefault(); + + // Fire remove event + if ( KTEventHandler.trigger(the.element, 'kt.imageinput.remove', the) === false ) { + return; + } + + the.element.classList.remove('image-input-changed'); + the.element.classList.add('image-input-empty'); + + KTUtil.css(the.wrapperElement, 'background-image', "none"); + the.inputElement.value = ""; + + if ( the.hiddenElement !== null ) { + the.hiddenElement.value = "1"; + } + + // Fire removed event + KTEventHandler.trigger(the.element, 'kt.imageinput.removed', the); + } + + var _destroy = function() { + KTUtil.data(the.element).remove('image-input'); + } + + // Construct Class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Plugin API + the.getInputElement = function() { + return the.inputElement; + } + + the.goElement = function() { + return the.element; + } + + the.destroy = function() { + return _destroy(); + } + + // Event API + the.on = function(name, handler) { + return KTEventHandler.on(the.element, name, handler); + } + + the.one = function(name, handler) { + return KTEventHandler.one(the.element, name, handler); + } + + the.off = function(name) { + return KTEventHandler.off(the.element, name); + } + + the.trigger = function(name, event) { + return KTEventHandler.trigger(the.element, name, event, the, event); + } +}; + +// Static methods +KTImageInput.getInstance = function(element) { + if ( element !== null && KTUtil.data(element).has('image-input') ) { + return KTUtil.data(element).get('image-input'); + } else { + return null; + } +} + +// Create instances +KTImageInput.createInstances = function(selector = '[data-kt-image-input]') { + // Initialize Menus + var elements = document.querySelectorAll(selector); + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + new KTImageInput(elements[i]); + } + } +} + +// Global initialization +KTImageInput.init = function() { + KTImageInput.createInstances(); +}; + +// On document ready +if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', KTImageInput.init); +} else { + KTImageInput.init(); +} + +// Webpack Support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTImageInput; +} diff --git a/resources/assets/core/js/components/menu.js b/resources/assets/core/js/components/menu.js new file mode 100644 index 0000000..4d002a6 --- /dev/null +++ b/resources/assets/core/js/components/menu.js @@ -0,0 +1,1017 @@ +"use strict"; + +// Class definition +var KTMenu = function(element, options) { + //////////////////////////// + // ** Private Variables ** // + //////////////////////////// + var the = this; + + if ( typeof element === "undefined" || element === null ) { + return; + } + + // Default Options + var defaultOptions = { + dropdown: { + hoverTimeout: 200, + zindex: 105 + }, + + accordion: { + slideSpeed: 250, + expand: false + } + }; + + //////////////////////////// + // ** Private Methods ** // + //////////////////////////// + + var _construct = function() { + if ( KTUtil.data(element).has('menu') === true ) { + the = KTUtil.data(element).get('menu'); + } else { + _init(); + } + } + + var _init = function() { + the.options = KTUtil.deepExtend({}, defaultOptions, options); + the.uid = KTUtil.getUniqueId('menu'); + the.element = element; + the.triggerElement; + + // Set initialized + the.element.setAttribute('data-kt-menu', 'true'); + + _setTriggerElement(); + _update(); + + KTUtil.data(the.element).set('menu', the); + } + + var _destroy = function() { // todo + + } + + // Event Handlers + // Toggle handler + var _click = function(element, e) { + e.preventDefault(); + + var item = _getItemElement(element); + + if ( _getOptionFromElementAttribute(item, 'trigger') !== 'click' ) { + return; + } + + if ( _getOptionFromElementAttribute(item, 'toggle') === false ) { + _show(item); + } else { + _toggle(item); + } + } + + // Link handler + var _link = function(element, e) { + if ( KTEventHandler.trigger(the.element, 'kt.menu.link.click', element) === false ) { + return; + } + + // Dismiss all shown dropdowns + KTMenu.hideDropdowns(); + + KTEventHandler.trigger(the.element, 'kt.menu.link.clicked', element); + } + + // Dismiss handler + var _dismiss = function(element, e) { + var item = _getItemElement(element); + var items = _getItemChildElements(item); + + if ( item !== null && _getItemSubType(item) === 'dropdown') { + _hide(item); // hide items dropdown + // Hide all child elements as well + + if ( items.length > 0 ) { + for (var i = 0, len = items.length; i < len; i++) { + if ( items[i] !== null && _getItemSubType(items[i]) === 'dropdown') { + _hide(tems[i]); + } + } + } + } + } + + // Mouseover handle + var _mouseover = function(element, e) { + var item = _getItemElement(element); + + if ( item === null ) { + return; + } + + if ( _getOptionFromElementAttribute(item, 'trigger') !== 'hover' ) { + return; + } + + if ( KTUtil.data(item).get('hover') === '1' ) { + clearTimeout(KTUtil.data(item).get('timeout')); + KTUtil.data(item).remove('hover'); + KTUtil.data(item).remove('timeout'); + } + + _show(item); + } + + // Mouseout handle + var _mouseout = function(element, e) { + var item = _getItemElement(element); + + if ( item === null ) { + return; + } + + if ( _getOptionFromElementAttribute(item, 'trigger') !== 'hover' ) { + return; + } + + var timeout = setTimeout(function() { + if ( KTUtil.data(item).get('hover') === '1' ) { + _hide(item); + } + }, the.options.dropdown.hoverTimeout); + + KTUtil.data(item).set('hover', '1'); + KTUtil.data(item).set('timeout', timeout); + } + + // Toggle item sub + var _toggle = function(item) { + if ( !item ) { + item = the.triggerElement; + } + + if ( _isItemSubShown(item) === true ) { + _hide(item); + } else { + _show(item); + } + } + + // Show item sub + var _show = function(item) { + if ( !item ) { + item = the.triggerElement; + } + + if ( _isItemSubShown(item) === true ) { + return; + } + + if ( _getItemSubType(item) === 'dropdown' ) { + _showDropdown(item); // // show current dropdown + } else if ( _getItemSubType(item) === 'accordion' ) { + _showAccordion(item); + } + + // Remember last submenu type + KTUtil.data(item).set('type', _getItemSubType(item)); // updated + } + + // Hide item sub + var _hide = function(item) { + if ( !item ) { + item = the.triggerElement; + } + + if ( _isItemSubShown(item) === false ) { + return; + } + + if ( _getItemSubType(item) === 'dropdown' ) { + _hideDropdown(item); + } else if ( _getItemSubType(item) === 'accordion' ) { + _hideAccordion(item); + } + } + + // Reset item state classes if item sub type changed + var _reset = function(item) { + if ( _hasItemSub(item) === false ) { + return; + } + + var sub = _getItemSubElement(item); + + // Reset sub state if sub type is changed during the window resize + if ( KTUtil.data(item).has('type') && KTUtil.data(item).get('type') !== _getItemSubType(item) ) { // updated + KTUtil.removeClass(item, 'hover'); + KTUtil.removeClass(item, 'show'); + KTUtil.removeClass(sub, 'show'); + } // updated + } + + // Update all item state classes if item sub type changed + var _update = function() { + var items = the.element.querySelectorAll('.menu-item[data-kt-menu-trigger]'); + + if ( items && items.length > 0 ) { + for (var i = 0, len = items.length; i < len; i++) { + _reset(items[i]); + } + } + } + + // Set external trigger element + var _setTriggerElement = function() { + var target = document.querySelector('[data-kt-menu-target="# ' + the.element.getAttribute('id') + '"]'); + + if ( target !== null ) { + the.triggerElement = target; + } else if ( the.element.closest('[data-kt-menu-trigger]') ) { + the.triggerElement = the.element.closest('[data-kt-menu-trigger]'); + } else if ( the.element.parentNode && KTUtil.child(the.element.parentNode, '[data-kt-menu-trigger]')) { + the.triggerElement = KTUtil.child(the.element.parentNode, '[data-kt-menu-trigger]'); + } + + if ( the.triggerElement ) { + KTUtil.data(the.triggerElement).set('menu', the); + } + } + + // Test if menu has external trigger element + var _isTriggerElement = function(item) { + return ( the.triggerElement === item ) ? true : false; + } + + // Test if item's sub is shown + var _isItemSubShown = function(item) { + var sub = _getItemSubElement(item); + + if ( sub !== null ) { + if ( _getItemSubType(item) === 'dropdown' ) { + if ( KTUtil.hasClass(sub, 'show') === true && sub.hasAttribute('data-popper-placement') === true ) { + return true; + } else { + return false; + } + } else { + return KTUtil.hasClass(item, 'show'); + } + } else { + return false; + } + } + + // Test if item dropdown is permanent + var _isItemDropdownPermanent = function(item) { + return _getOptionFromElementAttribute(item, 'permanent') === true ? true : false; + } + + // Test if item's parent is shown + var _isItemParentShown = function(item) { + return KTUtil.parents(item, '.menu-item.show').length > 0; + } + + // Test of it is item sub element + var _isItemSubElement = function(item) { + return KTUtil.hasClass(item, 'menu-sub'); + } + + // Test if item has sub + var _hasItemSub = function(item) { + return (KTUtil.hasClass(item, 'menu-item') && item.hasAttribute('data-kt-menu-trigger')); + } + + // Get link element + var _getItemLinkElement = function(item) { + return KTUtil.child(item, '.menu-link'); + } + + // Get toggle element + var _getItemToggleElement = function(item) { + if ( the.triggerElement ) { + return the.triggerElement; + } else { + return _getItemLinkElement(item); + } + } + + // Get item sub element + var _getItemSubElement = function(item) { + if ( _isTriggerElement(item) === true ) { + return the.element; + } if ( item.classList.contains('menu-sub') === true ) { + return item; + } else if ( KTUtil.data(item).has('sub') ) { + return KTUtil.data(item).get('sub'); + } else { + return KTUtil.child(item, '.menu-sub'); + } + } + + // Get item sub type + var _getItemSubType = function(element) { + var sub = _getItemSubElement(element); + + if ( sub && parseInt(KTUtil.css(sub, 'z-index')) > 0 ) { + return "dropdown"; + } else { + return "accordion"; + } + } + + // Get item element + var _getItemElement = function(element) { + var item, sub; + + // Element is the external trigger element + if (_isTriggerElement(element) ) { + return element; + } + + // Element has item toggler attribute + if ( element.hasAttribute('data-kt-menu-trigger') ) { + return element; + } + + // Element has item DOM reference in it's data storage + if ( KTUtil.data(element).has('item') ) { + return KTUtil.data(element).get('item'); + } + + // Item is parent of element + if ( (item = element.closest('.menu-item[data-kt-menu-trigger]')) ) { + return item; + } + + // Element's parent has item DOM reference in it's data storage + if ( (sub = element.closest('.menu-sub')) ) { + if ( KTUtil.data(sub).has('item') === true ) { + return KTUtil.data(sub).get('item') + } + } + } + + // Get item parent element + var _getItemParentElement = function(item) { + var sub = item.closest('.menu-sub'); + var parentItem; + + if ( KTUtil.data(sub).has('item') ) { + return KTUtil.data(sub).get('item'); + } + + if ( sub && (parentItem = sub.closest('.menu-item[data-kt-menu-trigger]')) ) { + return parentItem; + } + + return null; + } + + // Get item parent elements + var _getItemParentElements = function(item) { + var parents = []; + var parent; + var i = 0; + + do { + parent = _getItemParentElement(item); + + if ( parent ) { + parents.push(parent); + item = parent; + } + + i++; + } while (parent !== null && i < 20); + + if ( the.triggerElement ) { + parents.unshift(the.triggerElement); + } + + return parents; + } + + // Get item child element + var _getItemChildElement = function(item) { + var selector = item; + var element; + + if ( KTUtil.data(item).get('sub') ) { + selector = KTUtil.data(item).get('sub'); + } + + if ( selector !== null ) { + //element = selector.querySelector('.show.menu-item[data-kt-menu-trigger]'); + element = selector.querySelector('.menu-item[data-kt-menu-trigger]'); + + if ( element ) { + return element; + } else { + return null; + } + } else { + return null; + } + } + + // Get item child elements + var _getItemChildElements = function(item) { + var children = []; + var child; + var i = 0; + + do { + child = _getItemChildElement(item); + + if ( child ) { + children.push(child); + item = child; + } + + i++; + } while (child !== null && i < 20); + + return children; + } + + // Show item dropdown + var _showDropdown = function(item) { + // Handle dropdown show event + if ( KTEventHandler.trigger(the.element, 'kt.menu.dropdown.show', item) === false ) { + return; + } + + // Hide all currently shown dropdowns except current one + KTMenu.hideDropdowns(item); + + var toggle = _isTriggerElement(item) ? item : _getItemLinkElement(item); + var sub = _getItemSubElement(item); + + var width = _getOptionFromElementAttribute(item, 'width'); + var height = _getOptionFromElementAttribute(item, 'height'); + + var zindex = the.options.dropdown.zindex; // update + var parentZindex = KTUtil.getHighestZindex(item); // update + + // Apply a new z-index if dropdown's toggle element or it's parent has greater z-index // update + if ( parentZindex !== null && parentZindex >= zindex ) { + zindex = parentZindex + 1; + } + + if ( zindex > 0 ) { + KTUtil.css(sub, 'z-index', zindex); + } + + if ( width !== null ) { + KTUtil.css(sub, 'width', width); + } + + if ( height !== null ) { + KTUtil.css(sub, 'height', height); + } + + KTUtil.css(sub, 'display', ''); + KTUtil.css(sub, 'overflow', ''); + + // Init popper(new) + _initDropdownPopper(item, sub); + + KTUtil.addClass(item, 'show'); + KTUtil.addClass(item, 'menu-dropdown'); + KTUtil.addClass(sub, 'show'); + + // Append the sub the the root of the menu + if ( _getOptionFromElementAttribute(item, 'overflow') === true ) { + document.body.appendChild(sub); + KTUtil.data(item).set('sub', sub); + KTUtil.data(sub).set('item', item); + KTUtil.data(sub).set('menu', the); + } else { + KTUtil.data(sub).set('item', item); + } + + // Handle dropdown shown event + KTEventHandler.trigger(the.element, 'kt.menu.dropdown.shown', item); + } + + // Hide item dropdown + var _hideDropdown = function(item) { + // Handle dropdown hide event + if ( KTEventHandler.trigger(the.element, 'kt.menu.dropdown.hide', item) === false ) { + return; + } + + var sub = _getItemSubElement(item); + + KTUtil.css(sub, 'z-index', ''); + KTUtil.css(sub, 'width', ''); + KTUtil.css(sub, 'height', ''); + + KTUtil.removeClass(item, 'show'); + KTUtil.removeClass(item, 'menu-dropdown'); + KTUtil.removeClass(sub, 'show'); + + // Append the sub back to it's parent + if ( _getOptionFromElementAttribute(item, 'overflow') === true ) { + if (item.classList.contains('menu-item')) { + item.appendChild(sub); + } else { + KTUtil.insertAfter(the.element, item); + } + + KTUtil.data(item).remove('sub'); + KTUtil.data(sub).remove('item'); + KTUtil.data(sub).remove('menu'); + } + + // Destroy popper(new) + _destroyDropdownPopper(item); + + // Handle dropdown hidden event + KTEventHandler.trigger(the.element, 'kt.menu.dropdown.hidden', item); + } + + // Init dropdown popper(new) + var _initDropdownPopper = function(item, sub) { + // Setup popper instance + var reference; + var attach = _getOptionFromElementAttribute(item, 'attach'); + + if ( attach ) { + if ( attach === 'parent') { + reference = item.parentNode; + } else { + reference = document.querySelector(attach); + } + } else { + reference = item; + } + + var popper = Popper.createPopper(reference, sub, _getDropdownPopperConfig(item)); + KTUtil.data(item).set('popper', popper); + } + + // Destroy dropdown popper(new) + var _destroyDropdownPopper = function(item) { + if ( KTUtil.data(item).has('popper') === true ) { + KTUtil.data(item).get('popper').destroy(); + KTUtil.data(item).remove('popper'); + } + } + + // Prepare popper config for dropdown(see: https://popper.js.org/docs/v2/) + var _getDropdownPopperConfig = function(item) { + // Placement + var placement = _getOptionFromElementAttribute(item, 'placement'); + if (!placement) { + placement = 'right'; + } + + // Offset + var offsetValue = _getOptionFromElementAttribute(item, 'offset'); + var offset = offsetValue ? offsetValue.split(",") : []; + + if (offset.length === 2) { + offset[0] = parseInt(offset[0]); + offset[1] = parseInt(offset[1]); + } + + // Strategy + var strategy = _getOptionFromElementAttribute(item, 'overflow') === true ? 'absolute' : 'fixed'; + + var altAxis = _getOptionFromElementAttribute(item, 'flip') !== false ? true : false; + + var popperConfig = { + placement: placement, + strategy: strategy, + modifiers: [{ + name: 'offset', + options: { + offset: offset + } + }, { + name: 'preventOverflow', + options: { + altAxis: altAxis + } + }, { + name: 'flip', + options: { + flipVariations: false + } + }] + }; + + return popperConfig; + } + + // Show item accordion + var _showAccordion = function(item) { + if ( KTEventHandler.trigger(the.element, 'kt.menu.accordion.show', item) === false ) { + return; + } + + var sub = _getItemSubElement(item); + var expand = the.options.accordion.expand; + + if (_getOptionFromElementAttribute(item, 'expand') === true) { + expand = true; + } else if (_getOptionFromElementAttribute(item, 'expand') === false) { + expand = false; + } else if (_getOptionFromElementAttribute(the.element, 'expand') === true) { + expand = true; + } + + if ( expand === false ) { + _hideAccordions(item); + } + + if ( KTUtil.data(item).has('popper') === true ) { + _hideDropdown(item); + } + + KTUtil.addClass(item, 'hover'); + + KTUtil.addClass(item, 'showing'); + + KTUtil.slideDown(sub, the.options.accordion.slideSpeed, function() { + KTUtil.removeClass(item, 'showing'); + KTUtil.addClass(item, 'show'); + KTUtil.addClass(sub, 'show'); + + KTEventHandler.trigger(the.element, 'kt.menu.accordion.shown', item); + }); + } + + // Hide item accordion + var _hideAccordion = function(item) { + if ( KTEventHandler.trigger(the.element, 'kt.menu.accordion.hide', item) === false ) { + return; + } + + var sub = _getItemSubElement(item); + + KTUtil.addClass(item, 'hiding'); + + KTUtil.slideUp(sub, the.options.accordion.slideSpeed, function() { + KTUtil.removeClass(item, 'hiding'); + KTUtil.removeClass(item, 'show'); + KTUtil.removeClass(sub, 'show'); + + KTUtil.removeClass(item, 'hover'); // update + + KTEventHandler.trigger(the.element, 'kt.menu.accordion.hidden', item); + }); + } + + // Hide all shown accordions of item + var _hideAccordions = function(item) { + var itemsToHide = KTUtil.findAll(the.element, '.show[data-kt-menu-trigger]'); + var itemToHide; + + if (itemsToHide && itemsToHide.length > 0) { + for (var i = 0, len = itemsToHide.length; i < len; i++) { + itemToHide = itemsToHide[i]; + + if ( _getItemSubType(itemToHide) === 'accordion' && itemToHide !== item && item.contains(itemToHide) === false && itemToHide.contains(item) === false ) { + _hideAccordion(itemToHide); + } + } + } + } + + // Get item option(through html attributes) + var _getOptionFromElementAttribute = function(item, name) { + var attr; + var value = null; + + if ( item && item.hasAttribute('data-kt-menu-' + name) ) { + attr = item.getAttribute('data-kt-menu-' + name); + value = KTUtil.getResponsiveValue(attr); + + if ( value !== null && String(value) === 'true' ) { + value = true; + } else if ( value !== null && String(value) === 'false' ) { + value = false; + } + } + + return value; + } + + var _destroy = function() { + KTUtil.data(the.element).remove('menu'); + } + + // Construct Class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Event Handlers + the.click = function(element, e) { + return _click(element, e); + } + + the.link = function(element, e) { + return _link(element, e); + } + + the.dismiss = function(element, e) { + return _dismiss(element, e); + } + + the.mouseover = function(element, e) { + return _mouseover(element, e); + } + + the.mouseout = function(element, e) { + return _mouseout(element, e); + } + + // General Methods + the.getItemTriggerType = function(item) { + return _getOptionFromElementAttribute(item, 'trigger'); + } + + the.getItemSubType = function(element) { + return _getItemSubType(element); + } + + the.show = function(item) { + return _show(item); + } + + the.hide = function(item) { + return _hide(item); + } + + the.reset = function(item) { + return _reset(item); + } + + the.update = function() { + return _update(); + } + + the.getElement = function() { + return the.element; + } + + the.getItemLinkElement = function(item) { + return _getItemLinkElement(item); + } + + the.getItemToggleElement = function(item) { + return _getItemToggleElement(item); + } + + the.getItemSubElement = function(item) { + return _getItemSubElement(item); + } + + the.getItemParentElements = function(item) { + return _getItemParentElements(item); + } + + the.isItemSubShown = function(item) { + return _isItemSubShown(item); + } + + the.isItemParentShown = function(item) { + return _isItemParentShown(item); + } + + the.getTriggerElement = function() { + return the.triggerElement; + } + + the.isItemDropdownPermanent = function(item) { + return _isItemDropdownPermanent(item); + } + + the.destroy = function() { + return _destroy(); + } + + // Accordion Mode Methods + the.hideAccordions = function(item) { + return _hideAccordions(item); + } + + // Event API + the.on = function(name, handler) { + return KTEventHandler.on(the.element, name, handler); + } + + the.one = function(name, handler) { + return KTEventHandler.one(the.element, name, handler); + } + + the.off = function(name) { + return KTEventHandler.off(the.element, name); + } +}; + +// Get KTMenu instance by element +KTMenu.getInstance = function(element) { + var menu; + var item; + + // Element has menu DOM reference in it's DATA storage + if ( KTUtil.data(element).has('menu') ) { + return KTUtil.data(element).get('menu'); + } + + // Element has .menu parent + if ( menu = element.closest('.menu') ) { + if ( KTUtil.data(menu).has('menu') ) { + return KTUtil.data(menu).get('menu'); + } + } + + // Element has a parent with DOM reference to .menu in it's DATA storage + if ( KTUtil.hasClass(element, 'menu-link') ) { + var sub = element.closest('.menu-sub'); + + if ( KTUtil.data(sub).has('menu') ) { + return KTUtil.data(sub).get('menu'); + } + } + + return null; +} + +// Hide all dropdowns and skip one if provided +KTMenu.hideDropdowns = function(skip) { + var items = document.querySelectorAll('.show.menu-dropdown[data-kt-menu-trigger]'); + + if (items && items.length > 0) { + for (var i = 0, len = items.length; i < len; i++) { + var item = items[i]; + var menu = KTMenu.getInstance(item); + + if ( menu && menu.getItemSubType(item) === 'dropdown' ) { + if ( skip ) { + if ( menu.getItemSubElement(item).contains(skip) === false && item.contains(skip) === false && item !== skip ) { + menu.hide(item); + } + } else { + menu.hide(item); + } + } + } + } +} + +// Update all dropdowns popover instances +KTMenu.updateDropdowns = function() { + var items = document.querySelectorAll('.show.menu-dropdown[data-kt-menu-trigger]'); + + if (items && items.length > 0) { + for (var i = 0, len = items.length; i < len; i++) { + var item = items[i]; + + if ( KTUtil.data(item).has('popper') ) { + KTUtil.data(item).get('popper').forceUpdate(); + } + } + } +} + +// Global handlers +KTMenu.initGlobalHandlers = function() { + // Dropdown handler + document.addEventListener("click", function(e) { + var items = document.querySelectorAll('.show.menu-dropdown[data-kt-menu-trigger]'); + var menu; + var item; + var sub; + var menuObj; + + if ( items && items.length > 0 ) { + for ( var i = 0, len = items.length; i < len; i++ ) { + item = items[i]; + menuObj = KTMenu.getInstance(item); + + if (menuObj && menuObj.getItemSubType(item) === 'dropdown') { + menu = menuObj.getElement(); + sub = menuObj.getItemSubElement(item); + + if ( item === e.target || item.contains(e.target) ) { + continue; + } + + if ( sub === e.target || sub.contains(e.target) ) { + continue; + } + + menuObj.hide(item); + } + } + } + }); + + // Sub toggle handler(updated) + KTUtil.on(document.body, '.menu-item[data-kt-menu-trigger] > .menu-link, [data-kt-menu-trigger]:not(.menu-item):not([data-kt-menu-trigger="auto"])', 'click', function(e) { + var menu = KTMenu.getInstance(this); + + if ( menu !== null ) { + return menu.click(this, e); + } + }); + + // Link handler + KTUtil.on(document.body, '.menu-item:not([data-kt-menu-trigger]) > .menu-link', 'click', function(e) { + var menu = KTMenu.getInstance(this); + + if ( menu !== null ) { + return menu.link(this, e); + } + }); + + // Dismiss handler + KTUtil.on(document.body, '[data-kt-menu-dismiss="true"]', 'click', function(e) { + var menu = KTMenu.getInstance(this); + + if ( menu !== null ) { + return menu.dismiss(this, e); + } + }); + + // Mouseover handler + KTUtil.on(document.body, '[data-kt-menu-trigger], .menu-sub', 'mouseover', function(e) { + var menu = KTMenu.getInstance(this); + + if ( menu !== null && menu.getItemSubType(this) === 'dropdown' ) { + return menu.mouseover(this, e); + } + }); + + // Mouseout handler + KTUtil.on(document.body, '[data-kt-menu-trigger], .menu-sub', 'mouseout', function(e) { + var menu = KTMenu.getInstance(this); + + if ( menu !== null && menu.getItemSubType(this) === 'dropdown' ) { + return menu.mouseout(this, e); + } + }); + + // Resize handler + window.addEventListener('resize', function() { + var menu; + var timer; + + KTUtil.throttle(timer, function() { + // Locate and update Offcanvas instances on window resize + var elements = document.querySelectorAll('[data-kt-menu="true"]'); + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + menu = KTMenu.getInstance(elements[i]); + if (menu) { + menu.update(); + } + } + } + }, 200); + }); +} + +// Global instances +KTMenu.createInstances = function(selector = '[data-kt-menu="true"]') { + // Initialize menus + var elements = document.querySelectorAll(selector); + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + new KTMenu(elements[i]); + } + } +} + +// Global initialization +KTMenu.init = function() { + // Global Event Handlers + KTMenu.initGlobalHandlers(); + + // Lazy Initialization + KTMenu.createInstances(); +}; + +// On document ready +if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', KTMenu.init); +} else { + KTMenu.init(); +} + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTMenu; +} diff --git a/resources/assets/core/js/components/password-meter.js b/resources/assets/core/js/components/password-meter.js new file mode 100644 index 0000000..bd9fb18 --- /dev/null +++ b/resources/assets/core/js/components/password-meter.js @@ -0,0 +1,258 @@ +"use strict"; + +// Class definition +var KTPasswordMeter = function(element, options) { + //////////////////////////// + // ** Private variables ** // + //////////////////////////// + var the = this; + + if (!element) { + return; + } + + // Default Options + var defaultOptions = { + minLength: 8, + checkUppercase: true, + checkLowercase: true, + checkDigit: true, + checkChar: true, + scoreHighlightClass: 'active' + }; + + //////////////////////////// + // ** Private methods ** // + //////////////////////////// + + // Constructor + var _construct = function() { + if ( KTUtil.data(element).has('password-meter') === true ) { + the = KTUtil.data(element).get('password-meter'); + } else { + _init(); + } + } + + // Initialize + var _init = function() { + // Variables + the.options = KTUtil.deepExtend({}, defaultOptions, options); + the.score = 0; + the.checkSteps = 5; + + // Elements + the.element = element; + the.inputElement = the.element.querySelector('input[type]'); + the.visibilityElement = the.element.querySelector('[data-kt-password-meter-control="visibility"]'); + the.highlightElement = the.element.querySelector('[data-kt-password-meter-control="highlight"]'); + + // Set initialized + the.element.setAttribute('data-kt-password-meter', 'true'); + + // Event Handlers + _handlers(); + + // Bind Instance + KTUtil.data(the.element).set('password-meter', the); + } + + // Handlers + var _handlers = function() { + the.inputElement.addEventListener('input', function() { + _check(); + }); + + if (the.visibilityElement) { + the.visibilityElement.addEventListener('click', function() { + _visibility(); + }); + } + } + + // Event handlers + var _check = function() { + var score = 0; + var checkScore = _getCheckScore(); + + if (_checkLength() === true) { + score = score + checkScore; + } + + if (the.options.checkUppercase === true && _checkLowercase() === true) { + score = score + checkScore; + } + + if (the.options.checkLowercase === true && _checkUppercase() === true ) { + score = score + checkScore; + } + + if (the.options.checkDigit === true && _checkDigit() === true ) { + score = score + checkScore; + } + + if (the.options.checkChar === true && _checkChar() === true ) { + score = score + checkScore; + } + + the.score = score; + + _highlight(); + } + + var _checkLength = function() { + return the.inputElement.value.length >= the.options.minLength; // 20 score + } + + var _checkLowercase = function() { + return /[a-z]/.test(the.inputElement.value); // 20 score + } + + var _checkUppercase = function() { + return /[A-Z]/.test(the.inputElement.value); // 20 score + } + + var _checkDigit = function() { + return /[0-9]/.test(the.inputElement.value); // 20 score + } + + var _checkChar = function() { + return /[~`!#@$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g.test(the.inputElement.value); // 20 score + } + + var _getCheckScore = function() { + var count = 1; + + if (the.options.checkUppercase === true) { + count++; + } + + if (the.options.checkLowercase === true) { + count++; + } + + if (the.options.checkDigit === true) { + count++; + } + + if (the.options.checkChar === true) { + count++; + } + + the.checkSteps = count; + + return 100 / the.checkSteps; + } + + var _highlight = function() { + var items = [].slice.call(the.highlightElement.querySelectorAll('div')); + var total = items.length; + var index = 0; + var checkScore = _getCheckScore(); + var score = _getScore(); + + items.map(function (item) { + index++; + + if ( (checkScore * index * (the.checkSteps / total)) <= score ) { + item.classList.add('active'); + } else { + item.classList.remove('active'); + } + }); + } + + var _visibility = function() { + var visibleIcon = the.visibilityElement.querySelector('i:not(.d-none), .svg-icon:not(.d-none)'); + var hiddenIcon = the.visibilityElement.querySelector('i.d-none, .svg-icon.d-none'); + + if (the.inputElement.getAttribute('type').toLowerCase() === 'password' ) { + the.inputElement.setAttribute('type', 'text'); + } else { + the.inputElement.setAttribute('type', 'password'); + } + + visibleIcon.classList.add('d-none'); + hiddenIcon.classList.remove('d-none'); + + the.inputElement.focus(); + } + + var _reset = function() { + the.score = 0; + + _highlight(); + } + + // Gets current password score + var _getScore = function() { + return the.score; + } + + var _destroy = function() { + KTUtil.data(the.element).remove('password-meter'); + } + + // Construct class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Plugin API + the.check = function() { + return _check(); + } + + the.getScore = function() { + return _getScore(); + } + + the.reset = function() { + return _reset(); + } + + the.destroy = function() { + return _destroy(); + } +}; + +// Static methods +KTPasswordMeter.getInstance = function(element) { + if ( element !== null && KTUtil.data(element).has('password-meter') ) { + return KTUtil.data(element).get('password-meter'); + } else { + return null; + } +} + +// Create instances +KTPasswordMeter.createInstances = function(selector = '[data-kt-password-meter]') { + // Get instances + var elements = document.body.querySelectorAll(selector); + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + // Initialize instances + new KTPasswordMeter(elements[i]); + } + } +} + +// Global initialization +KTPasswordMeter.init = function() { + KTPasswordMeter.createInstances(); +}; + +// On document ready +if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', KTPasswordMeter.init); +} else { + KTPasswordMeter.init(); +} + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTPasswordMeter; +} \ No newline at end of file diff --git a/resources/assets/core/js/components/scroll.js b/resources/assets/core/js/components/scroll.js new file mode 100644 index 0000000..f3ed52f --- /dev/null +++ b/resources/assets/core/js/components/scroll.js @@ -0,0 +1,347 @@ +"use strict"; + +// Class definition +var KTScroll = function(element, options) { + //////////////////////////// + // ** Private Variables ** // + //////////////////////////// + var the = this; + var body = document.getElementsByTagName("BODY")[0]; + + if (!element) { + return; + } + + // Default options + var defaultOptions = { + saveState: true + }; + + //////////////////////////// + // ** Private Methods ** // + //////////////////////////// + + var _construct = function() { + if ( KTUtil.data(element).has('scroll') ) { + the = KTUtil.data(element).get('scroll'); + } else { + _init(); + } + } + + var _init = function() { + // Variables + the.options = KTUtil.deepExtend({}, defaultOptions, options); + + // Elements + the.element = element; + the.id = the.element.getAttribute('id'); + + // Set initialized + the.element.setAttribute('data-kt-scroll', 'true'); + + // Update + _update(); + + // Bind Instance + KTUtil.data(the.element).set('scroll', the); + } + + var _setupHeight = function() { + var heightType = _getHeightType(); + var height = _getHeight(); + + // Set height + if ( height !== null && height.length > 0 ) { + KTUtil.css(the.element, heightType, height); + } else { + KTUtil.css(the.element, heightType, ''); + } + } + + var _setupState = function () { + if ( _getOption('save-state') === true && typeof KTCookie !== 'undefined' && the.id ) { + if ( KTCookie.get(the.id + 'st') ) { + var pos = parseInt(KTCookie.get(the.id + 'st')); + + if ( pos > 0 ) { + the.element.scrollTop = pos; + } + } + } + } + + var _setupScrollHandler = function() { + if ( _getOption('save-state') === true && typeof KTCookie !== 'undefined' && the.id ) { + the.element.addEventListener('scroll', _scrollHandler); + } else { + the.element.removeEventListener('scroll', _scrollHandler); + } + } + + var _destroyScrollHandler = function() { + the.element.removeEventListener('scroll', _scrollHandler); + } + + var _resetHeight = function() { + KTUtil.css(the.element, _getHeightType(), ''); + } + + var _scrollHandler = function () { + KTCookie.set(the.id + 'st', the.element.scrollTop); + } + + var _update = function() { + // Activate/deactivate + if ( _getOption('activate') === true || the.element.hasAttribute('data-kt-scroll-activate') === false ) { + _setupHeight(); + _setupStretchHeight(); + _setupScrollHandler(); + _setupState(); + } else { + _resetHeight() + _destroyScrollHandler(); + } + } + + var _setupStretchHeight = function() { + var stretch = _getOption('stretch'); + + // Stretch + if ( stretch !== null ) { + var elements = document.querySelectorAll(stretch); + + if ( elements && elements.length == 2 ) { + var element1 = elements[0]; + var element2 = elements[1]; + var diff = _getElementHeight(element2) - _getElementHeight(element1); + + if (diff > 0) { + var height = parseInt(KTUtil.css(the.element, _getHeightType())) + diff; + + KTUtil.css(the.element, _getHeightType(), String(height) + 'px'); + } + } + } + } + + var _getHeight = function() { + var height = _getOption(_getHeightType()); + + if ( height instanceof Function ) { + return height.call(); + } else if ( height !== null && typeof height === 'string' && height.toLowerCase() === 'auto' ) { + return _getAutoHeight(); + } else { + return height; + } + } + + var _getAutoHeight = function() { + var height = KTUtil.getViewPort().height; + var dependencies = _getOption('dependencies'); + var wrappers = _getOption('wrappers'); + var offset = _getOption('offset'); + + // Spacings + height = height - _getElementSpacing(the.element); + + // Height dependencies + if ( dependencies !== null ) { + var elements = document.querySelectorAll(dependencies); + + if ( elements && elements.length > 0 ) { + for ( var i = 0, len = elements.length; i < len; i++ ) { + if ( KTUtil.visible(elements[i]) === false ) { + continue; + } + + height = height - _getElementHeight(elements[i]); + } + } + } + + // Wrappers + if ( wrappers !== null ) { + var elements = document.querySelectorAll(wrappers); + if ( elements && elements.length > 0 ) { + for ( var i = 0, len = elements.length; i < len; i++ ) { + if ( KTUtil.visible(elements[i]) === false ) { + continue; + } + + height = height - _getElementSpacing(elements[i]); + } + } + } + + // Custom offset + if ( offset !== null && typeof offset !== 'object') { + height = height - parseInt(offset); + } + + return String(height) + 'px'; + } + + var _getElementHeight = function(element) { + var height = 0; + + if (element !== null) { + height = height + parseInt(KTUtil.css(element, 'height')); + height = height + parseInt(KTUtil.css(element, 'margin-top')); + height = height + parseInt(KTUtil.css(element, 'margin-bottom')); + + if (KTUtil.css(element, 'border-top')) { + height = height + parseInt(KTUtil.css(element, 'border-top')); + } + + if (KTUtil.css(element, 'border-bottom')) { + height = height + parseInt(KTUtil.css(element, 'border-bottom')); + } + } + + return height; + } + + var _getElementSpacing = function(element) { + var spacing = 0; + + if (element !== null) { + spacing = spacing + parseInt(KTUtil.css(element, 'margin-top')); + spacing = spacing + parseInt(KTUtil.css(element, 'margin-bottom')); + spacing = spacing + parseInt(KTUtil.css(element, 'padding-top')); + spacing = spacing + parseInt(KTUtil.css(element, 'padding-bottom')); + + if (KTUtil.css(element, 'border-top')) { + spacing = spacing + parseInt(KTUtil.css(element, 'border-top')); + } + + if (KTUtil.css(element, 'border-bottom')) { + spacing = spacing + parseInt(KTUtil.css(element, 'border-bottom')); + } + } + + return spacing; + } + + var _getOption = function(name) { + if ( the.element.hasAttribute('data-kt-scroll-' + name) === true ) { + var attr = the.element.getAttribute('data-kt-scroll-' + name); + + var value = KTUtil.getResponsiveValue(attr); + + if ( value !== null && String(value) === 'true' ) { + value = true; + } else if ( value !== null && String(value) === 'false' ) { + value = false; + } + + return value; + } else { + var optionName = KTUtil.snakeToCamel(name); + + if ( the.options[optionName] ) { + return KTUtil.getResponsiveValue(the.options[optionName]); + } else { + return null; + } + } + } + + var _getHeightType = function() { + if (_getOption('height')) { + return 'height'; + } if (_getOption('min-height')) { + return 'min-height'; + } if (_getOption('max-height')) { + return 'max-height'; + } + } + + var _destroy = function() { + KTUtil.data(the.element).remove('scroll'); + } + + // Construct Class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + the.update = function() { + return _update(); + } + + the.getHeight = function() { + return _getHeight(); + } + + the.getElement = function() { + return the.element; + } + + the.destroy = function() { + return _destroy(); + } +}; + +// Static methods +KTScroll.getInstance = function(element) { + if ( element !== null && KTUtil.data(element).has('scroll') ) { + return KTUtil.data(element).get('scroll'); + } else { + return null; + } +} + +// Create instances +KTScroll.createInstances = function(selector = '[data-kt-scroll="true"]') { + var body = document.getElementsByTagName("BODY")[0]; + + // Initialize Menus + var elements = body.querySelectorAll(selector); + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + new KTScroll(elements[i]); + } + } +} + +// Window resize handling +window.addEventListener('resize', function() { + var timer; + var body = document.getElementsByTagName("BODY")[0]; + + KTUtil.throttle(timer, function() { + // Locate and update Offcanvas instances on window resize + var elements = body.querySelectorAll('[data-kt-scroll="true"]'); + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + var scroll = KTScroll.getInstance(elements[i]); + if (scroll) { + scroll.update(); + } + } + } + }, 200); +}); + +// Global initialization +KTScroll.init = function() { + KTScroll.createInstances(); +}; + +// On document ready +if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', KTScroll.init); +} else { + KTScroll.init(); +} + +// Webpack Support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTScroll; +} diff --git a/resources/assets/core/js/components/scrolltop.js b/resources/assets/core/js/components/scrolltop.js new file mode 100644 index 0000000..b0b4c35 --- /dev/null +++ b/resources/assets/core/js/components/scrolltop.js @@ -0,0 +1,174 @@ +"use strict"; + +// Class definition +var KTScrolltop = function(element, options) { + //////////////////////////// + // ** Private variables ** // + //////////////////////////// + var the = this; + var body = document.getElementsByTagName("BODY")[0]; + + if ( typeof element === "undefined" || element === null ) { + return; + } + + // Default options + var defaultOptions = { + offset: 300, + speed: 600 + }; + + //////////////////////////// + // ** Private methods ** // + //////////////////////////// + + var _construct = function() { + if (KTUtil.data(element).has('scrolltop')) { + the = KTUtil.data(element).get('scrolltop'); + } else { + _init(); + } + } + + var _init = function() { + // Variables + the.options = KTUtil.deepExtend({}, defaultOptions, options); + the.uid = KTUtil.getUniqueId('scrolltop'); + the.element = element; + + // Set initialized + the.element.setAttribute('data-kt-scrolltop', 'true'); + + // Event Handlers + _handlers(); + + // Bind Instance + KTUtil.data(the.element).set('scrolltop', the); + } + + var _handlers = function() { + var timer; + + window.addEventListener('scroll', function() { + KTUtil.throttle(timer, function() { + _scroll(); + }, 200); + }); + + KTUtil.addEvent(the.element, 'click', function(e) { + e.preventDefault(); + + _go(); + }); + } + + var _scroll = function() { + var offset = parseInt(_getOption('offset')); + + var pos = KTUtil.getScrollTop(); // current vertical position + + if ( pos > offset ) { + if ( body.hasAttribute('data-kt-scrolltop') === false ) { + body.setAttribute('data-kt-scrolltop', 'on'); + } + } else { + if ( body.hasAttribute('data-kt-scrolltop') === true ) { + body.removeAttribute('data-kt-scrolltop'); + } + } + } + + var _go = function() { + var speed = parseInt(_getOption('speed')); + + KTUtil.scrollTop(0, speed); + } + + var _getOption = function(name) { + if ( the.element.hasAttribute('data-kt-scrolltop-' + name) === true ) { + var attr = the.element.getAttribute('data-kt-scrolltop-' + name); + var value = KTUtil.getResponsiveValue(attr); + + if ( value !== null && String(value) === 'true' ) { + value = true; + } else if ( value !== null && String(value) === 'false' ) { + value = false; + } + + return value; + } else { + var optionName = KTUtil.snakeToCamel(name); + + if ( the.options[optionName] ) { + return KTUtil.getResponsiveValue(the.options[optionName]); + } else { + return null; + } + } + } + + var _destroy = function() { + KTUtil.data(the.element).remove('scrolltop'); + } + + // Construct class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Plugin API + the.go = function() { + return _go(); + } + + the.getElement = function() { + return the.element; + } + + the.destroy = function() { + return _destroy(); + } +}; + +// Static methods +KTScrolltop.getInstance = function(element) { + if (element && KTUtil.data(element).has('scrolltop')) { + return KTUtil.data(element).get('scrolltop'); + } else { + return null; + } +} + +// Create instances +KTScrolltop.createInstances = function(selector = '[data-kt-scrolltop="true"]') { + var body = document.getElementsByTagName("BODY")[0]; + + // Initialize Menus + var elements = body.querySelectorAll(selector); + var scrolltop; + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + scrolltop = new KTScrolltop(elements[i]); + } + } +} + +// Global initialization +KTScrolltop.init = function() { + KTScrolltop.createInstances(); +}; + +// On document ready +if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', KTScrolltop.init); +} else { + KTScrolltop.init(); +} + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTScrolltop; +} diff --git a/resources/assets/core/js/components/search.js b/resources/assets/core/js/components/search.js new file mode 100644 index 0000000..b3c9c53 --- /dev/null +++ b/resources/assets/core/js/components/search.js @@ -0,0 +1,439 @@ +"use strict"; + +// Class definition +var KTSearch = function(element, options) { + //////////////////////////// + // ** Private variables ** // + //////////////////////////// + var the = this; + + if (!element) { + return; + } + + // Default Options + var defaultOptions = { + minLength: 2, // Miniam text lenght to query search + keypress: true, // Enable search on keypress + enter: true, // Enable search on enter key press + layout: 'menu', // Use 'menu' or 'inline' layout options to display search results + responsive: null, // Pass integer value or bootstrap compatible breakpoint key(sm,md,lg,xl,xxl) to enable reponsive form mode for device width below the breakpoint value + showOnFocus: true // Always show menu on input focus + }; + + //////////////////////////// + // ** Private methods ** // + //////////////////////////// + + // Construct + var _construct = function() { + if ( KTUtil.data(element).has('search') === true ) { + the = KTUtil.data(element).get('search'); + } else { + _init(); + } + } + + // Init + var _init = function() { + // Variables + the.options = KTUtil.deepExtend({}, defaultOptions, options); + the.processing = false; + + // Elements + the.element = element; + the.contentElement = _getElement('content'); + the.formElement = _getElement('form'); + the.inputElement = _getElement('input'); + the.spinnerElement = _getElement('spinner'); + the.clearElement = _getElement('clear'); + the.toggleElement = _getElement('toggle'); + the.submitElement = _getElement('submit'); + the.toolbarElement = _getElement('toolbar'); + + the.resultsElement = _getElement('results'); + the.suggestionElement = _getElement('suggestion'); + the.emptyElement = _getElement('empty'); + + // Set initialized + the.element.setAttribute('data-kt-search', 'true'); + + // Layout + the.layout = _getOption('layout'); + + // Menu + if ( the.layout === 'menu' ) { + the.menuObject = new KTMenu(the.contentElement); + } else { + the.menuObject = null; + } + + // Update + _update(); + + // Event Handlers + _handlers(); + + // Bind Instance + KTUtil.data(the.element).set('search', the); + } + + // Handlera + var _handlers = function() { + // Focus + the.inputElement.addEventListener('focus', _focus); + + // Blur + the.inputElement.addEventListener('blur', _blur); + + // Keypress + if ( _getOption('keypress') === true ) { + the.inputElement.addEventListener('input', _input); + } + + // Submit + if ( the.submitElement ) { + the.submitElement.addEventListener('click', _search); + } + + // Enter + if ( _getOption('enter') === true ) { + the.inputElement.addEventListener('keypress', _enter); + } + + // Clear + if ( the.clearElement ) { + the.clearElement.addEventListener('click', _clear); + } + + // Menu + if ( the.menuObject ) { + // Toggle menu + if ( the.toggleElement ) { + the.toggleElement.addEventListener('click', _show); + + the.menuObject.on('kt.menu.dropdown.show', function(item) { + if (KTUtil.visible(the.toggleElement)) { + the.toggleElement.classList.add('active'); + the.toggleElement.classList.add('show'); + } + }); + + the.menuObject.on('kt.menu.dropdown.hide', function(item) { + if (KTUtil.visible(the.toggleElement)) { + the.toggleElement.classList.remove('active'); + the.toggleElement.classList.remove('show'); + } + }); + } + + the.menuObject.on('kt.menu.dropdown.shown', function() { + the.inputElement.focus(); + }); + } + + // Window resize handling + window.addEventListener('resize', function() { + var timer; + + KTUtil.throttle(timer, function() { + _update(); + }, 200); + }); + } + + // Focus + var _focus = function() { + the.element.classList.add('focus'); + + if ( _getOption('show-on-focus') === true || the.inputElement.value.length >= minLength ) { + _show(); + } + } + + // Blur + var _blur = function() { + the.element.classList.remove('focus'); + } + + // Enter + var _enter = function(e) { + var key = e.charCode || e.keyCode || 0; + + if (key == 13) { + e.preventDefault(); + + _search(); + } + } + + // Input + var _input = function() { + if ( _getOption('min-length') ) { + var minLength = parseInt(_getOption('min-length')); + + if ( the.inputElement.value.length >= minLength ) { + _search(); + } else if ( the.inputElement.value.length === 0 ) { + _clear(); + } + } + } + + // Search + var _search = function() { + if (the.processing === false) { + // Show search spinner + if (the.spinnerElement) { + the.spinnerElement.classList.remove("d-none"); + } + + // Hide search clear button + if (the.clearElement) { + the.clearElement.classList.add("d-none"); + } + + // Hide search toolbar + if (the.toolbarElement && the.formElement.contains(the.toolbarElement)) { + the.toolbarElement.classList.add("d-none"); + } + + // Focus input + the.inputElement.focus(); + + the.processing = true; + KTEventHandler.trigger(the.element, 'kt.search.process', the); + } + } + + // Complete + var _complete = function() { + if (the.spinnerElement) { + the.spinnerElement.classList.add("d-none"); + } + + // Show search toolbar + if (the.clearElement) { + the.clearElement.classList.remove("d-none"); + } + + if ( the.inputElement.value.length === 0 ) { + _clear(); + } + + // Focus input + the.inputElement.focus(); + + _show(); + + the.processing = false; + } + + // Clear + var _clear = function() { + if ( KTEventHandler.trigger(the.element, 'kt.search.clear', the) === false ) { + return; + } + + // Clear and focus input + the.inputElement.value = ""; + the.inputElement.focus(); + + // Hide clear icon + if (the.clearElement) { + the.clearElement.classList.add("d-none"); + } + + // Show search toolbar + if (the.toolbarElement && the.formElement.contains(the.toolbarElement)) { + the.toolbarElement.classList.remove("d-none"); + } + + // Hide menu + if ( _getOption('show-on-focus') === false ) { + _hide(); + } + + KTEventHandler.trigger(the.element, 'kt.search.cleared', the); + } + + // Update + var _update = function() { + // Handle responsive form + if (the.layout === 'menu') { + var responsiveFormMode = _getResponsiveFormMode(); + + if ( responsiveFormMode === 'on' && the.contentElement.contains(the.formElement) === false ) { + the.contentElement.prepend(the.formElement); + the.formElement.classList.remove('d-none'); + } else if ( responsiveFormMode === 'off' && the.contentElement.contains(the.formElement) === true ) { + the.element.prepend(the.formElement); + the.formElement.classList.add('d-none'); + } + } + } + + // Show menu + var _show = function() { + if ( the.menuObject ) { + _update(); + + the.menuObject.show(the.element); + } + } + + // Hide menu + var _hide = function() { + if ( the.menuObject ) { + _update(); + + the.menuObject.hide(the.element); + } + } + + // Get option + var _getOption = function(name) { + if ( the.element.hasAttribute('data-kt-search-' + name) === true ) { + var attr = the.element.getAttribute('data-kt-search-' + name); + var value = KTUtil.getResponsiveValue(attr); + + if ( value !== null && String(value) === 'true' ) { + value = true; + } else if ( value !== null && String(value) === 'false' ) { + value = false; + } + + return value; + } else { + var optionName = KTUtil.snakeToCamel(name); + + if ( the.options[optionName] ) { + return KTUtil.getResponsiveValue(the.options[optionName]); + } else { + return null; + } + } + } + + // Get element + var _getElement = function(name) { + return the.element.querySelector('[data-kt-search-element="' + name + '"]'); + } + + // Check if responsive form mode is enabled + var _getResponsiveFormMode = function() { + var responsive = _getOption('responsive'); + var width = KTUtil.getViewPort().width; + + if (!responsive) { + return null; + } + + var breakpoint = KTUtil.getBreakpoint(responsive); + + if (!breakpoint ) { + breakpoint = parseInt(responsive); + } + + if (width < breakpoint) { + return "on"; + } else { + return "off"; + } + } + + var _destroy = function() { + KTUtil.data(the.element).remove('search'); + } + + // Construct class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Plugin API + the.show = function() { + return _show(); + } + + the.hide = function() { + return _hide(); + } + + the.update = function() { + return _update(); + } + + the.search = function() { + return _search(); + } + + the.complete = function() { + return _complete(); + } + + the.clear = function() { + return _clear(); + } + + the.isProcessing = function() { + return the.processing; + } + + the.getQuery = function() { + return the.inputElement.value; + } + + the.getMenu = function() { + return the.menuObject; + } + + the.getFormElement = function() { + return the.formElement; + } + + the.getInputElement = function() { + return the.inputElement; + } + + the.getContentElement = function() { + return the.contentElement; + } + + the.getElement = function() { + return the.element; + } + + the.destroy = function() { + return _destroy(); + } + + // Event API + the.on = function(name, handler) { + return KTEventHandler.on(the.element, name, handler); + } + + the.one = function(name, handler) { + return KTEventHandler.one(the.element, name, handler); + } + + the.off = function(name) { + return KTEventHandler.off(the.element, name); + } +}; + +// Static methods +KTSearch.getInstance = function(element) { + if ( element !== null && KTUtil.data(element).has('search') ) { + return KTUtil.data(element).get('search'); + } else { + return null; + } +} + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTSearch; +} diff --git a/resources/assets/core/js/components/stepper.js b/resources/assets/core/js/components/stepper.js new file mode 100644 index 0000000..79a07c7 --- /dev/null +++ b/resources/assets/core/js/components/stepper.js @@ -0,0 +1,334 @@ +"use strict"; + +// Class definition +var KTStepper = function(element, options) { + ////////////////////////////// + // ** Private variables ** // + ////////////////////////////// + var the = this; + var body = document.getElementsByTagName("BODY")[0]; + + if ( typeof element === "undefined" || element === null ) { + return; + } + + // Default Options + var defaultOptions = { + startIndex: 1, + animation: false, + animationSpeed: '0.3s', + animationNextClass: 'animate__animated animate__slideInRight animate__fast', + animationPreviousClass: 'animate__animated animate__slideInLeft animate__fast' + }; + + //////////////////////////// + // ** Private methods ** // + //////////////////////////// + + var _construct = function() { + if ( KTUtil.data(element).has('stepper') === true ) { + the = KTUtil.data(element).get('stepper'); + } else { + _init(); + } + } + + var _init = function() { + the.options = KTUtil.deepExtend({}, defaultOptions, options); + the.uid = KTUtil.getUniqueId('stepper'); + + the.element = element; + + // Set initialized + the.element.setAttribute('data-kt-stepper', 'true'); + + // Elements + the.steps = KTUtil.findAll(the.element, '[data-kt-stepper-element="nav"]'); + the.btnNext = KTUtil.find(the.element, '[data-kt-stepper-action="next"]'); + the.btnPrevious = KTUtil.find(the.element, '[data-kt-stepper-action="previous"]'); + the.btnSubmit = KTUtil.find(the.element, '[data-kt-stepper-action="submit"]'); + + // Variables + the.totalStepsNumber = the.steps.length; + the.passedStepIndex = 0; + the.currentStepIndex = 1; + the.clickedStepIndex = 0; + + // Set Current Step + if ( the.options.startIndex > 1 ) { + _goTo(the.options.startIndex); + } + + // Event Handlers + KTUtil.addEvent(the.btnNext, 'click', function(e) { + e.preventDefault(); + + KTEventHandler.trigger(the.element, 'kt.stepper.next', the); + }); + + KTUtil.addEvent(the.btnPrevious, 'click', function(e) { + e.preventDefault(); + + KTEventHandler.trigger(the.element, 'kt.stepper.previous', the); + }); + + KTUtil.on(the.element, '[data-kt-stepper-action="step"]', 'click', function(e) { + e.preventDefault(); + + if ( the.steps && the.steps.length > 0 ) { + for (var i = 0, len = the.steps.length; i < len; i++) { + if ( the.steps[i] === this ) { + the.clickedStepIndex = i + 1; + + KTEventHandler.trigger(the.element, 'kt.stepper.click', the); + + return; + } + } + } + }); + + // Bind Instance + KTUtil.data(the.element).set('stepper', the); + } + + var _goTo = function(index) { + // Trigger "change" event + KTEventHandler.trigger(the.element, 'kt.stepper.change', the); + + // Skip if this step is already shown + if ( index === the.currentStepIndex || index > the.totalStepsNumber || index < 0 ) { + return; + } + + // Validate step number + index = parseInt(index); + + // Set current step + the.passedStepIndex = the.currentStepIndex; + the.currentStepIndex = index; + + // Refresh elements + _refreshUI(); + + // Trigger "changed" event + KTEventHandler.trigger(the.element, 'kt.stepper.changed', the); + + return the; + } + + var _goNext = function() { + return _goTo( _getNextStepIndex() ); + } + + var _goPrevious = function() { + return _goTo( _getPreviousStepIndex() ); + } + + var _goLast = function() { + return _goTo( _getLastStepIndex() ); + } + + var _goFirst = function() { + return _goTo( _getFirstStepIndex() ); + } + + var _refreshUI = function() { + var state = ''; + + if ( _isLastStep() ) { + state = 'last'; + } else if ( _isFirstStep() ) { + state = 'first'; + } else { + state = 'between'; + } + + // Set state class + KTUtil.removeClass(the.element, 'last'); + KTUtil.removeClass(the.element, 'first'); + KTUtil.removeClass(the.element, 'between'); + + KTUtil.addClass(the.element, state); + + // Step Items + var elements = KTUtil.findAll(the.element, '[data-kt-stepper-element="nav"], [data-kt-stepper-element="content"], [data-kt-stepper-element="info"]'); + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + var element = elements[i]; + var index = KTUtil.index(element) + 1; + + KTUtil.removeClass(element, 'current'); + KTUtil.removeClass(element, 'completed'); + KTUtil.removeClass(element, 'pending'); + + if ( index == the.currentStepIndex ) { + KTUtil.addClass(element, 'current'); + + if ( the.options.animation !== false && element.getAttribute('data-kt-stepper-element') == 'content' ) { + KTUtil.css(element, 'animationDuration', the.options.animationSpeed); + + var animation = _getStepDirection(the.passedStepIndex) === 'previous' ? the.options.animationPreviousClass : the.options.animationNextClass; + KTUtil.animateClass(element, animation); + } + } else { + if ( index < the.currentStepIndex ) { + KTUtil.addClass(element, 'completed'); + } else { + KTUtil.addClass(element, 'pending'); + } + } + } + } + } + + var _isLastStep = function() { + return the.currentStepIndex === the.totalStepsNumber; + } + + var _isFirstStep = function() { + return the.currentStepIndex === 1; + } + + var _isBetweenStep = function() { + return _isLastStep() === false && _isFirstStep() === false; + } + + var _getNextStepIndex = function() { + if ( the.totalStepsNumber >= ( the.currentStepIndex + 1 ) ) { + return the.currentStepIndex + 1; + } else { + return the.totalStepsNumber; + } + } + + var _getPreviousStepIndex = function() { + if ( ( the.currentStepIndex - 1 ) > 1 ) { + return the.currentStepIndex - 1; + } else { + return 1; + } + } + + var _getFirstStepIndex = function(){ + return 1; + } + + var _getLastStepIndex = function() { + return the.totalStepsNumber; + } + + var _getTotalStepsNumber = function() { + return the.totalStepsNumber; + } + + var _getStepDirection = function(index) { + if ( index > the.currentStepIndex ) { + return 'next'; + } else { + return 'previous'; + } + } + + var _getStepContent = function(index) { + var content = KTUtil.findAll(the.element, '[data-kt-stepper-element="content"]'); + + if ( content[index-1] ) { + return content[index-1]; + } else { + return false; + } + } + + var _destroy = function() { + KTUtil.data(the.element).remove('stepper'); + } + + // Construct Class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Plugin API + the.getElement = function(index) { + return the.element; + } + + the.goTo = function(index) { + return _goTo(index); + } + + the.goPrevious = function() { + return _goPrevious(); + } + + the.goNext = function() { + return _goNext(); + } + + the.goFirst = function() { + return _goFirst(); + } + + the.goLast = function() { + return _goLast(); + } + + the.getCurrentStepIndex = function() { + return the.currentStepIndex; + } + + the.getNextStepIndex = function() { + return the.nextStepIndex; + } + + the.getPassedStepIndex = function() { + return the.passedStepIndex; + } + + the.getClickedStepIndex = function() { + return the.clickedStepIndex; + } + + the.getPreviousStepIndex = function() { + return the.PreviousStepIndex; + } + + the.destroy = function() { + return _destroy(); + } + + // Event API + the.on = function(name, handler) { + return KTEventHandler.on(the.element, name, handler); + } + + the.one = function(name, handler) { + return KTEventHandler.one(the.element, name, handler); + } + + the.off = function(name) { + return KTEventHandler.off(the.element, name); + } + + the.trigger = function(name, event) { + return KTEventHandler.trigger(the.element, name, event, the, event); + } +}; + +// Static methods +KTStepper.getInstance = function(element) { + if ( element !== null && KTUtil.data(element).has('stepper') ) { + return KTUtil.data(element).get('stepper'); + } else { + return null; + } +} + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTStepper; +} diff --git a/resources/assets/core/js/components/sticky.js b/resources/assets/core/js/components/sticky.js new file mode 100644 index 0000000..490752f --- /dev/null +++ b/resources/assets/core/js/components/sticky.js @@ -0,0 +1,376 @@ +"use strict"; + +// Class definition +var KTSticky = function(element, options) { + //////////////////////////// + // ** Private Variables ** // + //////////////////////////// + var the = this; + var body = document.getElementsByTagName("BODY")[0]; + + if ( typeof element === "undefined" || element === null ) { + return; + } + + // Default Options + var defaultOptions = { + offset: 200, + releaseOffset: 0, + reverse: false, + animation: true, + animationSpeed: '0.3s', + animationClass: 'animation-slide-in-down' + }; + //////////////////////////// + // ** Private Methods ** // + //////////////////////////// + + var _construct = function() { + if ( KTUtil.data(element).has('sticky') === true ) { + the = KTUtil.data(element).get('sticky'); + } else { + _init(); + } + } + + var _init = function() { + the.element = element; + the.options = KTUtil.deepExtend({}, defaultOptions, options); + the.uid = KTUtil.getUniqueId('sticky'); + the.name = the.element.getAttribute('data-kt-sticky-name'); + the.attributeName = 'data-kt-sticky-' + the.name; + the.eventTriggerState = true; + the.lastScrollTop = 0; + the.scrollHandler; + + // Set initialized + the.element.setAttribute('data-kt-sticky', 'true'); + + // Event Handlers + window.addEventListener('scroll', _scroll); + + // Initial Launch + _scroll(); + + // Bind Instance + KTUtil.data(the.element).set('sticky', the); + } + + var _scroll = function(e) { + var offset = _getOption('offset'); + var releaseOffset = _getOption('release-offset'); + var reverse = _getOption('reverse'); + var st; + var attrName; + var diff; + + // Exit if false + if ( offset === false ) { + return; + } + + offset = parseInt(offset); + releaseOffset = releaseOffset ? parseInt(releaseOffset) : 0; + st = KTUtil.getScrollTop(); + diff = document.documentElement.scrollHeight - window.innerHeight - KTUtil.getScrollTop(); + + if ( reverse === true ) { // Release on reverse scroll mode + if ( st > offset && (releaseOffset === 0 || releaseOffset < diff)) { + if ( body.hasAttribute(the.attributeName) === false) { + _enable(); + body.setAttribute(the.attributeName, 'on'); + } + + if ( the.eventTriggerState === true ) { + KTEventHandler.trigger(the.element, 'kt.sticky.on', the); + KTEventHandler.trigger(the.element, 'kt.sticky.change', the); + + the.eventTriggerState = false; + } + } else { // Back scroll mode + if ( body.hasAttribute(the.attributeName) === true) { + _disable(); + body.removeAttribute(the.attributeName); + } + + if ( the.eventTriggerState === false ) { + KTEventHandler.trigger(the.element, 'kt.sticky.off', the); + KTEventHandler.trigger(the.element, 'kt.sticky.change', the); + the.eventTriggerState = true; + } + } + + the.lastScrollTop = st; + } else { // Classic scroll mode + if ( st > offset && (releaseOffset === 0 || releaseOffset < diff)) { + if ( body.hasAttribute(the.attributeName) === false) { + _enable(); + body.setAttribute(the.attributeName, 'on'); + } + + if ( the.eventTriggerState === true ) { + KTEventHandler.trigger(the.element, 'kt.sticky.on', the); + KTEventHandler.trigger(the.element, 'kt.sticky.change', the); + the.eventTriggerState = false; + } + } else { // back scroll mode + if ( body.hasAttribute(the.attributeName) === true ) { + _disable(); + body.removeAttribute(the.attributeName); + } + + if ( the.eventTriggerState === false ) { + KTEventHandler.trigger(the.element, 'kt.sticky.off', the); + KTEventHandler.trigger(the.element, 'kt.sticky.change', the); + the.eventTriggerState = true; + } + } + } + + if (releaseOffset > 0) { + if ( diff < releaseOffset ) { + the.element.setAttribute('data-kt-sticky-released', 'true'); + } else { + the.element.removeAttribute('data-kt-sticky-released'); + } + } + } + + var _enable = function(update) { + var top = _getOption('top'); + var left = _getOption('left'); + var right = _getOption('right'); + var width = _getOption('width'); + var zindex = _getOption('zindex'); + var dependencies = _getOption('dependencies'); + var classes = _getOption('class'); + var height = _calculateHeight(); + + if ( update !== true && _getOption('animation') === true ) { + KTUtil.css(the.element, 'animationDuration', _getOption('animationSpeed')); + KTUtil.animateClass(the.element, 'animation ' + _getOption('animationClass')); + } + + if ( classes !== null ) { + KTUtil.addClass(the.element, classes); + } + + if ( zindex !== null ) { + KTUtil.css(the.element, 'z-index', zindex); + KTUtil.css(the.element, 'position', 'fixed'); + } + + if ( top !== null ) { + KTUtil.css(the.element, 'top', top); + } + + if ( width !== null ) { + if (width['target']) { + var targetElement = document.querySelector(width['target']); + if (targetElement) { + width = KTUtil.css(targetElement, 'width'); + } + } + + KTUtil.css(the.element, 'width', width); + } + + if ( left !== null ) { + if ( String(left).toLowerCase() === 'auto' ) { + var offsetLeft = KTUtil.offset(the.element).left; + + if ( offsetLeft > 0 ) { + KTUtil.css(the.element, 'left', String(offsetLeft) + 'px'); + } + } else { + KTUtil.css(the.element, 'left', left); + } + } + + if ( right !== null ) { + KTUtil.css(the.element, 'right', right); + } + + // Height dependencies + if ( dependencies !== null ) { + var dependencyElements = document.querySelectorAll(dependencies); + + if ( dependencyElements && dependencyElements.length > 0 ) { + for ( var i = 0, len = dependencyElements.length; i < len; i++ ) { + KTUtil.css(dependencyElements[i], 'padding-top', String(height) + 'px'); + } + } + } + } + + var _disable = function() { + KTUtil.css(the.element, 'top', ''); + KTUtil.css(the.element, 'width', ''); + KTUtil.css(the.element, 'left', ''); + KTUtil.css(the.element, 'right', ''); + KTUtil.css(the.element, 'z-index', ''); + KTUtil.css(the.element, 'position', ''); + + var dependencies = _getOption('dependencies'); + var classes = _getOption('class'); + + if ( classes !== null ) { + KTUtil.removeClass(the.element, classes); + } + + // Height dependencies + if ( dependencies !== null ) { + var dependencyElements = document.querySelectorAll(dependencies); + + if ( dependencyElements && dependencyElements.length > 0 ) { + for ( var i = 0, len = dependencyElements.length; i < len; i++ ) { + KTUtil.css(dependencyElements[i], 'padding-top', ''); + } + } + } + } + + var _calculateHeight = function() { + var height = parseFloat(KTUtil.css(the.element, 'height')); + + height = height + parseFloat(KTUtil.css(the.element, 'margin-top')); + height = height + parseFloat(KTUtil.css(the.element, 'margin-bottom')); + + if (KTUtil.css(element, 'border-top')) { + height = height + parseFloat(KTUtil.css(the.element, 'border-top')); + } + + if (KTUtil.css(element, 'border-bottom')) { + height = height + parseFloat(KTUtil.css(the.element, 'border-bottom')); + } + + return height; + } + + var _getOption = function(name) { + if ( the.element.hasAttribute('data-kt-sticky-' + name) === true ) { + var attr = the.element.getAttribute('data-kt-sticky-' + name); + var value = KTUtil.getResponsiveValue(attr); + + if ( value !== null && String(value) === 'true' ) { + value = true; + } else if ( value !== null && String(value) === 'false' ) { + value = false; + } + + return value; + } else { + var optionName = KTUtil.snakeToCamel(name); + + if ( the.options[optionName] ) { + return KTUtil.getResponsiveValue(the.options[optionName]); + } else { + return null; + } + } + } + + var _destroy = function() { + window.removeEventListener('scroll', _scroll); + KTUtil.data(the.element).remove('sticky'); + } + + // Construct Class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Methods + the.update = function() { + if ( body.hasAttribute(the.attributeName) === true ) { + _disable(); + body.removeAttribute(the.attributeName); + _enable(true); + body.setAttribute(the.attributeName, 'on'); + } + } + + the.destroy = function() { + return _destroy(); + } + + // Event API + the.on = function(name, handler) { + return KTEventHandler.on(the.element, name, handler); + } + + the.one = function(name, handler) { + return KTEventHandler.one(the.element, name, handler); + } + + the.off = function(name) { + return KTEventHandler.off(the.element, name); + } + + the.trigger = function(name, event) { + return KTEventHandler.trigger(the.element, name, event, the, event); + } +}; + +// Static methods +KTSticky.getInstance = function(element) { + if ( element !== null && KTUtil.data(element).has('sticky') ) { + return KTUtil.data(element).get('sticky'); + } else { + return null; + } +} + +// Create instances +KTSticky.createInstances = function(selector = '[data-kt-sticky="true"]') { + var body = document.getElementsByTagName("BODY")[0]; + + // Initialize Menus + var elements = body.querySelectorAll(selector); + var sticky; + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + sticky = new KTSticky(elements[i]); + } + } +} + +// Window resize handler +window.addEventListener('resize', function() { + var timer; + var body = document.getElementsByTagName("BODY")[0]; + + KTUtil.throttle(timer, function() { + // Locate and update Offcanvas instances on window resize + var elements = body.querySelectorAll('[data-kt-sticky="true"]'); + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + var sticky = KTSticky.getInstance(elements[i]); + if (sticky) { + sticky.update(); + } + } + } + }, 200); +}); + +// Global initialization +KTSticky.init = function() { + KTSticky.createInstances(); +}; + +// On document ready +if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', KTSticky.init); +} else { + KTSticky.init(); +} + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTSticky; +} diff --git a/resources/assets/core/js/components/swapper.js b/resources/assets/core/js/components/swapper.js new file mode 100644 index 0000000..d8924f3 --- /dev/null +++ b/resources/assets/core/js/components/swapper.js @@ -0,0 +1,178 @@ +"use strict"; + +// Class definition +var KTSwapper = function(element, options) { + //////////////////////////// + // ** Private Variables ** // + //////////////////////////// + var the = this; + + if ( typeof element === "undefined" || element === null ) { + return; + } + + // Default Options + var defaultOptions = { + mode: 'append' + }; + + //////////////////////////// + // ** Private Methods ** // + //////////////////////////// + + var _construct = function() { + if ( KTUtil.data(element).has('swapper') === true ) { + the = KTUtil.data(element).get('swapper'); + } else { + _init(); + } + } + + var _init = function() { + the.element = element; + the.options = KTUtil.deepExtend({}, defaultOptions, options); + + // Set initialized + the.element.setAttribute('data-kt-swapper', 'true'); + + // Initial update + _update(); + + // Bind Instance + KTUtil.data(the.element).set('swapper', the); + } + + var _update = function(e) { + var parentSelector = _getOption('parent'); + + var mode = _getOption('mode'); + var parentElement = parentSelector ? document.querySelector(parentSelector) : null; + + + if (parentElement && element.parentNode !== parentElement) { + if (mode === 'prepend') { + parentElement.prepend(element); + } else if (mode === 'append') { + parentElement.append(element); + } + } + } + + var _getOption = function(name) { + if ( the.element.hasAttribute('data-kt-swapper-' + name) === true ) { + var attr = the.element.getAttribute('data-kt-swapper-' + name); + var value = KTUtil.getResponsiveValue(attr); + + if ( value !== null && String(value) === 'true' ) { + value = true; + } else if ( value !== null && String(value) === 'false' ) { + value = false; + } + + return value; + } else { + var optionName = KTUtil.snakeToCamel(name); + + if ( the.options[optionName] ) { + return KTUtil.getResponsiveValue(the.options[optionName]); + } else { + return null; + } + } + } + + var _destroy = function() { + KTUtil.data(the.element).remove('swapper'); + } + + // Construct Class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Methods + the.update = function() { + _update(); + } + + the.destroy = function() { + return _destroy(); + } + + // Event API + the.on = function(name, handler) { + return KTEventHandler.on(the.element, name, handler); + } + + the.one = function(name, handler) { + return KTEventHandler.one(the.element, name, handler); + } + + the.off = function(name) { + return KTEventHandler.off(the.element, name); + } + + the.trigger = function(name, event) { + return KTEventHandler.trigger(the.element, name, event, the, event); + } +}; + +// Static methods +KTSwapper.getInstance = function(element) { + if ( element !== null && KTUtil.data(element).has('swapper') ) { + return KTUtil.data(element).get('swapper'); + } else { + return null; + } +} + +// Create instances +KTSwapper.createInstances = function(selector = '[data-kt-swapper="true"]') { + // Initialize Menus + var elements = document.querySelectorAll(selector); + var swapper; + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + swapper = new KTSwapper(elements[i]); + } + } +} + +// Window resize handler +window.addEventListener('resize', function() { + var timer; + + KTUtil.throttle(timer, function() { + // Locate and update Offcanvas instances on window resize + var elements = document.querySelectorAll('[data-kt-swapper="true"]'); + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + var swapper = KTSwapper.getInstance(elements[i]); + if (swapper) { + swapper.update(); + } + } + } + }, 200); +}); + +// Global initialization +KTSwapper.init = function() { + KTSwapper.createInstances(); +}; + +// On document ready +if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', KTSwapper.init); +} else { + KTSwapper.init(); +} + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTSwapper; +} diff --git a/resources/assets/core/js/components/toggle.js b/resources/assets/core/js/components/toggle.js new file mode 100644 index 0000000..92f7c7b --- /dev/null +++ b/resources/assets/core/js/components/toggle.js @@ -0,0 +1,226 @@ +"use strict"; + +// Class definition +var KTToggle = function(element, options) { + //////////////////////////// + // ** Private variables ** // + //////////////////////////// + var the = this; + var body = document.getElementsByTagName("BODY")[0]; + + if (!element) { + return; + } + + // Default Options + var defaultOptions = { + saveState: true + }; + + //////////////////////////// + // ** Private methods ** // + //////////////////////////// + + var _construct = function() { + if ( KTUtil.data(element).has('toggle') === true ) { + the = KTUtil.data(element).get('toggle'); + } else { + _init(); + } + } + + var _init = function() { + // Variables + the.options = KTUtil.deepExtend({}, defaultOptions, options); + the.uid = KTUtil.getUniqueId('toggle'); + + // Elements + the.element = element; + + the.target = document.querySelector(the.element.getAttribute('data-kt-toggle-target')) ? document.querySelector(the.element.getAttribute('data-kt-toggle-target')) : the.element; + the.state = the.element.hasAttribute('data-kt-toggle-state') ? the.element.getAttribute('data-kt-toggle-state') : ''; + the.mode = the.element.hasAttribute('data-kt-toggle-mode') ? the.element.getAttribute('data-kt-toggle-mode') : ''; + the.attribute = 'data-kt-' + the.element.getAttribute('data-kt-toggle-name'); + + // Event Handlers + _handlers(); + + // Bind Instance + KTUtil.data(the.element).set('toggle', the); + } + + var _handlers = function() { + KTUtil.addEvent(the.element, 'click', function(e) { + e.preventDefault(); + + if ( the.mode !== '' ) { + if ( the.mode === 'off' && _isEnabled() === false ) { + _toggle(); + } else if ( the.mode === 'on' && _isEnabled() === true ) { + _toggle(); + } + } else { + _toggle(); + } + }); + } + + // Event handlers + var _toggle = function() { + // Trigger "after.toggle" event + KTEventHandler.trigger(the.element, 'kt.toggle.change', the); + + if ( _isEnabled() ) { + _disable(); + } else { + _enable(); + } + + // Trigger "before.toggle" event + KTEventHandler.trigger(the.element, 'kt.toggle.changed', the); + + return the; + } + + var _enable = function() { + if ( _isEnabled() === true ) { + return; + } + + KTEventHandler.trigger(the.element, 'kt.toggle.enable', the); + + the.target.setAttribute(the.attribute, 'on'); + + if (the.state.length > 0) { + the.element.classList.add(the.state); + } + + if ( typeof KTCookie !== 'undefined' && the.options.saveState === true ) { + KTCookie.set(the.attribute, 'on'); + } + + KTEventHandler.trigger(the.element, 'kt.toggle.enabled', the); + + return the; + } + + var _disable = function() { + if ( _isEnabled() === false ) { + return; + } + + KTEventHandler.trigger(the.element, 'kt.toggle.disable', the); + + the.target.removeAttribute(the.attribute); + + if (the.state.length > 0) { + the.element.classList.remove(the.state); + } + + if ( typeof KTCookie !== 'undefined' && the.options.saveState === true ) { + KTCookie.remove(the.attribute); + } + + KTEventHandler.trigger(the.element, 'kt.toggle.disabled', the); + + return the; + } + + var _isEnabled = function() { + return (String(the.target.getAttribute(the.attribute)).toLowerCase() === 'on'); + } + + var _destroy = function() { + KTUtil.data(the.element).remove('toggle'); + } + + // Construct class + _construct(); + + /////////////////////// + // ** Public API ** // + /////////////////////// + + // Plugin API + the.toggle = function() { + return _toggle(); + } + + the.enable = function() { + return _enable(); + } + + the.disable = function() { + return _disable(); + } + + the.isEnabled = function() { + return _isEnabled(); + } + + the.goElement = function() { + return the.element; + } + + the.destroy = function() { + return _destroy(); + } + + // Event API + the.on = function(name, handler) { + return KTEventHandler.on(the.element, name, handler); + } + + the.one = function(name, handler) { + return KTEventHandler.one(the.element, name, handler); + } + + the.off = function(name) { + return KTEventHandler.off(the.element, name); + } + + the.trigger = function(name, event) { + return KTEventHandler.trigger(the.element, name, event, the, event); + } +}; + +// Static methods +KTToggle.getInstance = function(element) { + if ( element !== null && KTUtil.data(element).has('toggle') ) { + return KTUtil.data(element).get('toggle'); + } else { + return null; + } +} + +// Create instances +KTToggle.createInstances = function(selector = '[data-kt-toggle]') { + var body = document.getElementsByTagName("BODY")[0]; + + // Get instances + var elements = body.querySelectorAll(selector); + + if ( elements && elements.length > 0 ) { + for (var i = 0, len = elements.length; i < len; i++) { + // Initialize instances + new KTToggle(elements[i]); + } + } +} + +// Global initialization +KTToggle.init = function() { + KTToggle.createInstances(); +}; + +// On document ready +if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', KTToggle.init); +} else { + KTToggle.init(); +} + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTToggle; +} \ No newline at end of file diff --git a/resources/assets/core/js/components/util.js b/resources/assets/core/js/components/util.js new file mode 100644 index 0000000..82f4cb1 --- /dev/null +++ b/resources/assets/core/js/components/util.js @@ -0,0 +1,1570 @@ +"use strict"; + +/** + * @class KTUtil base utilize class that privides helper functions + */ + +// Polyfills + +// Element.matches() polyfill +if (!Element.prototype.matches) { + Element.prototype.matches = function(s) { + var matches = (this.document || this.ownerDocument).querySelectorAll(s), + i = matches.length; + while (--i >= 0 && matches.item(i) !== this) {} + return i > -1; + }; +} + +/** + * Element.closest() polyfill + * https://developer.mozilla.org/en-US/docs/Web/API/Element/closest#Polyfill + */ +if (!Element.prototype.closest) { + Element.prototype.closest = function (s) { + var el = this; + var ancestor = this; + if (!document.documentElement.contains(el)) return null; + do { + if (ancestor.matches(s)) return ancestor; + ancestor = ancestor.parentElement; + } while (ancestor !== null); + return null; + }; +} + +/** + * ChildNode.remove() polyfill + * https://gomakethings.com/removing-an-element-from-the-dom-the-es6-way/ + * @author Chris Ferdinandi + * @license MIT + */ +(function (elem) { + for (var i = 0; i < elem.length; i++) { + if (!window[elem[i]] || 'remove' in window[elem[i]].prototype) continue; + window[elem[i]].prototype.remove = function () { + this.parentNode.removeChild(this); + }; + } +})(['Element', 'CharacterData', 'DocumentType']); + + +// +// requestAnimationFrame polyfill by Erik Möller. +// With fixes from Paul Irish and Tino Zijdel +// +// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ +// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating +// +// MIT license +// +(function() { + var lastTime = 0; + var vendors = ['webkit', 'moz']; + for (var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { + window.requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame']; + window.cancelAnimationFrame = + window[vendors[x] + 'CancelAnimationFrame'] || window[vendors[x] + 'CancelRequestAnimationFrame']; + } + + if (!window.requestAnimationFrame) + window.requestAnimationFrame = function(callback) { + var currTime = new Date().getTime(); + var timeToCall = Math.max(0, 16 - (currTime - lastTime)); + var id = window.setTimeout(function() { + callback(currTime + timeToCall); + }, timeToCall); + lastTime = currTime + timeToCall; + return id; + }; + + if (!window.cancelAnimationFrame) + window.cancelAnimationFrame = function(id) { + clearTimeout(id); + }; +}()); + +// Source: https://github.com/jserz/js_piece/blob/master/DOM/ParentNode/prepend()/prepend().md +(function(arr) { + arr.forEach(function(item) { + if (item.hasOwnProperty('prepend')) { + return; + } + Object.defineProperty(item, 'prepend', { + configurable: true, + enumerable: true, + writable: true, + value: function prepend() { + var argArr = Array.prototype.slice.call(arguments), + docFrag = document.createDocumentFragment(); + + argArr.forEach(function(argItem) { + var isNode = argItem instanceof Node; + docFrag.appendChild(isNode ? argItem : document.createTextNode(String(argItem))); + }); + + this.insertBefore(docFrag, this.firstChild); + } + }); + }); +})([Element.prototype, Document.prototype, DocumentFragment.prototype]); + +// getAttributeNames +if (Element.prototype.getAttributeNames == undefined) { + Element.prototype.getAttributeNames = function () { + var attributes = this.attributes; + var length = attributes.length; + var result = new Array(length); + for (var i = 0; i < length; i++) { + result[i] = attributes[i].name; + } + return result; + }; +} + +// Global variables +window.KTUtilElementDataStore = {}; +window.KTUtilElementDataStoreID = 0; +window.KTUtilDelegatedEventHandlers = {}; + +var KTUtil = function() { + var resizeHandlers = []; + + /** + * Handle window resize event with some + * delay to attach event handlers upon resize complete + */ + var _windowResizeHandler = function() { + var _runResizeHandlers = function() { + // reinitialize other subscribed elements + for (var i = 0; i < resizeHandlers.length; i++) { + var each = resizeHandlers[i]; + each.call(); + } + }; + + var timer; + + window.addEventListener('resize', function() { + KTUtil.throttle(timer, function() { + _runResizeHandlers(); + }, 200); + }); + }; + + return { + /** + * Class main initializer. + * @param {object} settings. + * @returns null + */ + //main function to initiate the theme + init: function(settings) { + _windowResizeHandler(); + }, + + /** + * Adds window resize event handler. + * @param {function} callback function. + */ + addResizeHandler: function(callback) { + resizeHandlers.push(callback); + }, + + /** + * Removes window resize event handler. + * @param {function} callback function. + */ + removeResizeHandler: function(callback) { + for (var i = 0; i < resizeHandlers.length; i++) { + if (callback === resizeHandlers[i]) { + delete resizeHandlers[i]; + } + } + }, + + /** + * Trigger window resize handlers. + */ + runResizeHandlers: function() { + _runResizeHandlers(); + }, + + resize: function() { + if (typeof(Event) === 'function') { + // modern browsers + window.dispatchEvent(new Event('resize')); + } else { + // for IE and other old browsers + // causes deprecation warning on modern browsers + var evt = window.document.createEvent('UIEvents'); + evt.initUIEvent('resize', true, false, window, 0); + window.dispatchEvent(evt); + } + }, + + /** + * Get GET parameter value from URL. + * @param {string} paramName Parameter name. + * @returns {string} + */ + getURLParam: function(paramName) { + var searchString = window.location.search.substring(1), + i, val, params = searchString.split("&"); + + for (i = 0; i < params.length; i++) { + val = params[i].split("="); + if (val[0] == paramName) { + return unescape(val[1]); + } + } + + return null; + }, + + /** + * Checks whether current device is mobile touch. + * @returns {boolean} + */ + isMobileDevice: function() { + var test = (this.getViewPort().width < this.getBreakpoint('lg') ? true : false); + + if (test === false) { + // For use within normal web clients + test = navigator.userAgent.match(/iPad/i) != null; + } + + return test; + }, + + /** + * Checks whether current device is desktop. + * @returns {boolean} + */ + isDesktopDevice: function() { + return KTUtil.isMobileDevice() ? false : true; + }, + + /** + * Gets browser window viewport size. Ref: + * http://andylangton.co.uk/articles/javascript/get-viewport-size-javascript/ + * @returns {object} + */ + getViewPort: function() { + var e = window, + a = 'inner'; + if (!('innerWidth' in window)) { + a = 'client'; + e = document.documentElement || document.body; + } + + return { + width: e[a + 'Width'], + height: e[a + 'Height'] + }; + }, + + /** + * Checks whether given device mode is currently activated. + * @param {string} mode Responsive mode name(e.g: desktop, + * desktop-and-tablet, tablet, tablet-and-mobile, mobile) + * @returns {boolean} + */ + isBreakpointUp: function(mode) { + var width = this.getViewPort().width; + var breakpoint = this.getBreakpoint(mode); + + return (width >= breakpoint); + }, + + isBreakpointDown: function(mode) { + var width = this.getViewPort().width; + var breakpoint = this.getBreakpoint(mode); + + return (width < breakpoint); + }, + + getViewportWidth: function() { + return this.getViewPort().width; + }, + + /** + * Generates unique ID for give prefix. + * @param {string} prefix Prefix for generated ID + * @returns {boolean} + */ + getUniqueId: function(prefix) { + return prefix + Math.floor(Math.random() * (new Date()).getTime()); + }, + + /** + * Gets window width for give breakpoint mode. + * @param {string} mode Responsive mode name(e.g: xl, lg, md, sm) + * @returns {number} + */ + getBreakpoint: function(breakpoint) { + var value = this.getCssVariableValue('--bs-' + breakpoint); + + if ( value ) { + value = parseInt(value.trim()); + } + + return value; + }, + + /** + * Checks whether object has property matchs given key path. + * @param {object} obj Object contains values paired with given key path + * @param {string} keys Keys path seperated with dots + * @returns {object} + */ + isset: function(obj, keys) { + var stone; + + keys = keys || ''; + + if (keys.indexOf('[') !== -1) { + throw new Error('Unsupported object path notation.'); + } + + keys = keys.split('.'); + + do { + if (obj === undefined) { + return false; + } + + stone = keys.shift(); + + if (!obj.hasOwnProperty(stone)) { + return false; + } + + obj = obj[stone]; + + } while (keys.length); + + return true; + }, + + /** + * Gets highest z-index of the given element parents + * @param {object} el jQuery element object + * @returns {number} + */ + getHighestZindex: function(el) { + var position, value; + + while (el && el !== document) { + // Ignore z-index if position is set to a value where z-index is ignored by the browser + // This makes behavior of this function consistent across browsers + // WebKit always returns auto if the element is positioned + position = KTUtil.css(el, 'position'); + + if (position === "absolute" || position === "relative" || position === "fixed") { + // IE returns 0 when zIndex is not specified + // other browsers return a string + // we ignore the case of nested elements with an explicit value of 0 + //
+ value = parseInt(KTUtil.css(el, 'z-index')); + + if (!isNaN(value) && value !== 0) { + return value; + } + } + + el = el.parentNode; + } + + return 1; + }, + + /** + * Checks whether the element has any parent with fixed positionfreg + * @param {object} el jQuery element object + * @returns {boolean} + */ + hasFixedPositionedParent: function(el) { + var position; + + while (el && el !== document) { + position = KTUtil.css(el, 'position'); + + if (position === "fixed") { + return true; + } + + el = el.parentNode; + } + + return false; + }, + + /** + * Simulates delay + */ + sleep: function(milliseconds) { + var start = new Date().getTime(); + for (var i = 0; i < 1e7; i++) { + if ((new Date().getTime() - start) > milliseconds) { + break; + } + } + }, + + /** + * Gets randomly generated integer value within given min and max range + * @param {number} min Range start value + * @param {number} max Range end value + * @returns {number} + */ + getRandomInt: function(min, max) { + return Math.floor(Math.random() * (max - min + 1)) + min; + }, + + /** + * Checks whether Angular library is included + * @returns {boolean} + */ + isAngularVersion: function() { + return window.Zone !== undefined ? true : false; + }, + + // Deep extend: $.extend(true, {}, objA, objB); + deepExtend: function(out) { + out = out || {}; + + for (var i = 1; i < arguments.length; i++) { + var obj = arguments[i]; + if (!obj) continue; + + for (var key in obj) { + if (!obj.hasOwnProperty(key)) { + continue; + } + + // based on https://javascriptweblog.wordpress.com/2011/08/08/fixing-the-javascript-typeof-operator/ + if ( Object.prototype.toString.call(obj[key]) === '[object Object]' ) { + out[key] = KTUtil.deepExtend(out[key], obj[key]); + continue; + } + + out[key] = obj[key]; + } + } + + return out; + }, + + // extend: $.extend({}, objA, objB); + extend: function(out) { + out = out || {}; + + for (var i = 1; i < arguments.length; i++) { + if (!arguments[i]) + continue; + + for (var key in arguments[i]) { + if (arguments[i].hasOwnProperty(key)) + out[key] = arguments[i][key]; + } + } + + return out; + }, + + getBody: function() { + return document.getElementsByTagName('body')[0]; + }, + + /** + * Checks whether the element has given classes + * @param {object} el jQuery element object + * @param {string} Classes string + * @returns {boolean} + */ + hasClasses: function(el, classes) { + if (!el) { + return; + } + + var classesArr = classes.split(" "); + + for (var i = 0; i < classesArr.length; i++) { + if (KTUtil.hasClass(el, KTUtil.trim(classesArr[i])) == false) { + return false; + } + } + + return true; + }, + + hasClass: function(el, className) { + if (!el) { + return; + } + + return el.classList ? el.classList.contains(className) : new RegExp('\\b' + className + '\\b').test(el.className); + }, + + addClass: function(el, className) { + if (!el || typeof className === 'undefined') { + return; + } + + var classNames = className.split(' '); + + if (el.classList) { + for (var i = 0; i < classNames.length; i++) { + if (classNames[i] && classNames[i].length > 0) { + el.classList.add(KTUtil.trim(classNames[i])); + } + } + } else if (!KTUtil.hasClass(el, className)) { + for (var x = 0; x < classNames.length; x++) { + el.className += ' ' + KTUtil.trim(classNames[x]); + } + } + }, + + removeClass: function(el, className) { + if (!el || typeof className === 'undefined') { + return; + } + + var classNames = className.split(' '); + + if (el.classList) { + for (var i = 0; i < classNames.length; i++) { + el.classList.remove(KTUtil.trim(classNames[i])); + } + } else if (KTUtil.hasClass(el, className)) { + for (var x = 0; x < classNames.length; x++) { + el.className = el.className.replace(new RegExp('\\b' + KTUtil.trim(classNames[x]) + '\\b', 'g'), ''); + } + } + }, + + triggerCustomEvent: function(el, eventName, data) { + var event; + if (window.CustomEvent) { + event = new CustomEvent(eventName, { + detail: data + }); + } else { + event = document.createEvent('CustomEvent'); + event.initCustomEvent(eventName, true, true, data); + } + + el.dispatchEvent(event); + }, + + triggerEvent: function(node, eventName) { + // Make sure we use the ownerDocument from the provided node to avoid cross-window problems + var doc; + + if (node.ownerDocument) { + doc = node.ownerDocument; + } else if (node.nodeType == 9) { + // the node may be the document itself, nodeType 9 = DOCUMENT_NODE + doc = node; + } else { + throw new Error("Invalid node passed to fireEvent: " + node.id); + } + + if (node.dispatchEvent) { + // Gecko-style approach (now the standard) takes more work + var eventClass = ""; + + // Different events have different event classes. + // If this switch statement can't map an eventName to an eventClass, + // the event firing is going to fail. + switch (eventName) { + case "click": // Dispatching of 'click' appears to not work correctly in Safari. Use 'mousedown' or 'mouseup' instead. + case "mouseenter": + case "mouseleave": + case "mousedown": + case "mouseup": + eventClass = "MouseEvents"; + break; + + case "focus": + case "change": + case "blur": + case "select": + eventClass = "HTMLEvents"; + break; + + default: + throw "fireEvent: Couldn't find an event class for event '" + eventName + "'."; + break; + } + var event = doc.createEvent(eventClass); + + var bubbles = eventName == "change" ? false : true; + event.initEvent(eventName, bubbles, true); // All events created as bubbling and cancelable. + + event.synthetic = true; // allow detection of synthetic events + // The second parameter says go ahead with the default action + node.dispatchEvent(event, true); + } else if (node.fireEvent) { + // IE-old school style + var event = doc.createEventObject(); + event.synthetic = true; // allow detection of synthetic events + node.fireEvent("on" + eventName, event); + } + }, + + index: function( el ){ + var c = el.parentNode.children, i = 0; + for(; i < c.length; i++ ) + if( c[i] == el ) return i; + }, + + trim: function(string) { + return string.trim(); + }, + + eventTriggered: function(e) { + if (e.currentTarget.dataset.triggered) { + return true; + } else { + e.currentTarget.dataset.triggered = true; + + return false; + } + }, + + remove: function(el) { + if (el && el.parentNode) { + el.parentNode.removeChild(el); + } + }, + + find: function(parent, query) { + if ( parent !== null) { + return parent.querySelector(query); + } else { + return null; + } + }, + + findAll: function(parent, query) { + if ( parent !== null ) { + return parent.querySelectorAll(query); + } else { + return null; + } + }, + + insertAfter: function(el, referenceNode) { + return referenceNode.parentNode.insertBefore(el, referenceNode.nextSibling); + }, + + parents: function(elem, selector) { + // Set up a parent array + var parents = []; + + // Push each parent element to the array + for ( ; elem && elem !== document; elem = elem.parentNode ) { + if (selector) { + if (elem.matches(selector)) { + parents.push(elem); + } + continue; + } + parents.push(elem); + } + + // Return our parent array + return parents; + }, + + children: function(el, selector, log) { + if (!el || !el.childNodes) { + return null; + } + + var result = [], + i = 0, + l = el.childNodes.length; + + for (var i; i < l; ++i) { + if (el.childNodes[i].nodeType == 1 && KTUtil.matches(el.childNodes[i], selector, log)) { + result.push(el.childNodes[i]); + } + } + + return result; + }, + + child: function(el, selector, log) { + var children = KTUtil.children(el, selector, log); + + return children ? children[0] : null; + }, + + matches: function(el, selector, log) { + var p = Element.prototype; + var f = p.matches || p.webkitMatchesSelector || p.mozMatchesSelector || p.msMatchesSelector || function(s) { + return [].indexOf.call(document.querySelectorAll(s), this) !== -1; + }; + + if (el && el.tagName) { + return f.call(el, selector); + } else { + return false; + } + }, + + data: function(el) { + return { + set: function(name, data) { + if (!el) { + return; + } + + if (el.customDataTag === undefined) { + window.KTUtilElementDataStoreID++; + el.customDataTag = window.KTUtilElementDataStoreID; + } + + if (window.KTUtilElementDataStore[el.customDataTag] === undefined) { + window.KTUtilElementDataStore[el.customDataTag] = {}; + } + + window.KTUtilElementDataStore[el.customDataTag][name] = data; + }, + + get: function(name) { + if (!el) { + return; + } + + if (el.customDataTag === undefined) { + return null; + } + + return this.has(name) ? window.KTUtilElementDataStore[el.customDataTag][name] : null; + }, + + has: function(name) { + if (!el) { + return false; + } + + if (el.customDataTag === undefined) { + return false; + } + + return (window.KTUtilElementDataStore[el.customDataTag] && window.KTUtilElementDataStore[el.customDataTag][name]) ? true : false; + }, + + remove: function(name) { + if (el && this.has(name)) { + delete window.KTUtilElementDataStore[el.customDataTag][name]; + } + } + }; + }, + + outerWidth: function(el, margin) { + var width; + + if (margin === true) { + width = parseFloat(el.offsetWidth); + width += parseFloat(KTUtil.css(el, 'margin-left')) + parseFloat(KTUtil.css(el, 'margin-right')); + + return parseFloat(width); + } else { + width = parseFloat(el.offsetWidth); + + return width; + } + }, + + offset: function(el) { + var rect, win; + + if ( !el ) { + return; + } + + // Return zeros for disconnected and hidden (display: none) elements (gh-2310) + // Support: IE <=11 only + // Running getBoundingClientRect on a + // disconnected node in IE throws an error + + if ( !el.getClientRects().length ) { + return { top: 0, left: 0 }; + } + + // Get document-relative position by adding viewport scroll to viewport-relative gBCR + rect = el.getBoundingClientRect(); + win = el.ownerDocument.defaultView; + + return { + top: rect.top + win.pageYOffset, + left: rect.left + win.pageXOffset, + right: window.innerWidth - (el.offsetLeft + el.offsetWidth) + }; + }, + + height: function(el) { + return KTUtil.css(el, 'height'); + }, + + outerHeight: function(el, withMargin) { + var height = el.offsetHeight; + var style; + + if (typeof withMargin !== 'undefined' && withMargin === true) { + style = getComputedStyle(el); + height += parseInt(style.marginTop) + parseInt(style.marginBottom); + + return height; + } else { + return height; + } + }, + + visible: function(el) { + return !(el.offsetWidth === 0 && el.offsetHeight === 0); + }, + + attr: function(el, name, value) { + if (el == undefined) { + return; + } + + if (value !== undefined) { + el.setAttribute(name, value); + } else { + return el.getAttribute(name); + } + }, + + hasAttr: function(el, name) { + if (el == undefined) { + return; + } + + return el.getAttribute(name) ? true : false; + }, + + removeAttr: function(el, name) { + if (el == undefined) { + return; + } + + el.removeAttribute(name); + }, + + animate: function(from, to, duration, update, easing, done) { + /** + * TinyAnimate.easings + * Adapted from jQuery Easing + */ + var easings = {}; + var easing; + + easings.linear = function(t, b, c, d) { + return c * t / d + b; + }; + + easing = easings.linear; + + // Early bail out if called incorrectly + if (typeof from !== 'number' || + typeof to !== 'number' || + typeof duration !== 'number' || + typeof update !== 'function') { + return; + } + + // Create mock done() function if necessary + if (typeof done !== 'function') { + done = function() {}; + } + + // Pick implementation (requestAnimationFrame | setTimeout) + var rAF = window.requestAnimationFrame || function(callback) { + window.setTimeout(callback, 1000 / 50); + }; + + // Animation loop + var canceled = false; + var change = to - from; + + function loop(timestamp) { + var time = (timestamp || +new Date()) - start; + + if (time >= 0) { + update(easing(time, from, change, duration)); + } + if (time >= 0 && time >= duration) { + update(to); + done(); + } else { + rAF(loop); + } + } + + update(from); + + // Start animation loop + var start = window.performance && window.performance.now ? window.performance.now() : +new Date(); + + rAF(loop); + }, + + actualCss: function(el, prop, cache) { + var css = ''; + + if (el instanceof HTMLElement === false) { + return; + } + + if (!el.getAttribute('kt-hidden-' + prop) || cache === false) { + var value; + + // the element is hidden so: + // making the el block so we can meassure its height but still be hidden + css = el.style.cssText; + el.style.cssText = 'position: absolute; visibility: hidden; display: block;'; + + if (prop == 'width') { + value = el.offsetWidth; + } else if (prop == 'height') { + value = el.offsetHeight; + } + + el.style.cssText = css; + + // store it in cache + el.setAttribute('kt-hidden-' + prop, value); + + return parseFloat(value); + } else { + // store it in cache + return parseFloat(el.getAttribute('kt-hidden-' + prop)); + } + }, + + actualHeight: function(el, cache) { + return KTUtil.actualCss(el, 'height', cache); + }, + + actualWidth: function(el, cache) { + return KTUtil.actualCss(el, 'width', cache); + }, + + getScroll: function(element, method) { + // The passed in `method` value should be 'Top' or 'Left' + method = 'scroll' + method; + return (element == window || element == document) ? ( + self[(method == 'scrollTop') ? 'pageYOffset' : 'pageXOffset'] || + (browserSupportsBoxModel && document.documentElement[method]) || + document.body[method] + ) : element[method]; + }, + + css: function(el, styleProp, value, important) { + if (!el) { + return; + } + + if (value !== undefined) { + if ( important === true ) { + el.style.setProperty(styleProp, value, 'important'); + } else { + el.style[styleProp] = value; + } + } else { + var defaultView = (el.ownerDocument || document).defaultView; + + // W3C standard way: + if (defaultView && defaultView.getComputedStyle) { + // sanitize property name to css notation + // (hyphen separated words eg. font-Size) + styleProp = styleProp.replace(/([A-Z])/g, "-$1").toLowerCase(); + + return defaultView.getComputedStyle(el, null).getPropertyValue(styleProp); + } else if (el.currentStyle) { // IE + // sanitize property name to camelCase + styleProp = styleProp.replace(/\-(\w)/g, function(str, letter) { + return letter.toUpperCase(); + }); + + value = el.currentStyle[styleProp]; + + // convert other units to pixels on IE + if (/^\d+(em|pt|%|ex)?$/i.test(value)) { + return (function(value) { + var oldLeft = el.style.left, oldRsLeft = el.runtimeStyle.left; + + el.runtimeStyle.left = el.currentStyle.left; + el.style.left = value || 0; + value = el.style.pixelLeft + "px"; + el.style.left = oldLeft; + el.runtimeStyle.left = oldRsLeft; + + return value; + })(value); + } + + return value; + } + } + }, + + slide: function(el, dir, speed, callback, recalcMaxHeight) { + if (!el || (dir == 'up' && KTUtil.visible(el) === false) || (dir == 'down' && KTUtil.visible(el) === true)) { + return; + } + + speed = (speed ? speed : 600); + var calcHeight = KTUtil.actualHeight(el); + var calcPaddingTop = false; + var calcPaddingBottom = false; + + if (KTUtil.css(el, 'padding-top') && KTUtil.data(el).has('slide-padding-top') !== true) { + KTUtil.data(el).set('slide-padding-top', KTUtil.css(el, 'padding-top')); + } + + if (KTUtil.css(el, 'padding-bottom') && KTUtil.data(el).has('slide-padding-bottom') !== true) { + KTUtil.data(el).set('slide-padding-bottom', KTUtil.css(el, 'padding-bottom')); + } + + if (KTUtil.data(el).has('slide-padding-top')) { + calcPaddingTop = parseInt(KTUtil.data(el).get('slide-padding-top')); + } + + if (KTUtil.data(el).has('slide-padding-bottom')) { + calcPaddingBottom = parseInt(KTUtil.data(el).get('slide-padding-bottom')); + } + + if (dir == 'up') { // up + el.style.cssText = 'display: block; overflow: hidden;'; + + if (calcPaddingTop) { + KTUtil.animate(0, calcPaddingTop, speed, function(value) { + el.style.paddingTop = (calcPaddingTop - value) + 'px'; + }, 'linear'); + } + + if (calcPaddingBottom) { + KTUtil.animate(0, calcPaddingBottom, speed, function(value) { + el.style.paddingBottom = (calcPaddingBottom - value) + 'px'; + }, 'linear'); + } + + KTUtil.animate(0, calcHeight, speed, function(value) { + el.style.height = (calcHeight - value) + 'px'; + }, 'linear', function() { + el.style.height = ''; + el.style.display = 'none'; + + if (typeof callback === 'function') { + callback(); + } + }); + + + } else if (dir == 'down') { // down + el.style.cssText = 'display: block; overflow: hidden;'; + + if (calcPaddingTop) { + KTUtil.animate(0, calcPaddingTop, speed, function(value) {// + el.style.paddingTop = value + 'px'; + }, 'linear', function() { + el.style.paddingTop = ''; + }); + } + + if (calcPaddingBottom) { + KTUtil.animate(0, calcPaddingBottom, speed, function(value) { + el.style.paddingBottom = value + 'px'; + }, 'linear', function() { + el.style.paddingBottom = ''; + }); + } + + KTUtil.animate(0, calcHeight, speed, function(value) { + el.style.height = value + 'px'; + }, 'linear', function() { + el.style.height = ''; + el.style.display = ''; + el.style.overflow = ''; + + if (typeof callback === 'function') { + callback(); + } + }); + } + }, + + slideUp: function(el, speed, callback) { + KTUtil.slide(el, 'up', speed, callback); + }, + + slideDown: function(el, speed, callback) { + KTUtil.slide(el, 'down', speed, callback); + }, + + show: function(el, display) { + if (typeof el !== 'undefined') { + el.style.display = (display ? display : 'block'); + } + }, + + hide: function(el) { + if (typeof el !== 'undefined') { + el.style.display = 'none'; + } + }, + + addEvent: function(el, type, handler, one) { + if (typeof el !== 'undefined' && el !== null) { + el.addEventListener(type, handler); + } + }, + + removeEvent: function(el, type, handler) { + if (el !== null) { + el.removeEventListener(type, handler); + } + }, + + on: function(element, selector, event, handler) { + if ( element === null ) { + return; + } + + var eventId = KTUtil.getUniqueId('event'); + + window.KTUtilDelegatedEventHandlers[eventId] = function(e) { + var targets = element.querySelectorAll(selector); + var target = e.target; + + while ( target && target !== element ) { + for ( var i = 0, j = targets.length; i < j; i++ ) { + if ( target === targets[i] ) { + handler.call(target, e); + } + } + + target = target.parentNode; + } + } + + KTUtil.addEvent(element, event, window.KTUtilDelegatedEventHandlers[eventId]); + + return eventId; + }, + + off: function(element, event, eventId) { + if (!element || !window.KTUtilDelegatedEventHandlers[eventId]) { + return; + } + + KTUtil.removeEvent(element, event, window.KTUtilDelegatedEventHandlers[eventId]); + + delete window.KTUtilDelegatedEventHandlers[eventId]; + }, + + one: function onetime(el, type, callback) { + el.addEventListener(type, function callee(e) { + // remove event + if (e.target && e.target.removeEventListener) { + e.target.removeEventListener(e.type, callee); + } + + // need to verify from https://themeforest.net/author_dashboard#comment_23615588 + if (el && el.removeEventListener) { + e.currentTarget.removeEventListener(e.type, callee); + } + + // call handler + return callback(e); + }); + }, + + hash: function(str) { + var hash = 0, + i, chr; + + if (str.length === 0) return hash; + for (i = 0; i < str.length; i++) { + chr = str.charCodeAt(i); + hash = ((hash << 5) - hash) + chr; + hash |= 0; // Convert to 32bit integer + } + + return hash; + }, + + animateClass: function(el, animationName, callback) { + var animation; + var animations = { + animation: 'animationend', + OAnimation: 'oAnimationEnd', + MozAnimation: 'mozAnimationEnd', + WebkitAnimation: 'webkitAnimationEnd', + msAnimation: 'msAnimationEnd', + }; + + for (var t in animations) { + if (el.style[t] !== undefined) { + animation = animations[t]; + } + } + + KTUtil.addClass(el, animationName); + + KTUtil.one(el, animation, function() { + KTUtil.removeClass(el, animationName); + }); + + if (callback) { + KTUtil.one(el, animation, callback); + } + }, + + transitionEnd: function(el, callback) { + var transition; + var transitions = { + transition: 'transitionend', + OTransition: 'oTransitionEnd', + MozTransition: 'mozTransitionEnd', + WebkitTransition: 'webkitTransitionEnd', + msTransition: 'msTransitionEnd' + }; + + for (var t in transitions) { + if (el.style[t] !== undefined) { + transition = transitions[t]; + } + } + + KTUtil.one(el, transition, callback); + }, + + animationEnd: function(el, callback) { + var animation; + var animations = { + animation: 'animationend', + OAnimation: 'oAnimationEnd', + MozAnimation: 'mozAnimationEnd', + WebkitAnimation: 'webkitAnimationEnd', + msAnimation: 'msAnimationEnd' + }; + + for (var t in animations) { + if (el.style[t] !== undefined) { + animation = animations[t]; + } + } + + KTUtil.one(el, animation, callback); + }, + + animateDelay: function(el, value) { + var vendors = ['webkit-', 'moz-', 'ms-', 'o-', '']; + for (var i = 0; i < vendors.length; i++) { + KTUtil.css(el, vendors[i] + 'animation-delay', value); + } + }, + + animateDuration: function(el, value) { + var vendors = ['webkit-', 'moz-', 'ms-', 'o-', '']; + for (var i = 0; i < vendors.length; i++) { + KTUtil.css(el, vendors[i] + 'animation-duration', value); + } + }, + + scrollTo: function(target, offset, duration) { + var duration = duration ? duration : 500; + var targetPos = target ? KTUtil.offset(target).top : 0; + var scrollPos = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0; + var from, to; + + if (offset) { + targetPos = targetPos - offset; + } + + from = scrollPos; + to = targetPos; + + KTUtil.animate(from, to, duration, function(value) { + document.documentElement.scrollTop = value; + document.body.parentNode.scrollTop = value; + document.body.scrollTop = value; + }); //, easing, done + }, + + scrollTop: function(offset, duration) { + KTUtil.scrollTo(null, offset, duration); + }, + + isArray: function(obj) { + return obj && Array.isArray(obj); + }, + + isEmpty: function(obj) { + for (var prop in obj) { + if (obj.hasOwnProperty(prop)) { + return false; + } + } + + return true; + }, + + numberString: function(nStr) { + nStr += ''; + var x = nStr.split('.'); + var x1 = x[0]; + var x2 = x.length > 1 ? '.' + x[1] : ''; + var rgx = /(\d+)(\d{3})/; + while (rgx.test(x1)) { + x1 = x1.replace(rgx, '$1' + ',' + '$2'); + } + return x1 + x2; + }, + + isRTL: function() { + return (document.querySelector('html').getAttribute("direction") === 'rtl'); + }, + + snakeToCamel: function(s){ + return s.replace(/(\-\w)/g, function(m){return m[1].toUpperCase();}); + }, + + filterBoolean: function(val) { + // Convert string boolean + if (val === true || val === 'true') { + return true; + } + + if (val === false || val === 'false') { + return false; + } + + return val; + }, + + setHTML: function(el, html) { + el.innerHTML = html; + }, + + getHTML: function(el) { + if (el) { + return el.innerHTML; + } + }, + + getDocumentHeight: function() { + var body = document.body; + var html = document.documentElement; + + return Math.max( body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight ); + }, + + getScrollTop: function() { + return (document.scrollingElement || document.documentElement).scrollTop; + }, + + colorLighten: function(color, amount) { + const addLight = function(color, amount){ + let cc = parseInt(color,16) + amount; + let c = (cc > 255) ? 255 : (cc); + c = (c.toString(16).length > 1 ) ? c.toString(16) : `0${c.toString(16)}`; + return c; + } + + color = (color.indexOf("#")>=0) ? color.substring(1,color.length) : color; + amount = parseInt((255*amount)/100); + + return color = `#${addLight(color.substring(0,2), amount)}${addLight(color.substring(2,4), amount)}${addLight(color.substring(4,6), amount)}`; + }, + + colorDarken: function(color, amount) { + const subtractLight = function(color, amount){ + let cc = parseInt(color,16) - amount; + let c = (cc < 0) ? 0 : (cc); + c = (c.toString(16).length > 1 ) ? c.toString(16) : `0${c.toString(16)}`; + + return c; + } + + color = (color.indexOf("#")>=0) ? color.substring(1,color.length) : color; + amount = parseInt((255*amount)/100); + + return color = `#${subtractLight(color.substring(0,2), amount)}${subtractLight(color.substring(2,4), amount)}${subtractLight(color.substring(4,6), amount)}`; + }, + + // Throttle function: Input as function which needs to be throttled and delay is the time interval in milliseconds + throttle: function (timer, func, delay) { + // If setTimeout is already scheduled, no need to do anything + if (timer) { + return; + } + + // Schedule a setTimeout after delay seconds + timer = setTimeout(function () { + func(); + + // Once setTimeout function execution is finished, timerId = undefined so that in
+ // the next scroll event function execution can be scheduled by the setTimeout + timer = undefined; + }, delay); + }, + + // Debounce function: Input as function which needs to be debounced and delay is the debounced time in milliseconds + debounce: function (timer, func, delay) { + // Cancels the setTimeout method execution + clearTimeout(timer) + + // Executes the func after delay time. + timer = setTimeout(func, delay); + }, + + parseJson: function(value) { + if (typeof value === 'string') { + value = value.replace(/'/g, "\""); + + var jsonStr = value.replace(/(\w+:)|(\w+ :)/g, function(matched) { + return '"' + matched.substring(0, matched.length - 1) + '":'; + }); + + try { + value = JSON.parse(jsonStr); + } catch(e) { } + } + + return value; + }, + + getResponsiveValue: function(value, defaultValue) { + var width = this.getViewPort().width; + var result; + + value = KTUtil.parseJson(value); + + if (typeof value === 'object') { + var resultKey; + var resultBreakpoint = -1; + var breakpoint; + + for (var key in value) { + if (key === 'default') { + breakpoint = 0; + } else { + breakpoint = this.getBreakpoint(key) ? this.getBreakpoint(key) : parseInt(key); + } + + if (breakpoint <= width && breakpoint > resultBreakpoint) { + resultKey = key; + resultBreakpoint = breakpoint; + } + } + + if (resultKey) { + result = value[resultKey]; + } else { + result = value; + } + } else { + result = value; + } + + return result; + }, + + each: function(array, callback) { + return [].slice.call(array).map(callback); + }, + + getSelectorMatchValue: function(value) { + var result = null; + value = KTUtil.parseJson(value); + + if ( typeof value === 'object' ) { + // Match condition + if ( value['match'] !== undefined ) { + var selector = Object.keys(value['match'])[0]; + value = Object.values(value['match'])[0]; + + if ( document.querySelector(selector) !== null ) { + result = value; + } + } + } else { + result = value; + } + + return result; + }, + + getConditionalValue: function(value) { + var value = KTUtil.parseJson(value); + var result = KTUtil.getResponsiveValue(value); + + if ( result !== null && result['match'] !== undefined ) { + result = KTUtil.getSelectorMatchValue(result); + } + + if ( result === null && value !== null && value['default'] !== undefined ) { + result = value['default']; + } + + return result; + }, + + getCssVariableValue: function(variableName) { + var hex = getComputedStyle(document.documentElement).getPropertyValue(variableName); + if ( hex && hex.length > 0 ) { + hex = hex.trim(); + } + + return hex; + }, + + isInViewport: function(element) { + var rect = element.getBoundingClientRect(); + + return ( + rect.top >= 0 && + rect.left >= 0 && + rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && + rect.right <= (window.innerWidth || document.documentElement.clientWidth) + ); + }, + + onDOMContentLoaded: function(callback) { + if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', callback); + } else { + callback(); + } + }, + + inIframe: function() { + try { + return window.self !== window.top; + } catch (e) { + return true; + } + }, + + isHexColor(code) { + return /^#[0-9A-F]{6}$/i.test(code); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTUtil; +} \ No newline at end of file diff --git a/resources/assets/core/js/custom/account/api-keys/api-keys.js b/resources/assets/core/js/custom/account/api-keys/api-keys.js new file mode 100644 index 0000000..f4743ce --- /dev/null +++ b/resources/assets/core/js/custom/account/api-keys/api-keys.js @@ -0,0 +1,68 @@ +"use strict"; + +// Class definition +var KTAccountAPIKeys = function () { + // Private functions + var initLicenceCopy = function() { + KTUtil.each(document.querySelectorAll('#kt_api_keys_table [data-action="copy"]'), function(button) { + var tr = button.closest('tr'); + var license = KTUtil.find(tr, '[data-bs-target="license"]'); + + var clipboard = new ClipboardJS(button, { + target: license, + text: function() { + return license.innerHTML; + } + }); + + clipboard.on('success', function(e) { + // Icons + var svgIcon = button.querySelector('.svg-icon'); + var checkIcon = button.querySelector('.bi.bi-check'); + + // exit if check icon is already shown + if (checkIcon) { + return; + } + + // Create check icon + checkIcon = document.createElement('i'); + checkIcon.classList.add('bi'); + checkIcon.classList.add('bi-check'); + checkIcon.classList.add('fs-2x'); + + // Append check icon + button.appendChild(checkIcon); + + // Highlight target + license.classList.add('text-success'); + + // Hide copy icon + svgIcon.classList.add('d-none'); + + // Set 3 seconds timeout to hide the check icon and show copy icon back + setTimeout(function() { + // Remove check icon + svgIcon.classList.remove('d-none'); + // Show check icon back + button.removeChild(checkIcon); + + // Remove highlight + license.classList.remove('text-success'); + }, 3000); + }); + }); + } + + // Public methods + return { + init: function () { + initLicenceCopy(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTAccountAPIKeys.init(); +}); diff --git a/resources/assets/core/js/custom/account/orders/classic.js b/resources/assets/core/js/custom/account/orders/classic.js new file mode 100644 index 0000000..143e2e6 --- /dev/null +++ b/resources/assets/core/js/custom/account/orders/classic.js @@ -0,0 +1,108 @@ +"use strict"; + +// Class definition +var KTDatatablesClassic = function () { + // Private functions + + var initClassic = function () { + + // Set date data order + const table = document.getElementById('kt_orders_classic'); + const tableRows = table.querySelectorAll('tbody tr'); + + tableRows.forEach(row => { + const dateRow = row.querySelectorAll('td'); + const realDate = moment(dateRow[1].innerHTML, "MMM D, YYYY").format('x'); + dateRow[1].setAttribute('data-order', realDate); + }); + + // Init datatable --- more info on datatables: https://datatables.net/manual/ + const datatable = $(table).DataTable({ + "info": false, + 'order': [] + }); + + // Filter dropdown elements + const filterOrders = document.getElementById('kt_filter_orders'); + const filterYear = document.getElementById('kt_filter_year'); + + // Filter by order status --- official docs reference: https://datatables.net/reference/api/search() + filterOrders.addEventListener('change', function (e) { + datatable.column(3).search(e.target.value).draw(); + }); + + // Filter by date --- official docs reference: https://momentjs.com/docs/ + var minDate; + var maxDate; + filterYear.addEventListener('change', function (e) { + const value = e.target.value; + switch (value) { + case 'thisyear': { + minDate = moment().startOf('year').format('x'); + maxDate = moment().endOf('year').format('x'); + datatable.draw(); + break; + } + case 'thismonth': { + minDate = moment().startOf('month').format('x'); + maxDate = moment().endOf('month').format('x'); + datatable.draw(); + break; + } + case 'lastmonth': { + minDate = moment().subtract(1, 'months').startOf('month').format('x'); + maxDate = moment().subtract(1, 'months').endOf('month').format('x'); + datatable.draw(); + break; + } + case 'last90days': { + minDate = moment().subtract(30, 'days').format('x'); + maxDate = moment().format('x'); + datatable.draw(); + break; + } + default: { + minDate = moment().subtract(100, 'years').startOf('month').format('x'); + maxDate = moment().add(1, 'months').endOf('month').format('x'); + datatable.draw(); + break; + } + } + }); + + // Date range filter --- offical docs reference: https://datatables.net/examples/plug-ins/range_filtering.html + $.fn.dataTable.ext.search.push( + function (settings, data, dataIndex) { + var min = minDate; + var max = maxDate; + var date = parseFloat(moment(data[1]).format('x')) || 0; // use data for the age column + + if ((isNaN(min) && isNaN(max)) || + (isNaN(min) && date <= max) || + (min <= date && isNaN(max)) || + (min <= date && date <= max)) { + return true; + } + return false; + } + ); + + // Search --- official docs reference: https://datatables.net/reference/api/search() + var filterSearch = document.getElementById('kt_filter_search'); + filterSearch.addEventListener('keyup', function (e) { + datatable.search(e.target.value).draw(); + }); + } + + // Public methods + return { + init: function () { + initClassic(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTDatatablesClassic.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/account/security/license-usage.js b/resources/assets/core/js/custom/account/security/license-usage.js new file mode 100644 index 0000000..ac5983c --- /dev/null +++ b/resources/assets/core/js/custom/account/security/license-usage.js @@ -0,0 +1,68 @@ +"use strict"; + +// Class definition +var KTAccountSecurityLicenseUsage = function () { + // Private functions + var initLicenceCopy = function() { + KTUtil.each(document.querySelectorAll('#kt_security_license_usage_table [data-action="copy"]'), function(button) { + var tr = button.closest('tr'); + var license = KTUtil.find(tr, '[data-bs-target="license"]'); + + var clipboard = new ClipboardJS(button, { + target: license, + text: function() { + return license.innerHTML; + } + }); + + clipboard.on('success', function(e) { + // Icons + var svgIcon = button.querySelector('.svg-icon'); + var checkIcon = button.querySelector('.bi.bi-check'); + + // exit if check icon is already shown + if (checkIcon) { + return; + } + + // Create check icon + checkIcon = document.createElement('i'); + checkIcon.classList.add('bi'); + checkIcon.classList.add('bi-check'); + checkIcon.classList.add('fs-2x'); + + // Append check icon + button.appendChild(checkIcon); + + // Highlight target + license.classList.add('text-success'); + + // Hide copy icon + svgIcon.classList.add('d-none'); + + // Set 3 seconds timeout to hide the check icon and show copy icon back + setTimeout(function() { + // Remove check icon + svgIcon.classList.remove('d-none'); + // Show check icon back + button.removeChild(checkIcon); + + // Remove highlight + license.classList.remove('text-success'); + }, 3000); + }); + }); + } + + // Public methods + return { + init: function () { + initLicenceCopy(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTAccountSecurityLicenseUsage.init(); +}); diff --git a/resources/assets/core/js/custom/account/security/security-summary.js b/resources/assets/core/js/custom/account/security/security-summary.js new file mode 100644 index 0000000..3a0f586 --- /dev/null +++ b/resources/assets/core/js/custom/account/security/security-summary.js @@ -0,0 +1,155 @@ +"use strict"; + +// Class definition +var KTAccountSecuritySummary = function () { + // Private functions + var initChart = function(tabSelector, chartSelector, data1, data2, initByDefault) { + var element = document.querySelector(chartSelector); + var height = parseInt(KTUtil.css(element, 'height')); + + if (!element) { + return; + } + + var options = { + series: [{ + name: 'Net Profit', + data: data1 + }, { + name: 'Revenue', + data: data2 + }], + chart: { + fontFamily: 'inherit', + type: 'bar', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: ['35%'], + borderRadius: 6 + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + stroke: { + show: true, + width: 2, + colors: ['transparent'] + }, + xaxis: { + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-400'), + fontSize: '12px' + } + } + }, + yaxis: { + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-400'), + fontSize: '12px' + } + } + }, + fill: { + opacity: 1 + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return "$" + val + " thousands" + } + } + }, + colors: [KTUtil.getCssVariableValue('--bs-primary'), KTUtil.getCssVariableValue('--bs-gray-200')], + grid: { + borderColor: KTUtil.getCssVariableValue('--bs-gray-200'), + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + } + }; + + var chart = new ApexCharts(element, options); + + var init = false; + var tab = document.querySelector(tabSelector); + + if (initByDefault === true) { + setTimeout(function() { + chart.render(); + init = true; + }, 500); + } + + tab.addEventListener('shown.bs.tab', function (event) { + if (init == false) { + chart.render(); + init = true; + } + }) + } + + // Public methods + return { + init: function () { + initChart('#kt_security_summary_tab_hours_agents', '#kt_security_summary_chart_hours_agents', [50, 70, 90, 117, 80, 65, 80, 90, 115, 95, 70, 84], [50, 70, 90, 117, 80, 65, 70, 90, 115, 95, 70, 84], true); + initChart('#kt_security_summary_tab_hours_clients', '#kt_security_summary_chart_hours_clients', [50, 70, 90, 117, 80, 65, 80, 90, 115, 95, 70, 84], [50, 70, 90, 117, 80, 65, 80, 90, 115, 95, 70, 84], false); + + initChart('#kt_security_summary_tab_day', '#kt_security_summary_chart_day_agents', [50, 70, 80, 100, 90, 65, 80, 90, 115, 95, 70, 84], [50, 70, 90, 117, 60, 65, 80, 90, 100, 95, 70, 84], false); + initChart('#kt_security_summary_tab_day_clients', '#kt_security_summary_chart_day_clients', [50, 70, 100, 90, 80, 65, 80, 90, 115, 95, 70, 84], [50, 70, 90, 115, 80, 65, 80, 90, 115, 95, 70, 84], false); + + initChart('#kt_security_summary_tab_week', '#kt_security_summary_chart_week_agents', [50, 70, 75, 117, 80, 65, 80, 90, 115, 95, 50, 84], [50, 60, 90, 117, 80, 65, 80, 90, 115, 95, 70, 84], false); + initChart('#kt_security_summary_tab_week_clients', '#kt_security_summary_chart_week_clients', [50, 70, 90, 117, 80, 65, 80, 90, 100, 80, 70, 84], [50, 70, 90, 117, 80, 65, 80, 90, 100, 95, 70, 84], false); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTAccountSecuritySummary.init(); +}); diff --git a/resources/assets/core/js/custom/account/settings/deactivate-account.js b/resources/assets/core/js/custom/account/settings/deactivate-account.js new file mode 100644 index 0000000..c9c3342 --- /dev/null +++ b/resources/assets/core/js/custom/account/settings/deactivate-account.js @@ -0,0 +1,111 @@ +"use strict"; + +// Class definition +var KTAccountSettingsDeactivateAccount = function () { + // Private variables + var form; + var validation; + var submitButton; + + // Private functions + var initValidation = function () { + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + validation = FormValidation.formValidation( + form, + { + fields: { + deactivate: { + validators: { + notEmpty: { + message: 'Please check the box to deactivate your account' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + submitButton: new FormValidation.plugins.SubmitButton(), + //defaultSubmit: new FormValidation.plugins.DefaultSubmit(), // Uncomment this line to enable normal button submit after form validation + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + } + + var handleForm = function () { + submitButton.addEventListener('click', function (e) { + e.preventDefault(); + + validation.validate().then(function (status) { + if (status == 'Valid') { + + swal.fire({ + text: "Are you sure you would like to deactivate your account?", + icon: "warning", + buttonsStyling: false, + showDenyButton: true, + confirmButtonText: "Yes", + denyButtonText: 'No', + customClass: { + confirmButton: "btn btn-light-primary", + denyButton: "btn btn-danger" + } + }).then((result) => { + if (result.isConfirmed) { + Swal.fire({ + text: 'Your account has been deactivated.', + icon: 'success', + confirmButtonText: "Ok", + buttonsStyling: false, + customClass: { + confirmButton: "btn btn-light-primary" + } + }) + } else if (result.isDenied) { + Swal.fire({ + text: 'Account not deactivated.', + icon: 'info', + confirmButtonText: "Ok", + buttonsStyling: false, + customClass: { + confirmButton: "btn btn-light-primary" + } + }) + } + }); + + } else { + swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-light-primary" + } + }); + } + }); + }); + } + + // Public methods + return { + init: function () { + form = document.querySelector('#kt_account_deactivate_form'); + submitButton = document.querySelector('#kt_account_deactivate_account_submit'); + + initValidation(); + handleForm(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTAccountSettingsDeactivateAccount.init(); +}); diff --git a/resources/assets/core/js/custom/account/settings/overview.js b/resources/assets/core/js/custom/account/settings/overview.js new file mode 100644 index 0000000..9c47829 --- /dev/null +++ b/resources/assets/core/js/custom/account/settings/overview.js @@ -0,0 +1,21 @@ +"use strict"; + +// Class definition +var KTAccountSettingsOverview = function () { + // Private functions + var initSettings = function() { + + } + + // Public methods + return { + init: function () { + initSettings(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTAccountSettingsOverview.init(); +}); diff --git a/resources/assets/core/js/custom/account/settings/profile-details.js b/resources/assets/core/js/custom/account/settings/profile-details.js new file mode 100644 index 0000000..9516fec --- /dev/null +++ b/resources/assets/core/js/custom/account/settings/profile-details.js @@ -0,0 +1,150 @@ +"use strict"; + +// Class definition +var KTAccountSettingsProfileDetails = function () { + // Private variables + var form; + var submitButton; + var validation; + + // Private functions + var initValidation = function () { + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + validation = FormValidation.formValidation( + form, + { + fields: { + fname: { + validators: { + notEmpty: { + message: 'First name is required' + } + } + }, + lname: { + validators: { + notEmpty: { + message: 'Last name is required' + } + } + }, + company: { + validators: { + notEmpty: { + message: 'Company name is required' + } + } + }, + phone: { + validators: { + notEmpty: { + message: 'Contact phone number is required' + } + } + }, + country: { + validators: { + notEmpty: { + message: 'Please select a country' + } + } + }, + timezone: { + validators: { + notEmpty: { + message: 'Please select a timezone' + } + } + }, + 'communication[]': { + validators: { + notEmpty: { + message: 'Please select at least one communication method' + } + } + }, + language: { + validators: { + notEmpty: { + message: 'Please select a language' + } + } + }, + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + submitButton: new FormValidation.plugins.SubmitButton(), + //defaultSubmit: new FormValidation.plugins.DefaultSubmit(), // Uncomment this line to enable normal button submit after form validation + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Select2 validation integration + $(form.querySelector('[name="country"]')).on('change', function() { + // Revalidate the color field when an option is chosen + validation.revalidateField('country'); + }); + + $(form.querySelector('[name="language"]')).on('change', function() { + // Revalidate the color field when an option is chosen + validation.revalidateField('language'); + }); + + $(form.querySelector('[name="timezone"]')).on('change', function() { + // Revalidate the color field when an option is chosen + validation.revalidateField('timezone'); + }); + } + + var handleForm = function () { + submitButton.addEventListener('click', function (e) { + e.preventDefault(); + + validation.validate().then(function (status) { + if (status == 'Valid') { + + swal.fire({ + text: "Thank you! You've updated your basic info", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-light-primary" + } + }); + + } else { + swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-light-primary" + } + }); + } + }); + }); + } + + // Public methods + return { + init: function () { + form = document.getElementById('kt_account_profile_details_form'); + submitButton = form.querySelector('#kt_account_profile_details_submit'); + + initValidation(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTAccountSettingsProfileDetails.init(); +}); diff --git a/resources/assets/core/js/custom/account/settings/signin-methods.js b/resources/assets/core/js/custom/account/settings/signin-methods.js new file mode 100644 index 0000000..83be6c9 --- /dev/null +++ b/resources/assets/core/js/custom/account/settings/signin-methods.js @@ -0,0 +1,218 @@ +"use strict"; + +// Class definition +var KTAccountSettingsSigninMethods = function () { + // Private functions + var initSettings = function () { + + // UI elements + var signInMainEl = document.getElementById('kt_signin_email'); + var signInEditEl = document.getElementById('kt_signin_email_edit'); + var passwordMainEl = document.getElementById('kt_signin_password'); + var passwordEditEl = document.getElementById('kt_signin_password_edit'); + + // button elements + var signInChangeEmail = document.getElementById('kt_signin_email_button'); + var signInCancelEmail = document.getElementById('kt_signin_cancel'); + var passwordChange = document.getElementById('kt_signin_password_button'); + var passwordCancel = document.getElementById('kt_password_cancel'); + + // toggle UI + signInChangeEmail.querySelector('button').addEventListener('click', function () { + toggleChangeEmail(); + }); + + signInCancelEmail.addEventListener('click', function () { + toggleChangeEmail(); + }); + + passwordChange.querySelector('button').addEventListener('click', function () { + toggleChangePassword(); + }); + + passwordCancel.addEventListener('click', function () { + toggleChangePassword(); + }); + + var toggleChangeEmail = function () { + signInMainEl.classList.toggle('d-none'); + signInChangeEmail.classList.toggle('d-none'); + signInEditEl.classList.toggle('d-none'); + } + + var toggleChangePassword = function () { + passwordMainEl.classList.toggle('d-none'); + passwordChange.classList.toggle('d-none'); + passwordEditEl.classList.toggle('d-none'); + } + } + + var handleChangeEmail = function (e) { + var validation; + + // form elements + var signInForm = document.getElementById('kt_signin_change_email'); + + validation = FormValidation.formValidation( + signInForm, + { + fields: { + emailaddress: { + validators: { + notEmpty: { + message: 'Email is required' + }, + emailAddress: { + message: 'The value is not a valid email address' + } + } + }, + + confirmemailpassword: { + validators: { + notEmpty: { + message: 'Password is required' + } + } + } + }, + + plugins: { //Learn more: https://formvalidation.io/guide/plugins + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row' + }) + } + } + ); + + signInForm.querySelector('#kt_signin_submit').addEventListener('click', function (e) { + e.preventDefault(); + console.log('click'); + + validation.validate().then(function (status) { + if (status == 'Valid') { + swal.fire({ + text: "Sent password reset. Please check your email", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn font-weight-bold btn-light-primary" + } + }).then(function(){ + signInForm.reset(); + validation.resetForm(); // Reset formvalidation --- more info: https://formvalidation.io/guide/api/reset-form/ + }); + } else { + swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn font-weight-bold btn-light-primary" + } + }); + } + }); + }); + } + + var handleChangePassword = function (e) { + var validation; + + // form elements + var passwordForm = document.getElementById('kt_signin_change_password'); + + validation = FormValidation.formValidation( + passwordForm, + { + fields: { + currentpassword: { + validators: { + notEmpty: { + message: 'Current Password is required' + } + } + }, + + newpassword: { + validators: { + notEmpty: { + message: 'New Password is required' + } + } + }, + + confirmpassword: { + validators: { + notEmpty: { + message: 'Confirm Password is required' + }, + identical: { + compare: function() { + return passwordForm.querySelector('[name="newpassword"]').value; + }, + message: 'The password and its confirm are not the same' + } + } + }, + }, + + plugins: { //Learn more: https://formvalidation.io/guide/plugins + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row' + }) + } + } + ); + + passwordForm.querySelector('#kt_password_submit').addEventListener('click', function (e) { + e.preventDefault(); + console.log('click'); + + validation.validate().then(function (status) { + if (status == 'Valid') { + swal.fire({ + text: "Sent password reset. Please check your email", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn font-weight-bold btn-light-primary" + } + }).then(function(){ + passwordForm.reset(); + validation.resetForm(); // Reset formvalidation --- more info: https://formvalidation.io/guide/api/reset-form/ + }); + } else { + swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn font-weight-bold btn-light-primary" + } + }); + } + }); + }); + } + + // Public methods + return { + init: function () { + initSettings(); + handleChangeEmail(); + handleChangePassword(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTAccountSettingsSigninMethods.init(); +}); diff --git a/resources/assets/core/js/custom/apps/calendar/calendar.js b/resources/assets/core/js/custom/apps/calendar/calendar.js new file mode 100644 index 0000000..071de4b --- /dev/null +++ b/resources/assets/core/js/custom/apps/calendar/calendar.js @@ -0,0 +1,894 @@ +"use strict"; + +// Class definition +var KTAppCalendar = function () { + // Shared variables + // Calendar variables + var calendar; + var data = { + id: '', + eventName: '', + eventDescription: '', + eventLocation: '', + startDate: '', + endDate: '', + allDay: false + }; + var popover; + var popoverState = false; + + // Add event variables + var eventName; + var eventDescription; + var eventLocation; + var startDatepicker; + var startFlatpickr; + var endDatepicker; + var endFlatpickr; + var startTimepicker; + var startTimeFlatpickr; + var endTimepicker + var endTimeFlatpickr; + var modal; + var modalTitle; + var form; + var validator; + var addButton; + var submitButton; + var cancelButton; + var closeButton; + + // View event variables + var viewEventName; + var viewAllDay; + var viewEventDescription; + var viewEventLocation; + var viewStartDate; + var viewEndDate; + var viewModal; + var viewEditButton; + var viewDeleteButton; + + + // Private functions + var initCalendarApp = function () { + // Define variables + var calendarEl = document.getElementById('kt_calendar_app'); + var todayDate = moment().startOf('day'); + var YM = todayDate.format('YYYY-MM'); + var YESTERDAY = todayDate.clone().subtract(1, 'day').format('YYYY-MM-DD'); + var TODAY = todayDate.format('YYYY-MM-DD'); + var TOMORROW = todayDate.clone().add(1, 'day').format('YYYY-MM-DD'); + + // Init calendar --- more info: https://fullcalendar.io/docs/initialize-globals + calendar = new FullCalendar.Calendar(calendarEl, { + headerToolbar: { + left: 'prev,next today', + center: 'title', + right: 'dayGridMonth,timeGridWeek,timeGridDay' + }, + initialDate: TODAY, + navLinks: true, // can click day/week names to navigate views + selectable: true, + selectMirror: true, + + // Select dates action --- more info: https://fullcalendar.io/docs/select-callback + select: function (arg) { + hidePopovers(); + formatArgs(arg); + handleNewEvent(); + }, + + // Click event --- more info: https://fullcalendar.io/docs/eventClick + eventClick: function (arg) { + hidePopovers(); + + formatArgs({ + id: arg.event.id, + title: arg.event.title, + description: arg.event.extendedProps.description, + location: arg.event.extendedProps.location, + startStr: arg.event.startStr, + endStr: arg.event.endStr, + allDay: arg.event.allDay + }); + handleViewEvent(); + }, + + // MouseEnter event --- more info: https://fullcalendar.io/docs/eventMouseEnter + eventMouseEnter: function (arg) { + formatArgs({ + id: arg.event.id, + title: arg.event.title, + description: arg.event.extendedProps.description, + location: arg.event.extendedProps.location, + startStr: arg.event.startStr, + endStr: arg.event.endStr, + allDay: arg.event.allDay + }); + + // Show popover preview + initPopovers(arg.el); + }, + + editable: true, + dayMaxEvents: true, // allow "more" link when too many events + events: [ + { + id: uid(), + title: 'All Day Event', + start: YM + '-01', + end: YM + '-02', + description: 'Toto lorem ipsum dolor sit incid idunt ut', + className: "fc-event-danger fc-event-solid-warning", + location: 'Federation Square' + }, + { + id: uid(), + title: 'Reporting', + start: YM + '-14T13:30:00', + description: 'Lorem ipsum dolor incid idunt ut labore', + end: YM + '-14T14:30:00', + className: "fc-event-success", + location: 'Meeting Room 7.03' + }, + { + id: uid(), + title: 'Company Trip', + start: YM + '-02', + description: 'Lorem ipsum dolor sit tempor incid', + end: YM + '-03', + className: "fc-event-primary", + location: 'Seoul, Korea' + + }, + { + id: uid(), + title: 'ICT Expo 2021 - Product Release', + start: YM + '-03', + description: 'Lorem ipsum dolor sit tempor inci', + end: YM + '-05', + className: "fc-event-light fc-event-solid-primary", + location: 'Melbourne Exhibition Hall' + }, + { + id: uid(), + title: 'Dinner', + start: YM + '-12', + description: 'Lorem ipsum dolor sit amet, conse ctetur', + end: YM + '-13', + location: 'Squire\'s Loft' + }, + { + id: uid(), + title: 'Repeating Event', + start: YM + '-09T16:00:00', + end: YM + '-09T17:00:00', + description: 'Lorem ipsum dolor sit ncididunt ut labore', + className: "fc-event-danger", + location: 'General Area' + }, + { + id: uid(), + title: 'Repeating Event', + description: 'Lorem ipsum dolor sit amet, labore', + start: YM + '-16T16:00:00', + end: YM + '-16T17:00:00', + location: 'General Area' + }, + { + id: uid(), + title: 'Conference', + start: YESTERDAY, + end: TOMORROW, + description: 'Lorem ipsum dolor eius mod tempor labore', + className: "fc-event-primary", + location: 'Conference Hall A' + }, + { + id: uid(), + title: 'Meeting', + start: TODAY + 'T10:30:00', + end: TODAY + 'T12:30:00', + description: 'Lorem ipsum dolor eiu idunt ut labore', + location: 'Meeting Room 11.06' + }, + { + id: uid(), + title: 'Lunch', + start: TODAY + 'T12:00:00', + end: TODAY + 'T14:00:00', + className: "fc-event-info", + description: 'Lorem ipsum dolor sit amet, ut labore', + location: 'Cafeteria' + }, + { + id: uid(), + title: 'Meeting', + start: TODAY + 'T14:30:00', + end: TODAY + 'T15:30:00', + className: "fc-event-warning", + description: 'Lorem ipsum conse ctetur adipi scing', + location: 'Meeting Room 11.10' + }, + { + id: uid(), + title: 'Happy Hour', + start: TODAY + 'T17:30:00', + end: TODAY + 'T21:30:00', + className: "fc-event-info", + description: 'Lorem ipsum dolor sit amet, conse ctetur', + location: 'The English Pub' + }, + { + id: uid(), + title: 'Dinner', + start: TOMORROW + 'T18:00:00', + end: TOMORROW + 'T21:00:00', + className: "fc-event-solid-danger fc-event-light", + description: 'Lorem ipsum dolor sit ctetur adipi scing', + location: 'New York Steakhouse' + }, + { + id: uid(), + title: 'Birthday Party', + start: TOMORROW + 'T12:00:00', + end: TOMORROW + 'T14:00:00', + className: "fc-event-primary", + description: 'Lorem ipsum dolor sit amet, scing', + location: 'The English Pub' + }, + { + id: uid(), + title: 'Site visit', + start: YM + '-28', + end: YM + '-29', + className: "fc-event-solid-info fc-event-light", + description: 'Lorem ipsum dolor sit amet, labore', + location: '271, Spring Street' + } + ], + + // Reset popovers when changing calendar views --- more info: https://fullcalendar.io/docs/datesSet + datesSet: function(){ + hidePopovers(); + } + }); + + calendar.render(); + } + + // Initialize popovers --- more info: https://getbootstrap.com/docs/4.0/components/popovers/ + const initPopovers = (element) => { + hidePopovers(); + + // Generate popover content + const startDate = data.allDay ? moment(data.startDate).format('Do MMM, YYYY') : moment(data.startDate).format('Do MMM, YYYY - h:mm a'); + const endDate = data.allDay ? moment(data.endDate).format('Do MMM, YYYY') : moment(data.endDate).format('Do MMM, YYYY - h:mm a'); + const popoverHtml = '
' + data.eventName + '
Start: ' + startDate + '
End: ' + endDate + '
View More
'; + + // Popover options + var options = { + container: 'body', + trigger: 'manual', + boundary: 'window', + placement: 'auto', + dismiss: true, + html: true, + title: 'Event Summary', + content: popoverHtml, + } + + // Initialize popover + popover = KTApp.initBootstrapPopover(element, options); + + // Show popover + popover.show(); + + // Update popover state + popoverState = true; + + // Open view event modal + handleViewButton(); + } + + // Hide active popovers + const hidePopovers = () => { + if (popoverState) { + popover.dispose(); + popoverState = false; + } + } + + // Init validator + const initValidator = () => { + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + validator = FormValidation.formValidation( + form, + { + fields: { + 'calendar_event_name': { + validators: { + notEmpty: { + message: 'Event name is required' + } + } + }, + 'calendar_event_start_date': { + validators: { + notEmpty: { + message: 'Start date is required' + } + } + }, + 'calendar_event_end_date': { + validators: { + notEmpty: { + message: 'End date is required' + } + } + } + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + } + + // Initialize datepickers --- more info: https://flatpickr.js.org/ + const initDatepickers = () => { + startFlatpickr = flatpickr(startDatepicker, { + enableTime: false, + dateFormat: "Y-m-d", + }); + + endFlatpickr = flatpickr(endDatepicker, { + enableTime: false, + dateFormat: "Y-m-d", + }); + + startTimeFlatpickr = flatpickr(startTimepicker, { + enableTime: true, + noCalendar: true, + dateFormat: "H:i", + }); + + endTimeFlatpickr = flatpickr(endTimepicker, { + enableTime: true, + noCalendar: true, + dateFormat: "H:i", + }); + } + + // Handle add button + const handleAddButton = () => { + addButton.addEventListener('click', e => { + hidePopovers(); + + // Reset form data + data = { + id: '', + eventName: '', + eventDescription: '', + startDate: new Date(), + endDate: new Date(), + allDay: false + }; + handleNewEvent(); + }); + } + + // Handle add new event + const handleNewEvent = () => { + // Update modal title + modalTitle.innerText = "Add a New Event"; + + modal.show(); + + // Select datepicker wrapper elements + const datepickerWrappers = form.querySelectorAll('[data-kt-calendar="datepicker"]'); + + // Handle all day toggle + const allDayToggle = form.querySelector('#kt_calendar_datepicker_allday'); + allDayToggle.addEventListener('click', e => { + if (e.target.checked) { + datepickerWrappers.forEach(dw => { + dw.classList.add('d-none'); + }); + } else { + endFlatpickr.setDate(data.startDate, true, 'Y-m-d'); + datepickerWrappers.forEach(dw => { + dw.classList.remove('d-none'); + }); + } + }); + + populateForm(data); + + // Handle submit form + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable submit button whilst loading + submitButton.disabled = true; + + // Simulate form submission + setTimeout(function () { + // Simulate form submission + submitButton.removeAttribute('data-kt-indicator'); + + // Show popup confirmation + Swal.fire({ + text: "New event added to calendar!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + + // Enable submit button after loading + submitButton.disabled = false; + + // Detect if is all day event + let allDayEvent = false; + if (allDayToggle.checked) { allDayEvent = true; } + if (startTimeFlatpickr.selectedDates.length === 0) { allDayEvent = true; } + + // Merge date & time + var startDateTime = moment(startFlatpickr.selectedDates[0]).format(); + var endDateTime = moment(endFlatpickr.selectedDates[endFlatpickr.selectedDates.length - 1]).format(); + if (!allDayEvent) { + const startDate = moment(startFlatpickr.selectedDates[0]).format('YYYY-MM-DD'); + const endDate = startDate; + const startTime = moment(startTimeFlatpickr.selectedDates[0]).format('HH:mm:ss'); + const endTime = moment(endTimeFlatpickr.selectedDates[0]).format('HH:mm:ss'); + + startDateTime = startDate + 'T' + startTime; + endDateTime = endDate + 'T' + endTime; + } + + // Add new event to calendar + calendar.addEvent({ + id: uid(), + title: eventName.value, + description: eventDescription.value, + location: eventLocation.value, + start: startDateTime, + end: endDateTime, + allDay: allDayEvent + }); + calendar.render(); + + // Reset form for demo purposes only + form.reset(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show popup warning + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + } + + // Handle edit event + const handleEditEvent = () => { + // Update modal title + modalTitle.innerText = "Edit an Event"; + + modal.show(); + + // Select datepicker wrapper elements + const datepickerWrappers = form.querySelectorAll('[data-kt-calendar="datepicker"]'); + + // Handle all day toggle + const allDayToggle = form.querySelector('#kt_calendar_datepicker_allday'); + allDayToggle.addEventListener('click', e => { + if (e.target.checked) { + datepickerWrappers.forEach(dw => { + dw.classList.add('d-none'); + }); + } else { + endFlatpickr.setDate(data.startDate, true, 'Y-m-d'); + datepickerWrappers.forEach(dw => { + dw.classList.remove('d-none'); + }); + } + }); + + populateForm(data); + + // Handle submit form + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable submit button whilst loading + submitButton.disabled = true; + + // Simulate form submission + setTimeout(function () { + // Simulate form submission + submitButton.removeAttribute('data-kt-indicator'); + + // Show popup confirmation + Swal.fire({ + text: "New event added to calendar!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + + // Enable submit button after loading + submitButton.disabled = false; + + // Remove old event + calendar.getEventById(data.id).remove(); + + // Detect if is all day event + let allDayEvent = false; + if (allDayToggle.checked) { allDayEvent = true; } + if (startTimeFlatpickr.selectedDates.length === 0) { allDayEvent = true; } + + // Merge date & time + var startDateTime = moment(startFlatpickr.selectedDates[0]).format(); + var endDateTime = moment(endFlatpickr.selectedDates[endFlatpickr.selectedDates.length - 1]).format(); + if (!allDayEvent) { + const startDate = moment(startFlatpickr.selectedDates[0]).format('YYYY-MM-DD'); + const endDate = startDate; + const startTime = moment(startTimeFlatpickr.selectedDates[0]).format('HH:mm:ss'); + const endTime = moment(endTimeFlatpickr.selectedDates[0]).format('HH:mm:ss'); + + startDateTime = startDate + 'T' + startTime; + endDateTime = endDate + 'T' + endTime; + } + + // Add new event to calendar + calendar.addEvent({ + id: uid(), + title: eventName.value, + description: eventDescription.value, + location: eventLocation.value, + start: startDateTime, + end: endDateTime, + allDay: allDayEvent + }); + calendar.render(); + + // Reset form for demo purposes only + form.reset(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show popup warning + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + } + + // Handle view event + const handleViewEvent = () => { + viewModal.show(); + + // Detect all day event + var eventNameMod; + var startDateMod; + var endDateMod; + + // Generate labels + if (data.allDay) { + eventNameMod = 'All Day'; + startDateMod = moment(data.startDate).format('Do MMM, YYYY'); + endDateMod = moment(data.endDate).format('Do MMM, YYYY'); + } else { + eventNameMod = ''; + startDateMod = moment(data.startDate).format('Do MMM, YYYY - h:mm a'); + endDateMod = moment(data.endDate).format('Do MMM, YYYY - h:mm a'); + } + + // Populate view data + viewEventName.innerText = data.eventName; + viewAllDay.innerText = eventNameMod; + viewEventDescription.innerText = data.eventDescription ? data.eventDescription : '--'; + viewEventLocation.innerText = data.eventLocation ? data.eventLocation : '--'; + viewStartDate.innerText = startDateMod; + viewEndDate.innerText = endDateMod; + } + + // Handle delete event + const handleDeleteEvent = () => { + viewDeleteButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to delete this event?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, delete it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + calendar.getEventById(data.id).remove(); + + viewModal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your event was not deleted!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + } + + // Handle edit button + const handleEditButton = () => { + viewEditButton.addEventListener('click', e => { + e.preventDefault(); + + viewModal.hide(); + handleEditEvent(); + }); + } + + // Handle cancel button + const handleCancelButton = () => { + // Edit event modal cancel button + cancelButton.addEventListener('click', function (e) { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + } + + // Handle close button + const handleCloseButton = () => { + // Edit event modal close button + closeButton.addEventListener('click', function (e) { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + } + + // Handle view button + const handleViewButton = () => { + const viewButton = document.querySelector('#kt_calendar_event_view_button'); + viewButton.addEventListener('click', e => { + e.preventDefault(); + + hidePopovers(); + handleViewEvent(); + }); + } + + // Helper functions + + // Reset form validator on modal close + const resetFormValidator = (element) => { + // Target modal hidden event --- For more info: https://getbootstrap.com/docs/5.0/components/modal/#events + element.addEventListener('hidden.bs.modal', e => { + if (validator) { + // Reset form validator. For more info: https://formvalidation.io/guide/api/reset-form + validator.resetForm(true); + } + }); + } + + // Populate form + const populateForm = () => { + eventName.value = data.eventName ? data.eventName : ''; + eventDescription.value = data.eventDescription ? data.eventDescription : ''; + eventLocation.value = data.eventLocation ? data.eventLocation : ''; + startFlatpickr.setDate(data.startDate, true, 'Y-m-d'); + + // Handle null end dates + const endDate = data.endDate ? data.endDate : moment(data.startDate).format(); + endFlatpickr.setDate(endDate, true, 'Y-m-d'); + + const allDayToggle = form.querySelector('#kt_calendar_datepicker_allday'); + const datepickerWrappers = form.querySelectorAll('[data-kt-calendar="datepicker"]'); + if (data.allDay) { + allDayToggle.checked = true; + datepickerWrappers.forEach(dw => { + dw.classList.add('d-none'); + }); + } else { + startTimeFlatpickr.setDate(data.startDate, true, 'Y-m-d H:i'); + endTimeFlatpickr.setDate(data.endDate, true, 'Y-m-d H:i'); + endFlatpickr.setDate(data.startDate, true, 'Y-m-d'); + allDayToggle.checked = false; + datepickerWrappers.forEach(dw => { + dw.classList.remove('d-none'); + }); + } + } + + // Format FullCalendar reponses + const formatArgs = (res) => { + data.id = res.id; + data.eventName = res.title; + data.eventDescription = res.description; + data.eventLocation = res.location; + data.startDate = res.startStr; + data.endDate = res.endStr; + data.allDay = res.allDay; + } + + // Generate unique IDs for events + const uid = () => { + return Date.now().toString() + Math.floor(Math.random() * 1000).toString(); + } + + return { + // Public Functions + init: function () { + // Define variables + // Add event modal + const element = document.getElementById('kt_modal_add_event'); + form = element.querySelector('#kt_modal_add_event_form'); + eventName = form.querySelector('[name="calendar_event_name"]'); + eventDescription = form.querySelector('[name="calendar_event_description"]'); + eventLocation = form.querySelector('[name="calendar_event_location"]'); + startDatepicker = form.querySelector('#kt_calendar_datepicker_start_date'); + endDatepicker = form.querySelector('#kt_calendar_datepicker_end_date'); + startTimepicker = form.querySelector('#kt_calendar_datepicker_start_time'); + endTimepicker = form.querySelector('#kt_calendar_datepicker_end_time'); + addButton = document.querySelector('[data-kt-calendar="add"]'); + submitButton = form.querySelector('#kt_modal_add_event_submit'); + cancelButton = form.querySelector('#kt_modal_add_event_cancel'); + closeButton = element.querySelector('#kt_modal_add_event_close'); + modalTitle = form.querySelector('[data-kt-calendar="title"]'); + modal = new bootstrap.Modal(element); + + // View event modal + const viewElement = document.getElementById('kt_modal_view_event'); + viewModal = new bootstrap.Modal(viewElement); + viewEventName = viewElement.querySelector('[data-kt-calendar="event_name"]'); + viewAllDay = viewElement.querySelector('[data-kt-calendar="all_day"]'); + viewEventDescription = viewElement.querySelector('[data-kt-calendar="event_description"]'); + viewEventLocation = viewElement.querySelector('[data-kt-calendar="event_location"]'); + viewStartDate = viewElement.querySelector('[data-kt-calendar="event_start_date"]'); + viewEndDate = viewElement.querySelector('[data-kt-calendar="event_end_date"]'); + viewEditButton = viewElement.querySelector('#kt_modal_view_event_edit'); + viewDeleteButton = viewElement.querySelector('#kt_modal_view_event_delete'); + + initCalendarApp(); + initValidator(); + initDatepickers(); + handleEditButton(); + handleAddButton(); + handleDeleteEvent(); + handleCancelButton(); + handleCloseButton(); + resetFormValidator(element); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTAppCalendar.init(); +}); diff --git a/resources/assets/core/js/custom/apps/chat/chat.js b/resources/assets/core/js/custom/apps/chat/chat.js new file mode 100644 index 0000000..f591103 --- /dev/null +++ b/resources/assets/core/js/custom/apps/chat/chat.js @@ -0,0 +1,72 @@ +"use strict"; + +// Class definition +var KTAppChat = function () { + // Private functions + var handeSend = function (element) { + if (!element) { + return; + } + + // Handle send + KTUtil.on(element, '[data-kt-element="input"]', 'keydown', function(e) { + if (e.keyCode == 13) { + handeMessaging(element); + e.preventDefault(); + + return false; + } + }); + + KTUtil.on(element, '[data-kt-element="send"]', 'click', function(e) { + handeMessaging(element); + }); + } + + var handeMessaging = function(element) { + var messages = element.querySelector('[data-kt-element="messages"]'); + var input = element.querySelector('[data-kt-element="input"]'); + + if (input.value.length === 0 ) { + return; + } + + var messageOutTemplate = messages.querySelector('[data-kt-element="template-out"]'); + var messageInTemplate = messages.querySelector('[data-kt-element="template-in"]'); + var message; + + // Show example outgoing message + message = messageOutTemplate.cloneNode(true); + message.classList.remove('d-none'); + message.querySelector('[data-kt-element="message-text"]').innerText = input.value; + input.value = ''; + messages.appendChild(message); + messages.scrollTop = messages.scrollHeight; + + + setTimeout(function() { + // Show example incoming message + message = messageInTemplate.cloneNode(true); + message.classList.remove('d-none'); + message.querySelector('[data-kt-element="message-text"]').innerText = 'Thank you for your awesome support!'; + messages.appendChild(message); + messages.scrollTop = messages.scrollHeight; + }, 2000); + } + + // Public methods + return { + init: function(element) { + handeSend(element); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + // Init inline chat messenger + KTAppChat.init(document.querySelector('#kt_chat_messenger')); + + // Init drawer chat messenger + KTAppChat.init(document.querySelector('#kt_drawer_chat_messenger')); +}); diff --git a/resources/assets/core/js/custom/apps/inbox/compose.js b/resources/assets/core/js/custom/apps/inbox/compose.js new file mode 100644 index 0000000..3e218e5 --- /dev/null +++ b/resources/assets/core/js/custom/apps/inbox/compose.js @@ -0,0 +1,294 @@ +"use strict"; + +// Class definition +var KTAppInboxCompose = function () { + // Private functions + // Init reply form + const initForm = () => { + // Set variables + const form = document.querySelector('#kt_inbox_compose_form'); + const allTagify = form.querySelectorAll('[data-kt-inbox-form="tagify"]'); + + // Handle CC and BCC + handleCCandBCC(form); + + // Handle submit form + handleSubmit(form); + + // Init tagify + allTagify.forEach(tagify => { + initTagify(tagify); + }); + + // Init quill editor + initQuill(form); + + // Init dropzone + initDropzone(form); + } + + // Handle CC and BCC toggle + const handleCCandBCC = (el) => { + // Get elements + const ccElement = el.querySelector('[data-kt-inbox-form="cc"]'); + const ccButton = el.querySelector('[data-kt-inbox-form="cc_button"]'); + const ccClose = el.querySelector('[data-kt-inbox-form="cc_close"]'); + const bccElement = el.querySelector('[data-kt-inbox-form="bcc"]'); + const bccButton = el.querySelector('[data-kt-inbox-form="bcc_button"]'); + const bccClose = el.querySelector('[data-kt-inbox-form="bcc_close"]'); + + // Handle CC button click + ccButton.addEventListener('click', e => { + e.preventDefault(); + + ccElement.classList.remove('d-none'); + ccElement.classList.add('d-flex'); + }); + + // Handle CC close button click + ccClose.addEventListener('click', e => { + e.preventDefault(); + + ccElement.classList.add('d-none'); + ccElement.classList.remove('d-flex'); + }); + + // Handle BCC button click + bccButton.addEventListener('click', e => { + e.preventDefault(); + + bccElement.classList.remove('d-none'); + bccElement.classList.add('d-flex'); + }); + + // Handle CC close button click + bccClose.addEventListener('click', e => { + e.preventDefault(); + + bccElement.classList.add('d-none'); + bccElement.classList.remove('d-flex'); + }); + } + + // Handle submit form + const handleSubmit = (el) => { + const submitButton = el.querySelector('[data-kt-inbox-form="send"]'); + + // Handle button click event + submitButton.addEventListener("click", function () { + // Activate indicator + submitButton.setAttribute("data-kt-indicator", "on"); + + // Disable indicator after 3 seconds + setTimeout(function () { + submitButton.removeAttribute("data-kt-indicator"); + }, 3000); + }); + } + + // Init tagify + const initTagify = (el) => { + var inputElm = el; + + const usersList = [ + { value: 1, name: 'Emma Smith', avatar: 'avatars/300-6.jpg', email: 'e.smith@kpmg.com.au' }, + { value: 2, name: 'Max Smith', avatar: 'avatars/300-1.jpg', email: 'max@kt.com' }, + { value: 3, name: 'Sean Bean', avatar: 'avatars/300-5.jpg', email: 'sean@dellito.com' }, + { value: 4, name: 'Brian Cox', avatar: 'avatars/300-25.jpg', email: 'brian@exchange.com' }, + { value: 5, name: 'Francis Mitcham', avatar: 'avatars/300-9.jpg', email: 'f.mitcham@kpmg.com.au' }, + { value: 6, name: 'Dan Wilson', avatar: 'avatars/300-23.jpg', email: 'dam@consilting.com' }, + { value: 7, name: 'Ana Crown', avatar: 'avatars/300-12.jpg', email: 'ana.cf@limtel.com' }, + { value: 8, name: 'John Miller', avatar: 'avatars/300-13.jpg', email: 'miller@mapple.com' } + ]; + + function tagTemplate(tagData) { + return ` + + +
+
+ +
+ ${tagData.name} +
+
+ ` + } + + function suggestionItemTemplate(tagData) { + return ` +
+ + ${tagData.avatar ? ` +
+ +
` : '' + } + +
+ ${tagData.name} + ${tagData.email} +
+
+ ` + } + + // initialize Tagify on the above input node reference + var tagify = new Tagify(inputElm, { + tagTextProp: 'name', // very important since a custom template is used with this property as text. allows typing a "value" or a "name" to match input with whitelist + enforceWhitelist: true, + skipInvalid: true, // do not remporarily add invalid tags + dropdown: { + closeOnSelect: false, + enabled: 0, + classname: 'users-list', + searchKeys: ['name', 'email'] // very important to set by which keys to search for suggesttions when typing + }, + templates: { + tag: tagTemplate, + dropdownItem: suggestionItemTemplate + }, + whitelist: usersList + }) + + tagify.on('dropdown:show dropdown:updated', onDropdownShow) + tagify.on('dropdown:select', onSelectSuggestion) + + var addAllSuggestionsElm; + + function onDropdownShow(e) { + var dropdownContentElm = e.detail.tagify.DOM.dropdown.content; + + if (tagify.suggestedListItems.length > 1) { + addAllSuggestionsElm = getAddAllSuggestionsElm(); + + // insert "addAllSuggestionsElm" as the first element in the suggestions list + dropdownContentElm.insertBefore(addAllSuggestionsElm, dropdownContentElm.firstChild) + } + } + + function onSelectSuggestion(e) { + if (e.detail.elm == addAllSuggestionsElm) + tagify.dropdown.selectAll.call(tagify); + } + + // create a "add all" custom suggestion element every time the dropdown changes + function getAddAllSuggestionsElm() { + // suggestions items should be based on "dropdownItem" template + return tagify.parseTemplate('dropdownItem', [{ + class: "addAll", + name: "Add all", + email: tagify.settings.whitelist.reduce(function (remainingSuggestions, item) { + return tagify.isTagDuplicate(item.value) ? remainingSuggestions : remainingSuggestions + 1 + }, 0) + " Members" + }] + ) + } + } + + // Init quill editor + const initQuill = (el) => { + var quill = new Quill('#kt_inbox_form_editor', { + modules: { + toolbar: [ + [{ + header: [1, 2, false] + }], + ['bold', 'italic', 'underline'], + ['image', 'code-block'] + ] + }, + placeholder: 'Type your text here...', + theme: 'snow' // or 'bubble' + }); + + // Customize editor + const toolbar = el.querySelector('.ql-toolbar'); + + if (toolbar) { + const classes = ['px-5', 'border-top-0', 'border-start-0', 'border-end-0']; + toolbar.classList.add(...classes); + } + } + + // Init dropzone + const initDropzone = (el) => { + // set the dropzone container id + const id = '[data-kt-inbox-form="dropzone"]'; + const dropzone = el.querySelector(id); + const uploadButton = el.querySelector('[data-kt-inbox-form="dropzone_upload"]'); + + // set the preview element template + var previewNode = dropzone.querySelector(".dropzone-item"); + previewNode.id = ""; + var previewTemplate = previewNode.parentNode.innerHTML; + previewNode.parentNode.removeChild(previewNode); + + var myDropzone = new Dropzone(id, { // Make the whole body a dropzone + url: "https://preview.keenthemes.com/api/dropzone/void.php", // Set the url for your upload script location + parallelUploads: 20, + maxFilesize: 1, // Max filesize in MB + previewTemplate: previewTemplate, + previewsContainer: id + " .dropzone-items", // Define the container to display the previews + clickable: uploadButton // Define the element that should be used as click trigger to select files. + }); + + + myDropzone.on("addedfile", function (file) { + // Hookup the start button + const dropzoneItems = dropzone.querySelectorAll('.dropzone-item'); + dropzoneItems.forEach(dropzoneItem => { + dropzoneItem.style.display = ''; + }); + }); + + // Update the total progress bar + myDropzone.on("totaluploadprogress", function (progress) { + const progressBars = dropzone.querySelectorAll('.progress-bar'); + progressBars.forEach(progressBar => { + progressBar.style.width = progress + "%"; + }); + }); + + myDropzone.on("sending", function (file) { + // Show the total progress bar when upload starts + const progressBars = dropzone.querySelectorAll('.progress-bar'); + progressBars.forEach(progressBar => { + progressBar.style.opacity = "1"; + }); + }); + + // Hide the total progress bar when nothing"s uploading anymore + myDropzone.on("complete", function (progress) { + const progressBars = dropzone.querySelectorAll('.dz-complete'); + + setTimeout(function () { + progressBars.forEach(progressBar => { + progressBar.querySelector('.progress-bar').style.opacity = "0"; + progressBar.querySelector('.progress').style.opacity = "0"; + }); + }, 300); + }); + } + + + // Public methods + return { + init: function () { + initForm(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTAppInboxCompose.init(); +}); diff --git a/resources/assets/core/js/custom/apps/inbox/listing.js b/resources/assets/core/js/custom/apps/inbox/listing.js new file mode 100644 index 0000000..4a6412c --- /dev/null +++ b/resources/assets/core/js/custom/apps/inbox/listing.js @@ -0,0 +1,58 @@ +"use strict"; + +// Class definition +var KTAppInboxListing = function () { + var table; + var datatable; + + // Private functions + var initDatatable = function () { + // Init datatable --- more info on datatables: https://datatables.net/manual/ + datatable = $(table).DataTable({ + "info": false, + 'order': [], + // 'paging': false, + // 'pageLength': false, + }); + + datatable.on('draw', function () { + handleDatatableFooter(); + }); + } + + // Handle datatable footer spacings + var handleDatatableFooter = () => { + const footerElement = document.querySelector('#kt_inbox_listing_wrapper > .row'); + const spacingClasses = ['px-9', 'pt-3', 'pb-5']; + footerElement.classList.add(...spacingClasses); + } + + // Search Datatable --- official docs reference: https://datatables.net/reference/api/search() + var handleSearchDatatable = () => { + const filterSearch = document.querySelector('[data-kt-inbox-listing-filter="search"]'); + filterSearch.addEventListener('keyup', function (e) { + datatable.search(e.target.value).draw(); + }); + } + + + // Public methods + return { + init: function () { + table = document.querySelector('#kt_inbox_listing'); + + if (!table) { + return; + } + + initDatatable(); + handleSearchDatatable(); + handleDatatableFooter(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTAppInboxListing.init(); +}); diff --git a/resources/assets/core/js/custom/apps/inbox/reply.js b/resources/assets/core/js/custom/apps/inbox/reply.js new file mode 100644 index 0000000..d5c7c2a --- /dev/null +++ b/resources/assets/core/js/custom/apps/inbox/reply.js @@ -0,0 +1,323 @@ +"use strict"; + +// Class definition +var KTAppInboxReply = function () { + + // Private functions + const handlePreviewText = () => { + // Get all messages + const accordions = document.querySelectorAll('[data-kt-inbox-message="message_wrapper"]'); + accordions.forEach(accordion => { + // Set variables + const header = accordion.querySelector('[data-kt-inbox-message="header"]'); + const previewText = accordion.querySelector('[data-kt-inbox-message="preview"]'); + const details = accordion.querySelector('[data-kt-inbox-message="details"]'); + const message = accordion.querySelector('[data-kt-inbox-message="message"]'); + + // Init bootstrap collapse -- more info: https://getbootstrap.com/docs/5.1/components/collapse/#via-javascript + const collapse = new bootstrap.Collapse(message, { toggle: false }); + + // Handle header click action + header.addEventListener('click', e => { + // Return if KTMenu or buttons are clicked + if (e.target.closest('[data-kt-menu-trigger="click"]') || e.target.closest('.btn')) { + return; + } else { + previewText.classList.toggle('d-none'); + details.classList.toggle('d-none'); + collapse.toggle(); + } + }); + }); + } + + // Init reply form + const initForm = () => { + // Set variables + const form = document.querySelector('#kt_inbox_reply_form'); + const allTagify = form.querySelectorAll('[data-kt-inbox-form="tagify"]'); + + // Handle CC and BCC + handleCCandBCC(form); + + // Handle submit form + handleSubmit(form); + + // Init tagify + allTagify.forEach(tagify => { + initTagify(tagify); + }); + + // Init quill editor + initQuill(form); + + // Init dropzone + initDropzone(form); + } + + // Handle CC and BCC toggle + const handleCCandBCC = (el) => { + // Get elements + const ccElement = el.querySelector('[data-kt-inbox-form="cc"]'); + const ccButton = el.querySelector('[data-kt-inbox-form="cc_button"]'); + const ccClose = el.querySelector('[data-kt-inbox-form="cc_close"]'); + const bccElement = el.querySelector('[data-kt-inbox-form="bcc"]'); + const bccButton = el.querySelector('[data-kt-inbox-form="bcc_button"]'); + const bccClose = el.querySelector('[data-kt-inbox-form="bcc_close"]'); + + // Handle CC button click + ccButton.addEventListener('click', e => { + e.preventDefault(); + + ccElement.classList.remove('d-none'); + ccElement.classList.add('d-flex'); + }); + + // Handle CC close button click + ccClose.addEventListener('click', e => { + e.preventDefault(); + + ccElement.classList.add('d-none'); + ccElement.classList.remove('d-flex'); + }); + + // Handle BCC button click + bccButton.addEventListener('click', e => { + e.preventDefault(); + + bccElement.classList.remove('d-none'); + bccElement.classList.add('d-flex'); + }); + + // Handle CC close button click + bccClose.addEventListener('click', e => { + e.preventDefault(); + + bccElement.classList.add('d-none'); + bccElement.classList.remove('d-flex'); + }); + } + + // Handle submit form + const handleSubmit = (el) => { + const submitButton = el.querySelector('[data-kt-inbox-form="send"]'); + + // Handle button click event + submitButton.addEventListener("click", function () { + // Activate indicator + submitButton.setAttribute("data-kt-indicator", "on"); + + // Disable indicator after 3 seconds + setTimeout(function () { + submitButton.removeAttribute("data-kt-indicator"); + }, 3000); + }); + } + + // Init tagify + const initTagify = (el) => { + var inputElm = el; + + const usersList = [ + { value: 1, name: 'Emma Smith', avatar: 'avatars/300-6.jpg', email: 'e.smith@kpmg.com.au' }, + { value: 2, name: 'Max Smith', avatar: 'avatars/300-1.jpg', email: 'max@kt.com' }, + { value: 3, name: 'Sean Bean', avatar: 'avatars/300-5.jpg', email: 'sean@dellito.com' }, + { value: 4, name: 'Brian Cox', avatar: 'avatars/300-25.jpg', email: 'brian@exchange.com' }, + { value: 5, name: 'Francis Mitcham', avatar: 'avatars/300-9.jpg', email: 'f.mitcham@kpmg.com.au' }, + { value: 6, name: 'Dan Wilson', avatar: 'avatars/300-23.jpg', email: 'dam@consilting.com' }, + { value: 7, name: 'Ana Crown', avatar: 'avatars/300-12.jpg', email: 'ana.cf@limtel.com' }, + { value: 8, name: 'John Miller', avatar: 'avatars/300-13.jpg', email: 'miller@mapple.com' } + ]; + + function tagTemplate(tagData) { + return ` + + +
+
+ +
+ ${tagData.name} +
+
+ ` + } + + function suggestionItemTemplate(tagData) { + return ` +
+ + ${tagData.avatar ? ` +
+ +
` : '' + } + +
+ ${tagData.name} + ${tagData.email} +
+
+ ` + } + + // initialize Tagify on the above input node reference + var tagify = new Tagify(inputElm, { + tagTextProp: 'name', // very important since a custom template is used with this property as text. allows typing a "value" or a "name" to match input with whitelist + enforceWhitelist: true, + skipInvalid: true, // do not remporarily add invalid tags + dropdown: { + closeOnSelect: false, + enabled: 0, + classname: 'users-list', + searchKeys: ['name', 'email'] // very important to set by which keys to search for suggesttions when typing + }, + templates: { + tag: tagTemplate, + dropdownItem: suggestionItemTemplate + }, + whitelist: usersList + }) + + tagify.on('dropdown:show dropdown:updated', onDropdownShow) + tagify.on('dropdown:select', onSelectSuggestion) + + var addAllSuggestionsElm; + + function onDropdownShow(e) { + var dropdownContentElm = e.detail.tagify.DOM.dropdown.content; + + if (tagify.suggestedListItems.length > 1) { + addAllSuggestionsElm = getAddAllSuggestionsElm(); + + // insert "addAllSuggestionsElm" as the first element in the suggestions list + dropdownContentElm.insertBefore(addAllSuggestionsElm, dropdownContentElm.firstChild) + } + } + + function onSelectSuggestion(e) { + if (e.detail.elm == addAllSuggestionsElm) + tagify.dropdown.selectAll.call(tagify); + } + + // create a "add all" custom suggestion element every time the dropdown changes + function getAddAllSuggestionsElm() { + // suggestions items should be based on "dropdownItem" template + return tagify.parseTemplate('dropdownItem', [{ + class: "addAll", + name: "Add all", + email: tagify.settings.whitelist.reduce(function (remainingSuggestions, item) { + return tagify.isTagDuplicate(item.value) ? remainingSuggestions : remainingSuggestions + 1 + }, 0) + " Members" + }] + ) + } + } + + // Init quill editor + const initQuill = (el) => { + var quill = new Quill('#kt_inbox_form_editor', { + modules: { + toolbar: [ + [{ + header: [1, 2, false] + }], + ['bold', 'italic', 'underline'], + ['image', 'code-block'] + ] + }, + placeholder: 'Type your text here...', + theme: 'snow' // or 'bubble' + }); + + // Customize editor + const toolbar = el.querySelector('.ql-toolbar'); + + if (toolbar) { + const classes = ['px-5', 'border-top-0', 'border-start-0', 'border-end-0']; + toolbar.classList.add(...classes); + } + } + + // Init dropzone + const initDropzone = (el) => { + // set the dropzone container id + const id = '[data-kt-inbox-form="dropzone"]'; + const dropzone = el.querySelector(id); + const uploadButton = el.querySelector('[data-kt-inbox-form="dropzone_upload"]'); + + // set the preview element template + var previewNode = dropzone.querySelector(".dropzone-item"); + previewNode.id = ""; + var previewTemplate = previewNode.parentNode.innerHTML; + previewNode.parentNode.removeChild(previewNode); + + var myDropzone = new Dropzone(id, { // Make the whole body a dropzone + url: "https://preview.keenthemes.com/api/dropzone/void.php", // Set the url for your upload script location + parallelUploads: 20, + maxFilesize: 1, // Max filesize in MB + previewTemplate: previewTemplate, + previewsContainer: id + " .dropzone-items", // Define the container to display the previews + clickable: uploadButton // Define the element that should be used as click trigger to select files. + }); + + + myDropzone.on("addedfile", function (file) { + // Hookup the start button + const dropzoneItems = dropzone.querySelectorAll('.dropzone-item'); + dropzoneItems.forEach(dropzoneItem => { + dropzoneItem.style.display = ''; + }); + }); + + // Update the total progress bar + myDropzone.on("totaluploadprogress", function (progress) { + const progressBars = dropzone.querySelectorAll('.progress-bar'); + progressBars.forEach(progressBar => { + progressBar.style.width = progress + "%"; + }); + }); + + myDropzone.on("sending", function (file) { + // Show the total progress bar when upload starts + const progressBars = dropzone.querySelectorAll('.progress-bar'); + progressBars.forEach(progressBar => { + progressBar.style.opacity = "1"; + }); + }); + + // Hide the total progress bar when nothing"s uploading anymore + myDropzone.on("complete", function (progress) { + const progressBars = dropzone.querySelectorAll('.dz-complete'); + + setTimeout(function () { + progressBars.forEach(progressBar => { + progressBar.querySelector('.progress-bar').style.opacity = "0"; + progressBar.querySelector('.progress').style.opacity = "0"; + }); + }, 300); + }); + } + + + // Public methods + return { + init: function () { + handlePreviewText(); + initForm(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTAppInboxReply.init(); +}); diff --git a/resources/assets/core/js/custom/apps/invoices/create.js b/resources/assets/core/js/custom/apps/invoices/create.js new file mode 100644 index 0000000..1c61b67 --- /dev/null +++ b/resources/assets/core/js/custom/apps/invoices/create.js @@ -0,0 +1,111 @@ +"use strict"; + +// Class definition +var KTAppInvoicesCreate = function () { + var form; + + // Private functions + var updateTotal = function() { + var items = [].slice.call(form.querySelectorAll('[data-kt-element="items"] [data-kt-element="item"]')); + var grandTotal = 0; + + var format = wNumb({ + //prefix: '$ ', + decimals: 2, + thousand: ',' + }); + + items.map(function (item) { + var quantity = item.querySelector('[data-kt-element="quantity"]'); + var price = item.querySelector('[data-kt-element="price"]'); + + var priceValue = format.from(price.value); + priceValue = (!priceValue || priceValue < 0) ? 0 : priceValue; + + var quantityValue = parseInt(quantity.value); + quantityValue = (!quantityValue || quantityValue < 0) ? 1 : quantityValue; + + price.value = format.to(priceValue); + quantity.value = quantityValue; + + item.querySelector('[data-kt-element="total"]').innerText = format.to(priceValue * quantityValue); + + grandTotal += priceValue * quantityValue; + }); + + form.querySelector('[data-kt-element="sub-total"]').innerText = format.to(grandTotal); + form.querySelector('[data-kt-element="grand-total"]').innerText = format.to(grandTotal); + } + + var handleEmptyState = function() { + if (form.querySelectorAll('[data-kt-element="items"] [data-kt-element="item"]').length === 0) { + var item = form.querySelector('[data-kt-element="empty-template"] tr').cloneNode(true); + form.querySelector('[data-kt-element="items"] tbody').appendChild(item); + } else { + KTUtil.remove(form.querySelector('[data-kt-element="items"] [data-kt-element="empty"]')); + } + } + + var handeForm = function (element) { + // Add item + form.querySelector('[data-kt-element="items"] [data-kt-element="add-item"]').addEventListener('click', function(e) { + e.preventDefault(); + + var item = form.querySelector('[data-kt-element="item-template"] tr').cloneNode(true); + + form.querySelector('[data-kt-element="items"] tbody').appendChild(item); + + handleEmptyState(); + updateTotal(); + }); + + // Remove item + KTUtil.on(form, '[data-kt-element="items"] [data-kt-element="remove-item"]', 'click', function(e) { + e.preventDefault(); + + KTUtil.remove(this.closest('[data-kt-element="item"]')); + + handleEmptyState(); + updateTotal(); + }); + + // Handle price and quantity changes + KTUtil.on(form, '[data-kt-element="items"] [data-kt-element="quantity"], [data-kt-element="items"] [data-kt-element="price"]', 'change', function(e) { + e.preventDefault(); + + updateTotal(); + }); + } + + var initForm = function(element) { + // Due date. For more info, please visit the official plugin site: https://flatpickr.js.org/ + var invoiceDate = $(form.querySelector('[name="invoice_date"]')); + invoiceDate.flatpickr({ + enableTime: false, + dateFormat: "d, M Y", + }); + + // Due date. For more info, please visit the official plugin site: https://flatpickr.js.org/ + var dueDate = $(form.querySelector('[name="invoice_due_date"]')); + dueDate.flatpickr({ + enableTime: false, + dateFormat: "d, M Y", + }); + } + + // Public methods + return { + init: function(element) { + form = document.querySelector('#kt_invoice_form'); + + handeForm(); + initForm(); + updateTotal(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTAppInvoicesCreate.init(); +}); diff --git a/resources/assets/core/js/custom/apps/subscriptions/add/advanced.js b/resources/assets/core/js/custom/apps/subscriptions/add/advanced.js new file mode 100644 index 0000000..bf2c886 --- /dev/null +++ b/resources/assets/core/js/custom/apps/subscriptions/add/advanced.js @@ -0,0 +1,126 @@ +"use strict"; + +var KTSubscriptionsAdvanced = function () { + // Shared variables + var table; + var datatable; + + var initCustomFieldsDatatable = function () { + // Define variables + const addButton = document.getElementById('kt_create_new_custom_fields_add'); + + // Duplicate input fields + const fieldName = table.querySelector('tbody tr td:first-child').innerHTML; + const fieldValue = table.querySelector('tbody tr td:nth-child(2)').innerHTML; + const deleteButton = table.querySelector('tbody tr td:last-child').innerHTML; + + // Init datatable --- more info on datatables: https://datatables.net/manual/ + datatable = $(table).DataTable({ + "info": false, + 'order': [], + 'ordering': false, + 'paging': false, + "lengthChange": false + }); + + // Define datatable row node + var rowNode; + + // Handle add button + addButton.addEventListener('click', function (e) { + e.preventDefault(); + + rowNode = datatable.row.add([ + fieldName, + fieldValue, + deleteButton + ]).draw().node(); + + // Add custom class to last column -- more info: https://datatables.net/forums/discussion/22341/row-add-cell-class + $(rowNode).find('td').eq(2).addClass('text-end'); + + // Re-calculate index + initCustomFieldRowIndex(); + }); + } + + // Handle row index count + var initCustomFieldRowIndex = function() { + const tableRows = table.querySelectorAll('tbody tr'); + + tableRows.forEach((tr, index) => { + // add index number to input names & id + const fieldNameInput = tr.querySelector('td:first-child input'); + const fieldValueInput = tr.querySelector('td:nth-child(2) input'); + const fieldNameLabel = fieldNameInput.getAttribute('id'); + const fieldValueLabel = fieldValueInput.getAttribute('id'); + + fieldNameInput.setAttribute('name', fieldNameLabel + '-' + index); + fieldValueInput.setAttribute('name', fieldValueLabel + '-' + index); + }); + } + + // Delete product + var deleteCustomField = function() { + KTUtil.on(table, '[data-kt-action="field_remove"]', 'click', function(e) { + e.preventDefault(); + + // Select parent row + const parent = e.target.closest('tr'); + + // SweetAlert2 pop up --- official docs reference: https://sweetalert2.github.io/ + Swal.fire({ + text: "Are you sure you want to delete this field ?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, delete!", + cancelButtonText: "No, cancel", + customClass: { + confirmButton: "btn fw-bold btn-danger", + cancelButton: "btn fw-bold btn-active-light-primary" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have deleted it!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }).then(function () { + // Remove current row + datatable.row($(parent)).remove().draw(); + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "It was not deleted.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }) + } + }); + }); + } + + return { + init: function () { + table = document.getElementById('kt_create_new_custom_fields'); + + initCustomFieldsDatatable(); + initCustomFieldRowIndex(); + deleteCustomField(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTSubscriptionsAdvanced.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/subscriptions/add/customer-select.js b/resources/assets/core/js/custom/apps/subscriptions/add/customer-select.js new file mode 100644 index 0000000..3718907 --- /dev/null +++ b/resources/assets/core/js/custom/apps/subscriptions/add/customer-select.js @@ -0,0 +1,85 @@ +"use strict"; + +// Class definition +var KTModalCustomerSelect = function() { + // Private variables + var element; + var suggestionsElement; + var resultsElement; + var wrapperElement; + var emptyElement; + var searchObject; + + var modal; + + // Private functions + var processs = function(search) { + var timeout = setTimeout(function() { + var number = KTUtil.getRandomInt(1, 6); + + // Hide recently viewed + suggestionsElement.classList.add('d-none'); + + if (number === 3) { + // Hide results + resultsElement.classList.add('d-none'); + // Show empty message + emptyElement.classList.remove('d-none'); + } else { + // Show results + resultsElement.classList.remove('d-none'); + // Hide empty message + emptyElement.classList.add('d-none'); + } + + // Complete search + search.complete(); + }, 1500); + } + + var clear = function(search) { + // Show recently viewed + suggestionsElement.classList.remove('d-none'); + // Hide results + resultsElement.classList.add('d-none'); + // Hide empty message + emptyElement.classList.add('d-none'); + } + + // Public methods + return { + init: function() { + // Elements + element = document.querySelector('#kt_modal_customer_search_handler'); + modal = new bootstrap.Modal(document.querySelector('#kt_modal_customer_search')); + + if (!element) { + return; + } + + wrapperElement = element.querySelector('[data-kt-search-element="wrapper"]'); + suggestionsElement = element.querySelector('[data-kt-search-element="suggestions"]'); + resultsElement = element.querySelector('[data-kt-search-element="results"]'); + emptyElement = element.querySelector('[data-kt-search-element="empty"]'); + + // Initialize search handler + searchObject = new KTSearch(element); + + // Search handler + searchObject.on('kt.search.process', processs); + + // Clear handler + searchObject.on('kt.search.clear', clear); + + // Handle select + KTUtil.on(element, '[data-kt-search-element="customer"]', 'click', function() { + modal.hide(); + }); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTModalCustomerSelect.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/subscriptions/add/products.js b/resources/assets/core/js/custom/apps/subscriptions/add/products.js new file mode 100644 index 0000000..2f33c38 --- /dev/null +++ b/resources/assets/core/js/custom/apps/subscriptions/add/products.js @@ -0,0 +1,157 @@ +"use strict"; + +var KTSubscriptionsProducts = function () { + // Shared variables + var table; + var datatable; + var modalEl; + var modal; + + var initDatatable = function() { + // Init datatable --- more info on datatables: https://datatables.net/manual/ + datatable = $(table).DataTable({ + "info": false, + 'order': [], + 'ordering': false, + 'paging': false, + "lengthChange": false + }); + } + + // Delete product + var deleteProduct = function() { + KTUtil.on(table, '[data-kt-action="product_remove"]', 'click', function(e) { + e.preventDefault(); + + // Select parent row + const parent = e.target.closest('tr'); + + // Get customer name + const productName = parent.querySelectorAll('td')[0].innerText; + + // SweetAlert2 pop up --- official docs reference: https://sweetalert2.github.io/ + Swal.fire({ + text: "Are you sure you want to delete " + productName + "?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, delete!", + cancelButtonText: "No, cancel", + customClass: { + confirmButton: "btn fw-bold btn-danger", + cancelButton: "btn fw-bold btn-active-light-primary" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have deleted " + productName + "!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }).then(function () { + // Remove current row + datatable.row($(parent)).remove().draw(); + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: customerName + " was not deleted.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }); + } + }); + }); + } + + // Modal handlers + var addProduct = function() { + // Select modal buttons + const closeButton = modalEl.querySelector('#kt_modal_add_product_close'); + const cancelButton = modalEl.querySelector('#kt_modal_add_product_cancel'); + const submitButton = modalEl.querySelector('#kt_modal_add_product_submit'); + + // Cancel button action + cancelButton.addEventListener('click', function(e){ + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Add customer button handler + submitButton.addEventListener('click', function (e) { + e.preventDefault(); + + // Check all radio buttons + var radio = modalEl.querySelector('input[type="radio"]:checked'); + + // Define datatable row node + var rowNode; + + if (radio && radio.checked === true) { + rowNode = datatable.row.add( [ + radio.getAttribute('data-kt-product-name'), + '1', + radio.getAttribute('data-kt-product-price') + ' / ' + radio.getAttribute('data-kt-product-frequency'), + table.querySelector('tbody tr td:last-child').innerHTML + ]).draw().node(); + + // Add custom class to last column -- more info: https://datatables.net/forums/discussion/22341/row-add-cell-class + $( rowNode ).find('td').eq(3).addClass('text-end'); + } + + modal.hide(); // Remove modal + }); + } + + return { + init: function () { + modalEl = document.getElementById('kt_modal_add_product'); + + // Select modal -- more info on Bootstrap modal: https://getbootstrap.com/docs/5.0/components/modal/ + modal = new bootstrap.Modal(modalEl); + + table = document.querySelector('#kt_subscription_products_table'); + + initDatatable(); + deleteProduct(); + addProduct(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTSubscriptionsProducts.init(); +}); diff --git a/resources/assets/core/js/custom/apps/subscriptions/list/export.js b/resources/assets/core/js/custom/apps/subscriptions/list/export.js new file mode 100644 index 0000000..9f5949f --- /dev/null +++ b/resources/assets/core/js/custom/apps/subscriptions/list/export.js @@ -0,0 +1,189 @@ +"use strict"; + +// Class definition +var KTSubscriptionsExport = function () { + var element; + var submitButton; + var cancelButton; + var closeButton; + var validator; + var form; + var modal; + + // Init form inputs + var handleForm = function () { + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + validator = FormValidation.formValidation( + form, + { + fields: { + 'date': { + validators: { + notEmpty: { + message: 'Date range is required' + } + } + }, + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Action buttons + submitButton.addEventListener('click', function (e) { + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable submit button whilst loading + submitButton.disabled = true; + + setTimeout(function () { + submitButton.removeAttribute('data-kt-indicator'); + + Swal.fire({ + text: "Customer list has been successfully exported!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + + // Enable submit button after loading + submitButton.disabled = false; + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + + cancelButton.addEventListener('click', function (e) { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + closeButton.addEventListener('click', function (e) { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + } + + var initForm = function () { + const datepicker = form.querySelector("[name=date]"); + + // Handle datepicker range -- For more info on flatpickr plugin, please visit: https://flatpickr.js.org/ + $(datepicker).flatpickr({ + altInput: true, + altFormat: "F j, Y", + dateFormat: "Y-m-d", + mode: "range" + }); + } + + return { + // Public functions + init: function () { + // Elements + element = document.querySelector('#kt_subscriptions_export_modal'); + modal = new bootstrap.Modal(element); + + form = document.querySelector('#kt_subscriptions_export_form'); + submitButton = form.querySelector('#kt_subscriptions_export_submit'); + cancelButton = form.querySelector('#kt_subscriptions_export_cancel'); + closeButton = element.querySelector('#kt_subscriptions_export_close'); + + handleForm(); + initForm(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTSubscriptionsExport.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/subscriptions/list/list.js b/resources/assets/core/js/custom/apps/subscriptions/list/list.js new file mode 100644 index 0000000..2dee53d --- /dev/null +++ b/resources/assets/core/js/custom/apps/subscriptions/list/list.js @@ -0,0 +1,277 @@ +"use strict"; + +var KTSubscriptionsList = function () { + // Define shared variables + var table; + var datatable; + var toolbarBase; + var toolbarSelected; + var selectedCount; + + // Private functions + var initDatatable = function () { + // Set date data order + const tableRows = table.querySelectorAll('tbody tr'); + + tableRows.forEach(row => { + const dateRow = row.querySelectorAll('td'); + const realDate = moment(dateRow[5].innerHTML, "DD MMM YYYY, LT").format(); // select date from 4th column in table + dateRow[5].setAttribute('data-order', realDate); + }); + + // Init datatable --- more info on datatables: https://datatables.net/manual/ + datatable = $(table).DataTable({ + "info": false, + 'order': [], + "pageLength": 10, + "lengthChange": false, + 'columnDefs': [ + { orderable: false, targets: 0 }, // Disable ordering on column 0 (checkbox) + { orderable: false, targets: 6 }, // Disable ordering on column 6 (actions) + ] + }); + + // Re-init functions on every table re-draw -- more info: https://datatables.net/reference/event/draw + datatable.on('draw', function () { + initToggleToolbar(); + handleRowDeletion(); + toggleToolbars(); + }); + } + + // Search Datatable --- official docs reference: https://datatables.net/reference/api/search() + var handleSearch = function () { + const filterSearch = document.querySelector('[data-kt-subscription-table-filter="search"]'); + filterSearch.addEventListener('keyup', function (e) { + datatable.search(e.target.value).draw(); + }); + } + + // Filter Datatable + var handleFilter = function () { + // Select filter options + const filterForm = document.querySelector('[data-kt-subscription-table-filter="form"]'); + const filterButton = filterForm.querySelector('[data-kt-subscription-table-filter="filter"]'); + const resetButton = filterForm.querySelector('[data-kt-subscription-table-filter="reset"]'); + const selectOptions = filterForm.querySelectorAll('select'); + + // Filter datatable on submit + filterButton.addEventListener('click', function () { + var filterString = ''; + + // Get filter values + selectOptions.forEach((item, index) => { + if (item.value && item.value !== '') { + if (index !== 0) { + filterString += ' '; + } + + // Build filter value options + filterString += item.value; + } + }); + + // Filter datatable --- official docs reference: https://datatables.net/reference/api/search() + datatable.search(filterString).draw(); + }); + + // Reset datatable + resetButton.addEventListener('click', function () { + // Reset filter form + selectOptions.forEach((item, index) => { + // Reset Select2 dropdown --- official docs reference: https://select2.org/programmatic-control/add-select-clear-items + $(item).val(null).trigger('change'); + }); + + // Filter datatable --- official docs reference: https://datatables.net/reference/api/search() + datatable.search('').draw(); + }); + } + + // Delete subscirption + var handleRowDeletion = function () { + // Select all delete buttons + const deleteButtons = table.querySelectorAll('[data-kt-subscriptions-table-filter="delete_row"]'); + + deleteButtons.forEach(d => { + // Delete button on click + d.addEventListener('click', function (e) { + e.preventDefault(); + + // Select parent row + const parent = e.target.closest('tr'); + + // Get customer name + const customerName = parent.querySelectorAll('td')[1].innerText; + + // SweetAlert2 pop up --- official docs reference: https://sweetalert2.github.io/ + Swal.fire({ + text: "Are you sure you want to delete " + customerName + "?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, delete!", + cancelButtonText: "No, cancel", + customClass: { + confirmButton: "btn fw-bold btn-danger", + cancelButton: "btn fw-bold btn-active-light-primary" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have deleted " + customerName + "!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }).then(function () { + // Remove current row + datatable.row($(parent)).remove().draw(); + }).then(function () { + // Detect checked checkboxes + toggleToolbars(); + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: customerName + " was not deleted.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }); + } + }); + }) + }); + } + + // Init toggle toolbar + var initToggleToolbar = () => { + // Toggle selected action toolbar + // Select all checkboxes + const checkboxes = table.querySelectorAll('[type="checkbox"]'); + + // Select elements + toolbarBase = document.querySelector('[data-kt-subscription-table-toolbar="base"]'); + toolbarSelected = document.querySelector('[data-kt-subscription-table-toolbar="selected"]'); + selectedCount = document.querySelector('[data-kt-subscription-table-select="selected_count"]'); + const deleteSelected = document.querySelector('[data-kt-subscription-table-select="delete_selected"]'); + + // Toggle delete selected toolbar + checkboxes.forEach(c => { + // Checkbox on click event + c.addEventListener('click', function () { + setTimeout(function () { + toggleToolbars(); + }, 50); + }); + }); + + // Deleted selected rows + deleteSelected.addEventListener('click', function () { + // SweetAlert2 pop up --- official docs reference: https://sweetalert2.github.io/ + Swal.fire({ + text: "Are you sure you want to delete selected customers?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, delete!", + cancelButtonText: "No, cancel", + customClass: { + confirmButton: "btn fw-bold btn-danger", + cancelButton: "btn fw-bold btn-active-light-primary" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have deleted all selected customers!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }).then(function () { + // Remove all selected customers + checkboxes.forEach(c => { + if (c.checked) { + datatable.row($(c.closest('tbody tr'))).remove().draw(); + } + }); + + // Remove header checked box + const headerCheckbox = table.querySelectorAll('[type="checkbox"]')[0]; + headerCheckbox.checked = false; + }).then(function () { + toggleToolbars(); // Detect checked checkboxes + initToggleToolbar(); // Re-init toolbar to recalculate checkboxes + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Selected customers was not deleted.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }); + } + }); + }); + } + + // Toggle toolbars + const toggleToolbars = () => { + // Select refreshed checkbox DOM elements + const allCheckboxes = table.querySelectorAll('tbody [type="checkbox"]'); + + // Detect checkboxes state & count + let checkedState = false; + let count = 0; + + // Count checked boxes + allCheckboxes.forEach(c => { + if (c.checked) { + checkedState = true; + count++; + } + }); + + // Toggle toolbars + if (checkedState) { + selectedCount.innerHTML = count; + toolbarBase.classList.add('d-none'); + toolbarSelected.classList.remove('d-none'); + } else { + toolbarBase.classList.remove('d-none'); + toolbarSelected.classList.add('d-none'); + } + } + + return { + // Public functions + init: function () { + table = document.getElementById('kt_subscriptions_table'); + + if (!table) { + return; + } + + initDatatable(); + initToggleToolbar(); + handleSearch(); + handleRowDeletion(); + handleFilter(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTSubscriptionsList.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/support-center/tickets/create.js b/resources/assets/core/js/custom/apps/support-center/tickets/create.js new file mode 100644 index 0000000..a11a649 --- /dev/null +++ b/resources/assets/core/js/custom/apps/support-center/tickets/create.js @@ -0,0 +1,219 @@ +"use strict"; + +// Class definition +var KTModalNewTicket = function () { + var submitButton; + var cancelButton; + var validator; + var form; + var modal; + var modalEl; + + // Init form inputs + var initForm = function() { + // Ticket attachments + // For more info about Dropzone plugin visit: https://www.dropzonejs.com/#usage + var myDropzone = new Dropzone("#kt_modal_create_ticket_attachments", { + url: "https://keenthemes.com/scripts/void.php", // Set the url for your upload script location + paramName: "file", // The name that will be used to transfer the file + maxFiles: 10, + maxFilesize: 10, // MB + addRemoveLinks: true, + accept: function(file, done) { + if (file.name == "justinbieber.jpg") { + done("Naha, you don't."); + } else { + done(); + } + } + }); + + // Due date. For more info, please visit the official plugin site: https://flatpickr.js.org/ + var dueDate = $(form.querySelector('[name="due_date"]')); + dueDate.flatpickr({ + enableTime: true, + dateFormat: "d, M Y, H:i", + }); + + // Ticket user. For more info, plase visit the official plugin site: https://select2.org/ + $(form.querySelector('[name="user"]')).on('change', function() { + // Revalidate the field when an option is chosen + validator.revalidateField('user'); + }); + + // Ticket status. For more info, plase visit the official plugin site: https://select2.org/ + $(form.querySelector('[name="status"]')).on('change', function() { + // Revalidate the field when an option is chosen + validator.revalidateField('status'); + }); + } + + // Handle form validation and submittion + var handleForm = function() { + // Stepper custom navigation + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + validator = FormValidation.formValidation( + form, + { + fields: { + subject: { + validators: { + notEmpty: { + message: 'Ticket subject is required' + } + } + }, + user: { + validators: { + notEmpty: { + message: 'Ticket user is required' + } + } + }, + due_date: { + validators: { + notEmpty: { + message: 'Ticket due date is required' + } + } + }, + description: { + validators: { + notEmpty: { + message: 'Target description is required' + } + } + }, + 'notifications[]': { + validators: { + notEmpty: { + message: 'Please select at least one notifications method' + } + } + }, + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Action buttons + submitButton.addEventListener('click', function (e) { + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + setTimeout(function() { + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show success message. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show error message. + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + + cancelButton.addEventListener('click', function (e) { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + } + + return { + // Public functions + init: function () { + // Elements + modalEl = document.querySelector('#kt_modal_new_ticket'); + + if (!modalEl) { + return; + } + + modal = new bootstrap.Modal(modalEl); + + form = document.querySelector('#kt_modal_new_ticket_form'); + submitButton = document.getElementById('kt_modal_new_ticket_submit'); + cancelButton = document.getElementById('kt_modal_new_ticket_cancel'); + + initForm(); + handleForm(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTModalNewTicket.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/permissions/add-permission.js b/resources/assets/core/js/custom/apps/user-management/permissions/add-permission.js new file mode 100644 index 0000000..f9a1368 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/permissions/add-permission.js @@ -0,0 +1,166 @@ +"use strict"; + +// Class definition +var KTUsersAddPermission = function () { + // Shared variables + const element = document.getElementById('kt_modal_add_permission'); + const form = element.querySelector('#kt_modal_add_permission_form'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initAddPermission = () => { + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'permission_name': { + validators: { + notEmpty: { + message: 'Permission name is required' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Close button handler + const closeButton = element.querySelector('[data-kt-permissions-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to close?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, close it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + modal.hide(); // Hide modal + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-permissions-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-permissions-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show popup warning. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + } + + return { + // Public functions + init: function () { + initAddPermission(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersAddPermission.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/permissions/list.js b/resources/assets/core/js/custom/apps/user-management/permissions/list.js new file mode 100644 index 0000000..02b3fef --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/permissions/list.js @@ -0,0 +1,117 @@ +"use strict"; + +// Class definition +var KTUsersPermissionsList = function () { + // Shared variables + var datatable; + var table; + + // Init add schedule modal + var initPermissionsList = () => { + // Set date data order + const tableRows = table.querySelectorAll('tbody tr'); + + tableRows.forEach(row => { + const dateRow = row.querySelectorAll('td'); + const realDate = moment(dateRow[2].innerHTML, "DD MMM YYYY, LT").format(); // select date from 2nd column in table + dateRow[2].setAttribute('data-order', realDate); + }); + + // Init datatable --- more info on datatables: https://datatables.net/manual/ + datatable = $(table).DataTable({ + "info": false, + 'order': [], + 'columnDefs': [ + { orderable: false, targets: 1 }, // Disable ordering on column 1 (assigned) + { orderable: false, targets: 3 }, // Disable ordering on column 3 (actions) + ] + }); + } + + // Search Datatable --- official docs reference: https://datatables.net/reference/api/search() + var handleSearchDatatable = () => { + const filterSearch = document.querySelector('[data-kt-permissions-table-filter="search"]'); + filterSearch.addEventListener('keyup', function (e) { + datatable.search(e.target.value).draw(); + }); + } + + // Delete user + var handleDeleteRows = () => { + // Select all delete buttons + const deleteButtons = table.querySelectorAll('[data-kt-permissions-table-filter="delete_row"]'); + + deleteButtons.forEach(d => { + // Delete button on click + d.addEventListener('click', function (e) { + e.preventDefault(); + + // Select parent row + const parent = e.target.closest('tr'); + + // Get permission name + const permissionName = parent.querySelectorAll('td')[0].innerText; + + // SweetAlert2 pop up --- official docs reference: https://sweetalert2.github.io/ + Swal.fire({ + text: "Are you sure you want to delete " + permissionName + "?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, delete!", + cancelButtonText: "No, cancel", + customClass: { + confirmButton: "btn fw-bold btn-danger", + cancelButton: "btn fw-bold btn-active-light-primary" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have deleted " + permissionName + "!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }).then(function () { + // Remove current row + datatable.row($(parent)).remove().draw(); + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: customerName + " was not deleted.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }); + } + }); + }) + }); + } + + + return { + // Public functions + init: function () { + table = document.querySelector('#kt_permissions_table'); + + if (!table) { + return; + } + + initPermissionsList(); + handleSearchDatatable(); + handleDeleteRows(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersPermissionsList.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/permissions/update-permission.js b/resources/assets/core/js/custom/apps/user-management/permissions/update-permission.js new file mode 100644 index 0000000..c589428 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/permissions/update-permission.js @@ -0,0 +1,166 @@ +"use strict"; + +// Class definition +var KTUsersUpdatePermission = function () { + // Shared variables + const element = document.getElementById('kt_modal_update_permission'); + const form = element.querySelector('#kt_modal_update_permission_form'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initUpdatePermission = () => { + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'permission_name': { + validators: { + notEmpty: { + message: 'Permission name is required' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Close button handler + const closeButton = element.querySelector('[data-kt-permissions-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to close?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, close it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + modal.hide(); // Hide modal + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-permissions-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-permissions-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show popup warning. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + } + + return { + // Public functions + init: function () { + initUpdatePermission(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersUpdatePermission.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/roles/list/add.js b/resources/assets/core/js/custom/apps/user-management/roles/list/add.js new file mode 100644 index 0000000..7b86b8f --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/roles/list/add.js @@ -0,0 +1,185 @@ +"use strict"; + +// Class definition +var KTUsersAddRole = function () { + // Shared variables + const element = document.getElementById('kt_modal_add_role'); + const form = element.querySelector('#kt_modal_add_role_form'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initAddRole = () => { + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'role_name': { + validators: { + notEmpty: { + message: 'Role name is required' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Close button handler + const closeButton = element.querySelector('[data-kt-roles-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to close?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, close it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + modal.hide(); // Hide modal + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-roles-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-roles-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show popup warning. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + + + } + + // Select all handler + const handleSelectAll = () =>{ + // Define variables + const selectAll = form.querySelector('#kt_roles_select_all'); + const allCheckboxes = form.querySelectorAll('[type="checkbox"]'); + + // Handle check state + selectAll.addEventListener('change', e => { + + // Apply check state to all checkboxes + allCheckboxes.forEach(c => { + c.checked = e.target.checked; + }); + }); + } + + return { + // Public functions + init: function () { + initAddRole(); + handleSelectAll(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersAddRole.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/roles/list/update-role.js b/resources/assets/core/js/custom/apps/user-management/roles/list/update-role.js new file mode 100644 index 0000000..6b00118 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/roles/list/update-role.js @@ -0,0 +1,183 @@ +"use strict"; + +// Class definition +var KTUsersUpdatePermissions = function () { + // Shared variables + const element = document.getElementById('kt_modal_update_role'); + const form = element.querySelector('#kt_modal_update_role_form'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initUpdatePermissions = () => { + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'role_name': { + validators: { + notEmpty: { + message: 'Role name is required' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Close button handler + const closeButton = element.querySelector('[data-kt-roles-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to close?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, close it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + modal.hide(); // Hide modal + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-roles-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-roles-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show popup warning. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + } + + // Select all handler + const handleSelectAll = () => { + // Define variables + const selectAll = form.querySelector('#kt_roles_select_all'); + const allCheckboxes = form.querySelectorAll('[type="checkbox"]'); + + // Handle check state + selectAll.addEventListener('change', e => { + + // Apply check state to all checkboxes + allCheckboxes.forEach(c => { + c.checked = e.target.checked; + }); + }); + } + + return { + // Public functions + init: function () { + initUpdatePermissions(); + handleSelectAll(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersUpdatePermissions.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/roles/view/update-role.js b/resources/assets/core/js/custom/apps/user-management/roles/view/update-role.js new file mode 100644 index 0000000..6b00118 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/roles/view/update-role.js @@ -0,0 +1,183 @@ +"use strict"; + +// Class definition +var KTUsersUpdatePermissions = function () { + // Shared variables + const element = document.getElementById('kt_modal_update_role'); + const form = element.querySelector('#kt_modal_update_role_form'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initUpdatePermissions = () => { + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'role_name': { + validators: { + notEmpty: { + message: 'Role name is required' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Close button handler + const closeButton = element.querySelector('[data-kt-roles-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to close?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, close it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + modal.hide(); // Hide modal + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-roles-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-roles-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show popup warning. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + } + + // Select all handler + const handleSelectAll = () => { + // Define variables + const selectAll = form.querySelector('#kt_roles_select_all'); + const allCheckboxes = form.querySelectorAll('[type="checkbox"]'); + + // Handle check state + selectAll.addEventListener('change', e => { + + // Apply check state to all checkboxes + allCheckboxes.forEach(c => { + c.checked = e.target.checked; + }); + }); + } + + return { + // Public functions + init: function () { + initUpdatePermissions(); + handleSelectAll(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersUpdatePermissions.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/roles/view/view.js b/resources/assets/core/js/custom/apps/user-management/roles/view/view.js new file mode 100644 index 0000000..732b982 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/roles/view/view.js @@ -0,0 +1,225 @@ +"use strict"; + +// Class definition +var KTUsersViewRole = function () { + // Shared variables + var datatable; + var table; + + // Init add schedule modal + var initViewRole = () => { + // Set date data order + const tableRows = table.querySelectorAll('tbody tr'); + + tableRows.forEach(row => { + const dateRow = row.querySelectorAll('td'); + const realDate = moment(dateRow[3].innerHTML, "DD MMM YYYY, LT").format(); // select date from 5th column in table + dateRow[3].setAttribute('data-order', realDate); + }); + + // Init datatable --- more info on datatables: https://datatables.net/manual/ + datatable = $(table).DataTable({ + "info": false, + 'order': [], + "pageLength": 5, + "lengthChange": false, + 'columnDefs': [ + { orderable: false, targets: 0 }, // Disable ordering on column 0 (checkbox) + { orderable: false, targets: 4 }, // Disable ordering on column 4 (actions) + ] + }); + } + + // Search Datatable --- official docs reference: https://datatables.net/reference/api/search() + var handleSearchDatatable = () => { + const filterSearch = document.querySelector('[data-kt-roles-table-filter="search"]'); + filterSearch.addEventListener('keyup', function (e) { + datatable.search(e.target.value).draw(); + }); + } + + // Delete user + var handleDeleteRows = () => { + // Select all delete buttons + const deleteButtons = table.querySelectorAll('[data-kt-roles-table-filter="delete_row"]'); + + deleteButtons.forEach(d => { + // Delete button on click + d.addEventListener('click', function (e) { + e.preventDefault(); + + // Select parent row + const parent = e.target.closest('tr'); + + // Get customer name + const userName = parent.querySelectorAll('td')[1].innerText; + + // SweetAlert2 pop up --- official docs reference: https://sweetalert2.github.io/ + Swal.fire({ + text: "Are you sure you want to delete " + userName + "?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, delete!", + cancelButtonText: "No, cancel", + customClass: { + confirmButton: "btn fw-bold btn-danger", + cancelButton: "btn fw-bold btn-active-light-primary" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have deleted " + userName + "!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }).then(function () { + // Remove current row + datatable.row($(parent)).remove().draw(); + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: customerName + " was not deleted.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }); + } + }); + }) + }); + } + + // Init toggle toolbar + var initToggleToolbar = () => { + // Toggle selected action toolbar + // Select all checkboxes + const checkboxes = table.querySelectorAll('[type="checkbox"]'); + + // Select elements + const deleteSelected = document.querySelector('[data-kt-view-roles-table-select="delete_selected"]'); + + // Toggle delete selected toolbar + checkboxes.forEach(c => { + // Checkbox on click event + c.addEventListener('click', function () { + setTimeout(function () { + toggleToolbars(); + }, 50); + }); + }); + + // Deleted selected rows + deleteSelected.addEventListener('click', function () { + // SweetAlert2 pop up --- official docs reference: https://sweetalert2.github.io/ + Swal.fire({ + text: "Are you sure you want to delete selected customers?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, delete!", + cancelButtonText: "No, cancel", + customClass: { + confirmButton: "btn fw-bold btn-danger", + cancelButton: "btn fw-bold btn-active-light-primary" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have deleted all selected customers!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }).then(function () { + // Remove all selected customers + checkboxes.forEach(c => { + if (c.checked) { + datatable.row($(c.closest('tbody tr'))).remove().draw(); + } + }); + + // Remove header checked box + const headerCheckbox = table.querySelectorAll('[type="checkbox"]')[0]; + headerCheckbox.checked = false; + }).then(function(){ + toggleToolbars(); // Detect checked checkboxes + initToggleToolbar(); // Re-init toolbar to recalculate checkboxes + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Selected customers was not deleted.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }); + } + }); + }); + } + + // Toggle toolbars + const toggleToolbars = () => { + // Define variables + const toolbarBase = document.querySelector('[data-kt-view-roles-table-toolbar="base"]'); + const toolbarSelected = document.querySelector('[data-kt-view-roles-table-toolbar="selected"]'); + const selectedCount = document.querySelector('[data-kt-view-roles-table-select="selected_count"]'); + + // Select refreshed checkbox DOM elements + const allCheckboxes = table.querySelectorAll('tbody [type="checkbox"]'); + + // Detect checkboxes state & count + let checkedState = false; + let count = 0; + + // Count checked boxes + allCheckboxes.forEach(c => { + if (c.checked) { + checkedState = true; + count++; + } + }); + + // Toggle toolbars + if (checkedState) { + selectedCount.innerHTML = count; + toolbarBase.classList.add('d-none'); + toolbarSelected.classList.remove('d-none'); + } else { + toolbarBase.classList.remove('d-none'); + toolbarSelected.classList.add('d-none'); + } + } + + return { + // Public functions + init: function () { + table = document.querySelector('#kt_roles_view_table'); + + if (!table) { + return; + } + + initViewRole(); + handleSearchDatatable(); + handleDeleteRows(); + initToggleToolbar(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersViewRole.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/list/add.js b/resources/assets/core/js/custom/apps/user-management/users/list/add.js new file mode 100644 index 0000000..1b75a8c --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/list/add.js @@ -0,0 +1,183 @@ +"use strict"; + +// Class definition +var KTUsersAddUser = function () { + // Shared variables + const element = document.getElementById('kt_modal_add_user'); + const form = element.querySelector('#kt_modal_add_user_form'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initAddUser = () => { + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'user_name': { + validators: { + notEmpty: { + message: 'Full name is required' + } + } + }, + 'user_email': { + validators: { + notEmpty: { + message: 'Valid email address is required' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-users-modal-action="submit"]'); + submitButton.addEventListener('click', e => { + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show popup warning. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-users-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Close button handler + const closeButton = element.querySelector('[data-kt-users-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + } + + return { + // Public functions + init: function () { + initAddUser(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersAddUser.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/list/export-users.js b/resources/assets/core/js/custom/apps/user-management/users/list/export-users.js new file mode 100644 index 0000000..0de7636 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/list/export-users.js @@ -0,0 +1,170 @@ +"use strict"; + +// Class definition +var KTModalExportUsers = function () { + // Shared variables + const element = document.getElementById('kt_modal_export_users'); + const form = element.querySelector('#kt_modal_export_users_form'); + const modal = new bootstrap.Modal(element); + + // Init form inputs + var initForm = function () { + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'format': { + validators: { + notEmpty: { + message: 'File format is required' + } + } + }, + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-users-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable submit button whilst loading + submitButton.disabled = true; + + setTimeout(function () { + submitButton.removeAttribute('data-kt-indicator'); + + Swal.fire({ + text: "User list has been successfully exported!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + + // Enable submit button after loading + submitButton.disabled = false; + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-users-modal-action="cancel"]'); + cancelButton.addEventListener('click', function (e) { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Close button handler + const closeButton = element.querySelector('[data-kt-users-modal-action="close"]'); + closeButton.addEventListener('click', function (e) { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + } + + return { + // Public functions + init: function () { + initForm(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTModalExportUsers.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/list/table.js b/resources/assets/core/js/custom/apps/user-management/users/list/table.js new file mode 100644 index 0000000..87e9ce3 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/list/table.js @@ -0,0 +1,315 @@ +"use strict"; + +var KTUsersList = function () { + // Define shared variables + var table = document.getElementById('kt_table_users'); + var datatable; + var toolbarBase; + var toolbarSelected; + var selectedCount; + + // Private functions + var initUserTable = function () { + // Set date data order + const tableRows = table.querySelectorAll('tbody tr'); + + tableRows.forEach(row => { + const dateRow = row.querySelectorAll('td'); + const lastLogin = dateRow[3].innerText.toLowerCase(); // Get last login time + let timeCount = 0; + let timeFormat = 'minutes'; + + // Determine date & time format -- add more formats when necessary + if (lastLogin.includes('yesterday')) { + timeCount = 1; + timeFormat = 'days'; + } else if (lastLogin.includes('mins')) { + timeCount = parseInt(lastLogin.replace(/\D/g, '')); + timeFormat = 'minutes'; + } else if (lastLogin.includes('hours')) { + timeCount = parseInt(lastLogin.replace(/\D/g, '')); + timeFormat = 'hours'; + } else if (lastLogin.includes('days')) { + timeCount = parseInt(lastLogin.replace(/\D/g, '')); + timeFormat = 'days'; + } else if (lastLogin.includes('weeks')) { + timeCount = parseInt(lastLogin.replace(/\D/g, '')); + timeFormat = 'weeks'; + } + + // Subtract date/time from today -- more info on moment datetime subtraction: https://momentjs.com/docs/#/durations/subtract/ + const realDate = moment().subtract(timeCount, timeFormat).format(); + + // Insert real date to last login attribute + dateRow[3].setAttribute('data-order', realDate); + + // Set real date for joined column + const joinedDate = moment(dateRow[5].innerHTML, "DD MMM YYYY, LT").format(); // select date from 5th column in table + dateRow[5].setAttribute('data-order', joinedDate); + }); + + // Init datatable --- more info on datatables: https://datatables.net/manual/ + datatable = $(table).DataTable({ + "info": false, + 'order': [], + "pageLength": 10, + "lengthChange": false, + 'columnDefs': [ + { orderable: false, targets: 0 }, // Disable ordering on column 0 (checkbox) + { orderable: false, targets: 6 }, // Disable ordering on column 6 (actions) + ] + }); + + // Re-init functions on every table re-draw -- more info: https://datatables.net/reference/event/draw + datatable.on('draw', function () { + initToggleToolbar(); + handleDeleteRows(); + toggleToolbars(); + }); + } + + // Search Datatable --- official docs reference: https://datatables.net/reference/api/search() + var handleSearchDatatable = () => { + const filterSearch = document.querySelector('[data-kt-user-table-filter="search"]'); + filterSearch.addEventListener('keyup', function (e) { + datatable.search(e.target.value).draw(); + }); + } + + // Filter Datatable + var handleFilterDatatable = () => { + // Select filter options + const filterForm = document.querySelector('[data-kt-user-table-filter="form"]'); + const filterButton = filterForm.querySelector('[data-kt-user-table-filter="filter"]'); + const selectOptions = filterForm.querySelectorAll('select'); + + // Filter datatable on submit + filterButton.addEventListener('click', function () { + var filterString = ''; + + // Get filter values + selectOptions.forEach((item, index) => { + if (item.value && item.value !== '') { + if (index !== 0) { + filterString += ' '; + } + + // Build filter value options + filterString += item.value; + } + }); + + // Filter datatable --- official docs reference: https://datatables.net/reference/api/search() + datatable.search(filterString).draw(); + }); + } + + // Reset Filter + var handleResetForm = () => { + // Select reset button + const resetButton = document.querySelector('[data-kt-user-table-filter="reset"]'); + + // Reset datatable + resetButton.addEventListener('click', function () { + // Select filter options + const filterForm = document.querySelector('[data-kt-user-table-filter="form"]'); + const selectOptions = filterForm.querySelectorAll('select'); + + // Reset select2 values -- more info: https://select2.org/programmatic-control/add-select-clear-items + selectOptions.forEach(select => { + $(select).val('').trigger('change'); + }); + + // Reset datatable --- official docs reference: https://datatables.net/reference/api/search() + datatable.search('').draw(); + }); + } + + + // Delete subscirption + var handleDeleteRows = () => { + // Select all delete buttons + const deleteButtons = table.querySelectorAll('[data-kt-users-table-filter="delete_row"]'); + + deleteButtons.forEach(d => { + // Delete button on click + d.addEventListener('click', function (e) { + e.preventDefault(); + + // Select parent row + const parent = e.target.closest('tr'); + + // Get user name + const userName = parent.querySelectorAll('td')[1].querySelectorAll('a')[1].innerText; + + // SweetAlert2 pop up --- official docs reference: https://sweetalert2.github.io/ + Swal.fire({ + text: "Are you sure you want to delete " + userName + "?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, delete!", + cancelButtonText: "No, cancel", + customClass: { + confirmButton: "btn fw-bold btn-danger", + cancelButton: "btn fw-bold btn-active-light-primary" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have deleted " + userName + "!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }).then(function () { + // Remove current row + datatable.row($(parent)).remove().draw(); + }).then(function () { + // Detect checked checkboxes + toggleToolbars(); + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: customerName + " was not deleted.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }); + } + }); + }) + }); + } + + // Init toggle toolbar + var initToggleToolbar = () => { + // Toggle selected action toolbar + // Select all checkboxes + const checkboxes = table.querySelectorAll('[type="checkbox"]'); + + // Select elements + toolbarBase = document.querySelector('[data-kt-user-table-toolbar="base"]'); + toolbarSelected = document.querySelector('[data-kt-user-table-toolbar="selected"]'); + selectedCount = document.querySelector('[data-kt-user-table-select="selected_count"]'); + const deleteSelected = document.querySelector('[data-kt-user-table-select="delete_selected"]'); + + // Toggle delete selected toolbar + checkboxes.forEach(c => { + // Checkbox on click event + c.addEventListener('click', function () { + setTimeout(function () { + toggleToolbars(); + }, 50); + }); + }); + + // Deleted selected rows + deleteSelected.addEventListener('click', function () { + // SweetAlert2 pop up --- official docs reference: https://sweetalert2.github.io/ + Swal.fire({ + text: "Are you sure you want to delete selected customers?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, delete!", + cancelButtonText: "No, cancel", + customClass: { + confirmButton: "btn fw-bold btn-danger", + cancelButton: "btn fw-bold btn-active-light-primary" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have deleted all selected customers!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }).then(function () { + // Remove all selected customers + checkboxes.forEach(c => { + if (c.checked) { + datatable.row($(c.closest('tbody tr'))).remove().draw(); + } + }); + + // Remove header checked box + const headerCheckbox = table.querySelectorAll('[type="checkbox"]')[0]; + headerCheckbox.checked = false; + }).then(function () { + toggleToolbars(); // Detect checked checkboxes + initToggleToolbar(); // Re-init toolbar to recalculate checkboxes + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Selected customers was not deleted.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn fw-bold btn-primary", + } + }); + } + }); + }); + } + + // Toggle toolbars + const toggleToolbars = () => { + // Select refreshed checkbox DOM elements + const allCheckboxes = table.querySelectorAll('tbody [type="checkbox"]'); + + // Detect checkboxes state & count + let checkedState = false; + let count = 0; + + // Count checked boxes + allCheckboxes.forEach(c => { + if (c.checked) { + checkedState = true; + count++; + } + }); + + // Toggle toolbars + if (checkedState) { + selectedCount.innerHTML = count; + toolbarBase.classList.add('d-none'); + toolbarSelected.classList.remove('d-none'); + } else { + toolbarBase.classList.remove('d-none'); + toolbarSelected.classList.add('d-none'); + } + } + + return { + // Public functions + init: function () { + if (!table) { + return; + } + + initUserTable(); + initToggleToolbar(); + handleSearchDatatable(); + handleResetForm(); + handleDeleteRows(); + handleFilterDatatable(); + + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersList.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/view/add-auth-app.js b/resources/assets/core/js/custom/apps/user-management/users/view/add-auth-app.js new file mode 100644 index 0000000..ca71185 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/view/add-auth-app.js @@ -0,0 +1,81 @@ +"use strict"; + +// Class definition +var KTUsersAddAuthApp = function () { + // Shared variables + const element = document.getElementById('kt_modal_add_auth_app'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initAddAuthApp = () => { + + // Close button handler + const closeButton = element.querySelector('[data-kt-users-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to close?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, close it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + modal.hide(); // Hide modal + } + }); + }); + + } + + // QR code to text code swapper + var initCodeSwap = () => { + const qrCode = element.querySelector('[ data-kt-add-auth-action="qr-code"]'); + const textCode = element.querySelector('[ data-kt-add-auth-action="text-code"]'); + const qrCodeButton = element.querySelector('[ data-kt-add-auth-action="qr-code-button"]'); + const textCodeButton = element.querySelector('[ data-kt-add-auth-action="text-code-button"]'); + const qrCodeLabel = element.querySelector('[ data-kt-add-auth-action="qr-code-label"]'); + const textCodeLabel = element.querySelector('[ data-kt-add-auth-action="text-code-label"]'); + + const toggleClass = () =>{ + qrCode.classList.toggle('d-none'); + qrCodeButton.classList.toggle('d-none'); + qrCodeLabel.classList.toggle('d-none'); + textCode.classList.toggle('d-none'); + textCodeButton.classList.toggle('d-none'); + textCodeLabel.classList.toggle('d-none'); + } + + // Swap to text code handler + textCodeButton.addEventListener('click', e =>{ + e.preventDefault(); + + toggleClass(); + }); + + qrCodeButton.addEventListener('click', e =>{ + e.preventDefault(); + + toggleClass(); + }); + } + + return { + // Public functions + init: function () { + initAddAuthApp(); + initCodeSwap(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersAddAuthApp.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/view/add-one-time-password.js b/resources/assets/core/js/custom/apps/user-management/users/view/add-one-time-password.js new file mode 100644 index 0000000..af78deb --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/view/add-one-time-password.js @@ -0,0 +1,173 @@ +"use strict"; + +// Class definition +var KTUsersAddOneTimePassword = function () { + // Shared variables + const element = document.getElementById('kt_modal_add_one_time_password'); + const form = element.querySelector('#kt_modal_add_one_time_password_form'); + const modal = new bootstrap.Modal(element); + + // Init one time password modal + var initAddOneTimePassword = () => { + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'otp_mobile_number': { + validators: { + notEmpty: { + message: 'Valid mobile number is required' + } + } + }, + 'otp_confirm_password': { + validators: { + notEmpty: { + message: 'Password confirmation is required' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Close button handler + const closeButton = element.querySelector('[data-kt-users-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to close?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, close it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + modal.hide(); // Hide modal + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-users-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-users-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show popup warning. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + } + + return { + // Public functions + init: function () { + initAddOneTimePassword(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersAddOneTimePassword.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/view/add-schedule.js b/resources/assets/core/js/custom/apps/user-management/users/view/add-schedule.js new file mode 100644 index 0000000..7e91b55 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/view/add-schedule.js @@ -0,0 +1,223 @@ +"use strict"; + +// Class definition +var KTUsersAddSchedule = function () { + // Shared variables + const element = document.getElementById('kt_modal_add_schedule'); + const form = element.querySelector('#kt_modal_add_schedule_form'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initAddSchedule = () => { + + // Init flatpickr -- for more info: https://flatpickr.js.org/ + $("#kt_modal_add_schedule_datepicker").flatpickr({ + enableTime: true, + dateFormat: "Y-m-d H:i", + }); + + // Init tagify -- for more info: https://yaireo.github.io/tagify/ + const tagifyInput = form.querySelector('#kt_modal_add_schedule_tagify'); + new Tagify(tagifyInput, { + whitelist: ["sean@dellito.com", "brian@exchange.com", "mikaela@pexcom.com", "f.mitcham@kpmg.com.au", "olivia@corpmail.com", "owen.neil@gmail.com", "dam@consilting.com", "emma@intenso.com", "ana.cf@limtel.com", "robert@benko.com", "lucy.m@fentech.com", "ethan@loop.com.au"], + maxTags: 10, + dropdown: { + maxItems: 20, // <- mixumum allowed rendered suggestions + classname: "tagify__inline__suggestions", // <- custom classname for this dropdown, so it could be targeted + enabled: 0, // <- show suggestions on focus + closeOnSelect: false // <- do not hide the suggestions dropdown once an item has been selected + } + }); + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'event_datetime': { + validators: { + notEmpty: { + message: 'Event date & time is required' + } + } + }, + 'event_name': { + validators: { + notEmpty: { + message: 'Event name is required' + } + } + }, + 'event_org': { + validators: { + notEmpty: { + message: 'Event organiser is required' + } + } + }, + 'event_invitees': { + validators: { + notEmpty: { + message: 'Event invitees is required' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Revalidate country field. For more info, plase visit the official plugin site: https://select2.org/ + $(form.querySelector('[name="event_invitees"]')).on('change', function () { + // Revalidate the field when an option is chosen + validator.revalidateField('event_invitees'); + }); + + // Close button handler + const closeButton = element.querySelector('[data-kt-users-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-users-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-users-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function() { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show popup warning. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + } + + return { + // Public functions + init: function () { + initAddSchedule(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersAddSchedule.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/view/add-task.js b/resources/assets/core/js/custom/apps/user-management/users/view/add-task.js new file mode 100644 index 0000000..2986672 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/view/add-task.js @@ -0,0 +1,324 @@ +"use strict"; + +// Class definition +var KTUsersAddTask = function () { + // Shared variables + const element = document.getElementById('kt_modal_add_task'); + const form = element.querySelector('#kt_modal_add_task_form'); + const modal = new bootstrap.Modal(element); + + // Init add task modal + var initAddTask = () => { + + // Init flatpickr -- for more info: https://flatpickr.js.org/ + $("#kt_modal_add_task_datepicker").flatpickr({ + dateFormat: "Y-m-d", + }); + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'task_duedate': { + validators: { + notEmpty: { + message: 'Task due date is required' + } + } + }, + 'task_name': { + validators: { + notEmpty: { + message: 'Task name is required' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Close button handler + const closeButton = element.querySelector('[data-kt-users-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-users-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-users-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show popup warning. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + } + + // Init update task status + var initUpdateTaskStatus = () => { + const allTaskMenus = document.querySelectorAll('[data-kt-menu-id="kt-users-tasks"]'); + + allTaskMenus.forEach(el => { + const resetButton = el.querySelector('[data-kt-users-update-task-status="reset"]'); + const submitButton = el.querySelector('[data-kt-users-update-task-status="submit"]'); + const taskForm = el.querySelector('[data-kt-menu-id="kt-users-tasks-form"]'); + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + taskForm, + { + fields: { + 'task_status': { + validators: { + notEmpty: { + message: 'Task due date is required' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Revalidate country field. For more info, plase visit the official plugin site: https://select2.org/ + $(taskForm.querySelector('[name="task_status"]')).on('change', function () { + // Revalidate the field when an option is chosen + validator.revalidateField('task_status'); + }); + + // Reset action handler + resetButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to reset?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, reset it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + taskForm.reset(); // Reset form + el.hide(); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form was not reset!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit action handler + submitButton.addEventListener('click', e => { + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + el.hide(); + } + }); + + //taskForm.submit(); // Submit form + }, 2000); + } else { + // Show popup warning. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function(){ + //el.show(); + }); + } + }); + } + }); + }); + } + + return { + // Public functions + init: function () { + initAddTask(); + initUpdateTaskStatus(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersAddTask.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/view/update-details.js b/resources/assets/core/js/custom/apps/user-management/users/view/update-details.js new file mode 100644 index 0000000..17c2c66 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/view/update-details.js @@ -0,0 +1,132 @@ +"use strict"; + +// Class definition +var KTUsersUpdateDetails = function () { + // Shared variables + const element = document.getElementById('kt_modal_update_details'); + const form = element.querySelector('#kt_modal_update_user_form'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initUpdateDetails = () => { + + // Close button handler + const closeButton = element.querySelector('[data-kt-users-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-users-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-users-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + }); + } + + return { + // Public functions + init: function () { + initUpdateDetails(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersUpdateDetails.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/view/update-email.js b/resources/assets/core/js/custom/apps/user-management/users/view/update-email.js new file mode 100644 index 0000000..cd8773c --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/view/update-email.js @@ -0,0 +1,166 @@ +"use strict"; + +// Class definition +var KTUsersUpdateEmail = function () { + // Shared variables + const element = document.getElementById('kt_modal_update_email'); + const form = element.querySelector('#kt_modal_update_email_form'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initUpdateEmail = () => { + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'profile_email': { + validators: { + notEmpty: { + message: 'Email address is required' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Close button handler + const closeButton = element.querySelector('[data-kt-users-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-users-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-users-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } + }); + } + }); + } + + return { + // Public functions + init: function () { + initUpdateEmail(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersUpdateEmail.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/view/update-password.js b/resources/assets/core/js/custom/apps/user-management/users/view/update-password.js new file mode 100644 index 0000000..9110a89 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/view/update-password.js @@ -0,0 +1,194 @@ +"use strict"; + +// Class definition +var KTUsersUpdatePassword = function () { + // Shared variables + const element = document.getElementById('kt_modal_update_password'); + const form = element.querySelector('#kt_modal_update_password_form'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initUpdatePassword = () => { + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + { + fields: { + 'current_password': { + validators: { + notEmpty: { + message: 'Current password is required' + } + } + }, + 'new_password': { + validators: { + notEmpty: { + message: 'The password is required' + }, + callback: { + message: 'Please enter valid password', + callback: function (input) { + if (input.value.length > 0) { + return validatePassword(); + } + } + } + } + }, + 'confirm_password': { + validators: { + notEmpty: { + message: 'The password confirmation is required' + }, + identical: { + compare: function () { + return form.querySelector('[name="new_password"]').value; + }, + message: 'The password and its confirm are not the same' + } + } + }, + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Close button handler + const closeButton = element.querySelector('[data-kt-users-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-users-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-users-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } + }); + } + }); + } + + return { + // Public functions + init: function () { + initUpdatePassword(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersUpdatePassword.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/view/update-role.js b/resources/assets/core/js/custom/apps/user-management/users/view/update-role.js new file mode 100644 index 0000000..a7e7589 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/view/update-role.js @@ -0,0 +1,132 @@ +"use strict"; + +// Class definition +var KTUsersUpdateRole = function () { + // Shared variables + const element = document.getElementById('kt_modal_update_role'); + const form = element.querySelector('#kt_modal_update_role_form'); + const modal = new bootstrap.Modal(element); + + // Init add schedule modal + var initUpdateRole = () => { + + // Close button handler + const closeButton = element.querySelector('[data-kt-users-modal-action="close"]'); + closeButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Cancel button handler + const cancelButton = element.querySelector('[data-kt-users-modal-action="cancel"]'); + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + + // Submit button handler + const submitButton = element.querySelector('[data-kt-users-modal-action="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + }); + } + + return { + // Public functions + init: function () { + initUpdateRole(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersUpdateRole.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/apps/user-management/users/view/view.js b/resources/assets/core/js/custom/apps/user-management/users/view/view.js new file mode 100644 index 0000000..7a50ff2 --- /dev/null +++ b/resources/assets/core/js/custom/apps/user-management/users/view/view.js @@ -0,0 +1,234 @@ +"use strict"; + +// Class definition +var KTUsersViewMain = function () { + + // Init login session button + var initLoginSession = () => { + const button = document.getElementById('kt_modal_sign_out_sesions'); + + button.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like sign out all sessions?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, sign out!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have signed out all sessions!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your sessions are still preserved!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + } + + + // Init sign out single user + var initSignOutUser = () => { + const signOutButtons = document.querySelectorAll('[data-kt-users-sign-out="single_user"]'); + + signOutButtons.forEach(button => { + button.addEventListener('click', e => { + e.preventDefault(); + + const deviceName = button.closest('tr').querySelectorAll('td')[1].innerText; + + Swal.fire({ + text: "Are you sure you would like sign out " + deviceName + "?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, sign out!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have signed out " + deviceName + "!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }).then(function(){ + button.closest('tr').remove(); + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: deviceName + "'s session is still preserved!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + }); + + + } + + // Delete two step authentication handler + const initDeleteTwoStep = () => { + const deleteButton = document.getElementById('kt_users_delete_two_step'); + + deleteButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like remove this two-step authentication?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, remove it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + Swal.fire({ + text: "You have removed this two-step authentication!.", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your two-step authentication is still valid!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }) + } + + // Email preference form handler + const initEmailPreferenceForm = () => { + // Define variables + const form = document.getElementById('kt_users_email_notification_form'); + const submitButton = form.querySelector('#kt_users_email_notification_submit'); + const cancelButton = form.querySelector('#kt_users_email_notification_cancel'); + + // Submit action handler + submitButton.addEventListener('click', e => { + e.preventDefault(); + + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + + //form.submit(); // Submit form + }, 2000); + }); + + cancelButton.addEventListener('click', e => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + } + + + return { + // Public functions + init: function () { + initLoginSession(); + initSignOutUser(); + initDeleteTwoStep(); + initEmailPreferenceForm(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTUsersViewMain.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/pages/pricing/general.js b/resources/assets/core/js/custom/pages/pricing/general.js new file mode 100644 index 0000000..d1ca24d --- /dev/null +++ b/resources/assets/core/js/custom/pages/pricing/general.js @@ -0,0 +1,57 @@ +"use strict"; + +// Class definition +var KTPricingGeneral = function () { + // Private variables + var element; + var planPeriodMonthButton; + var planPeriodAnnualButton; + + var changePlanPrices = function(type) { + var items = [].slice.call(element.querySelectorAll('[data-kt-plan-price-month]')); + + items.map(function (item) { + var monthPrice = item.getAttribute('data-kt-plan-price-month'); + var annualPrice = item.getAttribute('data-kt-plan-price-annual'); + + if ( type === 'month' ) { + item.innerHTML = monthPrice; + } else if ( type === 'annual' ) { + item.innerHTML = annualPrice; + } + }); + } + + var handlePlanPeriodSelection = function(e) { + + // Handle period change + planPeriodMonthButton.addEventListener('click', function (e) { + e.preventDefault(); + + changePlanPrices('month'); + }); + + planPeriodAnnualButton.addEventListener('click', function (e) { + e.preventDefault(); + + changePlanPrices('annual'); + }); + } + + // Public methods + return { + init: function () { + element = document.querySelector('#kt_pricing'); + planPeriodMonthButton = element.querySelector('[data-kt-plan="month"]'); + planPeriodAnnualButton = element.querySelector('[data-kt-plan="annual"]'); + + // Handlers + handlePlanPeriodSelection(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTPricingGeneral.init(); +}); diff --git a/resources/assets/core/js/custom/pages/user-profile/followers.js b/resources/assets/core/js/custom/pages/user-profile/followers.js new file mode 100644 index 0000000..65b73b4 --- /dev/null +++ b/resources/assets/core/js/custom/pages/user-profile/followers.js @@ -0,0 +1,49 @@ +"use strict"; + +// Class definition +var KTProfileFollowers = function () { + // init variables + var showMoreButton = document.getElementById('kt_followers_show_more_button'); + var showMoreCards = document.getElementById('kt_followers_show_more_cards'); + + // Private functions + var handleShowMore = function () { + // Show more click + showMoreButton.addEventListener('click', function (e) { + showMoreButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + showMoreButton.disabled = true; + + setTimeout(function() { + // Hide loading indication + showMoreButton.removeAttribute('data-kt-indicator'); + + // Enable button + showMoreButton.disabled = false; + + // Hide button + showMoreButton.classList.add('d-none'); + + // Show card + showMoreCards.classList.remove('d-none'); + + // Scroll to card + KTUtil.scrollTo(showMoreCards, 200); + }, 2000); + }); + } + + // Public methods + return { + init: function () { + handleShowMore(); + } + } +}(); + + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTProfileFollowers.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/utilities/modals/bidding.js b/resources/assets/core/js/custom/utilities/modals/bidding.js new file mode 100644 index 0000000..25bf3ec --- /dev/null +++ b/resources/assets/core/js/custom/utilities/modals/bidding.js @@ -0,0 +1,264 @@ +"use strict"; + +// Class definition +var KTModalBidding = function () { + // Shared variables + var element; + var form; + var modal; + + // Private functions + const initForm = () => { + // Dynamically create validation non-empty rule + const requiredFields = form.querySelectorAll('.required'); + var detectedField; + var validationFields = { + fields: {}, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + + // Detect required fields + requiredFields.forEach(el => { + const input = el.closest('.fv-row').querySelector('input'); + if (input) { + detectedField = input; + } + + const textarea = el.closest('.fv-row').querySelector('textarea'); + if (textarea) { + detectedField = textarea; + } + + const select = el.closest('.fv-row').querySelector('select'); + if (select) { + detectedField = select; + } + + // Add validation rule + const name = detectedField.getAttribute('name'); + validationFields.fields[name] = { + validators: { + notEmpty: { + message: el.innerText + ' is required' + } + } + } + }); + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + var validator = FormValidation.formValidation( + form, + validationFields + ); + + // Submit button handler + const submitButton = form.querySelector('[data-kt-modal-action-type="submit"]'); + submitButton.addEventListener('click', function (e) { + // Prevent default button action + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + // Simulate form submission. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + setTimeout(function () { + // Remove loading indication + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + // Show popup confirmation + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function () { + //form.submit(); // Submit form + form.reset(); + modal.hide(); + }); + }, 2000); + } else { + // Show popup error + Swal.fire({ + text: "Oops! There are some error(s) detected.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + } + + // Init Select2 template options + const initSelect2Templates = () => { + const elements = form.querySelectorAll('[data-kt-modal-bidding-type] select'); + + if (!elements) { + return; + } + + // Format options + const format = (item) => { + if (!item.id) { + return item.text; + } + + var url = 'assets/media/' + item.element.getAttribute('data-kt-bidding-modal-option-icon'); + var img = $("", { + class: "rounded-circle me-2", + width: 26, + src: url + }); + var span = $("", { + text: " " + item.text + }); + span.prepend(img); + return span; + } + + elements.forEach(el => { + // Init Select2 --- more info: https://select2.org/ + $(el).select2({ + minimumResultsForSearch: Infinity, + templateResult: function (item) { + return format(item); + } + }); + }); + } + + // Handle bid options + const handleBidOptions = () => { + const options = form.querySelectorAll('[data-kt-modal-bidding="option"]'); + const inputEl = form.querySelector('[name="bid_amount"]'); + options.forEach(option => { + option.addEventListener('click', e => { + e.preventDefault(); + + inputEl.value = e.target.innerText; + }); + }); + } + + // Handle currency selector + const handleCurrencySelector = () => { + const element = form.querySelector('.form-select[name="currency_type"]'); + + // Select2 event listener + $(element).on('select2:select', function (e) { + const value = e.params.data; + swapCurrency(value); + }); + + const swapCurrency = (target) => { + console.log(target); + const currencies = form.querySelectorAll('[data-kt-modal-bidding-type]'); + currencies.forEach(currency => { + currency.classList.add('d-none'); + + if (currency.getAttribute('data-kt-modal-bidding-type') === target.id) { + currency.classList.remove('d-none'); + } + }); + } + } + + // Handle cancel modal + const handleCancelAction = () => { + const cancelButton = element.querySelector('[data-kt-modal-action-type="cancel"]'); + const closeButton = element.querySelector('[data-kt-modal-action-type="close"]'); + cancelButton.addEventListener('click', e => { + cancelAction(e); + }); + + closeButton.addEventListener('click', e => { + cancelAction(e); + }); + + const cancelAction = (e) => { + e.preventDefault(); + + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + } + } + + + // Public methods + return { + init: function () { + // Elements + element = document.querySelector('#kt_modal_bidding'); + form = document.getElementById('kt_modal_bidding_form'); + modal = new bootstrap.Modal(element); + + if (!form) { + return; + } + + initForm(); + initSelect2Templates(); + handleBidOptions(); + handleCurrencySelector(); + handleCancelAction(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTModalBidding.init(); +}); diff --git a/resources/assets/core/js/custom/utilities/modals/create-account.js b/resources/assets/core/js/custom/utilities/modals/create-account.js new file mode 100644 index 0000000..4908578 --- /dev/null +++ b/resources/assets/core/js/custom/utilities/modals/create-account.js @@ -0,0 +1,363 @@ +"use strict"; + +// Class definition +var KTCreateAccount = function () { + // Elements + var modal; + var modalEl; + + var stepper; + var form; + var formSubmitButton; + var formContinueButton; + + // Variables + var stepperObj; + var validations = []; + + // Private Functions + var initStepper = function () { + // Initialize Stepper + stepperObj = new KTStepper(stepper); + + // Stepper change event + stepperObj.on('kt.stepper.changed', function (stepper) { + if (stepperObj.getCurrentStepIndex() === 4) { + formSubmitButton.classList.remove('d-none'); + formSubmitButton.classList.add('d-inline-block'); + formContinueButton.classList.add('d-none'); + } else if (stepperObj.getCurrentStepIndex() === 5) { + formSubmitButton.classList.add('d-none'); + formContinueButton.classList.add('d-none'); + } else { + formSubmitButton.classList.remove('d-inline-block'); + formSubmitButton.classList.remove('d-none'); + formContinueButton.classList.remove('d-none'); + } + }); + + // Validation before going to next page + stepperObj.on('kt.stepper.next', function (stepper) { + console.log('stepper.next'); + + // Validate form before change stepper step + var validator = validations[stepper.getCurrentStepIndex() - 1]; // get validator for currnt step + + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + stepper.goNext(); + + KTUtil.scrollTop(); + } else { + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-light" + } + }).then(function () { + KTUtil.scrollTop(); + }); + } + }); + } else { + stepper.goNext(); + + KTUtil.scrollTop(); + } + }); + + // Prev event + stepperObj.on('kt.stepper.previous', function (stepper) { + console.log('stepper.previous'); + + stepper.goPrevious(); + KTUtil.scrollTop(); + }); + } + + var handleForm = function() { + formSubmitButton.addEventListener('click', function (e) { + // Validate form before change stepper step + var validator = validations[3]; // get validator for last form + + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Prevent default button action + e.preventDefault(); + + // Disable button to avoid multiple click + formSubmitButton.disabled = true; + + // Show loading indication + formSubmitButton.setAttribute('data-kt-indicator', 'on'); + + // Simulate form submission + setTimeout(function() { + // Hide loading indication + formSubmitButton.removeAttribute('data-kt-indicator'); + + // Enable button + formSubmitButton.disabled = false; + + stepperObj.goNext(); + //KTUtil.scrollTop(); + }, 2000); + } else { + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-light" + } + }).then(function () { + KTUtil.scrollTop(); + }); + } + }); + }); + + // Expiry month. For more info, plase visit the official plugin site: https://select2.org/ + $(form.querySelector('[name="card_expiry_month"]')).on('change', function() { + // Revalidate the field when an option is chosen + validations[3].revalidateField('card_expiry_month'); + }); + + // Expiry year. For more info, plase visit the official plugin site: https://select2.org/ + $(form.querySelector('[name="card_expiry_year"]')).on('change', function() { + // Revalidate the field when an option is chosen + validations[3].revalidateField('card_expiry_year'); + }); + + // Expiry year. For more info, plase visit the official plugin site: https://select2.org/ + $(form.querySelector('[name="business_type"]')).on('change', function() { + // Revalidate the field when an option is chosen + validations[2].revalidateField('business_type'); + }); + } + + var initValidation = function () { + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + // Step 1 + validations.push(FormValidation.formValidation( + form, + { + fields: { + account_type: { + validators: { + notEmpty: { + message: 'Account type is required' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + )); + + // Step 2 + validations.push(FormValidation.formValidation( + form, + { + fields: { + 'account_team_size': { + validators: { + notEmpty: { + message: 'Time size is required' + } + } + }, + 'account_name': { + validators: { + notEmpty: { + message: 'Account name is required' + } + } + }, + 'account_plan': { + validators: { + notEmpty: { + message: 'Account plan is required' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + // Bootstrap Framework Integration + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + )); + + // Step 3 + validations.push(FormValidation.formValidation( + form, + { + fields: { + 'business_name': { + validators: { + notEmpty: { + message: 'Busines name is required' + } + } + }, + 'business_descriptor': { + validators: { + notEmpty: { + message: 'Busines descriptor is required' + } + } + }, + 'business_type': { + validators: { + notEmpty: { + message: 'Busines type is required' + } + } + }, + 'business_description': { + validators: { + notEmpty: { + message: 'Busines description is required' + } + } + }, + 'business_email': { + validators: { + notEmpty: { + message: 'Busines email is required' + }, + emailAddress: { + message: 'The value is not a valid email address' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + // Bootstrap Framework Integration + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + )); + + // Step 4 + validations.push(FormValidation.formValidation( + form, + { + fields: { + 'card_name': { + validators: { + notEmpty: { + message: 'Name on card is required' + } + } + }, + 'card_number': { + validators: { + notEmpty: { + message: 'Card member is required' + }, + creditCard: { + message: 'Card number is not valid' + } + } + }, + 'card_expiry_month': { + validators: { + notEmpty: { + message: 'Month is required' + } + } + }, + 'card_expiry_year': { + validators: { + notEmpty: { + message: 'Year is required' + } + } + }, + 'card_cvv': { + validators: { + notEmpty: { + message: 'CVV is required' + }, + digits: { + message: 'CVV must contain only digits' + }, + stringLength: { + min: 3, + max: 4, + message: 'CVV must contain 3 to 4 digits only' + } + } + } + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + // Bootstrap Framework Integration + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + )); + } + + var handleFormSubmit = function() { + + } + + return { + // Public Functions + init: function () { + // Elements + modalEl = document.querySelector('#kt_modal_create_account'); + if (modalEl) { + modal = new bootstrap.Modal(modalEl); + } + + stepper = document.querySelector('#kt_create_account_stepper'); + form = stepper.querySelector('#kt_create_account_form'); + formSubmitButton = stepper.querySelector('[data-kt-stepper-action="submit"]'); + formContinueButton = stepper.querySelector('[data-kt-stepper-action="next"]'); + + initStepper(); + initValidation(); + handleForm(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTCreateAccount.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/utilities/modals/create-api-key.js b/resources/assets/core/js/custom/utilities/modals/create-api-key.js new file mode 100644 index 0000000..0db049a --- /dev/null +++ b/resources/assets/core/js/custom/utilities/modals/create-api-key.js @@ -0,0 +1,183 @@ +"use strict"; + +// Class definition +var KTModalCreateApiKey = function () { + var submitButton; + var cancelButton; + var validator; + var form; + var modal; + var modalEl; + + // Init form inputs + var initForm = function() { + // Team assign. For more info, plase visit the official plugin site: https://select2.org/ + $(form.querySelector('[name="category"]')).on('change', function() { + // Revalidate the field when an option is chosen + validator.revalidateField('category'); + }); + } + + // Handle form validation and submittion + var handleForm = function() { + // Stepper custom navigation + + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + validator = FormValidation.formValidation( + form, + { + fields: { + 'name': { + validators: { + notEmpty: { + message: 'API name is required' + } + } + }, + 'description': { + validators: { + notEmpty: { + message: 'Description is required' + } + } + }, + 'category': { + validators: { + notEmpty: { + message: 'Country is required' + } + } + }, + 'method': { + validators: { + notEmpty: { + message: 'API method is required' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Action buttons + submitButton.addEventListener('click', function (e) { + e.preventDefault(); + + // Validate form before submit + if (validator) { + validator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + submitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + submitButton.disabled = true; + + setTimeout(function() { + submitButton.removeAttribute('data-kt-indicator'); + + // Enable button + submitButton.disabled = false; + + Swal.fire({ + text: "Form has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modal.hide(); + } + }); + + //form.submit(); // Submit form + }, 2000); + } else { + // Show error popuo. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + + cancelButton.addEventListener('click', function (e) { + e.preventDefault(); + + // Show confirmation popup. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Are you sure you would like to cancel?", + icon: "warning", + showCancelButton: true, + buttonsStyling: false, + confirmButtonText: "Yes, cancel it!", + cancelButtonText: "No, return", + customClass: { + confirmButton: "btn btn-primary", + cancelButton: "btn btn-active-light" + } + }).then(function (result) { + if (result.value) { + form.reset(); // Reset form + modal.hide(); // Hide modal + } else if (result.dismiss === 'cancel') { + // Show success message. + Swal.fire({ + text: "Your form has not been cancelled!.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary", + } + }); + } + }); + }); + } + + return { + // Public functions + init: function () { + // Elements + modalEl = document.querySelector('#kt_modal_create_api_key'); + + if (!modalEl) { + return; + } + + modal = new bootstrap.Modal(modalEl); + + form = document.querySelector('#kt_modal_create_api_key_form'); + submitButton = document.getElementById('kt_modal_create_api_key_submit'); + cancelButton = document.getElementById('kt_modal_create_api_key_cancel'); + + initForm(); + handleForm(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTModalCreateApiKey.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/utilities/modals/create-project.js b/resources/assets/core/js/custom/utilities/modals/create-project.js new file mode 100644 index 0000000..e69de29 diff --git a/resources/assets/core/js/custom/utilities/modals/two-factor-authentication.js b/resources/assets/core/js/custom/utilities/modals/two-factor-authentication.js new file mode 100644 index 0000000..29488f2 --- /dev/null +++ b/resources/assets/core/js/custom/utilities/modals/two-factor-authentication.js @@ -0,0 +1,266 @@ +"use strict"; + +// Class definition +var KTModalTwoFactorAuthentication = function () { + // Private variables + var modal; + var modalObject; + + var optionsWrapper; + var optionsSelectButton; + + var smsWrapper; + var smsForm; + var smsSubmitButton; + var smsCancelButton; + var smsValidator; + + var appsWrapper; + var appsForm; + var appsSubmitButton; + var appsCancelButton; + var appsValidator; + + // Private functions + var handleOptionsForm = function() { + // Handle options selection + optionsSelectButton.addEventListener('click', function (e) { + e.preventDefault(); + var option = optionsWrapper.querySelector('[name="auth_option"]:checked'); + + optionsWrapper.classList.add('d-none'); + + if (option.value == 'sms') { + smsWrapper.classList.remove('d-none'); + } else { + appsWrapper.classList.remove('d-none'); + } + }); + } + + var showOptionsForm = function() { + optionsWrapper.classList.remove('d-none'); + smsWrapper.classList.add('d-none'); + appsWrapper.classList.add('d-none'); + } + + var handleSMSForm = function() { + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + smsValidator = FormValidation.formValidation( + smsForm, + { + fields: { + 'mobile': { + validators: { + notEmpty: { + message: 'Mobile no is required' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Handle apps submition + smsSubmitButton.addEventListener('click', function (e) { + e.preventDefault(); + + // Validate form before submit + if (smsValidator) { + smsValidator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + // Show loading indication + smsSubmitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + smsSubmitButton.disabled = true; + + // Simulate ajax process + setTimeout(function() { + // Remove loading indication + smsSubmitButton.removeAttribute('data-kt-indicator'); + + // Enable button + smsSubmitButton.disabled = false; + + // Show success message. For more info check the plugin's official documentation: https://sweetalert2.github.io/ + Swal.fire({ + text: "Mobile number has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modalObject.hide(); + showOptionsForm(); + } + }); + + //smsForm.submit(); // Submit form + }, 2000); + } else { + // Show error message. + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + + // Handle sms cancelation + smsCancelButton.addEventListener('click', function (e) { + e.preventDefault(); + var option = optionsWrapper.querySelector('[name="auth_option"]:checked'); + + optionsWrapper.classList.remove('d-none'); + smsWrapper.classList.add('d-none'); + }); + } + + var handleAppsForm = function() { + // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ + appsValidator = FormValidation.formValidation( + appsForm, + { + fields: { + 'code': { + validators: { + notEmpty: { + message: 'Code is required' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: '.fv-row', + eleInvalidClass: '', + eleValidClass: '' + }) + } + } + ); + + // Handle apps submition + appsSubmitButton.addEventListener('click', function (e) { + e.preventDefault(); + + // Validate form before submit + if (appsValidator) { + appsValidator.validate().then(function (status) { + console.log('validated!'); + + if (status == 'Valid') { + appsSubmitButton.setAttribute('data-kt-indicator', 'on'); + + // Disable button to avoid multiple click + appsSubmitButton.disabled = true; + + setTimeout(function() { + appsSubmitButton.removeAttribute('data-kt-indicator'); + + // Enable button + appsSubmitButton.disabled = false; + + // Show success message. + Swal.fire({ + text: "Code has been successfully submitted!", + icon: "success", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }).then(function (result) { + if (result.isConfirmed) { + modalObject.hide(); + showOptionsForm(); + } + }); + + //appsForm.submit(); // Submit form + }, 2000); + } else { + // Show error message. + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: false, + confirmButtonText: "Ok, got it!", + customClass: { + confirmButton: "btn btn-primary" + } + }); + } + }); + } + }); + + // Handle apps cancelation + appsCancelButton.addEventListener('click', function (e) { + e.preventDefault(); + var option = optionsWrapper.querySelector('[name="auth_option"]:checked'); + + optionsWrapper.classList.remove('d-none'); + appsWrapper.classList.add('d-none'); + }); + } + + // Public methods + return { + init: function () { + // Elements + modal = document.querySelector('#kt_modal_two_factor_authentication'); + + if (!modal) { + return; + } + + modalObject = new bootstrap.Modal(modal); + + optionsWrapper = modal.querySelector('[data-kt-element="options"]'); + optionsSelectButton = modal.querySelector('[data-kt-element="options-select"]'); + + smsWrapper = modal.querySelector('[data-kt-element="sms"]'); + smsForm = modal.querySelector('[data-kt-element="sms-form"]'); + smsSubmitButton = modal.querySelector('[data-kt-element="sms-submit"]'); + smsCancelButton = modal.querySelector('[data-kt-element="sms-cancel"]'); + + appsWrapper = modal.querySelector('[data-kt-element="apps"]'); + appsForm = modal.querySelector('[data-kt-element="apps-form"]'); + appsSubmitButton = modal.querySelector('[data-kt-element="apps-submit"]'); + appsCancelButton = modal.querySelector('[data-kt-element="apps-cancel"]'); + + // Handle forms + handleOptionsForm(); + handleSMSForm(); + handleAppsForm(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTModalTwoFactorAuthentication.init(); +}); diff --git a/resources/assets/core/js/custom/utilities/modals/upgrade-plan.js b/resources/assets/core/js/custom/utilities/modals/upgrade-plan.js new file mode 100644 index 0000000..1d81f0d --- /dev/null +++ b/resources/assets/core/js/custom/utilities/modals/upgrade-plan.js @@ -0,0 +1,65 @@ +"use strict"; + +// Class definition +var KTModalUpgradePlan = function () { + // Private variables + var modal; + var planPeriodMonthButton; + var planPeriodAnnualButton; + + var changePlanPrices = function(type) { + var items = [].slice.call(modal.querySelectorAll('[data-kt-plan-price-month]')); + + items.map(function (item) { + var monthPrice = item.getAttribute('data-kt-plan-price-month'); + var annualPrice = item.getAttribute('data-kt-plan-price-annual'); + + if ( type === 'month' ) { + item.innerHTML = monthPrice; + } else if ( type === 'annual' ) { + item.innerHTML = annualPrice; + } + }); + } + + var handlePlanPeriodSelection = function() { + // Handle period change + planPeriodMonthButton.addEventListener('click', function (e) { + changePlanPrices('month'); + }); + + planPeriodAnnualButton.addEventListener('click', function (e) { + changePlanPrices('annual'); + }); + } + + var handleTabs = function() { + KTUtil.on(modal, '[data-bs-toggle="tab"]', 'click', function(e) { + this.querySelector('[type="radio"]').checked = true; + }); + } + + // Public methods + return { + init: function () { + // Elements + modal = document.querySelector('#kt_modal_upgrade_plan'); + + if (!modal) { + return; + } + + planPeriodMonthButton = modal.querySelector('[data-kt-plan="month"]'); + planPeriodAnnualButton = modal.querySelector('[data-kt-plan="annual"]'); + + // Handlers + handlePlanPeriodSelection(); + handleTabs(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTModalUpgradePlan.init(); +}); diff --git a/resources/assets/core/js/custom/utilities/modals/users-search.js b/resources/assets/core/js/custom/utilities/modals/users-search.js new file mode 100644 index 0000000..1ac2964 --- /dev/null +++ b/resources/assets/core/js/custom/utilities/modals/users-search.js @@ -0,0 +1,77 @@ +"use strict"; + +// Class definition +var KTModalUserSearch = function () { + // Private variables + var element; + var suggestionsElement; + var resultsElement; + var wrapperElement; + var emptyElement; + var searchObject; + + // Private functions + var processs = function (search) { + var timeout = setTimeout(function () { + var number = KTUtil.getRandomInt(1, 3); + + // Hide recently viewed + suggestionsElement.classList.add('d-none'); + + if (number === 3) { + // Hide results + resultsElement.classList.add('d-none'); + // Show empty message + emptyElement.classList.remove('d-none'); + } else { + // Show results + resultsElement.classList.remove('d-none'); + // Hide empty message + emptyElement.classList.add('d-none'); + } + + // Complete search + search.complete(); + }, 1500); + } + + var clear = function (search) { + // Show recently viewed + suggestionsElement.classList.remove('d-none'); + // Hide results + resultsElement.classList.add('d-none'); + // Hide empty message + emptyElement.classList.add('d-none'); + } + + // Public methods + return { + init: function () { + // Elements + element = document.querySelector('#kt_modal_users_search_handler'); + + if (!element) { + return; + } + + wrapperElement = element.querySelector('[data-kt-search-element="wrapper"]'); + suggestionsElement = element.querySelector('[data-kt-search-element="suggestions"]'); + resultsElement = element.querySelector('[data-kt-search-element="results"]'); + emptyElement = element.querySelector('[data-kt-search-element="empty"]'); + + // Initialize search handler + searchObject = new KTSearch(element); + + // Search handler + searchObject.on('kt.search.process', processs); + + // Clear handler + searchObject.on('kt.search.clear', clear); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTModalUserSearch.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/custom/utilities/search/horizontal.js b/resources/assets/core/js/custom/utilities/search/horizontal.js new file mode 100644 index 0000000..2ad9dd7 --- /dev/null +++ b/resources/assets/core/js/custom/utilities/search/horizontal.js @@ -0,0 +1,40 @@ +"use strict"; + +// Class definition +var KTSearchHorizontal = function () { + // Private functions + var initAdvancedSearchForm = function () { + var form = document.querySelector('#kt_advanced_search_form'); + + // Init tags + var tags = form.querySelector('[name="tags"]'); + new Tagify(tags); + } + + var handleAdvancedSearchToggle = function () { + var link = document.querySelector('#kt_horizontal_search_advanced_link'); + + link.addEventListener('click', function (e) { + e.preventDefault(); + + if (link.innerHTML === "Advanced Search") { + link.innerHTML = "Hide Advanced Search"; + } else { + link.innerHTML = "Advanced Search"; + } + }) + } + + // Public methods + return { + init: function () { + initAdvancedSearchForm(); + handleAdvancedSearchToggle(); + } + } +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTSearchHorizontal.init(); +}); diff --git a/resources/assets/core/js/layout/app.js b/resources/assets/core/js/layout/app.js new file mode 100644 index 0000000..3c2e334 --- /dev/null +++ b/resources/assets/core/js/layout/app.js @@ -0,0 +1,659 @@ +"use strict"; + +// Class definition +var KTApp = function () { + var select2FocusFixInitialized = false; + + var initPageLoader = function () { + // CSS3 Transitions only after page load(.page-loading class added to body tag and remove with JS on page load) + KTUtil.removeClass(document.body, 'page-loading'); + } + + var initBootstrapTooltip = function (el, options) { + var delay = {}; + + // Handle delay options + if (el.hasAttribute('data-bs-delay-hide')) { + delay['hide'] = el.getAttribute('data-bs-delay-hide'); + } + + if (el.hasAttribute('data-bs-delay-show')) { + delay['show'] = el.getAttribute('data-bs-delay-show'); + } + + if (delay) { + options['delay'] = delay; + } + + // Check dismiss options + if (el.hasAttribute('data-bs-dismiss') && el.getAttribute('data-bs-dismiss') == 'click') { + options['dismiss'] = 'click'; + } + + // Initialize popover + var tp = new bootstrap.Tooltip(el, options); + + // Handle dismiss + if (options['dismiss'] && options['dismiss'] === 'click') { + // Hide popover on element click + el.addEventListener("click", function (e) { + tp.hide(); + }); + } + + return tp; + } + + var initBootstrapTooltips = function (el, options) { + var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')); + + var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { + initBootstrapTooltip(tooltipTriggerEl, {}); + }); + } + + var initBootstrapPopover = function (el, options) { + var delay = {}; + + // Handle delay options + if (el.hasAttribute('data-bs-delay-hide')) { + delay['hide'] = el.getAttribute('data-bs-delay-hide'); + } + + if (el.hasAttribute('data-bs-delay-show')) { + delay['show'] = el.getAttribute('data-bs-delay-show'); + } + + if (delay) { + options['delay'] = delay; + } + + // Handle dismiss option + if (el.getAttribute('data-bs-dismiss') == 'true') { + options['dismiss'] = true; + } + + if (options['dismiss'] === true) { + options['template'] = '' + } + + // Initialize popover + var popover = new bootstrap.Popover(el, options); + + // Handle dismiss click + if (options['dismiss'] === true) { + var dismissHandler = function (e) { + popover.hide(); + } + + el.addEventListener('shown.bs.popover', function () { + var dismissEl = document.getElementById(el.getAttribute('aria-describedby')); + dismissEl.addEventListener('click', dismissHandler); + }); + + el.addEventListener('hide.bs.popover', function () { + var dismissEl = document.getElementById(el.getAttribute('aria-describedby')); + dismissEl.removeEventListener('click', dismissHandler); + }); + } + + return popover; + } + + var initBootstrapPopovers = function () { + var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')); + + var popoverList = popoverTriggerList.map(function (popoverTriggerEl) { + initBootstrapPopover(popoverTriggerEl, {}); + }); + } + + var initBootstrapScrollSpy = function () { + var elements = [].slice.call(document.querySelectorAll('[data-bs-spy="scroll"]')); + + elements.map(function (element) { + var sel = element.getAttribute('data-bs-target'); + var scrollContent = document.querySelector(element.getAttribute('data-bs-target')); + var scrollSpy = bootstrap.ScrollSpy.getInstance(scrollContent); + if (scrollSpy) { + scrollSpy.refresh(); + } + }); + } + + var initBootstrapToast = function () { + var toastElList = [].slice.call(document.querySelectorAll('.toast')); + var toastList = toastElList.map(function (toastEl) { + return new bootstrap.Toast(toastEl, {}) + }); + } + + var initBootstrapCollapse = function() { + KTUtil.on(document.body, '.collapsible[data-bs-toggle="collapse"]', 'click', function(e) { + if (this.classList.contains('collapsed')) { + this.classList.remove('active'); + this.blur(); + } else { + this.classList.add('active'); + } + + if (this.hasAttribute('data-kt-toggle-text')) { + var text = this.getAttribute('data-kt-toggle-text'); + var target = this.querySelector('[data-kt-toggle-text-target="true"]'); + var target = target ? target : this; + + this.setAttribute('data-kt-toggle-text', target.innerText); + target.innerText = text; + } + }); + } + + var initBootstrapRotate = function() { + KTUtil.on(document.body, '[data-kt-rotate="true"]', 'click', function(e) { + if (this.classList.contains('active')) { + this.classList.remove('active'); + this.blur(); + } else { + this.classList.add('active'); + } + }); + } + + var initButtons = function () { + var buttonsGroup = [].slice.call(document.querySelectorAll('[data-kt-buttons="true"]')); + + buttonsGroup.map(function (group) { + var selector = group.hasAttribute('data-kt-buttons-target') ? group.getAttribute('data-kt-buttons-target') : '.btn'; + + // Toggle Handler + KTUtil.on(group, selector, 'click', function (e) { + var buttons = [].slice.call(group.querySelectorAll(selector + '.active')); + + buttons.map(function (button) { + button.classList.remove('active'); + }); + + this.classList.add('active'); + }); + }); + } + + var initDaterangepicker = function() { + // Check if jQuery included + if (typeof jQuery == 'undefined') { + return; + } + + // Check if daterangepicker included + if (typeof $.fn.daterangepicker === 'undefined') { + return; + } + + var elements = [].slice.call(document.querySelectorAll('[data-kt-daterangepicker="true"]')); + var start = moment().subtract(29, 'days'); + var end = moment(); + + elements.map(function (element) { + var display = element.querySelector('div'); + var attrOpens = element.hasAttribute('data-kt-daterangepicker-opens') ? element.getAttribute('data-kt-daterangepicker-opens') : 'left'; + + var cb = function(start, end) { + if (display) { + display.innerHTML = start.format('D MMM YYYY') + ' - ' + end.format('D MMM YYYY'); + } + } + + $(element).daterangepicker({ + startDate: start, + endDate: end, + opens: attrOpens, + ranges: { + 'Today': [moment(), moment()], + 'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')], + 'Last 7 Days': [moment().subtract(6, 'days'), moment()], + 'Last 30 Days': [moment().subtract(29, 'days'), moment()], + 'This Month': [moment().startOf('month'), moment().endOf('month')], + 'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')] + } + }, cb); + + cb(start, end); + }); + } + + var initCheck = function () { + // Toggle Handler + KTUtil.on(document.body, '[data-kt-check="true"]', 'change', function (e) { + var check = this; + var targets = document.querySelectorAll(check.getAttribute('data-kt-check-target')); + + KTUtil.each(targets, function (target) { + if (target.type == 'checkbox') { + target.checked = check.checked; + } else { + target.classList.toggle('active'); + } + }); + }); + } + + var initSelect2 = function () { + // Check if jQuery included + if (typeof jQuery == 'undefined') { + return; + } + + // Check if select2 included + if (typeof $.fn.select2 === 'undefined') { + return; + } + + var elements = [].slice.call(document.querySelectorAll('[data-control="select2"], [data-kt-select2="true"]')); + + elements.map(function (element) { + var options = { + dir: document.body.getAttribute('direction') + }; + + if (element.getAttribute('data-hide-search') == 'true') { + options.minimumResultsForSearch = Infinity; + } + + $(element).select2(options); + }); + + /* + * Hacky fix for a bug in select2 with jQuery 3.6.0's new nested-focus "protection" + * see: https://github.com/select2/select2/issues/5993 + * see: https://github.com/jquery/jquery/issues/4382 + * + * TODO: Recheck with the select2 GH issue and remove once this is fixed on their side + */ + + if (select2FocusFixInitialized === false) { + select2FocusFixInitialized = true; + + $(document).on('select2:open', function(e) { + var elements = document.querySelectorAll('.select2-container--open .select2-search__field'); + if (elements.length > 0) { + elements[elements.length - 1].focus(); + } + }); + } + } + + var initModal = function() { + // Apply fix for Firefox's known bug with Flatpickr and other inputs focus state + if (navigator.userAgent.toLowerCase().indexOf('firefox') !== -1) { + const allModals = document.querySelectorAll('.modal:not(.initialized)'); + + allModals.forEach(modal => { + modal.addEventListener('shown.bs.modal', function() { + bootstrap.Modal.getInstance(this).handleUpdate(); + this.classList.add('initialized'); + alert(2); + }); + }); + } + } + + var initAutosize = function () { + var inputs = [].slice.call(document.querySelectorAll('[data-kt-autosize="true"]')); + + inputs.map(function (input) { + autosize(input); + }); + } + + var initCountUp = function () { + var elements = [].slice.call(document.querySelectorAll('[data-kt-countup="true"]:not(.counted)')); + + elements.map(function (element) { + if (KTUtil.isInViewport(element) && KTUtil.visible(element)) { + var options = {}; + + var value = element.getAttribute('data-kt-countup-value'); + value = parseFloat(value.replace(/,/g, "")); + + if (element.hasAttribute('data-kt-countup-start-val')) { + options.startVal = parseFloat(element.getAttribute('data-kt-countup-start-val')); + } + + if (element.hasAttribute('data-kt-countup-duration')) { + options.duration = parseInt(element.getAttribute('data-kt-countup-duration')); + } + + if (element.hasAttribute('data-kt-countup-decimal-places')) { + options.decimalPlaces = parseInt(element.getAttribute('data-kt-countup-decimal-places')); + } + + if (element.hasAttribute('data-kt-countup-prefix')) { + options.prefix = element.getAttribute('data-kt-countup-prefix'); + } + + if (element.hasAttribute('data-kt-countup-separator')) { + options.separator = element.getAttribute('data-kt-countup-separator'); + } + + if (element.hasAttribute('data-kt-countup-suffix')) { + options.suffix = element.getAttribute('data-kt-countup-suffix'); + } + + var count = new countUp.CountUp(element, value, options); + + count.start(); + + element.classList.add('counted'); + } + }); + } + + var initCountUpTabs = function () { + // Initial call + initCountUp(); + + // Window scroll event handler + window.addEventListener('scroll', initCountUp); + + // Tabs shown event handler + var tabs = [].slice.call(document.querySelectorAll('[data-kt-countup-tabs="true"][data-bs-toggle="tab"]')); + tabs.map(function (tab) { + tab.addEventListener('shown.bs.tab', initCountUp); + }); + } + + var initTinySliders = function () { + // Init Slider + var initSlider = function (el) { + if (!el) { + return; + } + + const tnsOptions = {}; + + // Convert string boolean + const checkBool = function (val) { + if (val === 'true') { + return true; + } + if (val === 'false') { + return false; + } + return val; + }; + + // get extra options via data attributes + el.getAttributeNames().forEach(function (attrName) { + // more options; https://github.com/ganlanyuan/tiny-slider#options + if ((/^data-tns-.*/g).test(attrName)) { + let optionName = attrName.replace('data-tns-', '').toLowerCase().replace(/(?:[\s-])\w/g, function (match) { + return match.replace('-', '').toUpperCase(); + }); + + if (attrName === 'data-tns-responsive') { + // fix string with a valid json + const jsonStr = el.getAttribute(attrName).replace(/(\w+:)|(\w+ :)/g, function (matched) { + return '"' + matched.substring(0, matched.length - 1) + '":'; + }); + try { + // convert json string to object + tnsOptions[optionName] = JSON.parse(jsonStr); + } + catch (e) { + } + } + else { + tnsOptions[optionName] = checkBool(el.getAttribute(attrName)); + } + } + }); + + const opt = Object.assign({}, { + container: el, + slideBy: 'page', + autoplay: true, + autoplayButtonOutput: false, + }, tnsOptions); + + if (el.closest('.tns')) { + KTUtil.addClass(el.closest('.tns'), 'tns-initiazlied'); + } + + return tns(opt); + } + + // Sliders + const elements = Array.prototype.slice.call(document.querySelectorAll('[data-tns="true"]'), 0); + + if (!elements && elements.length === 0) { + return; + } + + elements.forEach(function (el) { + initSlider(el); + }); + } + + var initSmoothScroll = function () { + if (SmoothScroll) { + + new SmoothScroll('a[data-kt-scroll-toggle][href*="#"]', { + speed: 1000, + speedAsDuration: true, + offset: function (anchor, toggle) { + // Integer or Function returning an integer. How far to offset the scrolling anchor location in pixels + // This example is a function, but you could do something as simple as `offset: 25` + + // An example returning different values based on whether the clicked link was in the header nav or not + if (anchor.hasAttribute('data-kt-scroll-offset')) { + var val = KTUtil.getResponsiveValue(anchor.getAttribute('data-kt-scroll-offset')); + + return val; + } else { + return 0; + } + } + }); + } + } + + var setThemeMode = function(mode, cb) { + // Load css file + var loadCssFile = function(fileName, newFileName) { + return new Promise(function(resolve, reject) { + var oldLink = document.querySelector("link[href*='" + fileName + "']"); + var link = document.createElement('link'); + var href = oldLink.href.replace(fileName, newFileName); + + link.rel = 'stylesheet'; + link.type = 'text/css'; + link.href = href; + + document.head.insertBefore(link, oldLink); + + // Important success and error for the promise + link.onload = function() { + resolve(href); + oldLink.remove(); + }; + + link.onerror = function() { + reject(href); + }; + }); + }; + + // Set page loading state + document.body.classList.add('page-loading'); + + if ( mode === 'dark' ) { + Promise.all([ + loadCssFile('plugins.bundle.css', 'plugins.dark.bundle.css'), + loadCssFile('style.bundle.css', 'style.dark.bundle.css') + ]).then(function() { + // Set dark mode class + document.body.classList.add("dark-mode"); + + // Remove page loading srate + document.body.classList.remove('page-loading'); + + if (cb instanceof Function) { + cb(); + } + }).catch(function() { + // error + }); + } else if ( mode === 'light' ) { + Promise.all([ + loadCssFile('plugins.dark.bundle.css', 'plugins.bundle.css'), + loadCssFile('style.dark.bundle.css', 'style.bundle.css') + ]).then(function() { + // Remove dark mode class + document.body.classList.remove("dark-mode"); + + // Remove page loading srate + document.body.classList.remove('page-loading'); + + // Callback + if (cb instanceof Function) { + cb(); + } + }).catch(function() { + // error + }); + } + } + + return { + init: function () { + this.initBootstrapTooltips(); + + this.initBootstrapPopovers(); + + this.initBootstrapScrollSpy(); + + this.initDaterangepicker(); + + this.initButtons(); + + this.initCheck(); + + this.initSelect2(); + + this.initCountUp(); + + this.initCountUpTabs(); + + this.initAutosize(); + + this.initTinySliders(); + + this.initSmoothScroll(); + + this.initBootstrapToast(); + + this.initBootstrapCollapse(); + + this.initBootstrapRotate(); + }, + + initPageLoader: function () { + initPageLoader(); + }, + + initDaterangepicker: function() { + initDaterangepicker(); + }, + + initBootstrapTooltip: function (el, options) { + return initBootstrapTooltip(el, options); + }, + + initBootstrapTooltips: function () { + initBootstrapTooltips(); + }, + + initBootstrapModal: function() { + initModal(); + }, + + initBootstrapPopovers: function () { + initBootstrapPopovers(); + }, + + initBootstrapPopover: function (el, options) { + return initBootstrapPopover(el, options); + }, + + initBootstrapScrollSpy: function () { + initBootstrapScrollSpy(); + }, + + initBootstrapToast: function () { + initBootstrapToast(); + }, + + initBootstrapCollapse: function() { + initBootstrapCollapse(); + }, + + initBootstrapRotate: function() { + initBootstrapRotate(); + }, + + initButtons: function () { + initButtons(); + }, + + initCheck: function () { + initCheck(); + }, + + initSelect2: function () { + initSelect2(); + }, + + initCountUp: function () { + initCountUp(); + }, + + initCountUpTabs: function () { + initCountUpTabs(); + }, + + initAutosize: function () { + initAutosize(); + }, + + initTinySliders: function () { + initTinySliders(); + }, + + initSmoothScroll: function () { + initSmoothScroll(); + }, + + isDarkMode: function () { + return document.body.classList.contains('dark-mode'); + }, + + setThemeMode: function(mode, cb) { + setThemeMode(mode, cb); + } + }; +}(); + +// Initialize app on document ready +KTUtil.onDOMContentLoaded(function () { + KTApp.init(); +}); + +// Initialize page loader on window load +window.addEventListener("load", function() { + KTApp.initPageLoader(); +}); + +// Declare KTApp for Webpack support +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { + module.exports = KTApp; +} \ No newline at end of file diff --git a/resources/assets/core/js/layout/search.js b/resources/assets/core/js/layout/search.js new file mode 100644 index 0000000..99e9663 --- /dev/null +++ b/resources/assets/core/js/layout/search.js @@ -0,0 +1,135 @@ +"use strict"; + +// Class definition +var KTLayoutSearch = function() { + // Private variables + var element; + var formElement; + var mainElement; + var resultsElement; + var wrapperElement; + var emptyElement; + + var preferencesElement; + var preferencesShowElement; + var preferencesDismissElement; + + var advancedOptionsFormElement; + var advancedOptionsFormShowElement; + var advancedOptionsFormCancelElement; + var advancedOptionsFormSearchElement; + + var searchObject; + + // Private functions + var processs = function(search) { + var timeout = setTimeout(function() { + var number = KTUtil.getRandomInt(1, 3); + + // Hide recently viewed + mainElement.classList.add('d-none'); + + if (number === 3) { + // Hide results + resultsElement.classList.add('d-none'); + // Show empty message + emptyElement.classList.remove('d-none'); + } else { + // Show results + resultsElement.classList.remove('d-none'); + // Hide empty message + emptyElement.classList.add('d-none'); + } + + // Complete search + search.complete(); + }, 1500); + } + + var clear = function(search) { + // Show recently viewed + mainElement.classList.remove('d-none'); + // Hide results + resultsElement.classList.add('d-none'); + // Hide empty message + emptyElement.classList.add('d-none'); + } + + var handlePreferences = function() { + // Preference show handler + preferencesShowElement.addEventListener('click', function() { + wrapperElement.classList.add('d-none'); + preferencesElement.classList.remove('d-none'); + }); + + // Preference dismiss handler + preferencesDismissElement.addEventListener('click', function() { + wrapperElement.classList.remove('d-none'); + preferencesElement.classList.add('d-none'); + }); + } + + var handleAdvancedOptionsForm = function() { + // Show + advancedOptionsFormShowElement.addEventListener('click', function() { + wrapperElement.classList.add('d-none'); + advancedOptionsFormElement.classList.remove('d-none'); + }); + + // Cancel + advancedOptionsFormCancelElement.addEventListener('click', function() { + wrapperElement.classList.remove('d-none'); + advancedOptionsFormElement.classList.add('d-none'); + }); + + // Search + advancedOptionsFormSearchElement.addEventListener('click', function() { + + }); + } + + // Public methods + return { + init: function() { + // Elements + element = document.querySelector('#kt_header_search'); + + if (!element) { + return; + } + + wrapperElement = element.querySelector('[data-kt-search-element="wrapper"]'); + formElement = element.querySelector('[data-kt-search-element="form"]'); + mainElement = element.querySelector('[data-kt-search-element="main"]'); + resultsElement = element.querySelector('[data-kt-search-element="results"]'); + emptyElement = element.querySelector('[data-kt-search-element="empty"]'); + + preferencesElement = element.querySelector('[data-kt-search-element="preferences"]'); + preferencesShowElement = element.querySelector('[data-kt-search-element="preferences-show"]'); + preferencesDismissElement = element.querySelector('[data-kt-search-element="preferences-dismiss"]'); + + advancedOptionsFormElement = element.querySelector('[data-kt-search-element="advanced-options-form"]'); + advancedOptionsFormShowElement = element.querySelector('[data-kt-search-element="advanced-options-form-show"]'); + advancedOptionsFormCancelElement = element.querySelector('[data-kt-search-element="advanced-options-form-cancel"]'); + advancedOptionsFormSearchElement = element.querySelector('[data-kt-search-element="advanced-options-form-search"]'); + + // Initialize search handler + searchObject = new KTSearch(element); + + // Search handler + searchObject.on('kt.search.process', processs); + + // Clear handler + searchObject.on('kt.search.clear', clear); + + // Custom handlers + handlePreferences(); + handleAdvancedOptionsForm(); + } + }; +}(); + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTLayoutSearch.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/vendors/plugins/apexchart.init.js b/resources/assets/core/js/vendors/plugins/apexchart.init.js new file mode 100644 index 0000000..0254779 --- /dev/null +++ b/resources/assets/core/js/vendors/plugins/apexchart.init.js @@ -0,0 +1,7 @@ +Apex.xaxis = { + labels: { + style: { + fontFamily: 'Montserrat' + } + } + } \ No newline at end of file diff --git a/resources/assets/core/js/vendors/plugins/bootstrap-markdown.init.js b/resources/assets/core/js/vendors/plugins/bootstrap-markdown.init.js new file mode 100644 index 0000000..9f5c565 --- /dev/null +++ b/resources/assets/core/js/vendors/plugins/bootstrap-markdown.init.js @@ -0,0 +1,10 @@ +"use strict"; + +// +// Markdown Initialization +// + +$.fn.markdown.defaults.iconlibrary = 'fa'; +$.fn.markdown.defaults.buttons[0][0]['data'][2]['icon']['fa'] = 'fa fa-heading'; +$.fn.markdown.defaults.buttons[0][1]['data'][1]['icon']['fa'] = 'fa fa-image'; +$.fn.markdown.defaults.buttons[0][2]['data'][1]['icon']['fa'] = 'fa fa-list-ol'; diff --git a/resources/assets/core/js/vendors/plugins/datatables.init.js b/resources/assets/core/js/vendors/plugins/datatables.init.js new file mode 100644 index 0000000..5287a92 --- /dev/null +++ b/resources/assets/core/js/vendors/plugins/datatables.init.js @@ -0,0 +1,212 @@ +"use strict"; + +// +// Datatables.net Initialization +// + +// Set Defaults + +var defaults = { + "language": { + "info": "Showing _START_ to _END_ of _TOTAL_ records", + "infoEmpty": "Showing no records", + "lengthMenu": "_MENU_", + "paginate": { + "first": '', + "last": '', + "next": '', + "previous": '' + } + } +}; + +$.extend(true, $.fn.dataTable.defaults, defaults); + +/*! DataTables Bootstrap 4 integration + * ©2011-2017 SpryMedia Ltd - datatables.net/license + */ + +/** + * DataTables integration for Bootstrap 4. This requires Bootstrap 4 and + * DataTables 1.10 or newer. + * + * This file sets the defaults and adds options to DataTables to style its + * controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap + * for further information. + */ +(function( factory ){ + if ( typeof define === 'function' && define.amd ) { + // AMD + define( ['jquery', 'datatables.net'], function ( $ ) { + return factory( $, window, document ); + } ); + } + else if ( typeof exports === 'object' ) { + // CommonJS + module.exports = function (root, $) { + if ( ! root ) { + root = window; + } + + if ( ! $ || ! $.fn.dataTable ) { + // Require DataTables, which attaches to jQuery, including + // jQuery if needed and have a $ property so we can access the + // jQuery object that is used + $ = require('datatables.net')(root, $).$; + } + + return factory( $, root, root.document ); + }; + } + else { + // Browser + factory( jQuery, window, document ); + } +}(function( $, window, document, undefined ) { +'use strict'; +var DataTable = $.fn.dataTable; + + +/* Set the defaults for DataTables initialisation */ +$.extend( true, DataTable.defaults, { + dom: + "<'table-responsive'tr>" + + + "<'row'" + + "<'col-sm-12 col-md-5 d-flex align-items-center justify-content-center justify-content-md-start'li>" + + "<'col-sm-12 col-md-7 d-flex align-items-center justify-content-center justify-content-md-end'p>" + + ">", + + renderer: 'bootstrap' +} ); + + +/* Default class modification */ +$.extend( DataTable.ext.classes, { + sWrapper: "dataTables_wrapper dt-bootstrap4", + sFilterInput: "form-control form-control-sm form-control-solid", + sLengthSelect: "form-select form-select-sm form-select-solid", + sProcessing: "dataTables_processing", + sPageButton: "paginate_button page-item" +} ); + + +/* Bootstrap paging button renderer */ +DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) { + var api = new DataTable.Api( settings ); + var classes = settings.oClasses; + var lang = settings.oLanguage.oPaginate; + var aria = settings.oLanguage.oAria.paginate || {}; + var btnDisplay, btnClass, counter=0; + + var attach = function( container, buttons ) { + var i, ien, node, button; + var clickHandler = function ( e ) { + e.preventDefault(); + if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) { + api.page( e.data.action ).draw( 'page' ); + } + }; + + for ( i=0, ien=buttons.length ; i 0 ? + '' : ' disabled'); + break; + + case 'previous': + btnDisplay = lang.sPrevious; + btnClass = button + (page > 0 ? + '' : ' disabled'); + break; + + case 'next': + btnDisplay = lang.sNext; + btnClass = button + (page < pages-1 ? + '' : ' disabled'); + break; + + case 'last': + btnDisplay = lang.sLast; + btnClass = button + (page < pages-1 ? + '' : ' disabled'); + break; + + default: + btnDisplay = button + 1; + btnClass = page === button ? + 'active' : ''; + break; + } + + if ( btnDisplay ) { + node = $('
  • ', { + 'class': classes.sPageButton+' '+btnClass, + 'id': idx === 0 && typeof button === 'string' ? + settings.sTableId +'_'+ button : + null + } ) + .append( $('', { + 'href': '#', + 'aria-controls': settings.sTableId, + 'aria-label': aria[ button ], + 'data-dt-idx': counter, + 'tabindex': settings.iTabIndex, + 'class': 'page-link' + } ) + .html( btnDisplay ) + ) + .appendTo( container ); + + settings.oApi._fnBindAction( + node, {action: button}, clickHandler + ); + + counter++; + } + } + } + }; + + // IE9 throws an 'unknown error' if document.activeElement is used + // inside an iframe or frame. + var activeEl; + + try { + // Because this approach is destroying and recreating the paging + // elements, focus is lost on the select button which is bad for + // accessibility. So we want to restore focus once the draw has + // completed + activeEl = $(host).find(document.activeElement).data('dt-idx'); + } + catch (e) {} + + attach( + $(host).empty().html('
      ').children('ul'), + buttons + ); + + if ( activeEl !== undefined ) { + $(host).find( '[data-dt-idx='+activeEl+']' ).trigger('focus'); + } +}; + + +return DataTable; +})); diff --git a/resources/assets/core/js/vendors/plugins/dropzone.init.js b/resources/assets/core/js/vendors/plugins/dropzone.init.js new file mode 100644 index 0000000..6b7cf0f --- /dev/null +++ b/resources/assets/core/js/vendors/plugins/dropzone.init.js @@ -0,0 +1,42 @@ +"use strict"; + +// +// Dropzone Initialization +// + +// Set Defaults +Dropzone.autoDiscover = false; +Dropzone.prototype.previewTemplate = `\ +
      +
      + +
      +
      +
      +
      + +
      + +
      + +
      + + Check + + + + +
      + +
      + + Error + + + + + + +
      +
      \ +`; \ No newline at end of file diff --git a/resources/assets/core/js/vendors/plugins/flatpickr.init.js b/resources/assets/core/js/vendors/plugins/flatpickr.init.js new file mode 100644 index 0000000..c6f45cb --- /dev/null +++ b/resources/assets/core/js/vendors/plugins/flatpickr.init.js @@ -0,0 +1,5 @@ +"use strict"; + +// +// Flatpickr +// diff --git a/resources/assets/core/js/vendors/plugins/prism.init.js b/resources/assets/core/js/vendors/plugins/prism.init.js new file mode 100644 index 0000000..0d628f4 --- /dev/null +++ b/resources/assets/core/js/vendors/plugins/prism.init.js @@ -0,0 +1,12 @@ +"use strict"; + +// +// Prism Initialization +// + +Prism.plugins.NormalizeWhitespace.setDefaults({ + 'remove-trailing': true, + 'remove-indent': true, + 'left-trim': true, + 'right-trim': true +}); diff --git a/resources/assets/core/js/vendors/plugins/select2.init.js b/resources/assets/core/js/vendors/plugins/select2.init.js new file mode 100644 index 0000000..81f4af3 --- /dev/null +++ b/resources/assets/core/js/vendors/plugins/select2.init.js @@ -0,0 +1,9 @@ +"use strict"; + +// +// Select2 Initialization +// + +$.fn.select2.defaults.set("theme", "bootstrap5"); +$.fn.select2.defaults.set("width", "100%"); +$.fn.select2.defaults.set("selectionCssClass", ":all:"); diff --git a/resources/assets/core/js/vendors/plugins/sweetalert2.init.js b/resources/assets/core/js/vendors/plugins/sweetalert2.init.js new file mode 100644 index 0000000..e709b69 --- /dev/null +++ b/resources/assets/core/js/vendors/plugins/sweetalert2.init.js @@ -0,0 +1,17 @@ +"use strict"; + +// +// SweetAlert2 Initialization +// + +// Set Defaults +swal.mixin({ + width: 400, + heightAuto: false, + padding: '2.5rem', + buttonsStyling: false, + confirmButtonClass: 'btn btn-success', + confirmButtonColor: null, + cancelButtonClass: 'btn btn-secondary', + cancelButtonColor: null +}); diff --git a/resources/assets/core/js/widgets/cards/widget-1.js b/resources/assets/core/js/widgets/cards/widget-1.js new file mode 100644 index 0000000..4b8dfe1 --- /dev/null +++ b/resources/assets/core/js/widgets/cards/widget-1.js @@ -0,0 +1,171 @@ +"use strict"; + +// Class definition +var KTCardsWidget1 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_card_widget_1_chart"); + + if (!element) { + return; + } + + var color = element.getAttribute('data-kt-chart-color'); + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var baseColor = KTUtil.isHexColor(color) ? color : KTUtil.getCssVariableValue('--bs-' + color); + var secondaryColor = KTUtil.getCssVariableValue('--bs-gray-300'); + + var options = { + series: [{ + name: 'Sales', + data: [30, 75, 55, 45, 30, 60, 75, 50], + margin: { + left: 5, + right: 5 + } + }], + chart: { + fontFamily: 'inherit', + type: 'bar', + height: height, + toolbar: { + show: false + }, + sparkline: { + enabled: true + } + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: ['35%'], + borderRadius: 6 + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + stroke: { + show: true, + width: 4, + colors: ['transparent'] + }, + xaxis: { + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + show: false, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + show: false + } + }, + yaxis: { + labels: { + show: false, + style: { + colors: labelColor, + fontSize: '12px' + } + } + }, + fill: { + type: 'solid' + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + x: { + formatter: function (val) { + return "Feb: " + val + } + }, + y: { + formatter: function (val) { + return val + "%" + } + } + }, + colors: [baseColor, secondaryColor], + grid: { + borderColor: false, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + }, + padding: { + top: 10, + left: 25, + right: 25 + } + } + }; + + // Set timeout to properly get the parent elements width + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 300); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTCardsWidget1; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTCardsWidget1.init(); +}); + + + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/cards/widget-10.js b/resources/assets/core/js/widgets/cards/widget-10.js new file mode 100644 index 0000000..8f1639c --- /dev/null +++ b/resources/assets/core/js/widgets/cards/widget-10.js @@ -0,0 +1,76 @@ +"use strict"; + +// Class definition +var KTCardsWidget10 = function () { + // Private methods + var initChart = function() { + var el = document.getElementById('kt_card_widget_10_chart'); + + if (!el) { + return; + } + + var options = { + size: el.getAttribute('data-kt-size') ? parseInt(el.getAttribute('data-kt-size')) : 70, + lineWidth: el.getAttribute('data-kt-line') ? parseInt(el.getAttribute('data-kt-line')) : 11, + rotate: el.getAttribute('data-kt-rotate') ? parseInt(el.getAttribute('data-kt-rotate')) : 145, + //percent: el.getAttribute('data-kt-percent') , + } + + var canvas = document.createElement('canvas'); + var span = document.createElement('span'); + + if (typeof(G_vmlCanvasManager) !== 'undefined') { + G_vmlCanvasManager.initElement(canvas); + } + + var ctx = canvas.getContext('2d'); + canvas.width = canvas.height = options.size; + + el.appendChild(span); + el.appendChild(canvas); + + ctx.translate(options.size / 2, options.size / 2); // change center + ctx.rotate((-1 / 2 + options.rotate / 180) * Math.PI); // rotate -90 deg + + //imd = ctx.getImageData(0, 0, 240, 240); + var radius = (options.size - options.lineWidth) / 2; + + var drawCircle = function(color, lineWidth, percent) { + percent = Math.min(Math.max(0, percent || 1), 1); + ctx.beginPath(); + ctx.arc(0, 0, radius, 0, Math.PI * 2 * percent, false); + ctx.strokeStyle = color; + ctx.lineCap = 'round'; // butt, round or square + ctx.lineWidth = lineWidth + ctx.stroke(); + }; + + // Init + drawCircle('#E4E6EF', options.lineWidth, 100 / 100); + drawCircle(KTUtil.getCssVariableValue('--bs-primary'), options.lineWidth, 100 / 150); + drawCircle(KTUtil.getCssVariableValue('--bs-success'), options.lineWidth, 100 / 250); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTCardsWidget10; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTCardsWidget10.init(); +}); + + + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/cards/widget-12.js b/resources/assets/core/js/widgets/cards/widget-12.js new file mode 100644 index 0000000..d526d8e --- /dev/null +++ b/resources/assets/core/js/widgets/cards/widget-12.js @@ -0,0 +1,160 @@ +"use strict"; + +// Class definition +var KTCardWidget12 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_card_widget_12_chart"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-gray-800'); + var lightColor = KTUtil.getCssVariableValue('--bs-success'); + + var options = { + series: [{ + name: 'Sales', + data: [3.5, 5.7, 2.8, 5.9, 4.2, 5.6, 4.3, 4.5, 5.9, 4.5, 5.7, 4.8, 5.7] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: 'solid', + opacity: 0 + }, + stroke: { + curve: 'smooth', + show: true, + width: 2, + colors: [baseColor] + }, + xaxis: { + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + show: false + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + labels: { + show: false + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + x: { + formatter: function (val) { + return "Feb " + val; + } + }, + y: { + formatter: function (val) { + return val * "10" + "K" + } + } + }, + colors: [lightColor], + grid: { + strokeDashArray: 4, + padding: { + top: 0, + right: -20, + bottom: -20, + left: -20 + }, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 2 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 300); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTCardWidget12; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTCardWidget12.init(); +}); diff --git a/resources/assets/core/js/widgets/cards/widget-13.js b/resources/assets/core/js/widgets/cards/widget-13.js new file mode 100644 index 0000000..9dea1b7 --- /dev/null +++ b/resources/assets/core/js/widgets/cards/widget-13.js @@ -0,0 +1,160 @@ +"use strict"; + +// Class definition +var KTCardWidget13 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_card_widget_13_chart"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-gray-800'); + var lightColor = KTUtil.getCssVariableValue('--bs-success'); + + var options = { + series: [{ + name: 'Shipments', + data: [1.5, 4.5, 2, 3, 2, 4, 2.5, 2, 2.5, 4, 3.5, 4.5, 2.5] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: 'solid', + opacity: 0 + }, + stroke: { + curve: 'smooth', + show: true, + width: 2, + colors: [baseColor] + }, + xaxis: { + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + show: false + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + labels: { + show: false + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + x: { + formatter: function (val) { + return "Feb " + val; + } + }, + y: { + formatter: function (val) { + return val * "10" + "K" + } + } + }, + colors: [lightColor], + grid: { + strokeDashArray: 4, + padding: { + top: 0, + right: -20, + bottom: -20, + left: -20 + }, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 2 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 300); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTCardWidget13; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTCardWidget13.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/widgets/cards/widget-17.js b/resources/assets/core/js/widgets/cards/widget-17.js new file mode 100644 index 0000000..a44a36d --- /dev/null +++ b/resources/assets/core/js/widgets/cards/widget-17.js @@ -0,0 +1,76 @@ +"use strict"; + +// Class definition +var KTCardsWidget17 = function () { + // Private methods + var initChart = function() { + var el = document.getElementById('kt_card_widget_17_chart'); + + if (!el) { + return; + } + + var options = { + size: el.getAttribute('data-kt-size') ? parseInt(el.getAttribute('data-kt-size')) : 70, + lineWidth: el.getAttribute('data-kt-line') ? parseInt(el.getAttribute('data-kt-line')) : 11, + rotate: el.getAttribute('data-kt-rotate') ? parseInt(el.getAttribute('data-kt-rotate')) : 145, + //percent: el.getAttribute('data-kt-percent') , + } + + var canvas = document.createElement('canvas'); + var span = document.createElement('span'); + + if (typeof(G_vmlCanvasManager) !== 'undefined') { + G_vmlCanvasManager.initElement(canvas); + } + + var ctx = canvas.getContext('2d'); + canvas.width = canvas.height = options.size; + + el.appendChild(span); + el.appendChild(canvas); + + ctx.translate(options.size / 2, options.size / 2); // change center + ctx.rotate((-1 / 2 + options.rotate / 180) * Math.PI); // rotate -90 deg + + //imd = ctx.getImageData(0, 0, 240, 240); + var radius = (options.size - options.lineWidth) / 2; + + var drawCircle = function(color, lineWidth, percent) { + percent = Math.min(Math.max(0, percent || 1), 1); + ctx.beginPath(); + ctx.arc(0, 0, radius, 0, Math.PI * 2 * percent, false); + ctx.strokeStyle = color; + ctx.lineCap = 'round'; // butt, round or square + ctx.lineWidth = lineWidth + ctx.stroke(); + }; + + // Init + drawCircle('#E4E6EF', options.lineWidth, 100 / 100); + drawCircle(KTUtil.getCssVariableValue('--bs-primary'), options.lineWidth, 100 / 150); + drawCircle(KTUtil.getCssVariableValue('--bs-success'), options.lineWidth, 100 / 250); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTCardsWidget17; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTCardsWidget17.init(); +}); + + + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/cards/widget-4.js b/resources/assets/core/js/widgets/cards/widget-4.js new file mode 100644 index 0000000..2f35295 --- /dev/null +++ b/resources/assets/core/js/widgets/cards/widget-4.js @@ -0,0 +1,76 @@ +"use strict"; + +// Class definition +var KTCardsWidget4 = function () { + // Private methods + var initChart = function() { + var el = document.getElementById('kt_card_widget_4_chart'); + + if (!el) { + return; + } + + var options = { + size: el.getAttribute('data-kt-size') ? parseInt(el.getAttribute('data-kt-size')) : 70, + lineWidth: el.getAttribute('data-kt-line') ? parseInt(el.getAttribute('data-kt-line')) : 11, + rotate: el.getAttribute('data-kt-rotate') ? parseInt(el.getAttribute('data-kt-rotate')) : 145, + //percent: el.getAttribute('data-kt-percent') , + } + + var canvas = document.createElement('canvas'); + var span = document.createElement('span'); + + if (typeof(G_vmlCanvasManager) !== 'undefined') { + G_vmlCanvasManager.initElement(canvas); + } + + var ctx = canvas.getContext('2d'); + canvas.width = canvas.height = options.size; + + el.appendChild(span); + el.appendChild(canvas); + + ctx.translate(options.size / 2, options.size / 2); // change center + ctx.rotate((-1 / 2 + options.rotate / 180) * Math.PI); // rotate -90 deg + + //imd = ctx.getImageData(0, 0, 240, 240); + var radius = (options.size - options.lineWidth) / 2; + + var drawCircle = function(color, lineWidth, percent) { + percent = Math.min(Math.max(0, percent || 1), 1); + ctx.beginPath(); + ctx.arc(0, 0, radius, 0, Math.PI * 2 * percent, false); + ctx.strokeStyle = color; + ctx.lineCap = 'round'; // butt, round or square + ctx.lineWidth = lineWidth + ctx.stroke(); + }; + + // Init + drawCircle('#E4E6EF', options.lineWidth, 100 / 100); + drawCircle(KTUtil.getCssVariableValue('--bs-danger'), options.lineWidth, 100 / 150); + drawCircle(KTUtil.getCssVariableValue('--bs-primary'), options.lineWidth, 100 / 250); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTCardsWidget4; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTCardsWidget4.init(); +}); + + + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/cards/widget-6.js b/resources/assets/core/js/widgets/cards/widget-6.js new file mode 100644 index 0000000..eca0a0e --- /dev/null +++ b/resources/assets/core/js/widgets/cards/widget-6.js @@ -0,0 +1,165 @@ +"use strict"; + +// Class definition +var KTCardsWidget6 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_card_widget_6_chart"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-primary'); + var secondaryColor = KTUtil.getCssVariableValue('--bs-gray-300'); + + var options = { + series: [{ + name: 'Sales', + data: [30, 60, 53, 45, 60, 75, 53] + }, ], + chart: { + fontFamily: 'inherit', + type: 'bar', + height: height, + toolbar: { + show: false + }, + sparkline: { + enabled: true + } + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: ['55%'], + borderRadius: 6 + } + }, + legend: { + show: false, + }, + dataLabels: { + enabled: false + }, + stroke: { + show: true, + width: 9, + colors: ['transparent'] + }, + xaxis: { + axisBorder: { + show: false, + }, + axisTicks: { + show: false, + tickPlacement: 'between' + }, + labels: { + show: false, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + show: false + } + }, + yaxis: { + labels: { + show: false, + style: { + colors: labelColor, + fontSize: '12px' + } + } + }, + fill: { + type: 'solid' + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + x: { + formatter: function (val) { + return 'Feb: ' + val; + } + }, + y: { + formatter: function (val) { + return val + "%" + } + } + }, + colors: [baseColor, secondaryColor], + grid: { + padding: { + left: 10, + right: 10 + }, + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 300); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTCardsWidget6; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTCardsWidget6.init(); +}); + + + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/cards/widget-8.js b/resources/assets/core/js/widgets/cards/widget-8.js new file mode 100644 index 0000000..10e9b63 --- /dev/null +++ b/resources/assets/core/js/widgets/cards/widget-8.js @@ -0,0 +1,160 @@ +"use strict"; + +// Class definition +var KTCardWidget8 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_card_widget_8_chart"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-gray-800'); + var lightColor = KTUtil.getCssVariableValue('--bs-success'); + + var options = { + series: [{ + name: 'Sales', + data: [4.5, 5.7, 2.8, 5.9, 4.2, 5.6, 5.2, 4.5, 5.9, 4.5, 5.7, 4.8, 5.7] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: 'solid', + opacity: 0 + }, + stroke: { + curve: 'smooth', + show: true, + width: 2, + colors: [baseColor] + }, + xaxis: { + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + show: false + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + labels: { + show: false + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + x: { + formatter: function (val) { + return "Feb " + val; + } + }, + y: { + formatter: function (val) { + return "$" + val + "K" + } + } + }, + colors: [lightColor], + grid: { + strokeDashArray: 4, + padding: { + top: 0, + right: -20, + bottom: -20, + left: -20 + }, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 2 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 300); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTCardWidget8; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTCardWidget8.init(); +}); diff --git a/resources/assets/core/js/widgets/cards/widget-9.js b/resources/assets/core/js/widgets/cards/widget-9.js new file mode 100644 index 0000000..0fdad7e --- /dev/null +++ b/resources/assets/core/js/widgets/cards/widget-9.js @@ -0,0 +1,160 @@ +"use strict"; + +// Class definition +var KTCardWidget9 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_card_widget_9_chart"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-gray-800'); + var lightColor = KTUtil.getCssVariableValue('--bs-success'); + + var options = { + series: [{ + name: 'Visitors', + data: [1.5, 2.5, 2, 3, 2, 4, 2.5, 2, 2.5, 4, 2.5, 4.5, 2.5] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: 'solid', + opacity: 0 + }, + stroke: { + curve: 'smooth', + show: true, + width: 2, + colors: [baseColor] + }, + xaxis: { + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + show: false + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + labels: { + show: false + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + x: { + formatter: function (val) { + return "Feb " + val; + } + }, + y: { + formatter: function (val) { + return val + "K" + } + } + }, + colors: [lightColor], + grid: { + strokeDashArray: 4, + padding: { + top: 0, + right: -20, + bottom: -20, + left: -20 + }, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 2 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 300); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTCardWidget9; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTCardWidget9.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-1.js b/resources/assets/core/js/widgets/charts/widget-1.js new file mode 100644 index 0000000..b79a5c3 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-1.js @@ -0,0 +1,162 @@ +"use strict"; + +// Class definition +var KTChartsWidget1 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_1"); + + if (!element) { + return; + } + + var negativeColor = element.hasAttribute('data-kt-negative-color') ? element.getAttribute('data-kt-negative-color') : KTUtil.getCssVariableValue('--bs-success'); + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + + var baseColor = KTUtil.getCssVariableValue('--bs-primary'); + + var options = { + series: [{ + name: 'Subscribed', + data: [20, 30, 20, 40, 60, 75, 65, 18, 10, 5, 15, 40, 60, 18, 35, 55, 20] + }, { + name: 'Unsubscribed', + data: [-20, -15, -5, -20, -30, -15, -10, -8, -5, -5, -10, -25, -15, -5, -10, -5, -15] + }], + chart: { + fontFamily: 'inherit', + type: 'bar', + stacked: true, + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + //horizontal: false, + columnWidth: "35%", + barHeight: "70%", + borderRadius: [6, 6] + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + xaxis: { + categories: ['Jan 5', 'Jan 7', 'Jan 9', 'Jan 11', 'Jan 13', 'Jan 15', 'Jan 17', 'Jan 19', 'Jan 20', 'Jan 21', 'Jan 23', 'Jan 24', 'Jan 25', 'Jan 26', 'Jan 24', 'Jan 28', 'Jan 29'], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + tickAmount: 10, + labels: { + //rotate: -45, + //rotateAlways: true, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + show: false + } + }, + yaxis: { + min: -50, + max: 80, + tickAmount: 6, + labels: { + style: { + colors: labelColor, + fontSize: '12px' + }, + formatter: function (val) { + return parseInt(val) + "K" + } + } + }, + fill: { + opacity: 1 + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px', + borderRadius: 4 + }, + y: { + formatter: function (val) { + if (val > 0) { + return val + 'K'; + } else { + return Math.abs(val) + 'K'; + } + } + } + }, + colors: [baseColor, negativeColor], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget1; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget1.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-10.js b/resources/assets/core/js/widgets/charts/widget-10.js new file mode 100644 index 0000000..c2c8e3e --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-10.js @@ -0,0 +1,181 @@ +"use strict"; + +// Class definition +var KTChartsWidget10 = function () { + // Private methods + var initChart = function(tabSelector, chartSelector, data, initByDefault) { + var element = document.querySelector(chartSelector); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-900'); + + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + + var options = { + series: [{ + name: 'Achieved Target', + data: data + }], + chart: { + fontFamily: 'inherit', + type: 'bar', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: ['22%'], + borderRadius: 5, + dataLabels: { + position: "top" // top, center, bottom + }, + startingShape: 'flat' + }, + }, + legend: { + show: false + }, + dataLabels: { + enabled: true, + offsetY: -30, + style: { + fontSize: '13px', + colors: ['labelColor'] + }, + formatter: function(val) { + return val + "K"; + } + }, + stroke: { + show: true, + width: 2, + colors: ['transparent'] + }, + xaxis: { + categories: ['Metals', 'Energy', 'Agro', 'Machines', 'Transport', 'Textile', 'Wood'], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-500'), + fontSize: '13px' + } + }, + crosshairs: { + fill: { + gradient: { + opacityFrom: 0, + opacityTo: 0 + } + } + } + }, + yaxis: { + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-500'), + fontSize: '13px' + }, + formatter: function (val) { + return parseInt(val) + "K" + } + } + }, + fill: { + opacity: 1 + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return + val + "K" + } + } + }, + colors: [KTUtil.getCssVariableValue('--bs-primary'), KTUtil.getCssVariableValue('--bs-light-primary')], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + } + }; + + var chart = new ApexCharts(element, options); + + var init = false; + var tab = document.querySelector(tabSelector); + + if (initByDefault === true) { + chart.render(); + init = true; + } + + tab.addEventListener('shown.bs.tab', function (event) { + if (init == false) { + chart.render(); + init = true; + } + }) + } + + // Public methods + return { + init: function () { + initChart('#kt_charts_widget_10_tab_1', '#kt_charts_widget_10_chart_1', [30, 18, 43, 70, 13, 37, 23], true); + initChart('#kt_charts_widget_10_tab_2', '#kt_charts_widget_10_chart_2', [25, 55, 35, 50, 45, 20, 31], false); + initChart('#kt_charts_widget_10_tab_3', '#kt_charts_widget_10_chart_3', [45, 15, 35, 70, 45, 50, 21], false); + initChart('#kt_charts_widget_10_tab_4', '#kt_charts_widget_10_chart_4', [15, 55, 25, 50, 25, 60, 31], false); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget10; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget10.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-11.js b/resources/assets/core/js/widgets/charts/widget-11.js new file mode 100644 index 0000000..af0ee2e --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-11.js @@ -0,0 +1,185 @@ +"use strict"; + +// Class definition +var KTChartsWidget11 = function () { + // Private methods + var initChart = function(tabSelector, chartSelector, data, initByDefault) { + var element = document.querySelector(chartSelector); + var height = parseInt(KTUtil.css(element, 'height')); + + if (!element) { + return; + } + + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-success'); + var lightColor = KTUtil.getCssVariableValue('--bs-success'); + + var options = { + series: [{ + name: 'Deliveries', + data: data + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: "gradient", + gradient: { + shadeIntensity: 1, + opacityFrom: 0.3, + opacityTo: 0.7, + stops: [0, 90, 100] + } + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: ['', 'Apr 02', 'Apr 06', 'Apr 06', 'Apr 05', 'Apr 06', 'Apr 10', 'Apr 08', 'Apr 09', 'Apr 14', 'Apr 10', 'Apr 12', 'Apr 18', 'Apr 14', + 'Apr 15', 'Apr 14', 'Apr 17', 'Apr 18', 'Apr 02', 'Apr 06', 'Apr 18', 'Apr 05', 'Apr 06', 'Apr 10', 'Apr 08', 'Apr 22', 'Apr 14', 'Apr 11', 'Apr 12', '' + ], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + tickAmount: 5, + labels: { + rotate: 0, + rotateAlways: true, + style: { + colors: labelColor, + fontSize: '13px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '13px' + } + } + }, + yaxis: { + tickAmount: 4, + max: 24, + min: 10, + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return + val + } + } + }, + colors: [lightColor], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + var init = false; + var tab = document.querySelector(tabSelector); + + if (initByDefault === true) { + chart.render(); + init = true; + } + + tab.addEventListener('shown.bs.tab', function (event) { + if (init == false) { + chart.render(); + init = true; + } + }) + } + + // Public methods + return { + init: function () { + initChart('#kt_chart_widget_11_tab_1', '#kt_chart_widget_11_chart_1', [16, 19, 19, 16, 16, 14, 15, 15, 17, 17, 19, 19, 18, 18, 20, 20, 18, 18, 22, 22, 20, 20, 18, 18, 20, 20, 18, 20, 20, 22], false); + initChart('#kt_chart_widget_11_tab_2', '#kt_chart_widget_11_chart_2', [18, 18, 20, 20, 18, 18, 22, 22, 20, 20, 18, 18, 20, 20, 18, 18, 20, 20, 22, 15, 18, 18, 17, 17, 15, 15, 17, 17, 19, 17], false); + initChart('#kt_chart_widget_11_tab_3', '#kt_chart_widget_11_chart_3', [17, 20, 20, 19, 19, 17, 17, 19, 19, 21, 21, 19, 19, 21, 21, 18, 18, 16, 17, 17, 19, 19, 21, 21, 19, 19, 17, 17, 18, 18], true); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget11; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget11.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-12.js b/resources/assets/core/js/widgets/charts/widget-12.js new file mode 100644 index 0000000..ec3045e --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-12.js @@ -0,0 +1,182 @@ +"use strict"; + +// Class definition +var KTChartsWidget12 = function () { + // Private methods + var initChart = function(tabSelector, chartSelector, data, initByDefault) { + var element = document.querySelector(chartSelector); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-900'); + + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + + var options = { + series: [{ + name: 'Deliveries', + data: data + }], + chart: { + fontFamily: 'inherit', + type: 'bar', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: ['22%'], + borderRadius: 5, + dataLabels: { + position: "top" // top, center, bottom + }, + startingShape: 'flat' + }, + }, + legend: { + show: false + }, + dataLabels: { + enabled: true, + offsetY: -28, + style: { + fontSize: '13px', + colors: ['labelColor'] + }, + + formatter: function(val) { + return val + "K"; + } + }, + stroke: { + show: true, + width: 2, + colors: ['transparent'] + }, + xaxis: { + categories: ['Grossey', 'Pet Food', 'Flowers', 'Restaurant', 'Kids Toys', 'Clothing', 'Still Water'], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-500'), + fontSize: '13px' + } + }, + crosshairs: { + fill: { + gradient: { + opacityFrom: 0, + opacityTo: 0 + } + } + } + }, + yaxis: { + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-500'), + fontSize: '13px' + }, + + formatter: function(val) { + return val + "K"; + } + } + }, + fill: { + opacity: 1 + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return + val + 'K' + } + } + }, + colors: [KTUtil.getCssVariableValue('--bs-primary'), KTUtil.getCssVariableValue('--bs-light-primary')], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + } + }; + + var chart = new ApexCharts(element, options); + + var init = false; + var tab = document.querySelector(tabSelector); + + if (initByDefault === true) { + chart.render(); + init = true; + } + + tab.addEventListener('shown.bs.tab', function (event) { + if (init == false) { + chart.render(); + init = true; + } + }) + } + + // Public methods + return { + init: function () { + initChart('#kt_charts_widget_12_tab_1', '#kt_charts_widget_12_chart_1', [54, 42, 75, 110, 23, 87, 50], true); + initChart('#kt_charts_widget_12_tab_2', '#kt_charts_widget_12_chart_2', [25, 55, 35, 50, 45, 20, 31], false); + initChart('#kt_charts_widget_12_tab_3', '#kt_charts_widget_12_chart_3', [45, 15, 35, 70, 45, 50, 21], false); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget12; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget12.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-13.js b/resources/assets/core/js/widgets/charts/widget-13.js new file mode 100644 index 0000000..647d876 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-13.js @@ -0,0 +1,333 @@ +"use strict"; + +// Class definition +var KTChartsWidget13 = (function () { + // Private methods + var initChart = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_13_chart"); + + if (!element) { + return; + } + + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/xy-chart/ + var chart = root.container.children.push( + am5xy.XYChart.new(root, { + panX: true, + panY: true, + wheelX: "panX", + wheelY: "zoomX", + }) + ); + + // Add cursor + // https://www.amcharts.com/docs/v5/charts/xy-chart/cursor/ + var cursor = chart.set( + "cursor", + am5xy.XYCursor.new(root, { + behavior: "none" + }) + ); + + cursor.lineY.set("visible", false); + + // The data + var data = [ + { + year: "2003", + cars: 1587, + motorcycles: 650, + bicycles: 121, + }, + { + year: "2004", + cars: 1567, + motorcycles: 683, + bicycles: 146, + }, + { + year: "2005", + cars: 1617, + motorcycles: 691, + bicycles: 138, + }, + { + year: "2006", + cars: 1630, + motorcycles: 642, + bicycles: 127, + }, + { + year: "2007", + cars: 1660, + motorcycles: 699, + bicycles: 105, + }, + { + year: "2008", + cars: 1683, + motorcycles: 721, + bicycles: 109, + }, + { + year: "2009", + cars: 1691, + motorcycles: 737, + bicycles: 112, + }, + { + year: "2010", + cars: 1298, + motorcycles: 680, + bicycles: 101, + }, + { + year: "2011", + cars: 1275, + motorcycles: 664, + bicycles: 97, + }, + { + year: "2012", + cars: 1246, + motorcycles: 648, + bicycles: 93, + }, + { + year: "2013", + cars: 1318, + motorcycles: 697, + bicycles: 111, + }, + { + year: "2014", + cars: 1213, + motorcycles: 633, + bicycles: 87, + }, + { + year: "2015", + cars: 1199, + motorcycles: 621, + bicycles: 79, + }, + { + year: "2016", + cars: 1110, + motorcycles: 210, + bicycles: 81, + }, + { + year: "2017", + cars: 1165, + motorcycles: 232, + bicycles: 75, + }, + { + year: "2018", + cars: 1145, + motorcycles: 219, + bicycles: 88, + }, + { + year: "2019", + cars: 1163, + motorcycles: 201, + bicycles: 82, + }, + { + year: "2020", + cars: 1180, + motorcycles: 285, + bicycles: 87, + }, + { + year: "2021", + cars: 1159, + motorcycles: 277, + bicycles: 71, + }, + ]; + + // Create axes + // https://www.amcharts.com/docs/v5/charts/xy-chart/axes/ + var xAxis = chart.xAxes.push( + am5xy.CategoryAxis.new(root, { + categoryField: "year", + startLocation: 0.5, + endLocation: 0.5, + renderer: am5xy.AxisRendererX.new(root, {}), + tooltip: am5.Tooltip.new(root, {}), + }) + ); + + xAxis.get("renderer").grid.template.setAll({ + disabled: true, + strokeOpacity: 0 + }); + + xAxis.get("renderer").labels.template.setAll({ + fontWeight: "400", + fontSize: 13, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')) + }); + + xAxis.data.setAll(data); + + var yAxis = chart.yAxes.push( + am5xy.ValueAxis.new(root, { + renderer: am5xy.AxisRendererY.new(root, {}), + }) + ); + + yAxis.get("renderer").grid.template.setAll({ + stroke: am5.color(KTUtil.getCssVariableValue('--bs-gray-300')), + strokeWidth: 1, + strokeOpacity: 1, + strokeDasharray: [3] + }); + + yAxis.get("renderer").labels.template.setAll({ + fontWeight: "400", + fontSize: 13, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')) + }); + + // Add series + // https://www.amcharts.com/docs/v5/charts/xy-chart/series/ + + function createSeries(name, field, color) { + var series = chart.series.push( + am5xy.LineSeries.new(root, { + name: name, + xAxis: xAxis, + yAxis: yAxis, + stacked: true, + valueYField: field, + categoryXField: "year", + fill: am5.color(color), + tooltip: am5.Tooltip.new(root, { + pointerOrientation: "horizontal", + labelText: "[bold]{name}[/]\n{categoryX}: {valueY}", + }), + }) + ); + + + + series.fills.template.setAll({ + fillOpacity: 0.5, + visible: true, + }); + + series.data.setAll(data); + series.appear(1000); + } + + createSeries("Cars", "cars", KTUtil.getCssVariableValue('--bs-primary')); + createSeries("Motorcycles", "motorcycles", KTUtil.getCssVariableValue('--bs-success')); + createSeries("Bicycles", "bicycles", KTUtil.getCssVariableValue('--bs-warning')); + + // Add scrollbar + // https://www.amcharts.com/docs/v5/charts/xy-chart/scrollbars/ + var scrollbarX = chart.set( + "scrollbarX", + am5.Scrollbar.new(root, { + orientation: "horizontal", + marginBottom: 25, + height: 8 + }) + ); + + // Create axis ranges + // https://www.amcharts.com/docs/v5/charts/xy-chart/axes/axis-ranges/ + var rangeDataItem = xAxis.makeDataItem({ + category: "2016", + endCategory: "2021", + }); + + var range = xAxis.createAxisRange(rangeDataItem); + + rangeDataItem.get("grid").setAll({ + stroke: am5.color(KTUtil.getCssVariableValue('--bs-gray-200')), + strokeOpacity: 0.5, + strokeDasharray: [3], + }); + + rangeDataItem.get("axisFill").setAll({ + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-200')), + fillOpacity: 0.1, + }); + + rangeDataItem.get("label").setAll({ + inside: true, + text: "Fines increased", + rotation: 90, + centerX: am5.p100, + centerY: am5.p100, + location: 0, + paddingBottom: 10, + paddingRight: 15, + }); + + var rangeDataItem2 = xAxis.makeDataItem({ + category: "2021", + }); + + var range2 = xAxis.createAxisRange(rangeDataItem2); + + rangeDataItem2.get("grid").setAll({ + stroke: am5.color(KTUtil.getCssVariableValue('--bs-danger')), + strokeOpacity: 1, + strokeDasharray: [3], + }); + + rangeDataItem2.get("label").setAll({ + inside: true, + text: "Fee introduced", + rotation: 90, + centerX: am5.p100, + centerY: am5.p100, + location: 0, + paddingBottom: 10, + paddingRight: 15, + }); + + // Make stuff animate on load + // https://www.amcharts.com/docs/v5/concepts/animations/ + chart.appear(1000, 100); + }); // end am5.ready() + }; + + // Public methods + return { + init: function () { + initChart(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget13; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget13.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-14.js b/resources/assets/core/js/widgets/charts/widget-14.js new file mode 100644 index 0000000..3e6fb1c --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-14.js @@ -0,0 +1,208 @@ +"use strict"; + +// Class definition +var KTChartsWidget14 = (function () { + // Private methods + var initChart = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_14_chart"); + + if (!element) { + return; + } + + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/radar-chart/ + var chart = root.container.children.push( + am5radar.RadarChart.new(root, { + panX: false, + panY: false, + wheelX: "panX", + wheelY: "zoomX", + innerRadius: am5.percent(20), + startAngle: -90, + endAngle: 180, + }) + ); + + // Data + var data = [ + { + category: "Research", + value: 80, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-info')), + }, + }, + { + category: "Marketing", + value: 35, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-danger')), + }, + }, + { + category: "Distribution", + value: 92, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')), + }, + }, + { + category: "Human Resources", + value: 68, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-success')), + }, + }, + ]; + + // Add cursor + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Cursor + var cursor = chart.set( + "cursor", + am5radar.RadarCursor.new(root, { + behavior: "zoomX", + }) + ); + + cursor.lineY.set("visible", false); + + // Create axes and their renderers + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_axes + var xRenderer = am5radar.AxisRendererCircular.new(root, { + //minGridDistance: 50 + }); + + xRenderer.labels.template.setAll({ + radius: 10 + }); + + xRenderer.grid.template.setAll({ + forceHidden: true, + }); + + var xAxis = chart.xAxes.push( + am5xy.ValueAxis.new(root, { + renderer: xRenderer, + min: 0, + max: 100, + strictMinMax: true, + numberFormat: "#'%'", + tooltip: am5.Tooltip.new(root, {}), + }) + ); + + var yRenderer = am5radar.AxisRendererRadial.new(root, { + minGridDistance: 20, + }); + + yRenderer.labels.template.setAll({ + centerX: am5.p100, + fontWeight: "500", + fontSize: 18, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')), + templateField: "columnSettings", + }); + + yRenderer.grid.template.setAll({ + forceHidden: true, + }); + + var yAxis = chart.yAxes.push( + am5xy.CategoryAxis.new(root, { + categoryField: "category", + renderer: yRenderer, + }) + ); + + yAxis.data.setAll(data); + + // Create series + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_series + var series1 = chart.series.push( + am5radar.RadarColumnSeries.new(root, { + xAxis: xAxis, + yAxis: yAxis, + clustered: false, + valueXField: "full", + categoryYField: "category", + fill: root.interfaceColors.get("alternativeBackground"), + }) + ); + + series1.columns.template.setAll({ + width: am5.p100, + fillOpacity: 0.08, + strokeOpacity: 0, + cornerRadius: 20, + }); + + series1.data.setAll(data); + + var series2 = chart.series.push( + am5radar.RadarColumnSeries.new(root, { + xAxis: xAxis, + yAxis: yAxis, + clustered: false, + valueXField: "value", + categoryYField: "category", + }) + ); + + series2.columns.template.setAll({ + width: am5.p100, + strokeOpacity: 0, + tooltipText: "{category}: {valueX}%", + cornerRadius: 20, + templateField: "columnSettings", + }); + + series2.data.setAll(data); + + // Animate chart and series in + // https://www.amcharts.com/docs/v5/concepts/animations/#Initial_animation + series1.appear(1000); + series2.appear(1000); + chart.appear(1000, 100); + }); + }; + + // Public methods + return { + init: function () { + initChart(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget14; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget14.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-15.js b/resources/assets/core/js/widgets/charts/widget-15.js new file mode 100644 index 0000000..3009a42 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-15.js @@ -0,0 +1,248 @@ +"use strict"; + +// Class definition +var KTChartsWidget15 = (function () { + // Private methods + var initChart = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_15_chart"); + + if (!element) { + return; + } + + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/xy-chart/ + var chart = root.container.children.push( + am5xy.XYChart.new(root, { + panX: false, + panY: false, + //wheelX: "panX", + //wheelY: "zoomX", + layout: root.verticalLayout, + }) + ); + + // Data + var colors = chart.get("colors"); + + var data = [ + { + country: "US", + visits: 725, + icon: "https://www.amcharts.com/wp-content/uploads/flags/united-states.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) + } + }, + { + country: "UK", + visits: 625, + icon: "https://www.amcharts.com/wp-content/uploads/flags/united-kingdom.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) + } + }, + { + country: "China", + visits: 602, + icon: "https://www.amcharts.com/wp-content/uploads/flags/china.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) + } + }, + { + country: "Japan", + visits: 509, + icon: "https://www.amcharts.com/wp-content/uploads/flags/japan.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) + } + }, + { + country: "Germany", + visits: 322, + icon: "https://www.amcharts.com/wp-content/uploads/flags/germany.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) + } + }, + { + country: "France", + visits: 214, + icon: "https://www.amcharts.com/wp-content/uploads/flags/france.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) + } + }, + { + country: "India", + visits: 204, + icon: "https://www.amcharts.com/wp-content/uploads/flags/india.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')), + } + }, + { + country: "Spain", + visits: 200, + icon: "https://www.amcharts.com/wp-content/uploads/flags/spain.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) + } + }, + { + country: "Italy", + visits: 165, + icon: "https://www.amcharts.com/wp-content/uploads/flags/italy.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) + } + }, + { + country: "Russia", + visits: 152, + icon: "https://www.amcharts.com/wp-content/uploads/flags/russia.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) + } + }, + { + country: "Norway", + visits: 125, + icon: "https://www.amcharts.com/wp-content/uploads/flags/norway.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) + } + }, + { + country: "Canada", + visits: 99, + icon: "https://www.amcharts.com/wp-content/uploads/flags/canada.svg", + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) + } + }, + ]; + + // Create axes + // https://www.amcharts.com/docs/v5/charts/xy-chart/axes/ + var xAxis = chart.xAxes.push( + am5xy.CategoryAxis.new(root, { + categoryField: "country", + renderer: am5xy.AxisRendererX.new(root, { + minGridDistance: 30, + }), + bullet: function (root, axis, dataItem) { + return am5xy.AxisBullet.new(root, { + location: 0.5, + sprite: am5.Picture.new(root, { + width: 24, + height: 24, + centerY: am5.p50, + centerX: am5.p50, + src: dataItem.dataContext.icon, + }), + }); + }, + }) + ); + + xAxis.get("renderer").labels.template.setAll({ + paddingTop: 20, + fontWeight: "400", + fontSize: 10, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')) + }); + + xAxis.get("renderer").grid.template.setAll({ + disabled: true, + strokeOpacity: 0 + }); + + xAxis.data.setAll(data); + + var yAxis = chart.yAxes.push( + am5xy.ValueAxis.new(root, { + renderer: am5xy.AxisRendererY.new(root, {}), + }) + ); + + yAxis.get("renderer").grid.template.setAll({ + stroke: am5.color(KTUtil.getCssVariableValue('--bs-gray-300')), + strokeWidth: 1, + strokeOpacity: 1, + strokeDasharray: [3] + }); + + yAxis.get("renderer").labels.template.setAll({ + fontWeight: "400", + fontSize: 10, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')) + }); + + // Add series + // https://www.amcharts.com/docs/v5/charts/xy-chart/series/ + var series = chart.series.push( + am5xy.ColumnSeries.new(root, { + xAxis: xAxis, + yAxis: yAxis, + valueYField: "visits", + categoryXField: "country" + }) + ); + + series.columns.template.setAll({ + tooltipText: "{categoryX}: {valueY}", + tooltipY: 0, + strokeOpacity: 0, + templateField: "columnSettings", + }); + + series.columns.template.setAll({ + strokeOpacity: 0, + cornerRadiusBR: 0, + cornerRadiusTR: 6, + cornerRadiusBL: 0, + cornerRadiusTL: 6, + }); + + series.data.setAll(data); + + // Make stuff animate on load + // https://www.amcharts.com/docs/v5/concepts/animations/ + series.appear(); + chart.appear(1000, 100); + }); + }; + + // Public methods + return { + init: function () { + initChart(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget15; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget15.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-16.js b/resources/assets/core/js/widgets/charts/widget-16.js new file mode 100644 index 0000000..cbbd3b6 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-16.js @@ -0,0 +1,252 @@ +"use strict"; + +// Class definition +var KTChartsWidget16 = (function () { + // Private methods + var initChart = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_16_chart"); + + if (!element) { + return; + } + + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/xy-chart/ + var chart = root.container.children.push( + am5xy.XYChart.new(root, { + panX: false, + panY: false, + wheelX: "panX", + wheelY: "zoomX", + layout: root.verticalLayout, + }) + ); + + var colors = chart.get("colors"); + + var data = [ + { + country: "US", + visits: 725, + }, + { + country: "UK", + visits: 625, + }, + { + country: "China", + visits: 602, + }, + { + country: "Japan", + visits: 509, + }, + { + country: "Germany", + visits: 322, + }, + { + country: "France", + visits: 214, + }, + { + country: "India", + visits: 204, + }, + { + country: "Spain", + visits: 198, + }, + { + country: "Italy", + visits: 165, + }, + { + country: "Russia", + visits: 130, + }, + { + country: "Norway", + visits: 93, + }, + { + country: "Canada", + visits: 41, + }, + ]; + + prepareParetoData(); + + function prepareParetoData() { + var total = 0; + + for (var i = 0; i < data.length; i++) { + var value = data[i].visits; + total += value; + } + + var sum = 0; + for (var i = 0; i < data.length; i++) { + var value = data[i].visits; + sum += value; + data[i].pareto = (sum / total) * 100; + } + } + + // Create axes + // https://www.amcharts.com/docs/v5/charts/xy-chart/axes/ + var xAxis = chart.xAxes.push( + am5xy.CategoryAxis.new(root, { + categoryField: "country", + renderer: am5xy.AxisRendererX.new(root, { + minGridDistance: 30, + }), + }) + ); + + xAxis.get("renderer").labels.template.setAll({ + paddingTop: 10, + fontWeight: "400", + fontSize: 13, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')) + }); + + xAxis.get("renderer").grid.template.setAll({ + disabled: true, + strokeOpacity: 0 + }); + + xAxis.data.setAll(data); + + var yAxis = chart.yAxes.push( + am5xy.ValueAxis.new(root, { + renderer: am5xy.AxisRendererY.new(root, {}), + }) + ); + + yAxis.get("renderer").labels.template.setAll({ + paddingLeft: 10, + fontWeight: "400", + fontSize: 13, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')) + }); + + yAxis.get("renderer").grid.template.setAll({ + stroke: am5.color(KTUtil.getCssVariableValue('--bs-gray-300')), + strokeWidth: 1, + strokeOpacity: 1, + strokeDasharray: [3] + }); + + var paretoAxisRenderer = am5xy.AxisRendererY.new(root, { + opposite: true, + }); + var paretoAxis = chart.yAxes.push( + am5xy.ValueAxis.new(root, { + renderer: paretoAxisRenderer, + min: 0, + max: 100, + strictMinMax: true, + }) + ); + paretoAxis.get("renderer").labels.template.setAll({ + fontWeight: "400", + fontSize: 13, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')) + }); + + paretoAxisRenderer.grid.template.set("forceHidden", true); + paretoAxis.set("numberFormat", "#'%"); + + // Add series + // https://www.amcharts.com/docs/v5/charts/xy-chart/series/ + var series = chart.series.push( + am5xy.ColumnSeries.new(root, { + xAxis: xAxis, + yAxis: yAxis, + valueYField: "visits", + categoryXField: "country", + }) + ); + + series.columns.template.setAll({ + tooltipText: "{categoryX}: {valueY}", + tooltipY: 0, + strokeOpacity: 0, + cornerRadiusTL: 6, + cornerRadiusTR: 6, + }); + + series.columns.template.adapters.add( + "fill", + function (fill, target) { + return chart + .get("colors") + .getIndex(series.dataItems.indexOf(target.dataItem)); + } + ); + + // pareto series + var paretoSeries = chart.series.push( + am5xy.LineSeries.new(root, { + xAxis: xAxis, + yAxis: paretoAxis, + valueYField: "pareto", + categoryXField: "country", + stroke: am5.color(KTUtil.getCssVariableValue('--bs-dark')), + maskBullets: false, + }) + ); + + paretoSeries.bullets.push(function () { + return am5.Bullet.new(root, { + locationY: 1, + sprite: am5.Circle.new(root, { + radius: 5, + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')), + stroke: am5.color(KTUtil.getCssVariableValue('--bs-dark')) + }), + }); + }); + + series.data.setAll(data); + paretoSeries.data.setAll(data); + + // Make stuff animate on load + // https://www.amcharts.com/docs/v5/concepts/animations/ + series.appear(); + chart.appear(1000, 100); + }); + }; + + // Public methods + return { + init: function () { + initChart(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget16; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget16.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-17.js b/resources/assets/core/js/widgets/charts/widget-17.js new file mode 100644 index 0000000..a031235 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-17.js @@ -0,0 +1,102 @@ +"use strict"; + +// Class definition +var KTChartsWidget17 = (function () { + // Private methods + var initChart = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_17_chart"); + + if (!element) { + return; + } + + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/percent-charts/pie-chart/ + // start and end angle must be set both for chart and series + var chart = root.container.children.push( + am5percent.PieChart.new(root, { + startAngle: 180, + endAngle: 360, + layout: root.verticalLayout, + innerRadius: am5.percent(50), + }) + ); + + // Create series + // https://www.amcharts.com/docs/v5/charts/percent-charts/pie-chart/#Series + // start and end angle must be set both for chart and series + var series = chart.series.push( + am5percent.PieSeries.new(root, { + startAngle: 180, + endAngle: 360, + valueField: "value", + categoryField: "category", + alignLabels: false, + }) + ); + + series.labels.template.setAll({ + fontWeight: "400", + fontSize: 13, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')) + }); + + series.states.create("hidden", { + startAngle: 180, + endAngle: 180, + }); + + series.slices.template.setAll({ + cornerRadius: 5, + }); + + series.ticks.template.setAll({ + forceHidden: true, + }); + + // Set data + // https://www.amcharts.com/docs/v5/charts/percent-charts/pie-chart/#Setting_data + series.data.setAll([ + { value: 10, category: "One", fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) }, + { value: 9, category: "Two", fill: am5.color(KTUtil.getCssVariableValue('--bs-success')) }, + { value: 6, category: "Three", fill: am5.color(KTUtil.getCssVariableValue('--bs-danger')) }, + { value: 5, category: "Four", fill: am5.color(KTUtil.getCssVariableValue('--bs-warning')) }, + { value: 4, category: "Five", fill: am5.color(KTUtil.getCssVariableValue('--bs-info')) }, + { value: 3, category: "Six", fill: am5.color(KTUtil.getCssVariableValue('--bs-secondary')) } + ]); + + series.appear(1000, 100); + }); + }; + + // Public methods + return { + init: function () { + initChart(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget17; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget17.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-18.js b/resources/assets/core/js/widgets/charts/widget-18.js new file mode 100644 index 0000000..f88f846 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-18.js @@ -0,0 +1,167 @@ +"use strict"; + +// Class definition +var KTChartsWidget18 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_18_chart"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-900'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + + var options = { + series: [{ + name: 'Spent time', + data: [54, 42, 75, 110, 23, 87, 50] + }], + chart: { + fontFamily: 'inherit', + type: 'bar', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: ['28%'], + borderRadius: 5, + dataLabels: { + position: "top" // top, center, bottom + }, + startingShape: 'flat' + }, + }, + legend: { + show: false + }, + dataLabels: { + enabled: true, + offsetY: -28, + style: { + fontSize: '13px', + colors: [labelColor] + }, + formatter: function(val) { + return val;// + "H"; + } + }, + stroke: { + show: true, + width: 2, + colors: ['transparent'] + }, + xaxis: { + categories: ['QA Analysis', 'Marketing', 'Web Dev', 'Maths', 'Front-end Dev', 'Physics', 'Phylosophy'], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-500'), + fontSize: '13px' + } + }, + crosshairs: { + fill: { + gradient: { + opacityFrom: 0, + opacityTo: 0 + } + } + } + }, + yaxis: { + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-500'), + fontSize: '13px' + }, + formatter: function(val) { + return val + "H"; + } + } + }, + fill: { + opacity: 1 + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return + val + ' hours' + } + } + }, + colors: [KTUtil.getCssVariableValue('--bs-primary'), KTUtil.getCssVariableValue('--bs-light-primary')], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget18; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget18.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-19.js b/resources/assets/core/js/widgets/charts/widget-19.js new file mode 100644 index 0000000..75c22f8 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-19.js @@ -0,0 +1,395 @@ +"use strict"; + +// Class definition +var KTChartsWidget19 = (function () { + // Private methods + var initChart1 = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_19_chart_1"); + + if (!element) { + return; + } + + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/radar-chart/ + var chart = root.container.children.push( + am5radar.RadarChart.new(root, { + panX: false, + panY: false, + wheelX: "panX", + wheelY: "zoomX", + innerRadius: am5.percent(20), + startAngle: -90, + endAngle: 180, + }) + ); + + // Data + var data = [ + { + category: "Research", + value: 80, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-info')), + }, + }, + { + category: "Marketing", + value: 35, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-danger')), + }, + }, + { + category: "Distribution", + value: 92, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')), + }, + }, + { + category: "Human Resources", + value: 68, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-success')), + }, + }, + ]; + + // Add cursor + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Cursor + var cursor = chart.set( + "cursor", + am5radar.RadarCursor.new(root, { + behavior: "zoomX", + }) + ); + + cursor.lineY.set("visible", false); + + // Create axes and their renderers + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_axes + var xRenderer = am5radar.AxisRendererCircular.new(root, { + //minGridDistance: 50 + }); + + xRenderer.labels.template.setAll({ + radius: 10 + }); + + xRenderer.grid.template.setAll({ + forceHidden: true, + }); + + var xAxis = chart.xAxes.push( + am5xy.ValueAxis.new(root, { + renderer: xRenderer, + min: 0, + max: 100, + strictMinMax: true, + numberFormat: "#'%'", + tooltip: am5.Tooltip.new(root, {}), + }) + ); + + var yRenderer = am5radar.AxisRendererRadial.new(root, { + minGridDistance: 20, + }); + + yRenderer.labels.template.setAll({ + centerX: am5.p100, + fontWeight: "500", + fontSize: 18, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')), + templateField: "columnSettings", + }); + + yRenderer.grid.template.setAll({ + forceHidden: true, + }); + + var yAxis = chart.yAxes.push( + am5xy.CategoryAxis.new(root, { + categoryField: "category", + renderer: yRenderer, + }) + ); + + yAxis.data.setAll(data); + + // Create series + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_series + var series1 = chart.series.push( + am5radar.RadarColumnSeries.new(root, { + xAxis: xAxis, + yAxis: yAxis, + clustered: false, + valueXField: "full", + categoryYField: "category", + fill: root.interfaceColors.get("alternativeBackground"), + }) + ); + + series1.columns.template.setAll({ + width: am5.p100, + fillOpacity: 0.08, + strokeOpacity: 0, + cornerRadius: 20, + }); + + series1.data.setAll(data); + + var series2 = chart.series.push( + am5radar.RadarColumnSeries.new(root, { + xAxis: xAxis, + yAxis: yAxis, + clustered: false, + valueXField: "value", + categoryYField: "category", + }) + ); + + series2.columns.template.setAll({ + width: am5.p100, + strokeOpacity: 0, + tooltipText: "{category}: {valueX}%", + cornerRadius: 20, + templateField: "columnSettings", + }); + + series2.data.setAll(data); + + // Animate chart and series in + // https://www.amcharts.com/docs/v5/concepts/animations/#Initial_animation + series1.appear(1000); + series2.appear(1000); + chart.appear(1000, 100); + }); + }; + + var initChart2 = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_19_chart_2"); + + if (!element) { + return; + } + + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/radar-chart/ + var chart = root.container.children.push( + am5radar.RadarChart.new(root, { + panX: false, + panY: false, + wheelX: "panX", + wheelY: "zoomX", + innerRadius: am5.percent(20), + startAngle: -90, + endAngle: 180, + }) + ); + + // Data + var data = [ + { + category: "Research", + value: 40, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-info')), + }, + }, + { + category: "Marketing", + value: 50, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-danger')), + }, + }, + { + category: "Distribution", + value: 80, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')), + }, + }, + { + category: "Human Resources", + value: 70, + full: 100, + columnSettings: { + fillOpacity: 1, + fill: am5.color(KTUtil.getCssVariableValue('--bs-success')), + }, + }, + ]; + + // Add cursor + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Cursor + var cursor = chart.set( + "cursor", + am5radar.RadarCursor.new(root, { + behavior: "zoomX", + }) + ); + + cursor.lineY.set("visible", false); + + // Create axes and their renderers + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_axes + var xRenderer = am5radar.AxisRendererCircular.new(root, { + //minGridDistance: 50 + }); + + xRenderer.labels.template.setAll({ + radius: 10 + }); + + xRenderer.grid.template.setAll({ + forceHidden: true, + }); + + var xAxis = chart.xAxes.push( + am5xy.ValueAxis.new(root, { + renderer: xRenderer, + min: 0, + max: 100, + strictMinMax: true, + numberFormat: "#'%'", + tooltip: am5.Tooltip.new(root, {}), + }) + ); + + var yRenderer = am5radar.AxisRendererRadial.new(root, { + minGridDistance: 20, + }); + + yRenderer.labels.template.setAll({ + centerX: am5.p100, + fontWeight: "500", + fontSize: 18, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')), + templateField: "columnSettings", + }); + + yRenderer.grid.template.setAll({ + forceHidden: true, + }); + + var yAxis = chart.yAxes.push( + am5xy.CategoryAxis.new(root, { + categoryField: "category", + renderer: yRenderer, + }) + ); + + yAxis.data.setAll(data); + + // Create series + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_series + var series1 = chart.series.push( + am5radar.RadarColumnSeries.new(root, { + xAxis: xAxis, + yAxis: yAxis, + clustered: false, + valueXField: "full", + categoryYField: "category", + fill: root.interfaceColors.get("alternativeBackground"), + }) + ); + + series1.columns.template.setAll({ + width: am5.p100, + fillOpacity: 0.08, + strokeOpacity: 0, + cornerRadius: 20, + }); + + series1.data.setAll(data); + + var series2 = chart.series.push( + am5radar.RadarColumnSeries.new(root, { + xAxis: xAxis, + yAxis: yAxis, + clustered: false, + valueXField: "value", + categoryYField: "category", + }) + ); + + series2.columns.template.setAll({ + width: am5.p100, + strokeOpacity: 0, + tooltipText: "{category}: {valueX}%", + cornerRadius: 20, + templateField: "columnSettings", + }); + + series2.data.setAll(data); + + // Animate chart and series in + // https://www.amcharts.com/docs/v5/concepts/animations/#Initial_animation + series1.appear(1000); + series2.appear(1000); + chart.appear(1000, 100); + }); + }; + + // Public methods + return { + init: function () { + initChart1(); + initChart2(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget19; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget19.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-2.js b/resources/assets/core/js/widgets/charts/widget-2.js new file mode 100644 index 0000000..31b7e73 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-2.js @@ -0,0 +1,167 @@ +"use strict"; + +// Class definition +var KTChartsWidget2 = function () { + // Private methods + var initChart = function() { + var element = document.querySelectorAll('.charts-widget-2'); + + [].slice.call(element).map(function(element) { + var height = parseInt(KTUtil.css(element, 'height')); + + if ( !element ) { + return; + } + + var color = element.getAttribute('data-kt-chart-color'); + + var labelColor = KTUtil.getCssVariableValue('--bs-gray-800'); + var strokeColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-' + color); + var lightColor = KTUtil.getCssVariableValue('--bs-light-' + color); + + var options = { + series: [{ + name: 'Overview', + data: [15, 15, 45, 45, 25, 25, 55, 55, 20, 20, 37] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + }, + zoom: { + enabled: false + }, + sparkline: { + enabled: true + } + }, + plotOptions: {}, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: 'solid', + opacity: 1 + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: ['Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + show: false, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + show: false, + position: 'front', + stroke: { + color: strokeColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + min: 0, + max: 60, + labels: { + show: false, + style: { + colors: labelColor, + fontSize: '12px' + } + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return val + } + } + }, + colors: [lightColor], + markers: { + colors: [lightColor], + strokeColor: [baseColor], + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + }); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget2; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget2.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-20.js b/resources/assets/core/js/widgets/charts/widget-20.js new file mode 100644 index 0000000..528f6a8 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-20.js @@ -0,0 +1,176 @@ +"use strict"; + +// Class definition +var KTChartsWidget20 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_20"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-danger'); + var lightColor = KTUtil.getCssVariableValue('--bs-danger'); + var chartInfo = element.getAttribute('data-kt-chart-info'); + + var options = { + series: [{ + name: chartInfo, + data: [34.5,34.5,35,35,35.5,35.5,35,35,35.5,35.5,35,35,34.5,34.5,35,35,35.4,35.4,35] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: "gradient", + gradient: { + shadeIntensity: 1, + opacityFrom: 0.4, + opacityTo: 0, + stops: [0, 80, 100] + } + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: ['', 'Apr 02', 'Apr 03', 'Apr 04', 'Apr 05', 'Apr 06', 'Apr 07', 'Apr 08', 'Apr 09', 'Apr 10', 'Apr 11', 'Apr 12', 'Apr 13', 'Apr 14', 'Apr 17', 'Apr 18', 'Apr 19', 'Apr 21', ''], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + tickAmount: 6, + labels: { + rotate: 0, + rotateAlways: true, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + max: 36.3, + min: 33, + tickAmount: 6, + labels: { + style: { + colors: labelColor, + fontSize: '12px' + }, + formatter: function (val) { + return '$' + parseInt(10 * val) + } + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return '$' + parseInt(10 * val) + } + } + }, + colors: [lightColor], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget20; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget20.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-21.js b/resources/assets/core/js/widgets/charts/widget-21.js new file mode 100644 index 0000000..3caeb7d --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-21.js @@ -0,0 +1,259 @@ +"use strict"; + +// Class definition +var KTChartsWidget21 = (function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_21"); + + if (!element) { + return; + } + + var options = { + "type": "serial", + "theme": "light", + "legend": { + "equalWidths": false, + "useGraphSettings": true, + "valueAlign": "left", + "valueWidth": 120 + }, + "dataProvider": [{ + "date": "2012-01-01", + "distance": 227, + "townName": "New York", + "townName2": "New York", + "townSize": 25, + "latitude": 40.71, + "duration": 408 + }, { + "date": "2012-01-02", + "distance": 371, + "townName": "Washington", + "townSize": 14, + "latitude": 38.89, + "duration": 482 + }, { + "date": "2012-01-03", + "distance": 433, + "townName": "Wilmington", + "townSize": 6, + "latitude": 34.22, + "duration": 562 + }, { + "date": "2012-01-04", + "distance": 345, + "townName": "Jacksonville", + "townSize": 7, + "latitude": 30.35, + "duration": 379 + }, { + "date": "2012-01-05", + "distance": 480, + "townName": "Miami", + "townName2": "Miami", + "townSize": 10, + "latitude": 25.83, + "duration": 501 + }, { + "date": "2012-01-06", + "distance": 386, + "townName": "Tallahassee", + "townSize": 7, + "latitude": 30.46, + "duration": 443 + }, { + "date": "2012-01-07", + "distance": 348, + "townName": "New Orleans", + "townSize": 10, + "latitude": 29.94, + "duration": 405 + }, { + "date": "2012-01-08", + "distance": 238, + "townName": "Houston", + "townName2": "Houston", + "townSize": 16, + "latitude": 29.76, + "duration": 309 + }, { + "date": "2012-01-09", + "distance": 218, + "townName": "Dalas", + "townSize": 17, + "latitude": 32.8, + "duration": 287 + }, { + "date": "2012-01-10", + "distance": 349, + "townName": "Oklahoma City", + "townSize": 11, + "latitude": 35.49, + "duration": 485 + }, { + "date": "2012-01-11", + "distance": 603, + "townName": "Kansas City", + "townSize": 10, + "latitude": 39.1, + "duration": 890 + }, { + "date": "2012-01-12", + "distance": 534, + "townName": "Denver", + "townName2": "Denver", + "townSize": 18, + "latitude": 39.74, + "duration": 810 + }, { + "date": "2012-01-13", + "townName": "Salt Lake City", + "townSize": 12, + "distance": 425, + "duration": 670, + "latitude": 40.75, + "dashLength": 8, + "alpha": 0.4 + }, { + "date": "2012-01-14", + "latitude": 36.1, + "duration": 470, + "townName": "Las Vegas", + "townName2": "Las Vegas" + }, { + "date": "2012-01-15" + }, { + "date": "2012-01-16" + }, { + "date": "2012-01-17" + }, { + "date": "2012-01-18" + }, { + "date": "2012-01-19" + }], + "valueAxes": [{ + "id": "distanceAxis", + "axisAlpha": 0, + "gridAlpha": 0, + "position": "left", + "title": "distance" + }, { + "id": "latitudeAxis", + "axisAlpha": 0, + "gridAlpha": 0, + "labelsEnabled": false, + "position": "right" + }, { + "id": "durationAxis", + "duration": "mm", + "durationUnits": { + "hh": "h ", + "mm": "min" + }, + "axisAlpha": 0, + "gridAlpha": 0, + "inside": true, + "position": "right", + "title": "duration" + }], + "graphs": [{ + "alphaField": "alpha", + "balloonText": "[[value]] miles", + "dashLengthField": "dashLength", + "fillAlphas": 0.7, + "legendPeriodValueText": "total: [[value.sum]] mi", + "legendValueText": "[[value]] mi", + "title": "distance", + "type": "column", + "valueField": "distance", + "valueAxis": "distanceAxis" + }, { + "balloonText": "latitude:[[value]]", + "bullet": "round", + "bulletBorderAlpha": 1, + "useLineColorForBulletBorder": true, + "bulletColor": "#FFFFFF", + "bulletSizeField": "townSize", + "dashLengthField": "dashLength", + "descriptionField": "townName", + "labelPosition": "right", + "labelText": "[[townName2]]", + "legendValueText": "[[value]]/[[description]]", + "title": "latitude/city", + "fillAlphas": 0, + "valueField": "latitude", + "valueAxis": "latitudeAxis" + }, { + "bullet": "square", + "bulletBorderAlpha": 1, + "bulletBorderThickness": 1, + "dashLengthField": "dashLength", + "legendValueText": "[[value]]", + "title": "duration", + "fillAlphas": 0, + "valueField": "duration", + "valueAxis": "durationAxis" + }], + "chartCursor": { + "categoryBalloonDateFormat": "DD", + "cursorAlpha": 0.1, + "cursorColor": "#000000", + "fullWidth": true, + "valueBalloonsEnabled": false, + "zoomable": false + }, + "dataDateFormat": "YYYY-MM-DD", + "categoryField": "date", + "categoryAxis": { + "dateFormats": [{ + "period": "DD", + "format": "DD" + }, { + "period": "WW", + "format": "MMM DD" + }, { + "period": "MM", + "format": "MMM" + }, { + "period": "YYYY", + "format": "YYYY" + }], + "parseDates": true, + "autoGridCount": false, + "axisColor": "#555555", + "gridAlpha": 0.1, + "gridColor": "#FFFFFF", + "gridCount": 50 + }, + "export": { + "enabled": true + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget21; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget21.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-22.js b/resources/assets/core/js/widgets/charts/widget-22.js new file mode 100644 index 0000000..273476f --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-22.js @@ -0,0 +1,88 @@ +"use strict"; + +// Class definition +var KTChartsWidget22 = function () { + // Private methods + var initChart = function(tabSelector, chartSelector, data, initByDefault) { + var element = document.querySelector(chartSelector); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + + var options = { + series: data, + chart: { + fontFamily: 'inherit', + type: 'donut', + width: 250, + }, + plotOptions: { + pie: { + donut: { + size: '50%', + labels: { + value: { + fontSize: '10px' + } + } + } + } + }, + colors: [ + KTUtil.getCssVariableValue('--bs-info'), + KTUtil.getCssVariableValue('--bs-success'), + KTUtil.getCssVariableValue('--bs-primary'), + KTUtil.getCssVariableValue('--bs-danger') + ], + stroke: { + width: 0 + }, + labels: ['Sales', 'Sales', 'Sales', 'Sales'], + legend: { + show: false, + }, + fill: { + type: 'false', + } + }; + + var chart = new ApexCharts(element, options); + + var init = false; + + var tab = document.querySelector(tabSelector); + + if (initByDefault === true) { + chart.render(); + init = true; + } + + tab.addEventListener('shown.bs.tab', function (event) { + if (init == false) { + chart.render(); + init = true; + } + }) + } + + // Public methods + return { + init: function () { + initChart('#kt_chart_widgets_22_tab_1', '#kt_chart_widgets_22_chart_1', [20, 100, 15, 25], true); + initChart('#kt_chart_widgets_22_tab_2', '#kt_chart_widgets_22_chart_2', [70, 13, 11, 2], false); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget22; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget22.init(); +}); \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-23.js b/resources/assets/core/js/widgets/charts/widget-23.js new file mode 100644 index 0000000..1fef122 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-23.js @@ -0,0 +1,260 @@ +// Class definition +var KTChartsWidget23 = (function () { + // Private methods + var initChart = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_23"); + + if (!element) { + return; + } + + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/xy-chart/ + var chart = root.container.children.push( + am5xy.XYChart.new(root, { + panX: false, + panY: false, + layout: root.verticalLayout, + }) + ); + + var data = [ + { + year: "2016", + income: 23.5, + expenses: 21.1, + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + }, + }, + { + year: "2017", + income: 26.2, + expenses: 30.5, + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + }, + }, + { + year: "2018", + income: 30.1, + expenses: 34.9, + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + }, + }, + { + year: "2019", + income: 29.5, + expenses: 31.1, + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + }, + }, + { + year: "2020", + income: 30.6, + expenses: 28.2, + strokeSettings: { + strokeWidth: 3, + strokeDasharray: [5, 5], + }, + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + }, + }, + { + year: "2021", + income: 40.6, + expenses: 28.2, + strokeSettings: { + strokeWidth: 3, + strokeDasharray: [5, 5], + }, + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + }, + }, + { + year: "2022", + income: 34.1, + expenses: 32.9, + strokeSettings: { + strokeWidth: 3, + strokeDasharray: [5, 5], + }, + columnSettings: { + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + }, + }, + ]; + + // Create axes + // https://www.amcharts.com/docs/v5/charts/xy-chart/axes/ + var xAxis = chart.xAxes.push( + am5xy.CategoryAxis.new(root, { + categoryField: "year", + renderer: am5xy.AxisRendererX.new(root, {}), + //tooltip: am5.Tooltip.new(root, {}), + }) + ); + + xAxis.data.setAll(data); + + xAxis.get("renderer").labels.template.setAll({ + paddingTop: 20, + fontWeight: "400", + fontSize: 11, + fill: am5.color(KTUtil.getCssVariableValue("--bs-gray-500")), + }); + + xAxis.get("renderer").grid.template.setAll({ + disabled: true, + strokeOpacity: 0, + }); + + var yAxis = chart.yAxes.push( + am5xy.ValueAxis.new(root, { + min: 0, + extraMax: 0.1, + renderer: am5xy.AxisRendererY.new(root, {}), + }) + ); + + yAxis.get("renderer").labels.template.setAll({ + paddingTop: 0, + fontWeight: "400", + fontSize: 11, + fill: am5.color(KTUtil.getCssVariableValue("--bs-gray-500")), + }); + + yAxis.get("renderer").grid.template.setAll({ + stroke: am5.color(KTUtil.getCssVariableValue("--bs-gray-300")), + strokeWidth: 1, + strokeOpacity: 1, + strokeDasharray: [3], + }); + + // Add series + // https://www.amcharts.com/docs/v5/charts/xy-chart/series/ + + var series1 = chart.series.push( + am5xy.ColumnSeries.new(root, { + name: "Income", + xAxis: xAxis, + yAxis: yAxis, + valueYField: "income", + categoryXField: "year", + tooltip: am5.Tooltip.new(root, { + pointerOrientation: "horizontal", + labelText: "{name} in {categoryX}: {valueY} {info}", + }), + }) + ); + + series1.columns.template.setAll({ + tooltipY: am5.percent(10), + templateField: "columnSettings", + }); + + series1.data.setAll(data); + + var series2 = chart.series.push( + am5xy.LineSeries.new(root, { + name: "Expenses", + xAxis: xAxis, + yAxis: yAxis, + valueYField: "expenses", + categoryXField: "year", + fill: am5.color(KTUtil.getCssVariableValue("--bs-success")), + stroke: am5.color(KTUtil.getCssVariableValue("--bs-success")), + tooltip: am5.Tooltip.new(root, { + pointerOrientation: "horizontal", + labelText: "{name} in {categoryX}: {valueY} {info}", + }), + }) + ); + + series2.strokes.template.setAll({ + stroke: am5.color(KTUtil.getCssVariableValue("--bs-success")), + }); + + series2.strokes.template.setAll({ + strokeWidth: 3, + templateField: "strokeSettings", + }); + + series2.data.setAll(data); + + series2.bullets.push(function () { + return am5.Bullet.new(root, { + sprite: am5.Circle.new(root, { + strokeWidth: 3, + stroke: am5.color(KTUtil.getCssVariableValue("--bs-success")), + radius: 5, + fill: am5.color(KTUtil.getCssVariableValue("--bs-light-success")), + }), + }); + }); + + series1.columns.template.setAll({ + strokeOpacity: 0, + cornerRadiusBR: 0, + cornerRadiusTR: 6, + cornerRadiusBL: 0, + cornerRadiusTL: 6, + }); + + chart.set("cursor", am5xy.XYCursor.new(root, {})); + + chart.get("cursor").lineX.setAll({ visible: false }); + chart.get("cursor").lineY.setAll({ visible: false }); + + // Add legend + // https://www.amcharts.com/docs/v5/charts/xy-chart/legend-xy-series/ + var legend = chart.children.push( + am5.Legend.new(root, { + centerX: am5.p50, + x: am5.p50, + }) + ); + legend.data.setAll(chart.series.values); + + // Make stuff animate on load + // https://www.amcharts.com/docs/v5/concepts/animations/ + chart.appear(1000, 100); + series1.appear(); + }); // end am5.ready() + }; + + // Public methods + return { + init: function () { + initChart(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget23; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget23.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-24.js b/resources/assets/core/js/widgets/charts/widget-24.js new file mode 100644 index 0000000..195b4e0 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-24.js @@ -0,0 +1,4355 @@ +// Class definition +var KTChartsWidget24 = (function () { + // Private methods + var initChart = function () { + // Check if amchart library is included + if (typeof am5 === 'undefined') { + return; + } + + var element = document.getElementById("kt_charts_widget_24"); + + if (!element) { + return; + } + + // On amchart ready + am5.ready(function() { + var usData = [{ + "age": "0 to 5", + "male": 10175713, + "female": 9736305 + }, { + "age": "5 to 9", + "male": 10470147, + "female": 10031835 + }, { + "age": "10 to 14", + "male": 10561873, + "female": 10117913 + }, { + "age": "15 to 17", + "male": 6447043, + "female": 6142996 + }, { + "age": "18 to 21", + "male": 9349745, + "female": 8874664 + }, { + "age": "22 to 24", + "male": 6722248, + "female": 6422017 + }, { + "age": "25 to 29", + "male": 10989596, + "female": 10708414 + }, { + "age": "30 to 34", + "male": 10625791, + "female": 10557848 + }, { + "age": "35 to 39", + "male": 9899569, + "female": 9956213 + }, { + "age": "40 to 44", + "male": 10330986, + "female": 10465142 + }, { + "age": "45 to 49", + "male": 10571984, + "female": 10798384 + }, { + "age": "50 to 54", + "male": 11051409, + "female": 11474081 + }, { + "age": "55 to 59", + "male": 10173646, + "female": 10828301 + }, { + "age": "60 to 64", + "male": 8824852, + "female": 9590829 + }, { + "age": "65 to 69", + "male": 6876271, + "female": 7671175 + }, { + "age": "70 to 74", + "male": 4867513, + "female": 5720208 + }, { + "age": "75 to 79", + "male": 3416432, + "female": 4313697 + }, { + "age": "80 to 84", + "male": 2378691, + "female": 3432738 + }, { + "age": "85 and Older", + "male": 2000771, + "female": 3937981 + }]; + + var stateData = { + "AK": [{ + "age": "0 to 5", + "male": 28346, + "female": 26607 + }, { + "age": "10 to 14", + "male": 26350, + "female": 24821 + }, { + "age": "15 to 17", + "male": 15929, + "female": 14735 + }, { + "age": "18 to 21", + "male": 25360, + "female": 19030 + }, { + "age": "22 to 24", + "male": 20755, + "female": 15663 + }, { + "age": "25 to 29", + "male": 32415, + "female": 28259 + }, { + "age": "30 to 34", + "male": 28232, + "female": 25272 + }, { + "age": "35 to 39", + "male": 24217, + "female": 22002 + }, { + "age": "40 to 44", + "male": 23429, + "female": 21968 + }, { + "age": "45 to 49", + "male": 24764, + "female": 22784 + }, { + "age": "5 to 9", + "male": 26276, + "female": 25063 + }, { + "age": "50 to 54", + "male": 27623, + "female": 25503 + }, { + "age": "55 to 59", + "male": 26300, + "female": 25198 + }, { + "age": "60 to 64", + "male": 21798, + "female": 18970 + }, { + "age": "65 to 69", + "male": 13758, + "female": 12899 + }, { + "age": "70 to 74", + "male": 8877, + "female": 8269 + }, { + "age": "75 to 79", + "male": 4834, + "female": 4894 + }, { + "age": "80 to 84", + "male": 3015, + "female": 3758 + }, { + "age": "85 and Older", + "male": 1882, + "female": 3520 + } + ], + "AL": [{ + "age": "0 to 5", + "male": 150860, + "female": 144194 + }, { + "age": "10 to 14", + "male": 161596, + "female": 156841 + }, { + "age": "15 to 17", + "male": 98307, + "female": 94462 + }, { + "age": "18 to 21", + "male": 142173, + "female": 136514 + }, { + "age": "22 to 24", + "male": 99164, + "female": 101444 + }, { + "age": "25 to 29", + "male": 154977, + "female": 159815 + }, { + "age": "30 to 34", + "male": 150036, + "female": 156764 + }, { + "age": "35 to 39", + "male": 141667, + "female": 152220 + }, { + "age": "40 to 44", + "male": 155693, + "female": 159835 + }, { + "age": "45 to 49", + "male": 156413, + "female": 163909 + }, { + "age": "5 to 9", + "male": 156380, + "female": 149334 + }, { + "age": "50 to 54", + "male": 166863, + "female": 178187 + }, { + "age": "55 to 59", + "male": 156994, + "female": 169355 + }, { + "age": "60 to 64", + "male": 140659, + "female": 156638 + }, { + "age": "65 to 69", + "male": 112724, + "female": 128494 + }, { + "age": "70 to 74", + "male": 79258, + "female": 96507 + }, { + "age": "75 to 79", + "male": 55122, + "female": 75371 + }, { + "age": "80 to 84", + "male": 36252, + "female": 53976 + }, { + "age": "85 and Older", + "male": 25955, + "female": 55667 + } + ], + "AR": [{ + "age": "0 to 5", + "male": 98246, + "female": 93534 + }, { + "age": "10 to 14", + "male": 99707, + "female": 96862 + }, { + "age": "15 to 17", + "male": 60521, + "female": 57735 + }, { + "age": "18 to 21", + "male": 87209, + "female": 81936 + }, { + "age": "22 to 24", + "male": 59114, + "female": 59387 + }, { + "age": "25 to 29", + "male": 96190, + "female": 96573 + }, { + "age": "30 to 34", + "male": 96273, + "female": 95632 + }, { + "age": "35 to 39", + "male": 90371, + "female": 90620 + }, { + "age": "40 to 44", + "male": 91881, + "female": 93777 + }, { + "age": "45 to 49", + "male": 93238, + "female": 95476 + }, { + "age": "5 to 9", + "male": 103613, + "female": 97603 + }, { + "age": "50 to 54", + "male": 98960, + "female": 102953 + }, { + "age": "55 to 59", + "male": 92133, + "female": 100676 + }, { + "age": "60 to 64", + "male": 84082, + "female": 90243 + }, { + "age": "65 to 69", + "male": 70121, + "female": 76669 + }, { + "age": "70 to 74", + "male": 52154, + "female": 61686 + }, { + "age": "75 to 79", + "male": 36856, + "female": 44371 + }, { + "age": "80 to 84", + "male": 23098, + "female": 35328 + }, { + "age": "85 and Older", + "male": 18146, + "female": 35234 + } + ], + "AZ": [{ + "age": "0 to 5", + "male": 221511, + "female": 212324 + }, { + "age": "10 to 14", + "male": 233530, + "female": 222965 + }, { + "age": "15 to 17", + "male": 138926, + "female": 132399 + }, { + "age": "18 to 21", + "male": 200240, + "female": 187786 + }, { + "age": "22 to 24", + "male": 142852, + "female": 132457 + }, { + "age": "25 to 29", + "male": 231488, + "female": 215985 + }, { + "age": "30 to 34", + "male": 223754, + "female": 214946 + }, { + "age": "35 to 39", + "male": 206718, + "female": 202482 + }, { + "age": "40 to 44", + "male": 213591, + "female": 210621 + }, { + "age": "45 to 49", + "male": 205830, + "female": 206081 + }, { + "age": "5 to 9", + "male": 231249, + "female": 224385 + }, { + "age": "50 to 54", + "male": 210386, + "female": 218328 + }, { + "age": "55 to 59", + "male": 192614, + "female": 209767 + }, { + "age": "60 to 64", + "male": 178325, + "female": 200313 + }, { + "age": "65 to 69", + "male": 155852, + "female": 174407 + }, { + "age": "70 to 74", + "male": 121878, + "female": 136840 + }, { + "age": "75 to 79", + "male": 87470, + "female": 96953 + }, { + "age": "80 to 84", + "male": 58553, + "female": 69559 + }, { + "age": "85 and Older", + "male": 44321, + "female": 74242 + } + ], + "CA": [{ + "age": "0 to 5", + "male": 1283763, + "female": 1228013 + }, { + "age": "10 to 14", + "male": 1297819, + "female": 1245016 + }, { + "age": "15 to 17", + "male": 811114, + "female": 773387 + }, { + "age": "18 to 21", + "male": 1179739, + "female": 1100368 + }, { + "age": "22 to 24", + "male": 883323, + "female": 825833 + }, { + "age": "25 to 29", + "male": 1478557, + "female": 1387516 + }, { + "age": "30 to 34", + "male": 1399835, + "female": 1348430 + }, { + "age": "35 to 39", + "male": 1287803, + "female": 1271908 + }, { + "age": "40 to 44", + "male": 1308311, + "female": 1309907 + }, { + "age": "45 to 49", + "male": 1306719, + "female": 1303528 + }, { + "age": "5 to 9", + "male": 1295030, + "female": 1240201 + }, { + "age": "50 to 54", + "male": 1305323, + "female": 1330645 + }, { + "age": "55 to 59", + "male": 1161821, + "female": 1223440 + }, { + "age": "60 to 64", + "male": 975874, + "female": 1060921 + }, { + "age": "65 to 69", + "male": 734814, + "female": 833926 + }, { + "age": "70 to 74", + "male": 515115, + "female": 604615 + }, { + "age": "75 to 79", + "male": 363282, + "female": 455568 + }, { + "age": "80 to 84", + "male": 264126, + "female": 363937 + }, { + "age": "85 and Older", + "male": 234767, + "female": 427170 + } + ], + "CO": [{ + "age": "0 to 5", + "male": 173245, + "female": 163629 + }, { + "age": "10 to 14", + "male": 179579, + "female": 170930 + }, { + "age": "15 to 17", + "male": 102577, + "female": 98569 + }, { + "age": "18 to 21", + "male": 152713, + "female": 139268 + }, { + "age": "22 to 24", + "male": 116654, + "female": 108238 + }, { + "age": "25 to 29", + "male": 204625, + "female": 188680 + }, { + "age": "30 to 34", + "male": 200624, + "female": 188616 + }, { + "age": "35 to 39", + "male": 183386, + "female": 175326 + }, { + "age": "40 to 44", + "male": 184422, + "female": 173654 + }, { + "age": "45 to 49", + "male": 174730, + "female": 172981 + }, { + "age": "5 to 9", + "male": 179803, + "female": 173524 + }, { + "age": "50 to 54", + "male": 183543, + "female": 187757 + }, { + "age": "55 to 59", + "male": 170717, + "female": 179537 + }, { + "age": "60 to 64", + "male": 150815, + "female": 155924 + }, { + "age": "65 to 69", + "male": 111094, + "female": 119530 + }, { + "age": "70 to 74", + "male": 72252, + "female": 80168 + }, { + "age": "75 to 79", + "male": 49142, + "female": 59393 + }, { + "age": "80 to 84", + "male": 31894, + "female": 43881 + }, { + "age": "85 and Older", + "male": 26852, + "female": 50634 + } + ], + "CT": [{ + "age": "0 to 5", + "male": 97647, + "female": 93798 + }, { + "age": "10 to 14", + "male": 118032, + "female": 113043 + }, { + "age": "15 to 17", + "male": 75546, + "female": 71687 + }, { + "age": "18 to 21", + "male": 106966, + "female": 102763 + }, { + "age": "22 to 24", + "male": 71125, + "female": 64777 + }, { + "age": "25 to 29", + "male": 112189, + "female": 108170 + }, { + "age": "30 to 34", + "male": 107223, + "female": 109096 + }, { + "age": "35 to 39", + "male": 102424, + "female": 106008 + }, { + "age": "40 to 44", + "male": 116664, + "female": 123744 + }, { + "age": "45 to 49", + "male": 131872, + "female": 139406 + }, { + "age": "5 to 9", + "male": 110043, + "female": 104940 + }, { + "age": "50 to 54", + "male": 138644, + "female": 146532 + }, { + "age": "55 to 59", + "male": 126670, + "female": 132895 + }, { + "age": "60 to 64", + "male": 104701, + "female": 114339 + }, { + "age": "65 to 69", + "male": 80178, + "female": 91052 + }, { + "age": "70 to 74", + "male": 55237, + "female": 65488 + }, { + "age": "75 to 79", + "male": 38844, + "female": 51544 + }, { + "age": "80 to 84", + "male": 28908, + "female": 43036 + }, { + "age": "85 and Older", + "male": 28694, + "female": 59297 + } + ], + "DC": [{ + "age": "0 to 5", + "male": 20585, + "female": 19848 + }, { + "age": "10 to 14", + "male": 12723, + "female": 11991 + }, { + "age": "15 to 17", + "male": 7740, + "female": 7901 + }, { + "age": "18 to 21", + "male": 22350, + "female": 25467 + }, { + "age": "22 to 24", + "male": 15325, + "female": 19085 + }, { + "age": "25 to 29", + "male": 35295, + "female": 41913 + }, { + "age": "30 to 34", + "male": 32716, + "female": 35553 + }, { + "age": "35 to 39", + "male": 23748, + "female": 24922 + }, { + "age": "40 to 44", + "male": 21158, + "female": 20113 + }, { + "age": "45 to 49", + "male": 19279, + "female": 18956 + }, { + "age": "5 to 9", + "male": 14999, + "female": 15518 + }, { + "age": "50 to 54", + "male": 19249, + "female": 19279 + }, { + "age": "55 to 59", + "male": 17592, + "female": 18716 + }, { + "age": "60 to 64", + "male": 14272, + "female": 17892 + }, { + "age": "65 to 69", + "male": 9740, + "female": 13375 + }, { + "age": "70 to 74", + "male": 8221, + "female": 9761 + }, { + "age": "75 to 79", + "male": 5071, + "female": 7601 + }, { + "age": "80 to 84", + "male": 3399, + "female": 5619 + }, { + "age": "85 and Older", + "male": 3212, + "female": 7300 + } + ], + "DE": [{ + "age": "0 to 5", + "male": 28382, + "female": 27430 + }, { + "age": "10 to 14", + "male": 29482, + "female": 27484 + }, { + "age": "15 to 17", + "male": 17589, + "female": 16828 + }, { + "age": "18 to 21", + "male": 26852, + "female": 26911 + }, { + "age": "22 to 24", + "male": 19006, + "female": 18413 + }, { + "age": "25 to 29", + "male": 30933, + "female": 31146 + }, { + "age": "30 to 34", + "male": 28602, + "female": 29431 + }, { + "age": "35 to 39", + "male": 26498, + "female": 28738 + }, { + "age": "40 to 44", + "male": 27674, + "female": 28519 + }, { + "age": "45 to 49", + "male": 30582, + "female": 32924 + }, { + "age": "5 to 9", + "male": 28224, + "female": 28735 + }, { + "age": "50 to 54", + "male": 32444, + "female": 35052 + }, { + "age": "55 to 59", + "male": 29048, + "female": 34377 + }, { + "age": "60 to 64", + "male": 27925, + "female": 30017 + }, { + "age": "65 to 69", + "male": 22767, + "female": 26707 + }, { + "age": "70 to 74", + "male": 17121, + "female": 19327 + }, { + "age": "75 to 79", + "male": 11479, + "female": 14264 + }, { + "age": "80 to 84", + "male": 7473, + "female": 10353 + }, { + "age": "85 and Older", + "male": 6332, + "female": 11385 + } + ], + "FL": [{ + "age": "0 to 5", + "male": 552054, + "female": 529003 + }, { + "age": "10 to 14", + "male": 582351, + "female": 558377 + }, { + "age": "15 to 17", + "male": 363538, + "female": 345048 + }, { + "age": "18 to 21", + "male": 528013, + "female": 498162 + }, { + "age": "22 to 24", + "male": 385515, + "female": 368754 + }, { + "age": "25 to 29", + "male": 641710, + "female": 622134 + }, { + "age": "30 to 34", + "male": 602467, + "female": 602634 + }, { + "age": "35 to 39", + "male": 579722, + "female": 585089 + }, { + "age": "40 to 44", + "male": 623074, + "female": 639410 + }, { + "age": "45 to 49", + "male": 659376, + "female": 677305 + }, { + "age": "5 to 9", + "male": 567479, + "female": 543273 + }, { + "age": "50 to 54", + "male": 687625, + "female": 723103 + }, { + "age": "55 to 59", + "male": 626363, + "female": 685728 + }, { + "age": "60 to 64", + "male": 566282, + "female": 651192 + }, { + "age": "65 to 69", + "male": 517513, + "female": 589377 + }, { + "age": "70 to 74", + "male": 407275, + "female": 470688 + }, { + "age": "75 to 79", + "male": 305530, + "female": 361107 + }, { + "age": "80 to 84", + "male": 219362, + "female": 281016 + }, { + "age": "85 and Older", + "male": 184760, + "female": 314363 + } + ], + "GA": [{ + "age": "0 to 5", + "male": 338979, + "female": 326326 + }, { + "age": "10 to 14", + "male": 356404, + "female": 351833 + }, { + "age": "15 to 17", + "male": 211908, + "female": 203412 + }, { + "age": "18 to 21", + "male": 305617, + "female": 289233 + }, { + "age": "22 to 24", + "male": 214032, + "female": 206526 + }, { + "age": "25 to 29", + "male": 342885, + "female": 343115 + }, { + "age": "30 to 34", + "male": 333159, + "female": 348125 + }, { + "age": "35 to 39", + "male": 325121, + "female": 345251 + }, { + "age": "40 to 44", + "male": 348120, + "female": 363703 + }, { + "age": "45 to 49", + "male": 343559, + "female": 358754 + }, { + "age": "5 to 9", + "male": 362147, + "female": 340071 + }, { + "age": "50 to 54", + "male": 338424, + "female": 359362 + }, { + "age": "55 to 59", + "male": 294734, + "female": 325653 + }, { + "age": "60 to 64", + "male": 254497, + "female": 285276 + }, { + "age": "65 to 69", + "male": 198714, + "female": 226714 + }, { + "age": "70 to 74", + "male": 135107, + "female": 164091 + }, { + "age": "75 to 79", + "male": 88135, + "female": 115830 + }, { + "age": "80 to 84", + "male": 53792, + "female": 84961 + }, { + "age": "85 and Older", + "male": 37997, + "female": 85126 + } + ], + "HI": [{ + "age": "0 to 5", + "male": 46668, + "female": 44389 + }, { + "age": "10 to 14", + "male": 42590, + "female": 41289 + }, { + "age": "15 to 17", + "male": 24759, + "female": 23961 + }, { + "age": "18 to 21", + "male": 39937, + "female": 32348 + }, { + "age": "22 to 24", + "male": 35270, + "female": 28495 + }, { + "age": "25 to 29", + "male": 58033, + "female": 48700 + }, { + "age": "30 to 34", + "male": 51544, + "female": 47286 + }, { + "age": "35 to 39", + "male": 44144, + "female": 42208 + }, { + "age": "40 to 44", + "male": 45731, + "female": 43404 + }, { + "age": "45 to 49", + "male": 44336, + "female": 44134 + }, { + "age": "5 to 9", + "male": 44115, + "female": 40426 + }, { + "age": "50 to 54", + "male": 46481, + "female": 46908 + }, { + "age": "55 to 59", + "male": 45959, + "female": 47379 + }, { + "age": "60 to 64", + "male": 42420, + "female": 43735 + }, { + "age": "65 to 69", + "male": 34846, + "female": 36670 + }, { + "age": "70 to 74", + "male": 22981, + "female": 25496 + }, { + "age": "75 to 79", + "male": 15219, + "female": 18755 + }, { + "age": "80 to 84", + "male": 11142, + "female": 17952 + }, { + "age": "85 and Older", + "male": 13696, + "female": 22893 + } + ], + "IA": [{ + "age": "0 to 5", + "male": 100400, + "female": 96170 + }, { + "age": "10 to 14", + "male": 104674, + "female": 98485 + }, { + "age": "15 to 17", + "male": 62452, + "female": 59605 + }, { + "age": "18 to 21", + "male": 96966, + "female": 91782 + }, { + "age": "22 to 24", + "male": 66307, + "female": 62504 + }, { + "age": "25 to 29", + "male": 98079, + "female": 93653 + }, { + "age": "30 to 34", + "male": 100924, + "female": 97248 + }, { + "age": "35 to 39", + "male": 90980, + "female": 89632 + }, { + "age": "40 to 44", + "male": 92961, + "female": 90218 + }, { + "age": "45 to 49", + "male": 98877, + "female": 96654 + }, { + "age": "5 to 9", + "male": 104279, + "female": 100558 + }, { + "age": "50 to 54", + "male": 109267, + "female": 110142 + }, { + "age": "55 to 59", + "male": 104021, + "female": 106042 + }, { + "age": "60 to 64", + "male": 95379, + "female": 95499 + }, { + "age": "65 to 69", + "male": 68276, + "female": 73624 + }, { + "age": "70 to 74", + "male": 50414, + "female": 56973 + }, { + "age": "75 to 79", + "male": 37867, + "female": 48121 + }, { + "age": "80 to 84", + "male": 27523, + "female": 39851 + }, { + "age": "85 and Older", + "male": 24949, + "female": 52170 + } + ], + "ID": [{ + "age": "0 to 5", + "male": 58355, + "female": 56478 + }, { + "age": "10 to 14", + "male": 62528, + "female": 59881 + }, { + "age": "15 to 17", + "male": 36373, + "female": 33687 + }, { + "age": "18 to 21", + "male": 45752, + "female": 45590 + }, { + "age": "22 to 24", + "male": 34595, + "female": 30216 + }, { + "age": "25 to 29", + "male": 53998, + "female": 52077 + }, { + "age": "30 to 34", + "male": 54217, + "female": 52091 + }, { + "age": "35 to 39", + "male": 51247, + "female": 47801 + }, { + "age": "40 to 44", + "male": 49113, + "female": 49853 + }, { + "age": "45 to 49", + "male": 48392, + "female": 48288 + }, { + "age": "5 to 9", + "male": 63107, + "female": 59237 + }, { + "age": "50 to 54", + "male": 51805, + "female": 52984 + }, { + "age": "55 to 59", + "male": 49226, + "female": 51868 + }, { + "age": "60 to 64", + "male": 47343, + "female": 47631 + }, { + "age": "65 to 69", + "male": 38436, + "female": 38133 + }, { + "age": "70 to 74", + "male": 26243, + "female": 28577 + }, { + "age": "75 to 79", + "male": 18404, + "female": 20325 + }, { + "age": "80 to 84", + "male": 11653, + "female": 15313 + }, { + "age": "85 and Older", + "male": 9677, + "female": 16053 + } + ], + "IL": [{ + "age": "0 to 5", + "male": 408295, + "female": 392900 + }, { + "age": "10 to 14", + "male": 437688, + "female": 419077 + }, { + "age": "15 to 17", + "male": 269202, + "female": 257213 + }, { + "age": "18 to 21", + "male": 369219, + "female": 353570 + }, { + "age": "22 to 24", + "male": 268501, + "female": 258559 + }, { + "age": "25 to 29", + "male": 448001, + "female": 442418 + }, { + "age": "30 to 34", + "male": 445416, + "female": 445729 + }, { + "age": "35 to 39", + "male": 416265, + "female": 418999 + }, { + "age": "40 to 44", + "male": 425825, + "female": 427573 + }, { + "age": "45 to 49", + "male": 433177, + "female": 441116 + }, { + "age": "5 to 9", + "male": 427121, + "female": 412238 + }, { + "age": "50 to 54", + "male": 454039, + "female": 470982 + }, { + "age": "55 to 59", + "male": 414948, + "female": 442280 + }, { + "age": "60 to 64", + "male": 354782, + "female": 380640 + }, { + "age": "65 to 69", + "male": 259363, + "female": 292899 + }, { + "age": "70 to 74", + "male": 184622, + "female": 223905 + }, { + "age": "75 to 79", + "male": 129016, + "female": 171743 + }, { + "age": "80 to 84", + "male": 91973, + "female": 139204 + }, { + "age": "85 and Older", + "male": 79446, + "female": 165817 + } + ], + "IN": [{ + "age": "0 to 5", + "male": 215697, + "female": 205242 + }, { + "age": "10 to 14", + "male": 229911, + "female": 221563 + }, { + "age": "15 to 17", + "male": 139494, + "female": 132879 + }, { + "age": "18 to 21", + "male": 198763, + "female": 194206 + }, { + "age": "22 to 24", + "male": 140805, + "female": 131947 + }, { + "age": "25 to 29", + "male": 210315, + "female": 208593 + }, { + "age": "30 to 34", + "male": 211656, + "female": 210103 + }, { + "age": "35 to 39", + "male": 201979, + "female": 200693 + }, { + "age": "40 to 44", + "male": 212114, + "female": 212653 + }, { + "age": "45 to 49", + "male": 216446, + "female": 219033 + }, { + "age": "5 to 9", + "male": 226901, + "female": 214964 + }, { + "age": "50 to 54", + "male": 232241, + "female": 237844 + }, { + "age": "55 to 59", + "male": 217033, + "female": 228674 + }, { + "age": "60 to 64", + "male": 186412, + "female": 197353 + }, { + "age": "65 to 69", + "male": 140336, + "female": 156256 + }, { + "age": "70 to 74", + "male": 99402, + "female": 116834 + }, { + "age": "75 to 79", + "male": 68758, + "female": 88794 + }, { + "age": "80 to 84", + "male": 47628, + "female": 72061 + }, { + "age": "85 and Older", + "male": 39372, + "female": 83690 + } + ], + "KS": [{ + "age": "0 to 5", + "male": 102716, + "female": 98004 + }, { + "age": "10 to 14", + "male": 102335, + "female": 99132 + }, { + "age": "15 to 17", + "male": 60870, + "female": 57957 + }, { + "age": "18 to 21", + "male": 90593, + "female": 83299 + }, { + "age": "22 to 24", + "male": 66512, + "female": 59368 + }, { + "age": "25 to 29", + "male": 99384, + "female": 93840 + }, { + "age": "30 to 34", + "male": 98020, + "female": 94075 + }, { + "age": "35 to 39", + "male": 87763, + "female": 85422 + }, { + "age": "40 to 44", + "male": 87647, + "female": 84970 + }, { + "age": "45 to 49", + "male": 89233, + "female": 88877 + }, { + "age": "5 to 9", + "male": 103861, + "female": 98642 + }, { + "age": "50 to 54", + "male": 98398, + "female": 101197 + }, { + "age": "55 to 59", + "male": 95861, + "female": 96152 + }, { + "age": "60 to 64", + "male": 79440, + "female": 85124 + }, { + "age": "65 to 69", + "male": 60035, + "female": 64369 + }, { + "age": "70 to 74", + "male": 42434, + "female": 49221 + }, { + "age": "75 to 79", + "male": 30967, + "female": 39425 + }, { + "age": "80 to 84", + "male": 23026, + "female": 33863 + }, { + "age": "85 and Older", + "male": 20767, + "female": 40188 + } + ], + "KY": [{ + "age": "0 to 5", + "male": 142062, + "female": 134389 + }, { + "age": "10 to 14", + "male": 147586, + "female": 138629 + }, { + "age": "15 to 17", + "male": 87696, + "female": 83139 + }, { + "age": "18 to 21", + "male": 128249, + "female": 121099 + }, { + "age": "22 to 24", + "male": 90794, + "female": 85930 + }, { + "age": "25 to 29", + "male": 140811, + "female": 139855 + }, { + "age": "30 to 34", + "male": 142732, + "female": 142551 + }, { + "age": "35 to 39", + "male": 137211, + "female": 136524 + }, { + "age": "40 to 44", + "male": 145358, + "female": 145251 + }, { + "age": "45 to 49", + "male": 148883, + "female": 150922 + }, { + "age": "5 to 9", + "male": 143532, + "female": 139032 + }, { + "age": "50 to 54", + "male": 156890, + "female": 163054 + }, { + "age": "55 to 59", + "male": 147006, + "female": 156302 + }, { + "age": "60 to 64", + "male": 129457, + "female": 139434 + }, { + "age": "65 to 69", + "male": 100883, + "female": 112696 + }, { + "age": "70 to 74", + "male": 71867, + "female": 83665 + }, { + "age": "75 to 79", + "male": 47828, + "female": 62775 + }, { + "age": "80 to 84", + "male": 31477, + "female": 46386 + }, { + "age": "85 and Older", + "male": 23886, + "female": 51512 + } + ], + "LA": [{ + "age": "0 to 5", + "male": 157642, + "female": 152324 + }, { + "age": "10 to 14", + "male": 157781, + "female": 149752 + }, { + "age": "15 to 17", + "male": 93357, + "female": 90227 + }, { + "age": "18 to 21", + "male": 136496, + "female": 131202 + }, { + "age": "22 to 24", + "male": 101438, + "female": 101480 + }, { + "age": "25 to 29", + "male": 167414, + "female": 168886 + }, { + "age": "30 to 34", + "male": 160094, + "female": 161424 + }, { + "age": "35 to 39", + "male": 142182, + "female": 141813 + }, { + "age": "40 to 44", + "male": 138717, + "female": 144789 + }, { + "age": "45 to 49", + "male": 145906, + "female": 152340 + }, { + "age": "5 to 9", + "male": 159193, + "female": 154320 + }, { + "age": "50 to 54", + "male": 157743, + "female": 167125 + }, { + "age": "55 to 59", + "male": 149001, + "female": 161295 + }, { + "age": "60 to 64", + "male": 129265, + "female": 139378 + }, { + "age": "65 to 69", + "male": 98404, + "female": 106844 + }, { + "age": "70 to 74", + "male": 65845, + "female": 83779 + }, { + "age": "75 to 79", + "male": 47365, + "female": 60745 + }, { + "age": "80 to 84", + "male": 29452, + "female": 48839 + }, { + "age": "85 and Older", + "male": 23861, + "female": 47535 + } + ], + "MA": [{ + "age": "0 to 5", + "male": 187066, + "female": 178775 + }, { + "age": "10 to 14", + "male": 205530, + "female": 195312 + }, { + "age": "15 to 17", + "male": 129433, + "female": 123212 + }, { + "age": "18 to 21", + "male": 207432, + "female": 213820 + }, { + "age": "22 to 24", + "male": 140356, + "female": 135839 + }, { + "age": "25 to 29", + "male": 235172, + "female": 237653 + }, { + "age": "30 to 34", + "male": 216220, + "female": 221692 + }, { + "age": "35 to 39", + "male": 196293, + "female": 202730 + }, { + "age": "40 to 44", + "male": 218111, + "female": 231277 + }, { + "age": "45 to 49", + "male": 237629, + "female": 249926 + }, { + "age": "5 to 9", + "male": 191958, + "female": 186343 + }, { + "age": "50 to 54", + "male": 247973, + "female": 260886 + }, { + "age": "55 to 59", + "male": 227238, + "female": 241029 + }, { + "age": "60 to 64", + "male": 189981, + "female": 211282 + }, { + "age": "65 to 69", + "male": 146129, + "female": 164268 + }, { + "age": "70 to 74", + "male": 100745, + "female": 123577 + }, { + "age": "75 to 79", + "male": 70828, + "female": 92141 + }, { + "age": "80 to 84", + "male": 52074, + "female": 81603 + }, { + "age": "85 and Older", + "male": 49482, + "female": 104571 + } + ], + "MD": [{ + "age": "0 to 5", + "male": 187617, + "female": 180105 + }, { + "age": "10 to 14", + "male": 191787, + "female": 185380 + }, { + "age": "15 to 17", + "male": 118027, + "female": 113549 + }, { + "age": "18 to 21", + "male": 166991, + "female": 159589 + }, { + "age": "22 to 24", + "male": 120617, + "female": 116602 + }, { + "age": "25 to 29", + "male": 205555, + "female": 206944 + }, { + "age": "30 to 34", + "male": 196824, + "female": 203989 + }, { + "age": "35 to 39", + "male": 179340, + "female": 193957 + }, { + "age": "40 to 44", + "male": 195388, + "female": 205570 + }, { + "age": "45 to 49", + "male": 208382, + "female": 225458 + }, { + "age": "5 to 9", + "male": 189781, + "female": 182034 + }, { + "age": "50 to 54", + "male": 217574, + "female": 235604 + }, { + "age": "55 to 59", + "male": 193789, + "female": 210582 + }, { + "age": "60 to 64", + "male": 161828, + "female": 186524 + }, { + "age": "65 to 69", + "male": 123204, + "female": 144193 + }, { + "age": "70 to 74", + "male": 84114, + "female": 101563 + }, { + "age": "75 to 79", + "male": 56755, + "female": 75715 + }, { + "age": "80 to 84", + "male": 39615, + "female": 59728 + }, { + "age": "85 and Older", + "male": 35455, + "female": 70809 + } + ], + "ME": [{ + "age": "0 to 5", + "male": 33298, + "female": 32108 + }, { + "age": "10 to 14", + "male": 38254, + "female": 36846 + }, { + "age": "15 to 17", + "male": 24842, + "female": 23688 + }, { + "age": "18 to 21", + "male": 35315, + "female": 33777 + }, { + "age": "22 to 24", + "male": 23007, + "female": 21971 + }, { + "age": "25 to 29", + "male": 37685, + "female": 38353 + }, { + "age": "30 to 34", + "male": 36838, + "female": 37697 + }, { + "age": "35 to 39", + "male": 35988, + "female": 37686 + }, { + "age": "40 to 44", + "male": 42092, + "female": 42912 + }, { + "age": "45 to 49", + "male": 47141, + "female": 49161 + }, { + "age": "5 to 9", + "male": 38066, + "female": 35151 + }, { + "age": "50 to 54", + "male": 53458, + "female": 55451 + }, { + "age": "55 to 59", + "male": 51789, + "female": 55407 + }, { + "age": "60 to 64", + "male": 47171, + "female": 49840 + }, { + "age": "65 to 69", + "male": 37495, + "female": 39678 + }, { + "age": "70 to 74", + "male": 26300, + "female": 28932 + }, { + "age": "75 to 79", + "male": 18197, + "female": 22047 + }, { + "age": "80 to 84", + "male": 12824, + "female": 18302 + }, { + "age": "85 and Older", + "male": 10321, + "female": 20012 + } + ], + "MI": [{ + "age": "0 to 5", + "male": 295157, + "female": 280629 + }, { + "age": "10 to 14", + "male": 329983, + "female": 319870 + }, { + "age": "15 to 17", + "male": 210017, + "female": 199977 + }, { + "age": "18 to 21", + "male": 299937, + "female": 287188 + }, { + "age": "22 to 24", + "male": 208270, + "female": 202858 + }, { + "age": "25 to 29", + "male": 303606, + "female": 298013 + }, { + "age": "30 to 34", + "male": 292780, + "female": 296303 + }, { + "age": "35 to 39", + "male": 283925, + "female": 288526 + }, { + "age": "40 to 44", + "male": 314544, + "female": 319923 + }, { + "age": "45 to 49", + "male": 337524, + "female": 344097 + }, { + "age": "5 to 9", + "male": 316345, + "female": 297675 + }, { + "age": "50 to 54", + "male": 366054, + "female": 378332 + }, { + "age": "55 to 59", + "male": 349590, + "female": 369347 + }, { + "age": "60 to 64", + "male": 303421, + "female": 323815 + }, { + "age": "65 to 69", + "male": 230810, + "female": 252455 + }, { + "age": "70 to 74", + "male": 161676, + "female": 186453 + }, { + "age": "75 to 79", + "male": 112555, + "female": 141554 + }, { + "age": "80 to 84", + "male": 78669, + "female": 116914 + }, { + "age": "85 and Older", + "male": 67110, + "female": 134669 + } + ], + "MN": [{ + "age": "0 to 5", + "male": 178616, + "female": 170645 + }, { + "age": "10 to 14", + "male": 180951, + "female": 174374 + }, { + "age": "15 to 17", + "male": 110001, + "female": 104197 + }, { + "age": "18 to 21", + "male": 148247, + "female": 144611 + }, { + "age": "22 to 24", + "male": 108864, + "female": 103755 + }, { + "age": "25 to 29", + "male": 185766, + "female": 180698 + }, { + "age": "30 to 34", + "male": 189374, + "female": 184845 + }, { + "age": "35 to 39", + "male": 166613, + "female": 160534 + }, { + "age": "40 to 44", + "male": 172583, + "female": 171011 + }, { + "age": "45 to 49", + "male": 184130, + "female": 182785 + }, { + "age": "5 to 9", + "male": 185244, + "female": 176674 + }, { + "age": "50 to 54", + "male": 202427, + "female": 203327 + }, { + "age": "55 to 59", + "male": 187216, + "female": 189980 + }, { + "age": "60 to 64", + "male": 157586, + "female": 160588 + }, { + "age": "65 to 69", + "male": 114903, + "female": 121985 + }, { + "age": "70 to 74", + "male": 81660, + "female": 92401 + }, { + "age": "75 to 79", + "male": 57855, + "female": 72839 + }, { + "age": "80 to 84", + "male": 42192, + "female": 58545 + }, { + "age": "85 and Older", + "male": 37938, + "female": 73211 + } + ], + "MO": [{ + "age": "0 to 5", + "male": 192851, + "female": 183921 + }, { + "age": "10 to 14", + "male": 201273, + "female": 190020 + }, { + "age": "15 to 17", + "male": 122944, + "female": 116383 + }, { + "age": "18 to 21", + "male": 175782, + "female": 169076 + }, { + "age": "22 to 24", + "male": 124584, + "female": 123027 + }, { + "age": "25 to 29", + "male": 200511, + "female": 200134 + }, { + "age": "30 to 34", + "male": 197781, + "female": 198735 + }, { + "age": "35 to 39", + "male": 181485, + "female": 180002 + }, { + "age": "40 to 44", + "male": 183318, + "female": 188038 + }, { + "age": "45 to 49", + "male": 194538, + "female": 199735 + }, { + "age": "5 to 9", + "male": 200091, + "female": 193196 + }, { + "age": "50 to 54", + "male": 218663, + "female": 225083 + }, { + "age": "55 to 59", + "male": 199513, + "female": 216459 + }, { + "age": "60 to 64", + "male": 176036, + "female": 187668 + }, { + "age": "65 to 69", + "male": 135605, + "female": 150815 + }, { + "age": "70 to 74", + "male": 99845, + "female": 117802 + }, { + "age": "75 to 79", + "male": 70734, + "female": 88769 + }, { + "age": "80 to 84", + "male": 48118, + "female": 72085 + }, { + "age": "85 and Older", + "male": 40331, + "female": 80497 + } + ], + "MS": [{ + "age": "0 to 5", + "male": 100654, + "female": 97079 + }, { + "age": "10 to 14", + "male": 107363, + "female": 101958 + }, { + "age": "15 to 17", + "male": 62923, + "female": 60591 + }, { + "age": "18 to 21", + "male": 94460, + "female": 94304 + }, { + "age": "22 to 24", + "male": 63870, + "female": 58909 + }, { + "age": "25 to 29", + "male": 96027, + "female": 98023 + }, { + "age": "30 to 34", + "male": 95533, + "female": 98837 + }, { + "age": "35 to 39", + "male": 88278, + "female": 92876 + }, { + "age": "40 to 44", + "male": 93579, + "female": 97851 + }, { + "age": "45 to 49", + "male": 92103, + "female": 98871 + }, { + "age": "5 to 9", + "male": 104911, + "female": 100694 + }, { + "age": "50 to 54", + "male": 98578, + "female": 106516 + }, { + "age": "55 to 59", + "male": 94835, + "female": 101616 + }, { + "age": "60 to 64", + "male": 80677, + "female": 91332 + }, { + "age": "65 to 69", + "male": 64386, + "female": 72940 + }, { + "age": "70 to 74", + "male": 46712, + "female": 56013 + }, { + "age": "75 to 79", + "male": 32079, + "female": 42598 + }, { + "age": "80 to 84", + "male": 19966, + "female": 32724 + }, { + "age": "85 and Older", + "male": 14789, + "female": 32626 + } + ], + "MT": [{ + "age": "0 to 5", + "male": 31021, + "female": 29676 + }, { + "age": "10 to 14", + "male": 30960, + "female": 29710 + }, { + "age": "15 to 17", + "male": 19558, + "female": 18061 + }, { + "age": "18 to 21", + "male": 30975, + "female": 27314 + }, { + "age": "22 to 24", + "male": 21419, + "female": 20153 + }, { + "age": "25 to 29", + "male": 32300, + "female": 30805 + }, { + "age": "30 to 34", + "male": 33167, + "female": 30964 + }, { + "age": "35 to 39", + "male": 29772, + "female": 28999 + }, { + "age": "40 to 44", + "male": 28538, + "female": 27311 + }, { + "age": "45 to 49", + "male": 30820, + "female": 30608 + }, { + "age": "5 to 9", + "male": 33641, + "female": 31763 + }, { + "age": "50 to 54", + "male": 36761, + "female": 37476 + }, { + "age": "55 to 59", + "male": 38291, + "female": 40028 + }, { + "age": "60 to 64", + "male": 35306, + "female": 35021 + }, { + "age": "65 to 69", + "male": 27786, + "female": 27047 + }, { + "age": "70 to 74", + "male": 19708, + "female": 19938 + }, { + "age": "75 to 79", + "male": 13344, + "female": 14751 + }, { + "age": "80 to 84", + "male": 9435, + "female": 11392 + }, { + "age": "85 and Older", + "male": 7361, + "female": 13519 + } + ], + "NC": [{ + "age": "0 to 5", + "male": 311288, + "female": 299882 + }, { + "age": "10 to 14", + "male": 333622, + "female": 316123 + }, { + "age": "15 to 17", + "male": 194507, + "female": 185872 + }, { + "age": "18 to 21", + "male": 299506, + "female": 275504 + }, { + "age": "22 to 24", + "male": 207910, + "female": 196277 + }, { + "age": "25 to 29", + "male": 317709, + "female": 324593 + }, { + "age": "30 to 34", + "male": 311582, + "female": 323483 + }, { + "age": "35 to 39", + "male": 308195, + "female": 319405 + }, { + "age": "40 to 44", + "male": 334818, + "female": 349484 + }, { + "age": "45 to 49", + "male": 331086, + "female": 345940 + }, { + "age": "5 to 9", + "male": 325977, + "female": 316564 + }, { + "age": "50 to 54", + "male": 334674, + "female": 355791 + }, { + "age": "55 to 59", + "male": 308840, + "female": 341170 + }, { + "age": "60 to 64", + "male": 270508, + "female": 303831 + }, { + "age": "65 to 69", + "male": 225997, + "female": 254521 + }, { + "age": "70 to 74", + "male": 154010, + "female": 186677 + }, { + "age": "75 to 79", + "male": 106165, + "female": 139937 + }, { + "age": "80 to 84", + "male": 68871, + "female": 104839 + }, { + "age": "85 and Older", + "male": 50143, + "female": 110032 + } + ], + "ND": [{ + "age": "0 to 5", + "male": 24524, + "female": 24340 + }, { + "age": "10 to 14", + "male": 20939, + "female": 20728 + }, { + "age": "15 to 17", + "male": 13197, + "female": 12227 + }, { + "age": "18 to 21", + "male": 27439, + "female": 22447 + }, { + "age": "22 to 24", + "male": 21413, + "female": 19299 + }, { + "age": "25 to 29", + "male": 29543, + "female": 24602 + }, { + "age": "30 to 34", + "male": 26425, + "female": 22798 + }, { + "age": "35 to 39", + "male": 21846, + "female": 19046 + }, { + "age": "40 to 44", + "male": 20123, + "female": 19010 + }, { + "age": "45 to 49", + "male": 21386, + "female": 20572 + }, { + "age": "5 to 9", + "male": 24336, + "female": 22721 + }, { + "age": "50 to 54", + "male": 25126, + "female": 24631 + }, { + "age": "55 to 59", + "male": 24412, + "female": 24022 + }, { + "age": "60 to 64", + "male": 21598, + "female": 20250 + }, { + "age": "65 to 69", + "male": 14868, + "female": 14633 + }, { + "age": "70 to 74", + "male": 10729, + "female": 11878 + }, { + "age": "75 to 79", + "male": 8086, + "female": 9626 + }, { + "age": "80 to 84", + "male": 6222, + "female": 9241 + }, { + "age": "85 and Older", + "male": 5751, + "female": 11606 + } + ], + "NE": [{ + "age": "0 to 5", + "male": 67062, + "female": 62974 + }, { + "age": "10 to 14", + "male": 64843, + "female": 62695 + }, { + "age": "15 to 17", + "male": 38679, + "female": 36116 + }, { + "age": "18 to 21", + "male": 56143, + "female": 54195 + }, { + "age": "22 to 24", + "male": 40531, + "female": 38139 + }, { + "age": "25 to 29", + "male": 64277, + "female": 61028 + }, { + "age": "30 to 34", + "male": 64230, + "female": 62423 + }, { + "age": "35 to 39", + "male": 57741, + "female": 55950 + }, { + "age": "40 to 44", + "male": 56139, + "female": 54518 + }, { + "age": "45 to 49", + "male": 57526, + "female": 57077 + }, { + "age": "5 to 9", + "male": 68079, + "female": 64509 + }, { + "age": "50 to 54", + "male": 64444, + "female": 65106 + }, { + "age": "55 to 59", + "male": 61285, + "female": 62057 + }, { + "age": "60 to 64", + "male": 52560, + "female": 54977 + }, { + "age": "65 to 69", + "male": 39372, + "female": 41007 + }, { + "age": "70 to 74", + "male": 27091, + "female": 31903 + }, { + "age": "75 to 79", + "male": 20472, + "female": 26808 + }, { + "age": "80 to 84", + "male": 15625, + "female": 21401 + }, { + "age": "85 and Older", + "male": 13507, + "female": 26876 + } + ], + "NH": [{ + "age": "0 to 5", + "male": 33531, + "female": 32061 + }, { + "age": "10 to 14", + "male": 40472, + "female": 39574 + }, { + "age": "15 to 17", + "male": 26632, + "female": 25155 + }, { + "age": "18 to 21", + "male": 39600, + "female": 39270 + }, { + "age": "22 to 24", + "male": 25067, + "female": 23439 + }, { + "age": "25 to 29", + "male": 39514, + "female": 37529 + }, { + "age": "30 to 34", + "male": 37282, + "female": 37104 + }, { + "age": "35 to 39", + "male": 37177, + "female": 38432 + }, { + "age": "40 to 44", + "male": 43571, + "female": 43894 + }, { + "age": "45 to 49", + "male": 50559, + "female": 51423 + }, { + "age": "5 to 9", + "male": 37873, + "female": 36382 + }, { + "age": "50 to 54", + "male": 55573, + "female": 57097 + }, { + "age": "55 to 59", + "male": 50802, + "female": 52906 + }, { + "age": "60 to 64", + "male": 44934, + "female": 45384 + }, { + "age": "65 to 69", + "male": 33322, + "female": 34773 + }, { + "age": "70 to 74", + "male": 22786, + "female": 25421 + }, { + "age": "75 to 79", + "male": 14988, + "female": 18865 + }, { + "age": "80 to 84", + "male": 10661, + "female": 14921 + }, { + "age": "85 and Older", + "male": 9140, + "female": 17087 + } + ], + "NJ": [{ + "age": "0 to 5", + "male": 272239, + "female": 261405 + }, { + "age": "10 to 14", + "male": 296798, + "female": 281395 + }, { + "age": "15 to 17", + "male": 183608, + "female": 174902 + }, { + "age": "18 to 21", + "male": 236406, + "female": 219234 + }, { + "age": "22 to 24", + "male": 171414, + "female": 162551 + }, { + "age": "25 to 29", + "male": 288078, + "female": 278395 + }, { + "age": "30 to 34", + "male": 286242, + "female": 288661 + }, { + "age": "35 to 39", + "male": 278323, + "female": 286407 + }, { + "age": "40 to 44", + "male": 306371, + "female": 315976 + }, { + "age": "45 to 49", + "male": 324604, + "female": 340805 + }, { + "age": "5 to 9", + "male": 280348, + "female": 272618 + }, { + "age": "50 to 54", + "male": 335379, + "female": 351753 + }, { + "age": "55 to 59", + "male": 297889, + "female": 316509 + }, { + "age": "60 to 64", + "male": 243909, + "female": 272971 + }, { + "age": "65 to 69", + "male": 187928, + "female": 216233 + }, { + "age": "70 to 74", + "male": 130458, + "female": 162862 + }, { + "age": "75 to 79", + "male": 92629, + "female": 121544 + }, { + "age": "80 to 84", + "male": 68009, + "female": 107002 + }, { + "age": "85 and Older", + "male": 62395, + "female": 130163 + } + ], + "NM": [{ + "age": "0 to 5", + "male": 70556, + "female": 67433 + }, { + "age": "10 to 14", + "male": 72070, + "female": 69774 + }, { + "age": "15 to 17", + "male": 42831, + "female": 41474 + }, { + "age": "18 to 21", + "male": 61671, + "female": 59289 + }, { + "age": "22 to 24", + "male": 47139, + "female": 41506 + }, { + "age": "25 to 29", + "male": 73009, + "female": 67866 + }, { + "age": "30 to 34", + "male": 69394, + "female": 66383 + }, { + "age": "35 to 39", + "male": 62108, + "female": 60810 + }, { + "age": "40 to 44", + "male": 61075, + "female": 61508 + }, { + "age": "45 to 49", + "male": 62327, + "female": 64988 + }, { + "age": "5 to 9", + "male": 72877, + "female": 69675 + }, { + "age": "50 to 54", + "male": 69856, + "female": 73683 + }, { + "age": "55 to 59", + "male": 66381, + "female": 73952 + }, { + "age": "60 to 64", + "male": 61719, + "female": 66285 + }, { + "age": "65 to 69", + "male": 48657, + "female": 54175 + }, { + "age": "70 to 74", + "male": 35942, + "female": 39668 + }, { + "age": "75 to 79", + "male": 24922, + "female": 29968 + }, { + "age": "80 to 84", + "male": 16894, + "female": 21049 + }, { + "age": "85 and Older", + "male": 12986, + "female": 22217 + } + ], + "NV": [{ + "age": "0 to 5", + "male": 91556, + "female": 87252 + }, { + "age": "10 to 14", + "male": 92376, + "female": 90127 + }, { + "age": "15 to 17", + "male": 56635, + "female": 53976 + }, { + "age": "18 to 21", + "male": 72185, + "female": 68570 + }, { + "age": "22 to 24", + "male": 57429, + "female": 54635 + }, { + "age": "25 to 29", + "male": 103079, + "female": 98260 + }, { + "age": "30 to 34", + "male": 101626, + "female": 97574 + }, { + "age": "35 to 39", + "male": 95952, + "female": 91752 + }, { + "age": "40 to 44", + "male": 98405, + "female": 96018 + }, { + "age": "45 to 49", + "male": 98297, + "female": 92880 + }, { + "age": "5 to 9", + "male": 97639, + "female": 92019 + }, { + "age": "50 to 54", + "male": 96647, + "female": 93838 + }, { + "age": "55 to 59", + "male": 86430, + "female": 90916 + }, { + "age": "60 to 64", + "male": 79651, + "female": 82206 + }, { + "age": "65 to 69", + "male": 65973, + "female": 70582 + }, { + "age": "70 to 74", + "male": 48879, + "female": 50485 + }, { + "age": "75 to 79", + "male": 31798, + "female": 33652 + }, { + "age": "80 to 84", + "male": 19722, + "female": 23399 + }, { + "age": "85 and Older", + "male": 13456, + "female": 22760 + } + ], + "NY": [{ + "age": "0 to 5", + "male": 601900, + "female": 574532 + }, { + "age": "10 to 14", + "male": 602877, + "female": 576846 + }, { + "age": "15 to 17", + "male": 381224, + "female": 364149 + }, { + "age": "18 to 21", + "male": 579276, + "female": 563517 + }, { + "age": "22 to 24", + "male": 423461, + "female": 419351 + }, { + "age": "25 to 29", + "male": 722290, + "female": 728064 + }, { + "age": "30 to 34", + "male": 668918, + "female": 684340 + }, { + "age": "35 to 39", + "male": 607495, + "female": 628810 + }, { + "age": "40 to 44", + "male": 632186, + "female": 660306 + }, { + "age": "45 to 49", + "male": 674516, + "female": 708960 + }, { + "age": "5 to 9", + "male": 588624, + "female": 561622 + }, { + "age": "50 to 54", + "male": 695357, + "female": 740342 + }, { + "age": "55 to 59", + "male": 633602, + "female": 685163 + }, { + "age": "60 to 64", + "male": 540901, + "female": 604110 + }, { + "age": "65 to 69", + "male": 409399, + "female": 483158 + }, { + "age": "70 to 74", + "male": 287440, + "female": 357971 + }, { + "age": "75 to 79", + "male": 207495, + "female": 274626 + }, { + "age": "80 to 84", + "male": 150642, + "female": 231063 + }, { + "age": "85 and Older", + "male": 134198, + "female": 284443 + } + ], + "OH": [{ + "age": "0 to 5", + "male": 356598, + "female": 339398 + }, { + "age": "10 to 14", + "male": 385542, + "female": 371142 + }, { + "age": "15 to 17", + "male": 239825, + "female": 228296 + }, { + "age": "18 to 21", + "male": 331115, + "female": 318019 + }, { + "age": "22 to 24", + "male": 227916, + "female": 225400 + }, { + "age": "25 to 29", + "male": 369646, + "female": 367475 + }, { + "age": "30 to 34", + "male": 356757, + "female": 359375 + }, { + "age": "35 to 39", + "male": 338273, + "female": 340410 + }, { + "age": "40 to 44", + "male": 368578, + "female": 375476 + }, { + "age": "45 to 49", + "male": 385388, + "female": 394341 + }, { + "age": "5 to 9", + "male": 376976, + "female": 358242 + }, { + "age": "50 to 54", + "male": 420561, + "female": 438290 + }, { + "age": "55 to 59", + "male": 403067, + "female": 427137 + }, { + "age": "60 to 64", + "male": 350563, + "female": 374890 + }, { + "age": "65 to 69", + "male": 262844, + "female": 292745 + }, { + "age": "70 to 74", + "male": 183419, + "female": 222552 + }, { + "age": "75 to 79", + "male": 131940, + "female": 173303 + }, { + "age": "80 to 84", + "male": 93267, + "female": 140079 + }, { + "age": "85 and Older", + "male": 80618, + "female": 166514 + } + ], + "OK": [{ + "age": "0 to 5", + "male": 135423, + "female": 130297 + }, { + "age": "10 to 14", + "male": 133539, + "female": 128110 + }, { + "age": "15 to 17", + "male": 79207, + "female": 74080 + }, { + "age": "18 to 21", + "male": 115423, + "female": 107651 + }, { + "age": "22 to 24", + "male": 85610, + "female": 80749 + }, { + "age": "25 to 29", + "male": 135217, + "female": 130966 + }, { + "age": "30 to 34", + "male": 132683, + "female": 128496 + }, { + "age": "35 to 39", + "male": 118240, + "female": 116104 + }, { + "age": "40 to 44", + "male": 118534, + "female": 117501 + }, { + "age": "45 to 49", + "male": 117065, + "female": 118300 + }, { + "age": "5 to 9", + "male": 137212, + "female": 130040 + }, { + "age": "50 to 54", + "male": 129964, + "female": 132941 + }, { + "age": "55 to 59", + "male": 121988, + "female": 129033 + }, { + "age": "60 to 64", + "male": 105018, + "female": 113144 + }, { + "age": "65 to 69", + "male": 82818, + "female": 93914 + }, { + "age": "70 to 74", + "male": 62979, + "female": 71856 + }, { + "age": "75 to 79", + "male": 43899, + "female": 54848 + }, { + "age": "80 to 84", + "male": 29237, + "female": 42044 + }, { + "age": "85 and Older", + "male": 22888, + "female": 42715 + } + ], + "OR": [{ + "age": "0 to 5", + "male": 118561, + "female": 112841 + }, { + "age": "10 to 14", + "male": 123223, + "female": 116373 + }, { + "age": "15 to 17", + "male": 75620, + "female": 71764 + }, { + "age": "18 to 21", + "male": 106121, + "female": 103044 + }, { + "age": "22 to 24", + "male": 79106, + "female": 75639 + }, { + "age": "25 to 29", + "male": 134241, + "female": 131539 + }, { + "age": "30 to 34", + "male": 137090, + "female": 135734 + }, { + "age": "35 to 39", + "male": 128812, + "female": 126071 + }, { + "age": "40 to 44", + "male": 131405, + "female": 126875 + }, { + "age": "45 to 49", + "male": 125373, + "female": 125074 + }, { + "age": "5 to 9", + "male": 122920, + "female": 119049 + }, { + "age": "50 to 54", + "male": 131932, + "female": 137021 + }, { + "age": "55 to 59", + "male": 130434, + "female": 141380 + }, { + "age": "60 to 64", + "male": 129063, + "female": 136051 + }, { + "age": "65 to 69", + "male": 99577, + "female": 106208 + }, { + "age": "70 to 74", + "male": 69028, + "female": 77428 + }, { + "age": "75 to 79", + "male": 46055, + "female": 53682 + }, { + "age": "80 to 84", + "male": 30900, + "female": 41853 + }, { + "age": "85 and Older", + "male": 28992, + "female": 53154 + } + ], + "PA": [{ + "age": "0 to 5", + "male": 367290, + "female": 350371 + }, { + "age": "10 to 14", + "male": 393719, + "female": 374666 + }, { + "age": "15 to 17", + "male": 250754, + "female": 236670 + }, { + "age": "18 to 21", + "male": 378940, + "female": 369819 + }, { + "age": "22 to 24", + "male": 251063, + "female": 243391 + }, { + "age": "25 to 29", + "male": 420247, + "female": 410193 + }, { + "age": "30 to 34", + "male": 391190, + "female": 387225 + }, { + "age": "35 to 39", + "male": 365742, + "female": 365646 + }, { + "age": "40 to 44", + "male": 399152, + "female": 405848 + }, { + "age": "45 to 49", + "male": 435250, + "female": 446328 + }, { + "age": "5 to 9", + "male": 381910, + "female": 366854 + }, { + "age": "50 to 54", + "male": 472070, + "female": 489057 + }, { + "age": "55 to 59", + "male": 456215, + "female": 475044 + }, { + "age": "60 to 64", + "male": 390595, + "female": 419924 + }, { + "age": "65 to 69", + "male": 301610, + "female": 335127 + }, { + "age": "70 to 74", + "male": 212200, + "female": 256188 + }, { + "age": "75 to 79", + "male": 156335, + "female": 205974 + }, { + "age": "80 to 84", + "male": 117050, + "female": 178358 + }, { + "age": "85 and Older", + "male": 104012, + "female": 217532 + } + ], + "RI": [{ + "age": "0 to 5", + "male": 28289, + "female": 26941 + }, { + "age": "10 to 14", + "male": 31383, + "female": 30724 + }, { + "age": "15 to 17", + "male": 20093, + "female": 19249 + }, { + "age": "18 to 21", + "male": 35376, + "female": 37870 + }, { + "age": "22 to 24", + "male": 23397, + "female": 21358 + }, { + "age": "25 to 29", + "male": 35958, + "female": 34710 + }, { + "age": "30 to 34", + "male": 32410, + "female": 32567 + }, { + "age": "35 to 39", + "male": 30325, + "female": 31145 + }, { + "age": "40 to 44", + "male": 32542, + "female": 34087 + }, { + "age": "45 to 49", + "male": 36151, + "female": 38462 + }, { + "age": "5 to 9", + "male": 30462, + "female": 27878 + }, { + "age": "50 to 54", + "male": 38419, + "female": 41642 + }, { + "age": "55 to 59", + "male": 36706, + "female": 39127 + }, { + "age": "60 to 64", + "male": 30349, + "female": 33752 + }, { + "age": "65 to 69", + "male": 23462, + "female": 26311 + }, { + "age": "70 to 74", + "male": 16385, + "female": 19335 + }, { + "age": "75 to 79", + "male": 10978, + "female": 14833 + }, { + "age": "80 to 84", + "male": 9224, + "female": 13439 + }, { + "age": "85 and Older", + "male": 8479, + "female": 19843 + } + ], + "SC": [{ + "age": "0 to 5", + "male": 148363, + "female": 144218 + }, { + "age": "10 to 14", + "male": 153051, + "female": 148064 + }, { + "age": "15 to 17", + "male": 92781, + "female": 88090 + }, { + "age": "18 to 21", + "male": 150464, + "female": 136857 + }, { + "age": "22 to 24", + "male": 99237, + "female": 99178 + }, { + "age": "25 to 29", + "male": 156273, + "female": 156982 + }, { + "age": "30 to 34", + "male": 148237, + "female": 153197 + }, { + "age": "35 to 39", + "male": 139949, + "female": 146281 + }, { + "age": "40 to 44", + "male": 151524, + "female": 157192 + }, { + "age": "45 to 49", + "male": 153110, + "female": 163562 + }, { + "age": "5 to 9", + "male": 156323, + "female": 150943 + }, { + "age": "50 to 54", + "male": 161003, + "female": 173752 + }, { + "age": "55 to 59", + "male": 150770, + "female": 169238 + }, { + "age": "60 to 64", + "male": 141268, + "female": 160890 + }, { + "age": "65 to 69", + "male": 120618, + "female": 137154 + }, { + "age": "70 to 74", + "male": 85197, + "female": 97581 + }, { + "age": "75 to 79", + "male": 55278, + "female": 69067 + }, { + "age": "80 to 84", + "male": 33979, + "female": 50585 + }, { + "age": "85 and Older", + "male": 24984, + "female": 52336 + } + ], + "SD": [{ + "age": "0 to 5", + "male": 30615, + "female": 29377 + }, { + "age": "10 to 14", + "male": 28360, + "female": 26492 + }, { + "age": "15 to 17", + "male": 17193, + "female": 16250 + }, { + "age": "18 to 21", + "male": 25514, + "female": 24234 + }, { + "age": "22 to 24", + "male": 18413, + "female": 16324 + }, { + "age": "25 to 29", + "male": 29131, + "female": 26757 + }, { + "age": "30 to 34", + "male": 28133, + "female": 26710 + }, { + "age": "35 to 39", + "male": 24971, + "female": 23347 + }, { + "age": "40 to 44", + "male": 24234, + "female": 23231 + }, { + "age": "45 to 49", + "male": 25555, + "female": 24867 + }, { + "age": "5 to 9", + "male": 30399, + "female": 28980 + }, { + "age": "50 to 54", + "male": 29754, + "female": 29530 + }, { + "age": "55 to 59", + "male": 29075, + "female": 28968 + }, { + "age": "60 to 64", + "male": 25633, + "female": 25530 + }, { + "age": "65 to 69", + "male": 19320, + "female": 18489 + }, { + "age": "70 to 74", + "male": 12964, + "female": 14702 + }, { + "age": "75 to 79", + "male": 9646, + "female": 12077 + }, { + "age": "80 to 84", + "male": 7669, + "female": 10566 + }, { + "age": "85 and Older", + "male": 6898, + "female": 13282 + } + ], + "TN": [{ + "age": "0 to 5", + "male": 204457, + "female": 196347 + }, { + "age": "10 to 14", + "male": 217061, + "female": 206350 + }, { + "age": "15 to 17", + "male": 129690, + "female": 124122 + }, { + "age": "18 to 21", + "male": 183910, + "female": 175377 + }, { + "age": "22 to 24", + "male": 132501, + "female": 134905 + }, { + "age": "25 to 29", + "male": 210618, + "female": 214944 + }, { + "age": "30 to 34", + "male": 209305, + "female": 214151 + }, { + "age": "35 to 39", + "male": 200270, + "female": 207520 + }, { + "age": "40 to 44", + "male": 216542, + "female": 219178 + }, { + "age": "45 to 49", + "male": 217059, + "female": 224473 + }, { + "age": "5 to 9", + "male": 210365, + "female": 204494 + }, { + "age": "50 to 54", + "male": 223663, + "female": 238025 + }, { + "age": "55 to 59", + "male": 210228, + "female": 229974 + }, { + "age": "60 to 64", + "male": 186739, + "female": 207022 + }, { + "age": "65 to 69", + "male": 153737, + "female": 171357 + }, { + "age": "70 to 74", + "male": 108743, + "female": 125362 + }, { + "age": "75 to 79", + "male": 72813, + "female": 94077 + }, { + "age": "80 to 84", + "male": 46556, + "female": 71212 + }, { + "age": "85 and Older", + "male": 33499, + "female": 72969 + } + ], + "TX": [{ + "age": "0 to 5", + "male": 996070, + "female": 955235 + }, { + "age": "10 to 14", + "male": 998209, + "female": 959762 + }, { + "age": "15 to 17", + "male": 587712, + "female": 561008 + }, { + "age": "18 to 21", + "male": 818590, + "female": 756451 + }, { + "age": "22 to 24", + "male": 582570, + "female": 556850 + }, { + "age": "25 to 29", + "male": 982673, + "female": 948564 + }, { + "age": "30 to 34", + "male": 961403, + "female": 947710 + }, { + "age": "35 to 39", + "male": 897542, + "female": 898907 + }, { + "age": "40 to 44", + "male": 897922, + "female": 908091 + }, { + "age": "45 to 49", + "male": 857621, + "female": 865642 + }, { + "age": "5 to 9", + "male": 1021123, + "female": 979891 + }, { + "age": "50 to 54", + "male": 861849, + "female": 880746 + }, { + "age": "55 to 59", + "male": 761410, + "female": 799294 + }, { + "age": "60 to 64", + "male": 635465, + "female": 692072 + }, { + "age": "65 to 69", + "male": 483436, + "female": 533368 + }, { + "age": "70 to 74", + "male": 330457, + "female": 389996 + }, { + "age": "75 to 79", + "male": 228243, + "female": 289446 + }, { + "age": "80 to 84", + "male": 153391, + "female": 219572 + }, { + "age": "85 and Older", + "male": 115630, + "female": 224693 + } + ], + "UT": [{ + "age": "0 to 5", + "male": 130873, + "female": 124371 + }, { + "age": "10 to 14", + "male": 128076, + "female": 120364 + }, { + "age": "15 to 17", + "male": 70832, + "female": 66798 + }, { + "age": "18 to 21", + "male": 87877, + "female": 92950 + }, { + "age": "22 to 24", + "male": 79431, + "female": 71405 + }, { + "age": "25 to 29", + "male": 109125, + "female": 106576 + }, { + "age": "30 to 34", + "male": 115198, + "female": 110546 + }, { + "age": "35 to 39", + "male": 102771, + "female": 99664 + }, { + "age": "40 to 44", + "male": 88181, + "female": 83229 + }, { + "age": "45 to 49", + "male": 76552, + "female": 74993 + }, { + "age": "5 to 9", + "male": 131094, + "female": 125110 + }, { + "age": "50 to 54", + "male": 76913, + "female": 78113 + }, { + "age": "55 to 59", + "male": 71490, + "female": 73221 + }, { + "age": "60 to 64", + "male": 60996, + "female": 63835 + }, { + "age": "65 to 69", + "male": 45491, + "female": 49273 + }, { + "age": "70 to 74", + "male": 32191, + "female": 35931 + }, { + "age": "75 to 79", + "male": 23112, + "female": 27761 + }, { + "age": "80 to 84", + "male": 15827, + "female": 20155 + }, { + "age": "85 and Older", + "male": 13199, + "female": 19855 + } + ], + "VA": [{ + "age": "0 to 5", + "male": 262278, + "female": 250000 + }, { + "age": "10 to 14", + "male": 266247, + "female": 251516 + }, { + "age": "15 to 17", + "male": 160174, + "female": 153149 + }, { + "age": "18 to 21", + "male": 248284, + "female": 233796 + }, { + "age": "22 to 24", + "male": 175833, + "female": 167676 + }, { + "age": "25 to 29", + "male": 296682, + "female": 287052 + }, { + "age": "30 to 34", + "male": 286536, + "female": 283804 + }, { + "age": "35 to 39", + "male": 264490, + "female": 265951 + }, { + "age": "40 to 44", + "male": 278474, + "female": 286095 + }, { + "age": "45 to 49", + "male": 286793, + "female": 297558 + }, { + "age": "5 to 9", + "male": 264413, + "female": 256891 + }, { + "age": "50 to 54", + "male": 296096, + "female": 309898 + }, { + "age": "55 to 59", + "male": 262954, + "female": 283219 + }, { + "age": "60 to 64", + "male": 228721, + "female": 250389 + }, { + "age": "65 to 69", + "male": 178498, + "female": 197033 + }, { + "age": "70 to 74", + "male": 123597, + "female": 146376 + }, { + "age": "75 to 79", + "male": 82281, + "female": 103044 + }, { + "age": "80 to 84", + "male": 55037, + "female": 80081 + }, { + "age": "85 and Older", + "male": 43560, + "female": 92154 + } + ], + "VT": [{ + "age": "0 to 5", + "male": 15766, + "female": 14629 + }, { + "age": "10 to 14", + "male": 18674, + "female": 17317 + }, { + "age": "15 to 17", + "male": 11909, + "female": 11565 + }, { + "age": "18 to 21", + "male": 21686, + "female": 20502 + }, { + "age": "22 to 24", + "male": 12648, + "female": 11840 + }, { + "age": "25 to 29", + "male": 18005, + "female": 17548 + }, { + "age": "30 to 34", + "male": 17565, + "female": 18161 + }, { + "age": "35 to 39", + "male": 16856, + "female": 17454 + }, { + "age": "40 to 44", + "male": 19431, + "female": 19600 + }, { + "age": "45 to 49", + "male": 21315, + "female": 22377 + }, { + "age": "5 to 9", + "male": 17073, + "female": 16338 + }, { + "age": "50 to 54", + "male": 24629, + "female": 26080 + }, { + "age": "55 to 59", + "male": 24925, + "female": 25588 + }, { + "age": "60 to 64", + "male": 21769, + "female": 23081 + }, { + "age": "65 to 69", + "male": 16842, + "female": 17925 + }, { + "age": "70 to 74", + "male": 11855, + "female": 12331 + }, { + "age": "75 to 79", + "male": 7639, + "female": 9192 + }, { + "age": "80 to 84", + "male": 5291, + "female": 8001 + }, { + "age": "85 and Older", + "male": 4695, + "female": 8502 + } + ], + "WA": [{ + "age": "0 to 5", + "male": 228403, + "female": 217400 + }, { + "age": "10 to 14", + "male": 224142, + "female": 217269 + }, { + "age": "15 to 17", + "male": 136967, + "female": 130193 + }, { + "age": "18 to 21", + "male": 195001, + "female": 179996 + }, { + "age": "22 to 24", + "male": 151577, + "female": 140876 + }, { + "age": "25 to 29", + "male": 260873, + "female": 244497 + }, { + "age": "30 to 34", + "male": 252612, + "female": 243147 + }, { + "age": "35 to 39", + "male": 230325, + "female": 223596 + }, { + "age": "40 to 44", + "male": 234066, + "female": 228073 + }, { + "age": "45 to 49", + "male": 233107, + "female": 230232 + }, { + "age": "5 to 9", + "male": 227824, + "female": 214378 + }, { + "age": "50 to 54", + "male": 245685, + "female": 247691 + }, { + "age": "55 to 59", + "male": 231612, + "female": 241813 + }, { + "age": "60 to 64", + "male": 206233, + "female": 219560 + }, { + "age": "65 to 69", + "male": 158697, + "female": 170678 + }, { + "age": "70 to 74", + "male": 107931, + "female": 118093 + }, { + "age": "75 to 79", + "male": 70497, + "female": 83476 + }, { + "age": "80 to 84", + "male": 48802, + "female": 66167 + }, { + "age": "85 and Older", + "male": 43371, + "female": 80604 + } + ], + "WI": [{ + "age": "0 to 5", + "male": 176217, + "female": 168178 + }, { + "age": "10 to 14", + "male": 191911, + "female": 180587 + }, { + "age": "15 to 17", + "male": 115730, + "female": 110660 + }, { + "age": "18 to 21", + "male": 167063, + "female": 161358 + }, { + "age": "22 to 24", + "male": 117861, + "female": 113393 + }, { + "age": "25 to 29", + "male": 183464, + "female": 176718 + }, { + "age": "30 to 34", + "male": 187494, + "female": 181605 + }, { + "age": "35 to 39", + "male": 172689, + "female": 168116 + }, { + "age": "40 to 44", + "male": 179862, + "female": 176322 + }, { + "age": "45 to 49", + "male": 198114, + "female": 197462 + }, { + "age": "5 to 9", + "male": 186006, + "female": 180034 + }, { + "age": "50 to 54", + "male": 217886, + "female": 219813 + }, { + "age": "55 to 59", + "male": 204370, + "female": 206108 + }, { + "age": "60 to 64", + "male": 176161, + "female": 178738 + }, { + "age": "65 to 69", + "male": 130349, + "female": 136552 + }, { + "age": "70 to 74", + "male": 90955, + "female": 103217 + }, { + "age": "75 to 79", + "male": 65738, + "female": 81341 + }, { + "age": "80 to 84", + "male": 48337, + "female": 67614 + }, { + "age": "85 and Older", + "male": 41178, + "female": 82916 + } + ], + "WV": [{ + "age": "0 to 5", + "male": 52472, + "female": 50287 + }, { + "age": "10 to 14", + "male": 55269, + "female": 52689 + }, { + "age": "15 to 17", + "male": 34100, + "female": 32359 + }, { + "age": "18 to 21", + "male": 51801, + "female": 48967 + }, { + "age": "22 to 24", + "male": 35920, + "female": 34241 + }, { + "age": "25 to 29", + "male": 54564, + "female": 52255 + }, { + "age": "30 to 34", + "male": 56430, + "female": 55121 + }, { + "age": "35 to 39", + "male": 55764, + "female": 55399 + }, { + "age": "40 to 44", + "male": 60662, + "female": 59373 + }, { + "age": "45 to 49", + "male": 61771, + "female": 61257 + }, { + "age": "5 to 9", + "male": 53707, + "female": 51490 + }, { + "age": "50 to 54", + "male": 66156, + "female": 68671 + }, { + "age": "55 to 59", + "male": 66936, + "female": 71680 + }, { + "age": "60 to 64", + "male": 65717, + "female": 67056 + }, { + "age": "65 to 69", + "male": 51285, + "female": 54807 + }, { + "age": "70 to 74", + "male": 36504, + "female": 39946 + }, { + "age": "75 to 79", + "male": 25738, + "female": 31619 + }, { + "age": "80 to 84", + "male": 16397, + "female": 24351 + }, { + "age": "85 and Older", + "male": 12438, + "female": 26221 + } + ], + "WY": [{ + "age": "0 to 5", + "male": 19649, + "female": 18996 + }, { + "age": "10 to 14", + "male": 20703, + "female": 17785 + }, { + "age": "15 to 17", + "male": 11500, + "female": 10383 + }, { + "age": "18 to 21", + "male": 18008, + "female": 15534 + }, { + "age": "22 to 24", + "male": 12727, + "female": 11405 + }, { + "age": "25 to 29", + "male": 21459, + "female": 19350 + }, { + "age": "30 to 34", + "male": 21008, + "female": 19465 + }, { + "age": "35 to 39", + "male": 18573, + "female": 17022 + }, { + "age": "40 to 44", + "male": 17553, + "female": 16402 + }, { + "age": "45 to 49", + "male": 17580, + "female": 16702 + }, { + "age": "5 to 9", + "male": 19198, + "female": 19519 + }, { + "age": "50 to 54", + "male": 20337, + "female": 20958 + }, { + "age": "55 to 59", + "male": 21523, + "female": 21000 + }, { + "age": "60 to 64", + "male": 19048, + "female": 18292 + }, { + "age": "65 to 69", + "male": 13999, + "female": 13130 + }, { + "age": "70 to 74", + "male": 8710, + "female": 9880 + }, { + "age": "75 to 79", + "male": 6149, + "female": 6938 + }, { + "age": "80 to 84", + "male": 4442, + "female": 5560 + }, { + "age": "85 and Older", + "male": 3395, + "female": 5797 + } + ]}; + + function aggregateData(list) { + var maleTotal = 0; + var femaleTotal = 0; + + for(var i = 0; i < list.length; i++) { + var row = list[i]; + maleTotal += row.male; + femaleTotal += row.female; + } + + for(var i = 0; i < list.length; i++) { + var row = list[i]; + row.malePercent = -1 * Math.round((row.male / maleTotal) * 10000) / 100; + row.femalePercent = Math.round((row.female / femaleTotal) * 10000) / 100; + } + + return list; + } + + usData = aggregateData(usData); + + + // =========================================================== + // Root and wrapper container + // =========================================================== + + // Create root and chart + var root = am5.Root.new(element); + + // Set themes + root.setThemes([ + am5themes_Animated.new(root) + ]); + + // Create wrapper container + var container = root.container.children.push(am5.Container.new(root, { + layout: root.horizontalLayout, + width: am5.p100, + height: am5.p100 + })) + + // Set up formats + root.numberFormatter.setAll({ + numberFormat: "#.##as" + }); + + + // =========================================================== + // XY chart + // =========================================================== + + // Create chart + var chart = container.children.push(am5xy.XYChart.new(root, { + panX: false, + panY: false, + wheelX: "none", + wheelY: "none", + layout: root.verticalLayout, + width: am5.percent(60) + })); + + // Create axes + var yAxis1 = chart.yAxes.push(am5xy.CategoryAxis.new(root, { + categoryField: "age", + renderer: am5xy.AxisRendererY.new(root, {}) + })); + + yAxis1.get("renderer").labels.template.setAll({ + paddingTop: 0, + fontWeight: "400", + fontSize: 11, + fill: am5.color(KTUtil.getCssVariableValue("--bs-gray-500")), + }); + + yAxis1.get("renderer").grid.template.setAll({ + stroke: am5.color(KTUtil.getCssVariableValue("--bs-gray-300")), + strokeWidth: 1, + strokeOpacity: 1, + strokeDasharray: [3], + }); + + yAxis1.data.setAll(usData); + + var yAxis2 = chart.yAxes.push(am5xy.CategoryAxis.new(root, { + categoryField: "age", + renderer: am5xy.AxisRendererY.new(root, { + opposite: true + }) + })); + + yAxis2.get("renderer").grid.template.setAll({ + stroke: am5.color(KTUtil.getCssVariableValue("--bs-gray-300")), + strokeWidth: 1, + strokeOpacity: 1, + strokeDasharray: [3], + }); + + yAxis2.get("renderer").labels.template.setAll({ + paddingTop: 0, + fontWeight: "400", + fontSize: 11, + fill: am5.color(KTUtil.getCssVariableValue("--bs-gray-500")), + }); + + yAxis2.data.setAll(usData); + + var xAxis = chart.xAxes.push(am5xy.ValueAxis.new(root, { + min: -10, + max: 10, + numberFormat: "#.s'%'", + renderer: am5xy.AxisRendererX.new(root, { + minGridDistance: 40 + }) + })); + + xAxis.get("renderer").labels.template.setAll({ + paddingTop: 20, + fontWeight: "400", + fontSize: 11, + fill: am5.color(KTUtil.getCssVariableValue("--bs-gray-500")), + }); + + xAxis.get("renderer").grid.template.setAll({ + disabled: true, + strokeOpacity: 0, + }); + + // Create series + var maleSeries = chart.series.push(am5xy.ColumnSeries.new(root, { + name: "Males", + xAxis: xAxis, + yAxis: yAxis1, + valueXField: "malePercent", + categoryYField: "age", + fill: am5.color(KTUtil.getCssVariableValue("--bs-success")), + clustered: false, + })); + + maleSeries.columns.template.setAll({ + tooltipText: "Males, age {categoryY}: {male} ({malePercent.formatNumber('#.0s')}%)", + tooltipX: am5.p100, + cornerRadiusBR: 4, + cornerRadiusTR: 4, + cornerRadiusBL: 0, + cornerRadiusTL: 0, + }); + + maleSeries.data.setAll(usData); + + var femaleSeries = chart.series.push(am5xy.ColumnSeries.new(root, { + name: "Males", + xAxis: xAxis, + yAxis: yAxis1, + valueXField: "femalePercent", + categoryYField: "age", + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + clustered: false, + })); + + femaleSeries.columns.template.setAll({ + tooltipText: "Males, age {categoryY}: {female} ({femalePercent.formatNumber('#.0s')}%)", + tooltipX: am5.p100, + cornerRadiusBR: 4, + cornerRadiusTR: 4, + cornerRadiusBL: 0, + cornerRadiusTL: 0, + }); + + femaleSeries.data.setAll(usData); + + // Add labels + var maleLabel = chart.plotContainer.children.push(am5.Label.new(root, { + text: "Males", + fontSize: 13, + fontWeight: '500', + y: 5, + x: 5, + //centerX: am5.p50, + fill: maleSeries.get("fill") + })); + + var femaleLabel = chart.plotContainer.children.push(am5.Label.new(root, { + text: "Females", + fontSize: 13, + fontWeight: '500', + y: 5, + x: am5.p100, + centerX: am5.p100, + dx: -5, + fill: femaleSeries.get("fill") + })); + + // =========================================================== + // Map chart + // =========================================================== + + // Create chart + var map = container.children.push( + am5map.MapChart.new(root, { + panX: "none", + panY: "none", + wheelY: "none", + projection: am5map.geoAlbersUsa(), + width: am5.percent(40) + }) + ); + + chart.getTooltip().set("autoTextColor", false); + + // Title + var title = map.children.push(am5.Label.new(root, { + text: "United States", + fontSize: 14, + fontWeight: '500', + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-800')), + y: 20, + x: am5.p50, + centerX: am5.p50 + })); + + // Create polygon series + var polygonSeries = map.series.push( + am5map.MapPolygonSeries.new(root, { + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-300')), + geoJSON: am5geodata_usaLow + }) + ); + + polygonSeries.mapPolygons.template.setAll({ + tooltipText: "{name}", + interactive: true + }); + + polygonSeries.mapPolygons.template.states.create("hover", { + fill: am5.color(KTUtil.getCssVariableValue('--bs-success')), + }); + + polygonSeries.mapPolygons.template.states.create("active", { + fill: am5.color(KTUtil.getCssVariableValue('--bs-success')), + }); + + var activePolygon; + polygonSeries.mapPolygons.template.events.on("click", function(ev) { + if (activePolygon) { + activePolygon.set("active", false); + } + activePolygon = ev.target; + activePolygon.set("active", true); + var state = ev.target.dataItem.dataContext.id.split("-").pop(); + var data = aggregateData(stateData[state]); + + for(var i = 0; i < data.length; i++){ + maleSeries.data.setIndex(i, data[i]); + femaleSeries.data.setIndex(i, data[i]); + } + + title.set("text", ev.target.dataItem.dataContext.name); + }); + }); // end am5.ready() + }; + + // Public methods + return { + init: function () { + initChart(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget24; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget24.init(); +}); + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-25.js b/resources/assets/core/js/widgets/charts/widget-25.js new file mode 100644 index 0000000..110056c --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-25.js @@ -0,0 +1,587 @@ +"use strict"; + +// Class definition +var KTChartsWidget25 = (function () { + // Private methods + var initChart1 = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_25_chart_1"); + + if (!element) { + return; + } + + // On amchart ready + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/radar-chart/ + var chart = root.container.children.push( + am5radar.RadarChart.new(root, { + panX: false, + panY: false, + wheelX: "panX", + wheelY: "zoomX", + innerRadius: am5.percent(40), + radius: am5.percent(70), + arrangeTooltips: false, + }) + ); + + var cursor = chart.set( + "cursor", + am5radar.RadarCursor.new(root, { + behavior: "zoomX", + }) + ); + + cursor.lineY.set("visible", false); + + // Create axes and their renderers + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_axes + var xRenderer = am5radar.AxisRendererCircular.new(root, { + minGridDistance: 30, + }); + xRenderer.labels.template.setAll({ + textType: "radial", + radius: 10, + paddingTop: 0, + paddingBottom: 0, + centerY: am5.p50, + fontWeight: "400", + fontSize: 11, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-700')) + }); + + xRenderer.grid.template.setAll({ + location: 0.5, + strokeDasharray: [2, 2], + }); + + var xAxis = chart.xAxes.push( + am5xy.CategoryAxis.new(root, { + maxDeviation: 0, + categoryField: "name", + renderer: xRenderer + }) + ); + + var yRenderer = am5radar.AxisRendererRadial.new(root, { + minGridDistance: 30, + }); + + var yAxis = chart.yAxes.push( + am5xy.ValueAxis.new(root, { + renderer: yRenderer, + }) + ); + + yRenderer.grid.template.setAll({ + strokeDasharray: [2, 2], + }); + + // Create series + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_series + var series1 = chart.series.push( + am5radar.RadarLineSeries.new(root, { + name: "Revenue", + xAxis: xAxis, + yAxis: yAxis, + valueYField: "value1", + categoryXField: "name", + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + }) + ); + + series1.strokes.template.setAll({ + strokeOpacity: 0, + }); + + series1.fills.template.setAll({ + visible: true, + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + fillOpacity: 0.5, + }); + + var series2 = chart.series.push( + am5radar.RadarLineSeries.new(root, { + name: "Expense", + xAxis: xAxis, + yAxis: yAxis, + valueYField: "value2", + categoryXField: "name", + stacked: true, + tooltip: am5.Tooltip.new(root, { + labelText: "Revenue: {value1}\nExpense:{value2}", + }), + fill: am5.color(KTUtil.getCssVariableValue("--bs-success")), + }) + ); + + series2.strokes.template.setAll({ + strokeOpacity: 0, + }); + + series2.fills.template.setAll({ + visible: true, + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + fillOpacity: 0.5, + }); + + var legend = chart.radarContainer.children.push( + am5.Legend.new(root, { + width: 150, + centerX: am5.p50, + centerY: am5.p50, + }) + ); + legend.data.setAll([series1, series2]); + + // Set data + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Setting_data + var data = [ + { + name: "Openlane", + value1: 160.2, + value2: 26.9, + }, + { + name: "Yearin", + value1: 120.1, + value2: 50.5, + }, + { + name: "Goodsilron", + value1: 150.7, + value2: 12.3, + }, + { + name: "Condax", + value1: 69.4, + value2: 74.5, + }, + { + name: "Opentech", + value1: 78.5, + value2: 29.7, + }, + { + name: "Golddex", + value1: 77.6, + value2: 102.2, + }, + { + name: "Isdom", + value1: 69.8, + value2: 22.6, + }, + { + name: "Plusstrip", + value1: 63.6, + value2: 45.3, + }, + { + name: "Kinnamplus", + value1: 59.7, + value2: 12.8, + }, + { + name: "Zumgoity", + value1: 64.3, + value2: 19.6, + }, + { + name: "Stanredtax", + value1: 52.9, + value2: 96.3, + }, + { + name: "Conecom", + value1: 42.9, + value2: 11.9, + }, + { + name: "Zencorporation", + value1: 40.9, + value2: 16.8, + }, + { + name: "Iselectrics", + value1: 39.2, + value2: 9.9, + }, + { + name: "Treequote", + value1: 76.6, + value2: 36.9, + }, + { + name: "Sumace", + value1: 34.8, + value2: 14.6, + }, + { + name: "Lexiqvolax", + value1: 32.1, + value2: 35.6, + }, + { + name: "Sunnamplex", + value1: 31.8, + value2: 5.9, + }, + { + name: "Faxquote", + value1: 29.3, + value2: 14.7, + }, + { + name: "Donware", + value1: 23.0, + value2: 2.8, + }, + { + name: "Warephase", + value1: 21.5, + value2: 12.1, + }, + { + name: "Donquadtech", + value1: 19.7, + value2: 10.8, + }, + { + name: "Nam-zim", + value1: 15.5, + value2: 4.1, + }, + { + name: "Y-corporation", + value1: 14.2, + value2: 11.3, + }, + ]; + + series1.data.setAll(data); + series2.data.setAll(data); + xAxis.data.setAll(data); + + // Animate chart and series in + // https://www.amcharts.com/docs/v5/concepts/animations/#Initial_animation + series1.appear(1000); + series2.appear(1000); + chart.appear(1000, 100); + }); // end am5.ready() + }; + + var initChart2 = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_25_chart_2"); + + if (!element) { + return; + } + + // On amchart ready + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/radar-chart/ + var chart = root.container.children.push( + am5radar.RadarChart.new(root, { + panX: false, + panY: false, + wheelX: "panX", + wheelY: "zoomX", + innerRadius: am5.percent(40), + radius: am5.percent(70), + arrangeTooltips: false, + }) + ); + + var cursor = chart.set( + "cursor", + am5radar.RadarCursor.new(root, { + behavior: "zoomX", + }) + ); + + cursor.lineY.set("visible", false); + + // Create axes and their renderers + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_axes + var xRenderer = am5radar.AxisRendererCircular.new(root, { + minGridDistance: 30, + }); + xRenderer.labels.template.setAll({ + textType: "radial", + radius: 10, + paddingTop: 0, + paddingBottom: 0, + centerY: am5.p50, + fontWeight: "400", + fontSize: 11, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-700')) + }); + + xRenderer.grid.template.setAll({ + location: 0.5, + strokeDasharray: [2, 2], + }); + + var xAxis = chart.xAxes.push( + am5xy.CategoryAxis.new(root, { + maxDeviation: 0, + categoryField: "name", + renderer: xRenderer + }) + ); + + var yRenderer = am5radar.AxisRendererRadial.new(root, { + minGridDistance: 30, + }); + + var yAxis = chart.yAxes.push( + am5xy.ValueAxis.new(root, { + renderer: yRenderer, + }) + ); + + yRenderer.grid.template.setAll({ + strokeDasharray: [2, 2], + }); + + // Create series + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_series + var series1 = chart.series.push( + am5radar.RadarLineSeries.new(root, { + name: "Revenue", + xAxis: xAxis, + yAxis: yAxis, + valueYField: "value1", + categoryXField: "name", + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + }) + ); + + series1.strokes.template.setAll({ + strokeOpacity: 0, + }); + + series1.fills.template.setAll({ + visible: true, + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + fillOpacity: 0.5, + }); + + var series2 = chart.series.push( + am5radar.RadarLineSeries.new(root, { + name: "Expense", + xAxis: xAxis, + yAxis: yAxis, + valueYField: "value2", + categoryXField: "name", + stacked: true, + tooltip: am5.Tooltip.new(root, { + labelText: "Revenue: {value1}\nExpense:{value2}", + }), + fill: am5.color(KTUtil.getCssVariableValue("--bs-success")), + }) + ); + + series2.strokes.template.setAll({ + strokeOpacity: 0, + }); + + series2.fills.template.setAll({ + visible: true, + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + fillOpacity: 0.5, + }); + + var legend = chart.radarContainer.children.push( + am5.Legend.new(root, { + width: 150, + centerX: am5.p50, + centerY: am5.p50, + }) + ); + legend.data.setAll([series1, series2]); + + // Set data + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Setting_data + var data = [ + { + name: "Openlane", + value1: 160.2, + value2: 66.9, + }, + { + name: "Yearin", + value1: 150.1, + value2: 50.5, + }, + { + name: "Goodsilron", + value1: 120.7, + value2: 32.3, + }, + { + name: "Condax", + value1: 89.4, + value2: 74.5, + }, + { + name: "Opentech", + value1: 78.5, + value2: 29.7, + }, + { + name: "Golddex", + value1: 77.6, + value2: 102.2, + }, + { + name: "Isdom", + value1: 69.8, + value2: 22.6, + }, + { + name: "Plusstrip", + value1: 63.6, + value2: 45.3, + }, + { + name: "Kinnamplus", + value1: 59.7, + value2: 12.8, + }, + { + name: "Zumgoity", + value1: 54.3, + value2: 19.6, + }, + { + name: "Stanredtax", + value1: 52.9, + value2: 96.3, + }, + { + name: "Conecom", + value1: 42.9, + value2: 11.9, + }, + { + name: "Zencorporation", + value1: 40.9, + value2: 16.8, + }, + { + name: "Iselectrics", + value1: 39.2, + value2: 9.9, + }, + { + name: "Treequote", + value1: 36.6, + value2: 36.9, + }, + { + name: "Sumace", + value1: 34.8, + value2: 14.6, + }, + { + name: "Lexiqvolax", + value1: 32.1, + value2: 35.6, + }, + { + name: "Sunnamplex", + value1: 31.8, + value2: 5.9, + }, + { + name: "Faxquote", + value1: 29.3, + value2: 14.7, + }, + { + name: "Donware", + value1: 23.0, + value2: 2.8, + }, + { + name: "Warephase", + value1: 21.5, + value2: 12.1, + }, + { + name: "Donquadtech", + value1: 19.7, + value2: 10.8, + }, + { + name: "Nam-zim", + value1: 15.5, + value2: 4.1, + }, + { + name: "Y-corporation", + value1: 14.2, + value2: 11.3, + }, + ]; + + series1.data.setAll(data); + series2.data.setAll(data); + xAxis.data.setAll(data); + + // Animate chart and series in + // https://www.amcharts.com/docs/v5/concepts/animations/#Initial_animation + series1.appear(1000); + series2.appear(1000); + chart.appear(1000, 100); + }); // end am5.ready() + }; + + // Public methods + return { + init: function () { + initChart1(); + initChart2(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget25; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget25.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-26.js b/resources/assets/core/js/widgets/charts/widget-26.js new file mode 100644 index 0000000..0ca146c --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-26.js @@ -0,0 +1,176 @@ +"use strict"; + +// Class definition +var KTChartsWidget26 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_26"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-primary'); + var lightColor = KTUtil.getCssVariableValue('--bs-primary'); + var chartInfo = element.getAttribute('data-kt-chart-info'); + + var options = { + series: [{ + name: chartInfo, + data: [34.5, 34.5, 35, 35, 35.5, 35.5, 35, 35, 35.5, 35.5, 35, 35, 34.5, 34.5, 35, 35, 35.5, 35.5, 35] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: "gradient", + gradient: { + shadeIntensity: 1, + opacityFrom: 0.4, + opacityTo: 0, + stops: [0, 80, 100] + } + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: ['', 'Apr 02', 'Apr 03', 'Apr 04', 'Apr 05', 'Apr 06', 'Apr 07', 'Apr 08', 'Apr 09', 'Apr 10', 'Apr 11', 'Apr 12', 'Apr 13', 'Apr 14', 'Apr 17', 'Apr 18', 'Apr 19', 'Apr 21', ''], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + tickAmount: 6, + labels: { + rotate: 0, + rotateAlways: true, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + max: 36.3, + min: 33, + tickAmount: 6, + labels: { + style: { + colors: labelColor, + fontSize: '12px' + }, + formatter: function (val) { + return '$' + parseInt(10 * val) + } + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return '$' + parseInt(10 * val) + } + } + }, + colors: [lightColor], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget26; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget26.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-27.js b/resources/assets/core/js/widgets/charts/widget-27.js new file mode 100644 index 0000000..284584f --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-27.js @@ -0,0 +1,154 @@ +"use strict"; + +// Class definition +var KTChartsWidget27 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_27"); + + if (!element) { + return; + } + + var labelColor = KTUtil.getCssVariableValue('--bs-gray-800'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var maxValue = 18; + + var options = { + series: [{ + name: 'Sessions', + data: [12.478, 7.546, 6.083, 5.041, 4.420] + }], + chart: { + fontFamily: 'inherit', + type: 'bar', + height: 350, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + borderRadius: 8, + horizontal: true, + distributed: true, + barHeight: 50, + dataLabels: { + position: 'bottom' // use 'bottom' for left and 'top' for right align(textAnchor) + } + } + }, + dataLabels: { // Docs: https://apexcharts.com/docs/options/datalabels/ + enabled: true, + textAnchor: 'start', + offsetX: 0, + formatter: function (val, opts) { + var val = val * 1000; + var Format = wNumb({ + //prefix: '$', + //suffix: ',-', + thousand: ',' + }); + + return Format.to(val); + }, + style: { + fontSize: '14px', + fontWeight: '600', + align: 'left', + } + }, + legend: { + show: false + }, + colors: ['#3E97FF', '#F1416C', '#50CD89', '#FFC700', '#7239EA'], + xaxis: { + categories: ["USA", "India", 'Canada', 'Brasil', 'France'], + labels: { + formatter: function (val) { + return val + "K" + }, + style: { + colors: labelColor, + fontSize: '14px', + fontWeight: '600', + align: 'left' + } + }, + axisBorder: { + show: false + } + }, + yaxis: { + labels: { + formatter: function (val, opt) { + if (Number.isInteger(val)) { + var percentage = parseInt(val * 100 / maxValue) . toString(); + return val + ' - ' + percentage + '%'; + } else { + return val; + } + }, + style: { + colors: labelColor, + fontSize: '14px', + fontWeight: '600' + }, + offsetY: 2, + align: 'left' + } + }, + grid: { + borderColor: borderColor, + xaxis: { + lines: { + show: true + } + }, + yaxis: { + lines: { + show: false + } + }, + strokeDashArray: 4 + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return val; + } + } + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget27; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget27.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-28.js b/resources/assets/core/js/widgets/charts/widget-28.js new file mode 100644 index 0000000..b309f0b --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-28.js @@ -0,0 +1,172 @@ +"use strict"; + +// Class definition +var KTChartsWidget28 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_28"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-info'); + + var options = { + series: [{ + name: 'Links', + data: [190, 230, 230, 200, 200, 190, 190, 200, 200, 220, 220, 200, 200, 210, 210] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: "gradient", + gradient: { + shadeIntensity: 1, + opacityFrom: 0.4, + opacityTo: 0, + stops: [0, 80, 100] + } + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: ['May 04', 'May 05', 'May 06', 'May 09', 'May 10', 'May 12', 'May 14', 'May 17', 'May 18', 'May 20', 'May 22', 'May 24', 'May 26', 'May 28', 'May 30'], + axisBorder: { + show: false, + }, + offsetX: 20, + axisTicks: { + show: false + }, + tickAmount: 3, + labels: { + rotate: 0, + rotateAlways: false, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + tickAmount: 4, + max: 250, + min: 100, + labels: { + style: { + colors: labelColor, + fontSize: '12px' + }, + formatter: function (val) { + return val + } + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return val + } + } + }, + colors: [baseColor], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget28; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget28.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-29.js b/resources/assets/core/js/widgets/charts/widget-29.js new file mode 100644 index 0000000..075f7ac --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-29.js @@ -0,0 +1,172 @@ +"use strict"; + +// Class definition +var KTChartsWidget29 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_29"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-warning'); + + var options = { + series: [{ + name: 'Position', + data: [4, 7.5, 7.5, 6, 6, 4, 4, 6, 6, 8, 8, 6, 6, 7, 7] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: "gradient", + gradient: { + shadeIntensity: 1, + opacityFrom: 0.4, + opacityTo: 0, + stops: [0, 80, 100] + } + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: ['Apr 02', 'Apr 03', 'Apr 04', 'Apr 05', 'Apr 06', 'Apr 09', 'Apr 10', 'Apr 12', 'Apr 14', 'Apr 17', 'Apr 18', 'Apr 18', 'Apr 20', 'Apr 22', 'Apr 24'], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + offsetX: 20, + tickAmount: 4, + labels: { + rotate: 0, + rotateAlways: false, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + tickAmount: 4, + max: 10, + min: 1, + labels: { + style: { + colors: labelColor, + fontSize: '12px' + }, + formatter: function (val) { + return val + } + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return val + } + } + }, + colors: [baseColor], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget29; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget29.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-3.js b/resources/assets/core/js/widgets/charts/widget-3.js new file mode 100644 index 0000000..d55145c --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-3.js @@ -0,0 +1,175 @@ +"use strict"; + +// Class definition +var KTChartsWidget3 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_3"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-success'); + var lightColor = KTUtil.getCssVariableValue('--bs-success'); + + var options = { + series: [{ + name: 'Sales', + data: [18, 18, 20, 20, 18, 18, 22, 22, 20, 20, 18, 18, 20, 20, 18, 18, 20, 20, 22] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: "gradient", + gradient: { + shadeIntensity: 1, + opacityFrom: 0.4, + opacityTo: 0, + stops: [0, 80, 100] + } + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: ['', 'Apr 02', 'Apr 03', 'Apr 04', 'Apr 05', 'Apr 06', 'Apr 07', 'Apr 08', 'Apr 09', 'Apr 10', 'Apr 11', 'Apr 12', 'Apr 13', 'Apr 14', 'Apr 15', 'Apr 16', 'Apr 17', 'Apr 18', ''], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + tickAmount: 6, + labels: { + rotate: 0, + rotateAlways: true, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + tickAmount: 4, + max: 24, + min: 10, + labels: { + style: { + colors: labelColor, + fontSize: '12px' + }, + formatter: function (val) { + return '$' + val + "K" + } + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return "$" + val + "K" + } + } + }, + colors: [lightColor], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget3; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget3.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-30.js b/resources/assets/core/js/widgets/charts/widget-30.js new file mode 100644 index 0000000..4db7056 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-30.js @@ -0,0 +1,102 @@ +"use strict"; + +// Class definition +var KTChartsWidget30 = (function () { + // Private methods + var initChart = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_30_chart"); + + if (!element) { + return; + } + + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/percent-charts/pie-chart/ + // start and end angle must be set both for chart and series + var chart = root.container.children.push( + am5percent.PieChart.new(root, { + startAngle: 180, + endAngle: 360, + layout: root.verticalLayout, + innerRadius: am5.percent(50), + }) + ); + + // Create series + // https://www.amcharts.com/docs/v5/charts/percent-charts/pie-chart/#Series + // start and end angle must be set both for chart and series + var series = chart.series.push( + am5percent.PieSeries.new(root, { + startAngle: 180, + endAngle: 360, + valueField: "value", + categoryField: "category", + alignLabels: false, + }) + ); + + series.labels.template.setAll({ + fontWeight: "400", + fontSize: 13, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-500')) + }); + + series.states.create("hidden", { + startAngle: 180, + endAngle: 180, + }); + + series.slices.template.setAll({ + cornerRadius: 5, + }); + + series.ticks.template.setAll({ + forceHidden: true, + }); + + // Set data + // https://www.amcharts.com/docs/v5/charts/percent-charts/pie-chart/#Setting_data + series.data.setAll([ + { value: 10, category: "One", fill: am5.color(KTUtil.getCssVariableValue('--bs-primary')) }, + { value: 9, category: "Two", fill: am5.color(KTUtil.getCssVariableValue('--bs-success')) }, + { value: 6, category: "Three", fill: am5.color(KTUtil.getCssVariableValue('--bs-danger')) }, + { value: 5, category: "Four", fill: am5.color(KTUtil.getCssVariableValue('--bs-warning')) }, + { value: 4, category: "Five", fill: am5.color(KTUtil.getCssVariableValue('--bs-info')) }, + { value: 3, category: "Six", fill: am5.color(KTUtil.getCssVariableValue('--bs-secondary')) } + ]); + + series.appear(1000, 100); + }); + }; + + // Public methods + return { + init: function () { + initChart(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget30; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget30.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-31.js b/resources/assets/core/js/widgets/charts/widget-31.js new file mode 100644 index 0000000..34b1a38 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-31.js @@ -0,0 +1,304 @@ +"use strict"; + +// Class definition +var KTChartsWidget31 = (function () { + // Private methods + var initChart1 = function () { + // Check if amchart library is included + if (typeof am5 === "undefined") { + return; + } + + var element = document.getElementById("kt_charts_widget_31_chart"); + + if (!element) { + return; + } + + // On amchart ready + am5.ready(function () { + // Create root element + // https://www.amcharts.com/docs/v5/getting-started/#Root_element + var root = am5.Root.new(element); + + // Set themes + // https://www.amcharts.com/docs/v5/concepts/themes/ + root.setThemes([am5themes_Animated.new(root)]); + + // Create chart + // https://www.amcharts.com/docs/v5/charts/radar-chart/ + var chart = root.container.children.push( + am5radar.RadarChart.new(root, { + panX: false, + panY: false, + wheelX: "panX", + wheelY: "zoomX", + innerRadius: am5.percent(40), + radius: am5.percent(70), + arrangeTooltips: false, + }) + ); + + var cursor = chart.set( + "cursor", + am5radar.RadarCursor.new(root, { + behavior: "zoomX", + }) + ); + + cursor.lineY.set("visible", false); + + // Create axes and their renderers + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_axes + var xRenderer = am5radar.AxisRendererCircular.new(root, { + minGridDistance: 30, + }); + xRenderer.labels.template.setAll({ + textType: "radial", + radius: 10, + paddingTop: 0, + paddingBottom: 0, + centerY: am5.p50, + fontWeight: "400", + fontSize: 11, + fill: am5.color(KTUtil.getCssVariableValue('--bs-gray-700')) + }); + + xRenderer.grid.template.setAll({ + location: 0.5, + strokeDasharray: [2, 2], + }); + + var xAxis = chart.xAxes.push( + am5xy.CategoryAxis.new(root, { + maxDeviation: 0, + categoryField: "name", + renderer: xRenderer + }) + ); + + var yRenderer = am5radar.AxisRendererRadial.new(root, { + minGridDistance: 30, + }); + + var yAxis = chart.yAxes.push( + am5xy.ValueAxis.new(root, { + renderer: yRenderer, + }) + ); + + yRenderer.grid.template.setAll({ + strokeDasharray: [2, 2], + }); + + // Create series + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Adding_series + var series1 = chart.series.push( + am5radar.RadarLineSeries.new(root, { + name: "Revenue", + xAxis: xAxis, + yAxis: yAxis, + valueYField: "value1", + categoryXField: "name", + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + }) + ); + + series1.strokes.template.setAll({ + strokeOpacity: 0, + }); + + series1.fills.template.setAll({ + visible: true, + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + fillOpacity: 0.5, + }); + + var series2 = chart.series.push( + am5radar.RadarLineSeries.new(root, { + name: "Expense", + xAxis: xAxis, + yAxis: yAxis, + valueYField: "value2", + categoryXField: "name", + stacked: true, + tooltip: am5.Tooltip.new(root, { + labelText: "Revenue: {value1}\nExpense:{value2}", + }), + fill: am5.color(KTUtil.getCssVariableValue("--bs-success")), + }) + ); + + series2.strokes.template.setAll({ + strokeOpacity: 0, + }); + + series2.fills.template.setAll({ + visible: true, + fill: am5.color(KTUtil.getCssVariableValue("--bs-primary")), + fillOpacity: 0.5, + }); + + var legend = chart.radarContainer.children.push( + am5.Legend.new(root, { + width: 150, + centerX: am5.p50, + centerY: am5.p50, + }) + ); + legend.data.setAll([series1, series2]); + + // Set data + // https://www.amcharts.com/docs/v5/charts/radar-chart/#Setting_data + var data = [ + { + name: "Openlane", + value1: 160.2, + value2: 26.9, + }, + { + name: "Yearin", + value1: 120.1, + value2: 50.5, + }, + { + name: "Goodsilron", + value1: 150.7, + value2: 12.3, + }, + { + name: "Condax", + value1: 69.4, + value2: 74.5, + }, + { + name: "Opentech", + value1: 78.5, + value2: 29.7, + }, + { + name: "Golddex", + value1: 77.6, + value2: 102.2, + }, + { + name: "Isdom", + value1: 69.8, + value2: 22.6, + }, + { + name: "Plusstrip", + value1: 63.6, + value2: 45.3, + }, + { + name: "Kinnamplus", + value1: 59.7, + value2: 12.8, + }, + { + name: "Zumgoity", + value1: 64.3, + value2: 19.6, + }, + { + name: "Stanredtax", + value1: 52.9, + value2: 96.3, + }, + { + name: "Conecom", + value1: 42.9, + value2: 11.9, + }, + { + name: "Zencorporation", + value1: 40.9, + value2: 16.8, + }, + { + name: "Iselectrics", + value1: 39.2, + value2: 9.9, + }, + { + name: "Treequote", + value1: 76.6, + value2: 36.9, + }, + { + name: "Sumace", + value1: 34.8, + value2: 14.6, + }, + { + name: "Lexiqvolax", + value1: 32.1, + value2: 35.6, + }, + { + name: "Sunnamplex", + value1: 31.8, + value2: 5.9, + }, + { + name: "Faxquote", + value1: 29.3, + value2: 14.7, + }, + { + name: "Donware", + value1: 23.0, + value2: 2.8, + }, + { + name: "Warephase", + value1: 21.5, + value2: 12.1, + }, + { + name: "Donquadtech", + value1: 19.7, + value2: 10.8, + }, + { + name: "Nam-zim", + value1: 15.5, + value2: 4.1, + }, + { + name: "Y-corporation", + value1: 14.2, + value2: 11.3, + }, + ]; + + series1.data.setAll(data); + series2.data.setAll(data); + xAxis.data.setAll(data); + + // Animate chart and series in + // https://www.amcharts.com/docs/v5/concepts/animations/#Initial_animation + series1.appear(1000); + series2.appear(1000); + chart.appear(1000, 100); + }); // end am5.ready() + }; + + // Public methods + return { + init: function () { + initChart1(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTChartsWidget31; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTChartsWidget31.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-32.js b/resources/assets/core/js/widgets/charts/widget-32.js new file mode 100644 index 0000000..ff0f6a4 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-32.js @@ -0,0 +1,169 @@ +"use strict"; + +// Class definition +var KTChartsWidget32 = function () { + // Private methods + var initChart = function(tabSelector, chartSelector, data, initByDefault) { + var element = document.querySelector(chartSelector); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-900'); + + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + + var options = { + series: [{ + name: 'Deliveries', + data: data + }], + chart: { + fontFamily: 'inherit', + type: 'bar', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: ['22%'], + borderRadius: 5, + dataLabels: { + position: "top" // top, center, bottom + }, + startingShape: 'flat' + }, + }, + legend: { + show: false + }, + dataLabels: { + enabled: true, + offsetY: -28, + style: { + fontSize: '13px', + colors: ['labelColor'] + } + }, + stroke: { + show: true, + width: 2, + colors: ['transparent'] + }, + xaxis: { + categories: ['Grossey', 'Pet Food', 'Flowers', 'Restaurant', 'Kids Toys', 'Clothing', 'Still Water'], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-500'), + fontSize: '13px' + } + }, + crosshairs: { + fill: { + gradient: { + opacityFrom: 0, + opacityTo: 0 + } + } + } + }, + yaxis: { + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-500'), + fontSize: '13px' + } + } + }, + fill: { + opacity: 1 + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + } + }, + colors: [KTUtil.getCssVariableValue('--bs-primary'), KTUtil.getCssVariableValue('--bs-light-primary')], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + } + }; + + var chart = new ApexCharts(element, options); + + var init = false; + var tab = document.querySelector(tabSelector); + + if (initByDefault === true) { + chart.render(); + init = true; + } + + tab.addEventListener('shown.bs.tab', function (event) { + if (init == false) { + chart.render(); + init = true; + } + }) + } + + // Public methods + return { + init: function () { + initChart('#kt_charts_widget_32_tab_1', '#kt_charts_widget_32_chart_1', [54, 42, 75, 110, 23, 87, 50], true); + initChart('#kt_charts_widget_32_tab_2', '#kt_charts_widget_32_chart_2', [25, 55, 35, 50, 45, 20, 31], false); + initChart('#kt_charts_widget_32_tab_3', '#kt_charts_widget_32_chart_3', [45, 15, 35, 70, 45, 50, 21], false); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget32; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget32.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-33.js b/resources/assets/core/js/widgets/charts/widget-33.js new file mode 100644 index 0000000..a8dabfe --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-33.js @@ -0,0 +1,209 @@ +"use strict"; + +// Class definition +var KTChartsWidget33 = function () { + // Private methods + var initChart = function(tabSelector, chartSelector, data, labels, initByDefault) { + var element = document.querySelector(chartSelector); + + if (!element) { + return; + } + + var color = element.getAttribute('data-kt-chart-color'); + var height = parseInt(KTUtil.css(element, 'height')); + + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-' + color); + + var options = { + series: [{ + name: 'Etherium ', + data: data + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: "gradient", + gradient: { + shadeIntensity: 1, + opacityFrom: 0.4, + opacityTo: 0.2, + stops: [15, 120, 100] + } + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: labels, + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + offsetX: 20, + tickAmount: 4, + labels: { + rotate: 0, + rotateAlways: false, + show: false, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + tickAmount: 4, + max: 4000, + min: 1000, + labels: { + show: false + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return val + '$'; + } + } + }, + colors: [baseColor], + grid: { + borderColor: borderColor, + strokeDashArray: 3, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + var init = false; + var tab = document.querySelector(tabSelector); + + if (initByDefault === true) { + chart.render(); + init = true; + } + + tab.addEventListener('shown.bs.tab', function (event) { + if (init == false) { + chart.render(); + init = true; + } + }) + } + + // Public methods + return { + init: function () { + initChart('#kt_charts_widget_33_tab_1', '#kt_charts_widget_33_chart_1', + [2100, 3200, 3200, 2400, 2400, 1800, 1800, 2400, 2400, 3200, 3200, 3000, 3000, 3250, 3250], + ['10AM', '10.30AM', '11AM', '11.15AM', '11.30AM', '12PM', '1PM', '2PM', '3PM', '4PM', '5PM', '6PM', '7PM', '8PM', '9PM'], + true + ); + + initChart('#kt_charts_widget_33_tab_2', '#kt_charts_widget_33_chart_2', + [2300, 2300, 2000, 3200, 3200, 2800, 2400, 2400, 3100, 2900, 3100, 3100, 2600, 2600, 3200], + ['Apr 01', 'Apr 02', 'Apr 03', 'Apr 04', 'Apr 05', 'Apr 06', 'Apr 07', 'Apr 08', 'Apr 09', 'Apr 10', 'Apr 11', 'Apr 12', 'Apr 13', 'Apr 14', 'Apr 15'], + false + ); + + initChart('#kt_charts_widget_33_tab_3', '#kt_charts_widget_33_chart_3', + [2600, 3200, 2300, 2300, 2000, 3200, 3100, 2900, 3200, 3200, 2600, 3100, 2800, 2400, 2400], + ['Apr 02', 'Apr 03', 'Apr 04', 'Apr 05', 'Apr 06', 'Apr 09', 'Apr 10', 'Apr 12', 'Apr 14', 'Apr 17', 'Apr 18', 'Apr 18', 'Apr 20', 'Apr 22', 'Apr 24'], + false + ); + + initChart('#kt_charts_widget_33_tab_4', '#kt_charts_widget_33_chart_4', + [1800, 1800, 2400, 2400, 3200, 3200, 3000, 2100, 3200, 3300, 2400, 2400, 3000, 3200, 3100], + ['Jun 2021', 'Jul 2021', 'Aug 2021', 'Sep 2021', 'Oct 2021', 'Nov 2021', 'Dec 2021', 'Jan 2022', 'Feb 2022', 'Mar 2022', 'Apr 2022', 'May 2022', 'Jun 2022', 'Jul 2022', 'Aug 2022'], + false + ); + + initChart('#kt_charts_widget_33_tab_5', '#kt_charts_widget_33_chart_5', + [3000, 2100, 3300, 3100, 1800, 1800, 2400, 2400, 3100, 3100, 2400, 2400, 3000, 2400, 2800], + ['Sep 2021', 'Oct 2021', 'Nov 2021', 'Dec 2021', 'Jan 2022', 'Feb 2022', 'Mar 2022', 'Apr 2022', 'May 2022', 'Jun 2022', 'Jul 2022', 'Aug 2022', 'Sep 2022', 'Oct 2022', 'Nov 2022'], + false + ) + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget33; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget33.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-34.js b/resources/assets/core/js/widgets/charts/widget-34.js new file mode 100644 index 0000000..256c8ab --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-34.js @@ -0,0 +1,209 @@ +"use strict"; + +// Class definition +var KTChartsWidget34 = function () { + // Private methods + var initChart = function(tabSelector, chartSelector, data, labels, initByDefault) { + var element = document.querySelector(chartSelector); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var color = element.getAttribute('data-kt-chart-color'); + + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-' + color); + + var options = { + series: [{ + name: 'Earnings', + data: data + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: "gradient", + gradient: { + shadeIntensity: 1, + opacityFrom: 0.4, + opacityTo: 0.2, + stops: [15, 120, 100] + } + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: labels, + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + offsetX: 20, + tickAmount: 4, + labels: { + rotate: 0, + rotateAlways: false, + show: false, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + tickAmount: 4, + max: 4000, + min: 1000, + labels: { + show: false + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return val + '$'; + } + } + }, + colors: [baseColor], + grid: { + borderColor: borderColor, + strokeDashArray: 3, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + var init = false; + var tab = document.querySelector(tabSelector); + + if (initByDefault === true) { + chart.render(); + init = true; + } + + tab.addEventListener('shown.bs.tab', function (event) { + if (init == false) { + chart.render(); + init = true; + } + }) + } + + // Public methods + return { + init: function () { + initChart('#kt_charts_widget_34_tab_1', '#kt_charts_widget_34_chart_1', + [2100, 2800, 2800, 2400, 2400, 1800, 1800, 2400, 2400, 3200, 3200, 2800, 2800, 3250, 3250], + ['10AM', '10.30AM', '11AM', '11.15AM', '11.30AM', '12PM', '1PM', '2PM', '3PM', '4PM', '5PM', '6PM', '7PM', '8PM', '9PM'], + true + ); + + initChart('#kt_charts_widget_34_tab_2', '#kt_charts_widget_34_chart_2', + [2300, 2300, 2000, 3100, 3100, 2800, 2400, 2400, 3100, 2900, 3200, 3200, 2600, 2600, 3200], + ['Apr 01', 'Apr 02', 'Apr 03', 'Apr 04', 'Apr 05', 'Apr 06', 'Apr 07', 'Apr 08', 'Apr 09', 'Apr 10', 'Apr 11', 'Apr 12', 'Apr 13', 'Apr 14', 'Apr 15'], + false + ); + + initChart('#kt_charts_widget_34_tab_3', '#kt_charts_widget_34_chart_3', + [2600, 3400, 2300, 2300, 2000, 3100, 3100, 2900, 3200, 3200, 2600, 3100, 2800, 2400, 2400], + ['Apr 02', 'Apr 03', 'Apr 04', 'Apr 05', 'Apr 06', 'Apr 09', 'Apr 10', 'Apr 12', 'Apr 14', 'Apr 17', 'Apr 18', 'Apr 18', 'Apr 20', 'Apr 22', 'Apr 24'], + false + ); + + initChart('#kt_charts_widget_34_tab_4', '#kt_charts_widget_34_chart_4', + [1800, 1800, 2400, 2400, 3100, 3100, 3000, 2100, 3200, 3200, 2400, 2400, 3000, 3200, 3100], + ['Jun 2021', 'Jul 2021', 'Aug 2021', 'Sep 2021', 'Oct 2021', 'Nov 2021', 'Dec 2021', 'Jan 2022', 'Feb 2022', 'Mar 2022', 'Apr 2022', 'May 2022', 'Jun 2022', 'Jul 2022', 'Aug 2022'], + false + ); + + initChart('#kt_charts_widget_34_tab_5', '#kt_charts_widget_34_chart_5', + [3000, 2100, 3200, 3200, 1800, 1800, 2400, 2400, 3100, 3100, 2400, 2400, 3000, 2400, 2800], + ['Sep 2021', 'Oct 2021', 'Nov 2021', 'Dec 2021', 'Jan 2022', 'Feb 2022', 'Mar 2022', 'Apr 2022', 'May 2022', 'Jun 2022', 'Jul 2022', 'Aug 2022', 'Sep 2022', 'Oct 2022', 'Nov 2022'], + false + ) + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget34; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget34.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-35.js b/resources/assets/core/js/widgets/charts/widget-35.js new file mode 100644 index 0000000..95b40b4 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-35.js @@ -0,0 +1,209 @@ +"use strict"; + +// Class definition +var KTChartsWidget35 = function () { + // Private methods + var initChart = function(tabSelector, chartSelector, data, labels, initByDefault) { + var element = document.querySelector(chartSelector); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var color = element.getAttribute('data-kt-chart-color'); + + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-' + color); + + var options = { + series: [{ + name: 'Earnings', + data: data + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: "gradient", + gradient: { + shadeIntensity: 1, + opacityFrom: 0.4, + opacityTo: 0.2, + stops: [15, 120, 100] + } + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: labels, + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + offsetX: 20, + tickAmount: 4, + labels: { + rotate: 0, + rotateAlways: false, + show: false, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + tickAmount: 4, + max: 4000, + min: 1000, + labels: { + show: false + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return val + '$'; + } + } + }, + colors: [baseColor], + grid: { + borderColor: borderColor, + strokeDashArray: 3, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + var init = false; + var tab = document.querySelector(tabSelector); + + if (initByDefault === true) { + chart.render(); + init = true; + } + + tab.addEventListener('shown.bs.tab', function (event) { + if (init == false) { + chart.render(); + init = true; + } + }) + } + + // Public methods + return { + init: function () { + initChart('#kt_charts_widget_35_tab_1', '#kt_charts_widget_35_chart_1', + [2100, 3100, 3100, 2400, 2400, 1800, 1800, 2400, 2400, 3200, 3200, 2800, 2800, 3250, 3250], + ['10AM', '10.30AM', '11AM', '11.15AM', '11.30AM', '12PM', '1PM', '2PM', '3PM', '4PM', '5PM', '6PM', '7PM', '8PM', '9PM'], + true + ); + + initChart('#kt_charts_widget_35_tab_2', '#kt_charts_widget_35_chart_2', + [2300, 2300, 2000, 3200, 3200, 2800, 2400, 2400, 3100, 2900, 3200, 3200, 2600, 2600, 3200], + ['Apr 01', 'Apr 02', 'Apr 03', 'Apr 04', 'Apr 05', 'Apr 06', 'Apr 07', 'Apr 08', 'Apr 09', 'Apr 10', 'Apr 11', 'Apr 12', 'Apr 13', 'Apr 14', 'Apr 15'], + false + ); + + initChart('#kt_charts_widget_35_tab_3', '#kt_charts_widget_35_chart_3', + [2600, 3200, 2300, 2300, 2000, 3200, 3100, 2900, 3400, 3400, 2600, 3200, 2800, 2400, 2400], + ['Apr 02', 'Apr 03', 'Apr 04', 'Apr 05', 'Apr 06', 'Apr 09', 'Apr 10', 'Apr 12', 'Apr 14', 'Apr 17', 'Apr 18', 'Apr 18', 'Apr 20', 'Apr 22', 'Apr 24'], + false + ); + + initChart('#kt_charts_widget_35_tab_4', '#kt_charts_widget_35_chart_4', + [1800, 1800, 2400, 2400, 3200, 3200, 3000, 2100, 3200, 3200, 2400, 2400, 3000, 3200, 3100], + ['Jun 2021', 'Jul 2021', 'Aug 2021', 'Sep 2021', 'Oct 2021', 'Nov 2021', 'Dec 2021', 'Jan 2022', 'Feb 2022', 'Mar 2022', 'Apr 2022', 'May 2022', 'Jun 2022', 'Jul 2022', 'Aug 2022'], + false + ); + + initChart('#kt_charts_widget_35_tab_5', '#kt_charts_widget_35_chart_5', + [3200, 2100, 3200, 3200, 3200, 3500, 3000, 2400, 3250, 2400, 2400, 3250, 3000, 2400, 2800], + ['Sep 2021', 'Oct 2021', 'Nov 2021', 'Dec 2021', 'Jan 2022', 'Feb 2022', 'Mar 2022', 'Apr 2022', 'May 2022', 'Jun 2022', 'Jul 2022', 'Aug 2022', 'Sep 2022', 'Oct 2022', 'Nov 2022'], + false + ) + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget35; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget35.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-4.js b/resources/assets/core/js/widgets/charts/widget-4.js new file mode 100644 index 0000000..bc39907 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-4.js @@ -0,0 +1,175 @@ +"use strict"; + +// Class definition +var KTChartsWidget4 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_4"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-primary'); + var lightColor = KTUtil.getCssVariableValue('--bs-primary'); + + var options = { + series: [{ + name: 'Sales', + data: [34.5, 34.5, 35, 35, 35.5, 35.5, 35, 35, 35.5, 35.5, 35, 35, 34.5, 34.5, 35, 35, 35.5, 35.5, 35] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: "gradient", + gradient: { + shadeIntensity: 1, + opacityFrom: 0.4, + opacityTo: 0, + stops: [0, 80, 100] + } + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: ['', 'Apr 02', 'Apr 03', 'Apr 04', 'Apr 05', 'Apr 06', 'Apr 07', 'Apr 08', 'Apr 09', 'Apr 10', 'Apr 11', 'Apr 12', 'Apr 13', 'Apr 14', 'Apr 17', 'Apr 18', 'Apr 19', 'Apr 21', ''], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + tickAmount: 6, + labels: { + rotate: 0, + rotateAlways: true, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + max: 36.3, + min: 33, + tickAmount: 6, + labels: { + style: { + colors: labelColor, + fontSize: '12px' + }, + formatter: function (val) { + return '$' + parseInt(10 * val) + } + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return '$' + parseInt(10 * val) + } + } + }, + colors: [lightColor], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget4; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget4.init(); +}); diff --git a/resources/assets/core/js/widgets/charts/widget-5.js b/resources/assets/core/js/widgets/charts/widget-5.js new file mode 100644 index 0000000..a145d7b --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-5.js @@ -0,0 +1,112 @@ +"use strict"; + +// Class definition +var KTChartsWidget5 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_5"); + + if (!element) { + return; + } + + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + + var options = { + series: [{ + data: [15, 12, 10, 8, 7, 4, 3], + show: false + }], + chart: { + type: 'bar', + height: 350, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + borderRadius: 4, + horizontal: true, + distributed: true, + barHeight: 23 + } + }, + dataLabels: { + enabled: false + }, + legend: { + show: false + }, + colors: ['#3E97FF', '#F1416C', '#50CD89', '#FFC700', '#7239EA', '#50CDCD', '#3F4254'], + xaxis: { + categories: ['Phones', 'Laptops', 'Headsets', 'Games', 'Keyboardsy', 'Monitors', 'Speakers'], + labels: { + formatter: function (val) { + return val + "K" + }, + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-400'), + fontSize: '14px', + fontWeight: '600', + align: 'left' + } + }, + axisBorder: { + show: false + } + }, + yaxis: { + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-800'), + fontSize: '14px', + fontWeight: '600' + }, + offsetY: 2, + align: 'left' + } + }, + grid: { + borderColor: borderColor, + xaxis: { + lines: { + show: true + } + }, + yaxis: { + lines: { + show: false + } + }, + strokeDashArray: 4 + } + }; + + var chart = new ApexCharts(element, options); + + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget5; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget5.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-6.js b/resources/assets/core/js/widgets/charts/widget-6.js new file mode 100644 index 0000000..3e13b12 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-6.js @@ -0,0 +1,154 @@ +"use strict"; + +// Class definition +var KTChartsWidget6 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_6"); + + if (!element) { + return; + } + + var labelColor = KTUtil.getCssVariableValue('--bs-gray-800'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var maxValue = 18; + + var options = { + series: [{ + name: 'Sales', + data: [15, 12, 10, 8, 7] + }], + chart: { + fontFamily: 'inherit', + type: 'bar', + height: 350, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + borderRadius: 8, + horizontal: true, + distributed: true, + barHeight: 50, + dataLabels: { + position: 'bottom' // use 'bottom' for left and 'top' for right align(textAnchor) + } + } + }, + dataLabels: { // Docs: https://apexcharts.com/docs/options/datalabels/ + enabled: true, + textAnchor: 'start', + offsetX: 0, + formatter: function (val, opts) { + var val = val * 1000; + var Format = wNumb({ + //prefix: '$', + //suffix: ',-', + thousand: ',' + }); + + return Format.to(val); + }, + style: { + fontSize: '14px', + fontWeight: '600', + align: 'left', + } + }, + legend: { + show: false + }, + colors: ['#3E97FF', '#F1416C', '#50CD89', '#FFC700', '#7239EA'], + xaxis: { + categories: ["ECR - 90%", "FGI - 82%", 'EOQ - 75%', 'FMG - 60%', 'PLG - 50%'], + labels: { + formatter: function (val) { + return val + "K" + }, + style: { + colors: labelColor, + fontSize: '14px', + fontWeight: '600', + align: 'left' + } + }, + axisBorder: { + show: false + } + }, + yaxis: { + labels: { + formatter: function (val, opt) { + if (Number.isInteger(val)) { + var percentage = parseInt(val * 100 / maxValue) . toString(); + return val + ' - ' + percentage + '%'; + } else { + return val; + } + }, + style: { + colors: labelColor, + fontSize: '14px', + fontWeight: '600' + }, + offsetY: 2, + align: 'left' + } + }, + grid: { + borderColor: borderColor, + xaxis: { + lines: { + show: true + } + }, + yaxis: { + lines: { + show: false + } + }, + strokeDashArray: 4 + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return val + 'K'; + } + } + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget6; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget6.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-7.js b/resources/assets/core/js/widgets/charts/widget-7.js new file mode 100644 index 0000000..99ad142 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-7.js @@ -0,0 +1,162 @@ +"use strict"; + +// Class definition +var KTChartsWidget7 = function () { + // Private methods + var initChart = function(chartSelector) { + var element = document.querySelector(chartSelector); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + + var options = { + series: [{ + name: 'Net Profit', + data: data1 + }, { + name: 'Revenue', + data: data2 + }], + chart: { + fontFamily: 'inherit', + type: 'bar', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: ['40%'], + borderRadius: [6] + }, + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + stroke: { + show: true, + width: 2, + colors: ['transparent'] + }, + xaxis: { + categories: ['Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-700'), + fontSize: '12px' + } + } + }, + yaxis: { + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-700'), + fontSize: '12px' + } + } + }, + fill: { + opacity: 1 + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return "$" + val + " thousands" + } + } + }, + colors: [KTUtil.getCssVariableValue('--bs-primary'), KTUtil.getCssVariableValue('--bs-light-primary')], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + } + }; + + var chart = new ApexCharts(element, options); + + var init = false; + var tab = document.querySelector(tabSelector); + + if (initByDefault === true) { + chart.render(); + init = true; + } + + tab.addEventListener('shown.bs.tab', function (event) { + if (init == false) { + chart.render(); + init = true; + } + }) + + var chart = new ApexCharts(element, options); + chart.render(); + } + + // Public methods + return { + init: function () { + initChart('#kt_chart_widget_7_tab_1', '#kt_chart_widget_7_chart_1', [44, 55, 57, 56, 61, 58], [76, 85, 101, 98, 87, 105], true); + initChart('#kt_chart_widget_7_tab_2', '#kt_chart_widget_7_chart_2', [35, 60, 35, 50, 45, 30], [65, 80, 50, 80, 75, 105], false); + initChart('#kt_chart_widget_7_tab_3', '#kt_chart_widget_7_chart_3', [25, 40, 45, 50, 40, 60], [76, 85, 101, 98, 87, 105], false); + initChart('#kt_chart_widget_7_tab_4', '#kt_chart_widget_7_chart_4', [50, 35, 45, 55, 30, 40], [76, 85, 101, 98, 87, 105], false); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget7; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + //KTChartsWidget7.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-8.js b/resources/assets/core/js/widgets/charts/widget-8.js new file mode 100644 index 0000000..a445649 --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-8.js @@ -0,0 +1,192 @@ +"use strict"; + +// Class definition +var KTChartsWidget8 = function () { + // Private methods + var initChart = function(toggle, selector, data, initByDefault) { + var element = document.querySelector(selector); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + + var options = { + series: [ + { + name: 'Social Campaigns', + data: data[0] // array value is of the format [x, y, z] where x (timestamp) and y are the two axes coordinates, + }, { + name: 'Email Newsletter', + data: data[1] + }, { + name: 'TV Campaign', + data: data[2] + }, { + name: 'Google Ads', + data: data[3] + }, { + name: 'Courses', + data: data[4] + }, { + name: 'Radio', + data: data[5] + } + ], + chart: { + fontFamily: 'inherit', + type: 'bubble', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + bubble: { + } + }, + stroke: { + show: false, + width: 0 + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + xaxis: { + type: 'numeric', + tickAmount: 7, + min: 0, + max: 700, + axisBorder: { + show: false, + }, + axisTicks: { + show: true, + height: 0, + }, + labels: { + show: true, + trim: true, + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-500'), + fontSize: '13px' + } + } + }, + yaxis: { + tickAmount: 7, + min: 0, + max: 700, + labels: { + style: { + colors: KTUtil.getCssVariableValue('--bs-gray-500'), + fontSize: '13px' + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + x: { + formatter: function (val) { + return "Clicks: " + val; + } + }, + y: { + formatter: function (val) { + return "$" + val + "K" + } + }, + z: { + title: 'Impression: ' + } + }, + crosshairs: { + show: true, + position: 'front', + stroke: { + color: KTUtil.getCssVariableValue('--bs-border-dashed-color'), + width: 1, + dashArray: 0, + } + }, + colors: [ + KTUtil.getCssVariableValue('--bs-primary'), + KTUtil.getCssVariableValue('--bs-success'), + KTUtil.getCssVariableValue('--bs-warning'), + KTUtil.getCssVariableValue('--bs-danger'), + KTUtil.getCssVariableValue('--bs-info'), + '#43CED7' + ], + fill: { + opacity: 1, + }, + grid: { + borderColor: borderColor, + strokeDashArray: 4, + padding: { + right: 20 + }, + yaxis: { + lines: { + show: true + } + } + } + }; + + var initialized = false; + var chart = new ApexCharts(element, options); + var tab = document.querySelector(toggle); + + if (initByDefault === true) { + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + initialized = true; + }, 200); + } + + tab.addEventListener('shown.bs.tab', function (event) { + if (initialized === false) { + chart.render(); + initialized = true; + } + }) + } + + // Public methods + return { + init: function () { + var data1 = [ + [[100, 250, 30]], [[225, 300, 35]], [[300, 350, 25]], [[350, 350, 20]], [[450, 400, 25]], [[550, 350, 35]] + ]; + + var data2 = [ + [[125, 300, 40]], [[250, 350, 35]], [[350, 450, 30]], [[450, 250, 25]], [[500, 500, 30]], [[600, 250, 28]] + ]; + + initChart('#kt_chart_widget_8_week_toggle', '#kt_chart_widget_8_week_chart', data1, false); + initChart('#kt_chart_widget_8_month_toggle', '#kt_chart_widget_8_month_chart', data2, true); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget8; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget8.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/charts/widget-9.js b/resources/assets/core/js/widgets/charts/widget-9.js new file mode 100644 index 0000000..7a3ba6f --- /dev/null +++ b/resources/assets/core/js/widgets/charts/widget-9.js @@ -0,0 +1,174 @@ +"use strict"; + +// Class definition +var KTChartsWidget9 = function () { + // Private methods + var initChart = function() { + var element = document.getElementById("kt_charts_widget_9"); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-400'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + + var baseColor = KTUtil.getCssVariableValue('--bs-gray-200'); + var secondaryColor = KTUtil.getCssVariableValue('--bs-primary'); + + + var options = { + series: [{ + name: 'Net Profit', + data: [21, 21, 26, 26, 31, 31, 27] + }, { + name: 'Revenue', + data: [12, 16, 16, 21, 21, 18, 18] + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + plotOptions: {}, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: 'solid', + opacity: 1 + }, + stroke: { + curve: 'smooth' + }, + xaxis: { + categories: ['', '06 Sep', '13 Sep', '20 Sep', '27 Sep', '30 Sep', ''], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: labelColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + labels: { + style: { + colors: labelColor, + fontSize: '12px' + } + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + }, + y: { + formatter: function (val) { + return "$" + val + " thousands" + } + } + }, + crosshairs: { + show: true, + position: 'front', + stroke: { + color: KTUtil.getCssVariableValue('--bs-border-dashed-color'), + width: 1, + dashArray: 0, + }, + }, + colors: [baseColor, secondaryColor], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + colors: [baseColor, secondaryColor], + strokeColor: [KTUtil.getCssVariableValue('--bs-danger'), KTUtil.getCssVariableValue('--bs-warning')], + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTChartsWidget9; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTChartsWidget9.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/forms/widget-1.js b/resources/assets/core/js/widgets/forms/widget-1.js new file mode 100644 index 0000000..2f9e5e3 --- /dev/null +++ b/resources/assets/core/js/widgets/forms/widget-1.js @@ -0,0 +1,74 @@ +"use strict"; + +// Class definition +var KTFormsWidget1 = (function () { + // Private methods + var initForm1 = function () { + var optionFormat = function(item) { + if ( !item.id ) { + return item.text; + } + + var span = document.createElement('span'); + var template = ''; + + template += 'image'; + template += item.text; + + span.innerHTML = template; + + return $(span); + } + + // Init Select2 --- more info: https://select2.org/ + $('#kt_forms_widget_1_select_1').select2({ + placeholder: "Select coin", + minimumResultsForSearch: Infinity, + templateSelection: optionFormat, + templateResult: optionFormat + }); + }; + + var initForm2 = function () { + var optionFormat = function(item) { + if ( !item.id ) { + return item.text; + } + + var span = document.createElement('span'); + var template = ''; + + template += 'image'; + template += item.text; + + span.innerHTML = template; + + return $(span); + } + + // Init Select2 --- more info: https://select2.org/ + $('#kt_forms_widget_1_select_2').select2({ + placeholder: "Select coin", + minimumResultsForSearch: Infinity, + templateSelection: optionFormat, + templateResult: optionFormat + }); + }; + + // Public methods + return { + init: function () { + initForm1(); + }, + }; +})(); + +// Webpack support +if (typeof module !== "undefined") { + module.exports = KTFormsWidget1; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTFormsWidget1.init(); +}); diff --git a/resources/assets/core/js/widgets/lists/widget-24.js b/resources/assets/core/js/widgets/lists/widget-24.js new file mode 100644 index 0000000..dcd9032 --- /dev/null +++ b/resources/assets/core/js/widgets/lists/widget-24.js @@ -0,0 +1,45 @@ +"use strict"; + +// Class definition +var KTTimelineWidget24 = function () { + // Private methods + var handleActions = function() { + var card = document.querySelector('#kt_list_widget_24'); + + if (!card) { + return; + } + + // Checkbox Handler + KTUtil.on(card, '[data-kt-element="follow"]', 'click', function (e) { + if ( this.innerText === 'Following' ) { + this.innerText = 'Follow'; + this.classList.add('btn-light-primary'); + this.classList.remove('btn-primary'); + this.blur(); + } else { + this.innerText = 'Following'; + this.classList.add('btn-primary'); + this.classList.remove('btn-light-primary'); + this.blur(); + } + }); + } + + // Public methods + return { + init: function () { + handleActions(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTTimelineWidget24; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTTimelineWidget24.init(); +}); diff --git a/resources/assets/core/js/widgets/sliders/widget-1.js b/resources/assets/core/js/widgets/sliders/widget-1.js new file mode 100644 index 0000000..f7847cd --- /dev/null +++ b/resources/assets/core/js/widgets/sliders/widget-1.js @@ -0,0 +1,104 @@ +"use strict"; + +// Class definition +var KTSlidersWidget1 = function() { + // Private methods + var initChart = function(query, data) { + var element = document.querySelector(query); + + if ( !element) { + return; + } + + if ( element.classList.contains("initialized") ) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var baseColor = KTUtil.getCssVariableValue('--bs-' + 'primary'); + var lightColor = KTUtil.getCssVariableValue('--bs-light-' + 'primary' ); + + var options = { + series: [data], + chart: { + fontFamily: 'inherit', + height: height, + type: 'radialBar', + sparkline: { + enabled: true, + } + }, + plotOptions: { + radialBar: { + hollow: { + margin: 0, + size: "45%" + }, + dataLabels: { + showOn: "always", + name: { + show: false + }, + value: { + show: false + } + }, + track: { + background: lightColor, + strokeWidth: '100%' + } + } + }, + colors: [baseColor], + stroke: { + lineCap: "round", + }, + labels: ["Progress"] + }; + + var chart = new ApexCharts(element, options); + chart.render(); + element.classList.add('initialized'); + } + + // Public methods + return { + init: function () { + // Init default chart + initChart('#kt_slider_widget_1_chart_1', 76); + + var carousel = document.querySelector('#kt_sliders_widget_1_slider'); + + if(!carousel){ + return; + } + carousel.addEventListener('slid.bs.carousel', function (e) { + if (e.to === 1) { + // Init second chart + initChart('#kt_slider_widget_1_chart_2', 55); + } + + if (e.to === 2) { + // Init third chart + initChart('#kt_slider_widget_1_chart_3', 25); + } + }); + } + } +}(); + + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTSlidersWidget1; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTSlidersWidget1.init(); +}); + + + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/sliders/widget-3.js b/resources/assets/core/js/widgets/sliders/widget-3.js new file mode 100644 index 0000000..46dcfcf --- /dev/null +++ b/resources/assets/core/js/widgets/sliders/widget-3.js @@ -0,0 +1,181 @@ +"use strict"; + +// Class definition +var KTSlidersWidget3 = function () { + // Private methods + var initChart = function(query, color, data) { + var element = document.querySelector(query); + + if (!element) { + return; + } + + if ( element.classList.contains("initialized") ) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var labelColor = KTUtil.getCssVariableValue('--bs-gray-500'); + var borderColor = KTUtil.getCssVariableValue('--bs-border-dashed-color'); + var baseColor = KTUtil.getCssVariableValue('--bs-' + color); + + var options = { + series: [{ + name: 'Lessons', + data: data + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + } + }, + plotOptions: { + + }, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: "gradient", + gradient: { + shadeIntensity: 1, + opacityFrom: 0.3, + opacityTo: 0.7, + stops: [0, 90, 100] + } + }, + stroke: { + curve: 'smooth', + show: true, + width: 3, + colors: [baseColor] + }, + xaxis: { + categories: ['', 'Apr 05', 'Apr 06', 'Apr 07', 'Apr 08', 'Apr 09', 'Apr 11', 'Apr 12', 'Apr 14', 'Apr 15', 'Apr 16', 'Apr 17', 'Apr 18', ''], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + tickAmount: 6, + labels: { + rotate: 0, + rotateAlways: true, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + position: 'front', + stroke: { + color: baseColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: true, + formatter: undefined, + offsetY: 0, + style: { + fontSize: '12px' + } + } + }, + yaxis: { + tickAmount: 4, + max: 24, + min: 10, + labels: { + style: { + colors: labelColor, + fontSize: '12px' + } + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + style: { + fontSize: '12px' + } + }, + colors: [baseColor], + grid: { + borderColor: borderColor, + strokeDashArray: 4, + yaxis: { + lines: { + show: true + } + } + }, + markers: { + strokeColor: baseColor, + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + chart.render(); + element.classList.add('initialized'); + } + + // Public methods + return { + init: function () { + // Init default chart + initChart('#kt_sliders_widget_3_chart_1', 'danger', [19, 21, 21, 20, 20, 18, 18, 20, 20, 22, 22, 21, 21, 22]); + + var carousel = document.querySelector('#kt_sliders_widget_3_slider'); + + if(!carousel){ + return; + } + + carousel.addEventListener('slid.bs.carousel', function (e) { + if (e.to === 1) { + // Init second chart + initChart('#kt_sliders_widget_3_chart_2', 'primary', [18, 22, 22, 20, 20, 18, 18, 20, 20, 18, 18, 20, 20, 22]); + } + }); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTSlidersWidget3; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTSlidersWidget3.init(); +}); diff --git a/resources/assets/core/js/widgets/tables/widget-14.js b/resources/assets/core/js/widgets/tables/widget-14.js new file mode 100644 index 0000000..1b89698 --- /dev/null +++ b/resources/assets/core/js/widgets/tables/widget-14.js @@ -0,0 +1,173 @@ +"use strict"; + +// Class definition +var KTTablesWidget14 = function () { + // Private methods + var initChart = function(chartSelector, data) { + var element = document.querySelector(chartSelector); + + if (!element) { + return; + } + + var height = parseInt(KTUtil.css(element, 'height')); + var color = element.getAttribute('data-kt-chart-color'); + + var labelColor = KTUtil.getCssVariableValue('--bs-' + 'gray-800'); + var strokeColor = KTUtil.getCssVariableValue('--bs-' + 'gray-300'); + var baseColor = KTUtil.getCssVariableValue('--bs-' + color); + var lightColor = KTUtil.getCssVariableValue('--bs-white'); + + var options = { + series: [{ + name: 'Net Profit', + data: data + }], + chart: { + fontFamily: 'inherit', + type: 'area', + height: height, + toolbar: { + show: false + }, + zoom: { + enabled: false + }, + sparkline: { + enabled: true + } + }, + plotOptions: {}, + legend: { + show: false + }, + dataLabels: { + enabled: false + }, + fill: { + type: 'solid', + opacity: 1 + }, + stroke: { + curve: 'smooth', + show: true, + width: 2, + colors: [baseColor] + }, + xaxis: { + categories: ['Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'], + axisBorder: { + show: false, + }, + axisTicks: { + show: false + }, + labels: { + show: false, + style: { + colors: labelColor, + fontSize: '12px' + } + }, + crosshairs: { + show: false, + position: 'front', + stroke: { + color: strokeColor, + width: 1, + dashArray: 3 + } + }, + tooltip: { + enabled: false + } + }, + yaxis: { + min: 0, + max: 60, + labels: { + show: false, + style: { + colors: labelColor, + fontSize: '12px' + } + } + }, + states: { + normal: { + filter: { + type: 'none', + value: 0 + } + }, + hover: { + filter: { + type: 'none', + value: 0 + } + }, + active: { + allowMultipleDataPointsSelection: false, + filter: { + type: 'none', + value: 0 + } + } + }, + tooltip: { + enabled: false + }, + colors: [lightColor], + markers: { + colors: [lightColor], + strokeColor: [baseColor], + strokeWidth: 3 + } + }; + + var chart = new ApexCharts(element, options); + + // Set timeout to properly get the parent elements width + setTimeout(function() { + chart.render(); + }, 200); + } + + // Public methods + return { + init: function () { + initChart('#kt_table_widget_14_chart_1', + [7, 10, 5, 21, 6, 11, 5, 23, 5, 11, 18, 7, 21,13] + ); + + initChart('#kt_table_widget_14_chart_2', + [17, 5, 23, 2, 21, 9, 17, 23, 4, 24, 9, 17, 21,7] + ); + + initChart('#kt_table_widget_14_chart_3', + [2, 24, 5, 17, 7, 2, 12, 24, 5, 24, 2, 8, 12,7] + ); + + initChart('#kt_table_widget_14_chart_4', + [24, 3, 5, 19, 3, 7, 25, 14, 5, 14, 2, 8, 5,17] + ); + + initChart('#kt_table_widget_14_chart_5', + [3, 23, 1, 19, 3, 17, 3, 9, 25, 4, 2, 18, 25,3] + ); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTTablesWidget14; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTTablesWidget14.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/tables/widget-3.js b/resources/assets/core/js/widgets/tables/widget-3.js new file mode 100644 index 0000000..f9663b6 --- /dev/null +++ b/resources/assets/core/js/widgets/tables/widget-3.js @@ -0,0 +1,84 @@ +"use strict"; + +// Class definition +var KTTablesWidget3 = function () { + var table; + var datatable; + + // Private methods + const initDatatable = () => { + // Init datatable --- more info on datatables: https://datatables.net/manual/ + datatable = $(table).DataTable({ + "info": false, + 'order': [], + 'paging': false, + 'pageLength': false, + }); + } + + const handleTabStates = () => { + const tabs = document.querySelector('[data-kt-table-widget-3="tabs_nav"]'); + const tabButtons = tabs.querySelectorAll('[data-kt-table-widget-3="tab"]'); + const tabClasses = ['border-bottom', 'border-3', 'border-primary']; + + tabButtons.forEach(tab => { + tab.addEventListener('click', e => { + // Get datatable filter value + const value = tab.getAttribute('data-kt-table-widget-3-value'); + tabButtons.forEach(t => { + t.classList.remove(...tabClasses); + t.classList.add('text-muted'); + }); + + tab.classList.remove('text-muted'); + tab.classList.add(...tabClasses); + + // Filter datatable + if (value === 'Show All') { + datatable.search('').draw(); + } else { + datatable.search(value).draw(); + } + }); + }); + } + + // Handle status filter dropdown + const handleStatusFilter = () => { + const select = document.querySelector('[data-kt-table-widget-3="filter_status"]'); + + $(select).on('select2:select', function (e) { + const value = $(this).val(); + if (value === 'Show All') { + datatable.search('').draw(); + } else { + datatable.search(value).draw(); + } + }); + } + + // Public methods + return { + init: function () { + table = document.querySelector('#kt_widget_table_3'); + + if (!table) { + return; + } + + initDatatable(); + handleTabStates(); + handleStatusFilter(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTTablesWidget3; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTTablesWidget3.init(); +}); diff --git a/resources/assets/core/js/widgets/tables/widget-4.js b/resources/assets/core/js/widgets/tables/widget-4.js new file mode 100644 index 0000000..5e2f899 --- /dev/null +++ b/resources/assets/core/js/widgets/tables/widget-4.js @@ -0,0 +1,259 @@ +"use strict"; + +// Class definition +var KTTablesWidget4 = function () { + var table; + var datatable; + var template; + + // Private methods + const initDatatable = () => { + // Get subtable template + const subtable = document.querySelector('[data-kt-table-widget-4="subtable_template"]'); + template = subtable.cloneNode(true); + template.classList.remove('d-none'); + + // Remove subtable template + subtable.parentNode.removeChild(subtable); + + // Init datatable --- more info on datatables: https://datatables.net/manual/ + datatable = $(table).DataTable({ + "info": false, + 'order': [], + "lengthChange": false, + 'pageLength': 6, + 'ordering': false, + 'paging': false, + 'columnDefs': [ + { orderable: false, targets: 0 }, // Disable ordering on column 0 (checkbox) + { orderable: false, targets: 6 }, // Disable ordering on column 6 (actions) + ] + }); + + // Re-init functions on every table re-draw -- more info: https://datatables.net/reference/event/draw + datatable.on('draw', function () { + resetSubtable(); + handleActionButton(); + }); + } + + // Search Datatable --- official docs reference: https://datatables.net/reference/api/search() + var handleSearchDatatable = () => { + const filterSearch = document.querySelector('[data-kt-table-widget-4="search"]'); + filterSearch.addEventListener('keyup', function (e) { + datatable.search(e.target.value).draw(); + }); + } + + // Handle status filter + const handleStatusFilter = () => { + const select = document.querySelector('[data-kt-table-widget-4="filter_status"]'); + + $(select).on('select2:select', function (e) { + const value = $(this).val(); + if (value === 'Show All') { + datatable.search('').draw(); + } else { + datatable.search(value).draw(); + } + }); + } + + // Subtable data sample + const data = [ + { + image: '76', + name: 'Go Pro 8', + description: 'Latest version of Go Pro.', + cost: '500.00', + qty: '1', + total: '500.00', + stock: '12' + }, + { + image: '60', + name: 'Bose Earbuds', + description: 'Top quality earbuds from Bose.', + cost: '300.00', + qty: '1', + total: '300.00', + stock: '8' + }, + { + image: '211', + name: 'Dry-fit Sports T-shirt', + description: 'Comfortable sportswear.', + cost: '89.00', + qty: '1', + total: '89.00', + stock: '18' + }, + { + image: '21', + name: 'Apple Airpod 3', + description: 'Apple\'s latest earbuds.', + cost: '200.00', + qty: '2', + total: '400.00', + stock: '32' + }, + { + image: '83', + name: 'Nike Pumps', + description: 'Apple\'s latest headphones.', + cost: '200.00', + qty: '1', + total: '200.00', + stock: '8' + } + ]; + + // Handle action button + const handleActionButton = () => { + const buttons = document.querySelectorAll('[data-kt-table-widget-4="expand_row"]'); + + // Sample row items counter --- for demo purpose only, remove this variable in your project + const rowItems = [3, 1, 3, 1, 2, 1]; + + buttons.forEach((button, index) => { + button.addEventListener('click', e => { + e.stopImmediatePropagation(); + e.preventDefault(); + + const row = button.closest('tr'); + const rowClasses = ['isOpen', 'border-bottom-0']; + + // Get total number of items to generate --- for demo purpose only, remove this code snippet in your project + const demoData = []; + for (var j = 0; j < rowItems[index]; j++) { + demoData.push(data[j]); + } + // End of generating demo data + + // Handle subtable expanded state + if (row.classList.contains('isOpen')) { + // Remove all subtables from current order row + while (row.nextSibling && row.nextSibling.getAttribute('data-kt-table-widget-4') === 'subtable_template') { + row.nextSibling.parentNode.removeChild(row.nextSibling); + } + row.classList.remove(...rowClasses); + button.classList.remove('active'); + } else { + populateTemplate(demoData, row); + row.classList.add(...rowClasses); + button.classList.add('active'); + } + }); + }); + } + + // Populate template with content/data -- content/data can be replaced with relevant data from database or API + const populateTemplate = (data, target) => { + data.forEach((d, index) => { + // Clone template node + const newTemplate = template.cloneNode(true); + + // Stock badges + const lowStock = `
      Low Stock
      `; + const inStock = `
      In Stock
      `; + + // Select data elements + const image = newTemplate.querySelector('[data-kt-table-widget-4="template_image"]'); + const name = newTemplate.querySelector('[data-kt-table-widget-4="template_name"]'); + const description = newTemplate.querySelector('[data-kt-table-widget-4="template_description"]'); + const cost = newTemplate.querySelector('[data-kt-table-widget-4="template_cost"]'); + const qty = newTemplate.querySelector('[data-kt-table-widget-4="template_qty"]'); + const total = newTemplate.querySelector('[data-kt-table-widget-4="template_total"]'); + const stock = newTemplate.querySelector('[data-kt-table-widget-4="template_stock"]'); + + // Populate elements with data + const imageSrc = image.getAttribute('data-kt-src-path'); + image.setAttribute('src', imageSrc + d.image + '.gif'); + name.innerText = d.name; + description.innerText = d.description; + cost.innerText = d.cost; + qty.innerText = d.qty; + total.innerText = d.total; + if (d.stock > 10) { + stock.innerHTML = inStock; + } else { + stock.innerHTML = lowStock; + } + + // New template border controller + // When only 1 row is available + if (data.length === 1) { + //let borderClasses = ['rounded', 'rounded-end-0']; + //newTemplate.querySelectorAll('td')[0].classList.add(...borderClasses); + //borderClasses = ['rounded', 'rounded-start-0']; + //newTemplate.querySelectorAll('td')[4].classList.add(...borderClasses); + + // Remove bottom border + //newTemplate.classList.add('border-bottom-0'); + } else { + // When multiple rows detected + if (index === (data.length - 1)) { // first row + //let borderClasses = ['rounded-start', 'rounded-bottom-0']; + // newTemplate.querySelectorAll('td')[0].classList.add(...borderClasses); + //borderClasses = ['rounded-end', 'rounded-bottom-0']; + //newTemplate.querySelectorAll('td')[4].classList.add(...borderClasses); + } + if (index === 0) { // last row + //let borderClasses = ['rounded-start', 'rounded-top-0']; + //newTemplate.querySelectorAll('td')[0].classList.add(...borderClasses); + //borderClasses = ['rounded-end', 'rounded-top-0']; + //newTemplate.querySelectorAll('td')[4].classList.add(...borderClasses); + + // Remove bottom border on last row + //newTemplate.classList.add('border-bottom-0'); + } + } + + // Insert new template into table + const tbody = table.querySelector('tbody'); + tbody.insertBefore(newTemplate, target.nextSibling); + }); + } + + // Reset subtable + const resetSubtable = () => { + const subtables = document.querySelectorAll('[data-kt-table-widget-4="subtable_template"]'); + subtables.forEach(st => { + st.parentNode.removeChild(st); + }); + + const rows = table.querySelectorAll('tbody tr'); + rows.forEach(r => { + r.classList.remove('isOpen'); + if (r.querySelector('[data-kt-table-widget-4="expand_row"]')) { + r.querySelector('[data-kt-table-widget-4="expand_row"]').classList.remove('active'); + } + }); + } + + // Public methods + return { + init: function () { + table = document.querySelector('#kt_table_widget_4_table'); + + if (!table) { + return; + } + + initDatatable(); + handleSearchDatatable(); + handleStatusFilter(); + handleActionButton(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTTablesWidget4; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTTablesWidget4.init(); +}); diff --git a/resources/assets/core/js/widgets/tables/widget-5.js b/resources/assets/core/js/widgets/tables/widget-5.js new file mode 100644 index 0000000..11823bf --- /dev/null +++ b/resources/assets/core/js/widgets/tables/widget-5.js @@ -0,0 +1,69 @@ +"use strict"; + +// Class definition +var KTTablesWidget5 = function () { + var table; + var datatable; + + // Private methods + const initDatatable = () => { + // Set date data order + const tableRows = table.querySelectorAll('tbody tr'); + + tableRows.forEach(row => { + const dateRow = row.querySelectorAll('td'); + const realDate = moment(dateRow[2].innerHTML, "MMM DD, YYYY").format(); // select date from 3rd column in table + dateRow[2].setAttribute('data-order', realDate); + }); + + // Init datatable --- more info on datatables: https://datatables.net/manual/ + datatable = $(table).DataTable({ + "info": false, + 'order': [], + "lengthChange": false, + 'pageLength': 6, + 'paging': false, + 'columnDefs': [ + { orderable: false, targets: 1 }, // Disable ordering on column 1 (product id) + ] + }); + } + + // Handle status filter + const handleStatusFilter = () => { + const select = document.querySelector('[data-kt-table-widget-5="filter_status"]'); + + $(select).on('select2:select', function (e) { + const value = $(this).val(); + if (value === 'Show All') { + datatable.search('').draw(); + } else { + datatable.search(value).draw(); + } + }); + } + + // Public methods + return { + init: function () { + table = document.querySelector('#kt_table_widget_5_table'); + + if (!table) { + return; + } + + initDatatable(); + handleStatusFilter(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTTablesWidget5; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTTablesWidget5.init(); +}); diff --git a/resources/assets/core/js/widgets/timeline/widget-1.js b/resources/assets/core/js/widgets/timeline/widget-1.js new file mode 100644 index 0000000..cd42503 --- /dev/null +++ b/resources/assets/core/js/widgets/timeline/widget-1.js @@ -0,0 +1,599 @@ +"use strict"; + +// Class definition +var KTTimelineWidget1 = function () { + // Private methods + // Day timeline + const initTimelineDay = () => { + // Detect element + const element = document.querySelector('#kt_timeline_widget_1_1'); + if (!element) { + return; + } + + if(element.innerHTML){ + return; + } + + // Set variables + var now = Date.now(); + var rootImagePath = element.getAttribute('data-kt-timeline-widget-1-image-root'); + + // Build vis-timeline datasets + var groups = new vis.DataSet([ + { + id: "research", + content: "Research", + order: 1 + }, + { + id: "qa", + content: "Phase 2.6 QA", + order: 2 + }, + { + id: "ui", + content: "UI Design", + order: 3 + }, + { + id: "dev", + content: "Development", + order: 4 + } + ]); + + + var items = new vis.DataSet([ + { + id: 1, + group: 'research', + start: now, + end: moment(now).add(1.5, 'hours'), + content: 'Meeting', + progress: "60%", + color: 'primary', + users: [ + 'avatars/300-6.jpg', + 'avatars/300-1.jpg' + ] + }, + { + id: 2, + group: 'qa', + start: moment(now).add(1, 'hours'), + end: moment(now).add(2, 'hours'), + content: 'Testing', + progress: "47%", + color: 'success', + users: [ + 'avatars/300-2.jpg' + ] + }, + { + id: 3, + group: 'ui', + start: moment(now).add(30, 'minutes'), + end: moment(now).add(2.5, 'hours'), + content: 'Landing page', + progress: "55%", + color: 'danger', + users: [ + 'avatars/300-5.jpg', + 'avatars/300-20.jpg' + ] + }, + { + id: 4, + group: 'dev', + start: moment(now).add(1.5, 'hours'), + end: moment(now).add(3, 'hours'), + content: 'Products module', + progress: "75%", + color: 'info', + users: [ + 'avatars/300-23.jpg', + 'avatars/300-12.jpg', + 'avatars/300-9.jpg' + ] + }, + ]); + + // Set vis-timeline options + var options = { + zoomable: false, + moveable: false, + selectable: false, + // More options https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + margin: { + item: { + horizontal: 10, + vertical: 35 + } + }, + + // Remove current time line --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + showCurrentTime: false, + + // Whitelist specified tags and attributes from template --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + xss: { + disabled: false, + filterOptions: { + whiteList: { + div: ['class', 'style'], + img: ['data-kt-timeline-avatar-src', 'alt'], + a: ['href', 'class'] + }, + }, + }, + // specify a template for the items + template: function (item) { + // Build users group + const users = item.users; + let userTemplate = ''; + users.forEach(user => { + userTemplate += `
      `; + }); + + return `
      + `; + }, + + // Remove block ui on initial draw + onInitialDrawComplete: function () { + handleAvatarPath(); + + const target = element.closest('[data-kt-timeline-widget-1-blockui="true"]'); + const blockUI = KTBlockUI.getInstance(target); + + if (blockUI.isBlocked()) { + setTimeout(() => { + blockUI.release(); + }, 1000); + } + } + }; + + // Init vis-timeline + const timeline = new vis.Timeline(element, items, groups, options); + + // Prevent infinite loop draws + timeline.on("currentTimeTick", () => { + // After fired the first time we un-subscribed + timeline.off("currentTimeTick"); + }); + } + + // Week timeline + const initTimelineWeek = () => { + // Detect element + const element = document.querySelector('#kt_timeline_widget_1_2'); + if (!element) { + return; + } + + if(element.innerHTML){ + return; + } + + // Set variables + var now = Date.now(); + var rootImagePath = element.getAttribute('data-kt-timeline-widget-1-image-root'); + + // Build vis-timeline datasets + var groups = new vis.DataSet([ + { + id: 1, + content: "Research", + order: 1 + }, + { + id: 2, + content: "Phase 2.6 QA", + order: 2 + }, + { + id: 3, + content: "UI Design", + order: 3 + }, + { + id: 4, + content: "Development", + order: 4 + } + ]); + + + var items = new vis.DataSet([ + { + id: 1, + group: 1, + start: now, + end: moment(now).add(7, 'days'), + content: 'Framework', + progress: "71%", + color: 'primary', + users: [ + 'avatars/300-6.jpg', + 'avatars/300-1.jpg' + ] + }, + { + id: 2, + group: 2, + start: moment(now).add(7, 'days'), + end: moment(now).add(14, 'days'), + content: 'Accessibility', + progress: "84%", + color: 'success', + users: [ + 'avatars/300-2.jpg' + ] + }, + { + id: 3, + group: 3, + start: moment(now).add(3, 'days'), + end: moment(now).add(20, 'days'), + content: 'Microsites', + progress: "69%", + color: 'danger', + users: [ + 'avatars/300-5.jpg', + 'avatars/300-20.jpg' + ] + }, + { + id: 4, + group: 4, + start: moment(now).add(10, 'days'), + end: moment(now).add(21, 'days'), + content: 'Deployment', + progress: "74%", + color: 'info', + users: [ + 'avatars/300-23.jpg', + 'avatars/300-12.jpg', + 'avatars/300-9.jpg' + ] + }, + ]); + + // Set vis-timeline options + var options = { + zoomable: false, + moveable: false, + selectable: false, + + // More options https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + margin: { + item: { + horizontal: 10, + vertical: 35 + } + }, + + // Remove current time line --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + showCurrentTime: false, + + // Whitelist specified tags and attributes from template --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + xss: { + disabled: false, + filterOptions: { + whiteList: { + div: ['class', 'style'], + img: ['data-kt-timeline-avatar-src', 'alt'], + a: ['href', 'class'] + }, + }, + }, + // specify a template for the items + template: function (item) { + // Build users group + const users = item.users; + let userTemplate = ''; + users.forEach(user => { + userTemplate += `
      `; + }); + + return `
      +
      + +
      +
      + ${userTemplate} +
      + + ${item.content} +
      + +
      + ${item.progress} +
      +
      + `; + }, + + // Remove block ui on initial draw + onInitialDrawComplete: function () { + handleAvatarPath(); + + const target = element.closest('[data-kt-timeline-widget-1-blockui="true"]'); + const blockUI = KTBlockUI.getInstance(target); + + if (blockUI.isBlocked()) { + setTimeout(() => { + blockUI.release(); + }, 1000); + } + } + }; + + // Init vis-timeline + const timeline = new vis.Timeline(element, items, groups, options); + + // Prevent infinite loop draws + timeline.on("currentTimeTick", () => { + // After fired the first time we un-subscribed + timeline.off("currentTimeTick"); + }); + } + + // Month timeline + const initTimelineMonth = () => { + // Detect element + const element = document.querySelector('#kt_timeline_widget_1_3'); + if (!element) { + return; + } + + if(element.innerHTML){ + return; + } + + // Set variables + var now = Date.now(); + var rootImagePath = element.getAttribute('data-kt-timeline-widget-1-image-root'); + + // Build vis-timeline datasets + var groups = new vis.DataSet([ + { + id: "research", + content: "Research", + order: 1 + }, + { + id: "qa", + content: "Phase 2.6 QA", + order: 2 + }, + { + id: "ui", + content: "UI Design", + order: 3 + }, + { + id: "dev", + content: "Development", + order: 4 + } + ]); + + + var items = new vis.DataSet([ + { + id: 1, + group: 'research', + start: now, + end: moment(now).add(2, 'months'), + content: 'Tags', + progress: "79%", + color: 'primary', + users: [ + 'avatars/300-6.jpg', + 'avatars/300-1.jpg' + ] + }, + { + id: 2, + group: 'qa', + start: moment(now).add(0.5, 'months'), + end: moment(now).add(5, 'months'), + content: 'Testing', + progress: "64%", + color: 'success', + users: [ + 'avatars/300-2.jpg' + ] + }, + { + id: 3, + group: 'ui', + start: moment(now).add(2, 'months'), + end: moment(now).add(6.5, 'months'), + content: 'Media', + progress: "82%", + color: 'danger', + users: [ + 'avatars/300-5.jpg', + 'avatars/300-20.jpg' + ] + }, + { + id: 4, + group: 'dev', + start: moment(now).add(4, 'months'), + end: moment(now).add(7, 'months'), + content: 'Plugins', + progress: "58%", + color: 'info', + users: [ + 'avatars/300-23.jpg', + 'avatars/300-12.jpg', + 'avatars/300-9.jpg' + ] + }, + ]); + + // Set vis-timeline options + var options = { + zoomable: false, + moveable: false, + selectable: false, + + // More options https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + margin: { + item: { + horizontal: 10, + vertical: 35 + } + }, + + // Remove current time line --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + showCurrentTime: false, + + // Whitelist specified tags and attributes from template --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + xss: { + disabled: false, + filterOptions: { + whiteList: { + div: ['class', 'style'], + img: ['data-kt-timeline-avatar-src', 'alt'], + a: ['href', 'class'] + }, + }, + }, + // specify a template for the items + template: function (item) { + // Build users group + const users = item.users; + let userTemplate = ''; + users.forEach(user => { + userTemplate += `
      `; + }); + + return `
      +
      + +
      +
      + ${userTemplate} +
      + + ${item.content} +
      + +
      + ${item.progress} +
      +
      + `; + }, + + // Remove block ui on initial draw + onInitialDrawComplete: function () { + handleAvatarPath(); + + const target = element.closest('[data-kt-timeline-widget-1-blockui="true"]'); + const blockUI = KTBlockUI.getInstance(target); + + if (blockUI.isBlocked()) { + setTimeout(() => { + blockUI.release(); + }, 1000); + } + } + }; + + // Init vis-timeline + const timeline = new vis.Timeline(element, items, groups, options); + + // Prevent infinite loop draws + timeline.on("currentTimeTick", () => { + // After fired the first time we un-subscribed + timeline.off("currentTimeTick"); + }); + } + + // Handle BlockUI + const handleBlockUI = () => { + // Select block ui elements + const elements = document.querySelectorAll('[data-kt-timeline-widget-1-blockui="true"]'); + + // Init block ui + elements.forEach(element => { + const blockUI = new KTBlockUI(element, { + overlayClass: "bg-body", + }); + + blockUI.block(); + }); + } + + // Handle tabs visibility + const tabsVisibility = () => { + const tabs = document.querySelectorAll('[data-kt-timeline-widget-1="tab"]'); + + tabs.forEach(tab => { + tab.addEventListener('shown.bs.tab', e => { + // Week tab + if(tab.getAttribute('href') === '#kt_timeline_widget_1_tab_week'){ + initTimelineWeek(); + } + + // Month tab + if(tab.getAttribute('href') === '#kt_timeline_widget_1_tab_month'){ + initTimelineMonth(); + } + }); + }); + } + + // Handle avatar path conflict + const handleAvatarPath = () => { + const avatars = document.querySelectorAll('[data-kt-timeline-avatar-src]'); + + if(!avatars){ + return; + } + + avatars.forEach(avatar => { + avatar.setAttribute('src', avatar.getAttribute('data-kt-timeline-avatar-src')); + avatar.removeAttribute('data-kt-timeline-avatar-src'); + }); + } + + // Public methods + return { + init: function () { + initTimelineDay(); + handleBlockUI(); + tabsVisibility(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTTimelineWidget1; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTTimelineWidget1.init(); +}); diff --git a/resources/assets/core/js/widgets/timeline/widget-2.js b/resources/assets/core/js/widgets/timeline/widget-2.js new file mode 100644 index 0000000..e6a9807 --- /dev/null +++ b/resources/assets/core/js/widgets/timeline/widget-2.js @@ -0,0 +1,61 @@ +"use strict"; + +// Class definition +var KTTimelineWidget2 = function () { + // Private methods + var handleCheckbox = function() { + var card = document.querySelector('#kt_timeline_widget_2_card'); + + if (!card) { + return; + } + + // Checkbox Handler + KTUtil.on(card, '[data-kt-element="checkbox"]', 'change', function (e) { + var check = this.closest('.form-check'); + var tr = this.closest('tr'); + var bullet = tr.querySelector('[data-kt-element="bullet"]'); + var status = tr.querySelector('[data-kt-element="status"]'); + + if ( this.checked === true ) { + check.classList.add('form-check-success'); + + bullet.classList.remove('bg-primary'); + bullet.classList.add('bg-success'); + + status.innerText = 'Done'; + status.classList.remove('badge-light-primary'); + status.classList.add('badge-light-success'); + } else { + check.classList.remove('form-check-success'); + + bullet.classList.remove('bg-success'); + bullet.classList.add('bg-primary'); + + status.innerText = 'In Process'; + status.classList.remove('badge-light-success'); + status.classList.add('badge-light-primary'); + } + }); + } + + // Public methods + return { + init: function () { + handleCheckbox(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTTimelineWidget2; +} + +// On document ready +KTUtil.onDOMContentLoaded(function() { + KTTimelineWidget2.init(); +}); + + + \ No newline at end of file diff --git a/resources/assets/core/js/widgets/timeline/widget-4.js b/resources/assets/core/js/widgets/timeline/widget-4.js new file mode 100644 index 0000000..cbe1830 --- /dev/null +++ b/resources/assets/core/js/widgets/timeline/widget-4.js @@ -0,0 +1,779 @@ +"use strict"; + +// Class definition +var KTTimelineWidget4 = function () { + // Private methods + // Day timeline + const initTimelineDay = () => { + // Detect element + const element = document.querySelector('#kt_timeline_widget_4_1'); + if (!element) { + return; + } + + if(element.innerHTML){ + return; + } + + // Set variables + var now = Date.now(); + var rootImagePath = element.getAttribute('data-kt-timeline-widget-4-image-root'); + + // Build vis-timeline datasets + var groups = new vis.DataSet([ + { + id: "research", + content: "Research", + order: 1 + }, + { + id: "qa", + content: "Phase 2.6 QA", + order: 2 + }, + { + id: "ui", + content: "UI Design", + order: 3 + }, + { + id: "dev", + content: "Development", + order: 4 + } + ]); + + + var items = new vis.DataSet([ + { + id: 1, + group: 'research', + start: now, + end: moment(now).add(1.5, 'hours'), + content: 'Meeting', + progress: "60%", + color: 'primary', + users: [ + 'avatars/300-6.jpg', + 'avatars/300-1.jpg' + ] + }, + { + id: 2, + group: 'qa', + start: moment(now).add(1, 'hours'), + end: moment(now).add(2, 'hours'), + content: 'Testing', + progress: "47%", + color: 'success', + users: [ + 'avatars/300-2.jpg' + ] + }, + { + id: 3, + group: 'ui', + start: moment(now).add(30, 'minutes'), + end: moment(now).add(2.5, 'hours'), + content: 'Landing page', + progress: "55%", + color: 'danger', + users: [ + 'avatars/300-5.jpg', + 'avatars/300-20.jpg' + ] + }, + { + id: 4, + group: 'dev', + start: moment(now).add(1.5, 'hours'), + end: moment(now).add(3, 'hours'), + content: 'Products module', + progress: "75%", + color: 'info', + users: [ + 'avatars/300-23.jpg', + 'avatars/300-12.jpg', + 'avatars/300-9.jpg' + ] + }, + ]); + + // Set vis-timeline options + var options = { + zoomable: false, + moveable: false, + selectable: false, + // More options https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + margin: { + item: { + horizontal: 10, + vertical: 35 + } + }, + + // Remove current time line --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + showCurrentTime: false, + + // Whitelist specified tags and attributes from template --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + xss: { + disabled: false, + filterOptions: { + whiteList: { + div: ['class', 'style'], + img: ['data-kt-timeline-avatar-src', 'alt'], + a: ['href', 'class'] + }, + }, + }, + // specify a template for the items + template: function (item) { + // Build users group + const users = item.users; + let userTemplate = ''; + users.forEach(user => { + userTemplate += `
      `; + }); + + return `
      +
      + +
      +
      + ${userTemplate} +
      + + ${item.content} +
      + +
      + ${item.progress} +
      +
      + `; + }, + + // Remove block ui on initial draw + onInitialDrawComplete: function () { + handleAvatarPath(); + + const target = element.closest('[data-kt-timeline-widget-4-blockui="true"]'); + const blockUI = KTBlockUI.getInstance(target); + + if (blockUI.isBlocked()) { + setTimeout(() => { + blockUI.release(); + }, 1000); + } + } + }; + + // Init vis-timeline + const timeline = new vis.Timeline(element, items, groups, options); + + // Prevent infinite loop draws + timeline.on("currentTimeTick", () => { + // After fired the first time we un-subscribed + timeline.off("currentTimeTick"); + }); + } + + // Week timeline + const initTimelineWeek = () => { + // Detect element + const element = document.querySelector('#kt_timeline_widget_4_2'); + if (!element) { + return; + } + + if(element.innerHTML){ + return; + } + + // Set variables + var now = Date.now(); + var rootImagePath = element.getAttribute('data-kt-timeline-widget-4-image-root'); + + // Build vis-timeline datasets + var groups = new vis.DataSet([ + { + id: 1, + content: "Research", + order: 1 + }, + { + id: 2, + content: "Phase 2.6 QA", + order: 2 + }, + { + id: 3, + content: "UI Design", + order: 3 + }, + { + id: 4, + content: "Development", + order: 4 + } + ]); + + + var items = new vis.DataSet([ + { + id: 1, + group: 1, + start: now, + end: moment(now).add(7, 'days'), + content: 'Framework', + progress: "71%", + color: 'primary', + users: [ + 'avatars/300-6.jpg', + 'avatars/300-1.jpg' + ] + }, + { + id: 2, + group: 2, + start: moment(now).add(7, 'days'), + end: moment(now).add(14, 'days'), + content: 'Accessibility', + progress: "84%", + color: 'success', + users: [ + 'avatars/300-2.jpg' + ] + }, + { + id: 3, + group: 3, + start: moment(now).add(3, 'days'), + end: moment(now).add(20, 'days'), + content: 'Microsites', + progress: "69%", + color: 'danger', + users: [ + 'avatars/300-5.jpg', + 'avatars/300-20.jpg' + ] + }, + { + id: 4, + group: 4, + start: moment(now).add(10, 'days'), + end: moment(now).add(21, 'days'), + content: 'Deployment', + progress: "74%", + color: 'info', + users: [ + 'avatars/300-23.jpg', + 'avatars/300-12.jpg', + 'avatars/300-9.jpg' + ] + }, + ]); + + // Set vis-timeline options + var options = { + zoomable: false, + moveable: false, + selectable: false, + + // More options https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + margin: { + item: { + horizontal: 10, + vertical: 35 + } + }, + + // Remove current time line --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + showCurrentTime: false, + + // Whitelist specified tags and attributes from template --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + xss: { + disabled: false, + filterOptions: { + whiteList: { + div: ['class', 'style'], + img: ['data-kt-timeline-avatar-src', 'alt'], + a: ['href', 'class'] + }, + }, + }, + // specify a template for the items + template: function (item) { + // Build users group + const users = item.users; + let userTemplate = ''; + users.forEach(user => { + userTemplate += `
      `; + }); + + return `
      +
      + +
      +
      + ${userTemplate} +
      + + ${item.content} +
      + +
      + ${item.progress} +
      +
      + `; + }, + + // Remove block ui on initial draw + onInitialDrawComplete: function () { + handleAvatarPath(); + + const target = element.closest('[data-kt-timeline-widget-4-blockui="true"]'); + const blockUI = KTBlockUI.getInstance(target); + + if (blockUI.isBlocked()) { + setTimeout(() => { + blockUI.release(); + }, 1000); + } + } + }; + + // Init vis-timeline + const timeline = new vis.Timeline(element, items, groups, options); + + // Prevent infinite loop draws + timeline.on("currentTimeTick", () => { + // After fired the first time we un-subscribed + timeline.off("currentTimeTick"); + }); + } + + // Month timeline + const initTimelineMonth = () => { + // Detect element + const element = document.querySelector('#kt_timeline_widget_4_3'); + if (!element) { + return; + } + + if(element.innerHTML){ + return; + } + + // Set variables + var now = Date.now(); + var rootImagePath = element.getAttribute('data-kt-timeline-widget-4-image-root'); + + // Build vis-timeline datasets + var groups = new vis.DataSet([ + { + id: "research", + content: "Research", + order: 1 + }, + { + id: "qa", + content: "Phase 2.6 QA", + order: 2 + }, + { + id: "ui", + content: "UI Design", + order: 3 + }, + { + id: "dev", + content: "Development", + order: 4 + } + ]); + + + var items = new vis.DataSet([ + { + id: 1, + group: 'research', + start: now, + end: moment(now).add(2, 'months'), + content: 'Tags', + progress: "79%", + color: 'primary', + users: [ + 'avatars/300-6.jpg', + 'avatars/300-1.jpg' + ] + }, + { + id: 2, + group: 'qa', + start: moment(now).add(0.5, 'months'), + end: moment(now).add(5, 'months'), + content: 'Testing', + progress: "64%", + color: 'success', + users: [ + 'avatars/300-2.jpg' + ] + }, + { + id: 3, + group: 'ui', + start: moment(now).add(2, 'months'), + end: moment(now).add(6.5, 'months'), + content: 'Media', + progress: "82%", + color: 'danger', + users: [ + 'avatars/300-5.jpg', + 'avatars/300-20.jpg' + ] + }, + { + id: 4, + group: 'dev', + start: moment(now).add(4, 'months'), + end: moment(now).add(7, 'months'), + content: 'Plugins', + progress: "58%", + color: 'info', + users: [ + 'avatars/300-23.jpg', + 'avatars/300-12.jpg', + 'avatars/300-9.jpg' + ] + }, + ]); + + // Set vis-timeline options + var options = { + zoomable: false, + moveable: false, + selectable: false, + + // More options https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + margin: { + item: { + horizontal: 10, + vertical: 35 + } + }, + + // Remove current time line --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + showCurrentTime: false, + + // Whitelist specified tags and attributes from template --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + xss: { + disabled: false, + filterOptions: { + whiteList: { + div: ['class', 'style'], + img: ['data-kt-timeline-avatar-src', 'alt'], + a: ['href', 'class'] + }, + }, + }, + // specify a template for the items + template: function (item) { + // Build users group + const users = item.users; + let userTemplate = ''; + users.forEach(user => { + userTemplate += `
      `; + }); + + return `
      +
      + +
      +
      + ${userTemplate} +
      + + ${item.content} +
      + +
      + ${item.progress} +
      +
      + `; + }, + + // Remove block ui on initial draw + onInitialDrawComplete: function () { + handleAvatarPath(); + + const target = element.closest('[data-kt-timeline-widget-4-blockui="true"]'); + const blockUI = KTBlockUI.getInstance(target); + + if (blockUI.isBlocked()) { + setTimeout(() => { + blockUI.release(); + }, 1000); + } + } + }; + + // Init vis-timeline + const timeline = new vis.Timeline(element, items, groups, options); + + // Prevent infinite loop draws + timeline.on("currentTimeTick", () => { + // After fired the first time we un-subscribed + timeline.off("currentTimeTick"); + }); + } + + // 2022 timeline + const initTimeline2022 = () => { + // Detect element + const element = document.querySelector('#kt_timeline_widget_4_4'); + if (!element) { + return; + } + + if(element.innerHTML){ + return; + } + + // Set variables + var now = Date.now(); + var rootImagePath = element.getAttribute('data-kt-timeline-widget-4-image-root'); + + // Build vis-timeline datasets + var groups = new vis.DataSet([ + { + id: "research", + content: "Research", + order: 1 + }, + { + id: "qa", + content: "Phase 2.6 QA", + order: 2 + }, + { + id: "ui", + content: "UI Design", + order: 3 + }, + { + id: "dev", + content: "Development", + order: 4 + } + ]); + + + var items = new vis.DataSet([ + { + id: 1, + group: 'research', + start: now, + end: moment(now).add(2, 'months'), + content: 'Tags', + progress: "51%", + color: 'primary', + users: [ + 'avatars/300-7.jpg', + 'avatars/300-2.jpg' + ] + }, + { + id: 2, + group: 'qa', + start: moment(now).add(0.5, 'months'), + end: moment(now).add(5, 'months'), + content: 'Testing', + progress: "64%", + color: 'success', + users: [ + 'avatars/300-2.jpg' + ] + }, + { + id: 3, + group: 'ui', + start: moment(now).add(2, 'months'), + end: moment(now).add(6.5, 'months'), + content: 'Media', + progress: "54%", + color: 'danger', + users: [ + 'avatars/300-5.jpg', + 'avatars/300-21.jpg' + ] + }, + { + id: 4, + group: 'dev', + start: moment(now).add(4, 'months'), + end: moment(now).add(7, 'months'), + content: 'Plugins', + progress: "348%", + color: 'info', + users: [ + 'avatars/300-3.jpg', + 'avatars/300-11.jpg', + 'avatars/300-13.jpg' + ] + }, + ]); + + // Set vis-timeline options + var options = { + zoomable: false, + moveable: false, + selectable: false, + + // More options https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + margin: { + item: { + horizontal: 10, + vertical: 35 + } + }, + + // Remove current time line --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + showCurrentTime: false, + + // Whitelist specified tags and attributes from template --- more info: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options + xss: { + disabled: false, + filterOptions: { + whiteList: { + div: ['class', 'style'], + img: ['data-kt-timeline-avatar-src', 'alt'], + a: ['href', 'class'] + }, + }, + }, + // specify a template for the items + template: function (item) { + // Build users group + const users = item.users; + let userTemplate = ''; + users.forEach(user => { + userTemplate += `
      `; + }); + + return `
      +
      + +
      +
      + ${userTemplate} +
      + + ${item.content} +
      + +
      + ${item.progress} +
      +
      + `; + }, + + // Remove block ui on initial draw + onInitialDrawComplete: function () { + handleAvatarPath(); + + const target = element.closest('[data-kt-timeline-widget-4-blockui="true"]'); + const blockUI = KTBlockUI.getInstance(target); + + if (blockUI.isBlocked()) { + setTimeout(() => { + blockUI.release(); + }, 1000); + } + } + }; + + // Init vis-timeline + const timeline = new vis.Timeline(element, items, groups, options); + + // Prevent infinite loop draws + timeline.on("currentTimeTick", () => { + // After fired the first time we un-subscribed + timeline.off("currentTimeTick"); + }); + } + // Handle BlockUI + const handleBlockUI = () => { + // Select block ui elements + const elements = document.querySelectorAll('[data-kt-timeline-widget-4-blockui="true"]'); + + // Init block ui + elements.forEach(element => { + const blockUI = new KTBlockUI(element, { + overlayClass: "bg-body", + }); + + blockUI.block(); + }); + } + + // Handle tabs visibility + const tabsVisibility = () => { + const tabs = document.querySelectorAll('[data-kt-timeline-widget-4="tab"]'); + + tabs.forEach(tab => { + tab.addEventListener('shown.bs.tab', e => { + // Week tab + if(tab.getAttribute('href') === '#kt_timeline_widget_4_tab_week'){ + initTimelineWeek(); + } + + // Month tab + if(tab.getAttribute('href') === '#kt_timeline_widget_4_tab_month'){ + initTimelineMonth(); + } + + // 2022 tab + if(tab.getAttribute('href') === '#kt_timeline_widget_4_tab_2022'){ + initTimeline2022(); + } + }); + }); + } + + // Handle avatar path conflict + const handleAvatarPath = () => { + const avatars = document.querySelectorAll('[data-kt-timeline-avatar-src]'); + + if(!avatars){ + return; + } + + avatars.forEach(avatar => { + avatar.setAttribute('src', avatar.getAttribute('data-kt-timeline-avatar-src')); + avatar.removeAttribute('data-kt-timeline-avatar-src'); + }); + } + + // Public methods + return { + init: function () { + initTimelineDay(); + handleBlockUI(); + tabsVisibility(); + } + } +}(); + +// Webpack support +if (typeof module !== 'undefined') { + module.exports = KTTimelineWidget4; +} + +// On document ready +KTUtil.onDOMContentLoaded(function () { + KTTimelineWidget4.init(); +}); diff --git a/resources/assets/core/media/avatars/default.png b/resources/assets/core/media/avatars/default.png new file mode 100644 index 0000000..600493d Binary files /dev/null and b/resources/assets/core/media/avatars/default.png differ diff --git a/resources/assets/core/media/icons/duotune/abstract/abs001.svg b/resources/assets/core/media/icons/duotune/abstract/abs001.svg new file mode 100644 index 0000000..d07fb26 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs001.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs002.svg b/resources/assets/core/media/icons/duotune/abstract/abs002.svg new file mode 100644 index 0000000..faa68c5 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs002.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs003.svg b/resources/assets/core/media/icons/duotune/abstract/abs003.svg new file mode 100644 index 0000000..7e5853c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs003.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs004.svg b/resources/assets/core/media/icons/duotune/abstract/abs004.svg new file mode 100644 index 0000000..062af93 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs004.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs005.svg b/resources/assets/core/media/icons/duotune/abstract/abs005.svg new file mode 100644 index 0000000..684404c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs005.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs006.svg b/resources/assets/core/media/icons/duotune/abstract/abs006.svg new file mode 100644 index 0000000..6302c6c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs006.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs007.svg b/resources/assets/core/media/icons/duotune/abstract/abs007.svg new file mode 100644 index 0000000..a306715 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs007.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs008.svg b/resources/assets/core/media/icons/duotune/abstract/abs008.svg new file mode 100644 index 0000000..698851e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs008.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs009.svg b/resources/assets/core/media/icons/duotune/abstract/abs009.svg new file mode 100644 index 0000000..1444570 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs009.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs010.svg b/resources/assets/core/media/icons/duotune/abstract/abs010.svg new file mode 100644 index 0000000..a2b9db3 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs010.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs011.svg b/resources/assets/core/media/icons/duotune/abstract/abs011.svg new file mode 100644 index 0000000..fa84f36 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs011.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs012.svg b/resources/assets/core/media/icons/duotune/abstract/abs012.svg new file mode 100644 index 0000000..c9ad38c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs012.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs013.svg b/resources/assets/core/media/icons/duotune/abstract/abs013.svg new file mode 100644 index 0000000..346f9fa --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs013.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs014.svg b/resources/assets/core/media/icons/duotune/abstract/abs014.svg new file mode 100644 index 0000000..0b1973d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs014.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs015.svg b/resources/assets/core/media/icons/duotune/abstract/abs015.svg new file mode 100644 index 0000000..66224ef --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs015.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs016.svg b/resources/assets/core/media/icons/duotune/abstract/abs016.svg new file mode 100644 index 0000000..f438443 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs016.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs017.svg b/resources/assets/core/media/icons/duotune/abstract/abs017.svg new file mode 100644 index 0000000..3e999af --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs017.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs018.svg b/resources/assets/core/media/icons/duotune/abstract/abs018.svg new file mode 100644 index 0000000..496665a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs018.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs019.svg b/resources/assets/core/media/icons/duotune/abstract/abs019.svg new file mode 100644 index 0000000..50aad67 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs019.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs020.svg b/resources/assets/core/media/icons/duotune/abstract/abs020.svg new file mode 100644 index 0000000..b51e1a8 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs020.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs021.svg b/resources/assets/core/media/icons/duotune/abstract/abs021.svg new file mode 100644 index 0000000..e2185b6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs021.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs022.svg b/resources/assets/core/media/icons/duotune/abstract/abs022.svg new file mode 100644 index 0000000..2782b88 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs022.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs023.svg b/resources/assets/core/media/icons/duotune/abstract/abs023.svg new file mode 100644 index 0000000..884a59e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs023.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs024.svg b/resources/assets/core/media/icons/duotune/abstract/abs024.svg new file mode 100644 index 0000000..8ccc893 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs024.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs025.svg b/resources/assets/core/media/icons/duotune/abstract/abs025.svg new file mode 100644 index 0000000..e47f85a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs025.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs026.svg b/resources/assets/core/media/icons/duotune/abstract/abs026.svg new file mode 100644 index 0000000..157013d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs026.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs027.svg b/resources/assets/core/media/icons/duotune/abstract/abs027.svg new file mode 100644 index 0000000..522389f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs027.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs028.svg b/resources/assets/core/media/icons/duotune/abstract/abs028.svg new file mode 100644 index 0000000..dfc2108 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs028.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs029.svg b/resources/assets/core/media/icons/duotune/abstract/abs029.svg new file mode 100644 index 0000000..758d738 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs029.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs030.svg b/resources/assets/core/media/icons/duotune/abstract/abs030.svg new file mode 100644 index 0000000..82dce13 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs030.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs031.svg b/resources/assets/core/media/icons/duotune/abstract/abs031.svg new file mode 100644 index 0000000..3bd2d96 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs031.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs032.svg b/resources/assets/core/media/icons/duotune/abstract/abs032.svg new file mode 100644 index 0000000..0e0580c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs032.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs033.svg b/resources/assets/core/media/icons/duotune/abstract/abs033.svg new file mode 100644 index 0000000..7bd98fd --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs033.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs034.svg b/resources/assets/core/media/icons/duotune/abstract/abs034.svg new file mode 100644 index 0000000..a1c5f4f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs034.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs035.svg b/resources/assets/core/media/icons/duotune/abstract/abs035.svg new file mode 100644 index 0000000..2b6c4e9 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs035.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs036.svg b/resources/assets/core/media/icons/duotune/abstract/abs036.svg new file mode 100644 index 0000000..22469f7 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs036.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs037.svg b/resources/assets/core/media/icons/duotune/abstract/abs037.svg new file mode 100644 index 0000000..a8be87d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs037.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs038.svg b/resources/assets/core/media/icons/duotune/abstract/abs038.svg new file mode 100644 index 0000000..52570a2 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs038.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs039.svg b/resources/assets/core/media/icons/duotune/abstract/abs039.svg new file mode 100644 index 0000000..c07b30c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs039.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs040.svg b/resources/assets/core/media/icons/duotune/abstract/abs040.svg new file mode 100644 index 0000000..e950a1f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs040.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs041.svg b/resources/assets/core/media/icons/duotune/abstract/abs041.svg new file mode 100644 index 0000000..3a44aa2 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs041.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs042.svg b/resources/assets/core/media/icons/duotune/abstract/abs042.svg new file mode 100644 index 0000000..def0269 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs042.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs043.svg b/resources/assets/core/media/icons/duotune/abstract/abs043.svg new file mode 100644 index 0000000..44a6fa5 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs043.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs044.svg b/resources/assets/core/media/icons/duotune/abstract/abs044.svg new file mode 100644 index 0000000..545f57c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs044.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs045.svg b/resources/assets/core/media/icons/duotune/abstract/abs045.svg new file mode 100644 index 0000000..0ee39cc --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs045.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs046.svg b/resources/assets/core/media/icons/duotune/abstract/abs046.svg new file mode 100644 index 0000000..3dc345d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs046.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs047.svg b/resources/assets/core/media/icons/duotune/abstract/abs047.svg new file mode 100644 index 0000000..d7c0da8 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs047.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs048.svg b/resources/assets/core/media/icons/duotune/abstract/abs048.svg new file mode 100644 index 0000000..c936977 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs048.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs049.svg b/resources/assets/core/media/icons/duotune/abstract/abs049.svg new file mode 100644 index 0000000..95b1f93 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs049.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/abstract/abs050.svg b/resources/assets/core/media/icons/duotune/abstract/abs050.svg new file mode 100644 index 0000000..e503543 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs050.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/assets/core/media/icons/duotune/abstract/abs051.svg b/resources/assets/core/media/icons/duotune/abstract/abs051.svg new file mode 100644 index 0000000..a2ebdab --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs051.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/assets/core/media/icons/duotune/abstract/abs052.svg b/resources/assets/core/media/icons/duotune/abstract/abs052.svg new file mode 100644 index 0000000..88a84f4 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/abstract/abs052.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/assets/core/media/icons/duotune/arrows/arr001.svg b/resources/assets/core/media/icons/duotune/arrows/arr001.svg new file mode 100644 index 0000000..501854a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr002.svg b/resources/assets/core/media/icons/duotune/arrows/arr002.svg new file mode 100644 index 0000000..22d45a9 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr002.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr003.svg b/resources/assets/core/media/icons/duotune/arrows/arr003.svg new file mode 100644 index 0000000..7dba9cb --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr004.svg b/resources/assets/core/media/icons/duotune/arrows/arr004.svg new file mode 100644 index 0000000..6a2a028 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr005.svg b/resources/assets/core/media/icons/duotune/arrows/arr005.svg new file mode 100644 index 0000000..b42170e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr005.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr006.svg b/resources/assets/core/media/icons/duotune/arrows/arr006.svg new file mode 100644 index 0000000..1d4bb29 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr007.svg b/resources/assets/core/media/icons/duotune/arrows/arr007.svg new file mode 100644 index 0000000..aca43fc --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr007.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr008.svg b/resources/assets/core/media/icons/duotune/arrows/arr008.svg new file mode 100644 index 0000000..5ef20b1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr008.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr009.svg b/resources/assets/core/media/icons/duotune/arrows/arr009.svg new file mode 100644 index 0000000..0392332 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr010.svg b/resources/assets/core/media/icons/duotune/arrows/arr010.svg new file mode 100644 index 0000000..6b9ab35 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr010.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr011.svg b/resources/assets/core/media/icons/duotune/arrows/arr011.svg new file mode 100644 index 0000000..140d6a0 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr011.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr012.svg b/resources/assets/core/media/icons/duotune/arrows/arr012.svg new file mode 100644 index 0000000..6d386f3 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr012.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr013.svg b/resources/assets/core/media/icons/duotune/arrows/arr013.svg new file mode 100644 index 0000000..d5a5e1b --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr013.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr014.svg b/resources/assets/core/media/icons/duotune/arrows/arr014.svg new file mode 100644 index 0000000..95ebb41 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr014.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr015.svg b/resources/assets/core/media/icons/duotune/arrows/arr015.svg new file mode 100644 index 0000000..07332c6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr015.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr016.svg b/resources/assets/core/media/icons/duotune/arrows/arr016.svg new file mode 100644 index 0000000..5cec85c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr016.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr017.svg b/resources/assets/core/media/icons/duotune/arrows/arr017.svg new file mode 100644 index 0000000..058a723 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr017.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr018.svg b/resources/assets/core/media/icons/duotune/arrows/arr018.svg new file mode 100644 index 0000000..47c2d72 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr018.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr019.svg b/resources/assets/core/media/icons/duotune/arrows/arr019.svg new file mode 100644 index 0000000..3cfa6ff --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr019.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr020.svg b/resources/assets/core/media/icons/duotune/arrows/arr020.svg new file mode 100644 index 0000000..ae466aa --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr020.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr021.svg b/resources/assets/core/media/icons/duotune/arrows/arr021.svg new file mode 100644 index 0000000..688a552 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr021.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr022.svg b/resources/assets/core/media/icons/duotune/arrows/arr022.svg new file mode 100644 index 0000000..258463b --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr022.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr023.svg b/resources/assets/core/media/icons/duotune/arrows/arr023.svg new file mode 100644 index 0000000..12a622d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr023.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr024.svg b/resources/assets/core/media/icons/duotune/arrows/arr024.svg new file mode 100644 index 0000000..8daf378 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr024.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr025.svg b/resources/assets/core/media/icons/duotune/arrows/arr025.svg new file mode 100644 index 0000000..bedb8dd --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr025.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr026.svg b/resources/assets/core/media/icons/duotune/arrows/arr026.svg new file mode 100644 index 0000000..ae58f69 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr026.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr027.svg b/resources/assets/core/media/icons/duotune/arrows/arr027.svg new file mode 100644 index 0000000..a748ff7 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr027.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr028.svg b/resources/assets/core/media/icons/duotune/arrows/arr028.svg new file mode 100644 index 0000000..88eba35 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr028.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr029.svg b/resources/assets/core/media/icons/duotune/arrows/arr029.svg new file mode 100644 index 0000000..687c2fa --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr029.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr030.svg b/resources/assets/core/media/icons/duotune/arrows/arr030.svg new file mode 100644 index 0000000..eae1869 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr030.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr031.svg b/resources/assets/core/media/icons/duotune/arrows/arr031.svg new file mode 100644 index 0000000..12208cf --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr031.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr032.svg b/resources/assets/core/media/icons/duotune/arrows/arr032.svg new file mode 100644 index 0000000..1cf662d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr032.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr033.svg b/resources/assets/core/media/icons/duotune/arrows/arr033.svg new file mode 100644 index 0000000..ab2d44e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr033.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr034.svg b/resources/assets/core/media/icons/duotune/arrows/arr034.svg new file mode 100644 index 0000000..ab2d44e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr034.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr035.svg b/resources/assets/core/media/icons/duotune/arrows/arr035.svg new file mode 100644 index 0000000..920cea3 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr035.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr036.svg b/resources/assets/core/media/icons/duotune/arrows/arr036.svg new file mode 100644 index 0000000..9d18d57 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr036.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr037.svg b/resources/assets/core/media/icons/duotune/arrows/arr037.svg new file mode 100644 index 0000000..2b72c6b --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr037.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr038.svg b/resources/assets/core/media/icons/duotune/arrows/arr038.svg new file mode 100644 index 0000000..fc74731 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr038.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr039.svg b/resources/assets/core/media/icons/duotune/arrows/arr039.svg new file mode 100644 index 0000000..e632a4b --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr039.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr040.svg b/resources/assets/core/media/icons/duotune/arrows/arr040.svg new file mode 100644 index 0000000..17d45b0 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr040.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr041.svg b/resources/assets/core/media/icons/duotune/arrows/arr041.svg new file mode 100644 index 0000000..8dd0125 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr041.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr042.svg b/resources/assets/core/media/icons/duotune/arrows/arr042.svg new file mode 100644 index 0000000..6e8abb5 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr042.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr043.svg b/resources/assets/core/media/icons/duotune/arrows/arr043.svg new file mode 100644 index 0000000..e70f5ec --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr043.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr044.svg b/resources/assets/core/media/icons/duotune/arrows/arr044.svg new file mode 100644 index 0000000..27cd814 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr044.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr045.svg b/resources/assets/core/media/icons/duotune/arrows/arr045.svg new file mode 100644 index 0000000..b4517dd --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr045.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr046.svg b/resources/assets/core/media/icons/duotune/arrows/arr046.svg new file mode 100644 index 0000000..5f69e30 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr046.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr047.svg b/resources/assets/core/media/icons/duotune/arrows/arr047.svg new file mode 100644 index 0000000..943a8cf --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr047.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr048.svg b/resources/assets/core/media/icons/duotune/arrows/arr048.svg new file mode 100644 index 0000000..a464e68 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr048.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr049.svg b/resources/assets/core/media/icons/duotune/arrows/arr049.svg new file mode 100644 index 0000000..09116d3 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr049.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr050.svg b/resources/assets/core/media/icons/duotune/arrows/arr050.svg new file mode 100644 index 0000000..703d523 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr050.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr051.svg b/resources/assets/core/media/icons/duotune/arrows/arr051.svg new file mode 100644 index 0000000..af348d1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr051.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr052.svg b/resources/assets/core/media/icons/duotune/arrows/arr052.svg new file mode 100644 index 0000000..3038407 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr052.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr053.svg b/resources/assets/core/media/icons/duotune/arrows/arr053.svg new file mode 100644 index 0000000..6aa401e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr053.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr054.svg b/resources/assets/core/media/icons/duotune/arrows/arr054.svg new file mode 100644 index 0000000..784d865 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr054.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr055.svg b/resources/assets/core/media/icons/duotune/arrows/arr055.svg new file mode 100644 index 0000000..2c25ea9 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr055.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr056.svg b/resources/assets/core/media/icons/duotune/arrows/arr056.svg new file mode 100644 index 0000000..b50bb68 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr056.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr057.svg b/resources/assets/core/media/icons/duotune/arrows/arr057.svg new file mode 100644 index 0000000..da4afe4 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr057.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr058.svg b/resources/assets/core/media/icons/duotune/arrows/arr058.svg new file mode 100644 index 0000000..1fe059b --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr058.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr059.svg b/resources/assets/core/media/icons/duotune/arrows/arr059.svg new file mode 100644 index 0000000..f55ebdb --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr059.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr060.svg b/resources/assets/core/media/icons/duotune/arrows/arr060.svg new file mode 100644 index 0000000..58ad717 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr060.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr061.svg b/resources/assets/core/media/icons/duotune/arrows/arr061.svg new file mode 100644 index 0000000..a000fbf --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr061.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr062.svg b/resources/assets/core/media/icons/duotune/arrows/arr062.svg new file mode 100644 index 0000000..9e000ca --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr062.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr063.svg b/resources/assets/core/media/icons/duotune/arrows/arr063.svg new file mode 100644 index 0000000..dcedf4f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr063.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr064.svg b/resources/assets/core/media/icons/duotune/arrows/arr064.svg new file mode 100644 index 0000000..123f766 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr064.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr065.svg b/resources/assets/core/media/icons/duotune/arrows/arr065.svg new file mode 100644 index 0000000..e27a5bb --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr065.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr066.svg b/resources/assets/core/media/icons/duotune/arrows/arr066.svg new file mode 100644 index 0000000..fc638fb --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr066.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr067.svg b/resources/assets/core/media/icons/duotune/arrows/arr067.svg new file mode 100644 index 0000000..9e000ca --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr067.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr068.svg b/resources/assets/core/media/icons/duotune/arrows/arr068.svg new file mode 100644 index 0000000..fcd367a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr068.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr069.svg b/resources/assets/core/media/icons/duotune/arrows/arr069.svg new file mode 100644 index 0000000..759598c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr069.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr070.svg b/resources/assets/core/media/icons/duotune/arrows/arr070.svg new file mode 100644 index 0000000..6a4d3c2 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr070.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr071.svg b/resources/assets/core/media/icons/duotune/arrows/arr071.svg new file mode 100644 index 0000000..6049c4c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr071.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr072.svg b/resources/assets/core/media/icons/duotune/arrows/arr072.svg new file mode 100644 index 0000000..ea50d09 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr072.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr073.svg b/resources/assets/core/media/icons/duotune/arrows/arr073.svg new file mode 100644 index 0000000..7e3b3ac --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr073.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr074.svg b/resources/assets/core/media/icons/duotune/arrows/arr074.svg new file mode 100644 index 0000000..9a7e28a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr074.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr075.svg b/resources/assets/core/media/icons/duotune/arrows/arr075.svg new file mode 100644 index 0000000..5192f4c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr075.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/resources/assets/core/media/icons/duotune/arrows/arr076.svg b/resources/assets/core/media/icons/duotune/arrows/arr076.svg new file mode 100644 index 0000000..7163f6f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr076.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr077.svg b/resources/assets/core/media/icons/duotune/arrows/arr077.svg new file mode 100644 index 0000000..96dddaf --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr077.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr078.svg b/resources/assets/core/media/icons/duotune/arrows/arr078.svg new file mode 100644 index 0000000..2fcc3de --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr078.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr079.svg b/resources/assets/core/media/icons/duotune/arrows/arr079.svg new file mode 100644 index 0000000..5d8c30e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr079.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr080.svg b/resources/assets/core/media/icons/duotune/arrows/arr080.svg new file mode 100644 index 0000000..ae40cf3 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr080.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr081.svg b/resources/assets/core/media/icons/duotune/arrows/arr081.svg new file mode 100644 index 0000000..1b9dad8 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr081.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr082.svg b/resources/assets/core/media/icons/duotune/arrows/arr082.svg new file mode 100644 index 0000000..71e69f5 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr082.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr084.svg b/resources/assets/core/media/icons/duotune/arrows/arr084.svg new file mode 100644 index 0000000..11cba99 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr084.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr085.svg b/resources/assets/core/media/icons/duotune/arrows/arr085.svg new file mode 100644 index 0000000..943e4d9 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr085.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr086.svg b/resources/assets/core/media/icons/duotune/arrows/arr086.svg new file mode 100644 index 0000000..d5b64ed --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr086.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr087.svg b/resources/assets/core/media/icons/duotune/arrows/arr087.svg new file mode 100644 index 0000000..49c6c32 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr087.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/resources/assets/core/media/icons/duotune/arrows/arr088.svg b/resources/assets/core/media/icons/duotune/arrows/arr088.svg new file mode 100644 index 0000000..62c0f95 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr088.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/resources/assets/core/media/icons/duotune/arrows/arr089.svg b/resources/assets/core/media/icons/duotune/arrows/arr089.svg new file mode 100644 index 0000000..8c2b557 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr089.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr090.svg b/resources/assets/core/media/icons/duotune/arrows/arr090.svg new file mode 100644 index 0000000..cc6ce4d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr090.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/assets/core/media/icons/duotune/arrows/arr091.svg b/resources/assets/core/media/icons/duotune/arrows/arr091.svg new file mode 100644 index 0000000..36e00f7 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr091.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr092.svg b/resources/assets/core/media/icons/duotune/arrows/arr092.svg new file mode 100644 index 0000000..023c73d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr092.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr093.svg b/resources/assets/core/media/icons/duotune/arrows/arr093.svg new file mode 100644 index 0000000..763af7a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr093.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr094.svg b/resources/assets/core/media/icons/duotune/arrows/arr094.svg new file mode 100644 index 0000000..2ad369e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr094.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/arrows/arr095.svg b/resources/assets/core/media/icons/duotune/arrows/arr095.svg new file mode 100644 index 0000000..cb56ec8 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/arrows/arr095.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/art/art001.svg b/resources/assets/core/media/icons/duotune/art/art001.svg new file mode 100644 index 0000000..d2bd099 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/art/art001.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/art/art002.svg b/resources/assets/core/media/icons/duotune/art/art002.svg new file mode 100644 index 0000000..11cf2fc --- /dev/null +++ b/resources/assets/core/media/icons/duotune/art/art002.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/art/art003.svg b/resources/assets/core/media/icons/duotune/art/art003.svg new file mode 100644 index 0000000..7015753 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/art/art003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/art/art004.svg b/resources/assets/core/media/icons/duotune/art/art004.svg new file mode 100644 index 0000000..b9578b5 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/art/art004.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/art/art005.svg b/resources/assets/core/media/icons/duotune/art/art005.svg new file mode 100644 index 0000000..10a27a6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/art/art005.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/art/art006.svg b/resources/assets/core/media/icons/duotune/art/art006.svg new file mode 100644 index 0000000..4483dfd --- /dev/null +++ b/resources/assets/core/media/icons/duotune/art/art006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/art/art007.svg b/resources/assets/core/media/icons/duotune/art/art007.svg new file mode 100644 index 0000000..4e1472c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/art/art007.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/art/art008.svg b/resources/assets/core/media/icons/duotune/art/art008.svg new file mode 100644 index 0000000..0022b96 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/art/art008.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/art/art009.svg b/resources/assets/core/media/icons/duotune/art/art009.svg new file mode 100644 index 0000000..25a1cbf --- /dev/null +++ b/resources/assets/core/media/icons/duotune/art/art009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/art/art010.svg b/resources/assets/core/media/icons/duotune/art/art010.svg new file mode 100644 index 0000000..d56eefb --- /dev/null +++ b/resources/assets/core/media/icons/duotune/art/art010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/coding/cod001.svg b/resources/assets/core/media/icons/duotune/coding/cod001.svg new file mode 100644 index 0000000..d526903 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/coding/cod001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/coding/cod002.svg b/resources/assets/core/media/icons/duotune/coding/cod002.svg new file mode 100644 index 0000000..6092957 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/coding/cod002.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/coding/cod003.svg b/resources/assets/core/media/icons/duotune/coding/cod003.svg new file mode 100644 index 0000000..cf65a00 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/coding/cod003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/coding/cod004.svg b/resources/assets/core/media/icons/duotune/coding/cod004.svg new file mode 100644 index 0000000..9336e84 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/coding/cod004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/coding/cod005.svg b/resources/assets/core/media/icons/duotune/coding/cod005.svg new file mode 100644 index 0000000..0a313de --- /dev/null +++ b/resources/assets/core/media/icons/duotune/coding/cod005.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/coding/cod006.svg b/resources/assets/core/media/icons/duotune/coding/cod006.svg new file mode 100644 index 0000000..7b0b3be --- /dev/null +++ b/resources/assets/core/media/icons/duotune/coding/cod006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/coding/cod007.svg b/resources/assets/core/media/icons/duotune/coding/cod007.svg new file mode 100644 index 0000000..2612ab6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/coding/cod007.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/coding/cod008.svg b/resources/assets/core/media/icons/duotune/coding/cod008.svg new file mode 100644 index 0000000..a590968 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/coding/cod008.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/coding/cod009.svg b/resources/assets/core/media/icons/duotune/coding/cod009.svg new file mode 100644 index 0000000..0236f51 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/coding/cod009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/coding/cod010.svg b/resources/assets/core/media/icons/duotune/coding/cod010.svg new file mode 100644 index 0000000..232e2fb --- /dev/null +++ b/resources/assets/core/media/icons/duotune/coding/cod010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com001.svg b/resources/assets/core/media/icons/duotune/communication/com001.svg new file mode 100644 index 0000000..0cd9ef3 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com001.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com002.svg b/resources/assets/core/media/icons/duotune/communication/com002.svg new file mode 100644 index 0000000..6c831a7 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com002.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com003.svg b/resources/assets/core/media/icons/duotune/communication/com003.svg new file mode 100644 index 0000000..585a829 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com004.svg b/resources/assets/core/media/icons/duotune/communication/com004.svg new file mode 100644 index 0000000..8a72f42 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com005.svg b/resources/assets/core/media/icons/duotune/communication/com005.svg new file mode 100644 index 0000000..0dedd7f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com005.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com006.svg b/resources/assets/core/media/icons/duotune/communication/com006.svg new file mode 100644 index 0000000..1fa6a9a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com007.svg b/resources/assets/core/media/icons/duotune/communication/com007.svg new file mode 100644 index 0000000..b791672 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com007.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com008.svg b/resources/assets/core/media/icons/duotune/communication/com008.svg new file mode 100644 index 0000000..a9edb0f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com008.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com009.svg b/resources/assets/core/media/icons/duotune/communication/com009.svg new file mode 100644 index 0000000..7e9d375 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com010.svg b/resources/assets/core/media/icons/duotune/communication/com010.svg new file mode 100644 index 0000000..a3adcd1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com011.svg b/resources/assets/core/media/icons/duotune/communication/com011.svg new file mode 100644 index 0000000..b875575 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com011.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com012.svg b/resources/assets/core/media/icons/duotune/communication/com012.svg new file mode 100644 index 0000000..ef3f22a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com012.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com013.svg b/resources/assets/core/media/icons/duotune/communication/com013.svg new file mode 100644 index 0000000..0c67416 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com013.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/communication/com014.svg b/resources/assets/core/media/icons/duotune/communication/com014.svg new file mode 100644 index 0000000..89ae5ab --- /dev/null +++ b/resources/assets/core/media/icons/duotune/communication/com014.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/ecommerce/ecm001.svg b/resources/assets/core/media/icons/duotune/ecommerce/ecm001.svg new file mode 100644 index 0000000..fbab6ce --- /dev/null +++ b/resources/assets/core/media/icons/duotune/ecommerce/ecm001.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/ecommerce/ecm002.svg b/resources/assets/core/media/icons/duotune/ecommerce/ecm002.svg new file mode 100644 index 0000000..2ea833c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/ecommerce/ecm002.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/ecommerce/ecm003.svg b/resources/assets/core/media/icons/duotune/ecommerce/ecm003.svg new file mode 100644 index 0000000..ef48892 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/ecommerce/ecm003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/ecommerce/ecm004.svg b/resources/assets/core/media/icons/duotune/ecommerce/ecm004.svg new file mode 100644 index 0000000..724f192 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/ecommerce/ecm004.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/resources/assets/core/media/icons/duotune/ecommerce/ecm005.svg b/resources/assets/core/media/icons/duotune/ecommerce/ecm005.svg new file mode 100644 index 0000000..6fe446d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/ecommerce/ecm005.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/ecommerce/ecm006.svg b/resources/assets/core/media/icons/duotune/ecommerce/ecm006.svg new file mode 100644 index 0000000..ff58f32 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/ecommerce/ecm006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/ecommerce/ecm007.svg b/resources/assets/core/media/icons/duotune/ecommerce/ecm007.svg new file mode 100644 index 0000000..d2003e7 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/ecommerce/ecm007.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/ecommerce/ecm008.svg b/resources/assets/core/media/icons/duotune/ecommerce/ecm008.svg new file mode 100644 index 0000000..a10444e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/ecommerce/ecm008.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/ecommerce/ecm009.svg b/resources/assets/core/media/icons/duotune/ecommerce/ecm009.svg new file mode 100644 index 0000000..e17fefd --- /dev/null +++ b/resources/assets/core/media/icons/duotune/ecommerce/ecm009.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/resources/assets/core/media/icons/duotune/ecommerce/ecm010.svg b/resources/assets/core/media/icons/duotune/ecommerce/ecm010.svg new file mode 100644 index 0000000..d8dd510 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/ecommerce/ecm010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/ecommerce/ecm011.svg b/resources/assets/core/media/icons/duotune/ecommerce/ecm011.svg new file mode 100644 index 0000000..87094c4 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/ecommerce/ecm011.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/electronics/elc001.svg b/resources/assets/core/media/icons/duotune/electronics/elc001.svg new file mode 100644 index 0000000..3040cb1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/electronics/elc001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/electronics/elc002.svg b/resources/assets/core/media/icons/duotune/electronics/elc002.svg new file mode 100644 index 0000000..bdda3ee --- /dev/null +++ b/resources/assets/core/media/icons/duotune/electronics/elc002.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/electronics/elc003.svg b/resources/assets/core/media/icons/duotune/electronics/elc003.svg new file mode 100644 index 0000000..9633543 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/electronics/elc003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/electronics/elc004.svg b/resources/assets/core/media/icons/duotune/electronics/elc004.svg new file mode 100644 index 0000000..83db17b --- /dev/null +++ b/resources/assets/core/media/icons/duotune/electronics/elc004.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/electronics/elc005.svg b/resources/assets/core/media/icons/duotune/electronics/elc005.svg new file mode 100644 index 0000000..1b51174 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/electronics/elc005.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/electronics/elc006.svg b/resources/assets/core/media/icons/duotune/electronics/elc006.svg new file mode 100644 index 0000000..94b4230 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/electronics/elc006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/electronics/elc007.svg b/resources/assets/core/media/icons/duotune/electronics/elc007.svg new file mode 100644 index 0000000..2c214d7 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/electronics/elc007.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/electronics/elc008.svg b/resources/assets/core/media/icons/duotune/electronics/elc008.svg new file mode 100644 index 0000000..91c7d54 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/electronics/elc008.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/electronics/elc009.svg b/resources/assets/core/media/icons/duotune/electronics/elc009.svg new file mode 100644 index 0000000..c1505d6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/electronics/elc009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/electronics/elc010.svg b/resources/assets/core/media/icons/duotune/electronics/elc010.svg new file mode 100644 index 0000000..204d086 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/electronics/elc010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil001.svg b/resources/assets/core/media/icons/duotune/files/fil001.svg new file mode 100644 index 0000000..ea62c30 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil002.svg b/resources/assets/core/media/icons/duotune/files/fil002.svg new file mode 100644 index 0000000..dfd07ff --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil002.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil003.svg b/resources/assets/core/media/icons/duotune/files/fil003.svg new file mode 100644 index 0000000..1875aa3 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil004.svg b/resources/assets/core/media/icons/duotune/files/fil004.svg new file mode 100644 index 0000000..c05308c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil005.svg b/resources/assets/core/media/icons/duotune/files/fil005.svg new file mode 100644 index 0000000..ec78ae4 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil005.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil006.svg b/resources/assets/core/media/icons/duotune/files/fil006.svg new file mode 100644 index 0000000..46415b0 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil006.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil007.svg b/resources/assets/core/media/icons/duotune/files/fil007.svg new file mode 100644 index 0000000..da82208 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil007.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil008.svg b/resources/assets/core/media/icons/duotune/files/fil008.svg new file mode 100644 index 0000000..68daff3 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil008.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil009.svg b/resources/assets/core/media/icons/duotune/files/fil009.svg new file mode 100644 index 0000000..f63e0b6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil009.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil010.svg b/resources/assets/core/media/icons/duotune/files/fil010.svg new file mode 100644 index 0000000..f63e0b6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil010.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil011.svg b/resources/assets/core/media/icons/duotune/files/fil011.svg new file mode 100644 index 0000000..b51d362 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil011.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil012.svg b/resources/assets/core/media/icons/duotune/files/fil012.svg new file mode 100644 index 0000000..0a42a19 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil012.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil013.svg b/resources/assets/core/media/icons/duotune/files/fil013.svg new file mode 100644 index 0000000..255184f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil013.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil014.svg b/resources/assets/core/media/icons/duotune/files/fil014.svg new file mode 100644 index 0000000..b54f87f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil014.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil015.svg b/resources/assets/core/media/icons/duotune/files/fil015.svg new file mode 100644 index 0000000..f90c463 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil015.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil016.svg b/resources/assets/core/media/icons/duotune/files/fil016.svg new file mode 100644 index 0000000..4fa3e81 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil016.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil017.svg b/resources/assets/core/media/icons/duotune/files/fil017.svg new file mode 100644 index 0000000..ef2d036 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil017.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil018.svg b/resources/assets/core/media/icons/duotune/files/fil018.svg new file mode 100644 index 0000000..097113f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil018.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil019.svg b/resources/assets/core/media/icons/duotune/files/fil019.svg new file mode 100644 index 0000000..748042c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil019.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil020.svg b/resources/assets/core/media/icons/duotune/files/fil020.svg new file mode 100644 index 0000000..2e2b3da --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil020.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil021.svg b/resources/assets/core/media/icons/duotune/files/fil021.svg new file mode 100644 index 0000000..05cb1af --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil021.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil022.svg b/resources/assets/core/media/icons/duotune/files/fil022.svg new file mode 100644 index 0000000..830364e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil022.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil023.svg b/resources/assets/core/media/icons/duotune/files/fil023.svg new file mode 100644 index 0000000..5441494 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil023.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil024.svg b/resources/assets/core/media/icons/duotune/files/fil024.svg new file mode 100644 index 0000000..3d0f8d1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil024.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/files/fil025.svg b/resources/assets/core/media/icons/duotune/files/fil025.svg new file mode 100644 index 0000000..f8d33e9 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/files/fil025.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/finance/fin001.svg b/resources/assets/core/media/icons/duotune/finance/fin001.svg new file mode 100644 index 0000000..8fb7d35 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/finance/fin001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/finance/fin002.svg b/resources/assets/core/media/icons/duotune/finance/fin002.svg new file mode 100644 index 0000000..5752be1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/finance/fin002.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/finance/fin003.svg b/resources/assets/core/media/icons/duotune/finance/fin003.svg new file mode 100644 index 0000000..81e94ab --- /dev/null +++ b/resources/assets/core/media/icons/duotune/finance/fin003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/finance/fin004.svg b/resources/assets/core/media/icons/duotune/finance/fin004.svg new file mode 100644 index 0000000..42c2ae1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/finance/fin004.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/finance/fin005.svg b/resources/assets/core/media/icons/duotune/finance/fin005.svg new file mode 100644 index 0000000..7048b7d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/finance/fin005.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/finance/fin006.svg b/resources/assets/core/media/icons/duotune/finance/fin006.svg new file mode 100644 index 0000000..ae23cd1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/finance/fin006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/finance/fin007.svg b/resources/assets/core/media/icons/duotune/finance/fin007.svg new file mode 100644 index 0000000..211b130 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/finance/fin007.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/finance/fin008.svg b/resources/assets/core/media/icons/duotune/finance/fin008.svg new file mode 100644 index 0000000..ded8e84 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/finance/fin008.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/finance/fin009.svg b/resources/assets/core/media/icons/duotune/finance/fin009.svg new file mode 100644 index 0000000..5742ecb --- /dev/null +++ b/resources/assets/core/media/icons/duotune/finance/fin009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/finance/fin010.svg b/resources/assets/core/media/icons/duotune/finance/fin010.svg new file mode 100644 index 0000000..b0db9a6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/finance/fin010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen001.svg b/resources/assets/core/media/icons/duotune/general/gen001.svg new file mode 100644 index 0000000..2d574a4 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen001.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen002.svg b/resources/assets/core/media/icons/duotune/general/gen002.svg new file mode 100644 index 0000000..416538e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen002.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen003.svg b/resources/assets/core/media/icons/duotune/general/gen003.svg new file mode 100644 index 0000000..ef44d14 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen003.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen004.svg b/resources/assets/core/media/icons/duotune/general/gen004.svg new file mode 100644 index 0000000..38547ca --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen005.svg b/resources/assets/core/media/icons/duotune/general/gen005.svg new file mode 100644 index 0000000..dc1d1b6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen005.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen006.svg b/resources/assets/core/media/icons/duotune/general/gen006.svg new file mode 100644 index 0000000..4b3d7c5 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen007.svg b/resources/assets/core/media/icons/duotune/general/gen007.svg new file mode 100644 index 0000000..bafae05 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen007.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen008.svg b/resources/assets/core/media/icons/duotune/general/gen008.svg new file mode 100644 index 0000000..18379fa --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen008.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen009.svg b/resources/assets/core/media/icons/duotune/general/gen009.svg new file mode 100644 index 0000000..456905b --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen010.svg b/resources/assets/core/media/icons/duotune/general/gen010.svg new file mode 100644 index 0000000..9271ee2 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen011.svg b/resources/assets/core/media/icons/duotune/general/gen011.svg new file mode 100644 index 0000000..1901878 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen011.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen012.svg b/resources/assets/core/media/icons/duotune/general/gen012.svg new file mode 100644 index 0000000..03eb271 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen012.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen013.svg b/resources/assets/core/media/icons/duotune/general/gen013.svg new file mode 100644 index 0000000..76e2084 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen013.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen014.svg b/resources/assets/core/media/icons/duotune/general/gen014.svg new file mode 100644 index 0000000..02f877c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen014.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen015.svg b/resources/assets/core/media/icons/duotune/general/gen015.svg new file mode 100644 index 0000000..b134c8a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen015.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen016.svg b/resources/assets/core/media/icons/duotune/general/gen016.svg new file mode 100644 index 0000000..5fbc848 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen016.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen017.svg b/resources/assets/core/media/icons/duotune/general/gen017.svg new file mode 100644 index 0000000..fe4adb2 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen017.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen018.svg b/resources/assets/core/media/icons/duotune/general/gen018.svg new file mode 100644 index 0000000..8814be4 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen018.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen019.svg b/resources/assets/core/media/icons/duotune/general/gen019.svg new file mode 100644 index 0000000..ed0c762 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen019.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen020.svg b/resources/assets/core/media/icons/duotune/general/gen020.svg new file mode 100644 index 0000000..679034b --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen020.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen021.svg b/resources/assets/core/media/icons/duotune/general/gen021.svg new file mode 100644 index 0000000..f31329f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen021.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen022.svg b/resources/assets/core/media/icons/duotune/general/gen022.svg new file mode 100644 index 0000000..2021669 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen022.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen023.svg b/resources/assets/core/media/icons/duotune/general/gen023.svg new file mode 100644 index 0000000..6e9ef81 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen023.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen024.svg b/resources/assets/core/media/icons/duotune/general/gen024.svg new file mode 100644 index 0000000..565f09c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen024.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/resources/assets/core/media/icons/duotune/general/gen025.svg b/resources/assets/core/media/icons/duotune/general/gen025.svg new file mode 100644 index 0000000..8827f5e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen025.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen026.svg b/resources/assets/core/media/icons/duotune/general/gen026.svg new file mode 100644 index 0000000..3457337 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen026.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/resources/assets/core/media/icons/duotune/general/gen027.svg b/resources/assets/core/media/icons/duotune/general/gen027.svg new file mode 100644 index 0000000..352e6f0 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen027.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen028.svg b/resources/assets/core/media/icons/duotune/general/gen028.svg new file mode 100644 index 0000000..09e9bff --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen028.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen029.svg b/resources/assets/core/media/icons/duotune/general/gen029.svg new file mode 100644 index 0000000..966663a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen029.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen030.svg b/resources/assets/core/media/icons/duotune/general/gen030.svg new file mode 100644 index 0000000..22a6f01 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen030.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen031.svg b/resources/assets/core/media/icons/duotune/general/gen031.svg new file mode 100644 index 0000000..bf92d55 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen031.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen032.svg b/resources/assets/core/media/icons/duotune/general/gen032.svg new file mode 100644 index 0000000..6a4d3c2 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen032.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen033.svg b/resources/assets/core/media/icons/duotune/general/gen033.svg new file mode 100644 index 0000000..5e5aa39 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen033.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen034.svg b/resources/assets/core/media/icons/duotune/general/gen034.svg new file mode 100644 index 0000000..ce81d7c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen034.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen035.svg b/resources/assets/core/media/icons/duotune/general/gen035.svg new file mode 100644 index 0000000..75765ee --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen035.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen036.svg b/resources/assets/core/media/icons/duotune/general/gen036.svg new file mode 100644 index 0000000..91487e8 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen036.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen037.svg b/resources/assets/core/media/icons/duotune/general/gen037.svg new file mode 100644 index 0000000..d5c7eb1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen037.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen038.svg b/resources/assets/core/media/icons/duotune/general/gen038.svg new file mode 100644 index 0000000..96899a8 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen038.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen039.svg b/resources/assets/core/media/icons/duotune/general/gen039.svg new file mode 100644 index 0000000..7069e81 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen039.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen040.svg b/resources/assets/core/media/icons/duotune/general/gen040.svg new file mode 100644 index 0000000..6c7861e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen040.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen041.svg b/resources/assets/core/media/icons/duotune/general/gen041.svg new file mode 100644 index 0000000..78c7dc4 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen041.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen042.svg b/resources/assets/core/media/icons/duotune/general/gen042.svg new file mode 100644 index 0000000..be66cfc --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen042.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen043.svg b/resources/assets/core/media/icons/duotune/general/gen043.svg new file mode 100644 index 0000000..f210aa5 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen043.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen044.svg b/resources/assets/core/media/icons/duotune/general/gen044.svg new file mode 100644 index 0000000..ca3caa0 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen044.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen045.svg b/resources/assets/core/media/icons/duotune/general/gen045.svg new file mode 100644 index 0000000..3e68ebd --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen045.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen046.svg b/resources/assets/core/media/icons/duotune/general/gen046.svg new file mode 100644 index 0000000..e1e8fe0 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen046.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen047.svg b/resources/assets/core/media/icons/duotune/general/gen047.svg new file mode 100644 index 0000000..918f339 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen047.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen048.svg b/resources/assets/core/media/icons/duotune/general/gen048.svg new file mode 100644 index 0000000..61661e0 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen048.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen049.svg b/resources/assets/core/media/icons/duotune/general/gen049.svg new file mode 100644 index 0000000..7f913c2 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen049.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen050.svg b/resources/assets/core/media/icons/duotune/general/gen050.svg new file mode 100644 index 0000000..a1cd906 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen050.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen051.svg b/resources/assets/core/media/icons/duotune/general/gen051.svg new file mode 100644 index 0000000..67adf32 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen051.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen052.svg b/resources/assets/core/media/icons/duotune/general/gen052.svg new file mode 100644 index 0000000..750833b --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen052.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen053.svg b/resources/assets/core/media/icons/duotune/general/gen053.svg new file mode 100644 index 0000000..6bf2cdc --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen053.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen054.svg b/resources/assets/core/media/icons/duotune/general/gen054.svg new file mode 100644 index 0000000..e313f0b --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen054.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen055.svg b/resources/assets/core/media/icons/duotune/general/gen055.svg new file mode 100644 index 0000000..cb4d28a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen055.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen056.svg b/resources/assets/core/media/icons/duotune/general/gen056.svg new file mode 100644 index 0000000..f1ebaf7 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen056.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen057.svg b/resources/assets/core/media/icons/duotune/general/gen057.svg new file mode 100644 index 0000000..7d7b432 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen057.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen058.svg b/resources/assets/core/media/icons/duotune/general/gen058.svg new file mode 100644 index 0000000..359567f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen058.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/general/gen059.svg b/resources/assets/core/media/icons/duotune/general/gen059.svg new file mode 100644 index 0000000..b9f5caa --- /dev/null +++ b/resources/assets/core/media/icons/duotune/general/gen059.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra001.svg b/resources/assets/core/media/icons/duotune/graphs/gra001.svg new file mode 100644 index 0000000..0d4613f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra002.svg b/resources/assets/core/media/icons/duotune/graphs/gra002.svg new file mode 100644 index 0000000..81d2fb4 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra002.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra003.svg b/resources/assets/core/media/icons/duotune/graphs/gra003.svg new file mode 100644 index 0000000..9e15600 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra004.svg b/resources/assets/core/media/icons/duotune/graphs/gra004.svg new file mode 100644 index 0000000..e1f60cf --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra005.svg b/resources/assets/core/media/icons/duotune/graphs/gra005.svg new file mode 100644 index 0000000..d5b2b5a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra005.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra006.svg b/resources/assets/core/media/icons/duotune/graphs/gra006.svg new file mode 100644 index 0000000..a3ca521 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra007.svg b/resources/assets/core/media/icons/duotune/graphs/gra007.svg new file mode 100644 index 0000000..84e4a85 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra007.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra008.svg b/resources/assets/core/media/icons/duotune/graphs/gra008.svg new file mode 100644 index 0000000..7a5f39b --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra008.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra009.svg b/resources/assets/core/media/icons/duotune/graphs/gra009.svg new file mode 100644 index 0000000..c189ca1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra010.svg b/resources/assets/core/media/icons/duotune/graphs/gra010.svg new file mode 100644 index 0000000..4a19bb1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra010.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra011.svg b/resources/assets/core/media/icons/duotune/graphs/gra011.svg new file mode 100644 index 0000000..434ff51 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra011.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/graphs/gra012.svg b/resources/assets/core/media/icons/duotune/graphs/gra012.svg new file mode 100644 index 0000000..3465674 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/graphs/gra012.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/layouts/lay001.svg b/resources/assets/core/media/icons/duotune/layouts/lay001.svg new file mode 100644 index 0000000..e07fab9 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/layouts/lay001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/layouts/lay002.svg b/resources/assets/core/media/icons/duotune/layouts/lay002.svg new file mode 100644 index 0000000..f7baa1a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/layouts/lay002.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/layouts/lay003.svg b/resources/assets/core/media/icons/duotune/layouts/lay003.svg new file mode 100644 index 0000000..ab7a1bd --- /dev/null +++ b/resources/assets/core/media/icons/duotune/layouts/lay003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/layouts/lay004.svg b/resources/assets/core/media/icons/duotune/layouts/lay004.svg new file mode 100644 index 0000000..63f9aa1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/layouts/lay004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/layouts/lay005.svg b/resources/assets/core/media/icons/duotune/layouts/lay005.svg new file mode 100644 index 0000000..e3036d6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/layouts/lay005.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/layouts/lay006.svg b/resources/assets/core/media/icons/duotune/layouts/lay006.svg new file mode 100644 index 0000000..823de2e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/layouts/lay006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/layouts/lay007.svg b/resources/assets/core/media/icons/duotune/layouts/lay007.svg new file mode 100644 index 0000000..df21e00 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/layouts/lay007.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/layouts/lay008.svg b/resources/assets/core/media/icons/duotune/layouts/lay008.svg new file mode 100644 index 0000000..7e3862c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/layouts/lay008.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/layouts/lay009.svg b/resources/assets/core/media/icons/duotune/layouts/lay009.svg new file mode 100644 index 0000000..0eb9c04 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/layouts/lay009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/layouts/lay010.svg b/resources/assets/core/media/icons/duotune/layouts/lay010.svg new file mode 100644 index 0000000..3bc6688 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/layouts/lay010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/maps/map001.svg b/resources/assets/core/media/icons/duotune/maps/map001.svg new file mode 100644 index 0000000..fc92fe8 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/maps/map001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/maps/map002.svg b/resources/assets/core/media/icons/duotune/maps/map002.svg new file mode 100644 index 0000000..f78eec9 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/maps/map002.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/assets/core/media/icons/duotune/maps/map003.svg b/resources/assets/core/media/icons/duotune/maps/map003.svg new file mode 100644 index 0000000..42963c8 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/maps/map003.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/assets/core/media/icons/duotune/maps/map004.svg b/resources/assets/core/media/icons/duotune/maps/map004.svg new file mode 100644 index 0000000..30d04ab --- /dev/null +++ b/resources/assets/core/media/icons/duotune/maps/map004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/maps/map005.svg b/resources/assets/core/media/icons/duotune/maps/map005.svg new file mode 100644 index 0000000..affead3 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/maps/map005.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/maps/map006.svg b/resources/assets/core/media/icons/duotune/maps/map006.svg new file mode 100644 index 0000000..dff0082 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/maps/map006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/maps/map007.svg b/resources/assets/core/media/icons/duotune/maps/map007.svg new file mode 100644 index 0000000..7abf49e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/maps/map007.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/maps/map008.svg b/resources/assets/core/media/icons/duotune/maps/map008.svg new file mode 100644 index 0000000..0ce688e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/maps/map008.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/maps/map009.svg b/resources/assets/core/media/icons/duotune/maps/map009.svg new file mode 100644 index 0000000..e1d59a6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/maps/map009.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/maps/map010.svg b/resources/assets/core/media/icons/duotune/maps/map010.svg new file mode 100644 index 0000000..dffe763 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/maps/map010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/medicine/med001.svg b/resources/assets/core/media/icons/duotune/medicine/med001.svg new file mode 100644 index 0000000..73652f7 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/medicine/med001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/medicine/med002.svg b/resources/assets/core/media/icons/duotune/medicine/med002.svg new file mode 100644 index 0000000..e85ab3c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/medicine/med002.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/medicine/med003.svg b/resources/assets/core/media/icons/duotune/medicine/med003.svg new file mode 100644 index 0000000..b55b4b2 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/medicine/med003.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/medicine/med004.svg b/resources/assets/core/media/icons/duotune/medicine/med004.svg new file mode 100644 index 0000000..9a2203f --- /dev/null +++ b/resources/assets/core/media/icons/duotune/medicine/med004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/medicine/med005.svg b/resources/assets/core/media/icons/duotune/medicine/med005.svg new file mode 100644 index 0000000..bfd98d6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/medicine/med005.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/medicine/med006.svg b/resources/assets/core/media/icons/duotune/medicine/med006.svg new file mode 100644 index 0000000..81026e1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/medicine/med006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/medicine/med007.svg b/resources/assets/core/media/icons/duotune/medicine/med007.svg new file mode 100644 index 0000000..1ab861c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/medicine/med007.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/medicine/med008.svg b/resources/assets/core/media/icons/duotune/medicine/med008.svg new file mode 100644 index 0000000..96e911d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/medicine/med008.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/icons/duotune/medicine/med009.svg b/resources/assets/core/media/icons/duotune/medicine/med009.svg new file mode 100644 index 0000000..09a70e1 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/medicine/med009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/medicine/med010.svg b/resources/assets/core/media/icons/duotune/medicine/med010.svg new file mode 100644 index 0000000..519c8f4 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/medicine/med010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/social/soc001.svg b/resources/assets/core/media/icons/duotune/social/soc001.svg new file mode 100644 index 0000000..b0fd541 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/social/soc001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/social/soc002.svg b/resources/assets/core/media/icons/duotune/social/soc002.svg new file mode 100644 index 0000000..4089ad8 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/social/soc002.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/assets/core/media/icons/duotune/social/soc003.svg b/resources/assets/core/media/icons/duotune/social/soc003.svg new file mode 100644 index 0000000..de11fa3 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/social/soc003.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/social/soc004.svg b/resources/assets/core/media/icons/duotune/social/soc004.svg new file mode 100644 index 0000000..3873a83 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/social/soc004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/social/soc005.svg b/resources/assets/core/media/icons/duotune/social/soc005.svg new file mode 100644 index 0000000..3ee2944 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/social/soc005.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/social/soc006.svg b/resources/assets/core/media/icons/duotune/social/soc006.svg new file mode 100644 index 0000000..1fb0ebc --- /dev/null +++ b/resources/assets/core/media/icons/duotune/social/soc006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/social/soc007.svg b/resources/assets/core/media/icons/duotune/social/soc007.svg new file mode 100644 index 0000000..9d9233a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/social/soc007.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/social/soc008.svg b/resources/assets/core/media/icons/duotune/social/soc008.svg new file mode 100644 index 0000000..3d06f81 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/social/soc008.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/social/soc009.svg b/resources/assets/core/media/icons/duotune/social/soc009.svg new file mode 100644 index 0000000..ad5280a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/social/soc009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/social/soc010.svg b/resources/assets/core/media/icons/duotune/social/soc010.svg new file mode 100644 index 0000000..71d175e --- /dev/null +++ b/resources/assets/core/media/icons/duotune/social/soc010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/technology/teh001.svg b/resources/assets/core/media/icons/duotune/technology/teh001.svg new file mode 100644 index 0000000..7d48300 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/technology/teh001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/technology/teh002.svg b/resources/assets/core/media/icons/duotune/technology/teh002.svg new file mode 100644 index 0000000..f95cd12 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/technology/teh002.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/technology/teh003.svg b/resources/assets/core/media/icons/duotune/technology/teh003.svg new file mode 100644 index 0000000..59deaff --- /dev/null +++ b/resources/assets/core/media/icons/duotune/technology/teh003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/technology/teh004.svg b/resources/assets/core/media/icons/duotune/technology/teh004.svg new file mode 100644 index 0000000..de2f954 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/technology/teh004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/technology/teh005.svg b/resources/assets/core/media/icons/duotune/technology/teh005.svg new file mode 100644 index 0000000..da5ef05 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/technology/teh005.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/technology/teh006.svg b/resources/assets/core/media/icons/duotune/technology/teh006.svg new file mode 100644 index 0000000..0543bc6 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/technology/teh006.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/technology/teh007.svg b/resources/assets/core/media/icons/duotune/technology/teh007.svg new file mode 100644 index 0000000..2bed14d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/technology/teh007.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/technology/teh008.svg b/resources/assets/core/media/icons/duotune/technology/teh008.svg new file mode 100644 index 0000000..ce288f2 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/technology/teh008.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/technology/teh009.svg b/resources/assets/core/media/icons/duotune/technology/teh009.svg new file mode 100644 index 0000000..ff6ac1d --- /dev/null +++ b/resources/assets/core/media/icons/duotune/technology/teh009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/technology/teh010.svg b/resources/assets/core/media/icons/duotune/technology/teh010.svg new file mode 100644 index 0000000..59a1c94 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/technology/teh010.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/icons/duotune/text/txt001.svg b/resources/assets/core/media/icons/duotune/text/txt001.svg new file mode 100644 index 0000000..db4c393 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/text/txt001.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/text/txt002.svg b/resources/assets/core/media/icons/duotune/text/txt002.svg new file mode 100644 index 0000000..3bce269 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/text/txt002.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/text/txt003.svg b/resources/assets/core/media/icons/duotune/text/txt003.svg new file mode 100644 index 0000000..e5b9851 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/text/txt003.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/text/txt004.svg b/resources/assets/core/media/icons/duotune/text/txt004.svg new file mode 100644 index 0000000..e5b9851 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/text/txt004.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/text/txt005.svg b/resources/assets/core/media/icons/duotune/text/txt005.svg new file mode 100644 index 0000000..cd9b66a --- /dev/null +++ b/resources/assets/core/media/icons/duotune/text/txt005.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/text/txt006.svg b/resources/assets/core/media/icons/duotune/text/txt006.svg new file mode 100644 index 0000000..8d8ea00 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/text/txt006.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/text/txt007.svg b/resources/assets/core/media/icons/duotune/text/txt007.svg new file mode 100644 index 0000000..6629bba --- /dev/null +++ b/resources/assets/core/media/icons/duotune/text/txt007.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/icons/duotune/text/txt008.svg b/resources/assets/core/media/icons/duotune/text/txt008.svg new file mode 100644 index 0000000..1e2ee5c --- /dev/null +++ b/resources/assets/core/media/icons/duotune/text/txt008.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/text/txt009.svg b/resources/assets/core/media/icons/duotune/text/txt009.svg new file mode 100644 index 0000000..4eb9ccd --- /dev/null +++ b/resources/assets/core/media/icons/duotune/text/txt009.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/icons/duotune/text/txt010.svg b/resources/assets/core/media/icons/duotune/text/txt010.svg new file mode 100644 index 0000000..cbee6a2 --- /dev/null +++ b/resources/assets/core/media/icons/duotune/text/txt010.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/logos/favicon.ico b/resources/assets/core/media/logos/favicon.ico new file mode 100644 index 0000000..940676b Binary files /dev/null and b/resources/assets/core/media/logos/favicon.ico differ diff --git a/resources/assets/core/media/misc/bg-blue.png b/resources/assets/core/media/misc/bg-blue.png new file mode 100644 index 0000000..b9402d6 Binary files /dev/null and b/resources/assets/core/media/misc/bg-blue.png differ diff --git a/resources/assets/core/media/misc/bg-green.png b/resources/assets/core/media/misc/bg-green.png new file mode 100644 index 0000000..9fe1834 Binary files /dev/null and b/resources/assets/core/media/misc/bg-green.png differ diff --git a/resources/assets/core/media/misc/image.png b/resources/assets/core/media/misc/image.png new file mode 100644 index 0000000..5e01b1e Binary files /dev/null and b/resources/assets/core/media/misc/image.png differ diff --git a/resources/assets/core/media/misc/menu-header-dark.png b/resources/assets/core/media/misc/menu-header-dark.png new file mode 100644 index 0000000..840e282 Binary files /dev/null and b/resources/assets/core/media/misc/menu-header-dark.png differ diff --git a/resources/assets/core/media/misc/mm.svg b/resources/assets/core/media/misc/mm.svg new file mode 100644 index 0000000..6ca2e0e --- /dev/null +++ b/resources/assets/core/media/misc/mm.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/resources/assets/core/media/plugins/jstree/32px.png b/resources/assets/core/media/plugins/jstree/32px.png new file mode 100644 index 0000000..4bc79e6 Binary files /dev/null and b/resources/assets/core/media/plugins/jstree/32px.png differ diff --git a/resources/assets/core/media/svg/card-logos/american-express-dark.svg b/resources/assets/core/media/svg/card-logos/american-express-dark.svg new file mode 100644 index 0000000..3595187 --- /dev/null +++ b/resources/assets/core/media/svg/card-logos/american-express-dark.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/assets/core/media/svg/card-logos/american-express.svg b/resources/assets/core/media/svg/card-logos/american-express.svg new file mode 100644 index 0000000..63c22c0 --- /dev/null +++ b/resources/assets/core/media/svg/card-logos/american-express.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/assets/core/media/svg/card-logos/bitcoin 1.svg b/resources/assets/core/media/svg/card-logos/bitcoin 1.svg new file mode 100644 index 0000000..37d7b7b --- /dev/null +++ b/resources/assets/core/media/svg/card-logos/bitcoin 1.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/assets/core/media/svg/card-logos/dark/american-express.svg b/resources/assets/core/media/svg/card-logos/dark/american-express.svg new file mode 100644 index 0000000..3595187 --- /dev/null +++ b/resources/assets/core/media/svg/card-logos/dark/american-express.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/assets/core/media/svg/card-logos/dark/mastercard.svg b/resources/assets/core/media/svg/card-logos/dark/mastercard.svg new file mode 100644 index 0000000..5cd3d22 --- /dev/null +++ b/resources/assets/core/media/svg/card-logos/dark/mastercard.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/svg/card-logos/dark/visa.svg b/resources/assets/core/media/svg/card-logos/dark/visa.svg new file mode 100644 index 0000000..267a3f0 --- /dev/null +++ b/resources/assets/core/media/svg/card-logos/dark/visa.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/svg/card-logos/mastercard-dark.svg b/resources/assets/core/media/svg/card-logos/mastercard-dark.svg new file mode 100644 index 0000000..5cd3d22 --- /dev/null +++ b/resources/assets/core/media/svg/card-logos/mastercard-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/svg/card-logos/mastercard.svg b/resources/assets/core/media/svg/card-logos/mastercard.svg new file mode 100644 index 0000000..924a6d7 --- /dev/null +++ b/resources/assets/core/media/svg/card-logos/mastercard.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/resources/assets/core/media/svg/card-logos/visa-dark.svg b/resources/assets/core/media/svg/card-logos/visa-dark.svg new file mode 100644 index 0000000..267a3f0 --- /dev/null +++ b/resources/assets/core/media/svg/card-logos/visa-dark.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/svg/card-logos/visa.svg b/resources/assets/core/media/svg/card-logos/visa.svg new file mode 100644 index 0000000..495cd2a --- /dev/null +++ b/resources/assets/core/media/svg/card-logos/visa.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/core/media/svg/payment-methods/americanexpress.svg b/resources/assets/core/media/svg/payment-methods/americanexpress.svg new file mode 100644 index 0000000..00bff07 --- /dev/null +++ b/resources/assets/core/media/svg/payment-methods/americanexpress.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/resources/assets/core/media/svg/payment-methods/mastercard.svg b/resources/assets/core/media/svg/payment-methods/mastercard.svg new file mode 100644 index 0000000..808a472 --- /dev/null +++ b/resources/assets/core/media/svg/payment-methods/mastercard.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/resources/assets/core/media/svg/payment-methods/paypal.svg b/resources/assets/core/media/svg/payment-methods/paypal.svg new file mode 100644 index 0000000..647cc19 --- /dev/null +++ b/resources/assets/core/media/svg/payment-methods/paypal.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/assets/core/media/svg/payment-methods/visa.svg b/resources/assets/core/media/svg/payment-methods/visa.svg new file mode 100644 index 0000000..23819b5 --- /dev/null +++ b/resources/assets/core/media/svg/payment-methods/visa.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/svg/social-logos/facebook.svg b/resources/assets/core/media/svg/social-logos/facebook.svg new file mode 100644 index 0000000..ccff813 --- /dev/null +++ b/resources/assets/core/media/svg/social-logos/facebook.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/media/svg/social-logos/github.svg b/resources/assets/core/media/svg/social-logos/github.svg new file mode 100644 index 0000000..1d8b300 --- /dev/null +++ b/resources/assets/core/media/svg/social-logos/github.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/core/media/svg/social-logos/google.svg b/resources/assets/core/media/svg/social-logos/google.svg new file mode 100644 index 0000000..1307b69 --- /dev/null +++ b/resources/assets/core/media/svg/social-logos/google.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/core/media/svg/social-logos/instagram.svg b/resources/assets/core/media/svg/social-logos/instagram.svg new file mode 100644 index 0000000..3c89de9 --- /dev/null +++ b/resources/assets/core/media/svg/social-logos/instagram.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/assets/core/media/svg/social-logos/twitter.svg b/resources/assets/core/media/svg/social-logos/twitter.svg new file mode 100644 index 0000000..3da834b --- /dev/null +++ b/resources/assets/core/media/svg/social-logos/twitter.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/resources/assets/core/media/svg/social-logos/youtube.svg b/resources/assets/core/media/svg/social-logos/youtube.svg new file mode 100644 index 0000000..fcf58de --- /dev/null +++ b/resources/assets/core/media/svg/social-logos/youtube.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/core/plugins/bootstrap-multiselectsplitter/LICENCE b/resources/assets/core/plugins/bootstrap-multiselectsplitter/LICENCE new file mode 100644 index 0000000..8b2a8e6 --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-multiselectsplitter/LICENCE @@ -0,0 +1,19 @@ +Copyright (c) Ing. Matúš Ferko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/resources/assets/core/plugins/bootstrap-multiselectsplitter/bootstrap-multiselectsplitter.js b/resources/assets/core/plugins/bootstrap-multiselectsplitter/bootstrap-multiselectsplitter.js new file mode 100644 index 0000000..cc05046 --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-multiselectsplitter/bootstrap-multiselectsplitter.js @@ -0,0 +1,348 @@ +/** + * Bootstrap multiselectsplitter plugin + * Version: 1.0.1 + * License: MIT + * Homepage: https://github.com/poolerMF/bootstrap-multiselectsplitter + */ ++function ($) { + 'use strict'; + + // CLASS DEFINITION + // =============================== + + var MultiSelectSplitter = function (element, options) { + this.init('multiselectsplitter', element, options); + }; + + MultiSelectSplitter.DEFAULTS = { + selectSize: null, + maxSelectSize: null, + clearOnFirstChange: false, + onlySameGroup: false, // only if multiselect + groupCounter: false, // only if multiselect + maximumSelected: null, // only if multiselect, integer or function + afterInitialize: null, + maximumAlert: function (maximumSelected) { + alert("Only " + maximumSelected + " values can be selected"); + }, + createFirstSelect: function (label, $originalSelect) { + return ''; + }, + createSecondSelect: function (label, $firstSelect) { + return ''; + }, + template: '
      ' + + '
      ' + + '' + + '
      ' + + ' ' + + '
      ' + + '' + + '
      ' + + '
      ' + }; + + MultiSelectSplitter.prototype.init = function (type, element, options) { + + var self = this; + + self.type = type; + self.last$ElementSelected = []; + self.initialized = false; + + self.$element = $(element); + self.$element.hide(); + + self.options = $.extend({}, MultiSelectSplitter.DEFAULTS, options); + + // Add template. + self.$element.after(self.options.template); + + // Define selected elements. + self.$wrapper = self.$element.next('div[data-multiselectsplitter-wrapper-selector]'); + self.$firstSelect = $('select[data-multiselectsplitter-firstselect-selector]', self.$wrapper); + self.$secondSelect = $('select[data-multiselectsplitter-secondselect-selector]', self.$wrapper); + + var optgroupCount = 0; + var longestOptionCount = 0; + + if (self.$element.find('optgroup').length == 0) { + return; + } + + self.$element.find('optgroup').each(function () { + + var label = $(this).attr('label'); + var $option = $(self.options.createFirstSelect(label, self.$element)); + + $option.val(label); + $option.attr('data-current-label', $option.text()); + self.$firstSelect.append($option); + + var currentOptionCount = $(this).find('option').length; + + if (currentOptionCount > longestOptionCount) { + longestOptionCount = currentOptionCount; + } + optgroupCount++; + }); + + // Define $firstSelect and $secondSelect size attribute + var selectSize = Math.max(optgroupCount, longestOptionCount); + selectSize = Math.min(selectSize, 10); + if (self.options.selectSize) { + selectSize = self.options.selectSize; + } else if (self.options.maxSelectSize) { + selectSize = Math.min(selectSize, self.options.maxSelectSize); + } + self.$firstSelect.attr('size', selectSize); + self.$secondSelect.attr('size', selectSize); + + // Set multiple + if (self.$element.attr('multiple')) { + self.$secondSelect.attr('multiple', 'multiple'); + } + + // Set disabled + if (self.$element.is(":disabled")) { + self.disable(); + } + + // Define events. + self.$firstSelect.on('change', $.proxy(self.updateParentCategory, self)); + self.$secondSelect.on('click change', $.proxy(self.updateChildCategory, self)); + + self.update = function () { + if (self.$element.find('option').length < 1) { + return; + } + var selectedOptions = self.$element.find('option:selected:first'); + var selectedGroup; + + if (selectedOptions.length) { + selectedGroup = selectedOptions.parent().attr('label'); + } else { + selectedGroup = self.$element.find('option:first').parent().attr('label'); + } + + self.$firstSelect.find('option[value="' + selectedGroup + '"]').prop('selected', true); + self.$firstSelect.trigger('change'); + }; + + self.update(); + self.initialized = true; + + if (self.options.afterInitialize) { + self.options.afterInitialize(self.$firstSelect, self.$secondSelect); + } + }; + + MultiSelectSplitter.prototype.disable = function () { + this.$secondSelect.prop('disabled', true); + this.$firstSelect.prop('disabled', true); + }; + + MultiSelectSplitter.prototype.enable = function () { + this.$secondSelect.prop('disabled', false); + this.$firstSelect.prop('disabled', false); + }; + + MultiSelectSplitter.prototype.createSecondSelect = function () { + + var self = this; + + self.$secondSelect.empty(); + + $.each(self.$element.find('optgroup[label="' + self.$firstSelect.val() + '"] option'), function (index, element) { + var value = $(this).val(); + var label = $(this).text(); + + var $option = $(self.options.createSecondSelect(label, self.$firstSelect)); + $option.val(value); + + $.each(self.$element.find('option:selected'), function (index, element) { + if ($(element).val() == value) { + $option.prop('selected', true); + } + }); + + self.$secondSelect.append($option); + }); + }; + + MultiSelectSplitter.prototype.updateParentCategory = function () { + + var self = this; + + self.last$ElementSelected = self.$element.find('option:selected'); + + if (self.options.clearOnFirstChange && self.initialized) { + self.$element.find('option:selected').prop('selected', false); + } + + self.createSecondSelect(); + self.checkSelected(); + self.updateCounter(); + }; + + MultiSelectSplitter.prototype.updateCounter = function () { + + var self = this; + + if (!self.$element.attr('multiple') || !self.options.groupCounter) { + return; + } + + $.each(self.$firstSelect.find('option'), function (index, element) { + var originalLabel = $(element).val(); + var text = $(element).data('currentLabel'); + var count = self.$element.find('optgroup[label="' + originalLabel + '"] option:selected').length; + + if (count > 0) { + text += ' (' + count + ')'; + } + + $(element).html(text); + }); + }; + + MultiSelectSplitter.prototype.checkSelected = function () { + + var self = this; + + if (!self.$element.attr('multiple') || !self.options.maximumSelected) { + return; + } + + var maximumSelected = 0; + + if (typeof self.options.maximumSelected == 'function') { + maximumSelected = self.options.maximumSelected(self.$firstSelect, self.$secondSelect); + } else { + maximumSelected = self.options.maximumSelected; + } + + if (maximumSelected < 1) { + return; + } + + var $actualElementSelected = self.$element.find('option:selected'); + + if ($actualElementSelected.length > maximumSelected) { + self.$firstSelect.find('option:selected').prop('selected', false); + self.$secondSelect.find('option:selected').prop('selected', false); + + if (self.initialized) { + self.$element.find('option:selected').prop('selected', false); + self.last$ElementSelected.prop('selected', true); + } else { + // after init, there is no last value + $.each(self.$element.find('option:selected'), function (index, element) { + if (index > maximumSelected - 1) { + $(element).prop('selected', false); + } + }); + } + + var firstSelectedOptGroupLabel = self.last$ElementSelected.first().parent().attr('label'); + self.$firstSelect.find('option[value="' + firstSelectedOptGroupLabel + '"]').prop('selected', true); + + self.createSecondSelect(); + self.options.maximumAlert(maximumSelected); + } + }; + + MultiSelectSplitter.prototype.basicUpdateChildCategory = function (event, isCtrlKey) { + + var self = this; + + self.last$ElementSelected = self.$element.find('option:selected'); + var childValues = self.$secondSelect.val(); + + if (!$.isArray(childValues)) { + childValues = [childValues]; + } + + var parentLabel = self.$firstSelect.val(); + var removeActualSelected = false; + + if (!self.$element.attr('multiple')) { + removeActualSelected = true; + } else { + if (self.options.onlySameGroup) { + $.each(self.$element.find('option:selected'), function (index, element) { + if ($(element).parent().attr('label') != parentLabel) { + removeActualSelected = true; + return false; + } + }); + } else { + if (!isCtrlKey) { + removeActualSelected = true; + } + } + } + + if (removeActualSelected) { + self.$element.find('option:selected').prop('selected', false); + } else { + $.each(self.$element.find('option:selected'), function (index, element) { + if (parentLabel == $(element).parent().attr('label') && $.inArray($(element).val(), childValues) == -1) { + $(element).prop('selected', false); + } + }); + } + + $.each(childValues, function (index, value) { + self.$element.find('option[value="' + value + '"]').prop('selected', true); + }); + + self.checkSelected(); + self.updateCounter(); + self.$element.trigger('change'); // Required for external plugins. + }; + + MultiSelectSplitter.prototype.updateChildCategory = function (event) { + // There is no event.ctrlKey in event "change", so change function is called with timeout + if (event.type == "change") { + this.timeOut = setTimeout($.proxy(function () { + this.basicUpdateChildCategory(event, event.ctrlKey); + }, this), 10); + } else if (event.type == "click") { + clearTimeout(this.timeOut); + this.basicUpdateChildCategory(event, event.ctrlKey) + } + }; + + MultiSelectSplitter.prototype.destroy = function () { + this.$wrapper.remove(); + this.$element.removeData(this.type); + this.$element.show(); + }; + + // PLUGIN DEFINITION + // ========================= + + function Plugin(option) { + return this.each(function () { + var $this = $(this); + var data = $this.data('multiselectsplitter'); + var options = typeof option === 'object' && option; + + if (!data && option == 'destroy') { + return; + } + if (!data) { + $this.data('multiselectsplitter', ( data = new MultiSelectSplitter(this, options) )); + } + if (typeof option == 'string') { + data[option](); + } + }); + } + + $.fn.multiselectsplitter = Plugin; + $.fn.multiselectsplitter.Constructor = MultiSelectSplitter; + $.fn.multiselectsplitter.VERSION = '1.0.1'; + +}(jQuery); \ No newline at end of file diff --git a/resources/assets/core/plugins/bootstrap-multiselectsplitter/bootstrap-multiselectsplitter.min.js b/resources/assets/core/plugins/bootstrap-multiselectsplitter/bootstrap-multiselectsplitter.min.js new file mode 100644 index 0000000..6d2a7c8 --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-multiselectsplitter/bootstrap-multiselectsplitter.min.js @@ -0,0 +1 @@ ++function(a){"use strict";function c(c){return this.each(function(){var d=a(this),e=d.data("multiselectsplitter"),f="object"==typeof c&&c;(e||"destroy"!=c)&&(e||d.data("multiselectsplitter",e=new b(this,f)),"string"==typeof c&&e[c]())})}var b=function(a,b){this.init("multiselectsplitter",a,b)};b.DEFAULTS={selectSize:null,maxSelectSize:null,clearOnFirstChange:!1,onlySameGroup:!1,groupCounter:!1,maximumSelected:null,afterInitialize:null,maximumAlert:function(a){alert("Only "+a+" values can be selected")},createFirstSelect:function(a,b){return""},createSecondSelect:function(a,b){return""},template:'
      '},b.prototype.init=function(c,d,e){var f=this;f.type=c,f.last$ElementSelected=[],f.initialized=!1,f.$element=a(d),f.$element.hide(),f.options=a.extend({},b.DEFAULTS,e),f.$element.after(f.options.template),f.$wrapper=f.$element.next("div[data-multiselectsplitter-wrapper-selector]"),f.$firstSelect=a("select[data-multiselectsplitter-firstselect-selector]",f.$wrapper),f.$secondSelect=a("select[data-multiselectsplitter-secondselect-selector]",f.$wrapper);var g=0,h=0;if(0!=f.$element.find("optgroup").length){f.$element.find("optgroup").each(function(){var b=a(this).attr("label"),c=a(f.options.createFirstSelect(b,f.$element));c.val(b),c.attr("data-current-label",c.text()),f.$firstSelect.append(c);var d=a(this).find("option").length;d>h&&(h=d),g++});var i=Math.max(g,h);i=Math.min(i,10),f.options.selectSize?i=f.options.selectSize:f.options.maxSelectSize&&(i=Math.min(i,f.options.maxSelectSize)),f.$firstSelect.attr("size",i),f.$secondSelect.attr("size",i),f.$element.attr("multiple")&&f.$secondSelect.attr("multiple","multiple"),f.$element.is(":disabled")&&f.disable(),f.$firstSelect.on("change",a.proxy(f.updateParentCategory,f)),f.$secondSelect.on("click change",a.proxy(f.updateChildCategory,f)),f.update=function(){if(!(f.$element.find("option").length<1)){var b,a=f.$element.find("option:selected:first");b=a.length?a.parent().attr("label"):f.$element.find("option:first").parent().attr("label"),f.$firstSelect.find('option[value="'+b+'"]').prop("selected",!0),f.$firstSelect.trigger("change")}},f.update(),f.initialized=!0,f.options.afterInitialize&&f.options.afterInitialize(f.$firstSelect,f.$secondSelect)}},b.prototype.disable=function(){this.$secondSelect.prop("disabled",!0),this.$firstSelect.prop("disabled",!0)},b.prototype.enable=function(){this.$secondSelect.prop("disabled",!1),this.$firstSelect.prop("disabled",!1)},b.prototype.createSecondSelect=function(){var b=this;b.$secondSelect.empty(),a.each(b.$element.find('optgroup[label="'+b.$firstSelect.val()+'"] option'),function(c,d){var e=a(this).val(),f=a(this).text(),g=a(b.options.createSecondSelect(f,b.$firstSelect));g.val(e),a.each(b.$element.find("option:selected"),function(b,c){a(c).val()==e&&g.prop("selected",!0)}),b.$secondSelect.append(g)})},b.prototype.updateParentCategory=function(){var a=this;a.last$ElementSelected=a.$element.find("option:selected"),a.options.clearOnFirstChange&&a.initialized&&a.$element.find("option:selected").prop("selected",!1),a.createSecondSelect(),a.checkSelected(),a.updateCounter()},b.prototype.updateCounter=function(){var b=this;b.$element.attr("multiple")&&b.options.groupCounter&&a.each(b.$firstSelect.find("option"),function(c,d){var e=a(d).val(),f=a(d).data("currentLabel"),g=b.$element.find('optgroup[label="'+e+'"] option:selected').length;g>0&&(f+=" ("+g+")"),a(d).html(f)})},b.prototype.checkSelected=function(){var b=this;if(b.$element.attr("multiple")&&b.options.maximumSelected){var c=0;if(c="function"==typeof b.options.maximumSelected?b.options.maximumSelected(b.$firstSelect,b.$secondSelect):b.options.maximumSelected,!(c<1)){var d=b.$element.find("option:selected");if(d.length>c){b.$firstSelect.find("option:selected").prop("selected",!1),b.$secondSelect.find("option:selected").prop("selected",!1),b.initialized?(b.$element.find("option:selected").prop("selected",!1),b.last$ElementSelected.prop("selected",!0)):a.each(b.$element.find("option:selected"),function(b,d){b>c-1&&a(d).prop("selected",!1)});var e=b.last$ElementSelected.first().parent().attr("label");b.$firstSelect.find('option[value="'+e+'"]').prop("selected",!0),b.createSecondSelect(),b.options.maximumAlert(c)}}}},b.prototype.basicUpdateChildCategory=function(b,c){var d=this;d.last$ElementSelected=d.$element.find("option:selected");var e=d.$secondSelect.val();a.isArray(e)||(e=[e]);var f=d.$firstSelect.val(),g=!1;d.$element.attr("multiple")?d.options.onlySameGroup?a.each(d.$element.find("option:selected"),function(b,c){if(a(c).parent().attr("label")!=f)return g=!0,!1}):c||(g=!0):g=!0,g?d.$element.find("option:selected").prop("selected",!1):a.each(d.$element.find("option:selected"),function(b,c){f==a(c).parent().attr("label")&&a.inArray(a(c).val(),e)==-1&&a(c).prop("selected",!1)}),a.each(e,function(a,b){d.$element.find('option[value="'+b+'"]').prop("selected",!0)}),d.checkSelected(),d.updateCounter(),d.$element.trigger("change")},b.prototype.updateChildCategory=function(b){"change"==b.type?this.timeOut=setTimeout(a.proxy(function(){this.basicUpdateChildCategory(b,b.ctrlKey)},this),10):"click"==b.type&&(clearTimeout(this.timeOut),this.basicUpdateChildCategory(b,b.ctrlKey))},b.prototype.destroy=function(){this.$wrapper.remove(),this.$element.removeData(this.type),this.$element.show()},a.fn.multiselectsplitter=c,a.fn.multiselectsplitter.Constructor=b,a.fn.multiselectsplitter.VERSION="1.0.1"}(jQuery); \ No newline at end of file diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/.gitignore b/resources/assets/core/plugins/bootstrap-session-timeout/.gitignore new file mode 100644 index 0000000..dce1319 --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/.gitignore @@ -0,0 +1,4 @@ +/bower_components/ +/node_modules/ +*.sublime-project +*.sublime-workspace diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/.jshintrc b/resources/assets/core/plugins/bootstrap-session-timeout/.jshintrc new file mode 100644 index 0000000..0b7ee56 --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/.jshintrc @@ -0,0 +1,20 @@ +{ + "curly": true, + "eqeqeq": true, + "immed": true, + "latedef": true, + "newcap": true, + "noarg": true, + "sub": true, + "undef": true, + "unused": true, + "boss": true, + "eqnull": true, + "node": true, + "globals": { + "document": true, + "window": true, + "jQuery": true, + "$": true + } +} diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/Gruntfile.js b/resources/assets/core/plugins/bootstrap-session-timeout/Gruntfile.js new file mode 100644 index 0000000..470266d --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/Gruntfile.js @@ -0,0 +1,67 @@ +'use strict'; + +module.exports = function(grunt) { + // Show elapsed time at the end + require('time-grunt')(grunt); + // Load all grunt tasks + require('load-grunt-tasks')(grunt); + + // Project configuration. + grunt.initConfig({ + connect: { + options: { + port: 9000, + // Enable hostname '0.0.0.0' to access the server from outside. + hostname: '0.0.0.0', + livereload: 36729 + }, + livereload: { + options: { + open: 'http://localhost:9000', + middleware: function(connect) { + return [ + connect.static('./') + ]; + } + } + } + }, + jshint: { + options: { + jshintrc: '.jshintrc', + reporter: require('jshint-stylish') + }, + dist: { + src: ['dist/bootstrap-session-timeout.js'] + } + }, + watch: { + dist: { + files: '<%= jshint.dist.src %>', + tasks: ['jshint:dist'] + }, + livereload: { + options: { + livereload: '<%= connect.options.livereload %>' + }, + files: [ + '*.html', + 'examples/*.html', + 'dist/*.js' + ] + } + }, + uglify: { + dist: { + files: { + 'dist/bootstrap-session-timeout.min.js': ['<%= jshint.dist.src %>'] + } + } + } + }); + + // Default task. + grunt.registerTask('default', ['jshint']); + grunt.registerTask('dev', ['connect:livereload', 'watch']); + grunt.registerTask('min', ['jshint', 'uglify']); +}; diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/LICENSE.md b/resources/assets/core/plugins/bootstrap-session-timeout/LICENSE.md new file mode 100644 index 0000000..aa40c24 --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/LICENSE.md @@ -0,0 +1,22 @@ +MIT License (MIT) + +Copyright (c) 2013 Travis Horn + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/README.md b/resources/assets/core/plugins/bootstrap-session-timeout/README.md new file mode 100644 index 0000000..9ffc25a --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/README.md @@ -0,0 +1,275 @@ +# bootstrap-session-timeout +Inspired by [jquery-sessionTimeout-bootstrap by maxfierke](https://github.com/maxfierke/jquery-sessionTimeout-bootstrap) + +There have been a number of major upgrades. For example, as long as the user is doing something on the page, he will never get a timeout. The original plugin launched a timeout warning dialog in a fixed amount of time regardless of user activity. See description and documentation for more information. + +You can easily upgrade from jquery-sessionTimeout-bootstrap to bootstrap-session-timeout, since the basic options have been inherited from jquery-sessionTimeout-bootstrap and have not been renamed. + +## Description +After a set amount of idle time, a Bootstrap warning dialog is shown to the user with the option to either log out, or stay connected. If "Logout" button is selected, the page is redirected to a logout URL. If "Stay Connected" is selected the dialog closes and the session is kept alive. If no option is selected after another set amount of idle time, the page is automatically redirected to a set timeout URL. + +Idle time is defined as no mouse, keyboard or touch event activity registered by the browser. + +As long as the user is active, the (optional) keep-alive URL keeps getting pinged and the session stays alive. If you have no need to keep the server-side session alive via the keep-alive URL, you can also use this plugin as a simple lock mechanism that redirects to your lock-session or log-out URL after a set amount of idle time. + + +## Getting Started + +1. Download or git clone. +2. Run `bower install` to install dependencies or if you prefer to do it manually: include jQuery, Bootstrap JS and CSS (required if you want to use Bootstrap modal window). +3. Include `bootstrap-session-timeout.js` or the minified version `bootstrap-session-timeout.min.js` +4. Call `$.sessionTimeout();` on document ready. See available options below or take a look at the examples. + + + +## Documentation +### Options +**title**
      + +Type: `String` + +Default: `'Your session is about to expire!'` + +This is the text shown to user via Bootstrap warning dialog after warning period. (modal title) + +**message**
      + +Type: `String` + +Default: `'Your session is about to expire.'` + +This is the text shown to user via Bootstrap warning dialog after warning period. + +**logoutButton**
      + +Type: `String` + +Default: `'Logout'` + +This is the text shown to user via Bootstrap warning dialog after warning period in the logout button. + +**keepAliveButton**
      + +Type: `String` + +Default: `'Stay Connected'` + +This is the text shown to user via Bootstrap warning dialog after warning period in the Keep Alive button. + +**keepAliveUrl** + +Type: `String` + +Default: `'/keep-alive'` + +URL to ping via AJAX POST to keep the session alive. This resource should do something innocuous that would keep the session alive, which will depend on your server-side platform. + +**keepAlive** + +Type: `Boolean` + +Default: `true` + +If `true`, the plugin keeps pinging the `keepAliveUrl` for as long as the user is active. The time between two pings is set by the `keepAliveInterval` option. If you have no server-side session timeout to worry about, feel free to set this one to `false` to prevent unnecessary network activity. + +**keepAliveInterval** + +Type: `Integer` + +Default: `5000` (5 seconds) + +Time in milliseconds between two keep-alive pings. + +**ajaxType** + +Type: `String` + +Default: `'POST'` + +If you need to specify the ajax method + +**ajaxData** + +Type: `String` + +Default: `''` + +If you need to send some data via AJAX POST to your `keepAliveUrl`, you can use this option. + +**redirUrl** + +Type: `String` + +Default: `'/timed-out'` + +URL to take browser to if no action is take after the warning. + +**logoutUrl** + +Type: `String` + +Default: `'/log-out'` + +URL to take browser to if user clicks "Logout" on the Bootstrap warning dialog. + +**warnAfter** + +Type: `Integer` + +Default: `900000` (15 minutes) + +Time in milliseconds after page is opened until warning dialog is opened. + +**redirAfter** + +Type: `Integer` + +Default: `1200000` (20 minutes) + +Time in milliseconds after page is opened until browser is redirected to `redirUrl`. + +**ignoreUserActivity** + +Type: `Boolean` + +Default: `false` + +If `true`, this will launch the Bootstrap warning dialog / redirect (or callback functions) in a set amounts of time regardless of user activity. This in turn makes the plugin act much like the [jquery-sessionTimeout-bootstrap by maxfierke](https://github.com/maxfierke/jquery-sessionTimeout-bootstrap) plugin. + +**countdownSmart** + +Type: `Boolean` + +Default: `false` + +If `true`, displays minutes as well as seconds in the countdown timer (e.g. "3m 14s"). +Displays only seconds when timer is under one minute (e.g. "42s"). + +**countdownMessage** + +Type: `String` or `Boolean` + +Default: `false` + +If you want a custom sentence to appear in the warning dialog with a timer showing the seconds remaining, use this option. Example: `countdownMessage: 'Redirecting in {timer}.'` Place the `{timer}` string where you want the numeric countdown to appear. Another example: `countdownMessage: '{timer} remaining.'`. Can be combined with countdownBar option or used independently. + +**countdownBar** + +Type: `Boolean` + +Default: `false` + +If `true`, ads a countdown bar (uses Bootstrap progress bar) to the warning dialog. Can be combined with countdownMessage option or used independently. + +**onStart** + +Type: `Function` or `Boolean` + +Default: `false` + +Optional callback fired when first calling the plugin and every time user refreshes the session (on any mouse, keyboard or touch action). Takes options object as the only argument. + + +**onWarn** + +Type: `Function` or `Boolean` + +Default: `false` + +Custom callback you can use instead of showing the Bootstrap warning dialog. Takes options object as the only argument. + +Redirect action will still occur unless you also add the `onRedir` callback. + +**onRedir** + +Type: `Function` or `Boolean` + +Default: `false` + +Custom callback you can use instead of redirecting the user to `redirUrl`. Takes options object as the only argument. + +## Examples + +You can play around with the examples in the `/examples` directory. + + +**Basic Usage** + +Shows the warning dialog after one minute. The dialog is visible for another minute. If user takes no action (interacts with the page in any way), browser is redirected to `redirUrl`. On any user action (mouse, keyboard or touch) the timeout timer is reset. Of course, you will still need to close the dialog. + +```js +$.sessionTimeout({ + message: 'Your session will be locked in one minute.', + keepAliveUrl: 'keep-alive.html', + logoutUrl: 'login.html', + redirUrl: 'locked.html', + warnAfter: 60000, + redirAfter: 120000 +}); +``` + +**With onWarn Callback** + +Shows the "Warning!" alert after one minute. If user takes no action (interacts with the page in any way), after one more minute the browser is redirected to `redirUrl`. On any user action (mouse, keyboard or touch) the timeout timer is reset. + +```js +$.sessionTimeout({ + redirUrl: 'locked.html', + warnAfter: 60000, + redirAfter: 120000, + onWarn: function () { + alert('Warning!'); + } +}); +``` + +**With both onWarn and onRedir Callback** + +Console logs the "Your session will soon expire!" text after one minute. If user takes no action (interacts with the page in any way), after two more minutes the "Your session has expired!" alert gets shown. No redirection occurs. On any user action (mouse, keyboard or touch) the timeout timer is reset. + +```js +$.sessionTimeout({ + warnAfter: 60000, + redirAfter: 180000, + onWarn: function () { + console.log('Your session will soon expire!'); + }, + onRedir: function () { + alert('Your session has expired!'); + } +}); +``` + +**With countdown message and bar displayed in warning dialog** + +Same as basic usage except you'll also see the countdown message and countdown bar in the warning dialog. Uses Bootstrap progress bar. In countdownMessage place the `{timer}` string where you want the numeric countdown (seconds) to appear. + +```js +$.sessionTimeout({ + keepAliveUrl: 'keep-alive.html', + logoutUrl: 'login.html', + redirUrl: 'locked.html', + warnAfter: 60000, + redirAfter: 120000, + countdownMessage: 'Redirecting in {timer} seconds.', + countdownBar: true +}); +``` + +## Contributing +In lieu of a formal styleguide, take care to maintain the existing coding style. Add comments for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/). + +## Release History + * **1.0.3** `2015-07-17` + * Fixes various reported bugs + * **1.0.2** `2015-02-10` + * Added optional onStart callback. + * All custom callbacks nowreceive options object as argument. + * Added optional countdown message. Added optional countdown bar. + * **1.0.1** `2014-01-23` + * Added an option to send data to the keep-alive URL. + * **1.0.0** `2014-01-22` + * Initial release. + +## License +Copyright (c) 2014 [Orange Hill](http://www.orangehilldev.com). Licensed under the MIT license. diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/bower.json b/resources/assets/core/plugins/bootstrap-session-timeout/bower.json new file mode 100644 index 0000000..c4273cc --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/bower.json @@ -0,0 +1,32 @@ +{ + "name": "bootstrap-session-timeout", + "version": "1.0.3", + "homepage": "https://github.com/orangehill/bootstrap-session-timeout", + "authors": [ + "Vedran Opacic " + ], + "description": "Session timeout and keep-alive control with a nice Bootstrap warning dialog.", + "keywords": [ + "timeout", + "time-out", + "keepalive", + "keep-alive", + "session", + "bootstrap", + "bootstrap 3", + "jquery", + "javascript", + "dialog" + ], + "license": "MIT", + "ignore": [ + "node_modules", + "bower_components", + "test", + "tests" + ], + "dependencies": { + "bootstrap": "~3.3.2", + "jquery": "~2.1.3" + } +} diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/dist/bootstrap-session-timeout.js b/resources/assets/core/plugins/bootstrap-session-timeout/dist/bootstrap-session-timeout.js new file mode 100644 index 0000000..1d65189 --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/dist/bootstrap-session-timeout.js @@ -0,0 +1,242 @@ +/* + * bootstrap-session-timeout + * www.orangehilldev.com + * + * Copyright (c) 2014 Vedran Opacic + * Licensed under the MIT license. + */ + +(function($) { + /*jshint multistr: true */ + 'use strict'; + $.sessionTimeout = function(options) { + var defaults = { + title: 'Your Session is About to Expire!', + message: 'Your session is about to expire.', + logoutButton: 'Logout', + keepAliveButton: 'Stay Connected', + keepAliveUrl: '/keep-alive', + ajaxType: 'POST', + ajaxData: '', + redirUrl: '/timed-out', + logoutUrl: '/log-out', + warnAfter: 900000, // 15 minutes + redirAfter: 1200000, // 20 minutes + keepAliveInterval: 5000, + keepAlive: true, + ignoreUserActivity: false, + onStart: false, + onWarn: false, + onRedir: false, + countdownMessage: false, + countdownBar: false, + countdownSmart: false + }; + + var opt = defaults, + timer, + countdown = {}; + + // Extend user-set options over defaults + if (options) { + opt = $.extend(defaults, options); + } + + // Some error handling if options are miss-configured + if (opt.warnAfter >= opt.redirAfter) { + console.error('Bootstrap-session-timeout plugin is miss-configured. Option "redirAfter" must be equal or greater than "warnAfter".'); + return false; + } + + // Unless user set his own callback function, prepare bootstrap modal elements and events + if (typeof opt.onWarn !== 'function') { + // If opt.countdownMessage is defined add a coundown timer message to the modal dialog + var countdownMessage = opt.countdownMessage ? + '

      ' + opt.countdownMessage.replace(/{timer}/g, '') + '

      ' : ''; + var coundownBarHtml = opt.countdownBar ? + '
      \ +
      \ + \ +
      \ +
      ' : ''; + + // Create timeout warning dialog + $('body').append(''); + + // "Logout" button click + $('#session-timeout-dialog-logout').on('click', function() { + window.location = opt.logoutUrl; + }); + // "Stay Connected" button click + $('#session-timeout-dialog').on('hide.bs.modal', function() { + // Restart session timer + startSessionTimer(); + }); + } + + // Reset timer on any of these events + if (!opt.ignoreUserActivity) { + var mousePosition = [-1, -1]; + $(document).on('keyup mouseup mousemove touchend touchmove', function(e) { + if (e.type === 'mousemove') { + // Solves mousemove even when mouse not moving issue on Chrome: + // https://code.google.com/p/chromium/issues/detail?id=241476 + if (e.clientX === mousePosition[0] && e.clientY === mousePosition[1]) { + return; + } + mousePosition[0] = e.clientX; + mousePosition[1] = e.clientY; + } + startSessionTimer(); + + // If they moved the mouse not only reset the counter + // but remove the modal too! + if ($('#session-timeout-dialog').length > 0 && + $('#session-timeout-dialog').data('bs.modal') && + $('#session-timeout-dialog').data('bs.modal').isShown) { + // http://stackoverflow.com/questions/11519660/twitter-bootstrap-modal-backdrop-doesnt-disappear + $('#session-timeout-dialog').modal('hide'); + $('body').removeClass('modal-open'); + $('div.modal-backdrop').remove(); + + } + }); + } + + // Keeps the server side connection live, by pingin url set in keepAliveUrl option. + // KeepAlivePinged is a helper var to ensure the functionality of the keepAliveInterval option + var keepAlivePinged = false; + + function keepAlive() { + if (!keepAlivePinged) { + // Ping keepalive URL using (if provided) data and type from options + $.ajax({ + type: opt.ajaxType, + url: opt.keepAliveUrl, + data: opt.ajaxData + }); + keepAlivePinged = true; + setTimeout(function() { + keepAlivePinged = false; + }, opt.keepAliveInterval); + } + } + + function startSessionTimer() { + // Clear session timer + clearTimeout(timer); + if (opt.countdownMessage || opt.countdownBar) { + startCountdownTimer('session', true); + } + + if (typeof opt.onStart === 'function') { + opt.onStart(opt); + } + + // If keepAlive option is set to "true", ping the "keepAliveUrl" url + if (opt.keepAlive) { + keepAlive(); + } + + // Set session timer + timer = setTimeout(function() { + // Check for onWarn callback function and if there is none, launch dialog + if (typeof opt.onWarn !== 'function') { + $('#session-timeout-dialog').modal('show'); + } else { + opt.onWarn(opt); + } + // Start dialog timer + startDialogTimer(); + }, opt.warnAfter); + } + + function startDialogTimer() { + // Clear session timer + clearTimeout(timer); + if (!$('#session-timeout-dialog').hasClass('in') && (opt.countdownMessage || opt.countdownBar)) { + // If warning dialog is not already open and either opt.countdownMessage + // or opt.countdownBar are set start countdown + startCountdownTimer('dialog', true); + } + // Set dialog timer + timer = setTimeout(function() { + // Check for onRedir callback function and if there is none, launch redirect + if (typeof opt.onRedir !== 'function') { + window.location = opt.redirUrl; + } else { + opt.onRedir(opt); + } + }, (opt.redirAfter - opt.warnAfter)); + } + + function startCountdownTimer(type, reset) { + // Clear countdown timer + clearTimeout(countdown.timer); + + if (type === 'dialog' && reset) { + // If triggered by startDialogTimer start warning countdown + countdown.timeLeft = Math.floor((opt.redirAfter - opt.warnAfter) / 1000); + } else if (type === 'session' && reset) { + // If triggered by startSessionTimer start full countdown + // (this is needed if user doesn't close the warning dialog) + countdown.timeLeft = Math.floor(opt.redirAfter / 1000); + } + // If opt.countdownBar is true, calculate remaining time percentage + if (opt.countdownBar && type === 'dialog') { + countdown.percentLeft = Math.floor(countdown.timeLeft / ((opt.redirAfter - opt.warnAfter) / 1000) * 100); + } else if (opt.countdownBar && type === 'session') { + countdown.percentLeft = Math.floor(countdown.timeLeft / (opt.redirAfter / 1000) * 100); + } + // Set countdown message time value + var countdownEl = $('.countdown-holder'); + var secondsLeft = countdown.timeLeft >= 0 ? countdown.timeLeft : 0; + if (opt.countdownSmart) { + var minLeft = Math.floor(secondsLeft / 60); + var secRemain = secondsLeft % 60; + var countTxt = minLeft > 0 ? minLeft + 'm' : ''; + if (countTxt.length > 0) { + countTxt += ' '; + } + countTxt += secRemain + 's'; + countdownEl.text(countTxt); + } else { + countdownEl.text(secondsLeft + "s"); + } + + // Set countdown message time value + if (opt.countdownBar) { + $('.countdown-bar').css('width', countdown.percentLeft + '%'); + } + + // Countdown by one second + countdown.timeLeft = countdown.timeLeft - 1; + countdown.timer = setTimeout(function() { + // Call self after one second + startCountdownTimer(type); + }, 1000); + } + + // Start session timer + startSessionTimer(); + + }; +})(jQuery); diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/dist/bootstrap-session-timeout.min.js b/resources/assets/core/plugins/bootstrap-session-timeout/dist/bootstrap-session-timeout.min.js new file mode 100644 index 0000000..5c47922 --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/dist/bootstrap-session-timeout.min.js @@ -0,0 +1 @@ +!function(a){"use strict";a.sessionTimeout=function(b){function c(){n||(a.ajax({type:i.ajaxType,url:i.keepAliveUrl,data:i.ajaxData}),n=!0,setTimeout(function(){n=!1},i.keepAliveInterval))}function d(){clearTimeout(g),(i.countdownMessage||i.countdownBar)&&f("session",!0),"function"==typeof i.onStart&&i.onStart(i),i.keepAlive&&c(),g=setTimeout(function(){"function"!=typeof i.onWarn?a("#session-timeout-dialog").modal("show"):i.onWarn(i),e()},i.warnAfter)}function e(){clearTimeout(g),a("#session-timeout-dialog").hasClass("in")||!i.countdownMessage&&!i.countdownBar||f("dialog",!0),g=setTimeout(function(){"function"!=typeof i.onRedir?window.location=i.redirUrl:i.onRedir(i)},i.redirAfter-i.warnAfter)}function f(b,c){clearTimeout(j.timer),"dialog"===b&&c?j.timeLeft=Math.floor((i.redirAfter-i.warnAfter)/1e3):"session"===b&&c&&(j.timeLeft=Math.floor(i.redirAfter/1e3)),i.countdownBar&&"dialog"===b?j.percentLeft=Math.floor(j.timeLeft/((i.redirAfter-i.warnAfter)/1e3)*100):i.countdownBar&&"session"===b&&(j.percentLeft=Math.floor(j.timeLeft/(i.redirAfter/1e3)*100));var d=a(".countdown-holder"),e=j.timeLeft>=0?j.timeLeft:0;if(i.countdownSmart){var g=Math.floor(e/60),h=e%60,k=g>0?g+"m":"";k.length>0&&(k+=" "),k+=h+"s",d.text(k)}else d.text(e+"s");i.countdownBar&&a(".countdown-bar").css("width",j.percentLeft+"%"),j.timeLeft=j.timeLeft-1,j.timer=setTimeout(function(){f(b)},1e3)}var g,h={title:"Your Session is About to Expire!",message:"Your session is about to expire.",logoutButton:"Logout",keepAliveButton:"Stay Connected",keepAliveUrl:"/keep-alive",ajaxType:"POST",ajaxData:"",redirUrl:"/timed-out",logoutUrl:"/log-out",warnAfter:9e5,redirAfter:12e5,keepAliveInterval:5e3,keepAlive:!0,ignoreUserActivity:!1,onStart:!1,onWarn:!1,onRedir:!1,countdownMessage:!1,countdownBar:!1,countdownSmart:!1},i=h,j={};if(b&&(i=a.extend(h,b)),i.warnAfter>=i.redirAfter)return console.error('Bootstrap-session-timeout plugin is miss-configured. Option "redirAfter" must be equal or greater than "warnAfter".'),!1;if("function"!=typeof i.onWarn){var k=i.countdownMessage?"

      "+i.countdownMessage.replace(/{timer}/g,'')+"

      ":"",l=i.countdownBar?'
      ':"";a("body").append('"),a("#session-timeout-dialog-logout").on("click",function(){window.location=i.logoutUrl}),a("#session-timeout-dialog").on("hide.bs.modal",function(){d()})}if(!i.ignoreUserActivity){var m=[-1,-1];a(document).on("keyup mouseup mousemove touchend touchmove",function(b){if("mousemove"===b.type){if(b.clientX===m[0]&&b.clientY===m[1])return;m[0]=b.clientX,m[1]=b.clientY}d(),a("#session-timeout-dialog").length>0&&a("#session-timeout-dialog").data("bs.modal")&&a("#session-timeout-dialog").data("bs.modal").isShown&&(a("#session-timeout-dialog").modal("hide"),a("body").removeClass("modal-open"),a("div.modal-backdrop").remove())})}var n=!1;d()}}(jQuery); \ No newline at end of file diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/examples/basic.html b/resources/assets/core/plugins/bootstrap-session-timeout/examples/basic.html new file mode 100644 index 0000000..148ca4e --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/examples/basic.html @@ -0,0 +1,45 @@ + + + + + Bootstrap-session-timeout - Basic Usage + + + + + +
      +

      Bootstrap-session-timeout

      +

      Basic Usage

      +
      +

      Shows the warning dialog after 3 seconds. If user takes no action (interacts with the page in any way), browser is redirected to redirUrl. On any user action (mouse, keyboard or touch) the timeout timer is reset.

      + +
      +            $.sessionTimeout({
      +                keepAliveUrl: 'keep-alive.html',
      +                logoutUrl: 'login.html',
      +                redirUrl: 'locked.html',
      +                warnAfter: 3000,
      +                redirAfter: 10000
      +            });
      +        
      + + Back to Demo Index + +
      + + + + + + + + diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/examples/countdown-bar.html b/resources/assets/core/plugins/bootstrap-session-timeout/examples/countdown-bar.html new file mode 100644 index 0000000..7a1a7df --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/examples/countdown-bar.html @@ -0,0 +1,48 @@ + + + + + Bootstrap-session-timeout - Countdown Timer + + + + + +
      +

      Bootstrap-session-timeout

      +

      Countdown Timer

      +
      +

      Shows the warning dialog with countdown bar after 3 seconds. If user takes no action (interacts with the page in any way), browser is redirected to redirUrl. On any user action (mouse, keyboard or touch) the timeout timer as well as the countdown timer are reset (visible if you don't close the warning dialog).

      +

      Note: you can also combine the countdown bar with a countdown timer message.

      + +
      +            $.sessionTimeout({
      +                keepAliveUrl: 'keep-alive.html',
      +                logoutUrl: 'login.html',
      +                redirUrl: 'locked.html',
      +                warnAfter: 3000,
      +                redirAfter: 10000,
      +                countdownBar: true
      +            });
      +        
      + + Back to Demo Index + +
      + + + + + + + + diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/examples/countdown-timer.html b/resources/assets/core/plugins/bootstrap-session-timeout/examples/countdown-timer.html new file mode 100644 index 0000000..188e4a3 --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/examples/countdown-timer.html @@ -0,0 +1,47 @@ + + + + + Bootstrap-session-timeout - Countdown Timer + + + + + +
      +

      Bootstrap-session-timeout

      +

      Countdown Timer

      +
      +

      Shows the warning dialog with countdown timer after 3 seconds. If user takes no action (interacts with the page in any way), browser is redirected to redirUrl. On any user action (mouse, keyboard or touch) the timeout timer as well as the countdown timer are reset (visible if you don't close the warning dialog).

      + +
      +            $.sessionTimeout({
      +                keepAliveUrl: 'keep-alive.html',
      +                logoutUrl: 'login.html',
      +                redirUrl: 'locked.html',
      +                warnAfter: 3000,
      +                redirAfter: 10000,
      +                countdownMessage: 'Redirecting in {timer} seconds.'
      +            });
      +        
      + + Back to Demo Index + +
      + + + + + + + + diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/examples/custom-callback.html b/resources/assets/core/plugins/bootstrap-session-timeout/examples/custom-callback.html new file mode 100644 index 0000000..ac81f85 --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/examples/custom-callback.html @@ -0,0 +1,71 @@ + + + + + Bootstrap-session-timeout - Countdown Timer + + + + + +
      +

      Bootstrap-session-timeout

      +

      Custom Callback

      +
      +

      Shows an example of using custom callback functions for warning and redirect.

      +
      +

      Session Status:

      + + +
      + + +
      +            $.sessionTimeout({
      +                keepAliveUrl: 'keep-alive.html',
      +                logoutUrl: 'login.html',
      +                warnAfter: 3000,
      +                redirAfter: 20000,
      +                onStart: function () {
      +                    $('.jumbotron').css('background', '#398439').find('p').addClass('hidden');
      +                    $('#fine').removeClass('hidden')
      +                },
      +                onWarn: function () {
      +                    $('.jumbotron').css('background', '#b92c28').find('p').addClass('hidden');
      +                    $('#warn').removeClass('hidden')
      +                },
      +                onRedir: function (opt) {
      +                    window.location = opt.logoutUrl;
      +                }
      +            });
      +        
      + + Back to Demo Index + +
      + + + + + + + + diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/examples/keep-alive.html b/resources/assets/core/plugins/bootstrap-session-timeout/examples/keep-alive.html new file mode 100644 index 0000000..8c1a3bc --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/examples/keep-alive.html @@ -0,0 +1,19 @@ + + + + + Bootstrap-session-timeout - Basic Usage + + + + + +
      +

      Bootstrap-session-timeout

      +

      Dummy keep alive URL

      +
      +

      This would be your server-side URL to refresh user session.

      +
      + + + diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/examples/locked.html b/resources/assets/core/plugins/bootstrap-session-timeout/examples/locked.html new file mode 100644 index 0000000..544ebbb --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/examples/locked.html @@ -0,0 +1,27 @@ + + + + + Bootstrap-session-timeout - Logged Out + + + + + +
      +

      Bootstrap-session-timeout

      +

      Logged Out

      +
      +

      You have been redirected to a logout URL.

      + + + +
      + + + + diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/examples/login.html b/resources/assets/core/plugins/bootstrap-session-timeout/examples/login.html new file mode 100644 index 0000000..721afdb --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/examples/login.html @@ -0,0 +1,27 @@ + + + + + Bootstrap-session-timeout - Login Page + + + + + +
      +

      Bootstrap-session-timeout

      +

      Login

      +
      +

      This would be your login page.

      + + + +
      + + + + diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/index.html b/resources/assets/core/plugins/bootstrap-session-timeout/index.html new file mode 100644 index 0000000..0886b6d --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/index.html @@ -0,0 +1,25 @@ + + + + + Bootstrap-session-timeout - Basic Usage + + + + + +
      +

      Bootstrap-session-timeout demo

      +
      + Basic Demo +
      + Countdown Message Demo +
      + Countdown Bar Demo +
      + Custom Callback Demo +
      +
      + + + diff --git a/resources/assets/core/plugins/bootstrap-session-timeout/package.json b/resources/assets/core/plugins/bootstrap-session-timeout/package.json new file mode 100644 index 0000000..cdc2c52 --- /dev/null +++ b/resources/assets/core/plugins/bootstrap-session-timeout/package.json @@ -0,0 +1,40 @@ +{ + "name": "bootstrap-session-timeout", + "version": "1.0.3", + "main": "dist/bootstrap-session-timeout.js", + "description": "Session timeout and keep-alive control with a nice Bootstrap warning dialog.", + "homepage": "https://github.com/orangehill/bootstrap-session-timeout", + "bugs": "https://github.com/orangehill/bootstrap-session-timeout/issues", + "author": "Vedran Opacic, vedran.opacic@orangehilldev.com", + "repository": { + "type": "git", + "url": "https://github.com/orangehill/bootstrap-session-timeout" + }, + "licenses": [ + { + "type": "MIT" + } + ], + "keywords": [ + "timeout", + "time-out", + "keepalive", + "keep-alive", + "session", + "bootstrap", + "bootstrap 3", + "jquery", + "javascript", + "dialog" + ], + "devDependencies": { + "bower": "^1.3.5", + "grunt-contrib-connect": "*", + "grunt-contrib-jshint": "~0.7.0", + "grunt-contrib-uglify": "~0.3.1", + "grunt-contrib-watch": "~0.5.0", + "jshint-stylish": "~0.1.3", + "load-grunt-tasks": "~0.2.0", + "time-grunt": "~0.2.0" + } +} diff --git a/resources/assets/core/plugins/custom/cookiealert/cookiealert.js b/resources/assets/core/plugins/custom/cookiealert/cookiealert.js new file mode 100644 index 0000000..c5471ac --- /dev/null +++ b/resources/assets/core/plugins/custom/cookiealert/cookiealert.js @@ -0,0 +1,3 @@ +// Cookiealert - A simple, good looking cookie alert for Bootstrap: https://github.com/Wruczek/Bootstrap-Cookie-Alert + +require('bootstrap-cookie-alert/cookiealert.js'); diff --git a/resources/assets/core/plugins/custom/cookiealert/cookiealert.scss b/resources/assets/core/plugins/custom/cookiealert/cookiealert.scss new file mode 100644 index 0000000..ba96d83 --- /dev/null +++ b/resources/assets/core/plugins/custom/cookiealert/cookiealert.scss @@ -0,0 +1,3 @@ +// Cookiealert - A simple, good looking cookie alert for Bootstrap: https://github.com/Wruczek/Bootstrap-Cookie-Alert + +@import '~bootstrap-cookie-alert/cookiealert.css'; diff --git a/resources/assets/core/plugins/custom/cropper/cropper.js b/resources/assets/core/plugins/custom/cropper/cropper.js new file mode 100644 index 0000000..90a87cc --- /dev/null +++ b/resources/assets/core/plugins/custom/cropper/cropper.js @@ -0,0 +1,3 @@ +// Cropper - A simple jQuery image cropping plugin: https://fengyuanchen.github.io/cropper/ + +window.Cropper = require('cropperjs/dist/cropper.js'); diff --git a/resources/assets/core/plugins/custom/cropper/cropper.scss b/resources/assets/core/plugins/custom/cropper/cropper.scss new file mode 100644 index 0000000..62d46bd --- /dev/null +++ b/resources/assets/core/plugins/custom/cropper/cropper.scss @@ -0,0 +1,3 @@ +// Cropper - A simple jQuery image cropping plugin: https://fengyuanchen.github.io/cropper/ + +@import '~cropperjs/dist/cropper.css'; diff --git a/resources/assets/core/plugins/custom/datatables/datatables.js.json b/resources/assets/core/plugins/custom/datatables/datatables.js.json new file mode 100644 index 0000000..f39b0fa --- /dev/null +++ b/resources/assets/core/plugins/custom/datatables/datatables.js.json @@ -0,0 +1,31 @@ +[ + "node_modules/datatables.net/js/jquery.dataTables.js", + "node_modules/datatables.net-bs5/js/dataTables.bootstrap5.js", + "node_modules/jszip/dist/jszip.min.js", + "node_modules/pdfmake/build/pdfmake.min.js", + "node_modules/pdfmake/build/vfs_fonts.js", + "node_modules/datatables.net-buttons/js/dataTables.buttons.min.js", + "node_modules/datatables.net-buttons-bs5/js/buttons.bootstrap5.min.js", + "node_modules/datatables.net-buttons/js/buttons.colVis.js", + "node_modules/datatables.net-buttons/js/buttons.flash.js", + "node_modules/datatables.net-buttons/js/buttons.html5.js", + "node_modules/datatables.net-buttons/js/buttons.print.js", + "node_modules/datatables.net-colreorder/js/dataTables.colReorder.min.js", + "node_modules/datatables.net-colreorder-bs5/js/colReorder.bootstrap5.js", + "node_modules/datatables.net-fixedcolumns/js/dataTables.fixedColumns.min.js", + "node_modules/datatables.net-fixedcolumns-bs5/js/fixedColumns.bootstrap5.js", + "node_modules/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js", + "node_modules/datatables.net-fixedheader-bs5/js/fixedHeader.bootstrap5.js", + "node_modules/datatables.net-responsive/js/dataTables.responsive.min.js", + "node_modules/datatables.net-responsive-bs5/js/responsive.bootstrap5.min.js", + "node_modules/datatables.net-rowgroup/js/dataTables.rowGroup.min.js", + "node_modules/datatables.net-rowgroup-bs5/js/rowGroup.bootstrap5.js", + "node_modules/datatables.net-rowreorder/js/dataTables.rowReorder.min.js", + "node_modules/datatables.net-rowreorder-bs5/js/rowReorder.bootstrap5.js", + "node_modules/datatables.net-scroller/js/dataTables.scroller.min.js", + "node_modules/datatables.net-scroller-bs5/js/scroller.bootstrap5.js", + "node_modules/datatables.net-select/js/dataTables.select.min.js", + "node_modules/datatables.net-select-bs5/js/select.bootstrap5.js", + "node_modules/datatables.net-datetime/dist/dataTables.dateTime.min.js", + "resources/assets/extended/js/vendors/plugins/datatables.init.js" +] diff --git a/resources/assets/core/plugins/custom/datatables/datatables.scss b/resources/assets/core/plugins/custom/datatables/datatables.scss new file mode 100644 index 0000000..320828c --- /dev/null +++ b/resources/assets/core/plugins/custom/datatables/datatables.scss @@ -0,0 +1,10 @@ +@import "~datatables.net-bs5/css/dataTables.bootstrap5.css"; +@import "~datatables.net-buttons-bs5/css/buttons.bootstrap5.min.css"; +@import "~datatables.net-colreorder-bs5/css/colReorder.bootstrap5.min.css"; +@import "~datatables.net-fixedcolumns-bs5/css/fixedColumns.bootstrap5.min.css"; +@import "~datatables.net-fixedheader-bs5/css/fixedHeader.bootstrap5.min.css"; +@import "~datatables.net-responsive-bs5/css/responsive.bootstrap5.min.css"; +@import "~datatables.net-rowreorder-bs5/css/rowReorder.bootstrap5.min.css"; +@import "~datatables.net-scroller-bs5/css/scroller.bootstrap5.min.css"; +@import "~datatables.net-select-bs5/css/select.bootstrap5.min.css"; +@import "~datatables.net-datetime/dist/dataTables.dateTime.min.css"; diff --git a/resources/assets/core/plugins/custom/draggable/draggable.js b/resources/assets/core/plugins/custom/draggable/draggable.js new file mode 100644 index 0000000..56f74e0 --- /dev/null +++ b/resources/assets/core/plugins/custom/draggable/draggable.js @@ -0,0 +1,13 @@ +// Draggable - a lightweight, responsive, modern drag & drop library: https://shopify.github.io/draggable/ + +require('@shopify/draggable/lib/draggable.bundle.js'); +require('@shopify/draggable/lib/draggable.bundle.legacy.js'); +require('@shopify/draggable/lib/draggable.js'); +window.Sortable = require('@shopify/draggable/lib/sortable.js'); +window.Droppable = require('@shopify/draggable/lib/droppable.js'); +window.Swappable = require('@shopify/draggable/lib/swappable.js'); +require('@shopify/draggable/lib/plugins.js'); +require('@shopify/draggable/lib/plugins/collidable.js'); +require('@shopify/draggable/lib/plugins/resize-mirror.js'); +require('@shopify/draggable/lib/plugins/snappable.js'); +require('@shopify/draggable/lib/plugins/swap-animation.js'); diff --git a/resources/assets/core/plugins/custom/flatpickr/flatpickr.js.json b/resources/assets/core/plugins/custom/flatpickr/flatpickr.js.json new file mode 100644 index 0000000..a1ed5b1 --- /dev/null +++ b/resources/assets/core/plugins/custom/flatpickr/flatpickr.js.json @@ -0,0 +1,4 @@ +[ + "node_modules/flatpickr/dist/flatpickr.js", + "resources/assets/core/js/vendors/plugins/flatpickr.init.js" +] diff --git a/resources/assets/core/plugins/custom/flatpickr/flatpickr.scss b/resources/assets/core/plugins/custom/flatpickr/flatpickr.scss new file mode 100644 index 0000000..109584f --- /dev/null +++ b/resources/assets/core/plugins/custom/flatpickr/flatpickr.scss @@ -0,0 +1 @@ +@import '~flatpickr/dist/flatpickr.css'; diff --git a/resources/assets/core/plugins/custom/flotcharts/flotcharts.js b/resources/assets/core/plugins/custom/flotcharts/flotcharts.js new file mode 100644 index 0000000..d547a9d --- /dev/null +++ b/resources/assets/core/plugins/custom/flotcharts/flotcharts.js @@ -0,0 +1,9 @@ +// Flot- Flot is a pure JavaScript plotting library for jQuery, with a focus on simple usage, attractive looks and interactive features: https://www.flotcharts.org/ + +require('flot/dist/es5/jquery.flot.js'); +require('flot/source/jquery.flot.resize.js'); +require('flot/source/jquery.flot.categories.js'); +require('flot/source/jquery.flot.pie.js'); +require('flot/source/jquery.flot.stack.js'); +require('flot/source/jquery.flot.crosshair.js'); +require('flot/source/jquery.flot.axislabels.js'); diff --git a/resources/assets/core/plugins/custom/formrepeater/formrepeater.js.json b/resources/assets/core/plugins/custom/formrepeater/formrepeater.js.json new file mode 100644 index 0000000..75066ab --- /dev/null +++ b/resources/assets/core/plugins/custom/formrepeater/formrepeater.js.json @@ -0,0 +1,3 @@ +[ + "node_modules/jquery.repeater/jquery.repeater.js" +] diff --git a/resources/assets/core/plugins/custom/fslightbox/fslightbox.js b/resources/assets/core/plugins/custom/fslightbox/fslightbox.js new file mode 100644 index 0000000..b181bd3 --- /dev/null +++ b/resources/assets/core/plugins/custom/fslightbox/fslightbox.js @@ -0,0 +1,2 @@ +// Fullscreen Lightbox - stylish lightbox without jQuery!: https://fslightbox.com/javascript/documentation/installation#package-manager +require('fslightbox'); \ No newline at end of file diff --git a/resources/assets/core/plugins/custom/fullcalendar/fullcalendar.js.json b/resources/assets/core/plugins/custom/fullcalendar/fullcalendar.js.json new file mode 100644 index 0000000..8f4083e --- /dev/null +++ b/resources/assets/core/plugins/custom/fullcalendar/fullcalendar.js.json @@ -0,0 +1,4 @@ +[ + "node_modules/fullcalendar/main.js", + "node_modules/fullcalendar/locales-all.min.js" +] diff --git a/resources/assets/core/plugins/custom/fullcalendar/fullcalendar.scss b/resources/assets/core/plugins/custom/fullcalendar/fullcalendar.scss new file mode 100644 index 0000000..b83e999 --- /dev/null +++ b/resources/assets/core/plugins/custom/fullcalendar/fullcalendar.scss @@ -0,0 +1 @@ +@import "~fullcalendar/main.min.css"; diff --git a/resources/assets/core/plugins/custom/jkanban/jkanban.js b/resources/assets/core/plugins/custom/jkanban/jkanban.js new file mode 100644 index 0000000..79706ba --- /dev/null +++ b/resources/assets/core/plugins/custom/jkanban/jkanban.js @@ -0,0 +1,3 @@ +// jKanban Board - Vanilla Javascript plugin for manage kanban boards: https://github.com/riktar/jkanban + +require('jkanban/dist/jkanban.js'); diff --git a/resources/assets/core/plugins/custom/jkanban/jkanban.scss b/resources/assets/core/plugins/custom/jkanban/jkanban.scss new file mode 100644 index 0000000..574c967 --- /dev/null +++ b/resources/assets/core/plugins/custom/jkanban/jkanban.scss @@ -0,0 +1,3 @@ +// jKanban Board - Vanilla Javascript plugin for manage kanban boards: https://github.com/riktar/jkanban + +@import '~jkanban/dist/jkanban.min.css'; diff --git a/resources/assets/core/plugins/custom/jstree/jstree.js b/resources/assets/core/plugins/custom/jstree/jstree.js new file mode 100644 index 0000000..f1e410f --- /dev/null +++ b/resources/assets/core/plugins/custom/jstree/jstree.js @@ -0,0 +1,4 @@ +require('bootstrap/js/dist/tooltip'); + +// jsTree - is jquery plugin, that provides interactive trees: https://www.jstree.com/ +require('jstree/dist/jstree.js'); diff --git a/resources/assets/core/plugins/custom/jstree/jstree.scss b/resources/assets/core/plugins/custom/jstree/jstree.scss new file mode 100644 index 0000000..abab097 --- /dev/null +++ b/resources/assets/core/plugins/custom/jstree/jstree.scss @@ -0,0 +1,3 @@ +// jsTree - is jquery plugin, that provides interactive trees: https://www.jstree.com/ + +@import '~jstree/dist/themes/default/style.css'; diff --git a/resources/assets/core/plugins/custom/prismjs/prismjs.js b/resources/assets/core/plugins/custom/prismjs/prismjs.js new file mode 100644 index 0000000..bc8fed4 --- /dev/null +++ b/resources/assets/core/plugins/custom/prismjs/prismjs.js @@ -0,0 +1,13 @@ +// Prism - is a lightweight, extensible syntax highlighter, built with modern web standards in mind: https://prismjs.com/ + +window.Prism = require("prismjs/prism.js"); +require("prismjs/components/prism-markup.js"); +require("prismjs/components/prism-markup-templating.js"); +require("prismjs/components/prism-bash.js"); +require("prismjs/components/prism-javascript.js"); +require("prismjs/components/prism-scss.js"); +require("prismjs/components/prism-css.js"); +require("prismjs/components/prism-php.js"); +require("prismjs/components/prism-bash.js"); +require("prismjs/plugins/normalize-whitespace/prism-normalize-whitespace.js"); +require("../../../../core/js/vendors/plugins/prism.init.js"); diff --git a/resources/assets/core/plugins/custom/prismjs/prismjs.scss b/resources/assets/core/plugins/custom/prismjs/prismjs.scss new file mode 100644 index 0000000..8e7661f --- /dev/null +++ b/resources/assets/core/plugins/custom/prismjs/prismjs.scss @@ -0,0 +1,3 @@ +// Prism - is a lightweight, extensible syntax highlighter, built with modern web standards in mind: https://prismjs.com/ + +@import '~prism-themes/themes/prism-shades-of-purple.css'; diff --git a/resources/assets/core/plugins/custom/tiny-slider/tiny-slider.js b/resources/assets/core/plugins/custom/tiny-slider/tiny-slider.js new file mode 100644 index 0000000..88d7de3 --- /dev/null +++ b/resources/assets/core/plugins/custom/tiny-slider/tiny-slider.js @@ -0,0 +1,3 @@ +// Tiny slider - for all purposes, inspired by Owl Carousel. + +window.tns = require('tiny-slider/src/tiny-slider.js').tns; diff --git a/resources/assets/core/plugins/custom/tiny-slider/tiny-slider.scss b/resources/assets/core/plugins/custom/tiny-slider/tiny-slider.scss new file mode 100644 index 0000000..0bceefd --- /dev/null +++ b/resources/assets/core/plugins/custom/tiny-slider/tiny-slider.scss @@ -0,0 +1,3 @@ +// Tiny slider - for all purposes, inspired by Owl Carousel. + +@import '~tiny-slider/dist/tiny-slider.css'; diff --git a/resources/assets/core/plugins/custom/typedjs/typedjs.js b/resources/assets/core/plugins/custom/typedjs/typedjs.js new file mode 100644 index 0000000..cd94086 --- /dev/null +++ b/resources/assets/core/plugins/custom/typedjs/typedjs.js @@ -0,0 +1,3 @@ +// Typed.js is a library that types. Enter in any string, and watch it type at the speed you've set, backspace what it's typed, and begin a new sentence for however many strings you've set. + +window.Typed = require('typed.js/lib/typed.js'); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/HOW-TO-USE.txt b/resources/assets/core/plugins/formvalidation/HOW-TO-USE.txt new file mode 100644 index 0000000..9f32bd9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/HOW-TO-USE.txt @@ -0,0 +1 @@ +Please take a look at the official website (https://formvalidation.io/guide/getting-started) to see how to use the FormValidation library. \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/LICENSE.txt b/resources/assets/core/plugins/formvalidation/LICENSE.txt new file mode 100644 index 0000000..e30f6e4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/LICENSE.txt @@ -0,0 +1,54 @@ +FormValidation License +--- + +For more information about the license, see http://formvalidation.io/license/ + +## FormValidation commercial license agreement + +This Commercial License Agreement is a binding legal agreement between you and Nguyen Huu Phuoc. +By installing, copying, or using FormValidation (the Software), you agree to be bound +by these terms of this Agreement. + +### Grant of license + +Subject to the payment of the fee required and the conditions herein, you are hereby granted +a non-exclusive, non-transferable right to use FormValidation (the Software) to design +and develop commercial applications (Applications). + +### Developer grant + +The FormValidation Commercial Developer License grants one license for you as one designated +user (Developer) to use the Software for developing Applications. A Developer is an individual +who implements the Software into Applications, most often writing the necessary code to do so. +You must purchase another separate license to the Software for each and any additional Developer, +or purchase a FormValidation Commercial Organization License to cover your entire organization. + +### Organization grant + +The FormValidation Commercial Organization License grants one license for your Organization +as one designated, collective user (Organization) to use the Software for developing Applications. +There is no limit or restriction of the number of Developers within your Organization who +may develop Applications using the Software. + +### Usage + +You are granted the right to use and to modify the source code of the Software for use in +Applications. There is no limit or restriction of the number of Applications which use the +Software. You own any original work authored by you. Nguyen Huu Phuoc continues to retain +all copyright and other intellectual property rights in the Software. You are not permitted +to move, remove, edit, or obscure any copyright, trademark, attribution, warning or disclaimer +notices in the Software. + +You may use the Software only to create Applications that are significantly different than +and do not compete with the Software. You are granted the license to distribute the Software +as part of your Applications on a royalty-free basis. Users of your Applications are permitted +to use the Software or your modifications of the Software as part of your Applications. +Users do not need to purchase their own commercial license for the Software, so long as they +are not acting as Developers, developing their own commercial Applications with the Software. + +### Warranties and remedies + +The Software is provided "as is", without warranty of any kind, express or implied, including +but not limited to the warranties of merchantability, fitness for a particular purpose and +non-infringement. Nguyen Huu Phuoc's entire liability and your exclusive remedy under this +agreement shall be return of the price paid for the Software. \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/index.js b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/index.js new file mode 100644 index 0000000..a57d07a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/index.js @@ -0,0 +1,10 @@ +define(["require", "exports", "./luhn", "./mod11And10", "./mod37And36", "./verhoeff"], function (require, exports, luhn_1, mod11And10_1, mod37And36_1, verhoeff_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + luhn: luhn_1.default, + mod11And10: mod11And10_1.default, + mod37And36: mod37And36_1.default, + verhoeff: verhoeff_1.default, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/luhn.js b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/luhn.js new file mode 100644 index 0000000..08350cf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/luhn.js @@ -0,0 +1,19 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function luhn(value) { + var length = value.length; + var prodArr = [ + [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], + [0, 2, 4, 6, 8, 1, 3, 5, 7, 9], + ]; + var mul = 0; + var sum = 0; + while (length--) { + sum += prodArr[mul][parseInt(value.charAt(length), 10)]; + mul = 1 - mul; + } + return sum % 10 === 0 && sum > 0; + } + exports.default = luhn; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/mod11And10.js b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/mod11And10.js new file mode 100644 index 0000000..5a135ed --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/mod11And10.js @@ -0,0 +1,13 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function mod11And10(value) { + var length = value.length; + var check = 5; + for (var i = 0; i < length; i++) { + check = ((((check || 10) * 2) % 11) + parseInt(value.charAt(i), 10)) % 10; + } + return check === 1; + } + exports.default = mod11And10; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/mod37And36.js b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/mod37And36.js new file mode 100644 index 0000000..7fc7b83 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/mod37And36.js @@ -0,0 +1,15 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function mod37And36(value, alphabet) { + if (alphabet === void 0) { alphabet = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'; } + var length = value.length; + var modulus = alphabet.length; + var check = Math.floor(modulus / 2); + for (var i = 0; i < length; i++) { + check = ((((check || modulus) * 2) % (modulus + 1)) + alphabet.indexOf(value.charAt(i))) % modulus; + } + return check === 1; + } + exports.default = mod37And36; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/mod97And10.js b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/mod97And10.js new file mode 100644 index 0000000..fda3084 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/mod97And10.js @@ -0,0 +1,29 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function transform(input) { + return input + .split('') + .map(function (c) { + var code = c.charCodeAt(0); + return code >= 65 && code <= 90 + ? + code - 55 + : c; + }) + .join('') + .split('') + .map(function (c) { return parseInt(c, 10); }); + } + function mod97And10(input) { + var digits = transform(input); + var temp = 0; + var length = digits.length; + for (var i = 0; i < length - 1; ++i) { + temp = ((temp + digits[i]) * 10) % 97; + } + temp += digits[length - 1]; + return temp % 97 === 1; + } + exports.default = mod97And10; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/verhoeff.js b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/verhoeff.js new file mode 100644 index 0000000..103ab2a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/algorithms/verhoeff.js @@ -0,0 +1,35 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function verhoeff(value) { + var d = [ + [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], + [1, 2, 3, 4, 0, 6, 7, 8, 9, 5], + [2, 3, 4, 0, 1, 7, 8, 9, 5, 6], + [3, 4, 0, 1, 2, 8, 9, 5, 6, 7], + [4, 0, 1, 2, 3, 9, 5, 6, 7, 8], + [5, 9, 8, 7, 6, 0, 4, 3, 2, 1], + [6, 5, 9, 8, 7, 1, 0, 4, 3, 2], + [7, 6, 5, 9, 8, 2, 1, 0, 4, 3], + [8, 7, 6, 5, 9, 3, 2, 1, 0, 4], + [9, 8, 7, 6, 5, 4, 3, 2, 1, 0], + ]; + var p = [ + [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], + [1, 5, 7, 6, 2, 8, 3, 0, 9, 4], + [5, 8, 0, 3, 7, 9, 6, 1, 4, 2], + [8, 9, 1, 6, 0, 4, 3, 5, 2, 7], + [9, 4, 5, 3, 1, 2, 6, 8, 7, 0], + [4, 2, 8, 6, 5, 7, 3, 9, 0, 1], + [2, 7, 9, 3, 8, 0, 6, 4, 1, 5], + [7, 0, 4, 6, 9, 1, 3, 2, 5, 8], + ]; + var invertedArray = value.reverse(); + var c = 0; + for (var i = 0; i < invertedArray.length; i++) { + c = d[c][p[i % 8][invertedArray[i]]]; + } + return c === 0; + } + exports.default = verhoeff; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/core/Core.js b/resources/assets/core/plugins/formvalidation/dist/amd/core/Core.js new file mode 100644 index 0000000..df40e48 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/core/Core.js @@ -0,0 +1,540 @@ +var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); +}; +define(["require", "exports", "./emitter", "./filter", "../filters/getFieldValue", "../validators/index"], function (require, exports, emitter_1, filter_1, getFieldValue_1, index_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.Core = void 0; + var Core = (function () { + function Core(form, fields) { + this.elements = {}; + this.ee = (0, emitter_1.default)(); + this.filter = (0, filter_1.default)(); + this.plugins = {}; + this.results = new Map(); + this.validators = {}; + this.form = form; + this.fields = fields; + } + Core.prototype.on = function (event, func) { + this.ee.on(event, func); + return this; + }; + Core.prototype.off = function (event, func) { + this.ee.off(event, func); + return this; + }; + Core.prototype.emit = function (event) { + var _a; + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + (_a = this.ee).emit.apply(_a, __spreadArray([event], args, false)); + return this; + }; + Core.prototype.registerPlugin = function (name, plugin) { + if (this.plugins[name]) { + throw new Error("The plguin " + name + " is registered"); + } + plugin.setCore(this); + plugin.install(); + this.plugins[name] = plugin; + return this; + }; + Core.prototype.deregisterPlugin = function (name) { + var plugin = this.plugins[name]; + if (plugin) { + plugin.uninstall(); + } + delete this.plugins[name]; + return this; + }; + Core.prototype.registerValidator = function (name, func) { + if (this.validators[name]) { + throw new Error("The validator " + name + " is registered"); + } + this.validators[name] = func; + return this; + }; + Core.prototype.registerFilter = function (name, func) { + this.filter.add(name, func); + return this; + }; + Core.prototype.deregisterFilter = function (name, func) { + this.filter.remove(name, func); + return this; + }; + Core.prototype.executeFilter = function (name, defaultValue, args) { + return this.filter.execute(name, defaultValue, args); + }; + Core.prototype.addField = function (field, options) { + var opts = Object.assign({}, { + selector: '', + validators: {}, + }, options); + this.fields[field] = this.fields[field] + ? { + selector: opts.selector || this.fields[field].selector, + validators: Object.assign({}, this.fields[field].validators, opts.validators), + } + : opts; + this.elements[field] = this.queryElements(field); + this.emit('core.field.added', { + elements: this.elements[field], + field: field, + options: this.fields[field], + }); + return this; + }; + Core.prototype.removeField = function (field) { + if (!this.fields[field]) { + throw new Error("The field " + field + " validators are not defined. Please ensure the field is added first"); + } + var elements = this.elements[field]; + var options = this.fields[field]; + delete this.elements[field]; + delete this.fields[field]; + this.emit('core.field.removed', { + elements: elements, + field: field, + options: options, + }); + return this; + }; + Core.prototype.validate = function () { + var _this = this; + this.emit('core.form.validating', { + formValidation: this, + }); + return this.filter.execute('validate-pre', Promise.resolve(), []).then(function () { + return Promise.all(Object.keys(_this.fields).map(function (field) { return _this.validateField(field); })).then(function (results) { + switch (true) { + case results.indexOf('Invalid') !== -1: + _this.emit('core.form.invalid', { + formValidation: _this, + }); + return Promise.resolve('Invalid'); + case results.indexOf('NotValidated') !== -1: + _this.emit('core.form.notvalidated', { + formValidation: _this, + }); + return Promise.resolve('NotValidated'); + default: + _this.emit('core.form.valid', { + formValidation: _this, + }); + return Promise.resolve('Valid'); + } + }); + }); + }; + Core.prototype.validateField = function (field) { + var _this = this; + var result = this.results.get(field); + if (result === 'Valid' || result === 'Invalid') { + return Promise.resolve(result); + } + this.emit('core.field.validating', field); + var elements = this.elements[field]; + if (elements.length === 0) { + this.emit('core.field.valid', field); + return Promise.resolve('Valid'); + } + var type = elements[0].getAttribute('type'); + if ('radio' === type || 'checkbox' === type || elements.length === 1) { + return this.validateElement(field, elements[0]); + } + else { + return Promise.all(elements.map(function (ele) { return _this.validateElement(field, ele); })).then(function (results) { + switch (true) { + case results.indexOf('Invalid') !== -1: + _this.emit('core.field.invalid', field); + _this.results.set(field, 'Invalid'); + return Promise.resolve('Invalid'); + case results.indexOf('NotValidated') !== -1: + _this.emit('core.field.notvalidated', field); + _this.results.delete(field); + return Promise.resolve('NotValidated'); + default: + _this.emit('core.field.valid', field); + _this.results.set(field, 'Valid'); + return Promise.resolve('Valid'); + } + }); + } + }; + Core.prototype.validateElement = function (field, ele) { + var _this = this; + this.results.delete(field); + var elements = this.elements[field]; + var ignored = this.filter.execute('element-ignored', false, [field, ele, elements]); + if (ignored) { + this.emit('core.element.ignored', { + element: ele, + elements: elements, + field: field, + }); + return Promise.resolve('Ignored'); + } + var validatorList = this.fields[field].validators; + this.emit('core.element.validating', { + element: ele, + elements: elements, + field: field, + }); + var promises = Object.keys(validatorList).map(function (v) { + return function () { return _this.executeValidator(field, ele, v, validatorList[v]); }; + }); + return this.waterfall(promises) + .then(function (results) { + var isValid = results.indexOf('Invalid') === -1; + _this.emit('core.element.validated', { + element: ele, + elements: elements, + field: field, + valid: isValid, + }); + var type = ele.getAttribute('type'); + if ('radio' === type || 'checkbox' === type || elements.length === 1) { + _this.emit(isValid ? 'core.field.valid' : 'core.field.invalid', field); + } + return Promise.resolve(isValid ? 'Valid' : 'Invalid'); + }) + .catch(function (reason) { + _this.emit('core.element.notvalidated', { + element: ele, + elements: elements, + field: field, + }); + return Promise.resolve(reason); + }); + }; + Core.prototype.executeValidator = function (field, ele, v, opts) { + var _this = this; + var elements = this.elements[field]; + var name = this.filter.execute('validator-name', v, [v, field]); + opts.message = this.filter.execute('validator-message', opts.message, [this.locale, field, name]); + if (!this.validators[name] || opts.enabled === false) { + this.emit('core.validator.validated', { + element: ele, + elements: elements, + field: field, + result: this.normalizeResult(field, name, { valid: true }), + validator: name, + }); + return Promise.resolve('Valid'); + } + var validator = this.validators[name]; + var value = this.getElementValue(field, ele, name); + var willValidate = this.filter.execute('field-should-validate', true, [field, ele, value, v]); + if (!willValidate) { + this.emit('core.validator.notvalidated', { + element: ele, + elements: elements, + field: field, + validator: v, + }); + return Promise.resolve('NotValidated'); + } + this.emit('core.validator.validating', { + element: ele, + elements: elements, + field: field, + validator: v, + }); + var result = validator().validate({ + element: ele, + elements: elements, + field: field, + l10n: this.localization, + options: opts, + value: value, + }); + var isPromise = 'function' === typeof result['then']; + if (isPromise) { + return result.then(function (r) { + var data = _this.normalizeResult(field, v, r); + _this.emit('core.validator.validated', { + element: ele, + elements: elements, + field: field, + result: data, + validator: v, + }); + return data.valid ? 'Valid' : 'Invalid'; + }); + } + else { + var data = this.normalizeResult(field, v, result); + this.emit('core.validator.validated', { + element: ele, + elements: elements, + field: field, + result: data, + validator: v, + }); + return Promise.resolve(data.valid ? 'Valid' : 'Invalid'); + } + }; + Core.prototype.getElementValue = function (field, ele, validator) { + var defaultValue = (0, getFieldValue_1.default)(this.form, field, ele, this.elements[field]); + return this.filter.execute('field-value', defaultValue, [defaultValue, field, ele, validator]); + }; + Core.prototype.getElements = function (field) { + return this.elements[field]; + }; + Core.prototype.getFields = function () { + return this.fields; + }; + Core.prototype.getFormElement = function () { + return this.form; + }; + Core.prototype.getLocale = function () { + return this.locale; + }; + Core.prototype.getPlugin = function (name) { + return this.plugins[name]; + }; + Core.prototype.updateFieldStatus = function (field, status, validator) { + var _this = this; + var elements = this.elements[field]; + var type = elements[0].getAttribute('type'); + var list = 'radio' === type || 'checkbox' === type ? [elements[0]] : elements; + list.forEach(function (ele) { return _this.updateElementStatus(field, ele, status, validator); }); + if (!validator) { + switch (status) { + case 'NotValidated': + this.emit('core.field.notvalidated', field); + this.results.delete(field); + break; + case 'Validating': + this.emit('core.field.validating', field); + this.results.delete(field); + break; + case 'Valid': + this.emit('core.field.valid', field); + this.results.set(field, 'Valid'); + break; + case 'Invalid': + this.emit('core.field.invalid', field); + this.results.set(field, 'Invalid'); + break; + } + } + return this; + }; + Core.prototype.updateElementStatus = function (field, ele, status, validator) { + var _this = this; + var elements = this.elements[field]; + var fieldValidators = this.fields[field].validators; + var validatorArr = validator ? [validator] : Object.keys(fieldValidators); + switch (status) { + case 'NotValidated': + validatorArr.forEach(function (v) { + return _this.emit('core.validator.notvalidated', { + element: ele, + elements: elements, + field: field, + validator: v, + }); + }); + this.emit('core.element.notvalidated', { + element: ele, + elements: elements, + field: field, + }); + break; + case 'Validating': + validatorArr.forEach(function (v) { + return _this.emit('core.validator.validating', { + element: ele, + elements: elements, + field: field, + validator: v, + }); + }); + this.emit('core.element.validating', { + element: ele, + elements: elements, + field: field, + }); + break; + case 'Valid': + validatorArr.forEach(function (v) { + return _this.emit('core.validator.validated', { + element: ele, + elements: elements, + field: field, + result: { + message: fieldValidators[v].message, + valid: true, + }, + validator: v, + }); + }); + this.emit('core.element.validated', { + element: ele, + elements: elements, + field: field, + valid: true, + }); + break; + case 'Invalid': + validatorArr.forEach(function (v) { + return _this.emit('core.validator.validated', { + element: ele, + elements: elements, + field: field, + result: { + message: fieldValidators[v].message, + valid: false, + }, + validator: v, + }); + }); + this.emit('core.element.validated', { + element: ele, + elements: elements, + field: field, + valid: false, + }); + break; + } + return this; + }; + Core.prototype.resetForm = function (reset) { + var _this = this; + Object.keys(this.fields).forEach(function (field) { return _this.resetField(field, reset); }); + this.emit('core.form.reset', { + formValidation: this, + reset: reset, + }); + return this; + }; + Core.prototype.resetField = function (field, reset) { + if (reset) { + var elements = this.elements[field]; + var type_1 = elements[0].getAttribute('type'); + elements.forEach(function (ele) { + if ('radio' === type_1 || 'checkbox' === type_1) { + ele.removeAttribute('selected'); + ele.removeAttribute('checked'); + ele.checked = false; + } + else { + ele.setAttribute('value', ''); + if (ele instanceof HTMLInputElement || ele instanceof HTMLTextAreaElement) { + ele.value = ''; + } + } + }); + } + this.updateFieldStatus(field, 'NotValidated'); + this.emit('core.field.reset', { + field: field, + reset: reset, + }); + return this; + }; + Core.prototype.revalidateField = function (field) { + this.updateFieldStatus(field, 'NotValidated'); + return this.validateField(field); + }; + Core.prototype.disableValidator = function (field, validator) { + return this.toggleValidator(false, field, validator); + }; + Core.prototype.enableValidator = function (field, validator) { + return this.toggleValidator(true, field, validator); + }; + Core.prototype.updateValidatorOption = function (field, validator, name, value) { + if (this.fields[field] && this.fields[field].validators && this.fields[field].validators[validator]) { + this.fields[field].validators[validator][name] = value; + } + return this; + }; + Core.prototype.setFieldOptions = function (field, options) { + this.fields[field] = options; + return this; + }; + Core.prototype.destroy = function () { + var _this = this; + Object.keys(this.plugins).forEach(function (id) { return _this.plugins[id].uninstall(); }); + this.ee.clear(); + this.filter.clear(); + this.results.clear(); + this.plugins = {}; + return this; + }; + Core.prototype.setLocale = function (locale, localization) { + this.locale = locale; + this.localization = localization; + return this; + }; + Core.prototype.waterfall = function (promises) { + return promises.reduce(function (p, c) { + return p.then(function (res) { + return c().then(function (result) { + res.push(result); + return res; + }); + }); + }, Promise.resolve([])); + }; + Core.prototype.queryElements = function (field) { + var selector = this.fields[field].selector + ? + '#' === this.fields[field].selector.charAt(0) + ? "[id=\"" + this.fields[field].selector.substring(1) + "\"]" + : this.fields[field].selector + : "[name=\"" + field + "\"]"; + return [].slice.call(this.form.querySelectorAll(selector)); + }; + Core.prototype.normalizeResult = function (field, validator, result) { + var opts = this.fields[field].validators[validator]; + return Object.assign({}, result, { + message: result.message || + (opts ? opts.message : '') || + (this.localization && this.localization[validator] && this.localization[validator].default + ? this.localization[validator].default + : '') || + "The field " + field + " is not valid", + }); + }; + Core.prototype.toggleValidator = function (enabled, field, validator) { + var _this = this; + var validatorArr = this.fields[field].validators; + if (validator && validatorArr && validatorArr[validator]) { + this.fields[field].validators[validator].enabled = enabled; + } + else if (!validator) { + Object.keys(validatorArr).forEach(function (v) { return (_this.fields[field].validators[v].enabled = enabled); }); + } + return this.updateFieldStatus(field, 'NotValidated', validator); + }; + return Core; + }()); + exports.Core = Core; + function formValidation(form, options) { + var opts = Object.assign({}, { + fields: {}, + locale: 'en_US', + plugins: {}, + init: function (_) { }, + }, options); + var core = new Core(form, opts.fields); + core.setLocale(opts.locale, opts.localization); + Object.keys(opts.plugins).forEach(function (name) { return core.registerPlugin(name, opts.plugins[name]); }); + Object.keys(index_1.default).forEach(function (name) { return core.registerValidator(name, index_1.default[name]); }); + opts.init(core); + Object.keys(opts.fields).forEach(function (field) { return core.addField(field, opts.fields[field]); }); + return core; + } + exports.default = formValidation; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/core/Plugin.js b/resources/assets/core/plugins/formvalidation/dist/amd/core/Plugin.js new file mode 100644 index 0000000..1ca4871 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/core/Plugin.js @@ -0,0 +1,17 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Plugin = (function () { + function Plugin(opts) { + this.opts = opts; + } + Plugin.prototype.setCore = function (core) { + this.core = core; + return this; + }; + Plugin.prototype.install = function () { }; + Plugin.prototype.uninstall = function () { }; + return Plugin; + }()); + exports.default = Plugin; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/core/emitter.js b/resources/assets/core/plugins/formvalidation/dist/amd/core/emitter.js new file mode 100644 index 0000000..9b1e450 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/core/emitter.js @@ -0,0 +1,31 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function emitter() { + return { + fns: {}, + clear: function () { + this.fns = {}; + }, + emit: function (event) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + (this.fns[event] || []).map(function (handler) { return handler.apply(handler, args); }); + }, + off: function (event, func) { + if (this.fns[event]) { + var index = this.fns[event].indexOf(func); + if (index >= 0) { + this.fns[event].splice(index, 1); + } + } + }, + on: function (event, func) { + (this.fns[event] = this.fns[event] || []).push(func); + }, + }; + } + exports.default = emitter; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/core/filter.js b/resources/assets/core/plugins/formvalidation/dist/amd/core/filter.js new file mode 100644 index 0000000..0b18065 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/core/filter.js @@ -0,0 +1,33 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function filter() { + return { + filters: {}, + add: function (name, func) { + (this.filters[name] = this.filters[name] || []).push(func); + }, + clear: function () { + this.filters = {}; + }, + execute: function (name, defaultValue, args) { + if (!this.filters[name] || !this.filters[name].length) { + return defaultValue; + } + var result = defaultValue; + var filters = this.filters[name]; + var count = filters.length; + for (var i = 0; i < count; i++) { + result = filters[i].apply(result, args); + } + return result; + }, + remove: function (name, func) { + if (this.filters[name]) { + this.filters[name] = this.filters[name].filter(function (f) { return f !== func; }); + } + }, + }; + } + exports.default = filter; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/core/index.js b/resources/assets/core/plugins/formvalidation/dist/amd/core/index.js new file mode 100644 index 0000000..8969244 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/core/index.js @@ -0,0 +1,7 @@ +define(["require", "exports", "./Core", "./Plugin"], function (require, exports, Core_1, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.Plugin = void 0; + exports.Plugin = Plugin_1.default; + exports.default = Core_1.default; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/filters/getFieldValue.js b/resources/assets/core/plugins/formvalidation/dist/amd/filters/getFieldValue.js new file mode 100644 index 0000000..41a9db1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/filters/getFieldValue.js @@ -0,0 +1,27 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function getFieldValue(form, field, element, elements) { + var type = (element.getAttribute('type') || '').toLowerCase(); + var tagName = element.tagName.toLowerCase(); + if (tagName === 'textarea') { + return element.value; + } + if (tagName === 'select') { + var select = element; + var index = select.selectedIndex; + return index >= 0 ? select.options.item(index).value : ''; + } + if (tagName === 'input') { + if ('radio' === type || 'checkbox' === type) { + var checked = elements.filter(function (ele) { return ele.checked; }).length; + return checked === 0 ? '' : checked + ''; + } + else { + return element.value; + } + } + return ''; + } + exports.default = getFieldValue; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/filters/index.js b/resources/assets/core/plugins/formvalidation/dist/amd/filters/index.js new file mode 100644 index 0000000..cf9ad7b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/filters/index.js @@ -0,0 +1,7 @@ +define(["require", "exports", "./getFieldValue"], function (require, exports, getFieldValue_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + getFieldValue: getFieldValue_1.default, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/index.js b/resources/assets/core/plugins/formvalidation/dist/amd/index.js new file mode 100644 index 0000000..7aa3f47 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/index.js @@ -0,0 +1,14 @@ +define(["require", "exports", "./algorithms/index", "./core/index", "./filters/index", "./plugins/index", "./utils/index", "./validators/index"], function (require, exports, index_1, index_2, index_3, index_4, index_5, index_6) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.Plugin = exports.validators = exports.utils = exports.plugins = exports.locales = exports.filters = exports.formValidation = exports.algorithms = void 0; + exports.algorithms = index_1.default; + exports.formValidation = index_2.default; + Object.defineProperty(exports, "Plugin", { enumerable: true, get: function () { return index_2.Plugin; } }); + exports.filters = index_3.default; + exports.plugins = index_4.default; + exports.utils = index_5.default; + exports.validators = index_6.default; + var locales = {}; + exports.locales = locales; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/ar_MA.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ar_MA.js new file mode 100644 index 0000000..2310267 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ar_MA.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'الرجاء إدخال قيمة مشفرة طبقا للقاعدة 64.', + }, + between: { + default: 'الرجاء إدخال قيمة بين %s و %s .', + notInclusive: 'الرجاء إدخال قيمة بين %s و %s بدقة.', + }, + bic: { + default: 'الرجاء إدخال رقم BIC صالح.', + }, + callback: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + choice: { + between: 'الرجاء إختيار %s-%s خيارات.', + default: 'الرجاء إدخال قيمة صالحة.', + less: 'الرجاء اختيار %s خيارات كحد أدنى.', + more: 'الرجاء اختيار %s خيارات كحد أقصى.', + }, + color: { + default: 'الرجاء إدخال رمز لون صالح.', + }, + creditCard: { + default: 'الرجاء إدخال رقم بطاقة إئتمان صحيح.', + }, + cusip: { + default: 'الرجاء إدخال رقم CUSIP صالح.', + }, + date: { + default: 'الرجاء إدخال تاريخ صالح.', + max: 'الرجاء إدخال تاريخ قبل %s.', + min: 'الرجاء إدخال تاريخ بعد %s.', + range: 'الرجاء إدخال تاريخ في المجال %s - %s.', + }, + different: { + default: 'الرجاء إدخال قيمة مختلفة.', + }, + digits: { + default: 'الرجاء إدخال الأرقام فقط.', + }, + ean: { + default: 'الرجاء إدخال رقم EAN صالح.', + }, + ein: { + default: 'الرجاء إدخال رقم EIN صالح.', + }, + emailAddress: { + default: 'الرجاء إدخال بريد إلكتروني صحيح.', + }, + file: { + default: 'الرجاء إختيار ملف صالح.', + }, + greaterThan: { + default: 'الرجاء إدخال قيمة أكبر من أو تساوي %s.', + notInclusive: 'الرجاء إدخال قيمة أكبر من %s.', + }, + grid: { + default: 'الرجاء إدخال رقم GRid صالح.', + }, + hex: { + default: 'الرجاء إدخال رقم ست عشري صالح.', + }, + iban: { + countries: { + AD: 'أندورا', + AE: 'الإمارات العربية المتحدة', + AL: 'ألبانيا', + AO: 'أنغولا', + AT: 'النمسا', + AZ: 'أذربيجان', + BA: 'البوسنة والهرسك', + BE: 'بلجيكا', + BF: 'بوركينا فاسو', + BG: 'بلغاريا', + BH: 'البحرين', + BI: 'بوروندي', + BJ: 'بنين', + BR: 'البرازيل', + CH: 'سويسرا', + CI: 'ساحل العاج', + CM: 'الكاميرون', + CR: 'كوستاريكا', + CV: 'الرأس الأخضر', + CY: 'قبرص', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + DO: 'جمهورية الدومينيكان', + DZ: 'الجزائر', + EE: 'إستونيا', + ES: 'إسبانيا', + FI: 'فنلندا', + FO: 'جزر فارو', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + GE: 'جورجيا', + GI: 'جبل طارق', + GL: 'جرينلاند', + GR: 'اليونان', + GT: 'غواتيمالا', + HR: 'كرواتيا', + HU: 'المجر', + IE: 'أيرلندا', + IL: 'إسرائيل', + IR: 'إيران', + IS: 'آيسلندا', + IT: 'إيطاليا', + JO: 'الأردن', + KW: 'الكويت', + KZ: 'كازاخستان', + LB: 'لبنان', + LI: 'ليختنشتاين', + LT: 'ليتوانيا', + LU: 'لوكسمبورغ', + LV: 'لاتفيا', + MC: 'موناكو', + MD: 'مولدوفا', + ME: 'الجبل الأسود', + MG: 'مدغشقر', + MK: 'جمهورية مقدونيا', + ML: 'مالي', + MR: 'موريتانيا', + MT: 'مالطا', + MU: 'موريشيوس', + MZ: 'موزمبيق', + NL: 'هولندا', + NO: 'النرويج', + PK: 'باكستان', + PL: 'بولندا', + PS: 'فلسطين', + PT: 'البرتغال', + QA: 'قطر', + RO: 'رومانيا', + RS: 'صربيا', + SA: 'المملكة العربية السعودية', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + SM: 'سان مارينو', + SN: 'السنغال', + TL: 'تيمور الشرقية', + TN: 'تونس', + TR: 'تركيا', + VG: 'جزر العذراء البريطانية', + XK: 'جمهورية كوسوفو', + }, + country: 'الرجاء إدخال رقم IBAN صالح في %s.', + default: 'الرجاء إدخال رقم IBAN صالح.', + }, + id: { + countries: { + BA: 'البوسنة والهرسك', + BG: 'بلغاريا', + BR: 'البرازيل', + CH: 'سويسرا', + CL: 'تشيلي', + CN: 'الصين', + CZ: 'التشيك', + DK: 'الدنمارك', + EE: 'إستونيا', + ES: 'إسبانيا', + FI: 'فنلندا', + HR: 'كرواتيا', + IE: 'أيرلندا', + IS: 'آيسلندا', + LT: 'ليتوانيا', + LV: 'لاتفيا', + ME: 'الجبل الأسود', + MK: 'جمهورية مقدونيا', + NL: 'هولندا', + PL: 'بولندا', + RO: 'رومانيا', + RS: 'صربيا', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + SM: 'سان مارينو', + TH: 'تايلاند', + TR: 'تركيا', + ZA: 'جنوب أفريقيا', + }, + country: 'الرجاء إدخال رقم تعريف صالح في %s.', + default: 'الرجاء إدخال رقم هوية صالحة.', + }, + identical: { + default: 'الرجاء إدخال نفس القيمة.', + }, + imei: { + default: 'الرجاء إدخال رقم IMEI صالح.', + }, + imo: { + default: 'الرجاء إدخال رقم IMO صالح.', + }, + integer: { + default: 'الرجاء إدخال رقم صحيح.', + }, + ip: { + default: 'الرجاء إدخال عنوان IP صالح.', + ipv4: 'الرجاء إدخال عنوان IPv4 صالح.', + ipv6: 'الرجاء إدخال عنوان IPv6 صالح.', + }, + isbn: { + default: 'الرجاء إدخال رقم ISBN صالح.', + }, + isin: { + default: 'الرجاء إدخال رقم ISIN صالح.', + }, + ismn: { + default: 'الرجاء إدخال رقم ISMN صالح.', + }, + issn: { + default: 'الرجاء إدخال رقم ISSN صالح.', + }, + lessThan: { + default: 'الرجاء إدخال قيمة أصغر من أو تساوي %s.', + notInclusive: 'الرجاء إدخال قيمة أصغر من %s.', + }, + mac: { + default: 'يرجى إدخال عنوان MAC صالح.', + }, + meid: { + default: 'الرجاء إدخال رقم MEID صالح.', + }, + notEmpty: { + default: 'الرجاء إدخال قيمة.', + }, + numeric: { + default: 'الرجاء إدخال عدد عشري صالح.', + }, + phone: { + countries: { + AE: 'الإمارات العربية المتحدة', + BG: 'بلغاريا', + BR: 'البرازيل', + CN: 'الصين', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + ES: 'إسبانيا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + IN: 'الهند', + MA: 'المغرب', + NL: 'هولندا', + PK: 'باكستان', + RO: 'رومانيا', + RU: 'روسيا', + SK: 'سلوفاكيا', + TH: 'تايلاند', + US: 'الولايات المتحدة', + VE: 'فنزويلا', + }, + country: 'الرجاء إدخال رقم هاتف صالح في %s.', + default: 'الرجاء إدخال رقم هاتف صحيح.', + }, + promise: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + regexp: { + default: 'الرجاء إدخال قيمة مطابقة للنمط.', + }, + remote: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + rtn: { + default: 'الرجاء إدخال رقم RTN صالح.', + }, + sedol: { + default: 'الرجاء إدخال رقم SEDOL صالح.', + }, + siren: { + default: 'الرجاء إدخال رقم SIREN صالح.', + }, + siret: { + default: 'الرجاء إدخال رقم SIRET صالح.', + }, + step: { + default: 'الرجاء إدخال قيمة من مضاعفات %s .', + }, + stringCase: { + default: 'الرجاء إدخال أحرف صغيرة فقط.', + upper: 'الرجاء إدخال أحرف كبيرة فقط.', + }, + stringLength: { + between: 'الرجاء إدخال قيمة ذات عدد حروف بين %s و %s حرفا.', + default: 'الرجاء إدخال قيمة ذات طول صحيح.', + less: 'الرجاء إدخال أقل من %s حرفا.', + more: 'الرجاء إدخال أكتر من %s حرفا.', + }, + uri: { + default: 'الرجاء إدخال URI صالح.', + }, + uuid: { + default: 'الرجاء إدخال رقم UUID صالح.', + version: 'الرجاء إدخال رقم UUID صالح إصدار %s.', + }, + vat: { + countries: { + AT: 'النمسا', + BE: 'بلجيكا', + BG: 'بلغاريا', + BR: 'البرازيل', + CH: 'سويسرا', + CY: 'قبرص', + CZ: 'التشيك', + DE: 'جورجيا', + DK: 'الدنمارك', + EE: 'إستونيا', + EL: 'اليونان', + ES: 'إسبانيا', + FI: 'فنلندا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + GR: 'اليونان', + HR: 'كرواتيا', + HU: 'المجر', + IE: 'أيرلندا', + IS: 'آيسلندا', + IT: 'إيطاليا', + LT: 'ليتوانيا', + LU: 'لوكسمبورغ', + LV: 'لاتفيا', + MT: 'مالطا', + NL: 'هولندا', + NO: 'النرويج', + PL: 'بولندا', + PT: 'البرتغال', + RO: 'رومانيا', + RS: 'صربيا', + RU: 'روسيا', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + VE: 'فنزويلا', + ZA: 'جنوب أفريقيا', + }, + country: 'الرجاء إدخال رقم VAT صالح في %s.', + default: 'الرجاء إدخال رقم VAT صالح.', + }, + vin: { + default: 'الرجاء إدخال رقم VIN صالح.', + }, + zipCode: { + countries: { + AT: 'النمسا', + BG: 'بلغاريا', + BR: 'البرازيل', + CA: 'كندا', + CH: 'سويسرا', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + ES: 'إسبانيا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + IE: 'أيرلندا', + IN: 'الهند', + IT: 'إيطاليا', + MA: 'المغرب', + NL: 'هولندا', + PL: 'بولندا', + PT: 'البرتغال', + RO: 'رومانيا', + RU: 'روسيا', + SE: 'السويد', + SG: 'سنغافورة', + SK: 'سلوفاكيا', + US: 'الولايات المتحدة', + }, + country: 'الرجاء إدخال رمز بريدي صالح في %s.', + default: 'الرجاء إدخال رمز بريدي صالح.', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/bg_BG.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/bg_BG.js new file mode 100644 index 0000000..0f4fb20 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/bg_BG.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Моля, въведете валиден base 64 кодиран', + }, + between: { + default: 'Моля, въведете стойност между %s и %s', + notInclusive: 'Моля, въведете стойност точно между %s и %s', + }, + bic: { + default: 'Моля, въведете валиден BIC номер', + }, + callback: { + default: 'Моля, въведете валидна стойност', + }, + choice: { + between: 'Моля изберете от %s до %s стойност', + default: 'Моля, въведете валидна стойност', + less: 'Моля изберете минимална стойност %s', + more: 'Моля изберете максимална стойност %s', + }, + color: { + default: 'Моля, въведете валиден цвят', + }, + creditCard: { + default: 'Моля, въведете валиден номер на кредитна карта', + }, + cusip: { + default: 'Моля, въведете валиден CUSIP номер', + }, + date: { + default: 'Моля, въведете валидна дата', + max: 'Моля въведете дата преди %s', + min: 'Моля въведете дата след %s', + range: 'Моля въведете дата между %s и %s', + }, + different: { + default: 'Моля, въведете различна стойност', + }, + digits: { + default: 'Моля, въведете само цифри', + }, + ean: { + default: 'Моля, въведете валиден EAN номер', + }, + ein: { + default: 'Моля, въведете валиден EIN номер', + }, + emailAddress: { + default: 'Моля, въведете валиден имейл адрес', + }, + file: { + default: 'Моля, изберете валиден файл', + }, + greaterThan: { + default: 'Моля, въведете стойност по-голяма от или равна на %s', + notInclusive: 'Моля, въведете стойност по-голяма от %s', + }, + grid: { + default: 'Моля, изберете валиден GRId номер', + }, + hex: { + default: 'Моля, въведете валиден шестнадесетичен номер', + }, + iban: { + countries: { + AD: 'Андора', + AE: 'Обединени арабски емирства', + AL: 'Албания', + AO: 'Ангола', + AT: 'Австрия', + AZ: 'Азербайджан', + BA: 'Босна и Херцеговина', + BE: 'Белгия', + BF: 'Буркина Фасо', + BG: 'България', + BH: 'Бахрейн', + BI: 'Бурунди', + BJ: 'Бенин', + BR: 'Бразилия', + CH: 'Швейцария', + CI: 'Ivory Coast', + CM: 'Камерун', + CR: 'Коста Рика', + CV: 'Cape Verde', + CY: 'Кипър', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + DO: 'Доминиканска република', + DZ: 'Алжир', + EE: 'Естония', + ES: 'Испания', + FI: 'Финландия', + FO: 'Фарьорските острови', + FR: 'Франция', + GB: 'Обединеното кралство', + GE: 'Грузия', + GI: 'Гибралтар', + GL: 'Гренландия', + GR: 'Гърция', + GT: 'Гватемала', + HR: 'Хърватия', + HU: 'Унгария', + IE: 'Ирландия', + IL: 'Израел', + IR: 'Иран', + IS: 'Исландия', + IT: 'Италия', + JO: 'Йордания', + KW: 'Кувейт', + KZ: 'Казахстан', + LB: 'Ливан', + LI: 'Лихтенщайн', + LT: 'Литва', + LU: 'Люксембург', + LV: 'Латвия', + MC: 'Монако', + MD: 'Молдова', + ME: 'Черна гора', + MG: 'Мадагаскар', + MK: 'Македония', + ML: 'Мали', + MR: 'Мавритания', + MT: 'Малта', + MU: 'Мавриций', + MZ: 'Мозамбик', + NL: 'Нидерландия', + NO: 'Норвегия', + PK: 'Пакистан', + PL: 'Полша', + PS: 'палестинска', + PT: 'Португалия', + QA: 'Катар', + RO: 'Румъния', + RS: 'Сърбия', + SA: 'Саудитска Арабия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + SM: 'San Marino', + SN: 'Сенегал', + TL: 'Източен Тимор', + TN: 'Тунис', + TR: 'Турция', + VG: 'Британски Вирджински острови', + XK: 'Република Косово', + }, + country: 'Моля, въведете валиден номер на IBAN в %s', + default: 'Моля, въведете валиден IBAN номер', + }, + id: { + countries: { + BA: 'Босна и Херцеговина', + BG: 'България', + BR: 'Бразилия', + CH: 'Швейцария', + CL: 'Чили', + CN: 'Китай', + CZ: 'Чешката република', + DK: 'Дания', + EE: 'Естония', + ES: 'Испания', + FI: 'Финландия', + HR: 'Хърватия', + IE: 'Ирландия', + IS: 'Исландия', + LT: 'Литва', + LV: 'Латвия', + ME: 'Черна гора', + MK: 'Македония', + NL: 'Холандия', + PL: 'Полша', + RO: 'Румъния', + RS: 'Сърбия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + SM: 'San Marino', + TH: 'Тайланд', + TR: 'Турция', + ZA: 'Южна Африка', + }, + country: 'Моля, въведете валиден идентификационен номер в %s', + default: 'Моля, въведете валиден идентификационен номер', + }, + identical: { + default: 'Моля, въведете една и съща стойност', + }, + imei: { + default: 'Моля, въведете валиден IMEI номер', + }, + imo: { + default: 'Моля, въведете валиден IMO номер', + }, + integer: { + default: 'Моля, въведете валиден номер', + }, + ip: { + default: 'Моля, въведете валиден IP адрес', + ipv4: 'Моля, въведете валиден IPv4 адрес', + ipv6: 'Моля, въведете валиден IPv6 адрес', + }, + isbn: { + default: 'Моля, въведете валиден ISBN номер', + }, + isin: { + default: 'Моля, въведете валиден ISIN номер', + }, + ismn: { + default: 'Моля, въведете валиден ISMN номер', + }, + issn: { + default: 'Моля, въведете валиден ISSN номер', + }, + lessThan: { + default: 'Моля, въведете стойност по-малка или равна на %s', + notInclusive: 'Моля, въведете стойност по-малко от %s', + }, + mac: { + default: 'Моля, въведете валиден MAC адрес', + }, + meid: { + default: 'Моля, въведете валиден MEID номер', + }, + notEmpty: { + default: 'Моля, въведете стойност', + }, + numeric: { + default: 'Моля, въведете валидно число с плаваща запетая', + }, + phone: { + countries: { + AE: 'Обединени арабски емирства', + BG: 'България', + BR: 'Бразилия', + CN: 'Китай', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + ES: 'Испания', + FR: 'Франция', + GB: 'Обединеното кралство', + IN: 'Индия', + MA: 'Мароко', + NL: 'Нидерландия', + PK: 'Пакистан', + RO: 'Румъния', + RU: 'Русия', + SK: 'Словакия', + TH: 'Тайланд', + US: 'САЩ', + VE: 'Венецуела', + }, + country: 'Моля, въведете валиден телефонен номер в %s', + default: 'Моля, въведете валиден телефонен номер', + }, + promise: { + default: 'Моля, въведете валидна стойност', + }, + regexp: { + default: 'Моля, въведете стойност, отговаряща на модела', + }, + remote: { + default: 'Моля, въведете валидна стойност', + }, + rtn: { + default: 'Моля, въведете валиде RTN номер', + }, + sedol: { + default: 'Моля, въведете валиден SEDOL номер', + }, + siren: { + default: 'Моля, въведете валиден SIREN номер', + }, + siret: { + default: 'Моля, въведете валиден SIRET номер', + }, + step: { + default: 'Моля, въведете валиденa стъпка от %s', + }, + stringCase: { + default: 'Моля, въведете само с малки букви', + upper: 'Моля въведете само главни букви', + }, + stringLength: { + between: 'Моля, въведете стойност между %s и %s знака', + default: 'Моля, въведете стойност с валидни дължина', + less: 'Моля, въведете по-малко от %s знака', + more: 'Моля въведете повече от %s знака', + }, + uri: { + default: 'Моля, въведете валиден URI', + }, + uuid: { + default: 'Моля, въведете валиден UUID номер', + version: 'Моля, въведете валиден UUID номер с версия %s', + }, + vat: { + countries: { + AT: 'Австрия', + BE: 'Белгия', + BG: 'България', + BR: 'Бразилия', + CH: 'Швейцария', + CY: 'Кипър', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + EE: 'Естония', + EL: 'Гърция', + ES: 'Испания', + FI: 'Финландия', + FR: 'Франция', + GB: 'Обединеното кралство', + GR: 'Гърция', + HR: 'Ирландия', + HU: 'Унгария', + IE: 'Ирландски', + IS: 'Исландия', + IT: 'Италия', + LT: 'Литва', + LU: 'Люксембург', + LV: 'Латвия', + MT: 'Малта', + NL: 'Холандия', + NO: 'Норвегия', + PL: 'Полша', + PT: 'Португалия', + RO: 'Румъния', + RS: 'Сърбия', + RU: 'Русия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + VE: 'Венецуела', + ZA: 'Южна Африка', + }, + country: 'Моля, въведете валиден ДДС в %s', + default: 'Моля, въведете валиден ДДС', + }, + vin: { + default: 'Моля, въведете валиден номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрия', + BG: 'България', + BR: 'Бразилия', + CA: 'Канада', + CH: 'Швейцария', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + ES: 'Испания', + FR: 'Франция', + GB: 'Обединеното кралство', + IE: 'Ирландски', + IN: 'Индия', + IT: 'Италия', + MA: 'Мароко', + NL: 'Холандия', + PL: 'Полша', + PT: 'Португалия', + RO: 'Румъния', + RU: 'Русия', + SE: 'Швеция', + SG: 'Сингапур', + SK: 'Словакия', + US: 'САЩ', + }, + country: 'Моля, въведете валиден пощенски код в %s', + default: 'Моля, въведете валиден пощенски код', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/ca_ES.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ca_ES.js new file mode 100644 index 0000000..8d7d1db --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ca_ES.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Si us plau introdueix un valor vàlid en base 64', + }, + between: { + default: 'Si us plau introdueix un valor entre %s i %s', + notInclusive: 'Si us plau introdueix un valor comprès entre %s i %s', + }, + bic: { + default: 'Si us plau introdueix un nombre BIC vàlid', + }, + callback: { + default: 'Si us plau introdueix un valor vàlid', + }, + choice: { + between: 'Si us plau escull entre %s i %s opcions', + default: 'Si us plau introdueix un valor vàlid', + less: 'Si us plau escull %s opcions com a mínim', + more: 'Si us plau escull %s opcions com a màxim', + }, + color: { + default: 'Si us plau introdueix un color vàlid', + }, + creditCard: { + default: 'Si us plau introdueix un nombre vàlid de targeta de crèdit', + }, + cusip: { + default: 'Si us plau introdueix un nombre CUSIP vàlid', + }, + date: { + default: 'Si us plau introdueix una data vàlida', + max: 'Si us plau introdueix una data anterior %s', + min: 'Si us plau introdueix una data posterior a %s', + range: 'Si us plau introdueix una data compresa entre %s i %s', + }, + different: { + default: 'Si us plau introdueix un valor diferent', + }, + digits: { + default: 'Si us plau introdueix només dígits', + }, + ean: { + default: 'Si us plau introdueix un nombre EAN vàlid', + }, + ein: { + default: 'Si us plau introdueix un nombre EIN vàlid', + }, + emailAddress: { + default: 'Si us plau introdueix una adreça electrònica vàlida', + }, + file: { + default: 'Si us plau selecciona un arxiu vàlid', + }, + greaterThan: { + default: 'Si us plau introdueix un valor més gran o igual a %s', + notInclusive: 'Si us plau introdueix un valor més gran que %s', + }, + grid: { + default: 'Si us plau introdueix un nombre GRId vàlid', + }, + hex: { + default: 'Si us plau introdueix un valor hexadecimal vàlid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirats Àrabs Units', + AL: 'Albània', + AO: 'Angola', + AT: 'Àustria', + AZ: 'Azerbaidjan', + BA: 'Bòsnia i Hercegovina', + BE: 'Bèlgica', + BF: 'Burkina Faso', + BG: 'Bulgària', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suïssa', + CI: "Costa d'Ivori", + CM: 'Camerun', + CR: 'Costa Rica', + CV: 'Cap Verd', + CY: 'Xipre', + CZ: 'República Txeca', + DE: 'Alemanya', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Algèria', + EE: 'Estònia', + ES: 'Espanya', + FI: 'Finlàndia', + FO: 'Illes Fèroe', + FR: 'França', + GB: 'Regne Unit', + GE: 'Geòrgia', + GI: 'Gibraltar', + GL: 'Grenlàndia', + GR: 'Grècia', + GT: 'Guatemala', + HR: 'Croàcia', + HU: 'Hongria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islàndia', + IT: 'Itàlia', + JO: 'Jordània', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líban', + LI: 'Liechtenstein', + LT: 'Lituània', + LU: 'Luxemburg', + LV: 'Letònia', + MC: 'Mònaco', + MD: 'Moldàvia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedònia', + ML: 'Malo', + MR: 'Mauritània', + MT: 'Malta', + MU: 'Maurici', + MZ: 'Moçambic', + NL: 'Països Baixos', + NO: 'Noruega', + PK: 'Pakistan', + PL: 'Polònia', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Sèrbia', + SA: 'Aràbia Saudita', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Illes Verges Britàniques', + XK: 'República de Kosovo', + }, + country: 'Si us plau introdueix un nombre IBAN vàlid a %s', + default: 'Si us plau introdueix un nombre IBAN vàlid', + }, + id: { + countries: { + BA: 'Bòsnia i Hercegovina', + BG: 'Bulgària', + BR: 'Brasil', + CH: 'Suïssa', + CL: 'Xile', + CN: 'Xina', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estònia', + ES: 'Espanya', + FI: 'Finlpandia', + HR: 'Cropàcia', + IE: 'Irlanda', + IS: 'Islàndia', + LT: 'Lituania', + LV: 'Letònia', + ME: 'Montenegro', + MK: 'Macedònia', + NL: 'Països Baixos', + PL: 'Polònia', + RO: 'Romania', + RS: 'Sèrbia', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + SM: 'San Marino', + TH: 'Tailàndia', + TR: 'Turquia', + ZA: 'Sud-àfrica', + }, + country: "Si us plau introdueix un nombre d'identificació vàlid a %s", + default: "Si us plau introdueix un nombre d'identificació vàlid", + }, + identical: { + default: 'Si us plau introdueix exactament el mateix valor', + }, + imei: { + default: 'Si us plau introdueix un nombre IMEI vàlid', + }, + imo: { + default: 'Si us plau introdueix un nombre IMO vàlid', + }, + integer: { + default: 'Si us plau introdueix un nombre vàlid', + }, + ip: { + default: 'Si us plau introdueix una direcció IP vàlida', + ipv4: 'Si us plau introdueix una direcció IPV4 vàlida', + ipv6: 'Si us plau introdueix una direcció IPV6 vàlida', + }, + isbn: { + default: 'Si us plau introdueix un nombre ISBN vàlid', + }, + isin: { + default: 'Si us plau introdueix un nombre ISIN vàlid', + }, + ismn: { + default: 'Si us plau introdueix un nombre ISMN vàlid', + }, + issn: { + default: 'Si us plau introdueix un nombre ISSN vàlid', + }, + lessThan: { + default: 'Si us plau introdueix un valor menor o igual a %s', + notInclusive: 'Si us plau introdueix un valor menor que %s', + }, + mac: { + default: 'Si us plau introdueix una adreça MAC vàlida', + }, + meid: { + default: 'Si us plau introdueix nombre MEID vàlid', + }, + notEmpty: { + default: 'Si us plau introdueix un valor', + }, + numeric: { + default: 'Si us plau introdueix un nombre decimal vàlid', + }, + phone: { + countries: { + AE: 'Emirats Àrabs Units', + BG: 'Bulgària', + BR: 'Brasil', + CN: 'Xina', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + ES: 'Espanya', + FR: 'França', + GB: 'Regne Unit', + IN: 'Índia', + MA: 'Marroc', + NL: 'Països Baixos', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Rússia', + SK: 'Eslovàquia', + TH: 'Tailàndia', + US: 'Estats Units', + VE: 'Veneçuela', + }, + country: 'Si us plau introdueix un telèfon vàlid a %s', + default: 'Si us plau introdueix un telèfon vàlid', + }, + promise: { + default: 'Si us plau introdueix un valor vàlid', + }, + regexp: { + default: 'Si us plau introdueix un valor que coincideixi amb el patró', + }, + remote: { + default: 'Si us plau introdueix un valor vàlid', + }, + rtn: { + default: 'Si us plau introdueix un nombre RTN vàlid', + }, + sedol: { + default: 'Si us plau introdueix un nombre SEDOL vàlid', + }, + siren: { + default: 'Si us plau introdueix un nombre SIREN vàlid', + }, + siret: { + default: 'Si us plau introdueix un nombre SIRET vàlid', + }, + step: { + default: 'Si us plau introdueix un pas vàlid de %s', + }, + stringCase: { + default: 'Si us plau introdueix només caràcters en minúscula', + upper: 'Si us plau introdueix només caràcters en majúscula', + }, + stringLength: { + between: 'Si us plau introdueix un valor amb una longitud compresa entre %s i %s caràcters', + default: 'Si us plau introdueix un valor amb una longitud vàlida', + less: 'Si us plau introdueix menys de %s caràcters', + more: 'Si us plau introdueix més de %s caràcters', + }, + uri: { + default: 'Si us plau introdueix una URI vàlida', + }, + uuid: { + default: 'Si us plau introdueix un nom UUID vàlid', + version: 'Si us plau introdueix una versió UUID vàlida per %s', + }, + vat: { + countries: { + AT: 'Àustria', + BE: 'Bèlgica', + BG: 'Bulgària', + BR: 'Brasil', + CH: 'Suïssa', + CY: 'Xipre', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + EE: 'Estònia', + EL: 'Grècia', + ES: 'Espanya', + FI: 'Finlàndia', + FR: 'França', + GB: 'Regne Unit', + GR: 'Grècia', + HR: 'Croàcia', + HU: 'Hongria', + IE: 'Irlanda', + IS: 'Islàndia', + IT: 'Itàlia', + LT: 'Lituània', + LU: 'Luxemburg', + LV: 'Letònia', + MT: 'Malta', + NL: 'Països Baixos', + NO: 'Noruega', + PL: 'Polònia', + PT: 'Portugal', + RO: 'Romania', + RS: 'Sèrbia', + RU: 'Rússia', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + VE: 'Veneçuela', + ZA: 'Sud-àfrica', + }, + country: "Si us plau introdueix una quantitat d' IVA vàlida a %s", + default: "Si us plau introdueix una quantitat d'IVA vàlida", + }, + vin: { + default: 'Si us plau introdueix un nombre VIN vàlid', + }, + zipCode: { + countries: { + AT: 'Àustria', + BG: 'Bulgària', + BR: 'Brasil', + CA: 'Canadà', + CH: 'Suïssa', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + ES: 'Espanya', + FR: 'França', + GB: 'Rege Unit', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itàlia', + MA: 'Marroc', + NL: 'Països Baixos', + PL: 'Polònia', + PT: 'Portugal', + RO: 'Romania', + RU: 'Rússia', + SE: 'Suècia', + SG: 'Singapur', + SK: 'Eslovàquia', + US: 'Estats Units', + }, + country: 'Si us plau introdueix un codi postal vàlid a %s', + default: 'Si us plau introdueix un codi postal vàlid', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/cs_CZ.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/cs_CZ.js new file mode 100644 index 0000000..5504241 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/cs_CZ.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Prosím zadejte správný base64', + }, + between: { + default: 'Prosím zadejte hodnotu mezi %s a %s', + notInclusive: 'Prosím zadejte hodnotu mezi %s a %s (včetně těchto čísel)', + }, + bic: { + default: 'Prosím zadejte správné BIC číslo', + }, + callback: { + default: 'Prosím zadejte správnou hodnotu', + }, + choice: { + between: 'Prosím vyberte mezi %s a %s', + default: 'Prosím vyberte správnou hodnotu', + less: 'Hodnota musí být minimálně %s', + more: 'Hodnota nesmí být více jak %s', + }, + color: { + default: 'Prosím zadejte správnou barvu', + }, + creditCard: { + default: 'Prosím zadejte správné číslo kreditní karty', + }, + cusip: { + default: 'Prosím zadejte správné CUSIP číslo', + }, + date: { + default: 'Prosím zadejte správné datum', + max: 'Prosím zadejte datum po %s', + min: 'Prosím zadejte datum před %s', + range: 'Prosím zadejte datum v rozmezí %s až %s', + }, + different: { + default: 'Prosím zadejte jinou hodnotu', + }, + digits: { + default: 'Toto pole může obsahovat pouze čísla', + }, + ean: { + default: 'Prosím zadejte správné EAN číslo', + }, + ein: { + default: 'Prosím zadejte správné EIN číslo', + }, + emailAddress: { + default: 'Prosím zadejte správnou emailovou adresu', + }, + file: { + default: 'Prosím vyberte soubor', + }, + greaterThan: { + default: 'Prosím zadejte hodnotu větší nebo rovnu %s', + notInclusive: 'Prosím zadejte hodnotu větší než %s', + }, + grid: { + default: 'Prosím zadejte správné GRId číslo', + }, + hex: { + default: 'Prosím zadejte správné hexadecimální číslo', + }, + iban: { + countries: { + AD: 'Andorru', + AE: 'Spojené arabské emiráty', + AL: 'Albanii', + AO: 'Angolu', + AT: 'Rakousko', + AZ: 'Ázerbajdžán', + BA: 'Bosnu a Herzegovinu', + BE: 'Belgii', + BF: 'Burkinu Faso', + BG: 'Bulharsko', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazílii', + CH: 'Švýcarsko', + CI: 'Pobřeží slonoviny', + CM: 'Kamerun', + CR: 'Kostariku', + CV: 'Cape Verde', + CY: 'Kypr', + CZ: 'Českou republiku', + DE: 'Německo', + DK: 'Dánsko', + DO: 'Dominikánskou republiku', + DZ: 'Alžírsko', + EE: 'Estonsko', + ES: 'Španělsko', + FI: 'Finsko', + FO: 'Faerské ostrovy', + FR: 'Francie', + GB: 'Velkou Británii', + GE: 'Gruzii', + GI: 'Gibraltar', + GL: 'Grónsko', + GR: 'Řecko', + GT: 'Guatemalu', + HR: 'Chorvatsko', + HU: 'Maďarsko', + IE: 'Irsko', + IL: 'Israel', + IR: 'Irán', + IS: 'Island', + IT: 'Itálii', + JO: 'Jordansko', + KW: 'Kuwait', + KZ: 'Kazachstán', + LB: 'Libanon', + LI: 'Lichtenštejnsko', + LT: 'Litvu', + LU: 'Lucembursko', + LV: 'Lotyšsko', + MC: 'Monaco', + MD: 'Moldavsko', + ME: 'Černou Horu', + MG: 'Madagaskar', + MK: 'Makedonii', + ML: 'Mali', + MR: 'Mauritánii', + MT: 'Maltu', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Nizozemsko', + NO: 'Norsko', + PK: 'Pakistán', + PL: 'Polsko', + PS: 'Palestinu', + PT: 'Portugalsko', + QA: 'Katar', + RO: 'Rumunsko', + RS: 'Srbsko', + SA: 'Saudskou Arábii', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Východní Timor', + TN: 'Tunisko', + TR: 'Turecko', + VG: 'Britské Panenské ostrovy', + XK: 'Republic of Kosovo', + }, + country: 'Prosím zadejte správné IBAN číslo pro %s', + default: 'Prosím zadejte správné IBAN číslo', + }, + id: { + countries: { + BA: 'Bosnu a Hercegovinu', + BG: 'Bulharsko', + BR: 'Brazílii', + CH: 'Švýcarsko', + CL: 'Chile', + CN: 'Čínu', + CZ: 'Českou Republiku', + DK: 'Dánsko', + EE: 'Estonsko', + ES: 'Španělsko', + FI: 'Finsko', + HR: 'Chorvatsko', + IE: 'Irsko', + IS: 'Island', + LT: 'Litvu', + LV: 'Lotyšsko', + ME: 'Černou horu', + MK: 'Makedonii', + NL: 'Nizozemí', + PL: 'Polsko', + RO: 'Rumunsko', + RS: 'Srbsko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + TH: 'Thajsko', + TR: 'Turecko', + ZA: 'Jižní Afriku', + }, + country: 'Prosím zadejte správné rodné číslo pro %s', + default: 'Prosím zadejte správné rodné číslo', + }, + identical: { + default: 'Prosím zadejte stejnou hodnotu', + }, + imei: { + default: 'Prosím zadejte správné IMEI číslo', + }, + imo: { + default: 'Prosím zadejte správné IMO číslo', + }, + integer: { + default: 'Prosím zadejte celé číslo', + }, + ip: { + default: 'Prosím zadejte správnou IP adresu', + ipv4: 'Prosím zadejte správnou IPv4 adresu', + ipv6: 'Prosím zadejte správnou IPv6 adresu', + }, + isbn: { + default: 'Prosím zadejte správné ISBN číslo', + }, + isin: { + default: 'Prosím zadejte správné ISIN číslo', + }, + ismn: { + default: 'Prosím zadejte správné ISMN číslo', + }, + issn: { + default: 'Prosím zadejte správné ISSN číslo', + }, + lessThan: { + default: 'Prosím zadejte hodnotu menší nebo rovno %s', + notInclusive: 'Prosím zadejte hodnotu menčí než %s', + }, + mac: { + default: 'Prosím zadejte správnou MAC adresu', + }, + meid: { + default: 'Prosím zadejte správné MEID číslo', + }, + notEmpty: { + default: 'Toto pole nesmí být prázdné', + }, + numeric: { + default: 'Prosím zadejte číselnou hodnotu', + }, + phone: { + countries: { + AE: 'Spojené arabské emiráty', + BG: 'Bulharsko', + BR: 'Brazílii', + CN: 'Čínu', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + ES: 'Španělsko', + FR: 'Francii', + GB: 'Velkou Británii', + IN: 'Indie', + MA: 'Maroko', + NL: 'Nizozemsko', + PK: 'Pákistán', + RO: 'Rumunsko', + RU: 'Rusko', + SK: 'Slovensko', + TH: 'Thajsko', + US: 'Spojené Státy Americké', + VE: 'Venezuelu', + }, + country: 'Prosím zadejte správné telefoní číslo pro %s', + default: 'Prosím zadejte správné telefoní číslo', + }, + promise: { + default: 'Prosím zadejte správnou hodnotu', + }, + regexp: { + default: 'Prosím zadejte hodnotu splňující zadání', + }, + remote: { + default: 'Prosím zadejte správnou hodnotu', + }, + rtn: { + default: 'Prosím zadejte správné RTN číslo', + }, + sedol: { + default: 'Prosím zadejte správné SEDOL číslo', + }, + siren: { + default: 'Prosím zadejte správné SIREN číslo', + }, + siret: { + default: 'Prosím zadejte správné SIRET číslo', + }, + step: { + default: 'Prosím zadejte správný krok %s', + }, + stringCase: { + default: 'Pouze malá písmena jsou povoleny v tomto poli', + upper: 'Pouze velké písmena jsou povoleny v tomto poli', + }, + stringLength: { + between: 'Prosím zadejte hodnotu mezi %s a %s znaky', + default: 'Toto pole nesmí být prázdné', + less: 'Prosím zadejte hodnotu menší než %s znaků', + more: 'Prosím zadajte hodnotu dlhšiu ako %s znakov', + }, + uri: { + default: 'Prosím zadejte správnou URI', + }, + uuid: { + default: 'Prosím zadejte správné UUID číslo', + version: 'Prosím zadejte správné UUID verze %s', + }, + vat: { + countries: { + AT: 'Rakousko', + BE: 'Belgii', + BG: 'Bulharsko', + BR: 'Brazílii', + CH: 'Švýcarsko', + CY: 'Kypr', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + EE: 'Estonsko', + EL: 'Řecko', + ES: 'Španělsko', + FI: 'Finsko', + FR: 'Francii', + GB: 'Velkou Británii', + GR: 'Řecko', + HR: 'Chorvatsko', + HU: 'Maďarsko', + IE: 'Irsko', + IS: 'Island', + IT: 'Itálii', + LT: 'Litvu', + LU: 'Lucembursko', + LV: 'Lotyšsko', + MT: 'Maltu', + NL: 'Nizozemí', + NO: 'Norsko', + PL: 'Polsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RS: 'Srbsko', + RU: 'Rusko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + VE: 'Venezuelu', + ZA: 'Jižní Afriku', + }, + country: 'Prosím zadejte správné VAT číslo pro %s', + default: 'Prosím zadejte správné VAT číslo', + }, + vin: { + default: 'Prosím zadejte správné VIN číslo', + }, + zipCode: { + countries: { + AT: 'Rakousko', + BG: 'Bulharsko', + BR: 'Brazílie', + CA: 'Kanadu', + CH: 'Švýcarsko', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + ES: 'Španělsko', + FR: 'Francii', + GB: 'Velkou Británii', + IE: 'Irsko', + IN: 'Indie', + IT: 'Itálii', + MA: 'Maroko', + NL: 'Nizozemí', + PL: 'Polsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RU: 'Rusko', + SE: 'Švédsko', + SG: 'Singapur', + SK: 'Slovensko', + US: 'Spojené Státy Americké', + }, + country: 'Prosím zadejte správné PSČ pro %s', + default: 'Prosím zadejte správné PSČ', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/da_DK.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/da_DK.js new file mode 100644 index 0000000..4c2f6a6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/da_DK.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Udfyld venligst dette felt med en gyldig base64-kodet værdi', + }, + between: { + default: 'Udfyld venligst dette felt med en værdi mellem %s og %s', + notInclusive: 'Indtast venligst kun en værdi mellem %s og %s', + }, + bic: { + default: 'Udfyld venligst dette felt med et gyldigt BIC-nummer', + }, + callback: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + choice: { + between: 'Vælg venligst %s - %s valgmuligheder', + default: 'Udfyld venligst dette felt med en gyldig værdi', + less: 'Vælg venligst mindst %s valgmuligheder', + more: 'Vælg venligst højst %s valgmuligheder', + }, + color: { + default: 'Udfyld venligst dette felt med en gyldig farve', + }, + creditCard: { + default: 'Udfyld venligst dette felt med et gyldigt kreditkort-nummer', + }, + cusip: { + default: 'Udfyld venligst dette felt med et gyldigt CUSIP-nummer', + }, + date: { + default: 'Udfyld venligst dette felt med en gyldig dato', + max: 'Angiv venligst en dato før %s', + min: 'Angiv venligst en dato efter %s', + range: 'Angiv venligst en dato mellem %s - %s', + }, + different: { + default: 'Udfyld venligst dette felt med en anden værdi', + }, + digits: { + default: 'Indtast venligst kun cifre', + }, + ean: { + default: 'Udfyld venligst dette felt med et gyldigt EAN-nummer', + }, + ein: { + default: 'Udfyld venligst dette felt med et gyldigt EIN-nummer', + }, + emailAddress: { + default: 'Udfyld venligst dette felt med en gyldig e-mail-adresse', + }, + file: { + default: 'Vælg venligst en gyldig fil', + }, + greaterThan: { + default: 'Udfyld venligst dette felt med en værdi større eller lig med %s', + notInclusive: 'Udfyld venligst dette felt med en værdi større end %s', + }, + grid: { + default: 'Udfyld venligst dette felt med et gyldigt GRId-nummer', + }, + hex: { + default: 'Udfyld venligst dette felt med et gyldigt hexadecimal-nummer', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'De Forenede Arabiske Emirater', + AL: 'Albanien', + AO: 'Angola', + AT: 'Østrig', + AZ: 'Aserbajdsjan', + BA: 'Bosnien-Hercegovina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbenskysten', + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Kap Verde', + CY: 'Cypern', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Den Dominikanske Republik', + DZ: 'Algeriet', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + FO: 'Færøerne', + FR: 'Frankrig', + GB: 'Storbritannien', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grønland', + GR: 'Grækenland', + GT: 'Guatemala', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kasakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Holland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palæstina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Rumænien', + RS: 'Serbien', + SA: 'Saudi-Arabien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Østtimor', + TN: 'Tunesien', + TR: 'Tyrkiet', + VG: 'Britiske Jomfruøer', + XK: 'Kosovo', + }, + country: 'Udfyld venligst dette felt med et gyldigt IBAN-nummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien-Hercegovina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tjekkiet', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Makedonien', + NL: 'Holland', + PL: 'Polen', + RO: 'Rumænien', + RS: 'Serbien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Tyrkiet', + ZA: 'Sydafrika', + }, + country: 'Udfyld venligst dette felt med et gyldigt identifikations-nummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt identifikations-nummer', + }, + identical: { + default: 'Udfyld venligst dette felt med den samme værdi', + }, + imei: { + default: 'Udfyld venligst dette felt med et gyldigt IMEI-nummer', + }, + imo: { + default: 'Udfyld venligst dette felt med et gyldigt IMO-nummer', + }, + integer: { + default: 'Udfyld venligst dette felt med et gyldigt tal', + }, + ip: { + default: 'Udfyld venligst dette felt med en gyldig IP adresse', + ipv4: 'Udfyld venligst dette felt med en gyldig IPv4 adresse', + ipv6: 'Udfyld venligst dette felt med en gyldig IPv6 adresse', + }, + isbn: { + default: 'Udfyld venligst dette felt med et gyldigt ISBN-nummer', + }, + isin: { + default: 'Udfyld venligst dette felt med et gyldigt ISIN-nummer', + }, + ismn: { + default: 'Udfyld venligst dette felt med et gyldigt ISMN-nummer', + }, + issn: { + default: 'Udfyld venligst dette felt med et gyldigt ISSN-nummer', + }, + lessThan: { + default: 'Udfyld venligst dette felt med en værdi mindre eller lig med %s', + notInclusive: 'Udfyld venligst dette felt med en værdi mindre end %s', + }, + mac: { + default: 'Udfyld venligst dette felt med en gyldig MAC adresse', + }, + meid: { + default: 'Udfyld venligst dette felt med et gyldigt MEID-nummer', + }, + notEmpty: { + default: 'Udfyld venligst dette felt', + }, + numeric: { + default: 'Udfyld venligst dette felt med et gyldigt flydende decimaltal', + }, + phone: { + countries: { + AE: 'De Forenede Arabiske Emirater', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'Kina', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrig', + GB: 'Storbritannien', + IN: 'Indien', + MA: 'Marokko', + NL: 'Holland', + PK: 'Pakistan', + RO: 'Rumænien', + RU: 'Rusland', + SK: 'Slovakiet', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Udfyld venligst dette felt med et gyldigt telefonnummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt telefonnummer', + }, + promise: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + regexp: { + default: 'Udfyld venligst dette felt med en værdi der matcher mønsteret', + }, + remote: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + rtn: { + default: 'Udfyld venligst dette felt med et gyldigt RTN-nummer', + }, + sedol: { + default: 'Udfyld venligst dette felt med et gyldigt SEDOL-nummer', + }, + siren: { + default: 'Udfyld venligst dette felt med et gyldigt SIREN-nummer', + }, + siret: { + default: 'Udfyld venligst dette felt med et gyldigt SIRET-nummer', + }, + step: { + default: 'Udfyld venligst dette felt med et gyldigt trin af %s', + }, + stringCase: { + default: 'Udfyld venligst kun dette felt med små bogstaver', + upper: 'Udfyld venligst kun dette felt med store bogstaver', + }, + stringLength: { + between: 'Udfyld venligst dette felt med en værdi mellem %s og %s tegn', + default: 'Udfyld venligst dette felt med en værdi af gyldig længde', + less: 'Udfyld venligst dette felt med mindre end %s tegn', + more: 'Udfyld venligst dette felt med mere end %s tegn', + }, + uri: { + default: 'Udfyld venligst dette felt med en gyldig URI', + }, + uuid: { + default: 'Udfyld venligst dette felt med et gyldigt UUID-nummer', + version: 'Udfyld venligst dette felt med en gyldig UUID version %s-nummer', + }, + vat: { + countries: { + AT: 'Østrig', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Grækenland', + ES: 'Spanien', + FI: 'Finland', + FR: 'Frankrig', + GB: 'Storbritannien', + GR: 'Grækenland', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Letland', + MT: 'Malta', + NL: 'Holland', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumænien', + RS: 'Serbien', + RU: 'Rusland', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + VE: 'Venezuela', + ZA: 'Sydafrika', + }, + country: 'Udfyld venligst dette felt med et gyldigt moms-nummer i %s', + default: 'Udfyld venligst dette felt med et gyldig moms-nummer', + }, + vin: { + default: 'Udfyld venligst dette felt med et gyldigt VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Østrig', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Canada', + CH: 'Schweiz', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrig', + GB: 'Storbritannien', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marokko', + NL: 'Holland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumænien', + RU: 'Rusland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakiet', + US: 'USA', + }, + country: 'Udfyld venligst dette felt med et gyldigt postnummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt postnummer', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/de_DE.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/de_DE.js new file mode 100644 index 0000000..46694ff --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/de_DE.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Bitte eine Base64 Kodierung eingeben', + }, + between: { + default: 'Bitte einen Wert zwischen %s und %s eingeben', + notInclusive: 'Bitte einen Wert zwischen %s und %s (strictly) eingeben', + }, + bic: { + default: 'Bitte gültige BIC Nummer eingeben', + }, + callback: { + default: 'Bitte einen gültigen Wert eingeben', + }, + choice: { + between: 'Zwischen %s - %s Werten wählen', + default: 'Bitte einen gültigen Wert eingeben', + less: 'Bitte mindestens %s Werte eingeben', + more: 'Bitte maximal %s Werte eingeben', + }, + color: { + default: 'Bitte gültige Farbe eingeben', + }, + creditCard: { + default: 'Bitte gültige Kreditkartennr. eingeben', + }, + cusip: { + default: 'Bitte gültige CUSIP Nummer eingeben', + }, + date: { + default: 'Bitte gültiges Datum eingeben', + max: 'Bitte gültiges Datum vor %s', + min: 'Bitte gültiges Datum nach %s', + range: 'Bitte gültiges Datum im zwischen %s - %s', + }, + different: { + default: 'Bitte anderen Wert eingeben', + }, + digits: { + default: 'Bitte Zahlen eingeben', + }, + ean: { + default: 'Bitte gültige EAN Nummer eingeben', + }, + ein: { + default: 'Bitte gültige EIN Nummer eingeben', + }, + emailAddress: { + default: 'Bitte gültige Emailadresse eingeben', + }, + file: { + default: 'Bitte gültiges File eingeben', + }, + greaterThan: { + default: 'Bitte Wert größer gleich %s eingeben', + notInclusive: 'Bitte Wert größer als %s eingeben', + }, + grid: { + default: 'Bitte gültige GRId Nummer eingeben', + }, + hex: { + default: 'Bitte gültigen Hexadezimalwert eingeben', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Vereinigte Arabische Emirate', + AL: 'Albanien', + AO: 'Angola', + AT: 'Österreich', + AZ: 'Aserbaidschan', + BA: 'Bosnien und Herzegowina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbeinküste', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Kap Verde', + CY: 'Zypern', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + DO: 'Dominikanische Republik', + DZ: 'Algerien', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finnland', + FO: 'Färöer-Inseln', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grönland', + GR: 'Griechenland', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordanien', + KW: 'Kuwait', + KZ: 'Kasachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MC: 'Monaco', + MD: 'Moldawien', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Mazedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Niederlande', + NO: 'Norwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palästina', + PT: 'Portugal', + QA: 'Katar', + RO: 'Rumänien', + RS: 'Serbien', + SA: 'Saudi-Arabien', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Ost-Timor', + TN: 'Tunesien', + TR: 'Türkei', + VG: 'Jungferninseln', + XK: 'Republik Kosovo', + }, + country: 'Bitte eine gültige IBAN Nummer für %s eingeben', + default: 'Bitte eine gültige IBAN Nummer eingeben', + }, + id: { + countries: { + BA: 'Bosnien und Herzegowina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'China', + CZ: 'Tschechische', + DK: 'Dänemark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finnland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Lettland', + ME: 'Montenegro', + MK: 'Mazedonien', + NL: 'Niederlande', + PL: 'Polen', + RO: 'Rumänien', + RS: 'Serbien', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Türkei', + ZA: 'Südafrika', + }, + country: 'Bitte gültige Identifikationsnummer für %s eingeben', + default: 'Bitte gültige Identifikationsnnummer eingeben', + }, + identical: { + default: 'Bitte gleichen Wert eingeben', + }, + imei: { + default: 'Bitte gültige IMEI Nummer eingeben', + }, + imo: { + default: 'Bitte gültige IMO Nummer eingeben', + }, + integer: { + default: 'Bitte Zahl eingeben', + }, + ip: { + default: 'Bitte gültige IP-Adresse eingeben', + ipv4: 'Bitte gültige IPv4 Adresse eingeben', + ipv6: 'Bitte gültige IPv6 Adresse eingeben', + }, + isbn: { + default: 'Bitte gültige ISBN Nummer eingeben', + }, + isin: { + default: 'Bitte gültige ISIN Nummer eingeben', + }, + ismn: { + default: 'Bitte gültige ISMN Nummer eingeben', + }, + issn: { + default: 'Bitte gültige ISSN Nummer eingeben', + }, + lessThan: { + default: 'Bitte Wert kleiner gleich %s eingeben', + notInclusive: 'Bitte Wert kleiner als %s eingeben', + }, + mac: { + default: 'Bitte gültige MAC Adresse eingeben', + }, + meid: { + default: 'Bitte gültige MEID Nummer eingeben', + }, + notEmpty: { + default: 'Bitte Wert eingeben', + }, + numeric: { + default: 'Bitte Nummer eingeben', + }, + phone: { + countries: { + AE: 'Vereinigte Arabische Emirate', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'China', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + ES: 'Spanien', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + IN: 'Indien', + MA: 'Marokko', + NL: 'Niederlande', + PK: 'Pakistan', + RO: 'Rumänien', + RU: 'Russland', + SK: 'Slowakei', + TH: 'Thailand', + US: 'Vereinigte Staaten von Amerika', + VE: 'Venezuela', + }, + country: 'Bitte valide Telefonnummer für %s eingeben', + default: 'Bitte gültige Telefonnummer eingeben', + }, + promise: { + default: 'Bitte einen gültigen Wert eingeben', + }, + regexp: { + default: 'Bitte Wert eingeben, der der Maske entspricht', + }, + remote: { + default: 'Bitte einen gültigen Wert eingeben', + }, + rtn: { + default: 'Bitte gültige RTN Nummer eingeben', + }, + sedol: { + default: 'Bitte gültige SEDOL Nummer eingeben', + }, + siren: { + default: 'Bitte gültige SIREN Nummer eingeben', + }, + siret: { + default: 'Bitte gültige SIRET Nummer eingeben', + }, + step: { + default: 'Bitte einen gültigen Schritt von %s eingeben', + }, + stringCase: { + default: 'Bitte nur Kleinbuchstaben eingeben', + upper: 'Bitte nur Großbuchstaben eingeben', + }, + stringLength: { + between: 'Bitte Wert zwischen %s und %s Zeichen eingeben', + default: 'Bitte Wert mit gültiger Länge eingeben', + less: 'Bitte weniger als %s Zeichen eingeben', + more: 'Bitte mehr als %s Zeichen eingeben', + }, + uri: { + default: 'Bitte gültige URI eingeben', + }, + uuid: { + default: 'Bitte gültige UUID Nummer eingeben', + version: 'Bitte gültige UUID Version %s eingeben', + }, + vat: { + countries: { + AT: 'Österreich', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Zypern', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + EE: 'Estland', + EL: 'Griechenland', + ES: 'Spanisch', + FI: 'Finnland', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + GR: 'Griechenland', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MT: 'Malta', + NL: 'Niederlande', + NO: 'Norwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RS: 'Serbien', + RU: 'Russland', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + VE: 'Venezuela', + ZA: 'Südafrika', + }, + country: 'Bitte gültige VAT Nummer für %s eingeben', + default: 'Bitte gültige VAT Nummer eingeben', + }, + vin: { + default: 'Bitte gültige VIN Nummer eingeben', + }, + zipCode: { + countries: { + AT: 'Österreich', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Kanada', + CH: 'Schweiz', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + ES: 'Spanien', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marokko', + NL: 'Niederlande', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RU: 'Russland', + SE: 'Schweden', + SG: 'Singapur', + SK: 'Slowakei', + US: 'Vereinigte Staaten von Amerika', + }, + country: 'Bitte gültige Postleitzahl für %s eingeben', + default: 'Bitte gültige PLZ eingeben', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/el_GR.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/el_GR.js new file mode 100644 index 0000000..6878be3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/el_GR.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Παρακαλώ εισάγετε μια έγκυρη κωδικοποίηση base 64', + }, + between: { + default: 'Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s αυστηρά', + }, + bic: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό BIC', + }, + callback: { + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + }, + choice: { + between: 'Παρακαλώ επιλέξτε %s - %s επιλογές', + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + less: 'Παρακαλώ επιλέξτε %s επιλογές στο ελάχιστο', + more: 'Παρακαλώ επιλέξτε %s επιλογές στο μέγιστο', + }, + color: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο χρώμα', + }, + creditCard: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό πιστωτικής κάρτας', + }, + cusip: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό CUSIP', + }, + date: { + default: 'Παρακαλώ εισάγετε μια έγκυρη ημερομηνία', + max: 'Παρακαλώ εισάγετε ημερομηνία πριν από %s', + min: 'Παρακαλώ εισάγετε ημερομηνία μετά από %s', + range: 'Παρακαλώ εισάγετε ημερομηνία μεταξύ %s - %s', + }, + different: { + default: 'Παρακαλώ εισάγετε μια διαφορετική τιμή', + }, + digits: { + default: 'Παρακαλώ εισάγετε μόνο ψηφία', + }, + ean: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό EAN', + }, + ein: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό EIN', + }, + emailAddress: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο email', + }, + file: { + default: 'Παρακαλώ επιλέξτε ένα έγκυρο αρχείο', + }, + greaterThan: { + default: 'Παρακαλώ εισάγετε μια τιμή μεγαλύτερη ή ίση με %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μεγαλύτερη από %s', + }, + grid: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό GRId', + }, + hex: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο δεκαεξαδικό αριθμό', + }, + iban: { + countries: { + AD: 'Ανδόρα', + AE: 'Ηνωμένα Αραβικά Εμιράτα', + AL: 'Αλβανία', + AO: 'Αγκόλα', + AT: 'Αυστρία', + AZ: 'Αζερμπαϊτζάν', + BA: 'Βοσνία και Ερζεγοβίνη', + BE: 'Βέλγιο', + BF: 'Μπουρκίνα Φάσο', + BG: 'Βουλγαρία', + BH: 'Μπαχρέιν', + BI: 'Μπουρούντι', + BJ: 'Μπενίν', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CI: 'Ακτή Ελεφαντοστού', + CM: 'Καμερούν', + CR: 'Κόστα Ρίκα', + CV: 'Cape Verde', + CY: 'Κύπρος', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + DO: 'Δομινικανή Δημοκρατία', + DZ: 'Αλγερία', + EE: 'Εσθονία', + ES: 'Ισπανία', + FI: 'Φινλανδία', + FO: 'Νησιά Φερόε', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + GE: 'Γεωργία', + GI: 'Γιβραλτάρ', + GL: 'Γροιλανδία', + GR: 'Ελλάδα', + GT: 'Γουατεμάλα', + HR: 'Κροατία', + HU: 'Ουγγαρία', + IE: 'Ιρλανδία', + IL: 'Ισραήλ', + IR: 'Ιράν', + IS: 'Ισλανδία', + IT: 'Ιταλία', + JO: 'Ιορδανία', + KW: 'Κουβέιτ', + KZ: 'Καζακστάν', + LB: 'Λίβανος', + LI: 'Λιχτενστάιν', + LT: 'Λιθουανία', + LU: 'Λουξεμβούργο', + LV: 'Λετονία', + MC: 'Μονακό', + MD: 'Μολδαβία', + ME: 'Μαυροβούνιο', + MG: 'Μαδαγασκάρη', + MK: 'πΓΔΜ', + ML: 'Μάλι', + MR: 'Μαυριτανία', + MT: 'Μάλτα', + MU: 'Μαυρίκιος', + MZ: 'Μοζαμβίκη', + NL: 'Ολλανδία', + NO: 'Νορβηγία', + PK: 'Πακιστάν', + PL: 'Πολωνία', + PS: 'Παλαιστίνη', + PT: 'Πορτογαλία', + QA: 'Κατάρ', + RO: 'Ρουμανία', + RS: 'Σερβία', + SA: 'Σαουδική Αραβία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + SM: 'Σαν Μαρίνο', + SN: 'Σενεγάλη', + TL: 'Ανατολικό Τιμόρ', + TN: 'Τυνησία', + TR: 'Τουρκία', + VG: 'Βρετανικές Παρθένοι Νήσοι', + XK: 'Δημοκρατία του Κοσσυφοπεδίου', + }, + country: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN στην %s', + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN', + }, + id: { + countries: { + BA: 'Βοσνία και Ερζεγοβίνη', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CL: 'Χιλή', + CN: 'Κίνα', + CZ: 'Δημοκρατία της Τσεχίας', + DK: 'Δανία', + EE: 'Εσθονία', + ES: 'Ισπανία', + FI: 'Φινλανδία', + HR: 'Κροατία', + IE: 'Ιρλανδία', + IS: 'Ισλανδία', + LT: 'Λιθουανία', + LV: 'Λετονία', + ME: 'Μαυροβούνιο', + MK: 'Μακεδονία', + NL: 'Ολλανδία', + PL: 'Πολωνία', + RO: 'Ρουμανία', + RS: 'Σερβία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + SM: 'Σαν Μαρίνο', + TH: 'Ταϊλάνδη', + TR: 'Τουρκία', + ZA: 'Νότια Αφρική', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας', + }, + identical: { + default: 'Παρακαλώ εισάγετε την ίδια τιμή', + }, + imei: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMEI', + }, + imo: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMO', + }, + integer: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό', + }, + ip: { + default: 'Παρακαλώ εισάγετε μία έγκυρη IP διεύθυνση', + ipv4: 'Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv4', + ipv6: 'Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv6', + }, + isbn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISBN', + }, + isin: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISIN', + }, + ismn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISMN', + }, + issn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISSN', + }, + lessThan: { + default: 'Παρακαλώ εισάγετε μια τιμή μικρότερη ή ίση με %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μικρότερη από %s', + }, + mac: { + default: 'Παρακαλώ εισάγετε μία έγκυρη MAC διεύθυνση', + }, + meid: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό MEID', + }, + notEmpty: { + default: 'Παρακαλώ εισάγετε μια τιμή', + }, + numeric: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο δεκαδικό αριθμό', + }, + phone: { + countries: { + AE: 'Ηνωμένα Αραβικά Εμιράτα', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CN: 'Κίνα', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + ES: 'Ισπανία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + IN: 'Ινδία', + MA: 'Μαρόκο', + NL: 'Ολλανδία', + PK: 'Πακιστάν', + RO: 'Ρουμανία', + RU: 'Ρωσία', + SK: 'Σλοβακία', + TH: 'Ταϊλάνδη', + US: 'ΗΠΑ', + VE: 'Βενεζουέλα', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου', + }, + promise: { + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + }, + regexp: { + default: 'Παρακαλώ εισάγετε μια τιμή όπου ταιριάζει στο υπόδειγμα', + }, + remote: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό', + }, + rtn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό RTN', + }, + sedol: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SEDOL', + }, + siren: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIREN', + }, + siret: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIRET', + }, + step: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο βήμα από %s', + }, + stringCase: { + default: 'Παρακαλώ εισάγετε μόνο πεζούς χαρακτήρες', + upper: 'Παρακαλώ εισάγετε μόνο κεφαλαία γράμματα', + }, + stringLength: { + between: 'Παρακαλούμε, εισάγετε τιμή μεταξύ %s και %s μήκος χαρακτήρων', + default: 'Παρακαλώ εισάγετε μια τιμή με έγκυρο μήκος', + less: 'Παρακαλούμε εισάγετε λιγότερο από %s χαρακτήρες', + more: 'Παρακαλούμε εισάγετε περισσότερο από %s χαρακτήρες', + }, + uri: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο URI', + }, + uuid: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό UUID', + version: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό έκδοσης %s', + }, + vat: { + countries: { + AT: 'Αυστρία', + BE: 'Βέλγιο', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CY: 'Κύπρος', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + EE: 'Εσθονία', + EL: 'Ελλάδα', + ES: 'Ισπανία', + FI: 'Φινλανδία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + GR: 'Ελλάδα', + HR: 'Κροατία', + HU: 'Ουγγαρία', + IE: 'Ιρλανδία', + IS: 'Ισλανδία', + IT: 'Ιταλία', + LT: 'Λιθουανία', + LU: 'Λουξεμβούργο', + LV: 'Λετονία', + MT: 'Μάλτα', + NL: 'Ολλανδία', + NO: 'Νορβηγία', + PL: 'Πολωνία', + PT: 'Πορτογαλία', + RO: 'Ρουμανία', + RS: 'Σερβία', + RU: 'Ρωσία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + VE: 'Βενεζουέλα', + ZA: 'Νότια Αφρική', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ', + }, + vin: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό VIN', + }, + zipCode: { + countries: { + AT: 'Αυστρία', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CA: 'Καναδάς', + CH: 'Ελβετία', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + ES: 'Ισπανία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + IE: 'Ιρλανδία', + IN: 'Ινδία', + IT: 'Ιταλία', + MA: 'Μαρόκο', + NL: 'Ολλανδία', + PL: 'Πολωνία', + PT: 'Πορτογαλία', + RO: 'Ρουμανία', + RU: 'Ρωσία', + SE: 'Σουηδία', + SG: 'Σιγκαπούρη', + SK: 'Σλοβακία', + US: 'ΗΠΑ', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/en_US.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/en_US.js new file mode 100644 index 0000000..4c8eada --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/en_US.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Please enter a valid base 64 encoded', + }, + between: { + default: 'Please enter a value between %s and %s', + notInclusive: 'Please enter a value between %s and %s strictly', + }, + bic: { + default: 'Please enter a valid BIC number', + }, + callback: { + default: 'Please enter a valid value', + }, + choice: { + between: 'Please choose %s - %s options', + default: 'Please enter a valid value', + less: 'Please choose %s options at minimum', + more: 'Please choose %s options at maximum', + }, + color: { + default: 'Please enter a valid color', + }, + creditCard: { + default: 'Please enter a valid credit card number', + }, + cusip: { + default: 'Please enter a valid CUSIP number', + }, + date: { + default: 'Please enter a valid date', + max: 'Please enter a date before %s', + min: 'Please enter a date after %s', + range: 'Please enter a date in the range %s - %s', + }, + different: { + default: 'Please enter a different value', + }, + digits: { + default: 'Please enter only digits', + }, + ean: { + default: 'Please enter a valid EAN number', + }, + ein: { + default: 'Please enter a valid EIN number', + }, + emailAddress: { + default: 'Please enter a valid email address', + }, + file: { + default: 'Please choose a valid file', + }, + greaterThan: { + default: 'Please enter a value greater than or equal to %s', + notInclusive: 'Please enter a value greater than %s', + }, + grid: { + default: 'Please enter a valid GRId number', + }, + hex: { + default: 'Please enter a valid hexadecimal number', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'United Arab Emirates', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia and Herzegovina', + BE: 'Belgium', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Switzerland', + CI: 'Ivory Coast', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + DO: 'Dominican Republic', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spain', + FI: 'Finland', + FO: 'Faroe Islands', + FR: 'France', + GB: 'United Kingdom', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Greece', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Italy', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Netherlands', + NO: 'Norway', + PK: 'Pakistan', + PL: 'Poland', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'East Timor', + TN: 'Tunisia', + TR: 'Turkey', + VG: 'Virgin Islands, British', + XK: 'Republic of Kosovo', + }, + country: 'Please enter a valid IBAN number in %s', + default: 'Please enter a valid IBAN number', + }, + id: { + countries: { + BA: 'Bosnia and Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CL: 'Chile', + CN: 'China', + CZ: 'Czech Republic', + DK: 'Denmark', + EE: 'Estonia', + ES: 'Spain', + FI: 'Finland', + HR: 'Croatia', + IE: 'Ireland', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Netherlands', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkey', + ZA: 'South Africa', + }, + country: 'Please enter a valid identification number in %s', + default: 'Please enter a valid identification number', + }, + identical: { + default: 'Please enter the same value', + }, + imei: { + default: 'Please enter a valid IMEI number', + }, + imo: { + default: 'Please enter a valid IMO number', + }, + integer: { + default: 'Please enter a valid number', + }, + ip: { + default: 'Please enter a valid IP address', + ipv4: 'Please enter a valid IPv4 address', + ipv6: 'Please enter a valid IPv6 address', + }, + isbn: { + default: 'Please enter a valid ISBN number', + }, + isin: { + default: 'Please enter a valid ISIN number', + }, + ismn: { + default: 'Please enter a valid ISMN number', + }, + issn: { + default: 'Please enter a valid ISSN number', + }, + lessThan: { + default: 'Please enter a value less than or equal to %s', + notInclusive: 'Please enter a value less than %s', + }, + mac: { + default: 'Please enter a valid MAC address', + }, + meid: { + default: 'Please enter a valid MEID number', + }, + notEmpty: { + default: 'Please enter a value', + }, + numeric: { + default: 'Please enter a valid float number', + }, + phone: { + countries: { + AE: 'United Arab Emirates', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'China', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + ES: 'Spain', + FR: 'France', + GB: 'United Kingdom', + IN: 'India', + MA: 'Morocco', + NL: 'Netherlands', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovakia', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Please enter a valid phone number in %s', + default: 'Please enter a valid phone number', + }, + promise: { + default: 'Please enter a valid value', + }, + regexp: { + default: 'Please enter a value matching the pattern', + }, + remote: { + default: 'Please enter a valid value', + }, + rtn: { + default: 'Please enter a valid RTN number', + }, + sedol: { + default: 'Please enter a valid SEDOL number', + }, + siren: { + default: 'Please enter a valid SIREN number', + }, + siret: { + default: 'Please enter a valid SIRET number', + }, + step: { + default: 'Please enter a valid step of %s', + }, + stringCase: { + default: 'Please enter only lowercase characters', + upper: 'Please enter only uppercase characters', + }, + stringLength: { + between: 'Please enter value between %s and %s characters long', + default: 'Please enter a value with valid length', + less: 'Please enter less than %s characters', + more: 'Please enter more than %s characters', + }, + uri: { + default: 'Please enter a valid URI', + }, + uuid: { + default: 'Please enter a valid UUID number', + version: 'Please enter a valid UUID version %s number', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgium', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CY: 'Cyprus', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + EE: 'Estonia', + EL: 'Greece', + ES: 'Spain', + FI: 'Finland', + FR: 'France', + GB: 'United Kingdom', + GR: 'Greece', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IS: 'Iceland', + IT: 'Italy', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Netherlands', + NO: 'Norway', + PL: 'Poland', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'South Africa', + }, + country: 'Please enter a valid VAT number in %s', + default: 'Please enter a valid VAT number', + }, + vin: { + default: 'Please enter a valid VIN number', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Canada', + CH: 'Switzerland', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + ES: 'Spain', + FR: 'France', + GB: 'United Kingdom', + IE: 'Ireland', + IN: 'India', + IT: 'Italy', + MA: 'Morocco', + NL: 'Netherlands', + PL: 'Poland', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russia', + SE: 'Sweden', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Please enter a valid postal code in %s', + default: 'Please enter a valid postal code', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/es_CL.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/es_CL.js new file mode 100644 index 0000000..2b8febd --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/es_CL.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Por favor ingrese un valor válido en base 64', + }, + between: { + default: 'Por favor ingrese un valor entre %s y %s', + notInclusive: 'Por favor ingrese un valor sólo entre %s and %s', + }, + bic: { + default: 'Por favor ingrese un número BIC válido', + }, + callback: { + default: 'Por favor ingrese un valor válido', + }, + choice: { + between: 'Por favor elija de %s a %s opciones', + default: 'Por favor ingrese un valor válido', + less: 'Por favor elija %s opciones como mínimo', + more: 'Por favor elija %s optiones como máximo', + }, + color: { + default: 'Por favor ingrese un color válido', + }, + creditCard: { + default: 'Por favor ingrese un número válido de tarjeta de crédito', + }, + cusip: { + default: 'Por favor ingrese un número CUSIP válido', + }, + date: { + default: 'Por favor ingrese una fecha válida', + max: 'Por favor ingrese una fecha anterior a %s', + min: 'Por favor ingrese una fecha posterior a %s', + range: 'Por favor ingrese una fecha en el rango %s - %s', + }, + different: { + default: 'Por favor ingrese un valor distinto', + }, + digits: { + default: 'Por favor ingrese sólo dígitos', + }, + ean: { + default: 'Por favor ingrese un número EAN válido', + }, + ein: { + default: 'Por favor ingrese un número EIN válido', + }, + emailAddress: { + default: 'Por favor ingrese un email válido', + }, + file: { + default: 'Por favor elija un archivo válido', + }, + greaterThan: { + default: 'Por favor ingrese un valor mayor o igual a %s', + notInclusive: 'Por favor ingrese un valor mayor que %s', + }, + grid: { + default: 'Por favor ingrese un número GRId válido', + }, + hex: { + default: 'Por favor ingrese un valor hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratos Árabes Unidos', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaiyán', + BA: 'Bosnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suiza', + CI: 'Costa de Marfil', + CM: 'Camerún', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argelia', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + FO: 'Islas Feroe', + FR: 'Francia', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Mónaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Malí', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauricio', + MZ: 'Mozambique', + NL: 'Países Bajos', + NO: 'Noruega', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Rumania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Túnez', + TR: 'Turquía', + VG: 'Islas Vírgenes Británicas', + XK: 'República de Kosovo', + }, + country: 'Por favor ingrese un número IBAN válido en %s', + default: 'Por favor ingrese un número IBAN válido', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + HR: 'Croacia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Países Bajos', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turquía', + ZA: 'Sudáfrica', + }, + country: 'Por favor ingrese un número de identificación válido en %s', + default: 'Por favor ingrese un número de identificación válido', + }, + identical: { + default: 'Por favor ingrese el mismo valor', + }, + imei: { + default: 'Por favor ingrese un número IMEI válido', + }, + imo: { + default: 'Por favor ingrese un número IMO válido', + }, + integer: { + default: 'Por favor ingrese un número válido', + }, + ip: { + default: 'Por favor ingrese una dirección IP válida', + ipv4: 'Por favor ingrese una dirección IPv4 válida', + ipv6: 'Por favor ingrese una dirección IPv6 válida', + }, + isbn: { + default: 'Por favor ingrese un número ISBN válido', + }, + isin: { + default: 'Por favor ingrese un número ISIN válido', + }, + ismn: { + default: 'Por favor ingrese un número ISMN válido', + }, + issn: { + default: 'Por favor ingrese un número ISSN válido', + }, + lessThan: { + default: 'Por favor ingrese un valor menor o igual a %s', + notInclusive: 'Por favor ingrese un valor menor que %s', + }, + mac: { + default: 'Por favor ingrese una dirección MAC válida', + }, + meid: { + default: 'Por favor ingrese un número MEID válido', + }, + notEmpty: { + default: 'Por favor ingrese un valor', + }, + numeric: { + default: 'Por favor ingrese un número decimal válido', + }, + phone: { + countries: { + AE: 'Emiratos Árabes Unidos', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IN: 'India', + MA: 'Marruecos', + NL: 'Países Bajos', + PK: 'Pakistán', + RO: 'Rumania', + RU: 'Rusa', + SK: 'Eslovaquia', + TH: 'Tailandia', + US: 'Estados Unidos', + VE: 'Venezuela', + }, + country: 'Por favor ingrese un número válido de teléfono en %s', + default: 'Por favor ingrese un número válido de teléfono', + }, + promise: { + default: 'Por favor ingrese un valor válido', + }, + regexp: { + default: 'Por favor ingrese un valor que coincida con el patrón', + }, + remote: { + default: 'Por favor ingrese un valor válido', + }, + rtn: { + default: 'Por favor ingrese un número RTN válido', + }, + sedol: { + default: 'Por favor ingrese un número SEDOL válido', + }, + siren: { + default: 'Por favor ingrese un número SIREN válido', + }, + siret: { + default: 'Por favor ingrese un número SIRET válido', + }, + step: { + default: 'Por favor ingrese un paso válido de %s', + }, + stringCase: { + default: 'Por favor ingrese sólo caracteres en minúscula', + upper: 'Por favor ingrese sólo caracteres en mayúscula', + }, + stringLength: { + between: 'Por favor ingrese un valor con una longitud entre %s y %s caracteres', + default: 'Por favor ingrese un valor con una longitud válida', + less: 'Por favor ingrese menos de %s caracteres', + more: 'Por favor ingrese más de %s caracteres', + }, + uri: { + default: 'Por favor ingresese una URI válida', + }, + uuid: { + default: 'Por favor ingrese un número UUID válido', + version: 'Por favor ingrese una versión UUID válida para %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Bélgica', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'España', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Reino Unido', + GR: 'Grecia', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Países Bajos', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Rumanía', + RS: 'Serbia', + RU: 'Rusa', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + VE: 'Venezuela', + ZA: 'Sudáfrica', + }, + country: 'Por favor ingrese un número VAT válido en %s', + default: 'Por favor ingrese un número VAT válido', + }, + vin: { + default: 'Por favor ingrese un número VIN válido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suiza', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marruecos', + NL: 'Países Bajos', + PL: 'Poland', + PT: 'Portugal', + RO: 'Rumanía', + RU: 'Rusia', + SE: 'Suecia', + SG: 'Singapur', + SK: 'Eslovaquia', + US: 'Estados Unidos', + }, + country: 'Por favor ingrese un código postal válido en %s', + default: 'Por favor ingrese un código postal válido', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/es_ES.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/es_ES.js new file mode 100644 index 0000000..ebb7b1d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/es_ES.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Por favor introduce un valor válido en base 64', + }, + between: { + default: 'Por favor introduce un valor entre %s y %s', + notInclusive: 'Por favor introduce un valor sólo entre %s and %s', + }, + bic: { + default: 'Por favor introduce un número BIC válido', + }, + callback: { + default: 'Por favor introduce un valor válido', + }, + choice: { + between: 'Por favor elija de %s a %s opciones', + default: 'Por favor introduce un valor válido', + less: 'Por favor elija %s opciones como mínimo', + more: 'Por favor elija %s optiones como máximo', + }, + color: { + default: 'Por favor introduce un color válido', + }, + creditCard: { + default: 'Por favor introduce un número válido de tarjeta de crédito', + }, + cusip: { + default: 'Por favor introduce un número CUSIP válido', + }, + date: { + default: 'Por favor introduce una fecha válida', + max: 'Por favor introduce una fecha previa al %s', + min: 'Por favor introduce una fecha posterior al %s', + range: 'Por favor introduce una fecha entre el %s y el %s', + }, + different: { + default: 'Por favor introduce un valor distinto', + }, + digits: { + default: 'Por favor introduce sólo dígitos', + }, + ean: { + default: 'Por favor introduce un número EAN válido', + }, + ein: { + default: 'Por favor introduce un número EIN válido', + }, + emailAddress: { + default: 'Por favor introduce un email válido', + }, + file: { + default: 'Por favor elija un archivo válido', + }, + greaterThan: { + default: 'Por favor introduce un valor mayor o igual a %s', + notInclusive: 'Por favor introduce un valor mayor que %s', + }, + grid: { + default: 'Por favor introduce un número GRId válido', + }, + hex: { + default: 'Por favor introduce un valor hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratos Árabes Unidos', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaiyán', + BA: 'Bosnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suiza', + CI: 'Costa de Marfil', + CM: 'Camerún', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argelia', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + FO: 'Islas Feroe', + FR: 'Francia', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Mónaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Malí', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauricio', + MZ: 'Mozambique', + NL: 'Países Bajos', + NO: 'Noruega', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Rumania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Túnez', + TR: 'Turquía', + VG: 'Islas Vírgenes Británicas', + XK: 'República de Kosovo', + }, + country: 'Por favor introduce un número IBAN válido en %s', + default: 'Por favor introduce un número IBAN válido', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + HR: 'Croacia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Países Bajos', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turquía', + ZA: 'Sudáfrica', + }, + country: 'Por favor introduce un número válido de identificación en %s', + default: 'Por favor introduce un número de identificación válido', + }, + identical: { + default: 'Por favor introduce el mismo valor', + }, + imei: { + default: 'Por favor introduce un número IMEI válido', + }, + imo: { + default: 'Por favor introduce un número IMO válido', + }, + integer: { + default: 'Por favor introduce un número válido', + }, + ip: { + default: 'Por favor introduce una dirección IP válida', + ipv4: 'Por favor introduce una dirección IPv4 válida', + ipv6: 'Por favor introduce una dirección IPv6 válida', + }, + isbn: { + default: 'Por favor introduce un número ISBN válido', + }, + isin: { + default: 'Por favor introduce un número ISIN válido', + }, + ismn: { + default: 'Por favor introduce un número ISMN válido', + }, + issn: { + default: 'Por favor introduce un número ISSN válido', + }, + lessThan: { + default: 'Por favor introduce un valor menor o igual a %s', + notInclusive: 'Por favor introduce un valor menor que %s', + }, + mac: { + default: 'Por favor introduce una dirección MAC válida', + }, + meid: { + default: 'Por favor introduce un número MEID válido', + }, + notEmpty: { + default: 'Por favor introduce un valor', + }, + numeric: { + default: 'Por favor introduce un número decimal válido', + }, + phone: { + countries: { + AE: 'Emiratos Árabes Unidos', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IN: 'India', + MA: 'Marruecos', + NL: 'Países Bajos', + PK: 'Pakistán', + RO: 'Rumania', + RU: 'Rusa', + SK: 'Eslovaquia', + TH: 'Tailandia', + US: 'Estados Unidos', + VE: 'Venezuela', + }, + country: 'Por favor introduce un número válido de teléfono en %s', + default: 'Por favor introduce un número válido de teléfono', + }, + promise: { + default: 'Por favor introduce un valor válido', + }, + regexp: { + default: 'Por favor introduce un valor que coincida con el patrón', + }, + remote: { + default: 'Por favor introduce un valor válido', + }, + rtn: { + default: 'Por favor introduce un número RTN válido', + }, + sedol: { + default: 'Por favor introduce un número SEDOL válido', + }, + siren: { + default: 'Por favor introduce un número SIREN válido', + }, + siret: { + default: 'Por favor introduce un número SIRET válido', + }, + step: { + default: 'Por favor introduce un paso válido de %s', + }, + stringCase: { + default: 'Por favor introduce sólo caracteres en minúscula', + upper: 'Por favor introduce sólo caracteres en mayúscula', + }, + stringLength: { + between: 'Por favor introduce un valor con una longitud entre %s y %s caracteres', + default: 'Por favor introduce un valor con una longitud válida', + less: 'Por favor introduce menos de %s caracteres', + more: 'Por favor introduce más de %s caracteres', + }, + uri: { + default: 'Por favor introduce una URI válida', + }, + uuid: { + default: 'Por favor introduce un número UUID válido', + version: 'Por favor introduce una versión UUID válida para %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Bélgica', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'España', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Reino Unido', + GR: 'Grecia', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Países Bajos', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Rumanía', + RS: 'Serbia', + RU: 'Rusa', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + VE: 'Venezuela', + ZA: 'Sudáfrica', + }, + country: 'Por favor introduce un número IVA válido en %s', + default: 'Por favor introduce un número IVA válido', + }, + vin: { + default: 'Por favor introduce un número VIN válido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suiza', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marruecos', + NL: 'Países Bajos', + PL: 'Poland', + PT: 'Portugal', + RO: 'Rumanía', + RU: 'Rusa', + SE: 'Suecia', + SG: 'Singapur', + SK: 'Eslovaquia', + US: 'Estados Unidos', + }, + country: 'Por favor introduce un código postal válido en %s', + default: 'Por favor introduce un código postal válido', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/eu_ES.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/eu_ES.js new file mode 100644 index 0000000..1218f60 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/eu_ES.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Mesedez sartu base 64an balore egoki bat', + }, + between: { + default: 'Mesedez sartu %s eta %s artean balore bat', + notInclusive: 'Mesedez sartu %s eta %s arteko balore bat soilik', + }, + bic: { + default: 'Mesedez sartu BIC zenbaki egoki bat', + }, + callback: { + default: 'Mesedez sartu balore egoki bat', + }, + choice: { + between: 'Mesedez aukeratu %s eta %s arteko aukerak', + default: 'Mesedez sartu balore egoki bat', + less: 'Mesedez aukeraru %s aukera gutxienez', + more: 'Mesedez aukeraru %s aukera gehienez', + }, + color: { + default: 'Mesedezn sartu kolore egoki bat', + }, + creditCard: { + default: 'Mesedez sartu kerditu-txartelaren zenbaki egoki bat', + }, + cusip: { + default: 'Mesedez sartu CUSIP zenbaki egoki bat', + }, + date: { + default: 'Mesedez sartu data egoki bat', + max: 'Mesedez sartu %s baino lehenagoko data bat', + min: 'Mesedez sartu %s baino geroagoko data bat', + range: 'Mesedez sartu %s eta %s arteko data bat', + }, + different: { + default: 'Mesedez sartu balore ezberdin bat', + }, + digits: { + default: 'Mesedez sigituak soilik sartu', + }, + ean: { + default: 'Mesedez EAN zenbaki egoki bat sartu', + }, + ein: { + default: 'Mesedez EIN zenbaki egoki bat sartu', + }, + emailAddress: { + default: 'Mesedez e-posta egoki bat sartu', + }, + file: { + default: 'Mesedez artxibo egoki bat aukeratu', + }, + greaterThan: { + default: 'Mesedez %s baino handiagoa edo berdina den zenbaki bat sartu', + notInclusive: 'Mesedez %s baino handiagoa den zenbaki bat sartu', + }, + grid: { + default: 'Mesedez GRID zenbaki egoki bat sartu', + }, + hex: { + default: 'Mesedez sartu balore hamaseitar egoki bat', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Arabiar Emirerri Batuak', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia-Herzegovina', + BE: 'Belgika', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suitza', + CI: 'Boli Kosta', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + DO: 'Dominikar Errepublika', + DZ: 'Aljeria', + EE: 'Estonia', + ES: 'Espainia', + FI: 'Finlandia', + FO: 'Feroe Irlak', + FR: 'Frantzia', + GB: 'Erresuma Batua', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grezia', + GT: 'Guatemala', + HR: 'Kroazia', + HU: 'Hungaria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Monako', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Mazedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Maurizio', + MZ: 'Mozambike', + NL: 'Herbeherak', + NO: 'Norvegia', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Errumania', + RS: 'Serbia', + SA: 'Arabia Saudi', + SE: 'Suedia', + SI: 'Eslovenia', + SK: 'Eslovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Ekialdeko Timor', + TN: 'Tunisia', + TR: 'Turkia', + VG: 'Birjina Uharte Britainiar', + XK: 'Kosovoko Errepublika', + }, + country: 'Mesedez, sartu IBAN zenbaki egoki bat honako: %s', + default: 'Mesedez, sartu IBAN zenbaki egoki bat', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suitza', + CL: 'Txile', + CN: 'Txina', + CZ: 'Txekiar Errepublika', + DK: 'Danimarka', + EE: 'Estonia', + ES: 'Espainia', + FI: 'Finlandia', + HR: 'Kroazia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Mazedonia', + NL: 'Herbeherak', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovakia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turkia', + ZA: 'Hegoafrika', + }, + country: 'Mesedez baliozko identifikazio-zenbakia sartu honako: %s', + default: 'Mesedez baliozko identifikazio-zenbakia sartu', + }, + identical: { + default: 'Mesedez, balio bera sartu', + }, + imei: { + default: 'Mesedez, IMEI baliozko zenbaki bat sartu', + }, + imo: { + default: 'Mesedez, IMO baliozko zenbaki bat sartu', + }, + integer: { + default: 'Mesedez, baliozko zenbaki bat sartu', + }, + ip: { + default: 'Mesedez, baliozko IP helbide bat sartu', + ipv4: 'Mesedez, baliozko IPv4 helbide bat sartu', + ipv6: 'Mesedez, baliozko IPv6 helbide bat sartu', + }, + isbn: { + default: 'Mesedez, ISBN baliozko zenbaki bat sartu', + }, + isin: { + default: 'Mesedez, ISIN baliozko zenbaki bat sartu', + }, + ismn: { + default: 'Mesedez, ISMM baliozko zenbaki bat sartu', + }, + issn: { + default: 'Mesedez, ISSN baliozko zenbaki bat sartu', + }, + lessThan: { + default: 'Mesedez, %s en balio txikiagoa edo berdina sartu', + notInclusive: 'Mesedez, %s baino balio txikiago sartu', + }, + mac: { + default: 'Mesedez, baliozko MAC helbide bat sartu', + }, + meid: { + default: 'Mesedez, MEID baliozko zenbaki bat sartu', + }, + notEmpty: { + default: 'Mesedez balore bat sartu', + }, + numeric: { + default: 'Mesedez, baliozko zenbaki hamartar bat sartu', + }, + phone: { + countries: { + AE: 'Arabiar Emirerri Batua', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'Txina', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + ES: 'Espainia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + IN: 'India', + MA: 'Maroko', + NL: 'Herbeherak', + PK: 'Pakistan', + RO: 'Errumania', + RU: 'Errusiarra', + SK: 'Eslovakia', + TH: 'Tailandia', + US: 'Estatu Batuak', + VE: 'Venezuela', + }, + country: 'Mesedez baliozko telefono zenbaki bat sartu honako: %s', + default: 'Mesedez baliozko telefono zenbaki bat sartu', + }, + promise: { + default: 'Mesedez sartu balore egoki bat', + }, + regexp: { + default: 'Mesedez, patroiarekin bat datorren balio bat sartu', + }, + remote: { + default: 'Mesedez balore egoki bat sartu', + }, + rtn: { + default: 'Mesedez, RTN baliozko zenbaki bat sartu', + }, + sedol: { + default: 'Mesedez, SEDOL baliozko zenbaki bat sartu', + }, + siren: { + default: 'Mesedez, SIREN baliozko zenbaki bat sartu', + }, + siret: { + default: 'Mesedez, SIRET baliozko zenbaki bat sartu', + }, + step: { + default: 'Mesedez %s -ko pausu egoki bat sartu', + }, + stringCase: { + default: 'Mesedez, minuskulazko karaktereak bakarrik sartu', + upper: 'Mesedez, maiuzkulazko karaktereak bakarrik sartu', + }, + stringLength: { + between: 'Mesedez, %s eta %s arteko luzeera duen balore bat sartu', + default: 'Mesedez, luzeera egoki bateko baloreak bakarrik sartu', + less: 'Mesedez, %s baino karaktere gutxiago sartu', + more: 'Mesedez, %s baino karaktere gehiago sartu', + }, + uri: { + default: 'Mesedez, URI egoki bat sartu.', + }, + uuid: { + default: 'Mesedez, UUID baliozko zenbaki bat sartu', + version: 'Mesedez, UUID bertsio egoki bat sartu honendako: %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgika', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suitza', + CY: 'Txipre', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + EE: 'Estonia', + EL: 'Grezia', + ES: 'Espainia', + FI: 'Finlandia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + GR: 'Grezia', + HR: 'Kroazia', + HU: 'Hungaria', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Herbeherak', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Errumania', + RS: 'Serbia', + RU: 'Errusia', + SE: 'Suedia', + SI: 'Eslovenia', + SK: 'Eslovakia', + VE: 'Venezuela', + ZA: 'Hegoafrika', + }, + country: 'Mesedez, BEZ zenbaki egoki bat sartu herrialde hontarako: %s', + default: 'Mesedez, BEZ zenbaki egoki bat sartu', + }, + vin: { + default: 'Mesedez, baliozko VIN zenbaki bat sartu', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Kanada', + CH: 'Suitza', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + ES: 'Espainia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Maroko', + NL: 'Herbeherak', + PL: 'Poland', + PT: 'Portugal', + RO: 'Errumania', + RU: 'Errusia', + SE: 'Suedia', + SG: 'Singapur', + SK: 'Eslovakia', + US: 'Estatu Batuak', + }, + country: 'Mesedez, baliozko posta kode bat sartu herrialde honetarako: %s', + default: 'Mesedez, baliozko posta kode bat sartu', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/fa_IR.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/fa_IR.js new file mode 100644 index 0000000..6a39967 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/fa_IR.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'لطفا متن کد گذاری شده base 64 صحیح وارد فرمایید', + }, + between: { + default: 'لطفا یک مقدار بین %s و %s وارد فرمایید', + notInclusive: 'لطفا یک مقدار بین فقط %s و %s وارد فرمایید', + }, + bic: { + default: 'لطفا یک شماره BIC معتبر وارد فرمایید', + }, + callback: { + default: 'لطفا یک مقدار صحیح وارد فرمایید', + }, + choice: { + between: 'لطفا %s - %s گزینه انتخاب فرمایید', + default: 'لطفا یک مقدار صحیح وارد فرمایید', + less: 'لطفا حداقل %s گزینه را انتخاب فرمایید', + more: 'لطفا حداکثر %s گزینه را انتخاب فرمایید', + }, + color: { + default: 'لطفا رنگ صحیح وارد فرمایید', + }, + creditCard: { + default: 'لطفا یک شماره کارت اعتباری معتبر وارد فرمایید', + }, + cusip: { + default: 'لطفا یک شماره CUSIP معتبر وارد فرمایید', + }, + date: { + default: 'لطفا یک تاریخ معتبر وارد فرمایید', + max: 'لطفا یک تاریخ قبل از %s وارد فرمایید', + min: 'لطفا یک تاریخ بعد از %s وارد فرمایید', + range: 'لطفا یک تاریخ در بازه %s - %s وارد فرمایید', + }, + different: { + default: 'لطفا یک مقدار متفاوت وارد فرمایید', + }, + digits: { + default: 'لطفا فقط عدد وارد فرمایید', + }, + ean: { + default: 'لطفا یک شماره EAN معتبر وارد فرمایید', + }, + ein: { + default: 'لطفا یک شماره EIN معتبر وارد فرمایید', + }, + emailAddress: { + default: 'لطفا آدرس ایمیل معتبر وارد فرمایید', + }, + file: { + default: 'لطفا فایل معتبر انتخاب فرمایید', + }, + greaterThan: { + default: 'لطفا مقدار بزرگتر یا مساوی با %s وارد فرمایید', + notInclusive: 'لطفا مقدار بزرگتر از %s وارد فرمایید', + }, + grid: { + default: 'لطفا شماره GRId معتبر وارد فرمایید', + }, + hex: { + default: 'لطفا عدد هگزادسیمال صحیح وارد فرمایید', + }, + iban: { + countries: { + AD: 'آندورا', + AE: 'امارات متحده عربی', + AL: 'آلبانی', + AO: 'آنگولا', + AT: 'اتریش', + AZ: 'آذربایجان', + BA: 'بوسنی و هرزگوین', + BE: 'بلژیک', + BF: 'بورکینا فاسو', + BG: 'بلغارستان', + BH: 'بحرین', + BI: 'بروندی', + BJ: 'بنین', + BR: 'برزیل', + CH: 'سوئیس', + CI: 'ساحل عاج', + CM: 'کامرون', + CR: 'کاستاریکا', + CV: 'کیپ ورد', + CY: 'قبرس', + CZ: 'جمهوری چک', + DE: 'آلمان', + DK: 'دانمارک', + DO: 'جمهوری دومینیکن', + DZ: 'الجزایر', + EE: 'استونی', + ES: 'اسپانیا', + FI: 'فنلاند', + FO: 'جزایر فارو', + FR: 'فرانسه', + GB: 'بریتانیا', + GE: 'گرجستان', + GI: 'جبل الطارق', + GL: 'گرینلند', + GR: 'یونان', + GT: 'گواتمالا', + HR: 'کرواسی', + HU: 'مجارستان', + IE: 'ایرلند', + IL: 'اسرائیل', + IR: 'ایران', + IS: 'ایسلند', + IT: 'ایتالیا', + JO: 'اردن', + KW: 'کویت', + KZ: 'قزاقستان', + LB: 'لبنان', + LI: 'لیختن اشتاین', + LT: 'لیتوانی', + LU: 'لوکزامبورگ', + LV: 'لتونی', + MC: 'موناکو', + MD: 'مولدووا', + ME: 'مونته نگرو', + MG: 'ماداگاسکار', + MK: 'مقدونیه', + ML: 'مالی', + MR: 'موریتانی', + MT: 'مالت', + MU: 'موریس', + MZ: 'موزامبیک', + NL: 'هلند', + NO: 'نروژ', + PK: 'پاکستان', + PL: 'لهستان', + PS: 'فلسطین', + PT: 'پرتغال', + QA: 'قطر', + RO: 'رومانی', + RS: 'صربستان', + SA: 'عربستان سعودی', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + SM: 'سان مارینو', + SN: 'سنگال', + TL: 'تیمور شرق', + TN: 'تونس', + TR: 'ترکیه', + VG: 'جزایر ویرجین، بریتانیا', + XK: 'جمهوری کوزوو', + }, + country: 'لطفا یک شماره IBAN صحیح در %s وارد فرمایید', + default: 'لطفا شماره IBAN معتبر وارد فرمایید', + }, + id: { + countries: { + BA: 'بوسنی و هرزگوین', + BG: 'بلغارستان', + BR: 'برزیل', + CH: 'سوئیس', + CL: 'شیلی', + CN: 'چین', + CZ: 'چک', + DK: 'دانمارک', + EE: 'استونی', + ES: 'اسپانیا', + FI: 'فنلاند', + HR: 'کرواسی', + IE: 'ایرلند', + IS: 'ایسلند', + LT: 'لیتوانی', + LV: 'لتونی', + ME: 'مونته نگرو', + MK: 'مقدونیه', + NL: 'هلند', + PL: 'لهستان', + RO: 'رومانی', + RS: 'صربی', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + SM: 'سان مارینو', + TH: 'تایلند', + TR: 'ترکیه', + ZA: 'آفریقای جنوبی', + }, + country: 'لطفا یک شماره شناسایی معتبر در %s وارد کنید', + default: 'لطفا شماره شناسایی صحیح وارد فرمایید', + }, + identical: { + default: 'لطفا مقدار یکسان وارد فرمایید', + }, + imei: { + default: 'لطفا شماره IMEI معتبر وارد فرمایید', + }, + imo: { + default: 'لطفا شماره IMO معتبر وارد فرمایید', + }, + integer: { + default: 'لطفا یک عدد صحیح وارد فرمایید', + }, + ip: { + default: 'لطفا یک آدرس IP معتبر وارد فرمایید', + ipv4: 'لطفا یک آدرس IPv4 معتبر وارد فرمایید', + ipv6: 'لطفا یک آدرس IPv6 معتبر وارد فرمایید', + }, + isbn: { + default: 'لطفا شماره ISBN معتبر وارد فرمایید', + }, + isin: { + default: 'لطفا شماره ISIN معتبر وارد فرمایید', + }, + ismn: { + default: 'لطفا شماره ISMN معتبر وارد فرمایید', + }, + issn: { + default: 'لطفا شماره ISSN معتبر وارد فرمایید', + }, + lessThan: { + default: 'لطفا مقدار کمتر یا مساوی با %s وارد فرمایید', + notInclusive: 'لطفا مقدار کمتر از %s وارد فرمایید', + }, + mac: { + default: 'لطفا یک MAC address معتبر وارد فرمایید', + }, + meid: { + default: 'لطفا یک شماره MEID معتبر وارد فرمایید', + }, + notEmpty: { + default: 'لطفا یک مقدار وارد فرمایید', + }, + numeric: { + default: 'لطفا یک عدد اعشاری صحیح وارد فرمایید', + }, + phone: { + countries: { + AE: 'امارات متحده عربی', + BG: 'بلغارستان', + BR: 'برزیل', + CN: 'کشور چین', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + ES: 'اسپانیا', + FR: 'فرانسه', + GB: 'بریتانیا', + IN: 'هندوستان', + MA: 'مراکش', + NL: 'هلند', + PK: 'پاکستان', + RO: 'رومانی', + RU: 'روسیه', + SK: 'اسلواکی', + TH: 'تایلند', + US: 'ایالات متحده آمریکا', + VE: 'ونزوئلا', + }, + country: 'لطفا یک شماره تلفن معتبر وارد کنید در %s', + default: 'لطفا یک شماره تلفن صحیح وارد فرمایید', + }, + promise: { + default: 'لطفا یک مقدار صحیح وارد فرمایید', + }, + regexp: { + default: 'لطفا یک مقدار مطابق با الگو وارد فرمایید', + }, + remote: { + default: 'لطفا یک مقدار معتبر وارد فرمایید', + }, + rtn: { + default: 'لطفا یک شماره RTN صحیح وارد فرمایید', + }, + sedol: { + default: 'لطفا یک شماره SEDOL صحیح وارد فرمایید', + }, + siren: { + default: 'لطفا یک شماره SIREN صحیح وارد فرمایید', + }, + siret: { + default: 'لطفا یک شماره SIRET صحیح وارد فرمایید', + }, + step: { + default: 'لطفا یک گام صحیح از %s وارد فرمایید', + }, + stringCase: { + default: 'لطفا فقط حروف کوچک وارد فرمایید', + upper: 'لطفا فقط حروف بزرگ وارد فرمایید', + }, + stringLength: { + between: 'لطفا مقداری بین %s و %s حرف وارد فرمایید', + default: 'لطفا یک مقدار با طول صحیح وارد فرمایید', + less: 'لطفا کمتر از %s حرف وارد فرمایید', + more: 'لطفا بیش از %s حرف وارد فرمایید', + }, + uri: { + default: 'لطفا یک آدرس URI صحیح وارد فرمایید', + }, + uuid: { + default: 'لطفا یک شماره UUID معتبر وارد فرمایید', + version: 'لطفا یک نسخه UUID صحیح %s شماره وارد فرمایید', + }, + vat: { + countries: { + AT: 'اتریش', + BE: 'بلژیک', + BG: 'بلغارستان', + BR: 'برزیل', + CH: 'سوئیس', + CY: 'قبرس', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + EE: 'استونی', + EL: 'یونان', + ES: 'اسپانیا', + FI: 'فنلاند', + FR: 'فرانسه', + GB: 'بریتانیا', + GR: 'یونان', + HR: 'کرواسی', + HU: 'مجارستان', + IE: 'ایرلند', + IS: 'ایسلند', + IT: 'ایتالیا', + LT: 'لیتوانی', + LU: 'لوکزامبورگ', + LV: 'لتونی', + MT: 'مالت', + NL: 'هلند', + NO: 'نروژ', + PL: 'لهستانی', + PT: 'پرتغال', + RO: 'رومانی', + RS: 'صربستان', + RU: 'روسیه', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + VE: 'ونزوئلا', + ZA: 'آفریقای جنوبی', + }, + country: 'لطفا یک شماره VAT معتبر در %s وارد کنید', + default: 'لطفا یک شماره VAT صحیح وارد فرمایید', + }, + vin: { + default: 'لطفا یک شماره VIN صحیح وارد فرمایید', + }, + zipCode: { + countries: { + AT: 'اتریش', + BG: 'بلغارستان', + BR: 'برزیل', + CA: 'کانادا', + CH: 'سوئیس', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + ES: 'اسپانیا', + FR: 'فرانسه', + GB: 'بریتانیا', + IE: 'ایرلند', + IN: 'هندوستان', + IT: 'ایتالیا', + MA: 'مراکش', + NL: 'هلند', + PL: 'لهستان', + PT: 'پرتغال', + RO: 'رومانی', + RU: 'روسیه', + SE: 'سوئد', + SG: 'سنگاپور', + SK: 'اسلواکی', + US: 'ایالات متحده', + }, + country: 'لطفا یک کد پستی معتبر در %s وارد کنید', + default: 'لطفا یک کدپستی صحیح وارد فرمایید', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/fi_FI.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/fi_FI.js new file mode 100644 index 0000000..2ff0626 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/fi_FI.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Ole hyvä anna kelvollinen base64 koodattu merkkijono', + }, + between: { + default: 'Ole hyvä anna arvo %s ja %s väliltä', + notInclusive: 'Ole hyvä anna arvo %s ja %s väliltä', + }, + bic: { + default: 'Ole hyvä anna kelvollinen BIC numero', + }, + callback: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + choice: { + between: 'Ole hyvä valitse %s - %s valintaa', + default: 'Ole hyvä anna kelvollinen arvo', + less: 'Ole hyvä valitse vähintään %s valintaa', + more: 'Ole hyvä valitse enintään %s valintaa', + }, + color: { + default: 'Ole hyvä anna kelvollinen väriarvo', + }, + creditCard: { + default: 'Ole hyvä anna kelvollinen luottokortin numero', + }, + cusip: { + default: 'Ole hyvä anna kelvollinen CUSIP numero', + }, + date: { + default: 'Ole hyvä anna kelvollinen päiväys', + max: 'Ole hyvä anna %s edeltävä päiväys', + min: 'Ole hyvä anna %s jälkeinen päiväys', + range: 'Ole hyvä anna päiväys %s - %s väliltä', + }, + different: { + default: 'Ole hyvä anna jokin toinen arvo', + }, + digits: { + default: 'Vain numerot sallittuja', + }, + ean: { + default: 'Ole hyvä anna kelvollinen EAN numero', + }, + ein: { + default: 'Ole hyvä anna kelvollinen EIN numero', + }, + emailAddress: { + default: 'Ole hyvä anna kelvollinen sähköpostiosoite', + }, + file: { + default: 'Ole hyvä valitse kelvollinen tiedosto', + }, + greaterThan: { + default: 'Ole hyvä anna arvoksi yhtä suuri kuin, tai suurempi kuin %s', + notInclusive: 'Ole hyvä anna arvoksi suurempi kuin %s', + }, + grid: { + default: 'Ole hyvä anna kelvollinen GRId numero', + }, + hex: { + default: 'Ole hyvä anna kelvollinen heksadesimaali luku', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Yhdistyneet arabiemiirikunnat', + AL: 'Albania', + AO: 'Angola', + AT: 'Itävalta', + AZ: 'Azerbaidžan', + BA: 'Bosnia ja Hertsegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilia', + CH: 'Sveitsi', + CI: 'Norsunluurannikko', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Kypros', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + DO: 'Dominikaaninen tasavalta', + DZ: 'Algeria', + EE: 'Viro', + ES: 'Espanja', + FI: 'Suomi', + FO: 'Färsaaret', + FR: 'Ranska', + GB: 'Yhdistynyt kuningaskunta', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Grönlanti', + GR: 'Kreikka', + GT: 'Guatemala', + HR: 'Kroatia', + HU: 'Unkari', + IE: 'Irlanti', + IL: 'Israel', + IR: 'Iran', + IS: 'Islanti', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Liettua', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Makedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Hollanti', + NO: 'Norja', + PK: 'Pakistan', + PL: 'Puola', + PS: 'Palestiina', + PT: 'Portugali', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Itä-Timor', + TN: 'Tunisia', + TR: 'Turkki', + VG: 'Neitsytsaaret, Brittien', + XK: 'Kosovon tasavallan', + }, + country: 'Ole hyvä anna kelvollinen IBAN numero maassa %s', + default: 'Ole hyvä anna kelvollinen IBAN numero', + }, + id: { + countries: { + BA: 'Bosnia ja Hertsegovina', + BG: 'Bulgaria', + BR: 'Brasilia', + CH: 'Sveitsi', + CL: 'Chile', + CN: 'Kiina', + CZ: 'Tsekin tasavalta', + DK: 'Tanska', + EE: 'Viro', + ES: 'Espanja', + FI: 'Suomi', + HR: 'Kroatia', + IE: 'Irlanti', + IS: 'Islanti', + LT: 'Liettua', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Makedonia', + NL: 'Hollanti', + PL: 'Puola', + RO: 'Romania', + RS: 'Serbia', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thaimaa', + TR: 'Turkki', + ZA: 'Etelä Afrikka', + }, + country: 'Ole hyvä anna kelvollinen henkilötunnus maassa %s', + default: 'Ole hyvä anna kelvollinen henkilötunnus', + }, + identical: { + default: 'Ole hyvä anna sama arvo', + }, + imei: { + default: 'Ole hyvä anna kelvollinen IMEI numero', + }, + imo: { + default: 'Ole hyvä anna kelvollinen IMO numero', + }, + integer: { + default: 'Ole hyvä anna kelvollinen kokonaisluku', + }, + ip: { + default: 'Ole hyvä anna kelvollinen IP osoite', + ipv4: 'Ole hyvä anna kelvollinen IPv4 osoite', + ipv6: 'Ole hyvä anna kelvollinen IPv6 osoite', + }, + isbn: { + default: 'Ole hyvä anna kelvollinen ISBN numero', + }, + isin: { + default: 'Ole hyvä anna kelvollinen ISIN numero', + }, + ismn: { + default: 'Ole hyvä anna kelvollinen ISMN numero', + }, + issn: { + default: 'Ole hyvä anna kelvollinen ISSN numero', + }, + lessThan: { + default: 'Ole hyvä anna arvo joka on vähemmän kuin tai yhtä suuri kuin %s', + notInclusive: 'Ole hyvä anna arvo joka on vähemmän kuin %s', + }, + mac: { + default: 'Ole hyvä anna kelvollinen MAC osoite', + }, + meid: { + default: 'Ole hyvä anna kelvollinen MEID numero', + }, + notEmpty: { + default: 'Pakollinen kenttä, anna jokin arvo', + }, + numeric: { + default: 'Ole hyvä anna kelvollinen liukuluku', + }, + phone: { + countries: { + AE: 'Yhdistyneet arabiemiirikunnat', + BG: 'Bulgaria', + BR: 'Brasilia', + CN: 'Kiina', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + ES: 'Espanja', + FR: 'Ranska', + GB: 'Yhdistynyt kuningaskunta', + IN: 'Intia', + MA: 'Marokko', + NL: 'Hollanti', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Venäjä', + SK: 'Slovakia', + TH: 'Thaimaa', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Ole hyvä anna kelvollinen puhelinnumero maassa %s', + default: 'Ole hyvä anna kelvollinen puhelinnumero', + }, + promise: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + regexp: { + default: 'Ole hyvä anna kaavan mukainen arvo', + }, + remote: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + rtn: { + default: 'Ole hyvä anna kelvollinen RTN numero', + }, + sedol: { + default: 'Ole hyvä anna kelvollinen SEDOL numero', + }, + siren: { + default: 'Ole hyvä anna kelvollinen SIREN numero', + }, + siret: { + default: 'Ole hyvä anna kelvollinen SIRET numero', + }, + step: { + default: 'Ole hyvä anna kelvollinen arvo %s porrastettuna', + }, + stringCase: { + default: 'Ole hyvä anna pelkästään pieniä kirjaimia', + upper: 'Ole hyvä anna pelkästään isoja kirjaimia', + }, + stringLength: { + between: 'Ole hyvä anna arvo joka on vähintään %s ja enintään %s merkkiä pitkä', + default: 'Ole hyvä anna kelvollisen mittainen merkkijono', + less: 'Ole hyvä anna vähemmän kuin %s merkkiä', + more: 'Ole hyvä anna vähintään %s merkkiä', + }, + uri: { + default: 'Ole hyvä anna kelvollinen URI', + }, + uuid: { + default: 'Ole hyvä anna kelvollinen UUID numero', + version: 'Ole hyvä anna kelvollinen UUID versio %s numero', + }, + vat: { + countries: { + AT: 'Itävalta', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brasilia', + CH: 'Sveitsi', + CY: 'Kypros', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + EE: 'Viro', + EL: 'Kreikka', + ES: 'Espanja', + FI: 'Suomi', + FR: 'Ranska', + GB: 'Yhdistyneet kuningaskunnat', + GR: 'Kreikka', + HR: 'Kroatia', + HU: 'Unkari', + IE: 'Irlanti', + IS: 'Islanti', + IT: 'Italia', + LT: 'Liettua', + LU: 'Luxemburg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Hollanti', + NO: 'Norja', + PL: 'Puola', + PT: 'Portugali', + RO: 'Romania', + RS: 'Serbia', + RU: 'Venäjä', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Etelä Afrikka', + }, + country: 'Ole hyvä anna kelvollinen VAT numero maahan: %s', + default: 'Ole hyvä anna kelvollinen VAT numero', + }, + vin: { + default: 'Ole hyvä anna kelvollinen VIN numero', + }, + zipCode: { + countries: { + AT: 'Itävalta', + BG: 'Bulgaria', + BR: 'Brasilia', + CA: 'Kanada', + CH: 'Sveitsi', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + ES: 'Espanja', + FR: 'Ranska', + GB: 'Yhdistyneet kuningaskunnat', + IE: 'Irlanti', + IN: 'Intia', + IT: 'Italia', + MA: 'Marokko', + NL: 'Hollanti', + PL: 'Puola', + PT: 'Portugali', + RO: 'Romania', + RU: 'Venäjä', + SE: 'Ruotsi', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Ole hyvä anna kelvollinen postinumero maassa: %s', + default: 'Ole hyvä anna kelvollinen postinumero', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/fr_BE.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/fr_BE.js new file mode 100644 index 0000000..9aa746d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/fr_BE.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Veuillez fournir une donnée correctement encodée en Base64', + }, + between: { + default: 'Veuillez fournir une valeur comprise entre %s et %s', + notInclusive: 'Veuillez fournir une valeur strictement comprise entre %s et %s', + }, + bic: { + default: 'Veuillez fournir un code-barre BIC valide', + }, + callback: { + default: 'Veuillez fournir une valeur valide', + }, + choice: { + between: 'Veuillez choisir de %s à %s options', + default: 'Veuillez fournir une valeur valide', + less: 'Veuillez choisir au minimum %s options', + more: 'Veuillez choisir au maximum %s options', + }, + color: { + default: 'Veuillez fournir une couleur valide', + }, + creditCard: { + default: 'Veuillez fournir un numéro de carte de crédit valide', + }, + cusip: { + default: 'Veuillez fournir un code CUSIP valide', + }, + date: { + default: 'Veuillez fournir une date valide', + max: 'Veuillez fournir une date inférieure à %s', + min: 'Veuillez fournir une date supérieure à %s', + range: 'Veuillez fournir une date comprise entre %s et %s', + }, + different: { + default: 'Veuillez fournir une valeur différente', + }, + digits: { + default: 'Veuillez ne fournir que des chiffres', + }, + ean: { + default: 'Veuillez fournir un code-barre EAN valide', + }, + ein: { + default: 'Veuillez fournir un code-barre EIN valide', + }, + emailAddress: { + default: 'Veuillez fournir une adresse e-mail valide', + }, + file: { + default: 'Veuillez choisir un fichier valide', + }, + greaterThan: { + default: 'Veuillez fournir une valeur supérieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur supérieure à %s', + }, + grid: { + default: 'Veuillez fournir un code GRId valide', + }, + hex: { + default: 'Veuillez fournir un nombre hexadécimal valide', + }, + iban: { + countries: { + AD: 'Andorre', + AE: 'Émirats Arabes Unis', + AL: 'Albanie', + AO: 'Angola', + AT: 'Autriche', + AZ: 'Azerbaïdjan', + BA: 'Bosnie-Herzégovine', + BE: 'Belgique', + BF: 'Burkina Faso', + BG: 'Bulgarie', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Bénin', + BR: 'Brésil', + CH: 'Suisse', + CI: "Côte d'ivoire", + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Cap Vert', + CY: 'Chypre', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + DO: 'République Dominicaine', + DZ: 'Algérie', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + FO: 'Îles Féroé', + FR: 'France', + GB: 'Royaume Uni', + GE: 'Géorgie', + GI: 'Gibraltar', + GL: 'Groënland', + GR: 'Gréce', + GT: 'Guatemala', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IL: 'Israël', + IR: 'Iran', + IS: 'Islande', + IT: 'Italie', + JO: 'Jordanie', + KW: 'Koweït', + KZ: 'Kazakhstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Lithuanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MC: 'Monaco', + MD: 'Moldavie', + ME: 'Monténégro', + MG: 'Madagascar', + MK: 'Macédoine', + ML: 'Mali', + MR: 'Mauritanie', + MT: 'Malte', + MU: 'Maurice', + MZ: 'Mozambique', + NL: 'Pays-Bas', + NO: 'Norvège', + PK: 'Pakistan', + PL: 'Pologne', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Quatar', + RO: 'Roumanie', + RS: 'Serbie', + SA: 'Arabie Saoudite', + SE: 'Suède', + SI: 'Slovènie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + SN: 'Sénégal', + TL: 'Timor oriental', + TN: 'Tunisie', + TR: 'Turquie', + VG: 'Îles Vierges britanniques', + XK: 'République du Kosovo', + }, + country: 'Veuillez fournir un code IBAN valide pour %s', + default: 'Veuillez fournir un code IBAN valide', + }, + id: { + countries: { + BA: 'Bosnie-Herzégovine', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CL: 'Chili', + CN: 'Chine', + CZ: 'Tchèque', + DK: 'Danemark', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + HR: 'Croatie', + IE: 'Irlande', + IS: 'Islande', + LT: 'Lituanie', + LV: 'Lettonie', + ME: 'Monténégro', + MK: 'Macédoine', + NL: 'Pays-Bas', + PL: 'Pologne', + RO: 'Roumanie', + RS: 'Serbie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + TH: 'Thaïlande', + TR: 'Turquie', + ZA: 'Afrique du Sud', + }, + country: "Veuillez fournir un numéro d'identification valide pour %s", + default: "Veuillez fournir un numéro d'identification valide", + }, + identical: { + default: 'Veuillez fournir la même valeur', + }, + imei: { + default: 'Veuillez fournir un code IMEI valide', + }, + imo: { + default: 'Veuillez fournir un code IMO valide', + }, + integer: { + default: 'Veuillez fournir un nombre valide', + }, + ip: { + default: 'Veuillez fournir une adresse IP valide', + ipv4: 'Veuillez fournir une adresse IPv4 valide', + ipv6: 'Veuillez fournir une adresse IPv6 valide', + }, + isbn: { + default: 'Veuillez fournir un code ISBN valide', + }, + isin: { + default: 'Veuillez fournir un code ISIN valide', + }, + ismn: { + default: 'Veuillez fournir un code ISMN valide', + }, + issn: { + default: 'Veuillez fournir un code ISSN valide', + }, + lessThan: { + default: 'Veuillez fournir une valeur inférieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur inférieure à %s', + }, + mac: { + default: 'Veuillez fournir une adresse MAC valide', + }, + meid: { + default: 'Veuillez fournir un code MEID valide', + }, + notEmpty: { + default: 'Veuillez fournir une valeur', + }, + numeric: { + default: 'Veuillez fournir une valeur décimale valide', + }, + phone: { + countries: { + AE: 'Émirats Arabes Unis', + BG: 'Bulgarie', + BR: 'Brésil', + CN: 'Chine', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IN: 'Inde', + MA: 'Maroc', + NL: 'Pays-Bas', + PK: 'Pakistan', + RO: 'Roumanie', + RU: 'Russie', + SK: 'Slovaquie', + TH: 'Thaïlande', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Veuillez fournir un numéro de téléphone valide pour %s', + default: 'Veuillez fournir un numéro de téléphone valide', + }, + promise: { + default: 'Veuillez fournir une valeur valide', + }, + regexp: { + default: 'Veuillez fournir une valeur correspondant au modèle', + }, + remote: { + default: 'Veuillez fournir une valeur valide', + }, + rtn: { + default: 'Veuillez fournir un code RTN valide', + }, + sedol: { + default: 'Veuillez fournir a valid SEDOL number', + }, + siren: { + default: 'Veuillez fournir un numéro SIREN valide', + }, + siret: { + default: 'Veuillez fournir un numéro SIRET valide', + }, + step: { + default: 'Veuillez fournir un écart valide de %s', + }, + stringCase: { + default: 'Veuillez ne fournir que des caractères minuscules', + upper: 'Veuillez ne fournir que des caractères majuscules', + }, + stringLength: { + between: 'Veuillez fournir entre %s et %s caractères', + default: 'Veuillez fournir une valeur de longueur valide', + less: 'Veuillez fournir moins de %s caractères', + more: 'Veuillez fournir plus de %s caractères', + }, + uri: { + default: 'Veuillez fournir un URI valide', + }, + uuid: { + default: 'Veuillez fournir un UUID valide', + version: 'Veuillez fournir un UUID version %s number', + }, + vat: { + countries: { + AT: 'Autriche', + BE: 'Belgique', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CY: 'Chypre', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + EE: 'Estonie', + EL: 'Grèce', + ES: 'Espagne', + FI: 'Finlande', + FR: 'France', + GB: 'Royaume-Uni', + GR: 'Grèce', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IS: 'Islande', + IT: 'Italie', + LT: 'Lituanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MT: 'Malte', + NL: 'Pays-Bas', + NO: 'Norvège', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RS: 'Serbie', + RU: 'Russie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + VE: 'Venezuela', + ZA: 'Afrique du Sud', + }, + country: 'Veuillez fournir un code VAT valide pour %s', + default: 'Veuillez fournir un code VAT valide', + }, + vin: { + default: 'Veuillez fournir un code VIN valide', + }, + zipCode: { + countries: { + AT: 'Autriche', + BG: 'Bulgarie', + BR: 'Brésil', + CA: 'Canada', + CH: 'Suisse', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IE: 'Irlande', + IN: 'Inde', + IT: 'Italie', + MA: 'Maroc', + NL: 'Pays-Bas', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RU: 'Russie', + SE: 'Suède', + SG: 'Singapour', + SK: 'Slovaquie', + US: 'USA', + }, + country: 'Veuillez fournir un code postal valide pour %s', + default: 'Veuillez fournir un code postal valide', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/fr_FR.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/fr_FR.js new file mode 100644 index 0000000..baf6224 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/fr_FR.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Veuillez fournir une donnée correctement encodée en Base64', + }, + between: { + default: 'Veuillez fournir une valeur comprise entre %s et %s', + notInclusive: 'Veuillez fournir une valeur strictement comprise entre %s et %s', + }, + bic: { + default: 'Veuillez fournir un code-barre BIC valide', + }, + callback: { + default: 'Veuillez fournir une valeur valide', + }, + choice: { + between: 'Veuillez choisir de %s à %s options', + default: 'Veuillez fournir une valeur valide', + less: 'Veuillez choisir au minimum %s options', + more: 'Veuillez choisir au maximum %s options', + }, + color: { + default: 'Veuillez fournir une couleur valide', + }, + creditCard: { + default: 'Veuillez fournir un numéro de carte de crédit valide', + }, + cusip: { + default: 'Veuillez fournir un code CUSIP valide', + }, + date: { + default: 'Veuillez fournir une date valide', + max: 'Veuillez fournir une date inférieure à %s', + min: 'Veuillez fournir une date supérieure à %s', + range: 'Veuillez fournir une date comprise entre %s et %s', + }, + different: { + default: 'Veuillez fournir une valeur différente', + }, + digits: { + default: 'Veuillez ne fournir que des chiffres', + }, + ean: { + default: 'Veuillez fournir un code-barre EAN valide', + }, + ein: { + default: 'Veuillez fournir un code-barre EIN valide', + }, + emailAddress: { + default: 'Veuillez fournir une adresse e-mail valide', + }, + file: { + default: 'Veuillez choisir un fichier valide', + }, + greaterThan: { + default: 'Veuillez fournir une valeur supérieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur supérieure à %s', + }, + grid: { + default: 'Veuillez fournir un code GRId valide', + }, + hex: { + default: 'Veuillez fournir un nombre hexadécimal valide', + }, + iban: { + countries: { + AD: 'Andorre', + AE: 'Émirats Arabes Unis', + AL: 'Albanie', + AO: 'Angola', + AT: 'Autriche', + AZ: 'Azerbaïdjan', + BA: 'Bosnie-Herzégovine', + BE: 'Belgique', + BF: 'Burkina Faso', + BG: 'Bulgarie', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Bénin', + BR: 'Brésil', + CH: 'Suisse', + CI: "Côte d'ivoire", + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Cap Vert', + CY: 'Chypre', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + DO: 'République Dominicaine', + DZ: 'Algérie', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + FO: 'Îles Féroé', + FR: 'France', + GB: 'Royaume Uni', + GE: 'Géorgie', + GI: 'Gibraltar', + GL: 'Groënland', + GR: 'Gréce', + GT: 'Guatemala', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IL: 'Israël', + IR: 'Iran', + IS: 'Islande', + IT: 'Italie', + JO: 'Jordanie', + KW: 'Koweït', + KZ: 'Kazakhstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Lithuanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MC: 'Monaco', + MD: 'Moldavie', + ME: 'Monténégro', + MG: 'Madagascar', + MK: 'Macédoine', + ML: 'Mali', + MR: 'Mauritanie', + MT: 'Malte', + MU: 'Maurice', + MZ: 'Mozambique', + NL: 'Pays-Bas', + NO: 'Norvège', + PK: 'Pakistan', + PL: 'Pologne', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Quatar', + RO: 'Roumanie', + RS: 'Serbie', + SA: 'Arabie Saoudite', + SE: 'Suède', + SI: 'Slovènie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + SN: 'Sénégal', + TL: 'Timor oriental', + TN: 'Tunisie', + TR: 'Turquie', + VG: 'Îles Vierges britanniques', + XK: 'République du Kosovo', + }, + country: 'Veuillez fournir un code IBAN valide pour %s', + default: 'Veuillez fournir un code IBAN valide', + }, + id: { + countries: { + BA: 'Bosnie-Herzégovine', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CL: 'Chili', + CN: 'Chine', + CZ: 'République Tchèque', + DK: 'Danemark', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + HR: 'Croatie', + IE: 'Irlande', + IS: 'Islande', + LT: 'Lituanie', + LV: 'Lettonie', + ME: 'Monténégro', + MK: 'Macédoine', + NL: 'Pays-Bas', + PL: 'Pologne', + RO: 'Roumanie', + RS: 'Serbie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + TH: 'Thaïlande', + TR: 'Turquie', + ZA: 'Afrique du Sud', + }, + country: "Veuillez fournir un numéro d'identification valide pour %s", + default: "Veuillez fournir un numéro d'identification valide", + }, + identical: { + default: 'Veuillez fournir la même valeur', + }, + imei: { + default: 'Veuillez fournir un code IMEI valide', + }, + imo: { + default: 'Veuillez fournir un code IMO valide', + }, + integer: { + default: 'Veuillez fournir un nombre valide', + }, + ip: { + default: 'Veuillez fournir une adresse IP valide', + ipv4: 'Veuillez fournir une adresse IPv4 valide', + ipv6: 'Veuillez fournir une adresse IPv6 valide', + }, + isbn: { + default: 'Veuillez fournir un code ISBN valide', + }, + isin: { + default: 'Veuillez fournir un code ISIN valide', + }, + ismn: { + default: 'Veuillez fournir un code ISMN valide', + }, + issn: { + default: 'Veuillez fournir un code ISSN valide', + }, + lessThan: { + default: 'Veuillez fournir une valeur inférieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur inférieure à %s', + }, + mac: { + default: 'Veuillez fournir une adresse MAC valide', + }, + meid: { + default: 'Veuillez fournir un code MEID valide', + }, + notEmpty: { + default: 'Veuillez fournir une valeur', + }, + numeric: { + default: 'Veuillez fournir une valeur décimale valide', + }, + phone: { + countries: { + AE: 'Émirats Arabes Unis', + BG: 'Bulgarie', + BR: 'Brésil', + CN: 'Chine', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IN: 'Inde', + MA: 'Maroc', + NL: 'Pays-Bas', + PK: 'Pakistan', + RO: 'Roumanie', + RU: 'Russie', + SK: 'Slovaquie', + TH: 'Thaïlande', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Veuillez fournir un numéro de téléphone valide pour %s', + default: 'Veuillez fournir un numéro de téléphone valide', + }, + promise: { + default: 'Veuillez fournir une valeur valide', + }, + regexp: { + default: 'Veuillez fournir une valeur correspondant au modèle', + }, + remote: { + default: 'Veuillez fournir une valeur valide', + }, + rtn: { + default: 'Veuillez fournir un code RTN valide', + }, + sedol: { + default: 'Veuillez fournir a valid SEDOL number', + }, + siren: { + default: 'Veuillez fournir un numéro SIREN valide', + }, + siret: { + default: 'Veuillez fournir un numéro SIRET valide', + }, + step: { + default: 'Veuillez fournir un écart valide de %s', + }, + stringCase: { + default: 'Veuillez ne fournir que des caractères minuscules', + upper: 'Veuillez ne fournir que des caractères majuscules', + }, + stringLength: { + between: 'Veuillez fournir entre %s et %s caractères', + default: 'Veuillez fournir une valeur de longueur valide', + less: 'Veuillez fournir moins de %s caractères', + more: 'Veuillez fournir plus de %s caractères', + }, + uri: { + default: 'Veuillez fournir un URI valide', + }, + uuid: { + default: 'Veuillez fournir un UUID valide', + version: 'Veuillez fournir un UUID version %s number', + }, + vat: { + countries: { + AT: 'Autriche', + BE: 'Belgique', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CY: 'Chypre', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + EE: 'Estonie', + EL: 'Grèce', + ES: 'Espagne', + FI: 'Finlande', + FR: 'France', + GB: 'Royaume-Uni', + GR: 'Grèce', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IS: 'Islande', + IT: 'Italie', + LT: 'Lituanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MT: 'Malte', + NL: 'Pays-Bas', + NO: 'Norvège', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RS: 'Serbie', + RU: 'Russie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + VE: 'Venezuela', + ZA: 'Afrique du Sud', + }, + country: 'Veuillez fournir un code VAT valide pour %s', + default: 'Veuillez fournir un code VAT valide', + }, + vin: { + default: 'Veuillez fournir un code VIN valide', + }, + zipCode: { + countries: { + AT: 'Autriche', + BG: 'Bulgarie', + BR: 'Brésil', + CA: 'Canada', + CH: 'Suisse', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IE: 'Irlande', + IN: 'Inde', + IT: 'Italie', + MA: 'Maroc', + NL: 'Pays-Bas', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RU: 'Russie', + SE: 'Suède', + SG: 'Singapour', + SK: 'Slovaquie', + US: 'USA', + }, + country: 'Veuillez fournir un code postal valide pour %s', + default: 'Veuillez fournir un code postal valide', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/he_IL.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/he_IL.js new file mode 100644 index 0000000..4644287 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/he_IL.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'נא להזין ערך המקודד בבסיס 64', + }, + between: { + default: 'נא להזין ערך בין %s ל-%s', + notInclusive: 'נא להזין ערך בין %s ל-%s בדיוק', + }, + bic: { + default: 'נא להזין מספר BIC תקין', + }, + callback: { + default: 'נא להזין ערך תקין', + }, + choice: { + between: 'נא לבחור %s-%s אפשרויות', + default: 'נא להזין ערך תקין', + less: 'נא לבחור מינימום %s אפשרויות', + more: 'נא לבחור מקסימום %s אפשרויות', + }, + color: { + default: 'נא להזין קוד צבע תקין', + }, + creditCard: { + default: 'נא להזין מספר כרטיס אשראי תקין', + }, + cusip: { + default: 'נא להזין מספר CUSIP תקין', + }, + date: { + default: 'נא להזין תאריך תקין', + max: 'נא להזין תאריך לפני %s', + min: 'נא להזין תאריך אחרי %s', + range: 'נא להזין תאריך בטווח %s - %s', + }, + different: { + default: 'נא להזין ערך שונה', + }, + digits: { + default: 'נא להזין ספרות בלבד', + }, + ean: { + default: 'נא להזין מספר EAN תקין', + }, + ein: { + default: 'נא להזין מספר EIN תקין', + }, + emailAddress: { + default: 'נא להזין כתובת דוא"ל תקינה', + }, + file: { + default: 'נא לבחור קובץ חוקי', + }, + greaterThan: { + default: 'נא להזין ערך גדול או שווה ל-%s', + notInclusive: 'נא להזין ערך גדול מ-%s', + }, + grid: { + default: 'נא להזין מספר GRId תקין', + }, + hex: { + default: 'נא להזין מספר הקסדצימלי תקין', + }, + iban: { + countries: { + AD: 'אנדורה', + AE: 'איחוד האמירויות הערבי', + AL: 'אלבניה', + AO: 'אנגולה', + AT: 'אוסטריה', + AZ: 'אזרבייגאן', + BA: 'בוסניה והרצגובינה', + BE: 'בלגיה', + BF: 'בורקינה פאסו', + BG: 'בולגריה', + BH: 'בחריין', + BI: 'בורונדי', + BJ: 'בנין', + BR: 'ברזיל', + CH: 'שווייץ', + CI: 'חוף השנהב', + CM: 'קמרון', + CR: 'קוסטה ריקה', + CV: 'קייפ ורדה', + CY: 'קפריסין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + DO: 'דומיניקה', + DZ: 'אלגיריה', + EE: 'אסטוניה', + ES: 'ספרד', + FI: 'פינלנד', + FO: 'איי פארו', + FR: 'צרפת', + GB: 'בריטניה', + GE: 'גאורגיה', + GI: 'גיברלטר', + GL: 'גרינלנד', + GR: 'יוון', + GT: 'גואטמלה', + HR: 'קרואטיה', + HU: 'הונגריה', + IE: 'אירלנד', + IL: 'ישראל', + IR: 'איראן', + IS: 'איסלנד', + IT: 'איטליה', + JO: 'ירדן', + KW: 'כווית', + KZ: 'קזחסטן', + LB: 'לבנון', + LI: 'ליכטנשטיין', + LT: 'ליטא', + LU: 'לוקסמבורג', + LV: 'לטביה', + MC: 'מונקו', + MD: 'מולדובה', + ME: 'מונטנגרו', + MG: 'מדגסקר', + MK: 'מקדוניה', + ML: 'מאלי', + MR: 'מאוריטניה', + MT: 'מלטה', + MU: 'מאוריציוס', + MZ: 'מוזמביק', + NL: 'הולנד', + NO: 'נורווגיה', + PK: 'פקיסטן', + PL: 'פולין', + PS: 'פלסטין', + PT: 'פורטוגל', + QA: 'קטאר', + RO: 'רומניה', + RS: 'סרביה', + SA: 'ערב הסעודית', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + SM: 'סן מרינו', + SN: 'סנגל', + TL: 'מזרח טימור', + TN: 'תוניסיה', + TR: 'טורקיה', + VG: 'איי הבתולה, בריטניה', + XK: 'רפובליקה של קוסובו', + }, + country: 'נא להזין מספר IBAN תקני ב%s', + default: 'נא להזין מספר IBAN תקין', + }, + id: { + countries: { + BA: 'בוסניה והרצגובינה', + BG: 'בולגריה', + BR: 'ברזיל', + CH: 'שווייץ', + CL: 'צילה', + CN: 'סין', + CZ: 'צכיה', + DK: 'דנמרק', + EE: 'אסטוניה', + ES: 'ספרד', + FI: 'פינלנד', + HR: 'קרואטיה', + IE: 'אירלנד', + IS: 'איסלנד', + LT: 'ליטא', + LV: 'לטביה', + ME: 'מונטנגרו', + MK: 'מקדוניה', + NL: 'הולנד', + PL: 'פולין', + RO: 'רומניה', + RS: 'סרביה', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + SM: 'סן מרינו', + TH: 'תאילנד', + TR: 'טורקיה', + ZA: 'דרום אפריקה', + }, + country: 'נא להזין מספר זהות תקני ב%s', + default: 'נא להזין מספר זהות תקין', + }, + identical: { + default: 'נא להזין את הערך שנית', + }, + imei: { + default: 'נא להזין מספר IMEI תקין', + }, + imo: { + default: 'נא להזין מספר IMO תקין', + }, + integer: { + default: 'נא להזין מספר תקין', + }, + ip: { + default: 'נא להזין כתובת IP תקינה', + ipv4: 'נא להזין כתובת IPv4 תקינה', + ipv6: 'נא להזין כתובת IPv6 תקינה', + }, + isbn: { + default: 'נא להזין מספר ISBN תקין', + }, + isin: { + default: 'נא להזין מספר ISIN תקין', + }, + ismn: { + default: 'נא להזין מספר ISMN תקין', + }, + issn: { + default: 'נא להזין מספר ISSN תקין', + }, + lessThan: { + default: 'נא להזין ערך קטן או שווה ל-%s', + notInclusive: 'נא להזין ערך קטן מ-%s', + }, + mac: { + default: 'נא להזין מספר MAC תקין', + }, + meid: { + default: 'נא להזין מספר MEID תקין', + }, + notEmpty: { + default: 'נא להזין ערך', + }, + numeric: { + default: 'נא להזין מספר עשרוני חוקי', + }, + phone: { + countries: { + AE: 'איחוד האמירויות הערבי', + BG: 'בולגריה', + BR: 'ברזיל', + CN: 'סין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + ES: 'ספרד', + FR: 'צרפת', + GB: 'בריטניה', + IN: 'הודו', + MA: 'מרוקו', + NL: 'הולנד', + PK: 'פקיסטן', + RO: 'רומניה', + RU: 'רוסיה', + SK: 'סלובקיה', + TH: 'תאילנד', + US: 'ארצות הברית', + VE: 'ונצואלה', + }, + country: 'נא להזין מספר טלפון תקין ב%s', + default: 'נא להין מספר טלפון תקין', + }, + promise: { + default: 'נא להזין ערך תקין', + }, + regexp: { + default: 'נא להזין ערך תואם לתבנית', + }, + remote: { + default: 'נא להזין ערך תקין', + }, + rtn: { + default: 'נא להזין מספר RTN תקין', + }, + sedol: { + default: 'נא להזין מספר SEDOL תקין', + }, + siren: { + default: 'נא להזין מספר SIREN תקין', + }, + siret: { + default: 'נא להזין מספר SIRET תקין', + }, + step: { + default: 'נא להזין שלב תקין מתוך %s', + }, + stringCase: { + default: 'נא להזין אותיות קטנות בלבד', + upper: 'נא להזין אותיות גדולות בלבד', + }, + stringLength: { + between: 'נא להזין ערך בין %s עד %s תווים', + default: 'נא להזין ערך באורך חוקי', + less: 'נא להזין ערך קטן מ-%s תווים', + more: 'נא להזין ערך גדול מ- %s תווים', + }, + uri: { + default: 'נא להזין URI תקין', + }, + uuid: { + default: 'נא להזין מספר UUID תקין', + version: 'נא להזין מספר UUID גרסה %s תקין', + }, + vat: { + countries: { + AT: 'אוסטריה', + BE: 'בלגיה', + BG: 'בולגריה', + BR: 'ברזיל', + CH: 'שווייץ', + CY: 'קפריסין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + EE: 'אסטוניה', + EL: 'יוון', + ES: 'ספרד', + FI: 'פינלנד', + FR: 'צרפת', + GB: 'בריטניה', + GR: 'יוון', + HR: 'קרואטיה', + HU: 'הונגריה', + IE: 'אירלנד', + IS: 'איסלנד', + IT: 'איטליה', + LT: 'ליטא', + LU: 'לוקסמבורג', + LV: 'לטביה', + MT: 'מלטה', + NL: 'הולנד', + NO: 'נורווגיה', + PL: 'פולין', + PT: 'פורטוגל', + RO: 'רומניה', + RS: 'סרביה', + RU: 'רוסיה', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + VE: 'ונצואלה', + ZA: 'דרום אפריקה', + }, + country: 'נא להזין מספר VAT תקין ב%s', + default: 'נא להזין מספר VAT תקין', + }, + vin: { + default: 'נא להזין מספר VIN תקין', + }, + zipCode: { + countries: { + AT: 'אוסטריה', + BG: 'בולגריה', + BR: 'ברזיל', + CA: 'קנדה', + CH: 'שווייץ', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + ES: 'ספרד', + FR: 'צרפת', + GB: 'בריטניה', + IE: 'אירלנד', + IN: 'הודו', + IT: 'איטליה', + MA: 'מרוקו', + NL: 'הולנד', + PL: 'פולין', + PT: 'פורטוגל', + RO: 'רומניה', + RU: 'רוסיה', + SE: 'שוודיה', + SG: 'סינגפור', + SK: 'סלובקיה', + US: 'ארצות הברית', + }, + country: 'נא להזין מיקוד תקין ב%s', + default: 'נא להזין מיקוד תקין', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/hi_IN.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/hi_IN.js new file mode 100644 index 0000000..45eeb6f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/hi_IN.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'कृपया एक वैध 64 इनकोडिंग मूल्यांक प्रविष्ट करें', + }, + between: { + default: 'कृपया %s और %s के बीच एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया सिर्फ़ %s और %s के बीच मूल्यांक प्रविष्ट करें', + }, + bic: { + default: 'कृपया एक वैध BIC संख्या प्रविष्ट करें', + }, + callback: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + choice: { + between: 'कृपया %s और %s के बीच विकल्पों का चयन करें', + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + less: 'कृपया कम से कम %s विकल्पों का चयन करें', + more: 'कृपया अधिकतम %s विकल्पों का चयन करें', + }, + color: { + default: 'कृपया एक वैध रंग प्रविष्ट करें', + }, + creditCard: { + default: 'कृपया एक वैध क्रेडिट कार्ड संख्या प्रविष्ट करें', + }, + cusip: { + default: 'कृपया एक वैध CUSIP संख्या प्रविष्ट करें', + }, + date: { + default: 'कृपया एक वैध दिनांक प्रविष्ट करें', + max: 'कृपया %s के पहले एक वैध दिनांक प्रविष्ट करें', + min: 'कृपया %s के बाद एक वैध दिनांक प्रविष्ट करें', + range: 'कृपया %s से %s के बीच एक वैध दिनांक प्रविष्ट करें', + }, + different: { + default: 'कृपया एक अलग मूल्यांक प्रविष्ट करें', + }, + digits: { + default: 'कृपया केवल अंक प्रविष्ट करें', + }, + ean: { + default: 'कृपया एक वैध EAN संख्या प्रविष्ट करें', + }, + ein: { + default: 'कृपया एक वैध EIN संख्या प्रविष्ट करें', + }, + emailAddress: { + default: 'कृपया एक वैध ईमेल पता प्रविष्ट करें', + }, + file: { + default: 'कृपया एक वैध फ़ाइल का चयन करें', + }, + greaterThan: { + default: 'कृपया %s से अधिक या बराबर एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया %s से अधिक एक मूल्यांक प्रविष्ट करें', + }, + grid: { + default: 'कृपया एक वैध GRID संख्या प्रविष्ट करें', + }, + hex: { + default: 'कृपया एक वैध हेक्साडेसिमल संख्या प्रविष्ट करें', + }, + iban: { + countries: { + AD: 'अंडोरा', + AE: 'संयुक्त अरब अमीरात', + AL: 'अल्बानिया', + AO: 'अंगोला', + AT: 'ऑस्ट्रिया', + AZ: 'अज़रबैजान', + BA: 'बोस्निया और हर्जेगोविना', + BE: 'बेल्जियम', + BF: 'बुर्किना फासो', + BG: 'बुल्गारिया', + BH: 'बहरीन', + BI: 'बुस्र्न्दी', + BJ: 'बेनिन', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CI: 'आइवरी कोस्ट', + CM: 'कैमरून', + CR: 'कोस्टा रिका', + CV: 'केप वर्डे', + CY: 'साइप्रस', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + DO: 'डोमिनिकन गणराज्य', + DZ: 'एलजीरिया', + EE: 'एस्तोनिया', + ES: 'स्पेन', + FI: 'फिनलैंड', + FO: 'फरो आइलैंड्स', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + GE: 'जॉर्जिया', + GI: 'जिब्राल्टर', + GL: 'ग्रीनलैंड', + GR: 'ग्रीस', + GT: 'ग्वाटेमाला', + HR: 'क्रोएशिया', + HU: 'हंगरी', + IE: 'आयरलैंड', + IL: 'इज़राइल', + IR: 'ईरान', + IS: 'आइसलैंड', + IT: 'इटली', + JO: 'जॉर्डन', + KW: 'कुवैत', + KZ: 'कजाखस्तान', + LB: 'लेबनान', + LI: 'लिकटेंस्टीन', + LT: 'लिथुआनिया', + LU: 'लक्समबर्ग', + LV: 'लाटविया', + MC: 'मोनाको', + MD: 'माल्डोवा', + ME: 'मॉन्टेंगरो', + MG: 'मेडागास्कर', + MK: 'मैसेडोनिया', + ML: 'माली', + MR: 'मॉरिटानिया', + MT: 'माल्टा', + MU: 'मॉरीशस', + MZ: 'मोज़ाम्बिक', + NL: 'नीदरलैंड', + NO: 'नॉर्वे', + PK: 'पाकिस्तान', + PL: 'पोलैंड', + PS: 'फिलिस्तीन', + PT: 'पुर्तगाल', + QA: 'क़तर', + RO: 'रोमानिया', + RS: 'सर्बिया', + SA: 'सऊदी अरब', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + SM: 'सैन मैरिनो', + SN: 'सेनेगल', + TL: 'पूर्वी तिमोर', + TN: 'ट्यूनीशिया', + TR: 'तुर्की', + VG: 'वर्जिन आइलैंड्स, ब्रिटिश', + XK: 'कोसोवो गणराज्य', + }, + country: 'कृपया %s में एक वैध IBAN संख्या प्रविष्ट करें', + default: 'कृपया एक वैध IBAN संख्या प्रविष्ट करें', + }, + id: { + countries: { + BA: 'बोस्निया और हर्जेगोविना', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CL: 'चिली', + CN: 'चीन', + CZ: 'चेक रिपब्लिक', + DK: 'डेनमार्क', + EE: 'एस्तोनिया', + ES: 'स्पेन', + FI: 'फिनलैंड', + HR: 'क्रोएशिया', + IE: 'आयरलैंड', + IS: 'आइसलैंड', + LT: 'लिथुआनिया', + LV: 'लाटविया', + ME: 'मोंटेनेग्रो', + MK: 'मैसेडोनिया', + NL: 'नीदरलैंड', + PL: 'पोलैंड', + RO: 'रोमानिया', + RS: 'सर्बिया', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + SM: 'सैन मैरिनो', + TH: 'थाईलैंड', + TR: 'तुर्की', + ZA: 'दक्षिण अफ्रीका', + }, + country: 'कृपया %s में एक वैध पहचान संख्या प्रविष्ट करें', + default: 'कृपया एक वैध पहचान संख्या प्रविष्ट करें', + }, + identical: { + default: 'कृपया वही मूल्यांक दोबारा प्रविष्ट करें', + }, + imei: { + default: 'कृपया एक वैध IMEI संख्या प्रविष्ट करें', + }, + imo: { + default: 'कृपया एक वैध IMO संख्या प्रविष्ट करें', + }, + integer: { + default: 'कृपया एक वैध संख्या प्रविष्ट करें', + }, + ip: { + default: 'कृपया एक वैध IP पता प्रविष्ट करें', + ipv4: 'कृपया एक वैध IPv4 पता प्रविष्ट करें', + ipv6: 'कृपया एक वैध IPv6 पता प्रविष्ट करें', + }, + isbn: { + default: 'कृपया एक वैध ISBN संख्या दर्ज करें', + }, + isin: { + default: 'कृपया एक वैध ISIN संख्या दर्ज करें', + }, + ismn: { + default: 'कृपया एक वैध ISMN संख्या दर्ज करें', + }, + issn: { + default: 'कृपया एक वैध ISSN संख्या दर्ज करें', + }, + lessThan: { + default: 'कृपया %s से कम या बराबर एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया %s से कम एक मूल्यांक प्रविष्ट करें', + }, + mac: { + default: 'कृपया एक वैध MAC पता प्रविष्ट करें', + }, + meid: { + default: 'कृपया एक वैध MEID संख्या प्रविष्ट करें', + }, + notEmpty: { + default: 'कृपया एक मूल्यांक प्रविष्ट करें', + }, + numeric: { + default: 'कृपया एक वैध दशमलव संख्या प्रविष्ट करें', + }, + phone: { + countries: { + AE: 'संयुक्त अरब अमीरात', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CN: 'चीन', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + ES: 'स्पेन', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + IN: 'भारत', + MA: 'मोरक्को', + NL: 'नीदरलैंड', + PK: 'पाकिस्तान', + RO: 'रोमानिया', + RU: 'रुस', + SK: 'स्लोवाकिया', + TH: 'थाईलैंड', + US: 'अमेरीका', + VE: 'वेनेजुएला', + }, + country: 'कृपया %s में एक वैध फ़ोन नंबर प्रविष्ट करें', + default: 'कृपया एक वैध फ़ोन नंबर प्रविष्ट करें', + }, + promise: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + regexp: { + default: 'कृपया पैटर्न से मेल खाते एक मूल्यांक प्रविष्ट करें', + }, + remote: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + rtn: { + default: 'कृपया एक वैध RTN संख्या प्रविष्ट करें', + }, + sedol: { + default: 'कृपया एक वैध SEDOL संख्या प्रविष्ट करें', + }, + siren: { + default: 'कृपया एक वैध SIREN संख्या प्रविष्ट करें', + }, + siret: { + default: 'कृपया एक वैध SIRET संख्या प्रविष्ट करें', + }, + step: { + default: '%s के एक गुणज मूल्यांक प्रविष्ट करें', + }, + stringCase: { + default: 'कृपया केवल छोटे पात्रों का प्रविष्ट करें', + upper: 'कृपया केवल बड़े पात्रों का प्रविष्ट करें', + }, + stringLength: { + between: 'कृपया %s से %s के बीच लंबाई का एक मूल्यांक प्रविष्ट करें', + default: 'कृपया वैध लंबाई का एक मूल्यांक प्रविष्ट करें', + less: 'कृपया %s से कम पात्रों को प्रविष्ट करें', + more: 'कृपया %s से अधिक पात्रों को प्रविष्ट करें', + }, + uri: { + default: 'कृपया एक वैध URI प्रविष्ट करें', + }, + uuid: { + default: 'कृपया एक वैध UUID संख्या प्रविष्ट करें', + version: 'कृपया एक वैध UUID संस्करण %s संख्या प्रविष्ट करें', + }, + vat: { + countries: { + AT: 'ऑस्ट्रिया', + BE: 'बेल्जियम', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CY: 'साइप्रस', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + EE: 'एस्तोनिया', + EL: 'ग्रीस', + ES: 'स्पेन', + FI: 'फिनलैंड', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + GR: 'ग्रीस', + HR: 'क्रोएशिया', + HU: 'हंगरी', + IE: 'आयरलैंड', + IS: 'आइसलैंड', + IT: 'इटली', + LT: 'लिथुआनिया', + LU: 'लक्समबर्ग', + LV: 'लाटविया', + MT: 'माल्टा', + NL: 'नीदरलैंड', + NO: 'नॉर्वे', + PL: 'पोलैंड', + PT: 'पुर्तगाल', + RO: 'रोमानिया', + RS: 'सर्बिया', + RU: 'रुस', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + VE: 'वेनेजुएला', + ZA: 'दक्षिण अफ्रीका', + }, + country: 'कृपया एक वैध VAT संख्या %s मे प्रविष्ट करें', + default: 'कृपया एक वैध VAT संख्या प्रविष्ट करें', + }, + vin: { + default: 'कृपया एक वैध VIN संख्या प्रविष्ट करें', + }, + zipCode: { + countries: { + AT: 'ऑस्ट्रिया', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CA: 'कनाडा', + CH: 'स्विट्जरलैंड', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + ES: 'स्पेन', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + IE: 'आयरलैंड', + IN: 'भारत', + IT: 'इटली', + MA: 'मोरक्को', + NL: 'नीदरलैंड', + PL: 'पोलैंड', + PT: 'पुर्तगाल', + RO: 'रोमानिया', + RU: 'रुस', + SE: 'स्वीडन', + SG: 'सिंगापुर', + SK: 'स्लोवाकिया', + US: 'अमेरीका', + }, + country: 'कृपया एक वैध डाक कोड %s मे प्रविष्ट करें', + default: 'कृपया एक वैध डाक कोड प्रविष्ट करें', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/hu_HU.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/hu_HU.js new file mode 100644 index 0000000..3dca1ea --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/hu_HU.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Kérlek, hogy érvényes base 64 karakter láncot adj meg', + }, + between: { + default: 'Kérlek, hogy %s és %s között adj meg értéket', + notInclusive: 'Kérlek, hogy %s és %s között adj meg értéket', + }, + bic: { + default: 'Kérlek, hogy érvényes BIC számot adj meg', + }, + callback: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + choice: { + between: 'Kérlek, hogy válassz %s - %s lehetőséget', + default: 'Kérlek, hogy érvényes értéket adj meg', + less: 'Kérlek, hogy legalább %s lehetőséget válassz ki', + more: 'Kérlek, hogy maximum %s lehetőséget válassz ki', + }, + color: { + default: 'Kérlek, hogy érvényes színt adj meg', + }, + creditCard: { + default: 'Kérlek, hogy érvényes bankkártya számot adj meg', + }, + cusip: { + default: 'Kérlek, hogy érvényes CUSIP számot adj meg', + }, + date: { + default: 'Kérlek, hogy érvényes dátumot adj meg', + max: 'Kérlek, hogy %s -nál korábbi dátumot adj meg', + min: 'Kérlek, hogy %s -nál későbbi dátumot adj meg', + range: 'Kérlek, hogy %s - %s között adj meg dátumot', + }, + different: { + default: 'Kérlek, hogy egy másik értéket adj meg', + }, + digits: { + default: 'Kérlek, hogy csak számot adj meg', + }, + ean: { + default: 'Kérlek, hogy érvényes EAN számot adj meg', + }, + ein: { + default: 'Kérlek, hogy érvényes EIN számot adj meg', + }, + emailAddress: { + default: 'Kérlek, hogy érvényes email címet adj meg', + }, + file: { + default: 'Kérlek, hogy érvényes fájlt válassz', + }, + greaterThan: { + default: 'Kérlek, hogy ezzel (%s) egyenlő vagy nagyobb számot adj meg', + notInclusive: 'Kérlek, hogy ennél (%s) nagyobb számot adj meg', + }, + grid: { + default: 'Kérlek, hogy érvényes GRId számot adj meg', + }, + hex: { + default: 'Kérlek, hogy érvényes hexadecimális számot adj meg', + }, + iban: { + countries: { + AD: 'az Andorrai Fejedelemségben', + AE: 'az Egyesült Arab Emírségekben', + AL: 'Albániában', + AO: 'Angolában', + AT: 'Ausztriában', + AZ: 'Azerbadjzsánban', + BA: 'Bosznia-Hercegovinában', + BE: 'Belgiumban', + BF: 'Burkina Fasoban', + BG: 'Bulgáriában', + BH: 'Bahreinben', + BI: 'Burundiban', + BJ: 'Beninben', + BR: 'Brazíliában', + CH: 'Svájcban', + CI: 'az Elefántcsontparton', + CM: 'Kamerunban', + CR: 'Costa Ricán', + CV: 'Zöld-foki Köztársaságban', + CY: 'Cypruson', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + DO: 'Dominikán', + DZ: 'Algériában', + EE: 'Észtországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + FO: 'a Feröer-szigeteken', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + GE: 'Grúziában', + GI: 'Gibraltáron', + GL: 'Grönlandon', + GR: 'Görögországban', + GT: 'Guatemalában', + HR: 'Horvátországban', + HU: 'Magyarországon', + IE: 'Írországban', + IL: 'Izraelben', + IR: 'Iránban', + IS: 'Izlandon', + IT: 'Olaszországban', + JO: 'Jordániában', + KW: 'Kuvaitban', + KZ: 'Kazahsztánban', + LB: 'Libanonban', + LI: 'Liechtensteinben', + LT: 'Litvániában', + LU: 'Luxemburgban', + LV: 'Lettországban', + MC: 'Monacóban', + MD: 'Moldovában', + ME: 'Montenegróban', + MG: 'Madagaszkáron', + MK: 'Macedóniában', + ML: 'Malin', + MR: 'Mauritániában', + MT: 'Máltán', + MU: 'Mauritiuson', + MZ: 'Mozambikban', + NL: 'Hollandiában', + NO: 'Norvégiában', + PK: 'Pakisztánban', + PL: 'Lengyelországban', + PS: 'Palesztinában', + PT: 'Portugáliában', + QA: 'Katarban', + RO: 'Romániában', + RS: 'Szerbiában', + SA: 'Szaúd-Arábiában', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + SM: 'San Marinoban', + SN: 'Szenegálban', + TL: 'Kelet-Timor', + TN: 'Tunéziában', + TR: 'Törökországban', + VG: 'Britt Virgin szigeteken', + XK: 'Koszovói Köztársaság', + }, + country: 'Kérlek, hogy %s érvényes IBAN számot adj meg', + default: 'Kérlek, hogy érvényes IBAN számot adj meg', + }, + id: { + countries: { + BA: 'Bosznia-Hercegovinában', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CH: 'Svájcban', + CL: 'Chilében', + CN: 'Kínában', + CZ: 'Csehországban', + DK: 'Dániában', + EE: 'Észtországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + HR: 'Horvátországban', + IE: 'Írországban', + IS: 'Izlandon', + LT: 'Litvániában', + LV: 'Lettországban', + ME: 'Montenegróban', + MK: 'Macedóniában', + NL: 'Hollandiában', + PL: 'Lengyelországban', + RO: 'Romániában', + RS: 'Szerbiában', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + SM: 'San Marinoban', + TH: 'Thaiföldön', + TR: 'Törökországban', + ZA: 'Dél-Afrikában', + }, + country: 'Kérlek, hogy %s érvényes személy azonosító számot adj meg', + default: 'Kérlek, hogy érvényes személy azonosító számot adj meg', + }, + identical: { + default: 'Kérlek, hogy ugyan azt az értéket add meg', + }, + imei: { + default: 'Kérlek, hogy érvényes IMEI számot adj meg', + }, + imo: { + default: 'Kérlek, hogy érvényes IMO számot adj meg', + }, + integer: { + default: 'Kérlek, hogy számot adj meg', + }, + ip: { + default: 'Kérlek, hogy IP címet adj meg', + ipv4: 'Kérlek, hogy érvényes IPv4 címet adj meg', + ipv6: 'Kérlek, hogy érvényes IPv6 címet adj meg', + }, + isbn: { + default: 'Kérlek, hogy érvényes ISBN számot adj meg', + }, + isin: { + default: 'Kérlek, hogy érvényes ISIN számot adj meg', + }, + ismn: { + default: 'Kérlek, hogy érvényes ISMN számot adj meg', + }, + issn: { + default: 'Kérlek, hogy érvényes ISSN számot adj meg', + }, + lessThan: { + default: 'Kérlek, hogy adj meg egy számot ami kisebb vagy egyenlő mint %s', + notInclusive: 'Kérlek, hogy adj meg egy számot ami kisebb mint %s', + }, + mac: { + default: 'Kérlek, hogy érvényes MAC címet adj meg', + }, + meid: { + default: 'Kérlek, hogy érvényes MEID számot adj meg', + }, + notEmpty: { + default: 'Kérlek, hogy adj értéket a mezőnek', + }, + numeric: { + default: 'Please enter a valid float number', + }, + phone: { + countries: { + AE: 'az Egyesült Arab Emírségekben', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CN: 'Kínában', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + ES: 'Spanyolországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + IN: 'India', + MA: 'Marokkóban', + NL: 'Hollandiában', + PK: 'Pakisztánban', + RO: 'Romániában', + RU: 'Oroszországban', + SK: 'Szlovákiában', + TH: 'Thaiföldön', + US: 'az Egyesült Államokban', + VE: 'Venezuelában', + }, + country: 'Kérlek, hogy %s érvényes telefonszámot adj meg', + default: 'Kérlek, hogy érvényes telefonszámot adj meg', + }, + promise: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + regexp: { + default: 'Kérlek, hogy a mintának megfelelő értéket adj meg', + }, + remote: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + rtn: { + default: 'Kérlek, hogy érvényes RTN számot adj meg', + }, + sedol: { + default: 'Kérlek, hogy érvényes SEDOL számot adj meg', + }, + siren: { + default: 'Kérlek, hogy érvényes SIREN számot adj meg', + }, + siret: { + default: 'Kérlek, hogy érvényes SIRET számot adj meg', + }, + step: { + default: 'Kérlek, hogy érvényes lépteket adj meg (%s)', + }, + stringCase: { + default: 'Kérlek, hogy csak kisbetüket adj meg', + upper: 'Kérlek, hogy csak nagy betüket adj meg', + }, + stringLength: { + between: 'Kérlek, hogy legalább %s, de maximum %s karaktert adj meg', + default: 'Kérlek, hogy érvényes karakter hosszúsággal adj meg értéket', + less: 'Kérlek, hogy kevesebb mint %s karaktert adj meg', + more: 'Kérlek, hogy több mint %s karaktert adj meg', + }, + uri: { + default: 'Kérlek, hogy helyes URI -t adj meg', + }, + uuid: { + default: 'Kérlek, hogy érvényes UUID számot adj meg', + version: 'Kérlek, hogy érvényes UUID verzió %s számot adj meg', + }, + vat: { + countries: { + AT: 'Ausztriában', + BE: 'Belgiumban', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CH: 'Svájcban', + CY: 'Cipruson', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + EE: 'Észtországban', + EL: 'Görögországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + GR: 'Görögországban', + HR: 'Horvátországban', + HU: 'Magyarországon', + IE: 'Írországban', + IS: 'Izlandon', + IT: 'Olaszországban', + LT: 'Litvániában', + LU: 'Luxemburgban', + LV: 'Lettországban', + MT: 'Máltán', + NL: 'Hollandiában', + NO: 'Norvégiában', + PL: 'Lengyelországban', + PT: 'Portugáliában', + RO: 'Romániában', + RS: 'Szerbiában', + RU: 'Oroszországban', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + VE: 'Venezuelában', + ZA: 'Dél-Afrikában', + }, + country: 'Kérlek, hogy %s helyes adószámot adj meg', + default: 'Kérlek, hogy helyes adó számot adj meg', + }, + vin: { + default: 'Kérlek, hogy érvényes VIN számot adj meg', + }, + zipCode: { + countries: { + AT: 'Ausztriában', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CA: 'Kanadában', + CH: 'Svájcban', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + ES: 'Spanyolországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + IE: 'Írországban', + IN: 'India', + IT: 'Olaszországban', + MA: 'Marokkóban', + NL: 'Hollandiában', + PL: 'Lengyelországban', + PT: 'Portugáliában', + RO: 'Romániában', + RU: 'Oroszországban', + SE: 'Svájcban', + SG: 'Szingapúrban', + SK: 'Szlovákiában', + US: 'Egyesült Államok beli', + }, + country: 'Kérlek, hogy %s érvényes irányítószámot adj meg', + default: 'Kérlek, hogy érvényes irányítószámot adj meg', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/id_ID.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/id_ID.js new file mode 100644 index 0000000..eaa7b05 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/id_ID.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Silahkan isi karakter base 64 tersandi yang valid', + }, + between: { + default: 'Silahkan isi nilai antara %s dan %s', + notInclusive: 'Silahkan isi nilai antara %s dan %s, strictly', + }, + bic: { + default: 'Silahkan isi nomor BIC yang valid', + }, + callback: { + default: 'Silahkan isi nilai yang valid', + }, + choice: { + between: 'Silahkan pilih pilihan %s - %s', + default: 'Silahkan isi nilai yang valid', + less: 'Silahkan pilih pilihan %s pada minimum', + more: 'Silahkan pilih pilihan %s pada maksimum', + }, + color: { + default: 'Silahkan isi karakter warna yang valid', + }, + creditCard: { + default: 'Silahkan isi nomor kartu kredit yang valid', + }, + cusip: { + default: 'Silahkan isi nomor CUSIP yang valid', + }, + date: { + default: 'Silahkan isi tanggal yang benar', + max: 'Silahkan isi tanggal sebelum tanggal %s', + min: 'Silahkan isi tanggal setelah tanggal %s', + range: 'Silahkan isi tanggal antara %s - %s', + }, + different: { + default: 'Silahkan isi nilai yang berbeda', + }, + digits: { + default: 'Silahkan isi dengan hanya digit', + }, + ean: { + default: 'Silahkan isi nomor EAN yang valid', + }, + ein: { + default: 'Silahkan isi nomor EIN yang valid', + }, + emailAddress: { + default: 'Silahkan isi alamat email yang valid', + }, + file: { + default: 'Silahkan pilih file yang valid', + }, + greaterThan: { + default: 'Silahkan isi nilai yang lebih besar atau sama dengan %s', + notInclusive: 'Silahkan is nilai yang lebih besar dari %s', + }, + grid: { + default: 'Silahkan nomor GRId yang valid', + }, + hex: { + default: 'Silahkan isi karakter hexadecimal yang valid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Uni Emirat Arab', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia and Herzegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Switzerland', + CI: 'Pantai Gading', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + DO: 'Republik Dominika', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spanyol', + FI: 'Finlandia', + FO: 'Faroe Islands', + FR: 'Francis', + GB: 'Inggris', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Yunani', + GT: 'Guatemala', + HR: 'Kroasia', + HU: 'Hungary', + IE: 'Irlandia', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Netherlands', + NO: 'Norway', + PK: 'Pakistan', + PL: 'Polandia', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Swedia', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Leste', + TN: 'Tunisia', + TR: 'Turki', + VG: 'Virgin Islands, British', + XK: 'Kosovo', + }, + country: 'Silahkan isi nomor IBAN yang valid dalam %s', + default: 'silahkan isi nomor IBAN yang valid', + }, + id: { + countries: { + BA: 'Bosnia and Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CL: 'Chile', + CN: 'Cina', + CZ: 'Czech', + DK: 'Denmark', + EE: 'Estonia', + ES: 'Spanyol', + FI: 'Finlandia', + HR: 'Kroasia', + IE: 'Irlandia', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Netherlands', + PL: 'Polandia', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turki', + ZA: 'Africa Selatan', + }, + country: 'Silahkan isi nomor identitas yang valid dalam %s', + default: 'Silahkan isi nomor identitas yang valid', + }, + identical: { + default: 'Silahkan isi nilai yang sama', + }, + imei: { + default: 'Silahkan isi nomor IMEI yang valid', + }, + imo: { + default: 'Silahkan isi nomor IMO yang valid', + }, + integer: { + default: 'Silahkan isi angka yang valid', + }, + ip: { + default: 'Silahkan isi alamat IP yang valid', + ipv4: 'Silahkan isi alamat IPv4 yang valid', + ipv6: 'Silahkan isi alamat IPv6 yang valid', + }, + isbn: { + default: 'Slilahkan isi nomor ISBN yang valid', + }, + isin: { + default: 'Silahkan isi ISIN yang valid', + }, + ismn: { + default: 'Silahkan isi nomor ISMN yang valid', + }, + issn: { + default: 'Silahkan isi nomor ISSN yang valid', + }, + lessThan: { + default: 'Silahkan isi nilai kurang dari atau sama dengan %s', + notInclusive: 'Silahkan isi nilai kurang dari %s', + }, + mac: { + default: 'Silahkan isi MAC address yang valid', + }, + meid: { + default: 'Silahkan isi nomor MEID yang valid', + }, + notEmpty: { + default: 'Silahkan isi', + }, + numeric: { + default: 'Silahkan isi nomor yang valid', + }, + phone: { + countries: { + AE: 'Uni Emirat Arab', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'Cina', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + ES: 'Spanyol', + FR: 'Francis', + GB: 'Inggris', + IN: 'India', + MA: 'Maroko', + NL: 'Netherlands', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovakia', + TH: 'Thailand', + US: 'Amerika Serikat', + VE: 'Venezuela', + }, + country: 'Silahkan isi nomor telepon yang valid dalam %s', + default: 'Silahkan isi nomor telepon yang valid', + }, + promise: { + default: 'Silahkan isi nilai yang valid', + }, + regexp: { + default: 'Silahkan isi nilai yang cocok dengan pola', + }, + remote: { + default: 'Silahkan isi nilai yang valid', + }, + rtn: { + default: 'Silahkan isi nomor RTN yang valid', + }, + sedol: { + default: 'Silahkan isi nomor SEDOL yang valid', + }, + siren: { + default: 'Silahkan isi nomor SIREN yang valid', + }, + siret: { + default: 'Silahkan isi nomor SIRET yang valid', + }, + step: { + default: 'Silahkan isi langkah yang benar pada %s', + }, + stringCase: { + default: 'Silahkan isi hanya huruf kecil', + upper: 'Silahkan isi hanya huruf besar', + }, + stringLength: { + between: 'Silahkan isi antara %s dan %s panjang karakter', + default: 'Silahkan isi nilai dengan panjang karakter yang benar', + less: 'Silahkan isi kurang dari %s karakter', + more: 'Silahkan isi lebih dari %s karakter', + }, + uri: { + default: 'Silahkan isi URI yang valid', + }, + uuid: { + default: 'Silahkan isi nomor UUID yang valid', + version: 'Silahkan si nomor versi %s UUID yang valid', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgium', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CY: 'Cyprus', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + EE: 'Estonia', + EL: 'Yunani', + ES: 'Spanyol', + FI: 'Finlandia', + FR: 'Francis', + GB: 'Inggris', + GR: 'Yunani', + HR: 'Kroasia', + HU: 'Hungaria', + IE: 'Irlandia', + IS: 'Iceland', + IT: 'Italy', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Belanda', + NO: 'Norway', + PL: 'Polandia', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Afrika Selatan', + }, + country: 'Silahkan nomor VAT yang valid dalam %s', + default: 'Silahkan isi nomor VAT yang valid', + }, + vin: { + default: 'Silahkan isi nomor VIN yang valid', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Kanada', + CH: 'Switzerland', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + ES: 'Spanyol', + FR: 'Francis', + GB: 'Inggris', + IE: 'Irlandia', + IN: 'India', + IT: 'Italia', + MA: 'Maroko', + NL: 'Belanda', + PL: 'Polandia', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russia', + SE: 'Sweden', + SG: 'Singapura', + SK: 'Slovakia', + US: 'Amerika Serikat', + }, + country: 'Silahkan isi kode pos yang valid di %s', + default: 'Silahkan isi kode pos yang valid', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/it_IT.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/it_IT.js new file mode 100644 index 0000000..e8a7ed5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/it_IT.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Si prega di inserire un valore codificato in Base 64', + }, + between: { + default: 'Si prega di inserire un valore tra %s e %s', + notInclusive: 'Si prega di scegliere rigorosamente un valore tra %s e %s', + }, + bic: { + default: 'Si prega di inserire un numero BIC valido', + }, + callback: { + default: 'Si prega di inserire un valore valido', + }, + choice: { + between: "Si prega di scegliere l'opzione tra %s e %s", + default: 'Si prega di inserire un valore valido', + less: "Si prega di scegliere come minimo l'opzione %s", + more: "Si prega di scegliere al massimo l'opzione %s", + }, + color: { + default: 'Si prega di inserire un colore valido', + }, + creditCard: { + default: 'Si prega di inserire un numero di carta di credito valido', + }, + cusip: { + default: 'Si prega di inserire un numero CUSIP valido', + }, + date: { + default: 'Si prega di inserire una data valida', + max: 'Si prega di inserire una data antecedente il %s', + min: 'Si prega di inserire una data successiva al %s', + range: 'Si prega di inserire una data compresa tra %s - %s', + }, + different: { + default: 'Si prega di inserire un valore differente', + }, + digits: { + default: 'Si prega di inserire solo numeri', + }, + ean: { + default: 'Si prega di inserire un numero EAN valido', + }, + ein: { + default: 'Si prega di inserire un numero EIN valido', + }, + emailAddress: { + default: 'Si prega di inserire un indirizzo email valido', + }, + file: { + default: 'Si prega di scegliere un file valido', + }, + greaterThan: { + default: 'Si prega di inserire un numero maggiore o uguale a %s', + notInclusive: 'Si prega di inserire un numero maggiore di %s', + }, + grid: { + default: 'Si prega di inserire un numero GRId valido', + }, + hex: { + default: 'Si prega di inserire un numero esadecimale valido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirati Arabi Uniti', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia-Erzegovina', + BE: 'Belgio', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasile', + CH: 'Svizzera', + CI: "Costa d'Avorio", + CM: 'Cameron', + CR: 'Costa Rica', + CV: 'Capo Verde', + CY: 'Cipro', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + DO: 'Repubblica Domenicana', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spagna', + FI: 'Finlandia', + FO: 'Isole Faroe', + FR: 'Francia', + GB: 'Regno Unito', + GE: 'Georgia', + GI: 'Gibilterra', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croazia', + HU: 'Ungheria', + IE: 'Irlanda', + IL: 'Israele', + IR: 'Iran', + IS: 'Islanda', + IT: 'Italia', + JO: 'Giordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Lussemburgo', + LV: 'Lettonia', + MC: 'Monaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambico', + NL: 'Olanda', + NO: 'Norvegia', + PK: 'Pachistan', + PL: 'Polonia', + PS: 'Palestina', + PT: 'Portogallo', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Est', + TN: 'Tunisia', + TR: 'Turchia', + VG: 'Isole Vergini, Inghilterra', + XK: 'Repubblica del Kosovo', + }, + country: 'Si prega di inserire un numero IBAN valido per %s', + default: 'Si prega di inserire un numero IBAN valido', + }, + id: { + countries: { + BA: 'Bosnia-Erzegovina', + BG: 'Bulgaria', + BR: 'Brasile', + CH: 'Svizzera', + CL: 'Chile', + CN: 'Cina', + CZ: 'Republica Ceca', + DK: 'Danimarca', + EE: 'Estonia', + ES: 'Spagna', + FI: 'Finlandia', + HR: 'Croazia', + IE: 'Irlanda', + IS: 'Islanda', + LT: 'Lituania', + LV: 'Lettonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Paesi Bassi', + PL: 'Polonia', + RO: 'Romania', + RS: 'Serbia', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + SM: 'San Marino', + TH: 'Thailandia', + TR: 'Turchia', + ZA: 'Sudafrica', + }, + country: 'Si prega di inserire un numero di identificazione valido per %s', + default: 'Si prega di inserire un numero di identificazione valido', + }, + identical: { + default: 'Si prega di inserire un valore identico', + }, + imei: { + default: 'Si prega di inserire un numero IMEI valido', + }, + imo: { + default: 'Si prega di inserire un numero IMO valido', + }, + integer: { + default: 'Si prega di inserire un numero valido', + }, + ip: { + default: 'Please enter a valid IP address', + ipv4: 'Si prega di inserire un indirizzo IPv4 valido', + ipv6: 'Si prega di inserire un indirizzo IPv6 valido', + }, + isbn: { + default: 'Si prega di inserire un numero ISBN valido', + }, + isin: { + default: 'Si prega di inserire un numero ISIN valido', + }, + ismn: { + default: 'Si prega di inserire un numero ISMN valido', + }, + issn: { + default: 'Si prega di inserire un numero ISSN valido', + }, + lessThan: { + default: 'Si prega di inserire un valore minore o uguale a %s', + notInclusive: 'Si prega di inserire un valore minore di %s', + }, + mac: { + default: 'Si prega di inserire un valido MAC address', + }, + meid: { + default: 'Si prega di inserire un numero MEID valido', + }, + notEmpty: { + default: 'Si prega di non lasciare il campo vuoto', + }, + numeric: { + default: 'Si prega di inserire un numero con decimali valido', + }, + phone: { + countries: { + AE: 'Emirati Arabi Uniti', + BG: 'Bulgaria', + BR: 'Brasile', + CN: 'Cina', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + ES: 'Spagna', + FR: 'Francia', + GB: 'Regno Unito', + IN: 'India', + MA: 'Marocco', + NL: 'Olanda', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovacchia', + TH: 'Thailandia', + US: "Stati Uniti d'America", + VE: 'Venezuelano', + }, + country: 'Si prega di inserire un numero di telefono valido per %s', + default: 'Si prega di inserire un numero di telefono valido', + }, + promise: { + default: 'Si prega di inserire un valore valido', + }, + regexp: { + default: 'Inserisci un valore che corrisponde al modello', + }, + remote: { + default: 'Si prega di inserire un valore valido', + }, + rtn: { + default: 'Si prega di inserire un numero RTN valido', + }, + sedol: { + default: 'Si prega di inserire un numero SEDOL valido', + }, + siren: { + default: 'Si prega di inserire un numero SIREN valido', + }, + siret: { + default: 'Si prega di inserire un numero SIRET valido', + }, + step: { + default: 'Si prega di inserire uno step valido di %s', + }, + stringCase: { + default: 'Si prega di inserire solo caratteri minuscoli', + upper: 'Si prega di inserire solo caratteri maiuscoli', + }, + stringLength: { + between: 'Si prega di inserire un numero di caratteri compreso tra %s e %s', + default: 'Si prega di inserire un valore con lunghezza valida', + less: 'Si prega di inserire meno di %s caratteri', + more: 'Si prega di inserire piu di %s caratteri', + }, + uri: { + default: 'Si prega di inserire un URI valido', + }, + uuid: { + default: 'Si prega di inserire un numero UUID valido', + version: 'Si prega di inserire un numero di versione UUID %s valido', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgio', + BG: 'Bulgaria', + BR: 'Brasiliano', + CH: 'Svizzera', + CY: 'Cipro', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'Spagna', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Regno Unito', + GR: 'Grecia', + HR: 'Croazia', + HU: 'Ungheria', + IE: 'Irlanda', + IS: 'Islanda', + IT: 'Italia', + LT: 'Lituania', + LU: 'Lussemburgo', + LV: 'Lettonia', + MT: 'Malta', + NL: 'Olanda', + NO: 'Norvegia', + PL: 'Polonia', + PT: 'Portogallo', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + VE: 'Venezuelano', + ZA: 'Sud Africano', + }, + country: 'Si prega di inserire un valore di IVA valido per %s', + default: 'Si prega di inserire un valore di IVA valido', + }, + vin: { + default: 'Si prega di inserire un numero VIN valido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasile', + CA: 'Canada', + CH: 'Svizzera', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + ES: 'Spagna', + FR: 'Francia', + GB: 'Regno Unito', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marocco', + NL: 'Paesi Bassi', + PL: 'Polonia', + PT: 'Portogallo', + RO: 'Romania', + RU: 'Russia', + SE: 'Svezia', + SG: 'Singapore', + SK: 'Slovacchia', + US: "Stati Uniti d'America", + }, + country: 'Si prega di inserire un codice postale valido per %s', + default: 'Si prega di inserire un codice postale valido', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/ja_JP.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ja_JP.js new file mode 100644 index 0000000..f460012 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ja_JP.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: '有効なBase64エンコードを入力してください', + }, + between: { + default: '%sから%sの間で入力してください', + notInclusive: '厳密に%sから%sの間で入力してください', + }, + bic: { + default: '有効なBICコードを入力してください', + }, + callback: { + default: '有効な値を入力してください', + }, + choice: { + between: '%s - %s で選択してください', + default: '有効な値を入力してください', + less: '最低でも%sを選択してください', + more: '最大でも%sを選択してください', + }, + color: { + default: '有効なカラーコードを入力してください', + }, + creditCard: { + default: '有効なクレジットカード番号を入力してください', + }, + cusip: { + default: '有効なCUSIP番号を入力してください', + }, + date: { + default: '有効な日付を入力してください', + max: '%s の前に有効な日付を入力してください', + min: '%s 後に有効な日付を入力してください', + range: '%s - %s の間に有効な日付を入力してください', + }, + different: { + default: '異なる値を入力してください', + }, + digits: { + default: '数字のみで入力してください', + }, + ean: { + default: '有効なEANコードを入力してください', + }, + ein: { + default: '有効なEINコードを入力してください', + }, + emailAddress: { + default: '有効なメールアドレスを入力してください', + }, + file: { + default: '有効なファイルを選択してください', + }, + greaterThan: { + default: '%sより大きい値を入力してください', + notInclusive: '%sより大きい値を入力してください', + }, + grid: { + default: '有効なGRIdコードを入力してください', + }, + hex: { + default: '有効な16進数を入力してください。', + }, + iban: { + countries: { + AD: 'アンドラ', + AE: 'アラブ首長国連邦', + AL: 'アルバニア', + AO: 'アンゴラ', + AT: 'オーストリア', + AZ: 'アゼルバイジャン', + BA: 'ボスニア·ヘルツェゴビナ', + BE: 'ベルギー', + BF: 'ブルキナファソ', + BG: 'ブルガリア', + BH: 'バーレーン', + BI: 'ブルンジ', + BJ: 'ベナン', + BR: 'ブラジル', + CH: 'スイス', + CI: '象牙海岸', + CM: 'カメルーン', + CR: 'コスタリカ', + CV: 'カーボベルデ', + CY: 'キプロス', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + DO: 'ドミニカ共和国', + DZ: 'アルジェリア', + EE: 'エストニア', + ES: 'スペイン', + FI: 'フィンランド', + FO: 'フェロー諸島', + FR: 'フランス', + GB: 'イギリス', + GE: 'グルジア', + GI: 'ジブラルタル', + GL: 'グリーンランド', + GR: 'ギリシャ', + GT: 'グアテマラ', + HR: 'クロアチア', + HU: 'ハンガリー', + IE: 'アイルランド', + IL: 'イスラエル', + IR: 'イラン', + IS: 'アイスランド', + IT: 'イタリア', + JO: 'ヨルダン', + KW: 'クウェート', + KZ: 'カザフスタン', + LB: 'レバノン', + LI: 'リヒテンシュタイン', + LT: 'リトアニア', + LU: 'ルクセンブルグ', + LV: 'ラトビア', + MC: 'モナコ', + MD: 'モルドバ', + ME: 'モンテネグロ', + MG: 'マダガスカル', + MK: 'マケドニア', + ML: 'マリ', + MR: 'モーリタニア', + MT: 'マルタ', + MU: 'モーリシャス', + MZ: 'モザンビーク', + NL: 'オランダ', + NO: 'ノルウェー', + PK: 'パキスタン', + PL: 'ポーランド', + PS: 'パレスチナ', + PT: 'ポルトガル', + QA: 'カタール', + RO: 'ルーマニア', + RS: 'セルビア', + SA: 'サウジアラビア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + SM: 'サン·マリノ', + SN: 'セネガル', + TL: '東チモール', + TN: 'チュニジア', + TR: 'トルコ', + VG: '英領バージン諸島', + XK: 'コソボ共和国', + }, + country: '有効な%sのIBANコードを入力してください', + default: '有効なIBANコードを入力してください', + }, + id: { + countries: { + BA: 'スニア·ヘルツェゴビナ', + BG: 'ブルガリア', + BR: 'ブラジル', + CH: 'スイス', + CL: 'チリ', + CN: 'チャイナ', + CZ: 'チェコ共和国', + DK: 'デンマーク', + EE: 'エストニア', + ES: 'スペイン', + FI: 'フィンランド', + HR: 'クロアチア', + IE: 'アイルランド', + IS: 'アイスランド', + LT: 'リトアニア', + LV: 'ラトビア', + ME: 'モンテネグロ', + MK: 'マケドニア', + NL: 'オランダ', + PL: 'ポーランド', + RO: 'ルーマニア', + RS: 'セルビア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + SM: 'サン·マリノ', + TH: 'タイ国', + TR: 'トルコ', + ZA: '南アフリカ', + }, + country: '有効な%sのIDを入力してください', + default: '有効なIDを入力してください', + }, + identical: { + default: '同じ値を入力してください', + }, + imei: { + default: '有効なIMEIを入力してください', + }, + imo: { + default: '有効なIMOを入力してください', + }, + integer: { + default: '有効な数値を入力してください', + }, + ip: { + default: '有効なIPアドレスを入力してください', + ipv4: '有効なIPv4アドレスを入力してください', + ipv6: '有効なIPv6アドレスを入力してください', + }, + isbn: { + default: '有効なISBN番号を入力してください', + }, + isin: { + default: '有効なISIN番号を入力してください', + }, + ismn: { + default: '有効なISMN番号を入力してください', + }, + issn: { + default: '有効なISSN番号を入力してください', + }, + lessThan: { + default: '%s未満の値を入力してください', + notInclusive: '%s未満の値を入力してください', + }, + mac: { + default: '有効なMACアドレスを入力してください', + }, + meid: { + default: '有効なMEID番号を入力してください', + }, + notEmpty: { + default: '値を入力してください', + }, + numeric: { + default: '有効な浮動小数点数値を入力してください。', + }, + phone: { + countries: { + AE: 'アラブ首長国連邦', + BG: 'ブルガリア', + BR: 'ブラジル', + CN: 'チャイナ', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + ES: 'スペイン', + FR: 'フランス', + GB: 'イギリス', + IN: 'インド', + MA: 'モロッコ', + NL: 'オランダ', + PK: 'パキスタン', + RO: 'ルーマニア', + RU: 'ロシア', + SK: 'スロバキア', + TH: 'タイ国', + US: 'アメリカ', + VE: 'ベネズエラ', + }, + country: '有効な%sの電話番号を入力してください', + default: '有効な電話番号を入力してください', + }, + promise: { + default: '有効な値を入力してください', + }, + regexp: { + default: '正規表現に一致する値を入力してください', + }, + remote: { + default: '有効な値を入力してください。', + }, + rtn: { + default: '有効なRTN番号を入力してください', + }, + sedol: { + default: '有効なSEDOL番号を入力してください', + }, + siren: { + default: '有効なSIREN番号を入力してください', + }, + siret: { + default: '有効なSIRET番号を入力してください', + }, + step: { + default: '%sの有効なステップを入力してください', + }, + stringCase: { + default: '小文字のみで入力してください', + upper: '大文字のみで入力してください', + }, + stringLength: { + between: '%s文字から%s文字の間で入力してください', + default: '有効な長さの値を入力してください', + less: '%s文字未満で入力してください', + more: '%s文字より大きく入力してください', + }, + uri: { + default: '有効なURIを入力してください。', + }, + uuid: { + default: '有効なUUIDを入力してください', + version: '有効なバージョン%s UUIDを入力してください', + }, + vat: { + countries: { + AT: 'オーストリア', + BE: 'ベルギー', + BG: 'ブルガリア', + BR: 'ブラジル', + CH: 'スイス', + CY: 'キプロス等', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + EE: 'エストニア', + EL: 'ギリシャ', + ES: 'スペイン', + FI: 'フィンランド', + FR: 'フランス', + GB: 'イギリス', + GR: 'ギリシャ', + HR: 'クロアチア', + HU: 'ハンガリー', + IE: 'アイルランド', + IS: 'アイスランド', + IT: 'イタリア', + LT: 'リトアニア', + LU: 'ルクセンブルグ', + LV: 'ラトビア', + MT: 'マルタ', + NL: 'オランダ', + NO: 'ノルウェー', + PL: 'ポーランド', + PT: 'ポルトガル', + RO: 'ルーマニア', + RS: 'セルビア', + RU: 'ロシア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + VE: 'ベネズエラ', + ZA: '南アフリカ', + }, + country: '有効な%sのVAT番号を入力してください', + default: '有効なVAT番号を入力してください', + }, + vin: { + default: '有効なVIN番号を入力してください', + }, + zipCode: { + countries: { + AT: 'オーストリア', + BG: 'ブルガリア', + BR: 'ブラジル', + CA: 'カナダ', + CH: 'スイス', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + ES: 'スペイン', + FR: 'フランス', + GB: 'イギリス', + IE: 'アイルランド', + IN: 'インド', + IT: 'イタリア', + MA: 'モロッコ', + NL: 'オランダ', + PL: 'ポーランド', + PT: 'ポルトガル', + RO: 'ルーマニア', + RU: 'ロシア', + SE: 'スウェーデン', + SG: 'シンガポール', + SK: 'スロバキア', + US: 'アメリカ', + }, + country: '有効な%sの郵便番号を入力してください', + default: '有効な郵便番号を入力してください', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/nl_BE.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/nl_BE.js new file mode 100644 index 0000000..f4baba1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/nl_BE.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Geef een geldige base 64 geëncodeerde tekst in', + }, + between: { + default: 'Geef een waarde in van %s tot en met %s', + notInclusive: 'Geef een waarde in van %s tot %s', + }, + bic: { + default: 'Geef een geldig BIC-nummer in', + }, + callback: { + default: 'Geef een geldige waarde in', + }, + choice: { + between: 'Kies tussen de %s en %s opties', + default: 'Geef een geldige waarde in', + less: 'Kies minimaal %s opties', + more: 'Kies maximaal %s opties', + }, + color: { + default: 'Geef een geldige kleurcode in', + }, + creditCard: { + default: 'Geef een geldig kredietkaartnummer in', + }, + cusip: { + default: 'Geef een geldig CUSIP-nummer in', + }, + date: { + default: 'Geef een geldige datum in', + max: 'Geef een datum in die voor %s ligt', + min: 'Geef een datum in die na %s ligt', + range: 'Geef een datum in die tussen %s en %s ligt', + }, + different: { + default: 'Geef een andere waarde in', + }, + digits: { + default: 'Geef alleen cijfers in', + }, + ean: { + default: 'Geef een geldig EAN-nummer in', + }, + ein: { + default: 'Geef een geldig EIN-nummer in', + }, + emailAddress: { + default: 'Geef een geldig emailadres op', + }, + file: { + default: 'Kies een geldig bestand', + }, + greaterThan: { + default: 'Geef een waarde in die gelijk is aan of groter is dan %s', + notInclusive: 'Geef een waarde in die groter is dan %s', + }, + grid: { + default: 'Geef een geldig GRID-nummer in', + }, + hex: { + default: 'Geef een geldig hexadecimaal nummer in', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Verenigde Arabische Emiraten', + AL: 'Albania', + AO: 'Angola', + AT: 'Oostenrijk', + AZ: 'Azerbeidzjan', + BA: 'Bosnië en Herzegovina', + BE: 'België', + BF: 'Burkina Faso', + BG: 'Bulgarije"', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilië', + CH: 'Zwitserland', + CI: 'Ivoorkust', + CM: 'Kameroen', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + DO: 'Dominicaanse Republiek', + DZ: 'Algerije', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + FO: 'Faeröer', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenland', + GR: 'Griekenland', + GT: 'Guatemala', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IL: 'Israël', + IR: 'Iran', + IS: 'IJsland', + IT: 'Italië', + JO: 'Jordan', + KW: 'Koeweit', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldavië', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonië', + ML: 'Mali', + MR: 'Mauretanië', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Nederland', + NO: 'Noorwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestijnse', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roemenië', + RS: 'Servië', + SA: 'Saudi-Arabië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Oost-Timor', + TN: 'Tunesië', + TR: 'Turkije', + VG: 'Britse Maagdeneilanden', + XK: 'Republiek Kosovo', + }, + country: 'Geef een geldig IBAN-nummer in uit %s', + default: 'Geef een geldig IBAN-nummer in', + }, + id: { + countries: { + BA: 'Bosnië en Herzegovina', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CL: 'Chili', + CN: 'China', + CZ: 'Tsjechische', + DK: 'Denemarken', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + HR: 'Kroatië', + IE: 'Ierland', + IS: 'IJsland', + LT: 'Litouwen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Macedonië', + NL: 'Nederland', + PL: 'Polen', + RO: 'Roemenië', + RS: 'Servië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkije', + ZA: 'Zuid-Afrika', + }, + country: 'Geef een geldig identificatienummer in uit %s', + default: 'Geef een geldig identificatienummer in', + }, + identical: { + default: 'Geef dezelfde waarde in', + }, + imei: { + default: 'Geef een geldig IMEI-nummer in', + }, + imo: { + default: 'Geef een geldig IMO-nummer in', + }, + integer: { + default: 'Geef een geldig nummer in', + }, + ip: { + default: 'Geef een geldig IP-adres in', + ipv4: 'Geef een geldig IPv4-adres in', + ipv6: 'Geef een geldig IPv6-adres in', + }, + isbn: { + default: 'Geef een geldig ISBN-nummer in', + }, + isin: { + default: 'Geef een geldig ISIN-nummer in', + }, + ismn: { + default: 'Geef een geldig ISMN-nummer in', + }, + issn: { + default: 'Geef een geldig ISSN-nummer in', + }, + lessThan: { + default: 'Geef een waarde in die gelijk is aan of kleiner is dan %s', + notInclusive: 'Geef een waarde in die kleiner is dan %s', + }, + mac: { + default: 'Geef een geldig MAC-adres in', + }, + meid: { + default: 'Geef een geldig MEID-nummer in', + }, + notEmpty: { + default: 'Geef een waarde in', + }, + numeric: { + default: 'Geef een geldig kommagetal in', + }, + phone: { + countries: { + AE: 'Verenigde Arabische Emiraten', + BG: 'Bulgarije', + BR: 'Brazilië', + CN: 'China', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IN: 'Indië', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Roemenië', + RU: 'Rusland', + SK: 'Slowakije', + TH: 'Thailand', + US: 'VS', + VE: 'Venezuela', + }, + country: 'Geef een geldig telefoonnummer in uit %s', + default: 'Geef een geldig telefoonnummer in', + }, + promise: { + default: 'Geef een geldige waarde in', + }, + regexp: { + default: 'Geef een waarde in die overeenkomt met het patroon', + }, + remote: { + default: 'Geef een geldige waarde in', + }, + rtn: { + default: 'Geef een geldig RTN-nummer in', + }, + sedol: { + default: 'Geef een geldig SEDOL-nummer in', + }, + siren: { + default: 'Geef een geldig SIREN-nummer in', + }, + siret: { + default: 'Geef een geldig SIRET-nummer in', + }, + step: { + default: 'Geef een geldig meervoud in van %s', + }, + stringCase: { + default: 'Geef enkel kleine letters in', + upper: 'Geef enkel hoofdletters in', + }, + stringLength: { + between: 'Geef tussen %s en %s karakters in', + default: 'Geef een waarde in met de juiste lengte', + less: 'Geef minder dan %s karakters in', + more: 'Geef meer dan %s karakters in', + }, + uri: { + default: 'Geef een geldige URI in', + }, + uuid: { + default: 'Geef een geldig UUID-nummer in', + version: 'Geef een geldig UUID-nummer (versie %s) in', + }, + vat: { + countries: { + AT: 'Oostenrijk', + BE: 'België', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CY: 'Cyprus', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + EE: 'Estland', + EL: 'Griekenland', + ES: 'Spanje', + FI: 'Finland', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GR: 'Griekenland', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IS: 'IJsland', + IT: 'Italië', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MT: 'Malta', + NL: 'Nederland', + NO: 'Noorwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RS: 'Servië', + RU: 'Rusland', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + VE: 'Venezuela', + ZA: 'Zuid-Afrika', + }, + country: 'Geef een geldig BTW-nummer in uit %s', + default: 'Geef een geldig BTW-nummer in', + }, + vin: { + default: 'Geef een geldig VIN-nummer in', + }, + zipCode: { + countries: { + AT: 'Oostenrijk', + BG: 'Bulgarije', + BR: 'Brazilië', + CA: 'Canada', + CH: 'Zwitserland', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IE: 'Ierland', + IN: 'Indië', + IT: 'Italië', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RU: 'Rusland', + SE: 'Zweden', + SG: 'Singapore', + SK: 'Slowakije', + US: 'VS', + }, + country: 'Geef een geldige postcode in uit %s', + default: 'Geef een geldige postcode in', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/nl_NL.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/nl_NL.js new file mode 100644 index 0000000..1ffa759 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/nl_NL.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Voer een geldige Base64 geëncodeerde tekst in', + }, + between: { + default: 'Voer een waarde in van %s tot en met %s', + notInclusive: 'Voer een waarde die tussen %s en %s ligt', + }, + bic: { + default: 'Voer een geldige BIC-code in', + }, + callback: { + default: 'Voer een geldige waarde in', + }, + choice: { + between: 'Kies tussen de %s - %s opties', + default: 'Voer een geldige waarde in', + less: 'Kies minimaal %s optie(s)', + more: 'Kies maximaal %s opties', + }, + color: { + default: 'Voer een geldige kleurcode in', + }, + creditCard: { + default: 'Voer een geldig creditcardnummer in', + }, + cusip: { + default: 'Voer een geldig CUSIP-nummer in', + }, + date: { + default: 'Voer een geldige datum in', + max: 'Voer een datum in die vóór %s ligt', + min: 'Voer een datum in die na %s ligt', + range: 'Voer een datum in die tussen %s en %s ligt', + }, + different: { + default: 'Voer een andere waarde in', + }, + digits: { + default: 'Voer enkel cijfers in', + }, + ean: { + default: 'Voer een geldige EAN-code in', + }, + ein: { + default: 'Voer een geldige EIN-code in', + }, + emailAddress: { + default: 'Voer een geldig e-mailadres in', + }, + file: { + default: 'Kies een geldig bestand', + }, + greaterThan: { + default: 'Voer een waarde in die gelijk is aan of groter is dan %s', + notInclusive: 'Voer een waarde in die is groter dan %s', + }, + grid: { + default: 'Voer een geldig GRId-nummer in', + }, + hex: { + default: 'Voer een geldig hexadecimaal nummer in', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Verenigde Arabische Emiraten', + AL: 'Albania', + AO: 'Angola', + AT: 'Oostenrijk', + AZ: 'Azerbeidzjan', + BA: 'Bosnië en Herzegovina', + BE: 'België', + BF: 'Burkina Faso', + BG: 'Bulgarije"', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilië', + CH: 'Zwitserland', + CI: 'Ivoorkust', + CM: 'Kameroen', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + DO: 'Dominicaanse Republiek', + DZ: 'Algerije', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + FO: 'Faeröer', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenland', + GR: 'Griekenland', + GT: 'Guatemala', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IL: 'Israël', + IR: 'Iran', + IS: 'IJsland', + IT: 'Italië', + JO: 'Jordan', + KW: 'Koeweit', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldavië', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonië', + ML: 'Mali', + MR: 'Mauretanië', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Nederland', + NO: 'Noorwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestijnse', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roemenië', + RS: 'Servië', + SA: 'Saudi-Arabië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Oost-Timor', + TN: 'Tunesië', + TR: 'Turkije', + VG: 'Britse Maagdeneilanden', + XK: 'Republiek Kosovo', + }, + country: 'Voer een geldig IBAN nummer in uit %s', + default: 'Voer een geldig IBAN nummer in', + }, + id: { + countries: { + BA: 'Bosnië en Herzegovina', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CL: 'Chili', + CN: 'China', + CZ: 'Tsjechische Republiek', + DK: 'Denemarken', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + HR: 'Kroatië', + IE: 'Ierland', + IS: 'IJsland', + LT: 'Litouwen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Macedonië', + NL: 'Nederland', + PL: 'Polen', + RO: 'Roemenië', + RS: 'Servië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkije', + ZA: 'Zuid-Afrika', + }, + country: 'Voer een geldig identificatie nummer in uit %s', + default: 'Voer een geldig identificatie nummer in', + }, + identical: { + default: 'Voer dezelfde waarde in', + }, + imei: { + default: 'Voer een geldig IMEI-nummer in', + }, + imo: { + default: 'Voer een geldig IMO-nummer in', + }, + integer: { + default: 'Voer een geldig getal in', + }, + ip: { + default: 'Voer een geldig IP adres in', + ipv4: 'Voer een geldig IPv4 adres in', + ipv6: 'Voer een geldig IPv6 adres in', + }, + isbn: { + default: 'Voer een geldig ISBN-nummer in', + }, + isin: { + default: 'Voer een geldig ISIN-nummer in', + }, + ismn: { + default: 'Voer een geldig ISMN-nummer in', + }, + issn: { + default: 'Voer een geldig ISSN-nummer in', + }, + lessThan: { + default: 'Voer een waarde in gelijk aan of kleiner dan %s', + notInclusive: 'Voer een waarde in kleiner dan %s', + }, + mac: { + default: 'Voer een geldig MAC adres in', + }, + meid: { + default: 'Voer een geldig MEID-nummer in', + }, + notEmpty: { + default: 'Voer een waarde in', + }, + numeric: { + default: 'Voer een geldig kommagetal in', + }, + phone: { + countries: { + AE: 'Verenigde Arabische Emiraten', + BG: 'Bulgarije', + BR: 'Brazilië', + CN: 'China', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IN: 'Indië', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Roemenië', + RU: 'Rusland', + SK: 'Slowakije', + TH: 'Thailand', + US: 'VS', + VE: 'Venezuela', + }, + country: 'Voer een geldig telefoonnummer in uit %s', + default: 'Voer een geldig telefoonnummer in', + }, + promise: { + default: 'Voer een geldige waarde in', + }, + regexp: { + default: 'Voer een waarde in die overeenkomt met het patroon', + }, + remote: { + default: 'Voer een geldige waarde in', + }, + rtn: { + default: 'Voer een geldig RTN-nummer in', + }, + sedol: { + default: 'Voer een geldig SEDOL-nummer in', + }, + siren: { + default: 'Voer een geldig SIREN-nummer in', + }, + siret: { + default: 'Voer een geldig SIRET-nummer in', + }, + step: { + default: 'Voer een meervoud van %s in', + }, + stringCase: { + default: 'Voer enkel kleine letters in', + upper: 'Voer enkel hoofdletters in', + }, + stringLength: { + between: 'Voer tussen tussen %s en %s karakters in', + default: 'Voer een waarde met de juiste lengte in', + less: 'Voer minder dan %s karakters in', + more: 'Voer meer dan %s karakters in', + }, + uri: { + default: 'Voer een geldige link in', + }, + uuid: { + default: 'Voer een geldige UUID in', + version: 'Voer een geldige UUID (versie %s) in', + }, + vat: { + countries: { + AT: 'Oostenrijk', + BE: 'België', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CY: 'Cyprus', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + EE: 'Estland', + EL: 'Griekenland', + ES: 'Spanje', + FI: 'Finland', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GR: 'Griekenland', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IS: 'IJsland', + IT: 'Italië', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MT: 'Malta', + NL: 'Nederland', + NO: 'Noorwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RS: 'Servië', + RU: 'Rusland', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + VE: 'Venezuela', + ZA: 'Zuid-Afrika', + }, + country: 'Voer een geldig BTW-nummer in uit %s', + default: 'Voer een geldig BTW-nummer in', + }, + vin: { + default: 'Voer een geldig VIN-nummer in', + }, + zipCode: { + countries: { + AT: 'Oostenrijk', + BG: 'Bulgarije', + BR: 'Brazilië', + CA: 'Canada', + CH: 'Zwitserland', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IE: 'Ierland', + IN: 'Indië', + IT: 'Italië', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RU: 'Rusland', + SE: 'Zweden', + SG: 'Singapore', + SK: 'Slowakije', + US: 'VS', + }, + country: 'Voer een geldige postcode in uit %s', + default: 'Voer een geldige postcode in', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/no_NO.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/no_NO.js new file mode 100644 index 0000000..f03ddb0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/no_NO.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Vennligst fyll ut dette feltet med en gyldig base64-kodet verdi', + }, + between: { + default: 'Vennligst fyll ut dette feltet med en verdi mellom %s og %s', + notInclusive: 'Vennligst tast inn kun en verdi mellom %s og %s', + }, + bic: { + default: 'Vennligst fyll ut dette feltet med et gyldig BIC-nummer', + }, + callback: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + choice: { + between: 'Vennligst velg %s - %s valgmuligheter', + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + less: 'Vennligst velg minst %s valgmuligheter', + more: 'Vennligst velg maks %s valgmuligheter', + }, + color: { + default: 'Vennligst fyll ut dette feltet med en gyldig', + }, + creditCard: { + default: 'Vennligst fyll ut dette feltet med et gyldig kreditkortnummer', + }, + cusip: { + default: 'Vennligst fyll ut dette feltet med et gyldig CUSIP-nummer', + }, + date: { + default: 'Vennligst fyll ut dette feltet med en gyldig dato', + max: 'Vennligst fyll ut dette feltet med en gyldig dato før %s', + min: 'Vennligst fyll ut dette feltet med en gyldig dato etter %s', + range: 'Vennligst fyll ut dette feltet med en gyldig dato mellom %s - %s', + }, + different: { + default: 'Vennligst fyll ut dette feltet med en annen verdi', + }, + digits: { + default: 'Vennligst tast inn kun sifre', + }, + ean: { + default: 'Vennligst fyll ut dette feltet med et gyldig EAN-nummer', + }, + ein: { + default: 'Vennligst fyll ut dette feltet med et gyldig EIN-nummer', + }, + emailAddress: { + default: 'Vennligst fyll ut dette feltet med en gyldig epostadresse', + }, + file: { + default: 'Velg vennligst en gyldig fil', + }, + greaterThan: { + default: 'Vennligst fyll ut dette feltet med en verdi større eller lik %s', + notInclusive: 'Vennligst fyll ut dette feltet med en verdi større enn %s', + }, + grid: { + default: 'Vennligst fyll ut dette feltet med et gyldig GRIDnummer', + }, + hex: { + default: 'Vennligst fyll ut dette feltet med et gyldig hexadecimalt nummer', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'De Forente Arabiske Emirater', + AL: 'Albania', + AO: 'Angola', + AT: 'Østerrike', + AZ: 'Aserbajdsjan', + BA: 'Bosnia-Hercegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Sveits', + CI: 'Elfenbenskysten', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Kapp Verde', + CY: 'Kypros', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Den dominikanske republikk', + DZ: 'Algerie', + EE: 'Estland', + ES: 'Spania', + FI: 'Finland', + FO: 'Færøyene', + FR: 'Frankrike', + GB: 'Storbritannia', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Grønland', + GR: 'Hellas', + GT: 'Guatemala', + HR: 'Kroatia', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kasakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Nederland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi-Arabia', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'øst-Timor', + TN: 'Tunisia', + TR: 'Tyrkia', + VG: 'De Britiske Jomfruøyene', + XK: 'Republikken Kosovo', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig IBAN-nummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien-Hercegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Sveits', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tsjekkia', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spania', + FI: 'Finland', + HR: 'Kroatia', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Makedonia', + NL: 'Nederland', + PL: 'Polen', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Tyrkia', + ZA: 'Sør-Afrika', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer', + }, + identical: { + default: 'Vennligst fyll ut dette feltet med den samme verdi', + }, + imei: { + default: 'Vennligst fyll ut dette feltet med et gyldig IMEI-nummer', + }, + imo: { + default: 'Vennligst fyll ut dette feltet med et gyldig IMO-nummer', + }, + integer: { + default: 'Vennligst fyll ut dette feltet med et gyldig tall', + }, + ip: { + default: 'Vennligst fyll ut dette feltet med en gyldig IP adresse', + ipv4: 'Vennligst fyll ut dette feltet med en gyldig IPv4 adresse', + ipv6: 'Vennligst fyll ut dette feltet med en gyldig IPv6 adresse', + }, + isbn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISBN-nummer', + }, + isin: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISIN-nummer', + }, + ismn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISMN-nummer', + }, + issn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISSN-nummer', + }, + lessThan: { + default: 'Vennligst fyll ut dette feltet med en verdi mindre eller lik %s', + notInclusive: 'Vennligst fyll ut dette feltet med en verdi mindre enn %s', + }, + mac: { + default: 'Vennligst fyll ut dette feltet med en gyldig MAC adresse', + }, + meid: { + default: 'Vennligst fyll ut dette feltet med et gyldig MEID-nummer', + }, + notEmpty: { + default: 'Vennligst fyll ut dette feltet', + }, + numeric: { + default: 'Vennligst fyll ut dette feltet med et gyldig flytende desimaltall', + }, + phone: { + countries: { + AE: 'De Forente Arabiske Emirater', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'Kina', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spania', + FR: 'Frankrike', + GB: 'Storbritannia', + IN: 'India', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Rumenia', + RU: 'Russland', + SK: 'Slovakia', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig telefonnummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig telefonnummer', + }, + promise: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + regexp: { + default: 'Vennligst fyll ut dette feltet med en verdi som matcher mønsteret', + }, + remote: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + rtn: { + default: 'Vennligst fyll ut dette feltet med et gyldig RTN-nummer', + }, + sedol: { + default: 'Vennligst fyll ut dette feltet med et gyldig SEDOL-nummer', + }, + siren: { + default: 'Vennligst fyll ut dette feltet med et gyldig SIREN-nummer', + }, + siret: { + default: 'Vennligst fyll ut dette feltet med et gyldig SIRET-nummer', + }, + step: { + default: 'Vennligst fyll ut dette feltet med et gyldig trinn av %s', + }, + stringCase: { + default: 'Venligst fyll inn dette feltet kun med små bokstaver', + upper: 'Venligst fyll inn dette feltet kun med store bokstaver', + }, + stringLength: { + between: 'Vennligst fyll ut dette feltet med en verdi mellom %s og %s tegn', + default: 'Vennligst fyll ut dette feltet med en verdi av gyldig lengde', + less: 'Vennligst fyll ut dette feltet med mindre enn %s tegn', + more: 'Vennligst fyll ut dette feltet med mer enn %s tegn', + }, + uri: { + default: 'Vennligst fyll ut dette feltet med en gyldig URI', + }, + uuid: { + default: 'Vennligst fyll ut dette feltet med et gyldig UUID-nummer', + version: 'Vennligst fyll ut dette feltet med en gyldig UUID version %s-nummer', + }, + vat: { + countries: { + AT: 'Østerrike', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Hellas', + ES: 'Spania', + FI: 'Finland', + FR: 'Frankrike', + GB: 'Storbritania', + GR: 'Hellas', + HR: 'Kroatia', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italia', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Nederland', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russland', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Sør-Afrika', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig MVA nummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig MVA nummer', + }, + vin: { + default: 'Vennligst fyll ut dette feltet med et gyldig VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Østerrike', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canada', + CH: 'Schweiz', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spania', + FR: 'Frankrike', + GB: 'Storbritannia', + IE: 'Irland', + IN: 'India', + IT: 'Italia', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig postnummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig postnummer', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/pl_PL.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/pl_PL.js new file mode 100644 index 0000000..f8c69a9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/pl_PL.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Wpisz poprawny ciąg znaków zakodowany w base 64', + }, + between: { + default: 'Wprowadź wartość pomiędzy %s i %s', + notInclusive: 'Wprowadź wartość pomiędzy %s i %s (zbiór otwarty)', + }, + bic: { + default: 'Wprowadź poprawny numer BIC', + }, + callback: { + default: 'Wprowadź poprawną wartość', + }, + choice: { + between: 'Wybierz przynajmniej %s i maksymalnie %s opcji', + default: 'Wprowadź poprawną wartość', + less: 'Wybierz przynajmniej %s opcji', + more: 'Wybierz maksymalnie %s opcji', + }, + color: { + default: 'Wprowadź poprawny kolor w formacie', + }, + creditCard: { + default: 'Wprowadź poprawny numer karty kredytowej', + }, + cusip: { + default: 'Wprowadź poprawny numer CUSIP', + }, + date: { + default: 'Wprowadź poprawną datę', + max: 'Wprowadź datę przed %s', + min: 'Wprowadź datę po %s', + range: 'Wprowadź datę pomiędzy %s i %s', + }, + different: { + default: 'Wprowadź inną wartość', + }, + digits: { + default: 'Wprowadź tylko cyfry', + }, + ean: { + default: 'Wprowadź poprawny numer EAN', + }, + ein: { + default: 'Wprowadź poprawny numer EIN', + }, + emailAddress: { + default: 'Wprowadź poprawny adres e-mail', + }, + file: { + default: 'Wybierz prawidłowy plik', + }, + greaterThan: { + default: 'Wprowadź wartość większą bądź równą %s', + notInclusive: 'Wprowadź wartość większą niż %s', + }, + grid: { + default: 'Wprowadź poprawny numer GRId', + }, + hex: { + default: 'Wprowadź poprawną liczbę w formacie heksadecymalnym', + }, + iban: { + countries: { + AD: 'Andora', + AE: 'Zjednoczone Emiraty Arabskie', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbejdżan', + BA: 'Bośnia i Hercegowina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bułgaria', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazylia', + CH: 'Szwajcaria', + CI: 'Wybrzeże Kości Słoniowej', + CM: 'Kamerun', + CR: 'Kostaryka', + CV: 'Republika Zielonego Przylądka', + CY: 'Cypr', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + DO: 'Dominikana', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Hiszpania', + FI: 'Finlandia', + FO: 'Wyspy Owcze', + FR: 'Francja', + GB: 'Wielka Brytania', + GE: 'Gruzja', + GI: 'Gibraltar', + GL: 'Grenlandia', + GR: 'Grecja', + GT: 'Gwatemala', + HR: 'Chorwacja', + HU: 'Węgry', + IE: 'Irlandia', + IL: 'Izrael', + IR: 'Iran', + IS: 'Islandia', + IT: 'Włochy', + JO: 'Jordania', + KW: 'Kuwejt', + KZ: 'Kazahstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Litwa', + LU: 'Luksemburg', + LV: 'Łotwa', + MC: 'Monako', + MD: 'Mołdawia', + ME: 'Czarnogóra', + MG: 'Madagaskar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauretania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Holandia', + NO: 'Norwegia', + PK: 'Pakistan', + PL: 'Polska', + PS: 'Palestyna', + PT: 'Portugalia', + QA: 'Katar', + RO: 'Rumunia', + RS: 'Serbia', + SA: 'Arabia Saudyjska', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Wschodni', + TN: 'Tunezja', + TR: 'Turcja', + VG: 'Brytyjskie Wyspy Dziewicze', + XK: 'Republika Kosowa', + }, + country: 'Wprowadź poprawny numer IBAN w kraju %s', + default: 'Wprowadź poprawny numer IBAN', + }, + id: { + countries: { + BA: 'Bośnia i Hercegowina', + BG: 'Bułgaria', + BR: 'Brazylia', + CH: 'Szwajcaria', + CL: 'Chile', + CN: 'Chiny', + CZ: 'Czechy', + DK: 'Dania', + EE: 'Estonia', + ES: 'Hiszpania', + FI: 'Finlandia', + HR: 'Chorwacja', + IE: 'Irlandia', + IS: 'Islandia', + LT: 'Litwa', + LV: 'Łotwa', + ME: 'Czarnogóra', + MK: 'Macedonia', + NL: 'Holandia', + PL: 'Polska', + RO: 'Rumunia', + RS: 'Serbia', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + SM: 'San Marino', + TH: 'Tajlandia', + TR: 'Turcja', + ZA: 'Republika Południowej Afryki', + }, + country: 'Wprowadź poprawny numer identyfikacyjny w kraju %s', + default: 'Wprowadź poprawny numer identyfikacyjny', + }, + identical: { + default: 'Wprowadź taką samą wartość', + }, + imei: { + default: 'Wprowadź poprawny numer IMEI', + }, + imo: { + default: 'Wprowadź poprawny numer IMO', + }, + integer: { + default: 'Wprowadź poprawną liczbę całkowitą', + }, + ip: { + default: 'Wprowadź poprawny adres IP', + ipv4: 'Wprowadź poprawny adres IPv4', + ipv6: 'Wprowadź poprawny adres IPv6', + }, + isbn: { + default: 'Wprowadź poprawny numer ISBN', + }, + isin: { + default: 'Wprowadź poprawny numer ISIN', + }, + ismn: { + default: 'Wprowadź poprawny numer ISMN', + }, + issn: { + default: 'Wprowadź poprawny numer ISSN', + }, + lessThan: { + default: 'Wprowadź wartość mniejszą bądź równą %s', + notInclusive: 'Wprowadź wartość mniejszą niż %s', + }, + mac: { + default: 'Wprowadź poprawny adres MAC', + }, + meid: { + default: 'Wprowadź poprawny numer MEID', + }, + notEmpty: { + default: 'Wprowadź wartość, pole nie może być puste', + }, + numeric: { + default: 'Wprowadź poprawną liczbę zmiennoprzecinkową', + }, + phone: { + countries: { + AE: 'Zjednoczone Emiraty Arabskie', + BG: 'Bułgaria', + BR: 'Brazylia', + CN: 'Chiny', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + ES: 'Hiszpania', + FR: 'Francja', + GB: 'Wielka Brytania', + IN: 'Indie', + MA: 'Maroko', + NL: 'Holandia', + PK: 'Pakistan', + RO: 'Rumunia', + RU: 'Rosja', + SK: 'Słowacja', + TH: 'Tajlandia', + US: 'USA', + VE: 'Wenezuela', + }, + country: 'Wprowadź poprawny numer telefonu w kraju %s', + default: 'Wprowadź poprawny numer telefonu', + }, + promise: { + default: 'Wprowadź poprawną wartość', + }, + regexp: { + default: 'Wprowadź wartość pasującą do wzoru', + }, + remote: { + default: 'Wprowadź poprawną wartość', + }, + rtn: { + default: 'Wprowadź poprawny numer RTN', + }, + sedol: { + default: 'Wprowadź poprawny numer SEDOL', + }, + siren: { + default: 'Wprowadź poprawny numer SIREN', + }, + siret: { + default: 'Wprowadź poprawny numer SIRET', + }, + step: { + default: 'Wprowadź wielokrotność %s', + }, + stringCase: { + default: 'Wprowadź tekst składającą się tylko z małych liter', + upper: 'Wprowadź tekst składający się tylko z dużych liter', + }, + stringLength: { + between: 'Wprowadź wartość składająca się z min %s i max %s znaków', + default: 'Wprowadź wartość o poprawnej długości', + less: 'Wprowadź mniej niż %s znaków', + more: 'Wprowadź więcej niż %s znaków', + }, + uri: { + default: 'Wprowadź poprawny URI', + }, + uuid: { + default: 'Wprowadź poprawny numer UUID', + version: 'Wprowadź poprawny numer UUID w wersji %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgia', + BG: 'Bułgaria', + BR: 'Brazylia', + CH: 'Szwajcaria', + CY: 'Cypr', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + EE: 'Estonia', + EL: 'Grecja', + ES: 'Hiszpania', + FI: 'Finlandia', + FR: 'Francja', + GB: 'Wielka Brytania', + GR: 'Grecja', + HR: 'Chorwacja', + HU: 'Węgry', + IE: 'Irlandia', + IS: 'Islandia', + IT: 'Włochy', + LT: 'Litwa', + LU: 'Luksemburg', + LV: 'Łotwa', + MT: 'Malta', + NL: 'Holandia', + NO: 'Norwegia', + PL: 'Polska', + PT: 'Portugalia', + RO: 'Rumunia', + RS: 'Serbia', + RU: 'Rosja', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + VE: 'Wenezuela', + ZA: 'Republika Południowej Afryki', + }, + country: 'Wprowadź poprawny numer VAT w kraju %s', + default: 'Wprowadź poprawny numer VAT', + }, + vin: { + default: 'Wprowadź poprawny numer VIN', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bułgaria', + BR: 'Brazylia', + CA: 'Kanada', + CH: 'Szwajcaria', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + ES: 'Hiszpania', + FR: 'Francja', + GB: 'Wielka Brytania', + IE: 'Irlandia', + IN: 'Indie', + IT: 'Włochy', + MA: 'Maroko', + NL: 'Holandia', + PL: 'Polska', + PT: 'Portugalia', + RO: 'Rumunia', + RU: 'Rosja', + SE: 'Szwecja', + SG: 'Singapur', + SK: 'Słowacja', + US: 'USA', + }, + country: 'Wprowadź poprawny kod pocztowy w kraju %s', + default: 'Wprowadź poprawny kod pocztowy', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/pt_BR.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/pt_BR.js new file mode 100644 index 0000000..985eeec --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/pt_BR.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Por favor insira um código base 64 válido', + }, + between: { + default: 'Por favor insira um valor entre %s e %s', + notInclusive: 'Por favor insira um valor estritamente entre %s e %s', + }, + bic: { + default: 'Por favor insira um número BIC válido', + }, + callback: { + default: 'Por favor insira um valor válido', + }, + choice: { + between: 'Por favor escolha de %s a %s opções', + default: 'Por favor insira um valor válido', + less: 'Por favor escolha %s opções no mínimo', + more: 'Por favor escolha %s opções no máximo', + }, + color: { + default: 'Por favor insira uma cor válida', + }, + creditCard: { + default: 'Por favor insira um número de cartão de crédito válido', + }, + cusip: { + default: 'Por favor insira um número CUSIP válido', + }, + date: { + default: 'Por favor insira uma data válida', + max: 'Por favor insira uma data anterior a %s', + min: 'Por favor insira uma data posterior a %s', + range: 'Por favor insira uma data entre %s e %s', + }, + different: { + default: 'Por favor insira valores diferentes', + }, + digits: { + default: 'Por favor insira somente dígitos', + }, + ean: { + default: 'Por favor insira um número EAN válido', + }, + ein: { + default: 'Por favor insira um número EIN válido', + }, + emailAddress: { + default: 'Por favor insira um email válido', + }, + file: { + default: 'Por favor escolha um arquivo válido', + }, + greaterThan: { + default: 'Por favor insira um valor maior ou igual a %s', + notInclusive: 'Por favor insira um valor maior do que %s', + }, + grid: { + default: 'Por favor insira uma GRID válida', + }, + hex: { + default: 'Por favor insira um hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirados Árabes', + AL: 'Albânia', + AO: 'Angola', + AT: 'Áustria', + AZ: 'Azerbaijão', + BA: 'Bósnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgária', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suíça', + CM: 'Camarões', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argélia', + EE: 'Estónia', + ES: 'Espanha', + FI: 'Finlândia', + FO: 'Ilhas Faroé', + FR: 'França', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlândia', + GR: 'Grécia', + GT: 'Guatemala', + HR: 'Croácia', + HU: 'Hungria', + IC: 'Costa do Marfim', + IE: 'Ireland', + IL: 'Israel', + IR: 'Irão', + IS: 'Islândia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Cazaquistão', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MC: 'Mônaco', + MD: 'Moldávia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedónia', + ML: 'Mali', + MR: 'Mauritânia', + MT: 'Malta', + MU: 'Maurício', + MZ: 'Moçambique', + NL: 'Países Baixos', + NO: 'Noruega', + PK: 'Paquistão', + PL: 'Polônia', + PS: 'Palestino', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roménia', + RS: 'Sérvia', + SA: 'Arábia Saudita', + SE: 'Suécia', + SI: 'Eslovénia', + SK: 'Eslováquia', + SM: 'San Marino', + SN: 'Senegal', + TI: 'Itália', + TL: 'Timor Leste', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Ilhas Virgens Britânicas', + XK: 'República do Kosovo', + }, + country: 'Por favor insira um número IBAN válido em %s', + default: 'Por favor insira um número IBAN válido', + }, + id: { + countries: { + BA: 'Bósnia e Herzegovina', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estônia', + ES: 'Espanha', + FI: 'Finlândia', + HR: 'Croácia', + IE: 'Irlanda', + IS: 'Islândia', + LT: 'Lituânia', + LV: 'Letónia', + ME: 'Montenegro', + MK: 'Macedónia', + NL: 'Holanda', + PL: 'Polônia', + RO: 'Roménia', + RS: 'Sérvia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + SM: 'San Marino', + TH: 'Tailândia', + TR: 'Turquia', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número de indentificação válido em %s', + default: 'Por favor insira um código de identificação válido', + }, + identical: { + default: 'Por favor, insira o mesmo valor', + }, + imei: { + default: 'Por favor insira um IMEI válido', + }, + imo: { + default: 'Por favor insira um IMO válido', + }, + integer: { + default: 'Por favor insira um número inteiro válido', + }, + ip: { + default: 'Por favor insira um IP válido', + ipv4: 'Por favor insira um endereço de IPv4 válido', + ipv6: 'Por favor insira um endereço de IPv6 válido', + }, + isbn: { + default: 'Por favor insira um ISBN válido', + }, + isin: { + default: 'Por favor insira um ISIN válido', + }, + ismn: { + default: 'Por favor insira um ISMN válido', + }, + issn: { + default: 'Por favor insira um ISSN válido', + }, + lessThan: { + default: 'Por favor insira um valor menor ou igual a %s', + notInclusive: 'Por favor insira um valor menor do que %s', + }, + mac: { + default: 'Por favor insira um endereço MAC válido', + }, + meid: { + default: 'Por favor insira um MEID válido', + }, + notEmpty: { + default: 'Por favor insira um valor', + }, + numeric: { + default: 'Por favor insira um número real válido', + }, + phone: { + countries: { + AE: 'Emirados Árabes', + BG: 'Bulgária', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IN: 'Índia', + MA: 'Marrocos', + NL: 'Países Baixos', + PK: 'Paquistão', + RO: 'Roménia', + RU: 'Rússia', + SK: 'Eslováquia', + TH: 'Tailândia', + US: 'EUA', + VE: 'Venezuela', + }, + country: 'Por favor insira um número de telefone válido em %s', + default: 'Por favor insira um número de telefone válido', + }, + promise: { + default: 'Por favor insira um valor válido', + }, + regexp: { + default: 'Por favor insira um valor correspondente ao padrão', + }, + remote: { + default: 'Por favor insira um valor válido', + }, + rtn: { + default: 'Por favor insira um número válido RTN', + }, + sedol: { + default: 'Por favor insira um número válido SEDOL', + }, + siren: { + default: 'Por favor insira um número válido SIREN', + }, + siret: { + default: 'Por favor insira um número válido SIRET', + }, + step: { + default: 'Por favor insira um passo válido %s', + }, + stringCase: { + default: 'Por favor, digite apenas caracteres minúsculos', + upper: 'Por favor, digite apenas caracteres maiúsculos', + }, + stringLength: { + between: 'Por favor insira um valor entre %s e %s caracteres', + default: 'Por favor insira um valor com comprimento válido', + less: 'Por favor insira menos de %s caracteres', + more: 'Por favor insira mais de %s caracteres', + }, + uri: { + default: 'Por favor insira um URI válido', + }, + uuid: { + default: 'Por favor insira um número válido UUID', + version: 'Por favor insira uma versão %s UUID válida', + }, + vat: { + countries: { + AT: 'Áustria', + BE: 'Bélgica', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + EE: 'Estônia', + EL: 'Grécia', + ES: 'Espanha', + FI: 'Finlândia', + FR: 'França', + GB: 'Reino Unido', + GR: 'Grécia', + HR: 'Croácia', + HU: 'Hungria', + IE: 'Irlanda', + IS: 'Islândia', + IT: 'Itália', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MT: 'Malta', + NL: 'Holanda', + NO: 'Norway', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RS: 'Sérvia', + RU: 'Rússia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + VE: 'Venezuela', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número VAT válido em %s', + default: 'Por favor insira um VAT válido', + }, + vin: { + default: 'Por favor insira um VIN válido', + }, + zipCode: { + countries: { + AT: 'Áustria', + BG: 'Bulgária', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suíça', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itália', + MA: 'Marrocos', + NL: 'Holanda', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RU: 'Rússia', + SE: 'Suécia', + SG: 'Cingapura', + SK: 'Eslováquia', + US: 'EUA', + }, + country: 'Por favor insira um código postal válido em %s', + default: 'Por favor insira um código postal válido', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/pt_PT.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/pt_PT.js new file mode 100644 index 0000000..985eeec --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/pt_PT.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Por favor insira um código base 64 válido', + }, + between: { + default: 'Por favor insira um valor entre %s e %s', + notInclusive: 'Por favor insira um valor estritamente entre %s e %s', + }, + bic: { + default: 'Por favor insira um número BIC válido', + }, + callback: { + default: 'Por favor insira um valor válido', + }, + choice: { + between: 'Por favor escolha de %s a %s opções', + default: 'Por favor insira um valor válido', + less: 'Por favor escolha %s opções no mínimo', + more: 'Por favor escolha %s opções no máximo', + }, + color: { + default: 'Por favor insira uma cor válida', + }, + creditCard: { + default: 'Por favor insira um número de cartão de crédito válido', + }, + cusip: { + default: 'Por favor insira um número CUSIP válido', + }, + date: { + default: 'Por favor insira uma data válida', + max: 'Por favor insira uma data anterior a %s', + min: 'Por favor insira uma data posterior a %s', + range: 'Por favor insira uma data entre %s e %s', + }, + different: { + default: 'Por favor insira valores diferentes', + }, + digits: { + default: 'Por favor insira somente dígitos', + }, + ean: { + default: 'Por favor insira um número EAN válido', + }, + ein: { + default: 'Por favor insira um número EIN válido', + }, + emailAddress: { + default: 'Por favor insira um email válido', + }, + file: { + default: 'Por favor escolha um arquivo válido', + }, + greaterThan: { + default: 'Por favor insira um valor maior ou igual a %s', + notInclusive: 'Por favor insira um valor maior do que %s', + }, + grid: { + default: 'Por favor insira uma GRID válida', + }, + hex: { + default: 'Por favor insira um hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirados Árabes', + AL: 'Albânia', + AO: 'Angola', + AT: 'Áustria', + AZ: 'Azerbaijão', + BA: 'Bósnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgária', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suíça', + CM: 'Camarões', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argélia', + EE: 'Estónia', + ES: 'Espanha', + FI: 'Finlândia', + FO: 'Ilhas Faroé', + FR: 'França', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlândia', + GR: 'Grécia', + GT: 'Guatemala', + HR: 'Croácia', + HU: 'Hungria', + IC: 'Costa do Marfim', + IE: 'Ireland', + IL: 'Israel', + IR: 'Irão', + IS: 'Islândia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Cazaquistão', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MC: 'Mônaco', + MD: 'Moldávia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedónia', + ML: 'Mali', + MR: 'Mauritânia', + MT: 'Malta', + MU: 'Maurício', + MZ: 'Moçambique', + NL: 'Países Baixos', + NO: 'Noruega', + PK: 'Paquistão', + PL: 'Polônia', + PS: 'Palestino', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roménia', + RS: 'Sérvia', + SA: 'Arábia Saudita', + SE: 'Suécia', + SI: 'Eslovénia', + SK: 'Eslováquia', + SM: 'San Marino', + SN: 'Senegal', + TI: 'Itália', + TL: 'Timor Leste', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Ilhas Virgens Britânicas', + XK: 'República do Kosovo', + }, + country: 'Por favor insira um número IBAN válido em %s', + default: 'Por favor insira um número IBAN válido', + }, + id: { + countries: { + BA: 'Bósnia e Herzegovina', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estônia', + ES: 'Espanha', + FI: 'Finlândia', + HR: 'Croácia', + IE: 'Irlanda', + IS: 'Islândia', + LT: 'Lituânia', + LV: 'Letónia', + ME: 'Montenegro', + MK: 'Macedónia', + NL: 'Holanda', + PL: 'Polônia', + RO: 'Roménia', + RS: 'Sérvia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + SM: 'San Marino', + TH: 'Tailândia', + TR: 'Turquia', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número de indentificação válido em %s', + default: 'Por favor insira um código de identificação válido', + }, + identical: { + default: 'Por favor, insira o mesmo valor', + }, + imei: { + default: 'Por favor insira um IMEI válido', + }, + imo: { + default: 'Por favor insira um IMO válido', + }, + integer: { + default: 'Por favor insira um número inteiro válido', + }, + ip: { + default: 'Por favor insira um IP válido', + ipv4: 'Por favor insira um endereço de IPv4 válido', + ipv6: 'Por favor insira um endereço de IPv6 válido', + }, + isbn: { + default: 'Por favor insira um ISBN válido', + }, + isin: { + default: 'Por favor insira um ISIN válido', + }, + ismn: { + default: 'Por favor insira um ISMN válido', + }, + issn: { + default: 'Por favor insira um ISSN válido', + }, + lessThan: { + default: 'Por favor insira um valor menor ou igual a %s', + notInclusive: 'Por favor insira um valor menor do que %s', + }, + mac: { + default: 'Por favor insira um endereço MAC válido', + }, + meid: { + default: 'Por favor insira um MEID válido', + }, + notEmpty: { + default: 'Por favor insira um valor', + }, + numeric: { + default: 'Por favor insira um número real válido', + }, + phone: { + countries: { + AE: 'Emirados Árabes', + BG: 'Bulgária', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IN: 'Índia', + MA: 'Marrocos', + NL: 'Países Baixos', + PK: 'Paquistão', + RO: 'Roménia', + RU: 'Rússia', + SK: 'Eslováquia', + TH: 'Tailândia', + US: 'EUA', + VE: 'Venezuela', + }, + country: 'Por favor insira um número de telefone válido em %s', + default: 'Por favor insira um número de telefone válido', + }, + promise: { + default: 'Por favor insira um valor válido', + }, + regexp: { + default: 'Por favor insira um valor correspondente ao padrão', + }, + remote: { + default: 'Por favor insira um valor válido', + }, + rtn: { + default: 'Por favor insira um número válido RTN', + }, + sedol: { + default: 'Por favor insira um número válido SEDOL', + }, + siren: { + default: 'Por favor insira um número válido SIREN', + }, + siret: { + default: 'Por favor insira um número válido SIRET', + }, + step: { + default: 'Por favor insira um passo válido %s', + }, + stringCase: { + default: 'Por favor, digite apenas caracteres minúsculos', + upper: 'Por favor, digite apenas caracteres maiúsculos', + }, + stringLength: { + between: 'Por favor insira um valor entre %s e %s caracteres', + default: 'Por favor insira um valor com comprimento válido', + less: 'Por favor insira menos de %s caracteres', + more: 'Por favor insira mais de %s caracteres', + }, + uri: { + default: 'Por favor insira um URI válido', + }, + uuid: { + default: 'Por favor insira um número válido UUID', + version: 'Por favor insira uma versão %s UUID válida', + }, + vat: { + countries: { + AT: 'Áustria', + BE: 'Bélgica', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + EE: 'Estônia', + EL: 'Grécia', + ES: 'Espanha', + FI: 'Finlândia', + FR: 'França', + GB: 'Reino Unido', + GR: 'Grécia', + HR: 'Croácia', + HU: 'Hungria', + IE: 'Irlanda', + IS: 'Islândia', + IT: 'Itália', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MT: 'Malta', + NL: 'Holanda', + NO: 'Norway', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RS: 'Sérvia', + RU: 'Rússia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + VE: 'Venezuela', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número VAT válido em %s', + default: 'Por favor insira um VAT válido', + }, + vin: { + default: 'Por favor insira um VIN válido', + }, + zipCode: { + countries: { + AT: 'Áustria', + BG: 'Bulgária', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suíça', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itália', + MA: 'Marrocos', + NL: 'Holanda', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RU: 'Rússia', + SE: 'Suécia', + SG: 'Cingapura', + SK: 'Eslováquia', + US: 'EUA', + }, + country: 'Por favor insira um código postal válido em %s', + default: 'Por favor insira um código postal válido', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/ro_RO.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ro_RO.js new file mode 100644 index 0000000..4b11b41 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ro_RO.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Te rog introdu un base64 valid', + }, + between: { + default: 'Te rog introdu o valoare intre %s si %s', + notInclusive: 'Te rog introdu o valoare doar intre %s si %s', + }, + bic: { + default: 'Te rog sa introduci un numar BIC valid', + }, + callback: { + default: 'Te rog introdu o valoare valida', + }, + choice: { + between: 'Te rog alege %s - %s optiuni', + default: 'Te rog introdu o valoare valida', + less: 'Te rog alege minim %s optiuni', + more: 'Te rog alege maxim %s optiuni', + }, + color: { + default: 'Te rog sa introduci o culoare valida', + }, + creditCard: { + default: 'Te rog introdu un numar de card valid', + }, + cusip: { + default: 'Te rog introdu un numar CUSIP valid', + }, + date: { + default: 'Te rog introdu o data valida', + max: 'Te rog sa introduci o data inainte de %s', + min: 'Te rog sa introduci o data dupa %s', + range: 'Te rog sa introduci o data in intervalul %s - %s', + }, + different: { + default: 'Te rog sa introduci o valoare diferita', + }, + digits: { + default: 'Te rog sa introduci doar cifre', + }, + ean: { + default: 'Te rog sa introduci un numar EAN valid', + }, + ein: { + default: 'Te rog sa introduci un numar EIN valid', + }, + emailAddress: { + default: 'Te rog sa introduci o adresa de email valide', + }, + file: { + default: 'Te rog sa introduci un fisier valid', + }, + greaterThan: { + default: 'Te rog sa introduci o valoare mai mare sau egala cu %s', + notInclusive: 'Te rog sa introduci o valoare mai mare ca %s', + }, + grid: { + default: 'Te rog sa introduci un numar GRId valid', + }, + hex: { + default: 'Te rog sa introduci un numar hexadecimal valid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratele Arabe unite', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia si Herzegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilia', + CH: 'Elvetia', + CI: 'Coasta de Fildes', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cipru', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + DO: 'Republica Dominicană', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spania', + FI: 'Finlanda', + FO: 'Insulele Faroe', + FR: 'Franta', + GB: 'Regatul Unit', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlanda', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Ungaria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islanda', + IT: 'Italia', + JO: 'Iordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Muntenegru', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Olanda', + NO: 'Norvegia', + PK: 'Pakistan', + PL: 'Polanda', + PS: 'Palestina', + PT: 'Portugalia', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timorul de Est', + TN: 'Tunisia', + TR: 'Turkey', + VG: 'Insulele Virgin', + XK: 'Republica Kosovo', + }, + country: 'Te rog sa introduci un IBAN valid din %s', + default: 'Te rog sa introduci un IBAN valid', + }, + id: { + countries: { + BA: 'Bosnia si Herzegovina', + BG: 'Bulgaria', + BR: 'Brazilia', + CH: 'Elvetia', + CL: 'Chile', + CN: 'China', + CZ: 'Republica Cehia', + DK: 'Danemarca', + EE: 'Estonia', + ES: 'Spania', + FI: 'Finlanda', + HR: 'Croatia', + IE: 'Irlanda', + IS: 'Islanda', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Muntenegru', + MK: 'Macedonia', + NL: 'Olanda', + PL: 'Polanda', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + SM: 'San Marino', + TH: 'Thailanda', + TR: 'Turkey', + ZA: 'Africa de Sud', + }, + country: 'Te rog sa introduci un numar de identificare valid din %s', + default: 'Te rog sa introduci un numar de identificare valid', + }, + identical: { + default: 'Te rog sa introduci aceeasi valoare', + }, + imei: { + default: 'Te rog sa introduci un numar IMEI valid', + }, + imo: { + default: 'Te rog sa introduci un numar IMO valid', + }, + integer: { + default: 'Te rog sa introduci un numar valid', + }, + ip: { + default: 'Te rog sa introduci o adresa IP valida', + ipv4: 'Te rog sa introduci o adresa IPv4 valida', + ipv6: 'Te rog sa introduci o adresa IPv6 valida', + }, + isbn: { + default: 'Te rog sa introduci un numar ISBN valid', + }, + isin: { + default: 'Te rog sa introduci un numar ISIN valid', + }, + ismn: { + default: 'Te rog sa introduci un numar ISMN valid', + }, + issn: { + default: 'Te rog sa introduci un numar ISSN valid', + }, + lessThan: { + default: 'Te rog sa introduci o valoare mai mica sau egala cu %s', + notInclusive: 'Te rog sa introduci o valoare mai mica decat %s', + }, + mac: { + default: 'Te rog sa introduci o adresa MAC valida', + }, + meid: { + default: 'Te rog sa introduci un numar MEID valid', + }, + notEmpty: { + default: 'Te rog sa introduci o valoare', + }, + numeric: { + default: 'Te rog sa introduci un numar', + }, + phone: { + countries: { + AE: 'Emiratele Arabe unite', + BG: 'Bulgaria', + BR: 'Brazilia', + CN: 'China', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + ES: 'Spania', + FR: 'Franta', + GB: 'Regatul Unit', + IN: 'India', + MA: 'Maroc', + NL: 'Olanda', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Rusia', + SK: 'Slovacia', + TH: 'Thailanda', + US: 'SUA', + VE: 'Venezuela', + }, + country: 'Te rog sa introduci un numar de telefon valid din %s', + default: 'Te rog sa introduci un numar de telefon valid', + }, + promise: { + default: 'Te rog introdu o valoare valida', + }, + regexp: { + default: 'Te rog sa introduci o valoare in formatul', + }, + remote: { + default: 'Te rog sa introduci o valoare valida', + }, + rtn: { + default: 'Te rog sa introduci un numar RTN valid', + }, + sedol: { + default: 'Te rog sa introduci un numar SEDOL valid', + }, + siren: { + default: 'Te rog sa introduci un numar SIREN valid', + }, + siret: { + default: 'Te rog sa introduci un numar SIRET valid', + }, + step: { + default: 'Te rog introdu un pas de %s', + }, + stringCase: { + default: 'Te rog sa introduci doar litere mici', + upper: 'Te rog sa introduci doar litere mari', + }, + stringLength: { + between: 'Te rog sa introduci o valoare cu lungimea intre %s si %s caractere', + default: 'Te rog sa introduci o valoare cu lungimea valida', + less: 'Te rog sa introduci mai putin de %s caractere', + more: 'Te rog sa introduci mai mult de %s caractere', + }, + uri: { + default: 'Te rog sa introduci un URI valid', + }, + uuid: { + default: 'Te rog sa introduci un numar UUID valid', + version: 'Te rog sa introduci un numar UUID versiunea %s valid', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brazilia', + CH: 'Elvetia', + CY: 'Cipru', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'Spania', + FI: 'Finlanda', + FR: 'Franta', + GB: 'Regatul Unit', + GR: 'Grecia', + HR: 'Croatia', + HU: 'Ungaria', + IE: 'Irlanda', + IS: 'Islanda', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Olanda', + NO: 'Norvegia', + PL: 'Polanda', + PT: 'Portugalia', + RO: 'Romania', + RS: 'Serbia', + RU: 'Rusia', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + VE: 'Venezuela', + ZA: 'Africa de Sud', + }, + country: 'Te rog sa introduci un numar TVA valid din %s', + default: 'Te rog sa introduci un numar TVA valid', + }, + vin: { + default: 'Te rog sa introduci un numar VIN valid', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazilia', + CA: 'Canada', + CH: 'Elvetia', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + ES: 'Spania', + FR: 'Franta', + GB: 'Regatul Unit', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Maroc', + NL: 'Olanda', + PL: 'Polanda', + PT: 'Portugalia', + RO: 'Romania', + RU: 'Rusia', + SE: 'Suedia', + SG: 'Singapore', + SK: 'Slovacia', + US: 'SUA', + }, + country: 'Te rog sa introduci un cod postal valid din %s', + default: 'Te rog sa introduci un cod postal valid', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/ru_RU.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ru_RU.js new file mode 100644 index 0000000..24d1767 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ru_RU.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Пожалуйста, введите корректную строку base64', + }, + between: { + default: 'Пожалуйста, введите значение от %s до %s', + notInclusive: 'Пожалуйста, введите значение между %s и %s', + }, + bic: { + default: 'Пожалуйста, введите правильный номер BIC', + }, + callback: { + default: 'Пожалуйста, введите корректное значение', + }, + choice: { + between: 'Пожалуйста, выберите %s-%s опций', + default: 'Пожалуйста, введите корректное значение', + less: 'Пожалуйста, выберите хотя бы %s опций', + more: 'Пожалуйста, выберите не больше %s опций', + }, + color: { + default: 'Пожалуйста, введите правильный номер цвета', + }, + creditCard: { + default: 'Пожалуйста, введите правильный номер кредитной карты', + }, + cusip: { + default: 'Пожалуйста, введите правильный номер CUSIP', + }, + date: { + default: 'Пожалуйста, введите правильную дату', + max: 'Пожалуйста, введите дату перед %s', + min: 'Пожалуйста, введите дату после %s', + range: 'Пожалуйста, введите дату в диапазоне %s - %s', + }, + different: { + default: 'Пожалуйста, введите другое значение', + }, + digits: { + default: 'Пожалуйста, введите только цифры', + }, + ean: { + default: 'Пожалуйста, введите правильный номер EAN', + }, + ein: { + default: 'Пожалуйста, введите правильный номер EIN', + }, + emailAddress: { + default: 'Пожалуйста, введите правильный адрес эл. почты', + }, + file: { + default: 'Пожалуйста, выберите файл', + }, + greaterThan: { + default: 'Пожалуйста, введите значение большее или равное %s', + notInclusive: 'Пожалуйста, введите значение больше %s', + }, + grid: { + default: 'Пожалуйста, введите правильный номер GRId', + }, + hex: { + default: 'Пожалуйста, введите правильное шестнадцатиричное число', + }, + iban: { + countries: { + AD: 'Андорре', + AE: 'Объединённых Арабских Эмиратах', + AL: 'Албании', + AO: 'Анголе', + AT: 'Австрии', + AZ: 'Азербайджане', + BA: 'Боснии и Герцеговине', + BE: 'Бельгии', + BF: 'Буркина-Фасо', + BG: 'Болгарии', + BH: 'Бахрейне', + BI: 'Бурунди', + BJ: 'Бенине', + BR: 'Бразилии', + CH: 'Швейцарии', + CI: "Кот-д'Ивуаре", + CM: 'Камеруне', + CR: 'Коста-Рике', + CV: 'Кабо-Верде', + CY: 'Кипре', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + DO: 'Доминикане Республика', + DZ: 'Алжире', + EE: 'Эстонии', + ES: 'Испании', + FI: 'Финляндии', + FO: 'Фарерских островах', + FR: 'Франции', + GB: 'Великобритании', + GE: 'Грузии', + GI: 'Гибралтаре', + GL: 'Гренландии', + GR: 'Греции', + GT: 'Гватемале', + HR: 'Хорватии', + HU: 'Венгрии', + IE: 'Ирландии', + IL: 'Израиле', + IR: 'Иране', + IS: 'Исландии', + IT: 'Италии', + JO: 'Иордании', + KW: 'Кувейте', + KZ: 'Казахстане', + LB: 'Ливане', + LI: 'Лихтенштейне', + LT: 'Литве', + LU: 'Люксембурге', + LV: 'Латвии', + MC: 'Монако', + MD: 'Молдове', + ME: 'Черногории', + MG: 'Мадагаскаре', + MK: 'Македонии', + ML: 'Мали', + MR: 'Мавритании', + MT: 'Мальте', + MU: 'Маврикии', + MZ: 'Мозамбике', + NL: 'Нидерландах', + NO: 'Норвегии', + PK: 'Пакистане', + PL: 'Польше', + PS: 'Палестине', + PT: 'Португалии', + QA: 'Катаре', + RO: 'Румынии', + RS: 'Сербии', + SA: 'Саудовской Аравии', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + SM: 'Сан-Марино', + SN: 'Сенегале', + TL: 'Восточный Тимор', + TN: 'Тунисе', + TR: 'Турции', + VG: 'Британских Виргинских островах', + XK: 'Республика Косово', + }, + country: 'Пожалуйста, введите правильный номер IBAN в %s', + default: 'Пожалуйста, введите правильный номер IBAN', + }, + id: { + countries: { + BA: 'Боснии и Герцеговине', + BG: 'Болгарии', + BR: 'Бразилии', + CH: 'Швейцарии', + CL: 'Чили', + CN: 'Китае', + CZ: 'Чешская республика', + DK: 'Дании', + EE: 'Эстонии', + ES: 'Испании', + FI: 'Финляндии', + HR: 'Хорватии', + IE: 'Ирландии', + IS: 'Исландии', + LT: 'Литве', + LV: 'Латвии', + ME: 'Черногории', + MK: 'Македонии', + NL: 'Нидерландах', + PL: 'Польше', + RO: 'Румынии', + RS: 'Сербии', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + SM: 'Сан-Марино', + TH: 'Тайланде', + TR: 'Турции', + ZA: 'ЮАР', + }, + country: 'Пожалуйста, введите правильный идентификационный номер в %s', + default: 'Пожалуйста, введите правильный идентификационный номер', + }, + identical: { + default: 'Пожалуйста, введите такое же значение', + }, + imei: { + default: 'Пожалуйста, введите правильный номер IMEI', + }, + imo: { + default: 'Пожалуйста, введите правильный номер IMO', + }, + integer: { + default: 'Пожалуйста, введите правильное целое число', + }, + ip: { + default: 'Пожалуйста, введите правильный IP-адрес', + ipv4: 'Пожалуйста, введите правильный IPv4-адрес', + ipv6: 'Пожалуйста, введите правильный IPv6-адрес', + }, + isbn: { + default: 'Пожалуйста, введите правильный номер ISBN', + }, + isin: { + default: 'Пожалуйста, введите правильный номер ISIN', + }, + ismn: { + default: 'Пожалуйста, введите правильный номер ISMN', + }, + issn: { + default: 'Пожалуйста, введите правильный номер ISSN', + }, + lessThan: { + default: 'Пожалуйста, введите значение меньшее или равное %s', + notInclusive: 'Пожалуйста, введите значение меньше %s', + }, + mac: { + default: 'Пожалуйста, введите правильный MAC-адрес', + }, + meid: { + default: 'Пожалуйста, введите правильный номер MEID', + }, + notEmpty: { + default: 'Пожалуйста, введите значение', + }, + numeric: { + default: 'Пожалуйста, введите корректное действительное число', + }, + phone: { + countries: { + AE: 'Объединённых Арабских Эмиратах', + BG: 'Болгарии', + BR: 'Бразилии', + CN: 'Китае', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + ES: 'Испании', + FR: 'Франции', + GB: 'Великобритании', + IN: 'Индия', + MA: 'Марокко', + NL: 'Нидерландах', + PK: 'Пакистане', + RO: 'Румынии', + RU: 'России', + SK: 'Словакии', + TH: 'Тайланде', + US: 'США', + VE: 'Венесуэле', + }, + country: 'Пожалуйста, введите правильный номер телефона в %s', + default: 'Пожалуйста, введите правильный номер телефона', + }, + promise: { + default: 'Пожалуйста, введите корректное значение', + }, + regexp: { + default: 'Пожалуйста, введите значение соответствующее шаблону', + }, + remote: { + default: 'Пожалуйста, введите правильное значение', + }, + rtn: { + default: 'Пожалуйста, введите правильный номер RTN', + }, + sedol: { + default: 'Пожалуйста, введите правильный номер SEDOL', + }, + siren: { + default: 'Пожалуйста, введите правильный номер SIREN', + }, + siret: { + default: 'Пожалуйста, введите правильный номер SIRET', + }, + step: { + default: 'Пожалуйста, введите правильный шаг %s', + }, + stringCase: { + default: 'Пожалуйста, вводите только строчные буквы', + upper: 'Пожалуйста, вводите только заглавные буквы', + }, + stringLength: { + between: 'Пожалуйста, введите строку длиной от %s до %s символов', + default: 'Пожалуйста, введите значение корректной длины', + less: 'Пожалуйста, введите не больше %s символов', + more: 'Пожалуйста, введите не меньше %s символов', + }, + uri: { + default: 'Пожалуйста, введите правильный URI', + }, + uuid: { + default: 'Пожалуйста, введите правильный номер UUID', + version: 'Пожалуйста, введите правильный номер UUID версии %s', + }, + vat: { + countries: { + AT: 'Австрии', + BE: 'Бельгии', + BG: 'Болгарии', + BR: 'Бразилии', + CH: 'Швейцарии', + CY: 'Кипре', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + EE: 'Эстонии', + EL: 'Греции', + ES: 'Испании', + FI: 'Финляндии', + FR: 'Франции', + GB: 'Великобритании', + GR: 'Греции', + HR: 'Хорватии', + HU: 'Венгрии', + IE: 'Ирландии', + IS: 'Исландии', + IT: 'Италии', + LT: 'Литве', + LU: 'Люксембурге', + LV: 'Латвии', + MT: 'Мальте', + NL: 'Нидерландах', + NO: 'Норвегии', + PL: 'Польше', + PT: 'Португалии', + RO: 'Румынии', + RS: 'Сербии', + RU: 'России', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + VE: 'Венесуэле', + ZA: 'ЮАР', + }, + country: 'Пожалуйста, введите правильный номер ИНН (VAT) в %s', + default: 'Пожалуйста, введите правильный номер ИНН', + }, + vin: { + default: 'Пожалуйста, введите правильный номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрии', + BG: 'Болгарии', + BR: 'Бразилии', + CA: 'Канаде', + CH: 'Швейцарии', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + ES: 'Испании', + FR: 'Франции', + GB: 'Великобритании', + IE: 'Ирландии', + IN: 'Индия', + IT: 'Италии', + MA: 'Марокко', + NL: 'Нидерландах', + PL: 'Польше', + PT: 'Португалии', + RO: 'Румынии', + RU: 'России', + SE: 'Швеции', + SG: 'Сингапуре', + SK: 'Словакии', + US: 'США', + }, + country: 'Пожалуйста, введите правильный почтовый индекс в %s', + default: 'Пожалуйста, введите правильный почтовый индекс', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/sk_SK.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/sk_SK.js new file mode 100644 index 0000000..ded9faa --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/sk_SK.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Prosím zadajte správny base64', + }, + between: { + default: 'Prosím zadajte hodnotu medzi %s a %s', + notInclusive: 'Prosím zadajte hodnotu medzi %s a %s (vrátane týchto čísel)', + }, + bic: { + default: 'Prosím zadajte správne BIC číslo', + }, + callback: { + default: 'Prosím zadajte správnu hodnotu', + }, + choice: { + between: 'Prosím vyberte medzi %s a %s', + default: 'Prosím vyberte správnu hodnotu', + less: 'Hodnota musí byť minimálne %s', + more: 'Hodnota nesmie byť viac ako %s', + }, + color: { + default: 'Prosím zadajte správnu farbu', + }, + creditCard: { + default: 'Prosím zadajte správne číslo kreditnej karty', + }, + cusip: { + default: 'Prosím zadajte správne CUSIP číslo', + }, + date: { + default: 'Prosím zadajte správny dátum', + max: 'Prosím zadajte dátum po %s', + min: 'Prosím zadajte dátum pred %s', + range: 'Prosím zadajte dátum v rozmedzí %s až %s', + }, + different: { + default: 'Prosím zadajte inú hodnotu', + }, + digits: { + default: 'Toto pole môže obsahovať len čísla', + }, + ean: { + default: 'Prosím zadajte správne EAN číslo', + }, + ein: { + default: 'Prosím zadajte správne EIN číslo', + }, + emailAddress: { + default: 'Prosím zadajte správnu emailovú adresu', + }, + file: { + default: 'Prosím vyberte súbor', + }, + greaterThan: { + default: 'Prosím zadajte hodnotu väčšiu alebo rovnú %s', + notInclusive: 'Prosím zadajte hodnotu väčšiu ako %s', + }, + grid: { + default: 'Prosím zadajte správné GRId číslo', + }, + hex: { + default: 'Prosím zadajte správne hexadecimálne číslo', + }, + iban: { + countries: { + AD: 'Andorru', + AE: 'Spojené arabské emiráty', + AL: 'Albánsko', + AO: 'Angolu', + AT: 'Rakúsko', + AZ: 'Ázerbajdžán', + BA: 'Bosnu a Herzegovinu', + BE: 'Belgicko', + BF: 'Burkina Faso', + BG: 'Bulharsko', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CI: 'Pobrežie Slonoviny', + CM: 'Kamerun', + CR: 'Kostariku', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + DO: 'Dominikánsku republiku', + DZ: 'Alžírsko', + EE: 'Estónsko', + ES: 'Španielsko', + FI: 'Fínsko', + FO: 'Faerské ostrovy', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + GE: 'Gruzínsko', + GI: 'Gibraltár', + GL: 'Grónsko', + GR: 'Grécko', + GT: 'Guatemalu', + HR: 'Chorvátsko', + HU: 'Maďarsko', + IE: 'Írsko', + IL: 'Izrael', + IR: 'Irán', + IS: 'Island', + IT: 'Taliansko', + JO: 'Jordánsko', + KW: 'Kuwait', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Lichtenštajnsko', + LT: 'Litvu', + LU: 'Luxemburgsko', + LV: 'Lotyšsko', + MC: 'Monako', + MD: 'Moldavsko', + ME: 'Čiernu horu', + MG: 'Madagaskar', + MK: 'Macedónsko', + ML: 'Mali', + MR: 'Mauritániu', + MT: 'Maltu', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Holandsko', + NO: 'Nórsko', + PK: 'Pakistan', + PL: 'Poľsko', + PS: 'Palestínu', + PT: 'Portugalsko', + QA: 'Katar', + RO: 'Rumunsko', + RS: 'Srbsko', + SA: 'Saudskú Arábiu', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Východný Timor', + TN: 'Tunisko', + TR: 'Turecko', + VG: 'Britské Panenské ostrovy', + XK: 'Republic of Kosovo', + }, + country: 'Prosím zadajte správne IBAN číslo pre %s', + default: 'Prosím zadajte správne IBAN číslo', + }, + id: { + countries: { + BA: 'Bosnu a Hercegovinu', + BG: 'Bulharsko', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CL: 'Chile', + CN: 'Čínu', + CZ: 'Českú Republiku', + DK: 'Dánsko', + EE: 'Estónsko', + ES: 'Španielsko', + FI: 'Fínsko', + HR: 'Chorvátsko', + IE: 'Írsko', + IS: 'Island', + LT: 'Litvu', + LV: 'Lotyšsko', + ME: 'Čiernu horu', + MK: 'Macedónsko', + NL: 'Holandsko', + PL: 'Poľsko', + RO: 'Rumunsko', + RS: 'Srbsko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + TH: 'Thajsko', + TR: 'Turecko', + ZA: 'Južnú Afriku', + }, + country: 'Prosím zadajte správne rodné číslo pre %s', + default: 'Prosím zadajte správne rodné číslo', + }, + identical: { + default: 'Prosím zadajte rovnakú hodnotu', + }, + imei: { + default: 'Prosím zadajte správne IMEI číslo', + }, + imo: { + default: 'Prosím zadajte správne IMO číslo', + }, + integer: { + default: 'Prosím zadajte celé číslo', + }, + ip: { + default: 'Prosím zadajte správnu IP adresu', + ipv4: 'Prosím zadajte správnu IPv4 adresu', + ipv6: 'Prosím zadajte správnu IPv6 adresu', + }, + isbn: { + default: 'Prosím zadajte správne ISBN číslo', + }, + isin: { + default: 'Prosím zadajte správne ISIN číslo', + }, + ismn: { + default: 'Prosím zadajte správne ISMN číslo', + }, + issn: { + default: 'Prosím zadajte správne ISSN číslo', + }, + lessThan: { + default: 'Prosím zadajte hodnotu menšiu alebo rovnú %s', + notInclusive: 'Prosím zadajte hodnotu menšiu ako %s', + }, + mac: { + default: 'Prosím zadajte správnu MAC adresu', + }, + meid: { + default: 'Prosím zadajte správne MEID číslo', + }, + notEmpty: { + default: 'Toto pole nesmie byť prázdne', + }, + numeric: { + default: 'Prosím zadajte číselnú hodnotu', + }, + phone: { + countries: { + AE: 'Spojené arabské emiráty', + BG: 'Bulharsko', + BR: 'Brazíliu', + CN: 'Čínu', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + ES: 'Španielsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + IN: 'Indiu', + MA: 'Maroko', + NL: 'Holandsko', + PK: 'Pakistan', + RO: 'Rumunsko', + RU: 'Rusko', + SK: 'Slovensko', + TH: 'Thajsko', + US: 'Spojené Štáty Americké', + VE: 'Venezuelu', + }, + country: 'Prosím zadajte správne telefónne číslo pre %s', + default: 'Prosím zadajte správne telefónne číslo', + }, + promise: { + default: 'Prosím zadajte správnu hodnotu', + }, + regexp: { + default: 'Prosím zadajte hodnotu spĺňajúcu zadanie', + }, + remote: { + default: 'Prosím zadajte správnu hodnotu', + }, + rtn: { + default: 'Prosím zadajte správne RTN číslo', + }, + sedol: { + default: 'Prosím zadajte správne SEDOL číslo', + }, + siren: { + default: 'Prosím zadajte správne SIREN číslo', + }, + siret: { + default: 'Prosím zadajte správne SIRET číslo', + }, + step: { + default: 'Prosím zadajte správny krok %s', + }, + stringCase: { + default: 'Len malé písmená sú povolené v tomto poli', + upper: 'Len veľké písmená sú povolené v tomto poli', + }, + stringLength: { + between: 'Prosím zadajte hodnotu medzi %s a %s znakov', + default: 'Toto pole nesmie byť prázdne', + less: 'Prosím zadajte hodnotu kratšiu ako %s znakov', + more: 'Prosím zadajte hodnotu dlhú %s znakov a viacej', + }, + uri: { + default: 'Prosím zadajte správnu URI', + }, + uuid: { + default: 'Prosím zadajte správne UUID číslo', + version: 'Prosím zadajte správne UUID vo verzii %s', + }, + vat: { + countries: { + AT: 'Rakúsko', + BE: 'Belgicko', + BG: 'Bulharsko', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CY: 'Cyprus', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + EE: 'Estónsko', + EL: 'Grécko', + ES: 'Španielsko', + FI: 'Fínsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + GR: 'Grécko', + HR: 'Chorvátsko', + HU: 'Maďarsko', + IE: 'Írsko', + IS: 'Island', + IT: 'Taliansko', + LT: 'Litvu', + LU: 'Luxemburgsko', + LV: 'Lotyšsko', + MT: 'Maltu', + NL: 'Holandsko', + NO: 'Norsko', + PL: 'Poľsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RS: 'Srbsko', + RU: 'Rusko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + VE: 'Venezuelu', + ZA: 'Južnú Afriku', + }, + country: 'Prosím zadajte správne VAT číslo pre %s', + default: 'Prosím zadajte správne VAT číslo', + }, + vin: { + default: 'Prosím zadajte správne VIN číslo', + }, + zipCode: { + countries: { + AT: 'Rakúsko', + BG: 'Bulharsko', + BR: 'Brazíliu', + CA: 'Kanadu', + CH: 'Švajčiarsko', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + ES: 'Španielsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + IE: 'Írsko', + IN: 'Indiu', + IT: 'Taliansko', + MA: 'Maroko', + NL: 'Holandsko', + PL: 'Poľsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RU: 'Rusko', + SE: 'Švédsko', + SG: 'Singapur', + SK: 'Slovensko', + US: 'Spojené Štáty Americké', + }, + country: 'Prosím zadajte správne PSČ pre %s', + default: 'Prosím zadajte správne PSČ', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/sq_AL.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/sq_AL.js new file mode 100644 index 0000000..67a8117 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/sq_AL.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Ju lutem përdorni sistemin e kodimit Base64', + }, + between: { + default: 'Ju lutem vendosni një vlerë midis %s dhe %s', + notInclusive: 'Ju lutem vendosni një vlerë rreptësisht midis %s dhe %s', + }, + bic: { + default: 'Ju lutem vendosni një numër BIC të vlefshëm', + }, + callback: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + choice: { + between: 'Ju lutem përzgjidhni %s - %s mundësi', + default: 'Ju lutem vendosni një vlerë të vlefshme', + less: 'Ju lutem përzgjidhni së paku %s mundësi', + more: 'Ju lutem përzgjidhni së shumti %s mundësi ', + }, + color: { + default: 'Ju lutem vendosni një ngjyrë të vlefshme', + }, + creditCard: { + default: 'Ju lutem vendosni një numër karte krediti të vlefshëm', + }, + cusip: { + default: 'Ju lutem vendosni një numër CUSIP të vlefshëm', + }, + date: { + default: 'Ju lutem vendosni një datë të saktë', + max: 'Ju lutem vendosni një datë para %s', + min: 'Ju lutem vendosni një datë pas %s', + range: 'Ju lutem vendosni një datë midis %s - %s', + }, + different: { + default: 'Ju lutem vendosni një vlerë tjetër', + }, + digits: { + default: 'Ju lutem vendosni vetëm numra', + }, + ean: { + default: 'Ju lutem vendosni një numër EAN të vlefshëm', + }, + ein: { + default: 'Ju lutem vendosni një numër EIN të vlefshëm', + }, + emailAddress: { + default: 'Ju lutem vendosni një adresë email të vlefshme', + }, + file: { + default: 'Ju lutem përzgjidhni një skedar të vlefshëm', + }, + greaterThan: { + default: 'Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s', + notInclusive: 'Ju lutem vendosni një vlerë më të madhe se %s', + }, + grid: { + default: 'Ju lutem vendosni një numër GRId të vlefshëm', + }, + hex: { + default: 'Ju lutem vendosni një numër të saktë heksadecimal', + }, + iban: { + countries: { + AD: 'Andora', + AE: 'Emiratet e Bashkuara Arabe', + AL: 'Shqipëri', + AO: 'Angola', + AT: 'Austri', + AZ: 'Azerbajxhan', + BA: 'Bosnjë dhe Hercegovinë', + BE: 'Belgjikë', + BF: 'Burkina Faso', + BG: 'Bullgari', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Zvicër', + CI: 'Bregu i fildishtë', + CM: 'Kamerun', + CR: 'Kosta Rika', + CV: 'Kepi i Gjelbër', + CY: 'Qipro', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + DO: 'Dominika', + DZ: 'Algjeri', + EE: 'Estoni', + ES: 'Spanjë', + FI: 'Finlandë', + FO: 'Ishujt Faroe', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + GE: 'Gjeorgji', + GI: 'Gjibraltar', + GL: 'Groenlandë', + GR: 'Greqi', + GT: 'Guatemalë', + HR: 'Kroaci', + HU: 'Hungari', + IE: 'Irlandë', + IL: 'Izrael', + IR: 'Iran', + IS: 'Islandë', + IT: 'Itali', + JO: 'Jordani', + KW: 'Kuvajt', + KZ: 'Kazakistan', + LB: 'Liban', + LI: 'Lihtenshtejn', + LT: 'Lituani', + LU: 'Luksemburg', + LV: 'Letoni', + MC: 'Monako', + MD: 'Moldavi', + ME: 'Mal i Zi', + MG: 'Madagaskar', + MK: 'Maqedoni', + ML: 'Mali', + MR: 'Mauritani', + MT: 'Maltë', + MU: 'Mauricius', + MZ: 'Mozambik', + NL: 'Hollandë', + NO: 'Norvegji', + PK: 'Pakistan', + PL: 'Poloni', + PS: 'Palestinë', + PT: 'Portugali', + QA: 'Katar', + RO: 'Rumani', + RS: 'Serbi', + SA: 'Arabi Saudite', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Sllovaki', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timori Lindor', + TN: 'Tunizi', + TR: 'Turqi', + VG: 'Ishujt Virxhin Britanikë', + XK: 'Republika e Kosovës', + }, + country: 'Ju lutem vendosni një numër IBAN të vlefshëm në %s', + default: 'Ju lutem vendosni një numër IBAN të vlefshëm', + }, + id: { + countries: { + BA: 'Bosnjë dhe Hercegovinë', + BG: 'Bullgari', + BR: 'Brazil', + CH: 'Zvicër', + CL: 'Kili', + CN: 'Kinë', + CZ: 'Republika Çeke', + DK: 'Danimarkë', + EE: 'Estoni', + ES: 'Spanjë', + FI: 'Finlandë', + HR: 'Kroaci', + IE: 'Irlandë', + IS: 'Islandë', + LT: 'Lituani', + LV: 'Letoni', + ME: 'Mal i Zi', + MK: 'Maqedoni', + NL: 'Hollandë', + PL: 'Poloni', + RO: 'Rumani', + RS: 'Serbi', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Slovaki', + SM: 'San Marino', + TH: 'Tajlandë', + TR: 'Turqi', + ZA: 'Afrikë e Jugut', + }, + country: 'Ju lutem vendosni një numër identifikimi të vlefshëm në %s', + default: 'Ju lutem vendosni një numër identifikimi të vlefshëm', + }, + identical: { + default: 'Ju lutem vendosni të njëjtën vlerë', + }, + imei: { + default: 'Ju lutem vendosni numër IMEI të njëjtë', + }, + imo: { + default: 'Ju lutem vendosni numër IMO të vlefshëm', + }, + integer: { + default: 'Ju lutem vendosni një numër të vlefshëm', + }, + ip: { + default: 'Ju lutem vendosni një adresë IP të vlefshme', + ipv4: 'Ju lutem vendosni një adresë IPv4 të vlefshme', + ipv6: 'Ju lutem vendosni një adresë IPv6 të vlefshme', + }, + isbn: { + default: 'Ju lutem vendosni një numër ISBN të vlefshëm', + }, + isin: { + default: 'Ju lutem vendosni një numër ISIN të vlefshëm', + }, + ismn: { + default: 'Ju lutem vendosni një numër ISMN të vlefshëm', + }, + issn: { + default: 'Ju lutem vendosni një numër ISSN të vlefshëm', + }, + lessThan: { + default: 'Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s', + notInclusive: 'Ju lutem vendosni një vlerë më të vogël se %s', + }, + mac: { + default: 'Ju lutem vendosni një adresë MAC të vlefshme', + }, + meid: { + default: 'Ju lutem vendosni një numër MEID të vlefshëm', + }, + notEmpty: { + default: 'Ju lutem vendosni një vlerë', + }, + numeric: { + default: 'Ju lutem vendosni një numër me presje notuese të saktë', + }, + phone: { + countries: { + AE: 'Emiratet e Bashkuara Arabe', + BG: 'Bullgari', + BR: 'Brazil', + CN: 'Kinë', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + ES: 'Spanjë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + IN: 'Indi', + MA: 'Marok', + NL: 'Hollandë', + PK: 'Pakistan', + RO: 'Rumani', + RU: 'Rusi', + SK: 'Sllovaki', + TH: 'Tajlandë', + US: 'SHBA', + VE: 'Venezuelë', + }, + country: 'Ju lutem vendosni një numër telefoni të vlefshëm në %s', + default: 'Ju lutem vendosni një numër telefoni të vlefshëm', + }, + promise: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + regexp: { + default: 'Ju lutem vendosni një vlerë që përputhet me modelin', + }, + remote: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + rtn: { + default: 'Ju lutem vendosni një numër RTN të vlefshëm', + }, + sedol: { + default: 'Ju lutem vendosni një numër SEDOL të vlefshëm', + }, + siren: { + default: 'Ju lutem vendosni një numër SIREN të vlefshëm', + }, + siret: { + default: 'Ju lutem vendosni një numër SIRET të vlefshëm', + }, + step: { + default: 'Ju lutem vendosni një hap të vlefshëm të %s', + }, + stringCase: { + default: 'Ju lutem përdorni vetëm shenja të vogla të shtypit', + upper: 'Ju lutem përdorni vetëm shenja të mëdha të shtypit', + }, + stringLength: { + between: 'Ju lutem vendosni një vlerë me gjatësi midis %s dhe %s simbole', + default: 'Ju lutem vendosni një vlerë me gjatësinë e duhur', + less: 'Ju lutem vendosni më pak se %s simbole', + more: 'Ju lutem vendosni më shumë se %s simbole', + }, + uri: { + default: 'Ju lutem vendosni një URI të vlefshme', + }, + uuid: { + default: 'Ju lutem vendosni një numër UUID të vlefshëm', + version: 'Ju lutem vendosni një numër UUID version %s të vlefshëm', + }, + vat: { + countries: { + AT: 'Austri', + BE: 'Belgjikë', + BG: 'Bullgari', + BR: 'Brazil', + CH: 'Zvicër', + CY: 'Qipro', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + EE: 'Estoni', + EL: 'Greqi', + ES: 'Spanjë', + FI: 'Finlandë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + GR: 'Greqi', + HR: 'Kroaci', + HU: 'Hungari', + IE: 'Irlandë', + IS: 'Iclandë', + IT: 'Itali', + LT: 'Lituani', + LU: 'Luksemburg', + LV: 'Letoni', + MT: 'Maltë', + NL: 'Hollandë', + NO: 'Norvegji', + PL: 'Poloni', + PT: 'Portugali', + RO: 'Rumani', + RS: 'Serbi', + RU: 'Rusi', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Sllovaki', + VE: 'Venezuelë', + ZA: 'Afrikë e Jugut', + }, + country: 'Ju lutem vendosni një numër VAT të vlefshëm në %s', + default: 'Ju lutem vendosni një numër VAT të vlefshëm', + }, + vin: { + default: 'Ju lutem vendosni një numër VIN të vlefshëm', + }, + zipCode: { + countries: { + AT: 'Austri', + BG: 'Bullgari', + BR: 'Brazil', + CA: 'Kanada', + CH: 'Zvicër', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + ES: 'Spanjë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + IE: 'Irlandë', + IN: 'Indi', + IT: 'Itali', + MA: 'Marok', + NL: 'Hollandë', + PL: 'Poloni', + PT: 'Portugali', + RO: 'Rumani', + RU: 'Rusi', + SE: 'Suedi', + SG: 'Singapor', + SK: 'Sllovaki', + US: 'SHBA', + }, + country: 'Ju lutem vendosni një kod postar të vlefshëm në %s', + default: 'Ju lutem vendosni një kod postar të vlefshëm', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/sr_RS.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/sr_RS.js new file mode 100644 index 0000000..db35d8c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/sr_RS.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Molimo da unesete važeći base 64 enkodovan', + }, + between: { + default: 'Molimo da unesete vrednost između %s i %s', + notInclusive: 'Molimo da unesete vrednost strogo između %s i %s', + }, + bic: { + default: 'Molimo da unesete ispravan BIC broj', + }, + callback: { + default: 'Molimo da unesete važeću vrednost', + }, + choice: { + between: 'Molimo odaberite %s - %s opcije(a)', + default: 'Molimo da unesete važeću vrednost', + less: 'Molimo da odaberete minimalno %s opciju(a)', + more: 'Molimo da odaberete maksimalno %s opciju(a)', + }, + color: { + default: 'Molimo da unesete ispravnu boju', + }, + creditCard: { + default: 'Molimo da unesete ispravan broj kreditne kartice', + }, + cusip: { + default: 'Molimo da unesete ispravan CUSIP broj', + }, + date: { + default: 'Molimo da unesete ispravan datum', + max: 'Molimo da unesete datum pre %s', + min: 'Molimo da unesete datum posle %s', + range: 'Molimo da unesete datum od %s do %s', + }, + different: { + default: 'Molimo da unesete drugu vrednost', + }, + digits: { + default: 'Molimo da unesete samo cifre', + }, + ean: { + default: 'Molimo da unesete ispravan EAN broj', + }, + ein: { + default: 'Molimo da unesete ispravan EIN broj', + }, + emailAddress: { + default: 'Molimo da unesete važeću e-mail adresu', + }, + file: { + default: 'Molimo da unesete ispravan fajl', + }, + greaterThan: { + default: 'Molimo da unesete vrednost veću ili jednaku od %s', + notInclusive: 'Molimo da unesete vrednost veću od %s', + }, + grid: { + default: 'Molimo da unesete ispravan GRId broj', + }, + hex: { + default: 'Molimo da unesete ispravan heksadecimalan broj', + }, + iban: { + countries: { + AD: 'Andore', + AE: 'Ujedinjenih Arapskih Emirata', + AL: 'Albanije', + AO: 'Angole', + AT: 'Austrije', + AZ: 'Azerbejdžana', + BA: 'Bosne i Hercegovine', + BE: 'Belgije', + BF: 'Burkina Fasa', + BG: 'Bugarske', + BH: 'Bahraina', + BI: 'Burundija', + BJ: 'Benina', + BR: 'Brazila', + CH: 'Švajcarske', + CI: 'Obale slonovače', + CM: 'Kameruna', + CR: 'Kostarike', + CV: 'Zelenorotskih Ostrva', + CY: 'Kipra', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + DO: 'Dominike', + DZ: 'Alžira', + EE: 'Estonije', + ES: 'Španije', + FI: 'Finske', + FO: 'Farskih Ostrva', + FR: 'Francuske', + GB: 'Engleske', + GE: 'Džordžije', + GI: 'Giblartara', + GL: 'Grenlanda', + GR: 'Grčke', + GT: 'Gvatemale', + HR: 'Hrvatske', + HU: 'Mađarske', + IE: 'Irske', + IL: 'Izraela', + IR: 'Irana', + IS: 'Islanda', + IT: 'Italije', + JO: 'Jordana', + KW: 'Kuvajta', + KZ: 'Kazahstana', + LB: 'Libana', + LI: 'Lihtenštajna', + LT: 'Litvanije', + LU: 'Luksemburga', + LV: 'Latvije', + MC: 'Monaka', + MD: 'Moldove', + ME: 'Crne Gore', + MG: 'Madagaskara', + MK: 'Makedonije', + ML: 'Malija', + MR: 'Mauritanije', + MT: 'Malte', + MU: 'Mauricijusa', + MZ: 'Mozambika', + NL: 'Holandije', + NO: 'Norveške', + PK: 'Pakistana', + PL: 'Poljske', + PS: 'Palestine', + PT: 'Portugala', + QA: 'Katara', + RO: 'Rumunije', + RS: 'Srbije', + SA: 'Saudijske Arabije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + SM: 'San Marina', + SN: 'Senegala', + TL: 'Источни Тимор', + TN: 'Tunisa', + TR: 'Turske', + VG: 'Britanskih Devičanskih Ostrva', + XK: 'Република Косово', + }, + country: 'Molimo da unesete ispravan IBAN broj %s', + default: 'Molimo da unesete ispravan IBAN broj', + }, + id: { + countries: { + BA: 'Bosne i Herzegovine', + BG: 'Bugarske', + BR: 'Brazila', + CH: 'Švajcarske', + CL: 'Čilea', + CN: 'Kine', + CZ: 'Češke', + DK: 'Danske', + EE: 'Estonije', + ES: 'Španije', + FI: 'Finske', + HR: 'Hrvatske', + IE: 'Irske', + IS: 'Islanda', + LT: 'Litvanije', + LV: 'Letonije', + ME: 'Crne Gore', + MK: 'Makedonije', + NL: 'Holandije', + PL: 'Poljske', + RO: 'Rumunije', + RS: 'Srbije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + SM: 'San Marina', + TH: 'Tajlanda', + TR: 'Turske', + ZA: 'Južne Afrike', + }, + country: 'Molimo da unesete ispravan identifikacioni broj %s', + default: 'Molimo da unesete ispravan identifikacioni broj', + }, + identical: { + default: 'Molimo da unesete istu vrednost', + }, + imei: { + default: 'Molimo da unesete ispravan IMEI broj', + }, + imo: { + default: 'Molimo da unesete ispravan IMO broj', + }, + integer: { + default: 'Molimo da unesete ispravan broj', + }, + ip: { + default: 'Molimo da unesete ispravnu IP adresu', + ipv4: 'Molimo da unesete ispravnu IPv4 adresu', + ipv6: 'Molimo da unesete ispravnu IPv6 adresu', + }, + isbn: { + default: 'Molimo da unesete ispravan ISBN broj', + }, + isin: { + default: 'Molimo da unesete ispravan ISIN broj', + }, + ismn: { + default: 'Molimo da unesete ispravan ISMN broj', + }, + issn: { + default: 'Molimo da unesete ispravan ISSN broj', + }, + lessThan: { + default: 'Molimo da unesete vrednost manju ili jednaku od %s', + notInclusive: 'Molimo da unesete vrednost manju od %s', + }, + mac: { + default: 'Molimo da unesete ispravnu MAC adresu', + }, + meid: { + default: 'Molimo da unesete ispravan MEID broj', + }, + notEmpty: { + default: 'Molimo da unesete vrednost', + }, + numeric: { + default: 'Molimo da unesete ispravan decimalni broj', + }, + phone: { + countries: { + AE: 'Ujedinjenih Arapskih Emirata', + BG: 'Bugarske', + BR: 'Brazila', + CN: 'Kine', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + ES: 'Španije', + FR: 'Francuske', + GB: 'Engleske', + IN: 'Индија', + MA: 'Maroka', + NL: 'Holandije', + PK: 'Pakistana', + RO: 'Rumunije', + RU: 'Rusije', + SK: 'Slovačke', + TH: 'Tajlanda', + US: 'Amerike', + VE: 'Venecuele', + }, + country: 'Molimo da unesete ispravan broj telefona %s', + default: 'Molimo da unesete ispravan broj telefona', + }, + promise: { + default: 'Molimo da unesete važeću vrednost', + }, + regexp: { + default: 'Molimo da unesete vrednost koja se poklapa sa paternom', + }, + remote: { + default: 'Molimo da unesete ispravnu vrednost', + }, + rtn: { + default: 'Molimo da unesete ispravan RTN broj', + }, + sedol: { + default: 'Molimo da unesete ispravan SEDOL broj', + }, + siren: { + default: 'Molimo da unesete ispravan SIREN broj', + }, + siret: { + default: 'Molimo da unesete ispravan SIRET broj', + }, + step: { + default: 'Molimo da unesete ispravan korak od %s', + }, + stringCase: { + default: 'Molimo da unesete samo mala slova', + upper: 'Molimo da unesete samo velika slova', + }, + stringLength: { + between: 'Molimo da unesete vrednost dužine između %s i %s karaktera', + default: 'Molimo da unesete vrednost sa ispravnom dužinom', + less: 'Molimo da unesete manje od %s karaktera', + more: 'Molimo da unesete više od %s karaktera', + }, + uri: { + default: 'Molimo da unesete ispravan URI', + }, + uuid: { + default: 'Molimo da unesete ispravan UUID broj', + version: 'Molimo da unesete ispravnu verziju UUID %s broja', + }, + vat: { + countries: { + AT: 'Austrije', + BE: 'Belgije', + BG: 'Bugarske', + BR: 'Brazila', + CH: 'Švajcarske', + CY: 'Kipra', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + EE: 'Estonije', + EL: 'Grčke', + ES: 'Španije', + FI: 'Finske', + FR: 'Francuske', + GB: 'Engleske', + GR: 'Grčke', + HR: 'Hrvatske', + HU: 'Mađarske', + IE: 'Irske', + IS: 'Islanda', + IT: 'Italije', + LT: 'Litvanije', + LU: 'Luksemburga', + LV: 'Letonije', + MT: 'Malte', + NL: 'Holandije', + NO: 'Norveške', + PL: 'Poljske', + PT: 'Portugala', + RO: 'Romunje', + RS: 'Srbije', + RU: 'Rusije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + VE: 'Venecuele', + ZA: 'Južne Afrike', + }, + country: 'Molimo da unesete ispravan VAT broj %s', + default: 'Molimo da unesete ispravan VAT broj', + }, + vin: { + default: 'Molimo da unesete ispravan VIN broj', + }, + zipCode: { + countries: { + AT: 'Austrije', + BG: 'Bugarske', + BR: 'Brazila', + CA: 'Kanade', + CH: 'Švajcarske', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + ES: 'Španije', + FR: 'Francuske', + GB: 'Engleske', + IE: 'Irske', + IN: 'Индија', + IT: 'Italije', + MA: 'Maroka', + NL: 'Holandije', + PL: 'Poljske', + PT: 'Portugala', + RO: 'Rumunije', + RU: 'Rusije', + SE: 'Švedske', + SG: 'Singapura', + SK: 'Slovačke', + US: 'Amerike', + }, + country: 'Molimo da unesete ispravan poštanski broj %s', + default: 'Molimo da unesete ispravan poštanski broj', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/sv_SE.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/sv_SE.js new file mode 100644 index 0000000..6955355 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/sv_SE.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Vänligen mata in ett giltigt Base64-kodat värde', + }, + between: { + default: 'Vänligen mata in ett värde mellan %s och %s', + notInclusive: 'Vänligen mata in ett värde strikt mellan %s och %s', + }, + bic: { + default: 'Vänligen mata in ett giltigt BIC-nummer', + }, + callback: { + default: 'Vänligen mata in ett giltigt värde', + }, + choice: { + between: 'Vänligen välj %s - %s alternativ', + default: 'Vänligen mata in ett giltigt värde', + less: 'Vänligen välj minst %s alternativ', + more: 'Vänligen välj max %s alternativ', + }, + color: { + default: 'Vänligen mata in en giltig färg', + }, + creditCard: { + default: 'Vänligen mata in ett giltigt kredikortsnummer', + }, + cusip: { + default: 'Vänligen mata in ett giltigt CUSIP-nummer', + }, + date: { + default: 'Vänligen mata in ett giltigt datum', + max: 'Vänligen mata in ett datum före %s', + min: 'Vänligen mata in ett datum efter %s', + range: 'Vänligen mata in ett datum i intervallet %s - %s', + }, + different: { + default: 'Vänligen mata in ett annat värde', + }, + digits: { + default: 'Vänligen mata in endast siffror', + }, + ean: { + default: 'Vänligen mata in ett giltigt EAN-nummer', + }, + ein: { + default: 'Vänligen mata in ett giltigt EIN-nummer', + }, + emailAddress: { + default: 'Vänligen mata in en giltig emailadress', + }, + file: { + default: 'Vänligen välj en giltig fil', + }, + greaterThan: { + default: 'Vänligen mata in ett värde större än eller lika med %s', + notInclusive: 'Vänligen mata in ett värde större än %s', + }, + grid: { + default: 'Vänligen mata in ett giltigt GRID-nummer', + }, + hex: { + default: 'Vänligen mata in ett giltigt hexadecimalt tal', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Förenade Arabemiraten', + AL: 'Albanien', + AO: 'Angola', + AT: 'Österrike', + AZ: 'Azerbadjan', + BA: 'Bosnien och Herzegovina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbenskusten', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cypern', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Dominikanska Republiken', + DZ: 'Algeriet', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + FO: 'Färöarna', + FR: 'Frankrike', + GB: 'Storbritannien', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grönland', + GR: 'Greekland', + GT: 'Guatemala', + HR: 'Kroatien', + HU: 'Ungern', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordanien', + KW: 'Kuwait', + KZ: 'Kazakstan', + LB: 'Libanon', + LI: 'Lichtenstein', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MC: 'Monaco', + MD: 'Moldovien', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Holland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Rumänien', + RS: 'Serbien', + SA: 'Saudiarabien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Östtimor', + TN: 'Tunisien', + TR: 'Turkiet', + VG: 'Brittiska Jungfruöarna', + XK: 'Republiken Kosovo', + }, + country: 'Vänligen mata in ett giltigt IBAN-nummer i %s', + default: 'Vänligen mata in ett giltigt IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien och Hercegovina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tjeckien', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Lettland', + ME: 'Montenegro', + MK: 'Makedonien', + NL: 'Nederländerna', + PL: 'Polen', + RO: 'Rumänien', + RS: 'Serbien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkiet', + ZA: 'Sydafrika', + }, + country: 'Vänligen mata in ett giltigt identifikationsnummer i %s', + default: 'Vänligen mata in ett giltigt identifikationsnummer', + }, + identical: { + default: 'Vänligen mata in samma värde', + }, + imei: { + default: 'Vänligen mata in ett giltigt IMEI-nummer', + }, + imo: { + default: 'Vänligen mata in ett giltigt IMO-nummer', + }, + integer: { + default: 'Vänligen mata in ett giltigt heltal', + }, + ip: { + default: 'Vänligen mata in en giltig IP-adress', + ipv4: 'Vänligen mata in en giltig IPv4-adress', + ipv6: 'Vänligen mata in en giltig IPv6-adress', + }, + isbn: { + default: 'Vänligen mata in ett giltigt ISBN-nummer', + }, + isin: { + default: 'Vänligen mata in ett giltigt ISIN-nummer', + }, + ismn: { + default: 'Vänligen mata in ett giltigt ISMN-nummer', + }, + issn: { + default: 'Vänligen mata in ett giltigt ISSN-nummer', + }, + lessThan: { + default: 'Vänligen mata in ett värde mindre än eller lika med %s', + notInclusive: 'Vänligen mata in ett värde mindre än %s', + }, + mac: { + default: 'Vänligen mata in en giltig MAC-adress', + }, + meid: { + default: 'Vänligen mata in ett giltigt MEID-nummer', + }, + notEmpty: { + default: 'Vänligen mata in ett värde', + }, + numeric: { + default: 'Vänligen mata in ett giltigt flyttal', + }, + phone: { + countries: { + AE: 'Förenade Arabemiraten', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'Kina', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrike', + GB: 'Storbritannien', + IN: 'Indien', + MA: 'Marocko', + NL: 'Holland', + PK: 'Pakistan', + RO: 'Rumänien', + RU: 'Ryssland', + SK: 'Slovakien', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Vänligen mata in ett giltigt telefonnummer i %s', + default: 'Vänligen mata in ett giltigt telefonnummer', + }, + promise: { + default: 'Vänligen mata in ett giltigt värde', + }, + regexp: { + default: 'Vänligen mata in ett värde som matchar uttrycket', + }, + remote: { + default: 'Vänligen mata in ett giltigt värde', + }, + rtn: { + default: 'Vänligen mata in ett giltigt RTN-nummer', + }, + sedol: { + default: 'Vänligen mata in ett giltigt SEDOL-nummer', + }, + siren: { + default: 'Vänligen mata in ett giltigt SIREN-nummer', + }, + siret: { + default: 'Vänligen mata in ett giltigt SIRET-nummer', + }, + step: { + default: 'Vänligen mata in ett giltigt steg av %s', + }, + stringCase: { + default: 'Vänligen mata in endast små bokstäver', + upper: 'Vänligen mata in endast stora bokstäver', + }, + stringLength: { + between: 'Vänligen mata in ett värde mellan %s och %s tecken långt', + default: 'Vänligen mata in ett värde med giltig längd', + less: 'Vänligen mata in färre än %s tecken', + more: 'Vänligen mata in fler än %s tecken', + }, + uri: { + default: 'Vänligen mata in en giltig URI', + }, + uuid: { + default: 'Vänligen mata in ett giltigt UUID-nummer', + version: 'Vänligen mata in ett giltigt UUID-nummer av version %s', + }, + vat: { + countries: { + AT: 'Österrike', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Grekland', + ES: 'Spanien', + FI: 'Finland', + FR: 'Frankrike', + GB: 'Förenade Kungariket', + GR: 'Grekland', + HR: 'Kroatien', + HU: 'Ungern', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MT: 'Malta', + NL: 'Nederländerna', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RS: 'Serbien', + RU: 'Ryssland', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + VE: 'Venezuela', + ZA: 'Sydafrika', + }, + country: 'Vänligen mata in ett giltigt momsregistreringsnummer i %s', + default: 'Vänligen mata in ett giltigt momsregistreringsnummer', + }, + vin: { + default: 'Vänligen mata in ett giltigt VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Österrike', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Kanada', + CH: 'Schweiz', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrike', + GB: 'Förenade Kungariket', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marocko', + NL: 'Nederländerna', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RU: 'Ryssland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakien', + US: 'USA', + }, + country: 'Vänligen mata in ett giltigt postnummer i %s', + default: 'Vänligen mata in ett giltigt postnummer', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/th_TH.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/th_TH.js new file mode 100644 index 0000000..b9aa7dd --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/th_TH.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'กรุณาระบุ base 64 encoded ให้ถูกต้อง', + }, + between: { + default: 'กรุณาระบุค่าระหว่าง %s และ %s', + notInclusive: 'กรุณาระบุค่าระหว่าง %s และ %s เท่านั้น', + }, + bic: { + default: 'กรุณาระบุหมายเลข BIC ให้ถูกต้อง', + }, + callback: { + default: 'กรุณาระบุค่าให้ถูก', + }, + choice: { + between: 'กรุณาเลือก %s - %s ที่มีอยู่', + default: 'กรุณาระบุค่าให้ถูกต้อง', + less: 'โปรดเลือกตัวเลือก %s ที่ต่ำสุด', + more: 'โปรดเลือกตัวเลือก %s ที่สูงสุด', + }, + color: { + default: 'กรุณาระบุค่าสี color ให้ถูกต้อง', + }, + creditCard: { + default: 'กรุณาระบุเลขที่บัตรเครดิตให้ถูกต้อง', + }, + cusip: { + default: 'กรุณาระบุหมายเลข CUSIP ให้ถูกต้อง', + }, + date: { + default: 'กรุณาระบุวันที่ให้ถูกต้อง', + max: 'ไม่สามารถระบุวันที่ได้หลังจาก %s', + min: 'ไม่สามารถระบุวันที่ได้ก่อน %s', + range: 'โปรดระบุวันที่ระหว่าง %s - %s', + }, + different: { + default: 'กรุณาระบุค่าอื่นที่แตกต่าง', + }, + digits: { + default: 'กรุณาระบุตัวเลขเท่านั้น', + }, + ean: { + default: 'กรุณาระบุหมายเลข EAN ให้ถูกต้อง', + }, + ein: { + default: 'กรุณาระบุหมายเลข EIN ให้ถูกต้อง', + }, + emailAddress: { + default: 'กรุณาระบุอีเมล์ให้ถูกต้อง', + }, + file: { + default: 'กรุณาเลือกไฟล์', + }, + greaterThan: { + default: 'กรุณาระบุค่ามากกว่าหรือเท่ากับ %s', + notInclusive: 'กรุณาระบุค่ามากกว่า %s', + }, + grid: { + default: 'กรุณาระบุหมายลข GRId ให้ถูกต้อง', + }, + hex: { + default: 'กรุณาระบุเลขฐานสิบหกให้ถูกต้อง', + }, + iban: { + countries: { + AD: 'อันดอร์รา', + AE: 'สหรัฐอาหรับเอมิเรตส์', + AL: 'แอลเบเนีย', + AO: 'แองโกลา', + AT: 'ออสเตรีย', + AZ: 'อาเซอร์ไบจาน', + BA: 'บอสเนียและเฮอร์เซโก', + BE: 'ประเทศเบลเยียม', + BF: 'บูร์กินาฟาโซ', + BG: 'บัลแกเรีย', + BH: 'บาห์เรน', + BI: 'บุรุนดี', + BJ: 'เบนิน', + BR: 'บราซิล', + CH: 'สวิตเซอร์แลนด์', + CI: 'ไอวอรี่โคสต์', + CM: 'แคเมอรูน', + CR: 'คอสตาริกา', + CV: 'เคปเวิร์ด', + CY: 'ไซปรัส', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + DO: 'สาธารณรัฐโดมินิกัน', + DZ: 'แอลจีเรีย', + EE: 'เอสโตเนีย', + ES: 'สเปน', + FI: 'ฟินแลนด์', + FO: 'หมู่เกาะแฟโร', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + GE: 'จอร์เจีย', + GI: 'ยิบรอลตา', + GL: 'กรีนแลนด์', + GR: 'กรีซ', + GT: 'กัวเตมาลา', + HR: 'โครเอเชีย', + HU: 'ฮังการี', + IE: 'ไอร์แลนด์', + IL: 'อิสราเอล', + IR: 'อิหร่าน', + IS: 'ไอซ์', + IT: 'อิตาลี', + JO: 'จอร์แดน', + KW: 'คูเวต', + KZ: 'คาซัคสถาน', + LB: 'เลบานอน', + LI: 'Liechtenstein', + LT: 'ลิทัวเนีย', + LU: 'ลักเซมเบิร์ก', + LV: 'ลัตเวีย', + MC: 'โมนาโก', + MD: 'มอลโดวา', + ME: 'มอนเตเนโก', + MG: 'มาดากัสการ์', + MK: 'มาซิโดเนีย', + ML: 'มาลี', + MR: 'มอริเตเนีย', + MT: 'มอลตา', + MU: 'มอริเชียส', + MZ: 'โมซัมบิก', + NL: 'เนเธอร์แลนด์', + NO: 'นอร์เวย์', + PK: 'ปากีสถาน', + PL: 'โปแลนด์', + PS: 'ปาเลสไตน์', + PT: 'โปรตุเกส', + QA: 'กาตาร์', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + SA: 'ซาอุดิอารเบีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + SM: 'ซานมาริโน', + SN: 'เซเนกัล', + TL: 'ติมอร์ตะวันออก', + TN: 'ตูนิเซีย', + TR: 'ตุรกี', + VG: 'หมู่เกาะบริติชเวอร์จิน', + XK: 'สาธารณรัฐโคโซโว', + }, + country: 'กรุณาระบุหมายเลข IBAN ใน %s', + default: 'กรุณาระบุหมายเลข IBAN ให้ถูกต้อง', + }, + id: { + countries: { + BA: 'บอสเนียและเฮอร์เซโก', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CH: 'วิตเซอร์แลนด์', + CL: 'ชิลี', + CN: 'จีน', + CZ: 'สาธารณรัฐเชค', + DK: 'เดนมาร์ก', + EE: 'เอสโตเนีย', + ES: 'สเปน', + FI: 'ฟินแลนด์', + HR: 'โครเอเชีย', + IE: 'ไอร์แลนด์', + IS: 'ไอซ์', + LT: 'ลิทัวเนีย', + LV: 'ลัตเวีย', + ME: 'มอนเตเนโก', + MK: 'มาซิโดเนีย', + NL: 'เนเธอร์แลนด์', + PL: 'โปแลนด์', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + SM: 'ซานมาริโน', + TH: 'ไทย', + TR: 'ตุรกี', + ZA: 'แอฟริกาใต้', + }, + country: 'โปรดระบุเลขบัตรประจำตัวประชาชนใน %s ให้ถูกต้อง', + default: 'โปรดระบุเลขบัตรประจำตัวประชาชนให้ถูกต้อง', + }, + identical: { + default: 'โปรดระบุค่าให้ตรง', + }, + imei: { + default: 'โปรดระบุหมายเลข IMEI ให้ถูกต้อง', + }, + imo: { + default: 'โปรดระบุหมายเลข IMO ให้ถูกต้อง', + }, + integer: { + default: 'โปรดระบุตัวเลขให้ถูกต้อง', + }, + ip: { + default: 'โปรดระบุ IP address ให้ถูกต้อง', + ipv4: 'โปรดระบุ IPv4 address ให้ถูกต้อง', + ipv6: 'โปรดระบุ IPv6 address ให้ถูกต้อง', + }, + isbn: { + default: 'โปรดระบุหมายเลข ISBN ให้ถูกต้อง', + }, + isin: { + default: 'โปรดระบุหมายเลข ISIN ให้ถูกต้อง', + }, + ismn: { + default: 'โปรดระบุหมายเลข ISMN ให้ถูกต้อง', + }, + issn: { + default: 'โปรดระบุหมายเลข ISSN ให้ถูกต้อง', + }, + lessThan: { + default: 'โปรดระบุค่าน้อยกว่าหรือเท่ากับ %s', + notInclusive: 'โปรดระบุค่าน้อยกว่า %s', + }, + mac: { + default: 'โปรดระบุหมายเลข MAC address ให้ถูกต้อง', + }, + meid: { + default: 'โปรดระบุหมายเลข MEID ให้ถูกต้อง', + }, + notEmpty: { + default: 'โปรดระบุค่า', + }, + numeric: { + default: 'โปรดระบุเลขหน่วยหรือจำนวนทศนิยม ให้ถูกต้อง', + }, + phone: { + countries: { + AE: 'สหรัฐอาหรับเอมิเรตส์', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CN: 'จีน', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + ES: 'สเปน', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + IN: 'อินเดีย', + MA: 'โมร็อกโก', + NL: 'เนเธอร์แลนด์', + PK: 'ปากีสถาน', + RO: 'โรมาเนีย', + RU: 'รัสเซีย', + SK: 'สโลวาเกีย', + TH: 'ไทย', + US: 'สหรัฐอเมริกา', + VE: 'เวเนซูเอลา', + }, + country: 'โปรดระบุหมายเลขโทรศัพท์ใน %s ให้ถูกต้อง', + default: 'โปรดระบุหมายเลขโทรศัพท์ให้ถูกต้อง', + }, + promise: { + default: 'กรุณาระบุค่าให้ถูก', + }, + regexp: { + default: 'โปรดระบุค่าให้ตรงกับรูปแบบที่กำหนด', + }, + remote: { + default: 'โปรดระบุค่าให้ถูกต้อง', + }, + rtn: { + default: 'โปรดระบุหมายเลข RTN ให้ถูกต้อง', + }, + sedol: { + default: 'โปรดระบุหมายเลข SEDOL ให้ถูกต้อง', + }, + siren: { + default: 'โปรดระบุหมายเลข SIREN ให้ถูกต้อง', + }, + siret: { + default: 'โปรดระบุหมายเลข SIRET ให้ถูกต้อง', + }, + step: { + default: 'โปรดระบุลำดับของ %s', + }, + stringCase: { + default: 'โปรดระบุตัวอักษรพิมพ์เล็กเท่านั้น', + upper: 'โปรดระบุตัวอักษรพิมพ์ใหญ่เท่านั้น', + }, + stringLength: { + between: 'โปรดระบุค่าตัวอักษรระหว่าง %s ถึง %s ตัวอักษร', + default: 'ค่าที่ระบุยังไม่ครบตามจำนวนที่กำหนด', + less: 'โปรดระบุค่าตัวอักษรน้อยกว่า %s ตัว', + more: 'โปรดระบุค่าตัวอักษรมากกว่า %s ตัว', + }, + uri: { + default: 'โปรดระบุค่า URI ให้ถูกต้อง', + }, + uuid: { + default: 'โปรดระบุหมายเลข UUID ให้ถูกต้อง', + version: 'โปรดระบุหมายเลข UUID ในเวอร์ชั่น %s', + }, + vat: { + countries: { + AT: 'ออสเตรีย', + BE: 'เบลเยี่ยม', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CH: 'วิตเซอร์แลนด์', + CY: 'ไซปรัส', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมัน', + DK: 'เดนมาร์ก', + EE: 'เอสโตเนีย', + EL: 'กรีซ', + ES: 'สเปน', + FI: 'ฟินแลนด์', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + GR: 'กรีซ', + HR: 'โครเอเชีย', + HU: 'ฮังการี', + IE: 'ไอร์แลนด์', + IS: 'ไอซ์', + IT: 'อิตาลี', + LT: 'ลิทัวเนีย', + LU: 'ลักเซมเบิร์ก', + LV: 'ลัตเวีย', + MT: 'มอลตา', + NL: 'เนเธอร์แลนด์', + NO: 'นอร์เวย์', + PL: 'โปแลนด์', + PT: 'โปรตุเกส', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + RU: 'รัสเซีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + VE: 'เวเนซูเอลา', + ZA: 'แอฟริกาใต้', + }, + country: 'โปรดระบุจำนวนภาษีมูลค่าเพิ่มใน %s', + default: 'โปรดระบุจำนวนภาษีมูลค่าเพิ่ม', + }, + vin: { + default: 'โปรดระบุหมายเลข VIN ให้ถูกต้อง', + }, + zipCode: { + countries: { + AT: 'ออสเตรีย', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CA: 'แคนาดา', + CH: 'วิตเซอร์แลนด์', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + ES: 'สเปน', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + IE: 'ไอร์แลนด์', + IN: 'อินเดีย', + IT: 'อิตาลี', + MA: 'โมร็อกโก', + NL: 'เนเธอร์แลนด์', + PL: 'โปแลนด์', + PT: 'โปรตุเกส', + RO: 'โรมาเนีย', + RU: 'รัสเซีย', + SE: 'สวีเดน', + SG: 'สิงคโปร์', + SK: 'สโลวาเกีย', + US: 'สหรัฐอเมริกา', + }, + country: 'โปรดระบุรหัสไปรษณีย์ให้ถูกต้องใน %s', + default: 'โปรดระบุรหัสไปรษณีย์ให้ถูกต้อง', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/tr_TR.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/tr_TR.js new file mode 100644 index 0000000..9d84238 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/tr_TR.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Lütfen 64 bit tabanına uygun bir giriş yapınız', + }, + between: { + default: 'Lütfen %s ile %s arasında bir değer giriniz', + notInclusive: 'Lütfen sadece %s ile %s arasında bir değer giriniz', + }, + bic: { + default: 'Lütfen geçerli bir BIC numarası giriniz', + }, + callback: { + default: 'Lütfen geçerli bir değer giriniz', + }, + choice: { + between: 'Lütfen %s - %s arası seçiniz', + default: 'Lütfen geçerli bir değer giriniz', + less: 'Lütfen minimum %s kadar değer giriniz', + more: 'Lütfen maksimum %s kadar değer giriniz', + }, + color: { + default: 'Lütfen geçerli bir codu giriniz', + }, + creditCard: { + default: 'Lütfen geçerli bir kredi kartı numarası giriniz', + }, + cusip: { + default: 'Lütfen geçerli bir CUSIP numarası giriniz', + }, + date: { + default: 'Lütfen geçerli bir tarih giriniz', + max: 'Lütfen %s tarihinden önce bir tarih giriniz', + min: 'Lütfen %s tarihinden sonra bir tarih giriniz', + range: 'Lütfen %s - %s aralığında bir tarih giriniz', + }, + different: { + default: 'Lütfen farklı bir değer giriniz', + }, + digits: { + default: 'Lütfen sadece sayı giriniz', + }, + ean: { + default: 'Lütfen geçerli bir EAN numarası giriniz', + }, + ein: { + default: 'Lütfen geçerli bir EIN numarası giriniz', + }, + emailAddress: { + default: 'Lütfen geçerli bir E-Mail adresi giriniz', + }, + file: { + default: 'Lütfen geçerli bir dosya seçiniz', + }, + greaterThan: { + default: 'Lütfen %s ye eşit veya daha büyük bir değer giriniz', + notInclusive: 'Lütfen %s den büyük bir değer giriniz', + }, + grid: { + default: 'Lütfen geçerli bir GRId numarası giriniz', + }, + hex: { + default: 'Lütfen geçerli bir Hexadecimal sayı giriniz', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Birleşik Arap Emirlikleri', + AL: 'Arnavutluk', + AO: 'Angola', + AT: 'Avusturya', + AZ: 'Azerbaycan', + BA: 'Bosna Hersek', + BE: 'Belçika', + BF: 'Burkina Faso', + BG: 'Bulgaristan', + BH: 'Bahreyn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brezilya', + CH: 'İsviçre', + CI: 'Fildişi Sahili', + CM: 'Kamerun', + CR: 'Kosta Rika', + CV: 'Cape Verde', + CY: 'Kıbrıs', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + DO: 'Dominik Cumhuriyeti', + DZ: 'Cezayir', + EE: 'Estonya', + ES: 'İspanya', + FI: 'Finlandiya', + FO: 'Faroe Adaları', + FR: 'Fransa', + GB: 'İngiltere', + GE: 'Georgia', + GI: 'Cebelitarık', + GL: 'Grönland', + GR: 'Yunansitan', + GT: 'Guatemala', + HR: 'Hırvatistan', + HU: 'Macaristan', + IE: 'İrlanda', + IL: 'İsrail', + IR: 'İran', + IS: 'İzlanda', + IT: 'İtalya', + JO: 'Ürdün', + KW: 'Kuveit', + KZ: 'Kazakistan', + LB: 'Lübnan', + LI: 'Lihtenştayn', + LT: 'Litvanya', + LU: 'Lüksemburg', + LV: 'Letonya', + MC: 'Monako', + MD: 'Moldova', + ME: 'Karadağ', + MG: 'Madagaskar', + MK: 'Makedonya', + ML: 'Mali', + MR: 'Moritanya', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Hollanda', + NO: 'Norveç', + PK: 'Pakistan', + PL: 'Polanya', + PS: 'Filistin', + PT: 'Portekiz', + QA: 'Katar', + RO: 'Romanya', + RS: 'Serbistan', + SA: 'Suudi Arabistan', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Doğu Timor', + TN: 'Tunus', + TR: 'Turkiye', + VG: 'Virgin Adaları, İngiliz', + XK: 'Kosova Cumhuriyeti', + }, + country: 'Lütfen geçerli bir IBAN numarası giriniz içinde %s', + default: 'Lütfen geçerli bir IBAN numarası giriniz', + }, + id: { + countries: { + BA: 'Bosna Hersek', + BG: 'Bulgaristan', + BR: 'Brezilya', + CH: 'İsviçre', + CL: 'Şili', + CN: 'Çin', + CZ: 'Çek Cumhuriyeti', + DK: 'Danimarka', + EE: 'Estonya', + ES: 'İspanya', + FI: 'Finlandiya', + HR: 'Hırvatistan', + IE: 'İrlanda', + IS: 'İzlanda', + LT: 'Litvanya', + LV: 'Letonya', + ME: 'Karadağ', + MK: 'Makedonya', + NL: 'Hollanda', + PL: 'Polanya', + RO: 'Romanya', + RS: 'Sırbistan', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + SM: 'San Marino', + TH: 'Tayland', + TR: 'Turkiye', + ZA: 'Güney Afrika', + }, + country: 'Lütfen geçerli bir kimlik numarası giriniz içinde %s', + default: 'Lütfen geçerli bir tanımlama numarası giriniz', + }, + identical: { + default: 'Lütfen aynı değeri giriniz', + }, + imei: { + default: 'Lütfen geçerli bir IMEI numarası giriniz', + }, + imo: { + default: 'Lütfen geçerli bir IMO numarası giriniz', + }, + integer: { + default: 'Lütfen geçerli bir numara giriniz', + }, + ip: { + default: 'Lütfen geçerli bir IP adresi giriniz', + ipv4: 'Lütfen geçerli bir IPv4 adresi giriniz', + ipv6: 'Lütfen geçerli bri IPv6 adresi giriniz', + }, + isbn: { + default: 'Lütfen geçerli bir ISBN numarası giriniz', + }, + isin: { + default: 'Lütfen geçerli bir ISIN numarası giriniz', + }, + ismn: { + default: 'Lütfen geçerli bir ISMN numarası giriniz', + }, + issn: { + default: 'Lütfen geçerli bir ISSN numarası giriniz', + }, + lessThan: { + default: 'Lütfen %s den düşük veya eşit bir değer giriniz', + notInclusive: 'Lütfen %s den büyük bir değer giriniz', + }, + mac: { + default: 'Lütfen geçerli bir MAC Adresi giriniz', + }, + meid: { + default: 'Lütfen geçerli bir MEID numarası giriniz', + }, + notEmpty: { + default: 'Bir değer giriniz', + }, + numeric: { + default: 'Lütfen geçerli bir float değer giriniz', + }, + phone: { + countries: { + AE: 'Birleşik Arap Emirlikleri', + BG: 'Bulgaristan', + BR: 'Brezilya', + CN: 'Çin', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + ES: 'İspanya', + FR: 'Fransa', + GB: 'İngiltere', + IN: 'Hindistan', + MA: 'Fas', + NL: 'Hollanda', + PK: 'Pakistan', + RO: 'Romanya', + RU: 'Rusya', + SK: 'Slovakya', + TH: 'Tayland', + US: 'Amerika', + VE: 'Venezüella', + }, + country: 'Lütfen geçerli bir telefon numarası giriniz içinde %s', + default: 'Lütfen geçerli bir telefon numarası giriniz', + }, + promise: { + default: 'Lütfen geçerli bir değer giriniz', + }, + regexp: { + default: 'Lütfen uyumlu bir değer giriniz', + }, + remote: { + default: 'Lütfen geçerli bir numara giriniz', + }, + rtn: { + default: 'Lütfen geçerli bir RTN numarası giriniz', + }, + sedol: { + default: 'Lütfen geçerli bir SEDOL numarası giriniz', + }, + siren: { + default: 'Lütfen geçerli bir SIREN numarası giriniz', + }, + siret: { + default: 'Lütfen geçerli bir SIRET numarası giriniz', + }, + step: { + default: 'Lütfen geçerli bir %s adımı giriniz', + }, + stringCase: { + default: 'Lütfen sadece küçük harf giriniz', + upper: 'Lütfen sadece büyük harf giriniz', + }, + stringLength: { + between: 'Lütfen %s ile %s arası uzunlukta bir değer giriniz', + default: 'Lütfen geçerli uzunluktaki bir değer giriniz', + less: 'Lütfen %s karakterden az değer giriniz', + more: 'Lütfen %s karakterden fazla değer giriniz', + }, + uri: { + default: 'Lütfen geçerli bir URL giriniz', + }, + uuid: { + default: 'Lütfen geçerli bir UUID numarası giriniz', + version: 'Lütfen geçerli bir UUID versiyon %s numarası giriniz', + }, + vat: { + countries: { + AT: 'Avustralya', + BE: 'Belçika', + BG: 'Bulgaristan', + BR: 'Brezilya', + CH: 'İsviçre', + CY: 'Kıbrıs', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + EE: 'Estonya', + EL: 'Yunanistan', + ES: 'İspanya', + FI: 'Finlandiya', + FR: 'Fransa', + GB: 'İngiltere', + GR: 'Yunanistan', + HR: 'Hırvatistan', + HU: 'Macaristan', + IE: 'Irlanda', + IS: 'İzlanda', + IT: 'Italya', + LT: 'Litvanya', + LU: 'Lüksemburg', + LV: 'Letonya', + MT: 'Malta', + NL: 'Hollanda', + NO: 'Norveç', + PL: 'Polonya', + PT: 'Portekiz', + RO: 'Romanya', + RS: 'Sırbistan', + RU: 'Rusya', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + VE: 'Venezüella', + ZA: 'Güney Afrika', + }, + country: 'Lütfen geçerli bir vergi numarası giriniz içinde %s', + default: 'Lütfen geçerli bir VAT kodu giriniz', + }, + vin: { + default: 'Lütfen geçerli bir VIN numarası giriniz', + }, + zipCode: { + countries: { + AT: 'Avustralya', + BG: 'Bulgaristan', + BR: 'Brezilya', + CA: 'Kanada', + CH: 'İsviçre', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + ES: 'İspanya', + FR: 'Fransa', + GB: 'İngiltere', + IE: 'Irlanda', + IN: 'Hindistan', + IT: 'İtalya', + MA: 'Fas', + NL: 'Hollanda', + PL: 'Polanya', + PT: 'Portekiz', + RO: 'Romanya', + RU: 'Rusya', + SE: 'İsveç', + SG: 'Singapur', + SK: 'Slovakya', + US: 'Amerika Birleşik Devletleri', + }, + country: 'Lütfen geçerli bir posta kodu giriniz içinde %s', + default: 'Lütfen geçerli bir posta kodu giriniz', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/ua_UA.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ua_UA.js new file mode 100644 index 0000000..5a6700d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/ua_UA.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Будь ласка, введіть коректний рядок base64', + }, + between: { + default: 'Будь ласка, введіть значення від %s до %s', + notInclusive: 'Будь ласка, введіть значення між %s і %s', + }, + bic: { + default: 'Будь ласка, введіть правильний номер BIC', + }, + callback: { + default: 'Будь ласка, введіть коректне значення', + }, + choice: { + between: 'Будь ласка, виберіть %s - %s опцій', + default: 'Будь ласка, введіть коректне значення', + less: 'Будь ласка, виберіть хоча б %s опцій', + more: 'Будь ласка, виберіть не більше %s опцій', + }, + color: { + default: 'Будь ласка, введіть правильний номер кольору', + }, + creditCard: { + default: 'Будь ласка, введіть правильний номер кредитної картки', + }, + cusip: { + default: 'Будь ласка, введіть правильний номер CUSIP', + }, + date: { + default: 'Будь ласка, введіть правильну дату', + max: 'Будь ласка, введіть дату перед %s', + min: 'Будь ласка, введіть дату після %s', + range: 'Будь ласка, введіть дату у діапазоні %s - %s', + }, + different: { + default: 'Будь ласка, введіть інше значення', + }, + digits: { + default: 'Будь ласка, введіть тільки цифри', + }, + ean: { + default: 'Будь ласка, введіть правильний номер EAN', + }, + ein: { + default: 'Будь ласка, введіть правильний номер EIN', + }, + emailAddress: { + default: 'Будь ласка, введіть правильну адресу e-mail', + }, + file: { + default: 'Будь ласка, виберіть файл', + }, + greaterThan: { + default: 'Будь ласка, введіть значення більше або рівне %s', + notInclusive: 'Будь ласка, введіть значення більше %s', + }, + grid: { + default: 'Будь ласка, введіть правильний номер GRId', + }, + hex: { + default: 'Будь ласка, введіть правильний шістнадцятковий(16) номер', + }, + iban: { + countries: { + AD: 'Андоррі', + AE: "Об'єднаних Арабських Еміратах", + AL: 'Албанії', + AO: 'Анголі', + AT: 'Австрії', + AZ: 'Азербайджані', + BA: 'Боснії і Герцеговині', + BE: 'Бельгії', + BF: 'Буркіна-Фасо', + BG: 'Болгарії', + BH: 'Бахрейні', + BI: 'Бурунді', + BJ: 'Беніні', + BR: 'Бразилії', + CH: 'Швейцарії', + CI: "Кот-д'Івуарі", + CM: 'Камеруні', + CR: 'Коста-Ріці', + CV: 'Кабо-Верде', + CY: 'Кіпрі', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + DO: 'Домінікані', + DZ: 'Алжирі', + EE: 'Естонії', + ES: 'Іспанії', + FI: 'Фінляндії', + FO: 'Фарерських островах', + FR: 'Франції', + GB: 'Великобританії', + GE: 'Грузії', + GI: 'Гібралтарі', + GL: 'Гренландії', + GR: 'Греції', + GT: 'Гватемалі', + HR: 'Хорватії', + HU: 'Венгрії', + IE: 'Ірландії', + IL: 'Ізраїлі', + IR: 'Ірані', + IS: 'Ісландії', + IT: 'Італії', + JO: 'Йорданії', + KW: 'Кувейті', + KZ: 'Казахстані', + LB: 'Лівані', + LI: 'Ліхтенштейні', + LT: 'Литві', + LU: 'Люксембурзі', + LV: 'Латвії', + MC: 'Монако', + MD: 'Молдові', + ME: 'Чорногорії', + MG: 'Мадагаскарі', + MK: 'Македонії', + ML: 'Малі', + MR: 'Мавританії', + MT: 'Мальті', + MU: 'Маврикії', + MZ: 'Мозамбіку', + NL: 'Нідерландах', + NO: 'Норвегії', + PK: 'Пакистані', + PL: 'Польщі', + PS: 'Палестині', + PT: 'Португалії', + QA: 'Катарі', + RO: 'Румунії', + RS: 'Сербії', + SA: 'Саудівської Аравії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + SM: 'Сан-Марино', + SN: 'Сенегалі', + TL: 'східний Тимор', + TN: 'Тунісі', + TR: 'Туреччині', + VG: 'Британських Віргінських островах', + XK: 'Республіка Косово', + }, + country: 'Будь ласка, введіть правильний номер IBAN в %s', + default: 'Будь ласка, введіть правильний номер IBAN', + }, + id: { + countries: { + BA: 'Боснії і Герцеговині', + BG: 'Болгарії', + BR: 'Бразилії', + CH: 'Швейцарії', + CL: 'Чилі', + CN: 'Китаї', + CZ: 'Чехії', + DK: 'Данії', + EE: 'Естонії', + ES: 'Іспанії', + FI: 'Фінляндії', + HR: 'Хорватії', + IE: 'Ірландії', + IS: 'Ісландії', + LT: 'Литві', + LV: 'Латвії', + ME: 'Чорногорії', + MK: 'Македонії', + NL: 'Нідерландах', + PL: 'Польщі', + RO: 'Румунії', + RS: 'Сербії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + SM: 'Сан-Марино', + TH: 'Таїланді', + TR: 'Туреччині', + ZA: 'ПАР', + }, + country: 'Будь ласка, введіть правильний ідентифікаційний номер в %s', + default: 'Будь ласка, введіть правильний ідентифікаційний номер', + }, + identical: { + default: 'Будь ласка, введіть таке ж значення', + }, + imei: { + default: 'Будь ласка, введіть правильний номер IMEI', + }, + imo: { + default: 'Будь ласка, введіть правильний номер IMO', + }, + integer: { + default: 'Будь ласка, введіть правильне ціле значення', + }, + ip: { + default: 'Будь ласка, введіть правильну IP-адресу', + ipv4: 'Будь ласка введіть правильну IPv4-адресу', + ipv6: 'Будь ласка введіть правильну IPv6-адресу', + }, + isbn: { + default: 'Будь ласка, введіть правильний номер ISBN', + }, + isin: { + default: 'Будь ласка, введіть правильний номер ISIN', + }, + ismn: { + default: 'Будь ласка, введіть правильний номер ISMN', + }, + issn: { + default: 'Будь ласка, введіть правильний номер ISSN', + }, + lessThan: { + default: 'Будь ласка, введіть значення менше або рівне %s', + notInclusive: 'Будь ласка, введіть значення менше ніж %s', + }, + mac: { + default: 'Будь ласка, введіть правильну MAC-адресу', + }, + meid: { + default: 'Будь ласка, введіть правильний номер MEID', + }, + notEmpty: { + default: 'Будь ласка, введіть значення', + }, + numeric: { + default: 'Будь ласка, введіть коректне дійсне число', + }, + phone: { + countries: { + AE: "Об'єднаних Арабських Еміратах", + BG: 'Болгарії', + BR: 'Бразилії', + CN: 'Китаї', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + ES: 'Іспанії', + FR: 'Франції', + GB: 'Великобританії', + IN: 'Індія', + MA: 'Марокко', + NL: 'Нідерландах', + PK: 'Пакистані', + RO: 'Румунії', + RU: 'Росії', + SK: 'Словаччині', + TH: 'Таїланді', + US: 'США', + VE: 'Венесуелі', + }, + country: 'Будь ласка, введіть правильний номер телефону в %s', + default: 'Будь ласка, введіть правильний номер телефону', + }, + promise: { + default: 'Будь ласка, введіть коректне значення', + }, + regexp: { + default: 'Будь ласка, введіть значення відповідне до шаблону', + }, + remote: { + default: 'Будь ласка, введіть правильне значення', + }, + rtn: { + default: 'Будь ласка, введіть правильний номер RTN', + }, + sedol: { + default: 'Будь ласка, введіть правильний номер SEDOL', + }, + siren: { + default: 'Будь ласка, введіть правильний номер SIREN', + }, + siret: { + default: 'Будь ласка, введіть правильний номер SIRET', + }, + step: { + default: 'Будь ласка, введіть правильний крок %s', + }, + stringCase: { + default: 'Будь ласка, вводите тільки малі літери', + upper: 'Будь ласка, вводите тільки заголовні букви', + }, + stringLength: { + between: 'Будь ласка, введіть рядок довжиною від %s до %s символів', + default: 'Будь ласка, введіть значення коректної довжини', + less: 'Будь ласка, введіть не більше %s символів', + more: 'Будь ласка, введіть, не менше %s символів', + }, + uri: { + default: 'Будь ласка, введіть правильний URI', + }, + uuid: { + default: 'Будь ласка, введіть правильний номер UUID', + version: 'Будь ласка, введіть правильний номер UUID версії %s', + }, + vat: { + countries: { + AT: 'Австрії', + BE: 'Бельгії', + BG: 'Болгарії', + BR: 'Бразилії', + CH: 'Швейцарії', + CY: 'Кіпрі', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + EE: 'Естонії', + EL: 'Греції', + ES: 'Іспанії', + FI: 'Фінляндії', + FR: 'Франції', + GB: 'Великобританії', + GR: 'Греції', + HR: 'Хорватії', + HU: 'Венгрії', + IE: 'Ірландії', + IS: 'Ісландії', + IT: 'Італії', + LT: 'Литві', + LU: 'Люксембургі', + LV: 'Латвії', + MT: 'Мальті', + NL: 'Нідерландах', + NO: 'Норвегії', + PL: 'Польщі', + PT: 'Португалії', + RO: 'Румунії', + RS: 'Сербії', + RU: 'Росії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + VE: 'Венесуелі', + ZA: 'ПАР', + }, + country: 'Будь ласка, введіть правильний номер VAT в %s', + default: 'Будь ласка, введіть правильний номер VAT', + }, + vin: { + default: 'Будь ласка, введіть правильний номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрії', + BG: 'Болгарії', + BR: 'Бразилії', + CA: 'Канаді', + CH: 'Швейцарії', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + ES: 'Іспанії', + FR: 'Франції', + GB: 'Великобританії', + IE: 'Ірландії', + IN: 'Індія', + IT: 'Італії', + MA: 'Марокко', + NL: 'Нідерландах', + PL: 'Польщі', + PT: 'Португалії', + RO: 'Румунії', + RU: 'Росії', + SE: 'Швеції', + SG: 'Сингапурі', + SK: 'Словаччині', + US: 'США', + }, + country: 'Будь ласка, введіть правильний поштовий індекс в %s', + default: 'Будь ласка, введіть правильний поштовий індекс', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/vi_VN.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/vi_VN.js new file mode 100644 index 0000000..439a625 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/vi_VN.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: 'Vui lòng nhập chuỗi mã hoá base64 hợp lệ', + }, + between: { + default: 'Vui lòng nhập giá trị nằm giữa %s và %s', + notInclusive: 'Vui lòng nhập giá trị nằm giữa %s và %s', + }, + bic: { + default: 'Vui lòng nhập số BIC hợp lệ', + }, + callback: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + choice: { + between: 'Vui lòng chọn %s - %s lựa chọn', + default: 'Vui lòng nhập giá trị hợp lệ', + less: 'Vui lòng chọn ít nhất %s lựa chọn', + more: 'Vui lòng chọn nhiều nhất %s lựa chọn', + }, + color: { + default: 'Vui lòng nhập mã màu hợp lệ', + }, + creditCard: { + default: 'Vui lòng nhập số thẻ tín dụng hợp lệ', + }, + cusip: { + default: 'Vui lòng nhập số CUSIP hợp lệ', + }, + date: { + default: 'Vui lòng nhập ngày hợp lệ', + max: 'Vui lòng nhập ngày trước %s', + min: 'Vui lòng nhập ngày sau %s', + range: 'Vui lòng nhập ngày trong khoảng %s - %s', + }, + different: { + default: 'Vui lòng nhập một giá trị khác', + }, + digits: { + default: 'Vui lòng chỉ nhập số', + }, + ean: { + default: 'Vui lòng nhập số EAN hợp lệ', + }, + ein: { + default: 'Vui lòng nhập số EIN hợp lệ', + }, + emailAddress: { + default: 'Vui lòng nhập địa chỉ email hợp lệ', + }, + file: { + default: 'Vui lòng chọn file hợp lệ', + }, + greaterThan: { + default: 'Vui lòng nhập giá trị lớn hơn hoặc bằng %s', + notInclusive: 'Vui lòng nhập giá trị lớn hơn %s', + }, + grid: { + default: 'Vui lòng nhập số GRId hợp lệ', + }, + hex: { + default: 'Vui lòng nhập số hexa hợp lệ', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Tiểu vương quốc Ả Rập thống nhất', + AL: 'Albania', + AO: 'Angola', + AT: 'Áo', + AZ: 'Azerbaijan', + BA: 'Bosnia và Herzegovina', + BE: 'Bỉ', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CI: 'Bờ Biển Ngà', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Síp', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + DO: 'Dominican', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + FO: 'Đảo Faroe', + FR: 'Pháp', + GB: 'Vương quốc Anh', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Hy Lạp', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Ý', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Hà Lan', + NO: 'Na Uy', + PK: 'Pakistan', + PL: 'Ba Lan', + PS: 'Palestine', + PT: 'Bồ Đào Nha', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Ả Rập Xê Út', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Đông Timor', + TN: 'Tunisia', + TR: 'Thổ Nhĩ Kỳ', + VG: 'Đảo Virgin, Anh quốc', + XK: 'Kosovo', + }, + country: 'Vui lòng nhập mã IBAN hợp lệ của %s', + default: 'Vui lòng nhập số IBAN hợp lệ', + }, + id: { + countries: { + BA: 'Bosnia và Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CL: 'Chi Lê', + CN: 'Trung Quốc', + CZ: 'Séc', + DK: 'Đan Mạch', + EE: 'Estonia', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + HR: 'Croatia', + IE: 'Ireland', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Hà Lan', + PL: 'Ba Lan', + RO: 'Romania', + RS: 'Serbia', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thái Lan', + TR: 'Thổ Nhĩ Kỳ', + ZA: 'Nam Phi', + }, + country: 'Vui lòng nhập mã ID hợp lệ của %s', + default: 'Vui lòng nhập mã ID hợp lệ', + }, + identical: { + default: 'Vui lòng nhập cùng giá trị', + }, + imei: { + default: 'Vui lòng nhập số IMEI hợp lệ', + }, + imo: { + default: 'Vui lòng nhập số IMO hợp lệ', + }, + integer: { + default: 'Vui lòng nhập số hợp lệ', + }, + ip: { + default: 'Vui lòng nhập địa chỉ IP hợp lệ', + ipv4: 'Vui lòng nhập địa chỉ IPv4 hợp lệ', + ipv6: 'Vui lòng nhập địa chỉ IPv6 hợp lệ', + }, + isbn: { + default: 'Vui lòng nhập số ISBN hợp lệ', + }, + isin: { + default: 'Vui lòng nhập số ISIN hợp lệ', + }, + ismn: { + default: 'Vui lòng nhập số ISMN hợp lệ', + }, + issn: { + default: 'Vui lòng nhập số ISSN hợp lệ', + }, + lessThan: { + default: 'Vui lòng nhập giá trị nhỏ hơn hoặc bằng %s', + notInclusive: 'Vui lòng nhập giá trị nhỏ hơn %s', + }, + mac: { + default: 'Vui lòng nhập địa chỉ MAC hợp lệ', + }, + meid: { + default: 'Vui lòng nhập số MEID hợp lệ', + }, + notEmpty: { + default: 'Vui lòng nhập giá trị', + }, + numeric: { + default: 'Vui lòng nhập số hợp lệ', + }, + phone: { + countries: { + AE: 'Tiểu vương quốc Ả Rập thống nhất', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'Trung Quốc', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + ES: 'Tây Ban Nha', + FR: 'Pháp', + GB: 'Vương quốc Anh', + IN: 'Ấn Độ', + MA: 'Maroc', + NL: 'Hà Lan', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Nga', + SK: 'Slovakia', + TH: 'Thái Lan', + US: 'Mỹ', + VE: 'Venezuela', + }, + country: 'Vui lòng nhập số điện thoại hợp lệ của %s', + default: 'Vui lòng nhập số điện thoại hợp lệ', + }, + promise: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + regexp: { + default: 'Vui lòng nhập giá trị thích hợp với biểu mẫu', + }, + remote: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + rtn: { + default: 'Vui lòng nhập số RTN hợp lệ', + }, + sedol: { + default: 'Vui lòng nhập số SEDOL hợp lệ', + }, + siren: { + default: 'Vui lòng nhập số Siren hợp lệ', + }, + siret: { + default: 'Vui lòng nhập số Siret hợp lệ', + }, + step: { + default: 'Vui lòng nhập bước nhảy của %s', + }, + stringCase: { + default: 'Vui lòng nhập ký tự thường', + upper: 'Vui lòng nhập ký tự in hoa', + }, + stringLength: { + between: 'Vui lòng nhập giá trị có độ dài trong khoảng %s và %s ký tự', + default: 'Vui lòng nhập giá trị có độ dài hợp lệ', + less: 'Vui lòng nhập ít hơn %s ký tự', + more: 'Vui lòng nhập nhiều hơn %s ký tự', + }, + uri: { + default: 'Vui lòng nhập địa chỉ URI hợp lệ', + }, + uuid: { + default: 'Vui lòng nhập số UUID hợp lệ', + version: 'Vui lòng nhập số UUID phiên bản %s hợp lệ', + }, + vat: { + countries: { + AT: 'Áo', + BE: 'Bỉ', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CY: 'Síp', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + EE: 'Estonia', + EL: 'Hy Lạp', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + FR: 'Pháp', + GB: 'Vương quốc Anh', + GR: 'Hy Lạp', + HR: 'Croatia', + HU: 'Hungari', + IE: 'Ireland', + IS: 'Iceland', + IT: 'Ý', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Hà Lan', + NO: 'Na Uy', + PL: 'Ba Lan', + PT: 'Bồ Đào Nha', + RO: 'Romania', + RS: 'Serbia', + RU: 'Nga', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Nam Phi', + }, + country: 'Vui lòng nhập số VAT hợp lệ của %s', + default: 'Vui lòng nhập số VAT hợp lệ', + }, + vin: { + default: 'Vui lòng nhập số VIN hợp lệ', + }, + zipCode: { + countries: { + AT: 'Áo', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Canada', + CH: 'Thuỵ Sĩ', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + ES: 'Tây Ban Nha', + FR: 'Pháp', + GB: 'Vương quốc Anh', + IE: 'Ireland', + IN: 'Ấn Độ', + IT: 'Ý', + MA: 'Maroc', + NL: 'Hà Lan', + PL: 'Ba Lan', + PT: 'Bồ Đào Nha', + RO: 'Romania', + RU: 'Nga', + SE: 'Thuỵ Sĩ', + SG: 'Singapore', + SK: 'Slovakia', + US: 'Mỹ', + }, + country: 'Vui lòng nhập mã bưu điện hợp lệ của %s', + default: 'Vui lòng nhập mã bưu điện hợp lệ', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/zh_CN.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/zh_CN.js new file mode 100644 index 0000000..40f0712 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/zh_CN.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: '请输入有效的Base64编码', + }, + between: { + default: '请输入在 %s 和 %s 之间的数值', + notInclusive: '请输入在 %s 和 %s 之间(不含两端)的数值', + }, + bic: { + default: '请输入有效的BIC商品编码', + }, + callback: { + default: '请输入有效的值', + }, + choice: { + between: '请选择 %s 至 %s 个选项', + default: '请输入有效的值', + less: '请至少选中 %s 个选项', + more: '最多只能选中 %s 个选项', + }, + color: { + default: '请输入有效的颜色值', + }, + creditCard: { + default: '请输入有效的信用卡号码', + }, + cusip: { + default: '请输入有效的美国CUSIP代码', + }, + date: { + default: '请输入有效的日期', + max: '请输入 %s 或以前的日期', + min: '请输入 %s 或之后的日期', + range: '请输入 %s 和 %s 之间的日期', + }, + different: { + default: '请输入不同的值', + }, + digits: { + default: '请输入有效的数字', + }, + ean: { + default: '请输入有效的EAN商品编码', + }, + ein: { + default: '请输入有效的EIN商品编码', + }, + emailAddress: { + default: '请输入有效的邮件地址', + }, + file: { + default: '请选择有效的文件', + }, + greaterThan: { + default: '请输入大于等于 %s 的数值', + notInclusive: '请输入大于 %s 的数值', + }, + grid: { + default: '请输入有效的GRId编码', + }, + hex: { + default: '请输入有效的16进制数', + }, + iban: { + countries: { + AD: '安道​​尔', + AE: '阿联酋', + AL: '阿尔巴尼亚', + AO: '安哥拉', + AT: '奥地利', + AZ: '阿塞拜疆', + BA: '波斯尼亚和黑塞哥维那', + BE: '比利时', + BF: '布基纳法索', + BG: '保加利亚', + BH: '巴林', + BI: '布隆迪', + BJ: '贝宁', + BR: '巴西', + CH: '瑞士', + CI: '科特迪瓦', + CM: '喀麦隆', + CR: '哥斯达黎加', + CV: '佛得角', + CY: '塞浦路斯', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + DO: '多米尼加共和国', + DZ: '阿尔及利亚', + EE: '爱沙尼亚', + ES: '西班牙', + FI: '芬兰', + FO: '法罗群岛', + FR: '法国', + GB: '英国', + GE: '格鲁吉亚', + GI: '直布罗陀', + GL: '格陵兰岛', + GR: '希腊', + GT: '危地马拉', + HR: '克罗地亚', + HU: '匈牙利', + IE: '爱尔兰', + IL: '以色列', + IR: '伊朗', + IS: '冰岛', + IT: '意大利', + JO: '约旦', + KW: '科威特', + KZ: '哈萨克斯坦', + LB: '黎巴嫩', + LI: '列支敦士登', + LT: '立陶宛', + LU: '卢森堡', + LV: '拉脱维亚', + MC: '摩纳哥', + MD: '摩尔多瓦', + ME: '黑山', + MG: '马达加斯加', + MK: '马其顿', + ML: '马里', + MR: '毛里塔尼亚', + MT: '马耳他', + MU: '毛里求斯', + MZ: '莫桑比克', + NL: '荷兰', + NO: '挪威', + PK: '巴基斯坦', + PL: '波兰', + PS: '巴勒斯坦', + PT: '葡萄牙', + QA: '卡塔尔', + RO: '罗马尼亚', + RS: '塞尔维亚', + SA: '沙特阿拉伯', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + SM: '圣马力诺', + SN: '塞内加尔', + TL: '东帝汶', + TN: '突尼斯', + TR: '土耳其', + VG: '英属维尔京群岛', + XK: '科索沃共和国', + }, + country: '请输入有效的 %s 国家或地区的IBAN(国际银行账户)号码', + default: '请输入有效的IBAN(国际银行账户)号码', + }, + id: { + countries: { + BA: '波黑', + BG: '保加利亚', + BR: '巴西', + CH: '瑞士', + CL: '智利', + CN: '中国', + CZ: '捷克共和国', + DK: '丹麦', + EE: '爱沙尼亚', + ES: '西班牙', + FI: '芬兰', + HR: '克罗地亚', + IE: '爱尔兰', + IS: '冰岛', + LT: '立陶宛', + LV: '拉脱维亚', + ME: '黑山', + MK: '马其顿', + NL: '荷兰', + PL: '波兰', + RO: '罗马尼亚', + RS: '塞尔维亚', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + SM: '圣马力诺', + TH: '泰国', + TR: '土耳其', + ZA: '南非', + }, + country: '请输入有效的 %s 国家或地区的身份证件号码', + default: '请输入有效的身份证件号码', + }, + identical: { + default: '请输入相同的值', + }, + imei: { + default: '请输入有效的IMEI(手机串号)', + }, + imo: { + default: '请输入有效的国际海事组织(IMO)号码', + }, + integer: { + default: '请输入有效的整数值', + }, + ip: { + default: '请输入有效的IP地址', + ipv4: '请输入有效的IPv4地址', + ipv6: '请输入有效的IPv6地址', + }, + isbn: { + default: '请输入有效的ISBN(国际标准书号)', + }, + isin: { + default: '请输入有效的ISIN(国际证券编码)', + }, + ismn: { + default: '请输入有效的ISMN(印刷音乐作品编码)', + }, + issn: { + default: '请输入有效的ISSN(国际标准杂志书号)', + }, + lessThan: { + default: '请输入小于等于 %s 的数值', + notInclusive: '请输入小于 %s 的数值', + }, + mac: { + default: '请输入有效的MAC物理地址', + }, + meid: { + default: '请输入有效的MEID(移动设备识别码)', + }, + notEmpty: { + default: '请填写必填项目', + }, + numeric: { + default: '请输入有效的数值,允许小数', + }, + phone: { + countries: { + AE: '阿联酋', + BG: '保加利亚', + BR: '巴西', + CN: '中国', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + ES: '西班牙', + FR: '法国', + GB: '英国', + IN: '印度', + MA: '摩洛哥', + NL: '荷兰', + PK: '巴基斯坦', + RO: '罗马尼亚', + RU: '俄罗斯', + SK: '斯洛伐克', + TH: '泰国', + US: '美国', + VE: '委内瑞拉', + }, + country: '请输入有效的 %s 国家或地区的电话号码', + default: '请输入有效的电话号码', + }, + promise: { + default: '请输入有效的值', + }, + regexp: { + default: '请输入符合正则表达式限制的值', + }, + remote: { + default: '请输入有效的值', + }, + rtn: { + default: '请输入有效的RTN号码', + }, + sedol: { + default: '请输入有效的SEDOL代码', + }, + siren: { + default: '请输入有效的SIREN号码', + }, + siret: { + default: '请输入有效的SIRET号码', + }, + step: { + default: '请输入在基础值上,增加 %s 的整数倍的数值', + }, + stringCase: { + default: '只能输入小写字母', + upper: '只能输入大写字母', + }, + stringLength: { + between: '请输入 %s 至 %s 个字符', + default: '请输入符合长度限制的值', + less: '最多只能输入 %s 个字符', + more: '需要输入至少 %s 个字符', + }, + uri: { + default: '请输入一个有效的URL地址', + }, + uuid: { + default: '请输入有效的UUID', + version: '请输入版本 %s 的UUID', + }, + vat: { + countries: { + AT: '奥地利', + BE: '比利时', + BG: '保加利亚', + BR: '巴西', + CH: '瑞士', + CY: '塞浦路斯', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + EE: '爱沙尼亚', + EL: '希腊', + ES: '西班牙', + FI: '芬兰', + FR: '法语', + GB: '英国', + GR: '希腊', + HR: '克罗地亚', + HU: '匈牙利', + IE: '爱尔兰', + IS: '冰岛', + IT: '意大利', + LT: '立陶宛', + LU: '卢森堡', + LV: '拉脱维亚', + MT: '马耳他', + NL: '荷兰', + NO: '挪威', + PL: '波兰', + PT: '葡萄牙', + RO: '罗马尼亚', + RS: '塞尔维亚', + RU: '俄罗斯', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + VE: '委内瑞拉', + ZA: '南非', + }, + country: '请输入有效的 %s 国家或地区的VAT(税号)', + default: '请输入有效的VAT(税号)', + }, + vin: { + default: '请输入有效的VIN(美国车辆识别号码)', + }, + zipCode: { + countries: { + AT: '奥地利', + BG: '保加利亚', + BR: '巴西', + CA: '加拿大', + CH: '瑞士', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + ES: '西班牙', + FR: '法国', + GB: '英国', + IE: '爱尔兰', + IN: '印度', + IT: '意大利', + MA: '摩洛哥', + NL: '荷兰', + PL: '波兰', + PT: '葡萄牙', + RO: '罗马尼亚', + RU: '俄罗斯', + SE: '瑞典', + SG: '新加坡', + SK: '斯洛伐克', + US: '美国', + }, + country: '请输入有效的 %s 国家或地区的邮政编码', + default: '请输入有效的邮政编码', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/locales/zh_TW.js b/resources/assets/core/plugins/formvalidation/dist/amd/locales/zh_TW.js new file mode 100644 index 0000000..5a56396 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/locales/zh_TW.js @@ -0,0 +1,378 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + base64: { + default: '請輸入有效的Base64編碼', + }, + between: { + default: '請輸入不小於 %s 且不大於 %s 的值', + notInclusive: '請輸入不小於等於 %s 且不大於等於 %s 的值', + }, + bic: { + default: '請輸入有效的BIC商品編碼', + }, + callback: { + default: '請輸入有效的值', + }, + choice: { + between: '請選擇 %s 至 %s 個選項', + default: '請輸入有效的值', + less: '最少選擇 %s 個選項', + more: '最多選擇 %s 個選項', + }, + color: { + default: '請輸入有效的元色碼', + }, + creditCard: { + default: '請輸入有效的信用卡號碼', + }, + cusip: { + default: '請輸入有效的CUSIP(美國證券庫斯普)號碼', + }, + date: { + default: '請輸入有效的日期', + max: '請輸入 %s 或以前的日期', + min: '請輸入 %s 或之後的日期', + range: '請輸入 %s 至 %s 之間的日期', + }, + different: { + default: '請輸入不同的值', + }, + digits: { + default: '只能輸入數字', + }, + ean: { + default: '請輸入有效的EAN商品編碼', + }, + ein: { + default: '請輸入有效的EIN商品編碼', + }, + emailAddress: { + default: '請輸入有效的EMAIL', + }, + file: { + default: '請選擇有效的檔案', + }, + greaterThan: { + default: '請輸入大於等於 %s 的值', + notInclusive: '請輸入大於 %s 的值', + }, + grid: { + default: '請輸入有效的GRId編碼', + }, + hex: { + default: '請輸入有效的16位元碼', + }, + iban: { + countries: { + AD: '安道​​爾', + AE: '阿聯酋', + AL: '阿爾巴尼亞', + AO: '安哥拉', + AT: '奧地利', + AZ: '阿塞拜疆', + BA: '波斯尼亞和黑塞哥維那', + BE: '比利時', + BF: '布基納法索', + BG: '保加利亞', + BH: '巴林', + BI: '布隆迪', + BJ: '貝寧', + BR: '巴西', + CH: '瑞士', + CI: '象牙海岸', + CM: '喀麥隆', + CR: '哥斯達黎加', + CV: '佛得角', + CY: '塞浦路斯', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + DO: '多明尼加共和國', + DZ: '阿爾及利亞', + EE: '愛沙尼亞', + ES: '西班牙', + FI: '芬蘭', + FO: '法羅群島', + FR: '法國', + GB: '英國', + GE: '格魯吉亞', + GI: '直布羅陀', + GL: '格陵蘭島', + GR: '希臘', + GT: '危地馬拉', + HR: '克羅地亞', + HU: '匈牙利', + IE: '愛爾蘭', + IL: '以色列', + IR: '伊朗', + IS: '冰島', + IT: '意大利', + JO: '約旦', + KW: '科威特', + KZ: '哈薩克斯坦', + LB: '黎巴嫩', + LI: '列支敦士登', + LT: '立陶宛', + LU: '盧森堡', + LV: '拉脫維亞', + MC: '摩納哥', + MD: '摩爾多瓦', + ME: '蒙特內哥羅', + MG: '馬達加斯加', + MK: '馬其頓', + ML: '馬里', + MR: '毛里塔尼亞', + MT: '馬耳他', + MU: '毛里求斯', + MZ: '莫桑比克', + NL: '荷蘭', + NO: '挪威', + PK: '巴基斯坦', + PL: '波蘭', + PS: '巴勒斯坦', + PT: '葡萄牙', + QA: '卡塔爾', + RO: '羅馬尼亞', + RS: '塞爾維亞', + SA: '沙特阿拉伯', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + SM: '聖馬力諾', + SN: '塞內加爾', + TL: '東帝汶', + TN: '突尼斯', + TR: '土耳其', + VG: '英屬維爾京群島', + XK: '科索沃共和國', + }, + country: '請輸入有效的 %s 國家的IBAN(國際銀行賬戶)號碼', + default: '請輸入有效的IBAN(國際銀行賬戶)號碼', + }, + id: { + countries: { + BA: '波赫', + BG: '保加利亞', + BR: '巴西', + CH: '瑞士', + CL: '智利', + CN: '中國', + CZ: '捷克共和國', + DK: '丹麥', + EE: '愛沙尼亞', + ES: '西班牙', + FI: '芬蘭', + HR: '克羅地亞', + IE: '愛爾蘭', + IS: '冰島', + LT: '立陶宛', + LV: '拉脫維亞', + ME: '蒙特內哥羅', + MK: '馬其頓', + NL: '荷蘭', + PL: '波蘭', + RO: '羅馬尼亞', + RS: '塞爾維亞', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + SM: '聖馬力諾', + TH: '泰國', + TR: '土耳其', + ZA: '南非', + }, + country: '請輸入有效的 %s 身份證字號', + default: '請輸入有效的身份證字號', + }, + identical: { + default: '請輸入相同的值', + }, + imei: { + default: '請輸入有效的IMEI(手機序列號)', + }, + imo: { + default: '請輸入有效的國際海事組織(IMO)號碼', + }, + integer: { + default: '請輸入有效的整數', + }, + ip: { + default: '請輸入有效的IP位址', + ipv4: '請輸入有效的IPv4位址', + ipv6: '請輸入有效的IPv6位址', + }, + isbn: { + default: '請輸入有效的ISBN(國際標準書號)', + }, + isin: { + default: '請輸入有效的ISIN(國際證券號碼)', + }, + ismn: { + default: '請輸入有效的ISMN(國際標準音樂編號)', + }, + issn: { + default: '請輸入有效的ISSN(國際標準期刊號)', + }, + lessThan: { + default: '請輸入小於等於 %s 的值', + notInclusive: '請輸入小於 %s 的值', + }, + mac: { + default: '請輸入有效的MAC位址', + }, + meid: { + default: '請輸入有效的MEID(行動設備識別碼)', + }, + notEmpty: { + default: '請填寫必填欄位', + }, + numeric: { + default: '請輸入有效的數字(含浮點數)', + }, + phone: { + countries: { + AE: '阿聯酋', + BG: '保加利亞', + BR: '巴西', + CN: '中国', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + ES: '西班牙', + FR: '法國', + GB: '英國', + IN: '印度', + MA: '摩洛哥', + NL: '荷蘭', + PK: '巴基斯坦', + RO: '罗马尼亚', + RU: '俄羅斯', + SK: '斯洛伐克', + TH: '泰國', + US: '美國', + VE: '委内瑞拉', + }, + country: '請輸入有效的 %s 國家的電話號碼', + default: '請輸入有效的電話號碼', + }, + promise: { + default: '請輸入有效的值', + }, + regexp: { + default: '請輸入符合正規表示式所限制的值', + }, + remote: { + default: '請輸入有效的值', + }, + rtn: { + default: '請輸入有效的RTN號碼', + }, + sedol: { + default: '請輸入有效的SEDOL代碼', + }, + siren: { + default: '請輸入有效的SIREN號碼', + }, + siret: { + default: '請輸入有效的SIRET號碼', + }, + step: { + default: '請輸入 %s 的倍數', + }, + stringCase: { + default: '只能輸入小寫字母', + upper: '只能輸入大寫字母', + }, + stringLength: { + between: '請輸入 %s 至 %s 個字', + default: '請輸入符合長度限制的值', + less: '請輸入小於 %s 個字', + more: '請輸入大於 %s 個字', + }, + uri: { + default: '請輸入一個有效的鏈接', + }, + uuid: { + default: '請輸入有效的UUID', + version: '請輸入版本 %s 的UUID', + }, + vat: { + countries: { + AT: '奧地利', + BE: '比利時', + BG: '保加利亞', + BR: '巴西', + CH: '瑞士', + CY: '塞浦路斯', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + EE: '愛沙尼亞', + EL: '希臘', + ES: '西班牙', + FI: '芬蘭', + FR: '法語', + GB: '英國', + GR: '希臘', + HR: '克羅地亞', + HU: '匈牙利', + IE: '愛爾蘭', + IS: '冰島', + IT: '意大利', + LT: '立陶宛', + LU: '盧森堡', + LV: '拉脫維亞', + MT: '馬耳他', + NL: '荷蘭', + NO: '挪威', + PL: '波蘭', + PT: '葡萄牙', + RO: '羅馬尼亞', + RS: '塞爾維亞', + RU: '俄羅斯', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + VE: '委内瑞拉', + ZA: '南非', + }, + country: '請輸入有效的 %s 國家的VAT(增值税)', + default: '請輸入有效的VAT(增值税)', + }, + vin: { + default: '請輸入有效的VIN(車輛識別號碼)', + }, + zipCode: { + countries: { + AT: '奧地利', + BG: '保加利亞', + BR: '巴西', + CA: '加拿大', + CH: '瑞士', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + ES: '西班牙', + FR: '法國', + GB: '英國', + IE: '愛爾蘭', + IN: '印度', + IT: '意大利', + MA: '摩洛哥', + NL: '荷蘭', + PL: '波蘭', + PT: '葡萄牙', + RO: '羅馬尼亞', + RU: '俄羅斯', + SE: '瑞典', + SG: '新加坡', + SK: '斯洛伐克', + US: '美國', + }, + country: '請輸入有效的 %s 國家的郵政編碼', + default: '請輸入有效的郵政編碼', + }, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Alias.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Alias.js new file mode 100644 index 0000000..94940d2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Alias.js @@ -0,0 +1,39 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Alias = (function (_super) { + __extends(Alias, _super); + function Alias(opts) { + var _this = _super.call(this, opts) || this; + _this.opts = opts || {}; + _this.validatorNameFilter = _this.getValidatorName.bind(_this); + return _this; + } + Alias.prototype.install = function () { + this.core.registerFilter('validator-name', this.validatorNameFilter); + }; + Alias.prototype.uninstall = function () { + this.core.deregisterFilter('validator-name', this.validatorNameFilter); + }; + Alias.prototype.getValidatorName = function (alias, _field) { + return this.opts[alias] || alias; + }; + return Alias; + }(Plugin_1.default)); + exports.default = Alias; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Aria.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Aria.js new file mode 100644 index 0000000..5798ddf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Aria.js @@ -0,0 +1,80 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Aria = (function (_super) { + __extends(Aria, _super); + function Aria() { + var _this = _super.call(this, {}) || this; + _this.elementValidatedHandler = _this.onElementValidated.bind(_this); + _this.fieldValidHandler = _this.onFieldValid.bind(_this); + _this.fieldInvalidHandler = _this.onFieldInvalid.bind(_this); + _this.messageDisplayedHandler = _this.onMessageDisplayed.bind(_this); + return _this; + } + Aria.prototype.install = function () { + this.core + .on('core.field.valid', this.fieldValidHandler) + .on('core.field.invalid', this.fieldInvalidHandler) + .on('core.element.validated', this.elementValidatedHandler) + .on('plugins.message.displayed', this.messageDisplayedHandler); + }; + Aria.prototype.uninstall = function () { + this.core + .off('core.field.valid', this.fieldValidHandler) + .off('core.field.invalid', this.fieldInvalidHandler) + .off('core.element.validated', this.elementValidatedHandler) + .off('plugins.message.displayed', this.messageDisplayedHandler); + }; + Aria.prototype.onElementValidated = function (e) { + if (e.valid) { + e.element.setAttribute('aria-invalid', 'false'); + e.element.removeAttribute('aria-describedby'); + } + }; + Aria.prototype.onFieldValid = function (field) { + var elements = this.core.getElements(field); + if (elements) { + elements.forEach(function (ele) { + ele.setAttribute('aria-invalid', 'false'); + ele.removeAttribute('aria-describedby'); + }); + } + }; + Aria.prototype.onFieldInvalid = function (field) { + var elements = this.core.getElements(field); + if (elements) { + elements.forEach(function (ele) { return ele.setAttribute('aria-invalid', 'true'); }); + } + }; + Aria.prototype.onMessageDisplayed = function (e) { + e.messageElement.setAttribute('role', 'alert'); + e.messageElement.setAttribute('aria-hidden', 'false'); + var elements = this.core.getElements(e.field); + var index = elements.indexOf(e.element); + var id = "js-fv-" + e.field + "-" + index + "-" + Date.now() + "-message"; + e.messageElement.setAttribute('id', id); + e.element.setAttribute('aria-describedby', id); + var type = e.element.getAttribute('type'); + if ('radio' === type || 'checkbox' === type) { + elements.forEach(function (ele) { return ele.setAttribute('aria-describedby', id); }); + } + }; + return Aria; + }(Plugin_1.default)); + exports.default = Aria; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/AutoFocus.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/AutoFocus.js new file mode 100644 index 0000000..8ce5aac --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/AutoFocus.js @@ -0,0 +1,60 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin", "./FieldStatus"], function (require, exports, Plugin_1, FieldStatus_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var AutoFocus = (function (_super) { + __extends(AutoFocus, _super); + function AutoFocus(opts) { + var _this = _super.call(this, opts) || this; + _this.fieldStatusPluginName = '___autoFocusFieldStatus'; + _this.opts = Object.assign({}, { + onPrefocus: function () { }, + }, opts); + _this.invalidFormHandler = _this.onFormInvalid.bind(_this); + return _this; + } + AutoFocus.prototype.install = function () { + this.core + .on('core.form.invalid', this.invalidFormHandler) + .registerPlugin(this.fieldStatusPluginName, new FieldStatus_1.default()); + }; + AutoFocus.prototype.uninstall = function () { + this.core.off('core.form.invalid', this.invalidFormHandler).deregisterPlugin(this.fieldStatusPluginName); + }; + AutoFocus.prototype.onFormInvalid = function () { + var plugin = this.core.getPlugin(this.fieldStatusPluginName); + var statuses = plugin.getStatuses(); + var invalidFields = Object.keys(this.core.getFields()).filter(function (key) { return statuses.get(key) === 'Invalid'; }); + if (invalidFields.length > 0) { + var firstInvalidField = invalidFields[0]; + var elements = this.core.getElements(firstInvalidField); + if (elements.length > 0) { + var firstElement = elements[0]; + var e = { + firstElement: firstElement, + field: firstInvalidField, + }; + this.core.emit('plugins.autofocus.prefocus', e); + this.opts.onPrefocus(e); + firstElement.focus(); + } + } + }; + return AutoFocus; + }(Plugin_1.default)); + exports.default = AutoFocus; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bootstrap.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bootstrap.js new file mode 100644 index 0000000..f217153 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bootstrap.js @@ -0,0 +1,58 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "../utils/hasClass", "./Framework"], function (require, exports, classSet_1, hasClass_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Bootstrap = (function (_super) { + __extends(Bootstrap, _super); + function Bootstrap(opts) { + return _super.call(this, Object.assign({}, { + eleInvalidClass: 'is-invalid', + eleValidClass: 'is-valid', + formClass: 'fv-plugins-bootstrap', + messageClass: 'fv-help-block', + rowInvalidClass: 'has-danger', + rowPattern: /^(.*)(col|offset)(-(sm|md|lg|xl))*-[0-9]+(.*)$/, + rowSelector: '.form-group', + rowValidClass: 'has-success', + }, opts)) || this; + } + Bootstrap.prototype.onIconPlaced = function (e) { + var parent = e.element.parentElement; + if ((0, hasClass_1.default)(parent, 'input-group')) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + } + var type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + var grandParent = parent.parentElement; + if ((0, hasClass_1.default)(parent, 'form-check')) { + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + } + else if ((0, hasClass_1.default)(parent.parentElement, 'form-check')) { + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + grandParent.parentElement.insertBefore(e.iconElement, grandParent.nextSibling); + } + } + }; + return Bootstrap; + }(Framework_1.default)); + exports.default = Bootstrap; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bootstrap3.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bootstrap3.js new file mode 100644 index 0000000..dcf9b81 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bootstrap3.js @@ -0,0 +1,54 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "../utils/hasClass", "./Framework"], function (require, exports, classSet_1, hasClass_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Bootstrap3 = (function (_super) { + __extends(Bootstrap3, _super); + function Bootstrap3(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-bootstrap3', + messageClass: 'help-block', + rowClasses: 'has-feedback', + rowInvalidClass: 'has-error', + rowPattern: /^(.*)(col|offset)-(xs|sm|md|lg)-[0-9]+(.*)$/, + rowSelector: '.form-group', + rowValidClass: 'has-success', + }, opts)) || this; + } + Bootstrap3.prototype.onIconPlaced = function (e) { + (0, classSet_1.default)(e.iconElement, { + 'form-control-feedback': true, + }); + var parent = e.element.parentElement; + if ((0, hasClass_1.default)(parent, 'input-group')) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + } + var type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + var grandParent = parent.parentElement; + if ((0, hasClass_1.default)(parent, type)) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + } + else if ((0, hasClass_1.default)(parent.parentElement, type)) { + grandParent.parentElement.insertBefore(e.iconElement, grandParent.nextSibling); + } + } + }; + return Bootstrap3; + }(Framework_1.default)); + exports.default = Bootstrap3; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bootstrap5.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bootstrap5.js new file mode 100644 index 0000000..b6ebd9d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bootstrap5.js @@ -0,0 +1,107 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "../utils/hasClass", "./Framework"], function (require, exports, classSet_1, hasClass_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Bootstrap5 = (function (_super) { + __extends(Bootstrap5, _super); + function Bootstrap5(opts) { + var _this = _super.call(this, Object.assign({}, { + eleInvalidClass: 'is-invalid', + eleValidClass: 'is-valid', + formClass: 'fv-plugins-bootstrap5', + rowInvalidClass: 'fv-plugins-bootstrap5-row-invalid', + rowPattern: /^(.*)(col|offset)(-(sm|md|lg|xl))*-[0-9]+(.*)$/, + rowSelector: '.row', + rowValidClass: 'fv-plugins-bootstrap5-row-valid', + }, opts)) || this; + _this.eleValidatedHandler = _this.handleElementValidated.bind(_this); + return _this; + } + Bootstrap5.prototype.install = function () { + _super.prototype.install.call(this); + this.core.on('core.element.validated', this.eleValidatedHandler); + }; + Bootstrap5.prototype.uninstall = function () { + _super.prototype.install.call(this); + this.core.off('core.element.validated', this.eleValidatedHandler); + }; + Bootstrap5.prototype.handleElementValidated = function (e) { + var type = e.element.getAttribute('type'); + if (('checkbox' === type || 'radio' === type) && + e.elements.length > 1 && + (0, hasClass_1.default)(e.element, 'form-check-input')) { + var inputParent = e.element.parentElement; + if ((0, hasClass_1.default)(inputParent, 'form-check') && (0, hasClass_1.default)(inputParent, 'form-check-inline')) { + (0, classSet_1.default)(inputParent, { + 'is-invalid': !e.valid, + 'is-valid': e.valid, + }); + } + } + }; + Bootstrap5.prototype.onIconPlaced = function (e) { + (0, classSet_1.default)(e.element, { + 'fv-plugins-icon-input': true, + }); + var parent = e.element.parentElement; + if ((0, hasClass_1.default)(parent, 'input-group')) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + if (e.element.nextElementSibling && (0, hasClass_1.default)(e.element.nextElementSibling, 'input-group-text')) { + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-input-group': true, + }); + } + } + var type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + var grandParent = parent.parentElement; + if ((0, hasClass_1.default)(parent, 'form-check')) { + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + } + else if ((0, hasClass_1.default)(parent.parentElement, 'form-check')) { + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + grandParent.parentElement.insertBefore(e.iconElement, grandParent.nextSibling); + } + } + }; + Bootstrap5.prototype.onMessagePlaced = function (e) { + e.messageElement.classList.add('invalid-feedback'); + var inputParent = e.element.parentElement; + if ((0, hasClass_1.default)(inputParent, 'input-group')) { + inputParent.appendChild(e.messageElement); + (0, classSet_1.default)(inputParent, { + 'has-validation': true, + }); + return; + } + var type = e.element.getAttribute('type'); + if (('checkbox' === type || 'radio' === type) && + (0, hasClass_1.default)(e.element, 'form-check-input') && + (0, hasClass_1.default)(inputParent, 'form-check') && + !(0, hasClass_1.default)(inputParent, 'form-check-inline')) { + e.elements[e.elements.length - 1].parentElement.appendChild(e.messageElement); + } + }; + return Bootstrap5; + }(Framework_1.default)); + exports.default = Bootstrap5; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bulma.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bulma.js new file mode 100644 index 0000000..951af51 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Bulma.js @@ -0,0 +1,59 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "./Framework"], function (require, exports, classSet_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Bulma = (function (_super) { + __extends(Bulma, _super); + function Bulma(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-bulma', + messageClass: 'help is-danger', + rowInvalidClass: 'fv-has-error', + rowPattern: /^.*field.*$/, + rowSelector: '.field', + rowValidClass: 'fv-has-success', + }, opts)) || this; + } + Bulma.prototype.onIconPlaced = function (e) { + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon': false, + }); + var span = document.createElement('span'); + span.setAttribute('class', 'icon is-small is-right'); + e.iconElement.parentNode.insertBefore(span, e.iconElement); + span.appendChild(e.iconElement); + var type = e.element.getAttribute('type'); + var parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + (0, classSet_1.default)(parent.parentElement, { + 'has-icons-right': true, + }); + (0, classSet_1.default)(span, { + 'fv-plugins-icon-check': true, + }); + parent.parentElement.insertBefore(span, parent.nextSibling); + } + else { + (0, classSet_1.default)(parent, { + 'has-icons-right': true, + }); + } + }; + return Bulma; + }(Framework_1.default)); + exports.default = Bulma; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Declarative.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Declarative.js new file mode 100644 index 0000000..ba5ef9f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Declarative.js @@ -0,0 +1,235 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Declarative = (function (_super) { + __extends(Declarative, _super); + function Declarative(opts) { + var _this = _super.call(this, opts) || this; + _this.addedFields = new Map(); + _this.opts = Object.assign({}, { + html5Input: false, + pluginPrefix: 'data-fvp-', + prefix: 'data-fv-', + }, opts); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_this); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_this); + return _this; + } + Declarative.prototype.install = function () { + var _this = this; + this.parsePlugins(); + var opts = this.parseOptions(); + Object.keys(opts).forEach(function (field) { + if (!_this.addedFields.has(field)) { + _this.addedFields.set(field, true); + } + _this.core.addField(field, opts[field]); + }); + this.core.on('core.field.added', this.fieldAddedHandler).on('core.field.removed', this.fieldRemovedHandler); + }; + Declarative.prototype.uninstall = function () { + this.addedFields.clear(); + this.core.off('core.field.added', this.fieldAddedHandler).off('core.field.removed', this.fieldRemovedHandler); + }; + Declarative.prototype.onFieldAdded = function (e) { + var _this = this; + var elements = e.elements; + if (!elements || elements.length === 0 || this.addedFields.has(e.field)) { + return; + } + this.addedFields.set(e.field, true); + elements.forEach(function (ele) { + var declarativeOptions = _this.parseElement(ele); + if (!_this.isEmptyOption(declarativeOptions)) { + var mergeOptions = { + selector: e.options.selector, + validators: Object.assign({}, e.options.validators || {}, declarativeOptions.validators), + }; + _this.core.setFieldOptions(e.field, mergeOptions); + } + }); + }; + Declarative.prototype.onFieldRemoved = function (e) { + if (e.field && this.addedFields.has(e.field)) { + this.addedFields.delete(e.field); + } + }; + Declarative.prototype.parseOptions = function () { + var _this = this; + var prefix = this.opts.prefix; + var opts = {}; + var fields = this.core.getFields(); + var form = this.core.getFormElement(); + var elements = [].slice.call(form.querySelectorAll("[name], [" + prefix + "field]")); + elements.forEach(function (ele) { + var validators = _this.parseElement(ele); + if (!_this.isEmptyOption(validators)) { + var field = ele.getAttribute('name') || ele.getAttribute(prefix + "field"); + opts[field] = Object.assign({}, opts[field], validators); + } + }); + Object.keys(opts).forEach(function (field) { + Object.keys(opts[field].validators).forEach(function (v) { + opts[field].validators[v].enabled = opts[field].validators[v].enabled || false; + if (fields[field] && fields[field].validators && fields[field].validators[v]) { + Object.assign(opts[field].validators[v], fields[field].validators[v]); + } + }); + }); + return Object.assign({}, fields, opts); + }; + Declarative.prototype.createPluginInstance = function (clazz, opts) { + var arr = clazz.split('.'); + var fn = window || this; + for (var i = 0, len = arr.length; i < len; i++) { + fn = fn[arr[i]]; + } + if (typeof fn !== 'function') { + throw new Error("the plugin " + clazz + " doesn't exist"); + } + return new fn(opts); + }; + Declarative.prototype.parsePlugins = function () { + var _a; + var _this = this; + var form = this.core.getFormElement(); + var reg = new RegExp("^" + this.opts.pluginPrefix + "([a-z0-9-]+)(___)*([a-z0-9-]+)*$"); + var numAttributes = form.attributes.length; + var plugins = {}; + for (var i = 0; i < numAttributes; i++) { + var name_1 = form.attributes[i].name; + var value = form.attributes[i].value; + var items = reg.exec(name_1); + if (items && items.length === 4) { + var pluginName = this.toCamelCase(items[1]); + plugins[pluginName] = Object.assign({}, items[3] ? (_a = {}, _a[this.toCamelCase(items[3])] = value, _a) : { enabled: '' === value || 'true' === value }, plugins[pluginName]); + } + } + Object.keys(plugins).forEach(function (pluginName) { + var opts = plugins[pluginName]; + var enabled = opts['enabled']; + var clazz = opts['class']; + if (enabled && clazz) { + delete opts['enabled']; + delete opts['clazz']; + var p = _this.createPluginInstance(clazz, opts); + _this.core.registerPlugin(pluginName, p); + } + }); + }; + Declarative.prototype.isEmptyOption = function (opts) { + var validators = opts.validators; + return Object.keys(validators).length === 0 && validators.constructor === Object; + }; + Declarative.prototype.parseElement = function (ele) { + var _a; + var reg = new RegExp("^" + this.opts.prefix + "([a-z0-9-]+)(___)*([a-z0-9-]+)*$"); + var numAttributes = ele.attributes.length; + var opts = {}; + var type = ele.getAttribute('type'); + for (var i = 0; i < numAttributes; i++) { + var name_2 = ele.attributes[i].name; + var value = ele.attributes[i].value; + if (this.opts.html5Input) { + switch (true) { + case 'minlength' === name_2: + opts['stringLength'] = Object.assign({}, { + enabled: true, + min: parseInt(value, 10), + }, opts['stringLength']); + break; + case 'maxlength' === name_2: + opts['stringLength'] = Object.assign({}, { + enabled: true, + max: parseInt(value, 10), + }, opts['stringLength']); + break; + case 'pattern' === name_2: + opts['regexp'] = Object.assign({}, { + enabled: true, + regexp: value, + }, opts['regexp']); + break; + case 'required' === name_2: + opts['notEmpty'] = Object.assign({}, { + enabled: true, + }, opts['notEmpty']); + break; + case 'type' === name_2 && 'color' === value: + opts['color'] = Object.assign({}, { + enabled: true, + type: 'hex', + }, opts['color']); + break; + case 'type' === name_2 && 'email' === value: + opts['emailAddress'] = Object.assign({}, { + enabled: true, + }, opts['emailAddress']); + break; + case 'type' === name_2 && 'url' === value: + opts['uri'] = Object.assign({}, { + enabled: true, + }, opts['uri']); + break; + case 'type' === name_2 && 'range' === value: + opts['between'] = Object.assign({}, { + enabled: true, + max: parseFloat(ele.getAttribute('max')), + min: parseFloat(ele.getAttribute('min')), + }, opts['between']); + break; + case 'min' === name_2 && type !== 'date' && type !== 'range': + opts['greaterThan'] = Object.assign({}, { + enabled: true, + min: parseFloat(value), + }, opts['greaterThan']); + break; + case 'max' === name_2 && type !== 'date' && type !== 'range': + opts['lessThan'] = Object.assign({}, { + enabled: true, + max: parseFloat(value), + }, opts['lessThan']); + break; + default: + break; + } + } + var items = reg.exec(name_2); + if (items && items.length === 4) { + var v = this.toCamelCase(items[1]); + opts[v] = Object.assign({}, items[3] + ? (_a = {}, + _a[this.toCamelCase(items[3])] = this.normalizeValue(value), + _a) : { enabled: '' === value || 'true' === value }, opts[v]); + } + } + return { validators: opts }; + }; + Declarative.prototype.normalizeValue = function (value) { + return value === 'true' ? true : value === 'false' ? false : value; + }; + Declarative.prototype.toUpperCase = function (input) { + return input.charAt(1).toUpperCase(); + }; + Declarative.prototype.toCamelCase = function (input) { + return input.replace(/-./g, this.toUpperCase); + }; + return Declarative; + }(Plugin_1.default)); + exports.default = Declarative; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/DefaultSubmit.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/DefaultSubmit.js new file mode 100644 index 0000000..4a1ad05 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/DefaultSubmit.js @@ -0,0 +1,45 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var DefaultSubmit = (function (_super) { + __extends(DefaultSubmit, _super); + function DefaultSubmit() { + var _this = _super.call(this, {}) || this; + _this.onValidHandler = _this.onFormValid.bind(_this); + return _this; + } + DefaultSubmit.prototype.install = function () { + var form = this.core.getFormElement(); + if (form.querySelectorAll('[type="submit"][name="submit"]').length) { + throw new Error('Do not use `submit` for the name attribute of submit button'); + } + this.core.on('core.form.valid', this.onValidHandler); + }; + DefaultSubmit.prototype.uninstall = function () { + this.core.off('core.form.valid', this.onValidHandler); + }; + DefaultSubmit.prototype.onFormValid = function () { + var form = this.core.getFormElement(); + if (form instanceof HTMLFormElement) { + form.submit(); + } + }; + return DefaultSubmit; + }(Plugin_1.default)); + exports.default = DefaultSubmit; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Dependency.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Dependency.js new file mode 100644 index 0000000..534ff37 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Dependency.js @@ -0,0 +1,48 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Dependency = (function (_super) { + __extends(Dependency, _super); + function Dependency(opts) { + var _this = _super.call(this, opts) || this; + _this.opts = opts || {}; + _this.triggerExecutedHandler = _this.onTriggerExecuted.bind(_this); + return _this; + } + Dependency.prototype.install = function () { + this.core.on('plugins.trigger.executed', this.triggerExecutedHandler); + }; + Dependency.prototype.uninstall = function () { + this.core.off('plugins.trigger.executed', this.triggerExecutedHandler); + }; + Dependency.prototype.onTriggerExecuted = function (e) { + if (this.opts[e.field]) { + var dependencies = this.opts[e.field].split(' '); + for (var _i = 0, dependencies_1 = dependencies; _i < dependencies_1.length; _i++) { + var d = dependencies_1[_i]; + var dependentField = d.trim(); + if (this.opts[dependentField]) { + this.core.revalidateField(dependentField); + } + } + } + }; + return Dependency; + }(Plugin_1.default)); + exports.default = Dependency; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Excluded.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Excluded.js new file mode 100644 index 0000000..6676766 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Excluded.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Excluded = (function (_super) { + __extends(Excluded, _super); + function Excluded(opts) { + var _this = _super.call(this, opts) || this; + _this.opts = Object.assign({}, { excluded: Excluded.defaultIgnore }, opts); + _this.ignoreValidationFilter = _this.ignoreValidation.bind(_this); + return _this; + } + Excluded.defaultIgnore = function (_field, element, _elements) { + var isVisible = !!(element.offsetWidth || element.offsetHeight || element.getClientRects().length); + var disabled = element.getAttribute('disabled'); + return disabled === '' || disabled === 'disabled' || element.getAttribute('type') === 'hidden' || !isVisible; + }; + Excluded.prototype.install = function () { + this.core.registerFilter('element-ignored', this.ignoreValidationFilter); + }; + Excluded.prototype.uninstall = function () { + this.core.deregisterFilter('element-ignored', this.ignoreValidationFilter); + }; + Excluded.prototype.ignoreValidation = function (field, element, elements) { + return this.opts.excluded.apply(this, [field, element, elements]); + }; + return Excluded; + }(Plugin_1.default)); + exports.default = Excluded; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/FieldStatus.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/FieldStatus.js new file mode 100644 index 0000000..4b83316 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/FieldStatus.js @@ -0,0 +1,95 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var FieldStatus = (function (_super) { + __extends(FieldStatus, _super); + function FieldStatus(opts) { + var _this = _super.call(this, opts) || this; + _this.statuses = new Map(); + _this.opts = Object.assign({}, { + onStatusChanged: function () { }, + }, opts); + _this.elementValidatingHandler = _this.onElementValidating.bind(_this); + _this.elementValidatedHandler = _this.onElementValidated.bind(_this); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_this); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_this); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_this); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_this); + return _this; + } + FieldStatus.prototype.install = function () { + this.core + .on('core.element.validating', this.elementValidatingHandler) + .on('core.element.validated', this.elementValidatedHandler) + .on('core.element.notvalidated', this.elementNotValidatedHandler) + .on('core.element.ignored', this.elementIgnoredHandler) + .on('core.field.added', this.fieldAddedHandler) + .on('core.field.removed', this.fieldRemovedHandler); + }; + FieldStatus.prototype.uninstall = function () { + this.statuses.clear(); + this.core + .off('core.element.validating', this.elementValidatingHandler) + .off('core.element.validated', this.elementValidatedHandler) + .off('core.element.notvalidated', this.elementNotValidatedHandler) + .off('core.element.ignored', this.elementIgnoredHandler) + .off('core.field.added', this.fieldAddedHandler) + .off('core.field.removed', this.fieldRemovedHandler); + }; + FieldStatus.prototype.areFieldsValid = function () { + return Array.from(this.statuses.values()).every(function (value) { + return value === 'Valid' || value === 'NotValidated' || value === 'Ignored'; + }); + }; + FieldStatus.prototype.getStatuses = function () { + return this.statuses; + }; + FieldStatus.prototype.onFieldAdded = function (e) { + this.statuses.set(e.field, 'NotValidated'); + }; + FieldStatus.prototype.onFieldRemoved = function (e) { + if (this.statuses.has(e.field)) { + this.statuses.delete(e.field); + } + this.opts.onStatusChanged(this.areFieldsValid()); + }; + FieldStatus.prototype.onElementValidating = function (e) { + this.statuses.set(e.field, 'Validating'); + this.opts.onStatusChanged(false); + }; + FieldStatus.prototype.onElementValidated = function (e) { + this.statuses.set(e.field, e.valid ? 'Valid' : 'Invalid'); + if (e.valid) { + this.opts.onStatusChanged(this.areFieldsValid()); + } + else { + this.opts.onStatusChanged(false); + } + }; + FieldStatus.prototype.onElementNotValidated = function (e) { + this.statuses.set(e.field, 'NotValidated'); + this.opts.onStatusChanged(false); + }; + FieldStatus.prototype.onElementIgnored = function (e) { + this.statuses.set(e.field, 'Ignored'); + this.opts.onStatusChanged(this.areFieldsValid()); + }; + return FieldStatus; + }(Plugin_1.default)); + exports.default = FieldStatus; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Foundation.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Foundation.js new file mode 100644 index 0000000..d591fdb --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Foundation.js @@ -0,0 +1,49 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "./Framework"], function (require, exports, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Foundation = (function (_super) { + __extends(Foundation, _super); + function Foundation(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-foundation', + messageClass: 'form-error', + rowInvalidClass: 'fv-row__error', + rowPattern: /^.*((small|medium|large)-[0-9]+)\s.*(cell).*$/, + rowSelector: '.grid-x', + rowValidClass: 'fv-row__success', + }, opts)) || this; + } + Foundation.prototype.onIconPlaced = function (e) { + var type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + var nextEle = e.iconElement.nextSibling; + if ('LABEL' === nextEle.nodeName) { + nextEle.parentNode.insertBefore(e.iconElement, nextEle.nextSibling); + } + else if ('#text' === nextEle.nodeName) { + var next = nextEle.nextSibling; + if (next && 'LABEL' === next.nodeName) { + next.parentNode.insertBefore(e.iconElement, next.nextSibling); + } + } + } + }; + return Foundation; + }(Framework_1.default)); + exports.default = Foundation; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Framework.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Framework.js new file mode 100644 index 0000000..b6741a0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Framework.js @@ -0,0 +1,236 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin", "../utils/classSet", "../utils/closest", "./Message"], function (require, exports, Plugin_1, classSet_1, closest_1, Message_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Framework = (function (_super) { + __extends(Framework, _super); + function Framework(opts) { + var _this = _super.call(this, opts) || this; + _this.results = new Map(); + _this.containers = new Map(); + _this.opts = Object.assign({}, { + defaultMessageContainer: true, + eleInvalidClass: '', + eleValidClass: '', + rowClasses: '', + rowValidatingClass: '', + }, opts); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_this); + _this.elementValidatingHandler = _this.onElementValidating.bind(_this); + _this.elementValidatedHandler = _this.onElementValidated.bind(_this); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_this); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_this); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_this); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_this); + _this.messagePlacedHandler = _this.onMessagePlaced.bind(_this); + return _this; + } + Framework.prototype.install = function () { + var _a; + var _this = this; + (0, classSet_1.default)(this.core.getFormElement(), (_a = {}, + _a[this.opts.formClass] = true, + _a['fv-plugins-framework'] = true, + _a)); + this.core + .on('core.element.ignored', this.elementIgnoredHandler) + .on('core.element.validating', this.elementValidatingHandler) + .on('core.element.validated', this.elementValidatedHandler) + .on('core.element.notvalidated', this.elementNotValidatedHandler) + .on('plugins.icon.placed', this.iconPlacedHandler) + .on('core.field.added', this.fieldAddedHandler) + .on('core.field.removed', this.fieldRemovedHandler); + if (this.opts.defaultMessageContainer) { + this.core.registerPlugin('___frameworkMessage', new Message_1.default({ + clazz: this.opts.messageClass, + container: function (field, element) { + var selector = 'string' === typeof _this.opts.rowSelector + ? _this.opts.rowSelector + : _this.opts.rowSelector(field, element); + var groupEle = (0, closest_1.default)(element, selector); + return Message_1.default.getClosestContainer(element, groupEle, _this.opts.rowPattern); + }, + })); + this.core.on('plugins.message.placed', this.messagePlacedHandler); + } + }; + Framework.prototype.uninstall = function () { + var _a; + this.results.clear(); + this.containers.clear(); + (0, classSet_1.default)(this.core.getFormElement(), (_a = {}, + _a[this.opts.formClass] = false, + _a['fv-plugins-framework'] = false, + _a)); + this.core + .off('core.element.ignored', this.elementIgnoredHandler) + .off('core.element.validating', this.elementValidatingHandler) + .off('core.element.validated', this.elementValidatedHandler) + .off('core.element.notvalidated', this.elementNotValidatedHandler) + .off('plugins.icon.placed', this.iconPlacedHandler) + .off('core.field.added', this.fieldAddedHandler) + .off('core.field.removed', this.fieldRemovedHandler); + if (this.opts.defaultMessageContainer) { + this.core.off('plugins.message.placed', this.messagePlacedHandler); + } + }; + Framework.prototype.onIconPlaced = function (_e) { }; + Framework.prototype.onMessagePlaced = function (_e) { }; + Framework.prototype.onFieldAdded = function (e) { + var _this = this; + var elements = e.elements; + if (elements) { + elements.forEach(function (ele) { + var _a; + var groupEle = _this.containers.get(ele); + if (groupEle) { + (0, classSet_1.default)(groupEle, (_a = {}, + _a[_this.opts.rowInvalidClass] = false, + _a[_this.opts.rowValidatingClass] = false, + _a[_this.opts.rowValidClass] = false, + _a['fv-plugins-icon-container'] = false, + _a)); + _this.containers.delete(ele); + } + }); + this.prepareFieldContainer(e.field, elements); + } + }; + Framework.prototype.onFieldRemoved = function (e) { + var _this = this; + e.elements.forEach(function (ele) { + var _a; + var groupEle = _this.containers.get(ele); + if (groupEle) { + (0, classSet_1.default)(groupEle, (_a = {}, + _a[_this.opts.rowInvalidClass] = false, + _a[_this.opts.rowValidatingClass] = false, + _a[_this.opts.rowValidClass] = false, + _a)); + } + }); + }; + Framework.prototype.prepareFieldContainer = function (field, elements) { + var _this = this; + if (elements.length) { + var type = elements[0].getAttribute('type'); + if ('radio' === type || 'checkbox' === type) { + this.prepareElementContainer(field, elements[0]); + } + else { + elements.forEach(function (ele) { return _this.prepareElementContainer(field, ele); }); + } + } + }; + Framework.prototype.prepareElementContainer = function (field, element) { + var _a; + var selector = 'string' === typeof this.opts.rowSelector ? this.opts.rowSelector : this.opts.rowSelector(field, element); + var groupEle = (0, closest_1.default)(element, selector); + if (groupEle !== element) { + (0, classSet_1.default)(groupEle, (_a = {}, + _a[this.opts.rowClasses] = true, + _a['fv-plugins-icon-container'] = true, + _a)); + this.containers.set(element, groupEle); + } + }; + Framework.prototype.onElementValidating = function (e) { + var _a; + var elements = e.elements; + var type = e.element.getAttribute('type'); + var element = 'radio' === type || 'checkbox' === type ? elements[0] : e.element; + var groupEle = this.containers.get(element); + if (groupEle) { + (0, classSet_1.default)(groupEle, (_a = {}, + _a[this.opts.rowInvalidClass] = false, + _a[this.opts.rowValidatingClass] = true, + _a[this.opts.rowValidClass] = false, + _a)); + } + }; + Framework.prototype.onElementNotValidated = function (e) { + this.removeClasses(e.element, e.elements); + }; + Framework.prototype.onElementIgnored = function (e) { + this.removeClasses(e.element, e.elements); + }; + Framework.prototype.removeClasses = function (element, elements) { + var _a; + var _this = this; + var type = element.getAttribute('type'); + var ele = 'radio' === type || 'checkbox' === type ? elements[0] : element; + elements.forEach(function (ele) { + var _a; + (0, classSet_1.default)(ele, (_a = {}, + _a[_this.opts.eleValidClass] = false, + _a[_this.opts.eleInvalidClass] = false, + _a)); + }); + var groupEle = this.containers.get(ele); + if (groupEle) { + (0, classSet_1.default)(groupEle, (_a = {}, + _a[this.opts.rowInvalidClass] = false, + _a[this.opts.rowValidatingClass] = false, + _a[this.opts.rowValidClass] = false, + _a)); + } + }; + Framework.prototype.onElementValidated = function (e) { + var _a, _b; + var _this = this; + var elements = e.elements; + var type = e.element.getAttribute('type'); + var element = 'radio' === type || 'checkbox' === type ? elements[0] : e.element; + elements.forEach(function (ele) { + var _a; + (0, classSet_1.default)(ele, (_a = {}, + _a[_this.opts.eleValidClass] = e.valid, + _a[_this.opts.eleInvalidClass] = !e.valid, + _a)); + }); + var groupEle = this.containers.get(element); + if (groupEle) { + if (!e.valid) { + this.results.set(element, false); + (0, classSet_1.default)(groupEle, (_a = {}, + _a[this.opts.rowInvalidClass] = true, + _a[this.opts.rowValidatingClass] = false, + _a[this.opts.rowValidClass] = false, + _a)); + } + else { + this.results.delete(element); + var isValid_1 = true; + this.containers.forEach(function (value, key) { + if (value === groupEle && _this.results.get(key) === false) { + isValid_1 = false; + } + }); + if (isValid_1) { + (0, classSet_1.default)(groupEle, (_b = {}, + _b[this.opts.rowInvalidClass] = false, + _b[this.opts.rowValidatingClass] = false, + _b[this.opts.rowValidClass] = true, + _b)); + } + } + } + }; + return Framework; + }(Plugin_1.default)); + exports.default = Framework; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Icon.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Icon.js new file mode 100644 index 0000000..87ba584 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Icon.js @@ -0,0 +1,182 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin", "../utils/classSet"], function (require, exports, Plugin_1, classSet_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Icon = (function (_super) { + __extends(Icon, _super); + function Icon(opts) { + var _this = _super.call(this, opts) || this; + _this.icons = new Map(); + _this.opts = Object.assign({}, { + invalid: 'fv-plugins-icon--invalid', + onPlaced: function () { }, + onSet: function () { }, + valid: 'fv-plugins-icon--valid', + validating: 'fv-plugins-icon--validating', + }, opts); + _this.elementValidatingHandler = _this.onElementValidating.bind(_this); + _this.elementValidatedHandler = _this.onElementValidated.bind(_this); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_this); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_this); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_this); + return _this; + } + Icon.prototype.install = function () { + this.core + .on('core.element.validating', this.elementValidatingHandler) + .on('core.element.validated', this.elementValidatedHandler) + .on('core.element.notvalidated', this.elementNotValidatedHandler) + .on('core.element.ignored', this.elementIgnoredHandler) + .on('core.field.added', this.fieldAddedHandler); + }; + Icon.prototype.uninstall = function () { + this.icons.forEach(function (icon) { return icon.parentNode.removeChild(icon); }); + this.icons.clear(); + this.core + .off('core.element.validating', this.elementValidatingHandler) + .off('core.element.validated', this.elementValidatedHandler) + .off('core.element.notvalidated', this.elementNotValidatedHandler) + .off('core.element.ignored', this.elementIgnoredHandler) + .off('core.field.added', this.fieldAddedHandler); + }; + Icon.prototype.onFieldAdded = function (e) { + var _this = this; + var elements = e.elements; + if (elements) { + elements.forEach(function (ele) { + var icon = _this.icons.get(ele); + if (icon) { + icon.parentNode.removeChild(icon); + _this.icons.delete(ele); + } + }); + this.prepareFieldIcon(e.field, elements); + } + }; + Icon.prototype.prepareFieldIcon = function (field, elements) { + var _this = this; + if (elements.length) { + var type = elements[0].getAttribute('type'); + if ('radio' === type || 'checkbox' === type) { + this.prepareElementIcon(field, elements[0]); + } + else { + elements.forEach(function (ele) { return _this.prepareElementIcon(field, ele); }); + } + } + }; + Icon.prototype.prepareElementIcon = function (field, ele) { + var i = document.createElement('i'); + i.setAttribute('data-field', field); + ele.parentNode.insertBefore(i, ele.nextSibling); + (0, classSet_1.default)(i, { + 'fv-plugins-icon': true, + }); + var e = { + classes: { + invalid: this.opts.invalid, + valid: this.opts.valid, + validating: this.opts.validating, + }, + element: ele, + field: field, + iconElement: i, + }; + this.core.emit('plugins.icon.placed', e); + this.opts.onPlaced(e); + this.icons.set(ele, i); + }; + Icon.prototype.onElementValidating = function (e) { + var _a; + var icon = this.setClasses(e.field, e.element, e.elements, (_a = {}, + _a[this.opts.invalid] = false, + _a[this.opts.valid] = false, + _a[this.opts.validating] = true, + _a)); + var evt = { + element: e.element, + field: e.field, + iconElement: icon, + status: 'Validating', + }; + this.core.emit('plugins.icon.set', evt); + this.opts.onSet(evt); + }; + Icon.prototype.onElementValidated = function (e) { + var _a; + var icon = this.setClasses(e.field, e.element, e.elements, (_a = {}, + _a[this.opts.invalid] = !e.valid, + _a[this.opts.valid] = e.valid, + _a[this.opts.validating] = false, + _a)); + var evt = { + element: e.element, + field: e.field, + iconElement: icon, + status: e.valid ? 'Valid' : 'Invalid', + }; + this.core.emit('plugins.icon.set', evt); + this.opts.onSet(evt); + }; + Icon.prototype.onElementNotValidated = function (e) { + var _a; + var icon = this.setClasses(e.field, e.element, e.elements, (_a = {}, + _a[this.opts.invalid] = false, + _a[this.opts.valid] = false, + _a[this.opts.validating] = false, + _a)); + var evt = { + element: e.element, + field: e.field, + iconElement: icon, + status: 'NotValidated', + }; + this.core.emit('plugins.icon.set', evt); + this.opts.onSet(evt); + }; + Icon.prototype.onElementIgnored = function (e) { + var _a; + var icon = this.setClasses(e.field, e.element, e.elements, (_a = {}, + _a[this.opts.invalid] = false, + _a[this.opts.valid] = false, + _a[this.opts.validating] = false, + _a)); + var evt = { + element: e.element, + field: e.field, + iconElement: icon, + status: 'Ignored', + }; + this.core.emit('plugins.icon.set', evt); + this.opts.onSet(evt); + }; + Icon.prototype.setClasses = function (field, element, elements, classes) { + var type = element.getAttribute('type'); + var ele = 'radio' === type || 'checkbox' === type ? elements[0] : element; + if (this.icons.has(ele)) { + var icon = this.icons.get(ele); + (0, classSet_1.default)(icon, classes); + return icon; + } + else { + return null; + } + }; + return Icon; + }(Plugin_1.default)); + exports.default = Icon; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/InternationalTelephoneInput.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/InternationalTelephoneInput.js new file mode 100644 index 0000000..d418b41 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/InternationalTelephoneInput.js @@ -0,0 +1,88 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var InternationalTelephoneInput = (function (_super) { + __extends(InternationalTelephoneInput, _super); + function InternationalTelephoneInput(opts) { + var _this = _super.call(this, opts) || this; + _this.intlTelInstances = new Map(); + _this.countryChangeHandler = new Map(); + _this.fieldElements = new Map(); + _this.opts = Object.assign({}, { + autoPlaceholder: 'polite', + utilsScript: '', + }, opts); + _this.validatePhoneNumber = _this.checkPhoneNumber.bind(_this); + _this.fields = typeof _this.opts.field === 'string' ? _this.opts.field.split(',') : _this.opts.field; + return _this; + } + InternationalTelephoneInput.prototype.install = function () { + var _this = this; + this.core.registerValidator(InternationalTelephoneInput.INT_TEL_VALIDATOR, this.validatePhoneNumber); + this.fields.forEach(function (field) { + var _a; + _this.core.addField(field, { + validators: (_a = {}, + _a[InternationalTelephoneInput.INT_TEL_VALIDATOR] = { + message: _this.opts.message, + }, + _a), + }); + var ele = _this.core.getElements(field)[0]; + var handler = function () { return _this.core.revalidateField(field); }; + ele.addEventListener('countrychange', handler); + _this.countryChangeHandler.set(field, handler); + _this.fieldElements.set(field, ele); + _this.intlTelInstances.set(field, intlTelInput(ele, _this.opts)); + }); + }; + InternationalTelephoneInput.prototype.uninstall = function () { + var _this = this; + this.fields.forEach(function (field) { + var handler = _this.countryChangeHandler.get(field); + var ele = _this.fieldElements.get(field); + var intlTel = _this.intlTelInstances.get(field); + if (handler && ele && intlTel) { + ele.removeEventListener('countrychange', handler); + _this.core.disableValidator(field, InternationalTelephoneInput.INT_TEL_VALIDATOR); + intlTel.destroy(); + } + }); + }; + InternationalTelephoneInput.prototype.checkPhoneNumber = function () { + var _this = this; + return { + validate: function (input) { + var value = input.value; + var intlTel = _this.intlTelInstances.get(input.field); + if (value === '' || !intlTel) { + return { + valid: true, + }; + } + return { + valid: intlTel.isValidNumber(), + }; + }, + }; + }; + InternationalTelephoneInput.INT_TEL_VALIDATOR = '___InternationalTelephoneInputValidator'; + return InternationalTelephoneInput; + }(Plugin_1.default)); + exports.default = InternationalTelephoneInput; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/J.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/J.js new file mode 100644 index 0000000..e09f1d1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/J.js @@ -0,0 +1,23 @@ +define(["require", "exports", "jquery", "../core/Core"], function (require, exports, jquery_1, Core_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var version = jquery_1.default.fn.jquery.split(' ')[0].split('.'); + if ((+version[0] < 2 && +version[1] < 9) || (+version[0] === 1 && +version[1] === 9 && +version[2] < 1)) { + throw new Error('The J plugin requires jQuery version 1.9.1 or higher'); + } + jquery_1.default.fn['formValidation'] = function (options) { + var params = arguments; + return this.each(function () { + var $this = (0, jquery_1.default)(this); + var data = $this.data('formValidation'); + var opts = 'object' === typeof options && options; + if (!data) { + data = (0, Core_1.default)(this, opts); + $this.data('formValidation', data).data('FormValidation', data); + } + if ('string' === typeof options) { + data[options].apply(data, Array.prototype.slice.call(params, 1)); + } + }); + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/L10n.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/L10n.js new file mode 100644 index 0000000..071827f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/L10n.js @@ -0,0 +1,49 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var L10n = (function (_super) { + __extends(L10n, _super); + function L10n(opts) { + var _this = _super.call(this, opts) || this; + _this.messageFilter = _this.getMessage.bind(_this); + return _this; + } + L10n.prototype.install = function () { + this.core.registerFilter('validator-message', this.messageFilter); + }; + L10n.prototype.uninstall = function () { + this.core.deregisterFilter('validator-message', this.messageFilter); + }; + L10n.prototype.getMessage = function (locale, field, validator) { + if (this.opts[field] && this.opts[field][validator]) { + var message = this.opts[field][validator]; + var messageType = typeof message; + if ('object' === messageType && message[locale]) { + return message[locale]; + } + else if ('function' === messageType) { + var result = message.apply(this, [field, validator]); + return result && result[locale] ? result[locale] : ''; + } + } + return ''; + }; + return L10n; + }(Plugin_1.default)); + exports.default = L10n; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Mailgun.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Mailgun.js new file mode 100644 index 0000000..cf1d6e9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Mailgun.js @@ -0,0 +1,66 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin", "./Alias"], function (require, exports, Plugin_1, Alias_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Mailgun = (function (_super) { + __extends(Mailgun, _super); + function Mailgun(opts) { + var _this = _super.call(this, opts) || this; + _this.opts = Object.assign({}, { suggestion: false }, opts); + _this.messageDisplayedHandler = _this.onMessageDisplayed.bind(_this); + return _this; + } + Mailgun.prototype.install = function () { + if (this.opts.suggestion) { + this.core.on('plugins.message.displayed', this.messageDisplayedHandler); + } + var aliasOpts = { + mailgun: 'remote', + }; + this.core.registerPlugin('___mailgunAlias', new Alias_1.default(aliasOpts)).addField(this.opts.field, { + validators: { + mailgun: { + crossDomain: true, + data: { + api_key: this.opts.apiKey, + }, + headers: { + 'Content-Type': 'application/json', + }, + message: this.opts.message, + name: 'address', + url: 'https://api.mailgun.net/v3/address/validate', + validKey: 'is_valid', + }, + }, + }); + }; + Mailgun.prototype.uninstall = function () { + if (this.opts.suggestion) { + this.core.off('plugins.message.displayed', this.messageDisplayedHandler); + } + this.core.removeField(this.opts.field); + }; + Mailgun.prototype.onMessageDisplayed = function (e) { + if (e.field === this.opts.field && 'mailgun' === e.validator && e.meta && e.meta['did_you_mean']) { + e.messageElement.innerHTML = "Did you mean " + e.meta['did_you_mean'] + "?"; + } + }; + return Mailgun; + }(Plugin_1.default)); + exports.default = Mailgun; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/MandatoryIcon.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/MandatoryIcon.js new file mode 100644 index 0000000..ec50bd1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/MandatoryIcon.js @@ -0,0 +1,124 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin", "../utils/classSet"], function (require, exports, Plugin_1, classSet_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var MandatoryIcon = (function (_super) { + __extends(MandatoryIcon, _super); + function MandatoryIcon(opts) { + var _this = _super.call(this, opts) || this; + _this.removedIcons = { + Invalid: '', + NotValidated: '', + Valid: '', + Validating: '', + }; + _this.icons = new Map(); + _this.elementValidatingHandler = _this.onElementValidating.bind(_this); + _this.elementValidatedHandler = _this.onElementValidated.bind(_this); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_this); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_this); + _this.iconSetHandler = _this.onIconSet.bind(_this); + return _this; + } + MandatoryIcon.prototype.install = function () { + this.core + .on('core.element.validating', this.elementValidatingHandler) + .on('core.element.validated', this.elementValidatedHandler) + .on('core.element.notvalidated', this.elementNotValidatedHandler) + .on('plugins.icon.placed', this.iconPlacedHandler) + .on('plugins.icon.set', this.iconSetHandler); + }; + MandatoryIcon.prototype.uninstall = function () { + this.icons.clear(); + this.core + .off('core.element.validating', this.elementValidatingHandler) + .off('core.element.validated', this.elementValidatedHandler) + .off('core.element.notvalidated', this.elementNotValidatedHandler) + .off('plugins.icon.placed', this.iconPlacedHandler) + .off('plugins.icon.set', this.iconSetHandler); + }; + MandatoryIcon.prototype.onIconPlaced = function (e) { + var _a; + var _this = this; + var validators = this.core.getFields()[e.field].validators; + var elements = this.core.getElements(e.field); + if (validators && validators['notEmpty'] && validators['notEmpty'].enabled !== false && elements.length) { + this.icons.set(e.element, e.iconElement); + var eleType = elements[0].getAttribute('type'); + var type = !eleType ? '' : eleType.toLowerCase(); + var elementArray = 'checkbox' === type || 'radio' === type ? [elements[0]] : elements; + for (var _i = 0, elementArray_1 = elementArray; _i < elementArray_1.length; _i++) { + var ele = elementArray_1[_i]; + if (this.core.getElementValue(e.field, ele) === '') { + (0, classSet_1.default)(e.iconElement, (_a = {}, + _a[this.opts.icon] = true, + _a)); + } + } + } + this.iconClasses = e.classes; + var icons = this.opts.icon.split(' '); + var feedbackIcons = { + Invalid: this.iconClasses.invalid ? this.iconClasses.invalid.split(' ') : [], + Valid: this.iconClasses.valid ? this.iconClasses.valid.split(' ') : [], + Validating: this.iconClasses.validating ? this.iconClasses.validating.split(' ') : [], + }; + Object.keys(feedbackIcons).forEach(function (status) { + var classes = []; + for (var _i = 0, icons_1 = icons; _i < icons_1.length; _i++) { + var clazz = icons_1[_i]; + if (feedbackIcons[status].indexOf(clazz) === -1) { + classes.push(clazz); + } + } + _this.removedIcons[status] = classes.join(' '); + }); + }; + MandatoryIcon.prototype.onElementValidating = function (e) { + this.updateIconClasses(e.element, 'Validating'); + }; + MandatoryIcon.prototype.onElementValidated = function (e) { + this.updateIconClasses(e.element, e.valid ? 'Valid' : 'Invalid'); + }; + MandatoryIcon.prototype.onElementNotValidated = function (e) { + this.updateIconClasses(e.element, 'NotValidated'); + }; + MandatoryIcon.prototype.updateIconClasses = function (ele, status) { + var _a; + var icon = this.icons.get(ele); + if (icon && + this.iconClasses && + (this.iconClasses.valid || this.iconClasses.invalid || this.iconClasses.validating)) { + (0, classSet_1.default)(icon, (_a = {}, + _a[this.removedIcons[status]] = false, + _a[this.opts.icon] = false, + _a)); + } + }; + MandatoryIcon.prototype.onIconSet = function (e) { + var _a; + var icon = this.icons.get(e.element); + if (icon && e.status === 'NotValidated' && this.core.getElementValue(e.field, e.element) === '') { + (0, classSet_1.default)(icon, (_a = {}, + _a[this.opts.icon] = true, + _a)); + } + }; + return MandatoryIcon; + }(Plugin_1.default)); + exports.default = MandatoryIcon; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Materialize.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Materialize.js new file mode 100644 index 0000000..d65569a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Materialize.js @@ -0,0 +1,46 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "./Framework"], function (require, exports, classSet_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Materialize = (function (_super) { + __extends(Materialize, _super); + function Materialize(opts) { + return _super.call(this, Object.assign({}, { + eleInvalidClass: 'validate invalid', + eleValidClass: 'validate valid', + formClass: 'fv-plugins-materialize', + messageClass: 'helper-text', + rowInvalidClass: 'fv-invalid-row', + rowPattern: /^(.*)col(\s+)s[0-9]+(.*)$/, + rowSelector: '.row', + rowValidClass: 'fv-valid-row', + }, opts)) || this; + } + Materialize.prototype.onIconPlaced = function (e) { + var type = e.element.getAttribute('type'); + var parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + }; + return Materialize; + }(Framework_1.default)); + exports.default = Materialize; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Message.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Message.js new file mode 100644 index 0000000..bf9d0fa --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Message.js @@ -0,0 +1,207 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin", "../utils/classSet"], function (require, exports, Plugin_1, classSet_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Message = (function (_super) { + __extends(Message, _super); + function Message(opts) { + var _this = _super.call(this, opts) || this; + _this.messages = new Map(); + _this.defaultContainer = document.createElement('div'); + _this.opts = Object.assign({}, { + container: function (_field, _element) { return _this.defaultContainer; }, + }, opts); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_this); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_this); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_this); + _this.validatorValidatedHandler = _this.onValidatorValidated.bind(_this); + _this.validatorNotValidatedHandler = _this.onValidatorNotValidated.bind(_this); + return _this; + } + Message.getClosestContainer = function (element, upper, pattern) { + var ele = element; + while (ele) { + if (ele === upper) { + break; + } + ele = ele.parentElement; + if (pattern.test(ele.className)) { + break; + } + } + return ele; + }; + Message.prototype.install = function () { + this.core.getFormElement().appendChild(this.defaultContainer); + this.core + .on('core.element.ignored', this.elementIgnoredHandler) + .on('core.field.added', this.fieldAddedHandler) + .on('core.field.removed', this.fieldRemovedHandler) + .on('core.validator.validated', this.validatorValidatedHandler) + .on('core.validator.notvalidated', this.validatorNotValidatedHandler); + }; + Message.prototype.uninstall = function () { + this.core.getFormElement().removeChild(this.defaultContainer); + this.messages.forEach(function (message) { return message.parentNode.removeChild(message); }); + this.messages.clear(); + this.core + .off('core.element.ignored', this.elementIgnoredHandler) + .off('core.field.added', this.fieldAddedHandler) + .off('core.field.removed', this.fieldRemovedHandler) + .off('core.validator.validated', this.validatorValidatedHandler) + .off('core.validator.notvalidated', this.validatorNotValidatedHandler); + }; + Message.prototype.onFieldAdded = function (e) { + var _this = this; + var elements = e.elements; + if (elements) { + elements.forEach(function (ele) { + var msg = _this.messages.get(ele); + if (msg) { + msg.parentNode.removeChild(msg); + _this.messages.delete(ele); + } + }); + this.prepareFieldContainer(e.field, elements); + } + }; + Message.prototype.onFieldRemoved = function (e) { + var _this = this; + if (!e.elements.length || !e.field) { + return; + } + var type = e.elements[0].getAttribute('type'); + var elements = 'radio' === type || 'checkbox' === type ? [e.elements[0]] : e.elements; + elements.forEach(function (ele) { + if (_this.messages.has(ele)) { + var container = _this.messages.get(ele); + container.parentNode.removeChild(container); + _this.messages.delete(ele); + } + }); + }; + Message.prototype.prepareFieldContainer = function (field, elements) { + var _this = this; + if (elements.length) { + var type = elements[0].getAttribute('type'); + if ('radio' === type || 'checkbox' === type) { + this.prepareElementContainer(field, elements[0], elements); + } + else { + elements.forEach(function (ele) { return _this.prepareElementContainer(field, ele, elements); }); + } + } + }; + Message.prototype.prepareElementContainer = function (field, element, elements) { + var container; + if ('string' === typeof this.opts.container) { + var selector = '#' === this.opts.container.charAt(0) + ? "[id=\"" + this.opts.container.substring(1) + "\"]" + : this.opts.container; + container = this.core.getFormElement().querySelector(selector); + } + else { + container = this.opts.container(field, element); + } + var message = document.createElement('div'); + container.appendChild(message); + (0, classSet_1.default)(message, { + 'fv-plugins-message-container': true, + }); + this.core.emit('plugins.message.placed', { + element: element, + elements: elements, + field: field, + messageElement: message, + }); + this.messages.set(element, message); + }; + Message.prototype.getMessage = function (result) { + return typeof result.message === 'string' ? result.message : result.message[this.core.getLocale()]; + }; + Message.prototype.onValidatorValidated = function (e) { + var _a; + var elements = e.elements; + var type = e.element.getAttribute('type'); + var element = ('radio' === type || 'checkbox' === type) && elements.length > 0 ? elements[0] : e.element; + if (this.messages.has(element)) { + var container = this.messages.get(element); + var messageEle = container.querySelector("[data-field=\"" + e.field + "\"][data-validator=\"" + e.validator + "\"]"); + if (!messageEle && !e.result.valid) { + var ele = document.createElement('div'); + ele.innerHTML = this.getMessage(e.result); + ele.setAttribute('data-field', e.field); + ele.setAttribute('data-validator', e.validator); + if (this.opts.clazz) { + (0, classSet_1.default)(ele, (_a = {}, + _a[this.opts.clazz] = true, + _a)); + } + container.appendChild(ele); + this.core.emit('plugins.message.displayed', { + element: e.element, + field: e.field, + message: e.result.message, + messageElement: ele, + meta: e.result.meta, + validator: e.validator, + }); + } + else if (messageEle && !e.result.valid) { + messageEle.innerHTML = this.getMessage(e.result); + this.core.emit('plugins.message.displayed', { + element: e.element, + field: e.field, + message: e.result.message, + messageElement: messageEle, + meta: e.result.meta, + validator: e.validator, + }); + } + else if (messageEle && e.result.valid) { + container.removeChild(messageEle); + } + } + }; + Message.prototype.onValidatorNotValidated = function (e) { + var elements = e.elements; + var type = e.element.getAttribute('type'); + var element = 'radio' === type || 'checkbox' === type ? elements[0] : e.element; + if (this.messages.has(element)) { + var container = this.messages.get(element); + var messageEle = container.querySelector("[data-field=\"" + e.field + "\"][data-validator=\"" + e.validator + "\"]"); + if (messageEle) { + container.removeChild(messageEle); + } + } + }; + Message.prototype.onElementIgnored = function (e) { + var elements = e.elements; + var type = e.element.getAttribute('type'); + var element = 'radio' === type || 'checkbox' === type ? elements[0] : e.element; + if (this.messages.has(element)) { + var container_1 = this.messages.get(element); + var messageElements = [].slice.call(container_1.querySelectorAll("[data-field=\"" + e.field + "\"]")); + messageElements.forEach(function (messageEle) { + container_1.removeChild(messageEle); + }); + } + }; + return Message; + }(Plugin_1.default)); + exports.default = Message; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Milligram.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Milligram.js new file mode 100644 index 0000000..618dff5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Milligram.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "./Framework"], function (require, exports, classSet_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Milligram = (function (_super) { + __extends(Milligram, _super); + function Milligram(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-milligram', + messageClass: 'fv-help-block', + rowInvalidClass: 'fv-invalid-row', + rowPattern: /^(.*)column(-offset)*-[0-9]+(.*)$/, + rowSelector: '.row', + rowValidClass: 'fv-valid-row', + }, opts)) || this; + } + Milligram.prototype.onIconPlaced = function (e) { + var type = e.element.getAttribute('type'); + var parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + }; + return Milligram; + }(Framework_1.default)); + exports.default = Milligram; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Mini.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Mini.js new file mode 100644 index 0000000..d83d922 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Mini.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "./Framework"], function (require, exports, classSet_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Mini = (function (_super) { + __extends(Mini, _super); + function Mini(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-mini', + messageClass: 'fv-help-block', + rowInvalidClass: 'fv-invalid-row', + rowPattern: /^(.*)col-(sm|md|lg|xl)(-offset)*-[0-9]+(.*)$/, + rowSelector: '.row', + rowValidClass: 'fv-valid-row', + }, opts)) || this; + } + Mini.prototype.onIconPlaced = function (e) { + var type = e.element.getAttribute('type'); + var parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + }; + return Mini; + }(Framework_1.default)); + exports.default = Mini; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Mui.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Mui.js new file mode 100644 index 0000000..eaca7e4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Mui.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "./Framework"], function (require, exports, classSet_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Mui = (function (_super) { + __extends(Mui, _super); + function Mui(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-mui', + messageClass: 'fv-help-block', + rowInvalidClass: 'fv-invalid-row', + rowPattern: /^(.*)mui-col-(xs|md|lg|xl)(-offset)*-[0-9]+(.*)$/, + rowSelector: '.mui-row', + rowValidClass: 'fv-valid-row', + }, opts)) || this; + } + Mui.prototype.onIconPlaced = function (e) { + var type = e.element.getAttribute('type'); + var parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + }; + return Mui; + }(Framework_1.default)); + exports.default = Mui; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/PasswordStrength.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/PasswordStrength.js new file mode 100644 index 0000000..4fc9d08 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/PasswordStrength.js @@ -0,0 +1,96 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var PasswordStrength = (function (_super) { + __extends(PasswordStrength, _super); + function PasswordStrength(opts) { + var _this = _super.call(this, opts) || this; + _this.opts = Object.assign({}, { + minimalScore: 3, + onValidated: function () { }, + }, opts); + _this.validatePassword = _this.checkPasswordStrength.bind(_this); + _this.validatorValidatedHandler = _this.onValidatorValidated.bind(_this); + return _this; + } + PasswordStrength.prototype.install = function () { + var _a; + this.core.registerValidator(PasswordStrength.PASSWORD_STRENGTH_VALIDATOR, this.validatePassword); + this.core.on('core.validator.validated', this.validatorValidatedHandler); + this.core.addField(this.opts.field, { + validators: (_a = {}, + _a[PasswordStrength.PASSWORD_STRENGTH_VALIDATOR] = { + message: this.opts.message, + minimalScore: this.opts.minimalScore, + }, + _a), + }); + }; + PasswordStrength.prototype.uninstall = function () { + this.core.off('core.validator.validated', this.validatorValidatedHandler); + this.core.disableValidator(this.opts.field, PasswordStrength.PASSWORD_STRENGTH_VALIDATOR); + }; + PasswordStrength.prototype.checkPasswordStrength = function () { + var _this = this; + return { + validate: function (input) { + var value = input.value; + if (value === '') { + return { + valid: true, + }; + } + var result = zxcvbn(value); + var score = result.score; + var message = result.feedback.warning || 'The password is weak'; + if (score < _this.opts.minimalScore) { + return { + message: message, + meta: { + message: message, + score: score, + }, + valid: false, + }; + } + else { + return { + meta: { + message: message, + score: score, + }, + valid: true, + }; + } + }, + }; + }; + PasswordStrength.prototype.onValidatorValidated = function (e) { + if (e.field === this.opts.field && + e.validator === PasswordStrength.PASSWORD_STRENGTH_VALIDATOR && + e.result.meta) { + var message = e.result.meta['message']; + var score = e.result.meta['score']; + this.opts.onValidated(e.result.valid, message, score); + } + }; + PasswordStrength.PASSWORD_STRENGTH_VALIDATOR = '___PasswordStrengthValidator'; + return PasswordStrength; + }(Plugin_1.default)); + exports.default = PasswordStrength; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Pure.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Pure.js new file mode 100644 index 0000000..7b20b17 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Pure.js @@ -0,0 +1,46 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "./Framework"], function (require, exports, classSet_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Pure = (function (_super) { + __extends(Pure, _super); + function Pure(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-pure', + messageClass: 'fv-help-block', + rowInvalidClass: 'fv-has-error', + rowPattern: /^.*pure-control-group.*$/, + rowSelector: '.pure-control-group', + rowValidClass: 'fv-has-success', + }, opts)) || this; + } + Pure.prototype.onIconPlaced = function (e) { + var type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + var parent_1 = e.element.parentElement; + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + if ('LABEL' === parent_1.tagName) { + parent_1.parentElement.insertBefore(e.iconElement, parent_1.nextSibling); + } + } + }; + return Pure; + }(Framework_1.default)); + exports.default = Pure; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Recaptcha.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Recaptcha.js new file mode 100644 index 0000000..9a2d7e8 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Recaptcha.js @@ -0,0 +1,191 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin", "../utils/fetch"], function (require, exports, Plugin_1, fetch_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Recaptcha = (function (_super) { + __extends(Recaptcha, _super); + function Recaptcha(opts) { + var _this = _super.call(this, opts) || this; + _this.widgetIds = new Map(); + _this.captchaStatus = 'NotValidated'; + _this.opts = Object.assign({}, Recaptcha.DEFAULT_OPTIONS, opts); + _this.fieldResetHandler = _this.onResetField.bind(_this); + _this.preValidateFilter = _this.preValidate.bind(_this); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_this); + return _this; + } + Recaptcha.prototype.install = function () { + var _this = this; + this.core + .on('core.field.reset', this.fieldResetHandler) + .on('plugins.icon.placed', this.iconPlacedHandler) + .registerFilter('validate-pre', this.preValidateFilter); + var loadPrevCaptcha = typeof window[Recaptcha.LOADED_CALLBACK] === 'undefined' ? function () { } : window[Recaptcha.LOADED_CALLBACK]; + window[Recaptcha.LOADED_CALLBACK] = function () { + loadPrevCaptcha(); + var captchaOptions = { + badge: _this.opts.badge, + callback: function () { + if (_this.opts.backendVerificationUrl === '') { + _this.captchaStatus = 'Valid'; + _this.core.updateFieldStatus(Recaptcha.CAPTCHA_FIELD, 'Valid'); + } + }, + 'error-callback': function () { + _this.captchaStatus = 'Invalid'; + _this.core.updateFieldStatus(Recaptcha.CAPTCHA_FIELD, 'Invalid'); + }, + 'expired-callback': function () { + _this.captchaStatus = 'NotValidated'; + _this.core.updateFieldStatus(Recaptcha.CAPTCHA_FIELD, 'NotValidated'); + }, + sitekey: _this.opts.siteKey, + size: _this.opts.size, + }; + var widgetId = window['grecaptcha'].render(_this.opts.element, captchaOptions); + _this.widgetIds.set(_this.opts.element, widgetId); + _this.core.addField(Recaptcha.CAPTCHA_FIELD, { + validators: { + promise: { + message: _this.opts.message, + promise: function (input) { + var _a; + var value = _this.widgetIds.has(_this.opts.element) + ? window['grecaptcha'].getResponse(_this.widgetIds.get(_this.opts.element)) + : input.value; + if (value === '') { + _this.captchaStatus = 'Invalid'; + return Promise.resolve({ + valid: false, + }); + } + else if (_this.opts.backendVerificationUrl === '') { + _this.captchaStatus = 'Valid'; + return Promise.resolve({ + valid: true, + }); + } + else if (_this.captchaStatus === 'Valid') { + return Promise.resolve({ + valid: true, + }); + } + else { + return (0, fetch_1.default)(_this.opts.backendVerificationUrl, { + method: 'POST', + params: (_a = {}, + _a[Recaptcha.CAPTCHA_FIELD] = value, + _a), + }) + .then(function (response) { + var isValid = "" + response['success'] === 'true'; + _this.captchaStatus = isValid ? 'Valid' : 'Invalid'; + return Promise.resolve({ + meta: response, + valid: isValid, + }); + }) + .catch(function (_reason) { + _this.captchaStatus = 'NotValidated'; + return Promise.reject({ + valid: false, + }); + }); + } + }, + }, + }, + }); + }; + var src = this.getScript(); + if (!document.body.querySelector("script[src=\"" + src + "\"]")) { + var script = document.createElement('script'); + script.type = 'text/javascript'; + script.async = true; + script.defer = true; + script.src = src; + document.body.appendChild(script); + } + }; + Recaptcha.prototype.uninstall = function () { + if (this.timer) { + clearTimeout(this.timer); + } + this.core + .off('core.field.reset', this.fieldResetHandler) + .off('plugins.icon.placed', this.iconPlacedHandler) + .deregisterFilter('validate-pre', this.preValidateFilter); + this.widgetIds.clear(); + var src = this.getScript(); + var scripts = [].slice.call(document.body.querySelectorAll("script[src=\"" + src + "\"]")); + scripts.forEach(function (s) { return s.parentNode.removeChild(s); }); + this.core.removeField(Recaptcha.CAPTCHA_FIELD); + }; + Recaptcha.prototype.getScript = function () { + var lang = this.opts.language ? "&hl=" + this.opts.language : ''; + return "https://www.google.com/recaptcha/api.js?onload=" + Recaptcha.LOADED_CALLBACK + "&render=explicit" + lang; + }; + Recaptcha.prototype.preValidate = function () { + var _this = this; + if (this.opts.size === 'invisible' && this.widgetIds.has(this.opts.element)) { + var widgetId_1 = this.widgetIds.get(this.opts.element); + return this.captchaStatus === 'Valid' + ? Promise.resolve() + : new Promise(function (resolve, _reject) { + window['grecaptcha'].execute(widgetId_1).then(function () { + if (_this.timer) { + clearTimeout(_this.timer); + } + _this.timer = window.setTimeout(resolve, 1 * 1000); + }); + }); + } + else { + return Promise.resolve(); + } + }; + Recaptcha.prototype.onResetField = function (e) { + if (e.field === Recaptcha.CAPTCHA_FIELD && this.widgetIds.has(this.opts.element)) { + var widgetId = this.widgetIds.get(this.opts.element); + window['grecaptcha'].reset(widgetId); + } + }; + Recaptcha.prototype.onIconPlaced = function (e) { + if (e.field === Recaptcha.CAPTCHA_FIELD) { + if (this.opts.size === 'invisible') { + e.iconElement.style.display = 'none'; + } + else { + var captchaContainer = document.getElementById(this.opts.element); + if (captchaContainer) { + captchaContainer.parentNode.insertBefore(e.iconElement, captchaContainer.nextSibling); + } + } + } + }; + Recaptcha.CAPTCHA_FIELD = 'g-recaptcha-response'; + Recaptcha.DEFAULT_OPTIONS = { + backendVerificationUrl: '', + badge: 'bottomright', + size: 'normal', + theme: 'light', + }; + Recaptcha.LOADED_CALLBACK = '___reCaptchaLoaded___'; + return Recaptcha; + }(Plugin_1.default)); + exports.default = Recaptcha; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Recaptcha3.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Recaptcha3.js new file mode 100644 index 0000000..e715778 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Recaptcha3.js @@ -0,0 +1,108 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin", "../utils/fetch"], function (require, exports, Plugin_1, fetch_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Recaptcha3 = (function (_super) { + __extends(Recaptcha3, _super); + function Recaptcha3(opts) { + var _this = _super.call(this, opts) || this; + _this.opts = Object.assign({}, { minimumScore: 0 }, opts); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_this); + return _this; + } + Recaptcha3.prototype.install = function () { + var _this = this; + this.core.on('plugins.icon.placed', this.iconPlacedHandler); + var loadPrevCaptcha = typeof window[Recaptcha3.LOADED_CALLBACK] === 'undefined' ? function () { } : window[Recaptcha3.LOADED_CALLBACK]; + window[Recaptcha3.LOADED_CALLBACK] = function () { + loadPrevCaptcha(); + var tokenField = document.createElement('input'); + tokenField.setAttribute('type', 'hidden'); + tokenField.setAttribute('name', Recaptcha3.CAPTCHA_FIELD); + document.getElementById(_this.opts.element).appendChild(tokenField); + _this.core.addField(Recaptcha3.CAPTCHA_FIELD, { + validators: { + promise: { + message: _this.opts.message, + promise: function (_input) { + return new Promise(function (resolve, reject) { + window['grecaptcha'] + .execute(_this.opts.siteKey, { + action: _this.opts.action, + }) + .then(function (token) { + var _a; + (0, fetch_1.default)(_this.opts.backendVerificationUrl, { + method: 'POST', + params: (_a = {}, + _a[Recaptcha3.CAPTCHA_FIELD] = token, + _a), + }) + .then(function (response) { + var isValid = "" + response.success === 'true' && + response.score >= _this.opts.minimumScore; + resolve({ + message: response.message || _this.opts.message, + meta: response, + valid: isValid, + }); + }) + .catch(function (_) { + reject({ + valid: false, + }); + }); + }); + }); + }, + }, + }, + }); + }; + var src = this.getScript(); + if (!document.body.querySelector("script[src=\"" + src + "\"]")) { + var script = document.createElement('script'); + script.type = 'text/javascript'; + script.async = true; + script.defer = true; + script.src = src; + document.body.appendChild(script); + } + }; + Recaptcha3.prototype.uninstall = function () { + this.core.off('plugins.icon.placed', this.iconPlacedHandler); + var src = this.getScript(); + var scripts = [].slice.call(document.body.querySelectorAll("script[src=\"" + src + "\"]")); + scripts.forEach(function (s) { return s.parentNode.removeChild(s); }); + this.core.removeField(Recaptcha3.CAPTCHA_FIELD); + }; + Recaptcha3.prototype.getScript = function () { + var lang = this.opts.language ? "&hl=" + this.opts.language : ''; + return ('https://www.google.com/recaptcha/api.js?' + + ("onload=" + Recaptcha3.LOADED_CALLBACK + "&render=" + this.opts.siteKey + lang)); + }; + Recaptcha3.prototype.onIconPlaced = function (e) { + if (e.field === Recaptcha3.CAPTCHA_FIELD) { + e.iconElement.style.display = 'none'; + } + }; + Recaptcha3.CAPTCHA_FIELD = '___g-recaptcha-token___'; + Recaptcha3.LOADED_CALLBACK = '___reCaptcha3Loaded___'; + return Recaptcha3; + }(Plugin_1.default)); + exports.default = Recaptcha3; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Recaptcha3Token.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Recaptcha3Token.js new file mode 100644 index 0000000..99d8f6a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Recaptcha3Token.js @@ -0,0 +1,78 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Recaptcha3Token = (function (_super) { + __extends(Recaptcha3Token, _super); + function Recaptcha3Token(opts) { + var _this = _super.call(this, opts) || this; + _this.opts = Object.assign({}, { + action: 'submit', + hiddenTokenName: '___hidden-token___', + }, opts); + _this.onValidHandler = _this.onFormValid.bind(_this); + return _this; + } + Recaptcha3Token.prototype.install = function () { + this.core.on('core.form.valid', this.onValidHandler); + this.hiddenTokenEle = document.createElement('input'); + this.hiddenTokenEle.setAttribute('type', 'hidden'); + this.core.getFormElement().appendChild(this.hiddenTokenEle); + var loadPrevCaptcha = typeof window[Recaptcha3Token.LOADED_CALLBACK] === 'undefined' + ? function () { } + : window[Recaptcha3Token.LOADED_CALLBACK]; + window[Recaptcha3Token.LOADED_CALLBACK] = function () { + loadPrevCaptcha(); + }; + var src = this.getScript(); + if (!document.body.querySelector("script[src=\"" + src + "\"]")) { + var script = document.createElement('script'); + script.type = 'text/javascript'; + script.async = true; + script.defer = true; + script.src = src; + document.body.appendChild(script); + } + }; + Recaptcha3Token.prototype.uninstall = function () { + this.core.off('core.form.valid', this.onValidHandler); + var src = this.getScript(); + var scripts = [].slice.call(document.body.querySelectorAll("script[src=\"" + src + "\"]")); + scripts.forEach(function (s) { return s.parentNode.removeChild(s); }); + this.core.getFormElement().removeChild(this.hiddenTokenEle); + }; + Recaptcha3Token.prototype.onFormValid = function () { + var _this = this; + window['grecaptcha'].execute(this.opts.siteKey, { action: this.opts.action }).then(function (token) { + _this.hiddenTokenEle.setAttribute('name', _this.opts.hiddenTokenName); + _this.hiddenTokenEle.value = token; + var form = _this.core.getFormElement(); + if (form instanceof HTMLFormElement) { + form.submit(); + } + }); + }; + Recaptcha3Token.prototype.getScript = function () { + var lang = this.opts.language ? "&hl=" + this.opts.language : ''; + return ('https://www.google.com/recaptcha/api.js?' + + ("onload=" + Recaptcha3Token.LOADED_CALLBACK + "&render=" + this.opts.siteKey + lang)); + }; + Recaptcha3Token.LOADED_CALLBACK = '___reCaptcha3Loaded___'; + return Recaptcha3Token; + }(Plugin_1.default)); + exports.default = Recaptcha3Token; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Semantic.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Semantic.js new file mode 100644 index 0000000..c275406 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Semantic.js @@ -0,0 +1,55 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "../utils/hasClass", "./Framework"], function (require, exports, classSet_1, hasClass_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Semantic = (function (_super) { + __extends(Semantic, _super); + function Semantic(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-semantic', + messageClass: 'ui pointing red label', + rowInvalidClass: 'error', + rowPattern: /^.*(field|column).*$/, + rowSelector: '.fields', + rowValidClass: 'fv-has-success', + }, opts)) || this; + } + Semantic.prototype.onIconPlaced = function (e) { + var type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + var parent_1 = e.element.parentElement; + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + parent_1.parentElement.insertBefore(e.iconElement, parent_1.nextSibling); + } + }; + Semantic.prototype.onMessagePlaced = function (e) { + var type = e.element.getAttribute('type'); + var numElements = e.elements.length; + if (('checkbox' === type || 'radio' === type) && numElements > 1) { + var last = e.elements[numElements - 1]; + var parent_2 = last.parentElement; + if ((0, hasClass_1.default)(parent_2, type) && (0, hasClass_1.default)(parent_2, 'ui')) { + parent_2.parentElement.insertBefore(e.messageElement, parent_2.nextSibling); + } + } + }; + return Semantic; + }(Framework_1.default)); + exports.default = Semantic; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Sequence.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Sequence.js new file mode 100644 index 0000000..59f0b66 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Sequence.js @@ -0,0 +1,85 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Sequence = (function (_super) { + __extends(Sequence, _super); + function Sequence(opts) { + var _this = _super.call(this, opts) || this; + _this.invalidFields = new Map(); + _this.opts = Object.assign({}, { enabled: true }, opts); + _this.validatorHandler = _this.onValidatorValidated.bind(_this); + _this.shouldValidateFilter = _this.shouldValidate.bind(_this); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_this); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_this); + _this.elementValidatingHandler = _this.onElementValidating.bind(_this); + return _this; + } + Sequence.prototype.install = function () { + this.core + .on('core.validator.validated', this.validatorHandler) + .on('core.field.added', this.fieldAddedHandler) + .on('core.element.notvalidated', this.elementNotValidatedHandler) + .on('core.element.validating', this.elementValidatingHandler) + .registerFilter('field-should-validate', this.shouldValidateFilter); + }; + Sequence.prototype.uninstall = function () { + this.invalidFields.clear(); + this.core + .off('core.validator.validated', this.validatorHandler) + .off('core.field.added', this.fieldAddedHandler) + .off('core.element.notvalidated', this.elementNotValidatedHandler) + .off('core.element.validating', this.elementValidatingHandler) + .deregisterFilter('field-should-validate', this.shouldValidateFilter); + }; + Sequence.prototype.shouldValidate = function (field, element, value, validator) { + var stop = (this.opts.enabled === true || this.opts.enabled[field] === true) && + this.invalidFields.has(element) && + !!this.invalidFields.get(element).length && + this.invalidFields.get(element).indexOf(validator) === -1; + return !stop; + }; + Sequence.prototype.onValidatorValidated = function (e) { + var validators = this.invalidFields.has(e.element) ? this.invalidFields.get(e.element) : []; + var index = validators.indexOf(e.validator); + if (e.result.valid && index >= 0) { + validators.splice(index, 1); + } + else if (!e.result.valid && index === -1) { + validators.push(e.validator); + } + this.invalidFields.set(e.element, validators); + }; + Sequence.prototype.onFieldAdded = function (e) { + if (e.elements) { + this.clearInvalidFields(e.elements); + } + }; + Sequence.prototype.onElementNotValidated = function (e) { + this.clearInvalidFields(e.elements); + }; + Sequence.prototype.onElementValidating = function (e) { + this.clearInvalidFields(e.elements); + }; + Sequence.prototype.clearInvalidFields = function (elements) { + var _this = this; + elements.forEach(function (ele) { return _this.invalidFields.delete(ele); }); + }; + return Sequence; + }(Plugin_1.default)); + exports.default = Sequence; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Shoelace.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Shoelace.js new file mode 100644 index 0000000..f60e3c9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Shoelace.js @@ -0,0 +1,46 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "./Framework"], function (require, exports, classSet_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Shoelace = (function (_super) { + __extends(Shoelace, _super); + function Shoelace(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-shoelace', + messageClass: 'fv-help-block', + rowInvalidClass: 'input-invalid', + rowPattern: /^(.*)(col|offset)-[0-9]+(.*)$/, + rowSelector: '.input-field', + rowValidClass: 'input-valid', + }, opts)) || this; + } + Shoelace.prototype.onIconPlaced = function (e) { + var parent = e.element.parentElement; + var type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + if ('LABEL' === parent.tagName) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + } + } + }; + return Shoelace; + }(Framework_1.default)); + exports.default = Shoelace; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Spectre.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Spectre.js new file mode 100644 index 0000000..81f7614 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Spectre.js @@ -0,0 +1,46 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "../utils/hasClass", "./Framework"], function (require, exports, classSet_1, hasClass_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Spectre = (function (_super) { + __extends(Spectre, _super); + function Spectre(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-spectre', + messageClass: 'form-input-hint', + rowInvalidClass: 'has-error', + rowPattern: /^(.*)(col)(-(xs|sm|md|lg))*-[0-9]+(.*)$/, + rowSelector: '.form-group', + rowValidClass: 'has-success', + }, opts)) || this; + } + Spectre.prototype.onIconPlaced = function (e) { + var type = e.element.getAttribute('type'); + var parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + if ((0, hasClass_1.default)(parent, "form-" + type)) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + } + } + }; + return Spectre; + }(Framework_1.default)); + exports.default = Spectre; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/StartEndDate.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/StartEndDate.js new file mode 100644 index 0000000..af41a23 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/StartEndDate.js @@ -0,0 +1,105 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var StartEndDate = (function (_super) { + __extends(StartEndDate, _super); + function StartEndDate(opts) { + var _this = _super.call(this, opts) || this; + _this.fieldValidHandler = _this.onFieldValid.bind(_this); + _this.fieldInvalidHandler = _this.onFieldInvalid.bind(_this); + return _this; + } + StartEndDate.prototype.install = function () { + var _this = this; + var fieldOptions = this.core.getFields(); + this.startDateFieldOptions = fieldOptions[this.opts.startDate.field]; + this.endDateFieldOptions = fieldOptions[this.opts.endDate.field]; + var form = this.core.getFormElement(); + this.core + .on('core.field.valid', this.fieldValidHandler) + .on('core.field.invalid', this.fieldInvalidHandler) + .addField(this.opts.startDate.field, { + validators: { + date: { + format: this.opts.format, + max: function () { + var endDateField = form.querySelector("[name=\"" + _this.opts.endDate.field + "\"]"); + return endDateField.value; + }, + message: this.opts.startDate.message, + }, + }, + }) + .addField(this.opts.endDate.field, { + validators: { + date: { + format: this.opts.format, + message: this.opts.endDate.message, + min: function () { + var startDateField = form.querySelector("[name=\"" + _this.opts.startDate.field + "\"]"); + return startDateField.value; + }, + }, + }, + }); + }; + StartEndDate.prototype.uninstall = function () { + this.core.removeField(this.opts.startDate.field); + if (this.startDateFieldOptions) { + this.core.addField(this.opts.startDate.field, this.startDateFieldOptions); + } + this.core.removeField(this.opts.endDate.field); + if (this.endDateFieldOptions) { + this.core.addField(this.opts.endDate.field, this.endDateFieldOptions); + } + this.core.off('core.field.valid', this.fieldValidHandler).off('core.field.invalid', this.fieldInvalidHandler); + }; + StartEndDate.prototype.onFieldInvalid = function (field) { + switch (field) { + case this.opts.startDate.field: + this.startDateValid = false; + break; + case this.opts.endDate.field: + this.endDateValid = false; + break; + default: + break; + } + }; + StartEndDate.prototype.onFieldValid = function (field) { + switch (field) { + case this.opts.startDate.field: + this.startDateValid = true; + if (this.endDateValid === false) { + this.core.revalidateField(this.opts.endDate.field); + } + break; + case this.opts.endDate.field: + this.endDateValid = true; + if (this.startDateValid === false) { + this.core.revalidateField(this.opts.startDate.field); + } + break; + default: + break; + } + }; + return StartEndDate; + }(Plugin_1.default)); + exports.default = StartEndDate; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/SubmitButton.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/SubmitButton.js new file mode 100644 index 0000000..65a4aa6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/SubmitButton.js @@ -0,0 +1,97 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var SubmitButton = (function (_super) { + __extends(SubmitButton, _super); + function SubmitButton(opts) { + var _this = _super.call(this, opts) || this; + _this.isFormValid = false; + _this.opts = Object.assign({}, { + aspNetButton: false, + buttons: function (form) { + return [].slice.call(form.querySelectorAll('[type="submit"]:not([formnovalidate])')); + }, + }, opts); + _this.submitHandler = _this.handleSubmitEvent.bind(_this); + _this.buttonClickHandler = _this.handleClickEvent.bind(_this); + return _this; + } + SubmitButton.prototype.install = function () { + var _this = this; + if (!(this.core.getFormElement() instanceof HTMLFormElement)) { + return; + } + var form = this.core.getFormElement(); + this.submitButtons = this.opts.buttons(form); + form.setAttribute('novalidate', 'novalidate'); + form.addEventListener('submit', this.submitHandler); + this.hiddenClickedEle = document.createElement('input'); + this.hiddenClickedEle.setAttribute('type', 'hidden'); + form.appendChild(this.hiddenClickedEle); + this.submitButtons.forEach(function (button) { + button.addEventListener('click', _this.buttonClickHandler); + }); + }; + SubmitButton.prototype.uninstall = function () { + var _this = this; + var form = this.core.getFormElement(); + if (form instanceof HTMLFormElement) { + form.removeEventListener('submit', this.submitHandler); + } + this.submitButtons.forEach(function (button) { + button.removeEventListener('click', _this.buttonClickHandler); + }); + this.hiddenClickedEle.parentElement.removeChild(this.hiddenClickedEle); + }; + SubmitButton.prototype.handleSubmitEvent = function (e) { + this.validateForm(e); + }; + SubmitButton.prototype.handleClickEvent = function (e) { + var target = e.currentTarget; + if (target instanceof HTMLElement) { + if (this.opts.aspNetButton && this.isFormValid === true) { + } + else { + var form = this.core.getFormElement(); + form.removeEventListener('submit', this.submitHandler); + this.clickedButton = e.target; + var name_1 = this.clickedButton.getAttribute('name'); + var value = this.clickedButton.getAttribute('value'); + if (name_1 && value) { + this.hiddenClickedEle.setAttribute('name', name_1); + this.hiddenClickedEle.setAttribute('value', value); + } + this.validateForm(e); + } + } + }; + SubmitButton.prototype.validateForm = function (e) { + var _this = this; + e.preventDefault(); + this.core.validate().then(function (result) { + if (result === 'Valid' && _this.opts.aspNetButton && !_this.isFormValid && _this.clickedButton) { + _this.isFormValid = true; + _this.clickedButton.removeEventListener('click', _this.buttonClickHandler); + _this.clickedButton.click(); + } + }); + }; + return SubmitButton; + }(Plugin_1.default)); + exports.default = SubmitButton; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Tachyons.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Tachyons.js new file mode 100644 index 0000000..e41f245 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Tachyons.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "./Framework"], function (require, exports, classSet_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Tachyons = (function (_super) { + __extends(Tachyons, _super); + function Tachyons(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-tachyons', + messageClass: 'small', + rowInvalidClass: 'red', + rowPattern: /^(.*)fl(.*)$/, + rowSelector: '.fl', + rowValidClass: 'green', + }, opts)) || this; + } + Tachyons.prototype.onIconPlaced = function (e) { + var type = e.element.getAttribute('type'); + var parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + }; + return Tachyons; + }(Framework_1.default)); + exports.default = Tachyons; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Tooltip.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Tooltip.js new file mode 100644 index 0000000..1deb99e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Tooltip.js @@ -0,0 +1,162 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin", "../utils/classSet"], function (require, exports, Plugin_1, classSet_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Tooltip = (function (_super) { + __extends(Tooltip, _super); + function Tooltip(opts) { + var _this = _super.call(this, opts) || this; + _this.messages = new Map(); + _this.opts = Object.assign({}, { + placement: 'top', + trigger: 'click', + }, opts); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_this); + _this.validatorValidatedHandler = _this.onValidatorValidated.bind(_this); + _this.elementValidatedHandler = _this.onElementValidated.bind(_this); + _this.documentClickHandler = _this.onDocumentClicked.bind(_this); + return _this; + } + Tooltip.prototype.install = function () { + var _a; + this.tip = document.createElement('div'); + (0, classSet_1.default)(this.tip, (_a = { + 'fv-plugins-tooltip': true + }, + _a["fv-plugins-tooltip--" + this.opts.placement] = true, + _a)); + document.body.appendChild(this.tip); + this.core + .on('plugins.icon.placed', this.iconPlacedHandler) + .on('core.validator.validated', this.validatorValidatedHandler) + .on('core.element.validated', this.elementValidatedHandler); + if ('click' === this.opts.trigger) { + document.addEventListener('click', this.documentClickHandler); + } + }; + Tooltip.prototype.uninstall = function () { + this.messages.clear(); + document.body.removeChild(this.tip); + this.core + .off('plugins.icon.placed', this.iconPlacedHandler) + .off('core.validator.validated', this.validatorValidatedHandler) + .off('core.element.validated', this.elementValidatedHandler); + if ('click' === this.opts.trigger) { + document.removeEventListener('click', this.documentClickHandler); + } + }; + Tooltip.prototype.onIconPlaced = function (e) { + var _this = this; + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-tooltip-icon': true, + }); + switch (this.opts.trigger) { + case 'hover': + e.iconElement.addEventListener('mouseenter', function (evt) { return _this.show(e.element, evt); }); + e.iconElement.addEventListener('mouseleave', function (_evt) { return _this.hide(); }); + break; + case 'click': + default: + e.iconElement.addEventListener('click', function (evt) { return _this.show(e.element, evt); }); + break; + } + }; + Tooltip.prototype.onValidatorValidated = function (e) { + if (!e.result.valid) { + var elements = e.elements; + var type = e.element.getAttribute('type'); + var ele = 'radio' === type || 'checkbox' === type ? elements[0] : e.element; + var message = typeof e.result.message === 'string' ? e.result.message : e.result.message[this.core.getLocale()]; + this.messages.set(ele, message); + } + }; + Tooltip.prototype.onElementValidated = function (e) { + if (e.valid) { + var elements = e.elements; + var type = e.element.getAttribute('type'); + var ele = 'radio' === type || 'checkbox' === type ? elements[0] : e.element; + this.messages.delete(ele); + } + }; + Tooltip.prototype.onDocumentClicked = function (_e) { + this.hide(); + }; + Tooltip.prototype.show = function (ele, e) { + e.preventDefault(); + e.stopPropagation(); + if (!this.messages.has(ele)) { + return; + } + (0, classSet_1.default)(this.tip, { + 'fv-plugins-tooltip--hide': false, + }); + this.tip.innerHTML = "
      " + this.messages.get(ele) + "
      "; + var icon = e.target; + var targetRect = icon.getBoundingClientRect(); + var _a = this.tip.getBoundingClientRect(), height = _a.height, width = _a.width; + var top = 0; + var left = 0; + switch (this.opts.placement) { + case 'bottom': + top = targetRect.top + targetRect.height; + left = targetRect.left + targetRect.width / 2 - width / 2; + break; + case 'bottom-left': + top = targetRect.top + targetRect.height; + left = targetRect.left; + break; + case 'bottom-right': + top = targetRect.top + targetRect.height; + left = targetRect.left + targetRect.width - width; + break; + case 'left': + top = targetRect.top + targetRect.height / 2 - height / 2; + left = targetRect.left - width; + break; + case 'right': + top = targetRect.top + targetRect.height / 2 - height / 2; + left = targetRect.left + targetRect.width; + break; + case 'top-left': + top = targetRect.top - height; + left = targetRect.left; + break; + case 'top-right': + top = targetRect.top - height; + left = targetRect.left + targetRect.width - width; + break; + case 'top': + default: + top = targetRect.top - height; + left = targetRect.left + targetRect.width / 2 - width / 2; + break; + } + var scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0; + var scrollLeft = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0; + top = top + scrollTop; + left = left + scrollLeft; + this.tip.setAttribute('style', "top: " + top + "px; left: " + left + "px"); + }; + Tooltip.prototype.hide = function () { + (0, classSet_1.default)(this.tip, { + 'fv-plugins-tooltip--hide': true, + }); + }; + return Tooltip; + }(Plugin_1.default)); + exports.default = Tooltip; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Transformer.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Transformer.js new file mode 100644 index 0000000..1417302 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Transformer.js @@ -0,0 +1,41 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Transformer = (function (_super) { + __extends(Transformer, _super); + function Transformer(opts) { + var _this = _super.call(this, opts) || this; + _this.valueFilter = _this.getElementValue.bind(_this); + return _this; + } + Transformer.prototype.install = function () { + this.core.registerFilter('field-value', this.valueFilter); + }; + Transformer.prototype.uninstall = function () { + this.core.deregisterFilter('field-value', this.valueFilter); + }; + Transformer.prototype.getElementValue = function (defaultValue, field, element, validator) { + if (this.opts[field] && this.opts[field][validator] && 'function' === typeof this.opts[field][validator]) { + return this.opts[field][validator].apply(this, [field, element, validator]); + } + return defaultValue; + }; + return Transformer; + }(Plugin_1.default)); + exports.default = Transformer; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Trigger.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Trigger.js new file mode 100644 index 0000000..8053efb --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Trigger.js @@ -0,0 +1,135 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Trigger = (function (_super) { + __extends(Trigger, _super); + function Trigger(opts) { + var _this = _super.call(this, opts) || this; + _this.handlers = []; + _this.timers = new Map(); + var ele = document.createElement('div'); + _this.defaultEvent = !('oninput' in ele) ? 'keyup' : 'input'; + _this.opts = Object.assign({}, { + delay: 0, + event: _this.defaultEvent, + threshold: 0, + }, opts); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_this); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_this); + return _this; + } + Trigger.prototype.install = function () { + this.core.on('core.field.added', this.fieldAddedHandler).on('core.field.removed', this.fieldRemovedHandler); + }; + Trigger.prototype.uninstall = function () { + this.handlers.forEach(function (item) { return item.element.removeEventListener(item.event, item.handler); }); + this.handlers = []; + this.timers.forEach(function (t) { return window.clearTimeout(t); }); + this.timers.clear(); + this.core.off('core.field.added', this.fieldAddedHandler).off('core.field.removed', this.fieldRemovedHandler); + }; + Trigger.prototype.prepareHandler = function (field, elements) { + var _this = this; + elements.forEach(function (ele) { + var events = []; + if (!!_this.opts.event && _this.opts.event[field] === false) { + events = []; + } + else if (!!_this.opts.event && !!_this.opts.event[field]) { + events = _this.opts.event[field].split(' '); + } + else if ('string' === typeof _this.opts.event && _this.opts.event !== _this.defaultEvent) { + events = _this.opts.event.split(' '); + } + else { + var type = ele.getAttribute('type'); + var tagName = ele.tagName.toLowerCase(); + var event_1 = 'radio' === type || 'checkbox' === type || 'file' === type || 'select' === tagName + ? 'change' + : _this.ieVersion >= 10 && ele.getAttribute('placeholder') + ? 'keyup' + : _this.defaultEvent; + events = [event_1]; + } + events.forEach(function (evt) { + var evtHandler = function (e) { return _this.handleEvent(e, field, ele); }; + _this.handlers.push({ + element: ele, + event: evt, + field: field, + handler: evtHandler, + }); + ele.addEventListener(evt, evtHandler); + }); + }); + }; + Trigger.prototype.handleEvent = function (e, field, ele) { + var _this = this; + if (this.exceedThreshold(field, ele) && + this.core.executeFilter('plugins-trigger-should-validate', true, [field, ele])) { + var handler = function () { + return _this.core.validateElement(field, ele).then(function (_) { + _this.core.emit('plugins.trigger.executed', { + element: ele, + event: e, + field: field, + }); + }); + }; + var delay = this.opts.delay[field] || this.opts.delay; + if (delay === 0) { + handler(); + } + else { + var timer = this.timers.get(ele); + if (timer) { + window.clearTimeout(timer); + } + this.timers.set(ele, window.setTimeout(handler, delay * 1000)); + } + } + }; + Trigger.prototype.onFieldAdded = function (e) { + this.handlers + .filter(function (item) { return item.field === e.field; }) + .forEach(function (item) { return item.element.removeEventListener(item.event, item.handler); }); + this.prepareHandler(e.field, e.elements); + }; + Trigger.prototype.onFieldRemoved = function (e) { + this.handlers + .filter(function (item) { return item.field === e.field && e.elements.indexOf(item.element) >= 0; }) + .forEach(function (item) { return item.element.removeEventListener(item.event, item.handler); }); + }; + Trigger.prototype.exceedThreshold = function (field, element) { + var threshold = this.opts.threshold[field] === 0 || this.opts.threshold === 0 + ? false + : this.opts.threshold[field] || this.opts.threshold; + if (!threshold) { + return true; + } + var type = element.getAttribute('type'); + if (['button', 'checkbox', 'file', 'hidden', 'image', 'radio', 'reset', 'submit'].indexOf(type) !== -1) { + return true; + } + var value = this.core.getElementValue(field, element); + return value.length >= threshold; + }; + return Trigger; + }(Plugin_1.default)); + exports.default = Trigger; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Turret.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Turret.js new file mode 100644 index 0000000..b6da539 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Turret.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "./Framework"], function (require, exports, classSet_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Turret = (function (_super) { + __extends(Turret, _super); + function Turret(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-turret', + messageClass: 'form-message', + rowInvalidClass: 'fv-invalid-row', + rowPattern: /^field$/, + rowSelector: '.field', + rowValidClass: 'fv-valid-row', + }, opts)) || this; + } + Turret.prototype.onIconPlaced = function (e) { + var type = e.element.getAttribute('type'); + var parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + parent.parentElement.insertBefore(e.iconElement, parent.nextSibling); + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + }; + return Turret; + }(Framework_1.default)); + exports.default = Turret; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/TypingAnimation.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/TypingAnimation.js new file mode 100644 index 0000000..d4c1fcc --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/TypingAnimation.js @@ -0,0 +1,80 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin"], function (require, exports, Plugin_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var TypingAnimation = (function (_super) { + __extends(TypingAnimation, _super); + function TypingAnimation(opts) { + var _this = _super.call(this, opts) || this; + _this.opts = Object.assign({}, { + autoPlay: true, + }, opts); + return _this; + } + TypingAnimation.prototype.install = function () { + this.fields = Object.keys(this.core.getFields()); + if (this.opts.autoPlay) { + this.play(); + } + }; + TypingAnimation.prototype.play = function () { + return this.animate(0); + }; + TypingAnimation.prototype.animate = function (fieldIndex) { + var _this = this; + if (fieldIndex >= this.fields.length) { + return Promise.resolve(fieldIndex); + } + var field = this.fields[fieldIndex]; + var ele = this.core.getElements(field)[0]; + var inputType = ele.getAttribute('type'); + var samples = this.opts.data[field]; + if ('checkbox' === inputType || 'radio' === inputType) { + ele.checked = true; + ele.setAttribute('checked', 'true'); + return this.core.revalidateField(field).then(function (_status) { + return _this.animate(fieldIndex + 1); + }); + } + else if (!samples) { + return this.animate(fieldIndex + 1); + } + else { + return new Promise(function (resolve) { + return new Typed(ele, { + attr: 'value', + autoInsertCss: true, + bindInputFocusEvents: true, + onComplete: function () { + resolve(fieldIndex + 1); + }, + onStringTyped: function (arrayPos, _self) { + ele.value = samples[arrayPos]; + _this.core.revalidateField(field); + }, + strings: samples, + typeSpeed: 100, + }); + }).then(function (nextFieldIndex) { + return _this.animate(nextFieldIndex); + }); + } + }; + return TypingAnimation; + }(Plugin_1.default)); + exports.default = TypingAnimation; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Uikit.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Uikit.js new file mode 100644 index 0000000..abd4992 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Uikit.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../utils/classSet", "./Framework"], function (require, exports, classSet_1, Framework_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Uikit = (function (_super) { + __extends(Uikit, _super); + function Uikit(opts) { + return _super.call(this, Object.assign({}, { + formClass: 'fv-plugins-uikit', + messageClass: 'uk-text-danger', + rowInvalidClass: 'uk-form-danger', + rowPattern: /^.*(uk-form-controls|uk-width-[\d+]-[\d+]).*$/, + rowSelector: '.uk-margin', + rowValidClass: 'uk-form-success', + }, opts)) || this; + } + Uikit.prototype.onIconPlaced = function (e) { + var type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + var parent_1 = e.element.parentElement; + (0, classSet_1.default)(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + parent_1.parentElement.insertBefore(e.iconElement, parent_1.nextSibling); + } + }; + return Uikit; + }(Framework_1.default)); + exports.default = Uikit; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Wizard.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Wizard.js new file mode 100644 index 0000000..f3dcb2f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/Wizard.js @@ -0,0 +1,175 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +define(["require", "exports", "../core/Plugin", "../utils/classSet", "./Excluded"], function (require, exports, Plugin_1, classSet_1, Excluded_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var Wizard = (function (_super) { + __extends(Wizard, _super); + function Wizard(opts) { + var _this = _super.call(this, opts) || this; + _this.currentStep = 0; + _this.numSteps = 0; + _this.stepIndexes = []; + _this.opts = Object.assign({}, { + activeStepClass: 'fv-plugins-wizard--active', + onStepActive: function () { }, + onStepInvalid: function () { }, + onStepValid: function () { }, + onValid: function () { }, + stepClass: 'fv-plugins-wizard--step', + }, opts); + _this.prevStepHandler = _this.onClickPrev.bind(_this); + _this.nextStepHandler = _this.onClickNext.bind(_this); + return _this; + } + Wizard.prototype.install = function () { + var _a; + var _this = this; + this.core.registerPlugin(Wizard.EXCLUDED_PLUGIN, this.opts.isFieldExcluded ? new Excluded_1.default({ excluded: this.opts.isFieldExcluded }) : new Excluded_1.default()); + var form = this.core.getFormElement(); + this.steps = [].slice.call(form.querySelectorAll(this.opts.stepSelector)); + this.numSteps = this.steps.length; + this.steps.forEach(function (s) { + var _a; + (0, classSet_1.default)(s, (_a = {}, + _a[_this.opts.stepClass] = true, + _a)); + }); + (0, classSet_1.default)(this.steps[0], (_a = {}, + _a[this.opts.activeStepClass] = true, + _a)); + this.stepIndexes = Array(this.numSteps) + .fill(0) + .map(function (_, i) { return i; }); + this.prevButton = form.querySelector(this.opts.prevButton); + this.nextButton = form.querySelector(this.opts.nextButton); + this.prevButton.addEventListener('click', this.prevStepHandler); + this.nextButton.addEventListener('click', this.nextStepHandler); + }; + Wizard.prototype.uninstall = function () { + this.core.deregisterPlugin(Wizard.EXCLUDED_PLUGIN); + this.prevButton.removeEventListener('click', this.prevStepHandler); + this.nextButton.removeEventListener('click', this.nextStepHandler); + this.stepIndexes.length = 0; + }; + Wizard.prototype.getCurrentStep = function () { + return this.currentStep; + }; + Wizard.prototype.goToPrevStep = function () { + var _this = this; + var prevStep = this.currentStep - 1; + if (prevStep < 0) { + return; + } + var prevUnskipStep = this.opts.isStepSkipped + ? this.stepIndexes + .slice(0, this.currentStep) + .reverse() + .find(function (value, _) { + return !_this.opts.isStepSkipped({ + currentStep: _this.currentStep, + numSteps: _this.numSteps, + targetStep: value, + }); + }) + : prevStep; + this.goToStep(prevUnskipStep); + this.onStepActive(); + }; + Wizard.prototype.goToNextStep = function () { + var _this = this; + this.core.validate().then(function (status) { + if (status === 'Valid') { + var nextStep = _this.currentStep + 1; + if (nextStep >= _this.numSteps) { + _this.currentStep = _this.numSteps - 1; + } + else { + var nextUnskipStep = _this.opts.isStepSkipped + ? _this.stepIndexes.slice(nextStep, _this.numSteps).find(function (value, _) { + return !_this.opts.isStepSkipped({ + currentStep: _this.currentStep, + numSteps: _this.numSteps, + targetStep: value, + }); + }) + : nextStep; + nextStep = nextUnskipStep; + _this.goToStep(nextStep); + } + _this.onStepActive(); + _this.onStepValid(); + if (nextStep === _this.numSteps) { + _this.onValid(); + } + } + else if (status === 'Invalid') { + _this.onStepInvalid(); + } + }); + }; + Wizard.prototype.goToStep = function (index) { + var _a, _b; + (0, classSet_1.default)(this.steps[this.currentStep], (_a = {}, + _a[this.opts.activeStepClass] = false, + _a)); + (0, classSet_1.default)(this.steps[index], (_b = {}, + _b[this.opts.activeStepClass] = true, + _b)); + this.currentStep = index; + }; + Wizard.prototype.onClickPrev = function () { + this.goToPrevStep(); + }; + Wizard.prototype.onClickNext = function () { + this.goToNextStep(); + }; + Wizard.prototype.onStepActive = function () { + var e = { + numSteps: this.numSteps, + step: this.currentStep, + }; + this.core.emit('plugins.wizard.step.active', e); + this.opts.onStepActive(e); + }; + Wizard.prototype.onStepValid = function () { + var e = { + numSteps: this.numSteps, + step: this.currentStep, + }; + this.core.emit('plugins.wizard.step.valid', e); + this.opts.onStepValid(e); + }; + Wizard.prototype.onStepInvalid = function () { + var e = { + numSteps: this.numSteps, + step: this.currentStep, + }; + this.core.emit('plugins.wizard.step.invalid', e); + this.opts.onStepInvalid(e); + }; + Wizard.prototype.onValid = function () { + var e = { + numSteps: this.numSteps, + }; + this.core.emit('plugins.wizard.valid', e); + this.opts.onValid(e); + }; + Wizard.EXCLUDED_PLUGIN = '___wizardExcluded'; + return Wizard; + }(Plugin_1.default)); + exports.default = Wizard; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/plugins/index.js b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/index.js new file mode 100644 index 0000000..384c445 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/plugins/index.js @@ -0,0 +1,20 @@ +define(["require", "exports", "./Alias", "./Aria", "./Declarative", "./DefaultSubmit", "./Dependency", "./Excluded", "./FieldStatus", "./Framework", "./Icon", "./Message", "./Sequence", "./SubmitButton", "./Tooltip", "./Trigger"], function (require, exports, Alias_1, Aria_1, Declarative_1, DefaultSubmit_1, Dependency_1, Excluded_1, FieldStatus_1, Framework_1, Icon_1, Message_1, Sequence_1, SubmitButton_1, Tooltip_1, Trigger_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + Alias: Alias_1.default, + Aria: Aria_1.default, + Declarative: Declarative_1.default, + DefaultSubmit: DefaultSubmit_1.default, + Dependency: Dependency_1.default, + Excluded: Excluded_1.default, + FieldStatus: FieldStatus_1.default, + Framework: Framework_1.default, + Icon: Icon_1.default, + Message: Message_1.default, + Sequence: Sequence_1.default, + SubmitButton: SubmitButton_1.default, + Tooltip: Tooltip_1.default, + Trigger: Trigger_1.default, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/utils/call.js b/resources/assets/core/plugins/formvalidation/dist/amd/utils/call.js new file mode 100644 index 0000000..8ab5875 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/utils/call.js @@ -0,0 +1,24 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function call(functionName, args) { + if ('function' === typeof functionName) { + return functionName.apply(this, args); + } + else if ('string' === typeof functionName) { + var name_1 = functionName; + if ('()' === name_1.substring(name_1.length - 2)) { + name_1 = name_1.substring(0, name_1.length - 2); + } + var ns = name_1.split('.'); + var func = ns.pop(); + var context_1 = window; + for (var _i = 0, ns_1 = ns; _i < ns_1.length; _i++) { + var t = ns_1[_i]; + context_1 = context_1[t]; + } + return typeof context_1[func] === 'undefined' ? null : context_1[func].apply(this, args); + } + } + exports.default = call; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/utils/classSet.js b/resources/assets/core/plugins/formvalidation/dist/amd/utils/classSet.js new file mode 100644 index 0000000..1d45233 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/utils/classSet.js @@ -0,0 +1,33 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function addClass(element, classes) { + classes.split(' ').forEach(function (clazz) { + if (element.classList) { + element.classList.add(clazz); + } + else if ((" " + element.className + " ").indexOf(" " + clazz + " ")) { + element.className += " " + clazz; + } + }); + } + function removeClass(element, classes) { + classes.split(' ').forEach(function (clazz) { + element.classList + ? element.classList.remove(clazz) + : (element.className = element.className.replace(clazz, '')); + }); + } + function classSet(element, classes) { + var adding = []; + var removing = []; + Object.keys(classes).forEach(function (clazz) { + if (clazz) { + classes[clazz] ? adding.push(clazz) : removing.push(clazz); + } + }); + removing.forEach(function (clazz) { return removeClass(element, clazz); }); + adding.forEach(function (clazz) { return addClass(element, clazz); }); + } + exports.default = classSet; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/utils/closest.js b/resources/assets/core/plugins/formvalidation/dist/amd/utils/closest.js new file mode 100644 index 0000000..7af9dd1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/utils/closest.js @@ -0,0 +1,26 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function matches(element, selector) { + var nativeMatches = element.matches || + element.webkitMatchesSelector || + element['mozMatchesSelector'] || + element['msMatchesSelector']; + if (nativeMatches) { + return nativeMatches.call(element, selector); + } + var nodes = [].slice.call(element.parentElement.querySelectorAll(selector)); + return nodes.indexOf(element) >= 0; + } + function closest(element, selector) { + var ele = element; + while (ele) { + if (matches(ele, selector)) { + break; + } + ele = ele.parentElement; + } + return ele; + } + exports.default = closest; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/utils/fetch.js b/resources/assets/core/plugins/formvalidation/dist/amd/utils/fetch.js new file mode 100644 index 0000000..3dbfcf4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/utils/fetch.js @@ -0,0 +1,54 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function fetch(url, options) { + var toQuery = function (obj) { + return Object.keys(obj) + .map(function (k) { return encodeURIComponent(k) + "=" + encodeURIComponent(obj[k]); }) + .join('&'); + }; + return new Promise(function (resolve, reject) { + var opts = Object.assign({}, { + crossDomain: false, + headers: {}, + method: 'GET', + params: {}, + }, options); + var params = Object.keys(opts.params) + .map(function (k) { return encodeURIComponent(k) + "=" + encodeURIComponent(opts.params[k]); }) + .join('&'); + var hasQuery = url.indexOf('?'); + var requestUrl = 'GET' === opts.method ? "" + url + (hasQuery ? '?' : '&') + params : url; + if (opts.crossDomain) { + var script_1 = document.createElement('script'); + var callback_1 = "___fetch" + Date.now() + "___"; + window[callback_1] = function (data) { + delete window[callback_1]; + resolve(data); + }; + script_1.src = "" + requestUrl + (hasQuery ? '&' : '?') + "callback=" + callback_1; + script_1.async = true; + script_1.addEventListener('load', function () { + script_1.parentNode.removeChild(script_1); + }); + script_1.addEventListener('error', function () { return reject; }); + document.head.appendChild(script_1); + } + else { + var request_1 = new XMLHttpRequest(); + request_1.open(opts.method, requestUrl); + request_1.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); + if ('POST' === opts.method) { + request_1.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); + } + Object.keys(opts.headers).forEach(function (k) { return request_1.setRequestHeader(k, opts.headers[k]); }); + request_1.addEventListener('load', function () { + resolve(JSON.parse(this.responseText)); + }); + request_1.addEventListener('error', function () { return reject; }); + request_1.send(toQuery(opts.params)); + } + }); + } + exports.default = fetch; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/utils/format.js b/resources/assets/core/plugins/formvalidation/dist/amd/utils/format.js new file mode 100644 index 0000000..7597daa --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/utils/format.js @@ -0,0 +1,13 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function format(message, parameters) { + var params = Array.isArray(parameters) ? parameters : [parameters]; + var output = message; + params.forEach(function (p) { + output = output.replace('%s', p); + }); + return output; + } + exports.default = format; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/utils/hasClass.js b/resources/assets/core/plugins/formvalidation/dist/amd/utils/hasClass.js new file mode 100644 index 0000000..21021dd --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/utils/hasClass.js @@ -0,0 +1,10 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function hasClass(element, clazz) { + return element.classList + ? element.classList.contains(clazz) + : new RegExp("(^| )" + clazz + "( |$)", 'gi').test(element.className); + } + exports.default = hasClass; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/utils/index.js b/resources/assets/core/plugins/formvalidation/dist/amd/utils/index.js new file mode 100644 index 0000000..70e0999 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/utils/index.js @@ -0,0 +1,13 @@ +define(["require", "exports", "./call", "./classSet", "./closest", "./fetch", "./format", "./hasClass", "./isValidDate"], function (require, exports, call_1, classSet_1, closest_1, fetch_1, format_1, hasClass_1, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + call: call_1.default, + classSet: classSet_1.default, + closest: closest_1.default, + fetch: fetch_1.default, + format: format_1.default, + hasClass: hasClass_1.default, + isValidDate: isValidDate_1.default, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/utils/isValidDate.js b/resources/assets/core/plugins/formvalidation/dist/amd/utils/isValidDate.js new file mode 100644 index 0000000..e6d49a9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/utils/isValidDate.js @@ -0,0 +1,40 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function isValidDate(year, month, day, notInFuture) { + if (isNaN(year) || isNaN(month) || isNaN(day)) { + return false; + } + if (year < 1000 || year > 9999 || month <= 0 || month > 12) { + return false; + } + var numDays = [ + 31, + year % 400 === 0 || (year % 100 !== 0 && year % 4 === 0) ? 29 : 28, + 31, + 30, + 31, + 30, + 31, + 31, + 30, + 31, + 30, + 31, + ]; + if (day <= 0 || day > numDays[month - 1]) { + return false; + } + if (notInFuture === true) { + var currentDate = new Date(); + var currentYear = currentDate.getFullYear(); + var currentMonth = currentDate.getMonth(); + var currentDay = currentDate.getDate(); + return (year < currentYear || + (year === currentYear && month - 1 < currentMonth) || + (year === currentYear && month - 1 === currentMonth && day < currentDay)); + } + return true; + } + exports.default = isValidDate; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/base64.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/base64.js new file mode 100644 index 0000000..546a7ff --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/base64.js @@ -0,0 +1,15 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function base64() { + return { + validate: function (input) { + return { + valid: input.value === '' || + /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/.test(input.value), + }; + }, + }; + } + exports.default = base64; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/between.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/between.js new file mode 100644 index 0000000..17932f2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/between.js @@ -0,0 +1,36 @@ +define(["require", "exports", "../utils/format"], function (require, exports, format_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function between() { + var formatValue = function (value) { + return parseFloat(("" + value).replace(',', '.')); + }; + return { + validate: function (input) { + var value = input.value; + if (value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { inclusive: true, message: '' }, input.options); + var minValue = formatValue(opts.min); + var maxValue = formatValue(opts.max); + return opts.inclusive + ? { + message: (0, format_1.default)(input.l10n ? opts.message || input.l10n.between.default : opts.message, [ + "" + minValue, + "" + maxValue, + ]), + valid: parseFloat(value) >= minValue && parseFloat(value) <= maxValue, + } + : { + message: (0, format_1.default)(input.l10n ? opts.message || input.l10n.between.notInclusive : opts.message, [ + "" + minValue, + "" + maxValue, + ]), + valid: parseFloat(value) > minValue && parseFloat(value) < maxValue, + }; + }, + }; + } + exports.default = between; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/bic.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/bic.js new file mode 100644 index 0000000..e511987 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/bic.js @@ -0,0 +1,14 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function bic() { + return { + validate: function (input) { + return { + valid: input.value === '' || /^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$/.test(input.value), + }; + }, + }; + } + exports.default = bic; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/blank.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/blank.js new file mode 100644 index 0000000..51debf2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/blank.js @@ -0,0 +1,12 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function blank() { + return { + validate: function (_input) { + return { valid: true }; + }, + }; + } + exports.default = blank; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/callback.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/callback.js new file mode 100644 index 0000000..3325cd6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/callback.js @@ -0,0 +1,15 @@ +define(["require", "exports", "../utils/call"], function (require, exports, call_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function callback() { + return { + validate: function (input) { + var response = (0, call_1.default)(input.options.callback, [input]); + return 'boolean' === typeof response + ? { valid: response } + : response; + }, + }; + } + exports.default = callback; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/choice.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/choice.js new file mode 100644 index 0000000..e393bf7 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/choice.js @@ -0,0 +1,35 @@ +define(["require", "exports", "../utils/format"], function (require, exports, format_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function choice() { + return { + validate: function (input) { + var numChoices = 'select' === input.element.tagName.toLowerCase() + ? input.element.querySelectorAll('option:checked').length + : input.elements.filter(function (ele) { return ele.checked; }).length; + var min = input.options.min ? "" + input.options.min : ''; + var max = input.options.max ? "" + input.options.max : ''; + var msg = input.l10n ? input.options.message || input.l10n.choice.default : input.options.message; + var isValid = !((min && numChoices < parseInt(min, 10)) || (max && numChoices > parseInt(max, 10))); + switch (true) { + case !!min && !!max: + msg = (0, format_1.default)(input.l10n ? input.l10n.choice.between : input.options.message, [min, max]); + break; + case !!min: + msg = (0, format_1.default)(input.l10n ? input.l10n.choice.more : input.options.message, min); + break; + case !!max: + msg = (0, format_1.default)(input.l10n ? input.l10n.choice.less : input.options.message, max); + break; + default: + break; + } + return { + message: msg, + valid: isValid, + }; + }, + }; + } + exports.default = choice; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/color.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/color.js new file mode 100644 index 0000000..dc21df5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/color.js @@ -0,0 +1,219 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function color() { + var SUPPORTED_TYPES = ['hex', 'rgb', 'rgba', 'hsl', 'hsla', 'keyword']; + var KEYWORD_COLORS = [ + 'aliceblue', + 'antiquewhite', + 'aqua', + 'aquamarine', + 'azure', + 'beige', + 'bisque', + 'black', + 'blanchedalmond', + 'blue', + 'blueviolet', + 'brown', + 'burlywood', + 'cadetblue', + 'chartreuse', + 'chocolate', + 'coral', + 'cornflowerblue', + 'cornsilk', + 'crimson', + 'cyan', + 'darkblue', + 'darkcyan', + 'darkgoldenrod', + 'darkgray', + 'darkgreen', + 'darkgrey', + 'darkkhaki', + 'darkmagenta', + 'darkolivegreen', + 'darkorange', + 'darkorchid', + 'darkred', + 'darksalmon', + 'darkseagreen', + 'darkslateblue', + 'darkslategray', + 'darkslategrey', + 'darkturquoise', + 'darkviolet', + 'deeppink', + 'deepskyblue', + 'dimgray', + 'dimgrey', + 'dodgerblue', + 'firebrick', + 'floralwhite', + 'forestgreen', + 'fuchsia', + 'gainsboro', + 'ghostwhite', + 'gold', + 'goldenrod', + 'gray', + 'green', + 'greenyellow', + 'grey', + 'honeydew', + 'hotpink', + 'indianred', + 'indigo', + 'ivory', + 'khaki', + 'lavender', + 'lavenderblush', + 'lawngreen', + 'lemonchiffon', + 'lightblue', + 'lightcoral', + 'lightcyan', + 'lightgoldenrodyellow', + 'lightgray', + 'lightgreen', + 'lightgrey', + 'lightpink', + 'lightsalmon', + 'lightseagreen', + 'lightskyblue', + 'lightslategray', + 'lightslategrey', + 'lightsteelblue', + 'lightyellow', + 'lime', + 'limegreen', + 'linen', + 'magenta', + 'maroon', + 'mediumaquamarine', + 'mediumblue', + 'mediumorchid', + 'mediumpurple', + 'mediumseagreen', + 'mediumslateblue', + 'mediumspringgreen', + 'mediumturquoise', + 'mediumvioletred', + 'midnightblue', + 'mintcream', + 'mistyrose', + 'moccasin', + 'navajowhite', + 'navy', + 'oldlace', + 'olive', + 'olivedrab', + 'orange', + 'orangered', + 'orchid', + 'palegoldenrod', + 'palegreen', + 'paleturquoise', + 'palevioletred', + 'papayawhip', + 'peachpuff', + 'peru', + 'pink', + 'plum', + 'powderblue', + 'purple', + 'red', + 'rosybrown', + 'royalblue', + 'saddlebrown', + 'salmon', + 'sandybrown', + 'seagreen', + 'seashell', + 'sienna', + 'silver', + 'skyblue', + 'slateblue', + 'slategray', + 'slategrey', + 'snow', + 'springgreen', + 'steelblue', + 'tan', + 'teal', + 'thistle', + 'tomato', + 'transparent', + 'turquoise', + 'violet', + 'wheat', + 'white', + 'whitesmoke', + 'yellow', + 'yellowgreen', + ]; + var hex = function (value) { + return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(value); + }; + var hsl = function (value) { + return /^hsl\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(value); + }; + var hsla = function (value) { + return /^hsla\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(value); + }; + var keyword = function (value) { + return KEYWORD_COLORS.indexOf(value) >= 0; + }; + var rgb = function (value) { + return (/^rgb\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){2}(\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*)\)$/.test(value) || /^rgb\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(value)); + }; + var rgba = function (value) { + return (/^rgba\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(value) || + /^rgba\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(value)); + }; + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var types = typeof input.options.type === 'string' + ? input.options.type.toString().replace(/s/g, '').split(',') + : input.options.type || SUPPORTED_TYPES; + for (var _i = 0, types_1 = types; _i < types_1.length; _i++) { + var type = types_1[_i]; + var tpe = type.toLowerCase(); + if (SUPPORTED_TYPES.indexOf(tpe) === -1) { + continue; + } + var result = true; + switch (tpe) { + case 'hex': + result = hex(input.value); + break; + case 'hsl': + result = hsl(input.value); + break; + case 'hsla': + result = hsla(input.value); + break; + case 'keyword': + result = keyword(input.value); + break; + case 'rgb': + result = rgb(input.value); + break; + case 'rgba': + result = rgba(input.value); + break; + } + if (result) { + return { valid: true }; + } + } + return { valid: false }; + }, + }; + } + exports.default = color; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/creditCard.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/creditCard.js new file mode 100644 index 0000000..4275b63 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/creditCard.js @@ -0,0 +1,200 @@ +define(["require", "exports", "../algorithms/luhn"], function (require, exports, luhn_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.CREDIT_CARD_TYPES = void 0; + var CREDIT_CARD_TYPES = { + AMERICAN_EXPRESS: { + length: [15], + prefix: ['34', '37'], + }, + DANKORT: { + length: [16], + prefix: ['5019'], + }, + DINERS_CLUB: { + length: [14], + prefix: ['300', '301', '302', '303', '304', '305', '36'], + }, + DINERS_CLUB_US: { + length: [16], + prefix: ['54', '55'], + }, + DISCOVER: { + length: [16], + prefix: [ + '6011', + '622126', + '622127', + '622128', + '622129', + '62213', + '62214', + '62215', + '62216', + '62217', + '62218', + '62219', + '6222', + '6223', + '6224', + '6225', + '6226', + '6227', + '6228', + '62290', + '62291', + '622920', + '622921', + '622922', + '622923', + '622924', + '622925', + '644', + '645', + '646', + '647', + '648', + '649', + '65', + ], + }, + ELO: { + length: [16], + prefix: [ + '4011', + '4312', + '4389', + '4514', + '4573', + '4576', + '5041', + '5066', + '5067', + '509', + '6277', + '6362', + '6363', + '650', + '6516', + '6550', + ], + }, + FORBRUGSFORENINGEN: { + length: [16], + prefix: ['600722'], + }, + JCB: { + length: [16], + prefix: ['3528', '3529', '353', '354', '355', '356', '357', '358'], + }, + LASER: { + length: [16, 17, 18, 19], + prefix: ['6304', '6706', '6771', '6709'], + }, + MAESTRO: { + length: [12, 13, 14, 15, 16, 17, 18, 19], + prefix: ['5018', '5020', '5038', '5868', '6304', '6759', '6761', '6762', '6763', '6764', '6765', '6766'], + }, + MASTERCARD: { + length: [16], + prefix: ['51', '52', '53', '54', '55'], + }, + SOLO: { + length: [16, 18, 19], + prefix: ['6334', '6767'], + }, + UNIONPAY: { + length: [16, 17, 18, 19], + prefix: [ + '622126', + '622127', + '622128', + '622129', + '62213', + '62214', + '62215', + '62216', + '62217', + '62218', + '62219', + '6222', + '6223', + '6224', + '6225', + '6226', + '6227', + '6228', + '62290', + '62291', + '622920', + '622921', + '622922', + '622923', + '622924', + '622925', + ], + }, + VISA: { + length: [16], + prefix: ['4'], + }, + VISA_ELECTRON: { + length: [16], + prefix: ['4026', '417500', '4405', '4508', '4844', '4913', '4917'], + }, + }; + exports.CREDIT_CARD_TYPES = CREDIT_CARD_TYPES; + function creditCard() { + return { + validate: function (input) { + if (input.value === '') { + return { + meta: { + type: null, + }, + valid: true, + }; + } + if (/[^0-9-\s]+/.test(input.value)) { + return { + meta: { + type: null, + }, + valid: false, + }; + } + var v = input.value.replace(/\D/g, ''); + if (!(0, luhn_1.default)(v)) { + return { + meta: { + type: null, + }, + valid: false, + }; + } + for (var _i = 0, _a = Object.keys(CREDIT_CARD_TYPES); _i < _a.length; _i++) { + var tpe = _a[_i]; + for (var i in CREDIT_CARD_TYPES[tpe].prefix) { + if (input.value.substr(0, CREDIT_CARD_TYPES[tpe].prefix[i].length) === + CREDIT_CARD_TYPES[tpe].prefix[i] && + CREDIT_CARD_TYPES[tpe].length.indexOf(v.length) !== -1) { + return { + meta: { + type: tpe, + }, + valid: true, + }; + } + } + } + return { + meta: { + type: null, + }, + valid: false, + }; + }, + }; + } + exports.default = creditCard; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/cusip.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/cusip.js new file mode 100644 index 0000000..71bd0be --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/cusip.js @@ -0,0 +1,43 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function cusip() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var value = input.value.toUpperCase(); + if (!/^[0123456789ABCDEFGHJKLMNPQRSTUVWXYZ*@#]{9}$/.test(value)) { + return { valid: false }; + } + var chars = value.split(''); + var lastChar = chars.pop(); + var converted = chars.map(function (c) { + var code = c.charCodeAt(0); + switch (true) { + case c === '*': + return 36; + case c === '@': + return 37; + case c === '#': + return 38; + case code >= 'A'.charCodeAt(0) && code <= 'Z'.charCodeAt(0): + return code - 'A'.charCodeAt(0) + 10; + default: + return parseInt(c, 10); + } + }); + var sum = converted + .map(function (v, i) { + var double = i % 2 === 0 ? v : 2 * v; + return Math.floor(double / 10) + (double % 10); + }) + .reduce(function (a, b) { return a + b; }, 0); + var checkDigit = (10 - (sum % 10)) % 10; + return { valid: lastChar === "" + checkDigit }; + }, + }; + } + exports.default = cusip; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/date.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/date.js new file mode 100644 index 0000000..6ed721d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/date.js @@ -0,0 +1,210 @@ +define(["require", "exports", "../utils/format", "../utils/isValidDate"], function (require, exports, format_1, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function date() { + var parseDate = function (input, inputFormat, separator) { + var yearIndex = inputFormat.indexOf('YYYY'); + var monthIndex = inputFormat.indexOf('MM'); + var dayIndex = inputFormat.indexOf('DD'); + if (yearIndex === -1 || monthIndex === -1 || dayIndex === -1) { + return null; + } + var sections = input.split(' '); + var dateSection = sections[0].split(separator); + if (dateSection.length < 3) { + return null; + } + var d = new Date(parseInt(dateSection[yearIndex], 10), parseInt(dateSection[monthIndex], 10) - 1, parseInt(dateSection[dayIndex], 10)); + if (sections.length > 1) { + var timeSection = sections[1].split(':'); + d.setHours(timeSection.length > 0 ? parseInt(timeSection[0], 10) : 0); + d.setMinutes(timeSection.length > 1 ? parseInt(timeSection[1], 10) : 0); + d.setSeconds(timeSection.length > 2 ? parseInt(timeSection[2], 10) : 0); + } + return d; + }; + var formatDate = function (input, inputFormat) { + var dateFormat = inputFormat + .replace(/Y/g, 'y') + .replace(/M/g, 'm') + .replace(/D/g, 'd') + .replace(/:m/g, ':M') + .replace(/:mm/g, ':MM') + .replace(/:S/, ':s') + .replace(/:SS/, ':ss'); + var d = input.getDate(); + var dd = d < 10 ? "0" + d : d; + var m = input.getMonth() + 1; + var mm = m < 10 ? "0" + m : m; + var yy = ("" + input.getFullYear()).substr(2); + var yyyy = input.getFullYear(); + var h = input.getHours() % 12 || 12; + var hh = h < 10 ? "0" + h : h; + var H = input.getHours(); + var HH = H < 10 ? "0" + H : H; + var M = input.getMinutes(); + var MM = M < 10 ? "0" + M : M; + var s = input.getSeconds(); + var ss = s < 10 ? "0" + s : s; + var replacer = { + H: "" + H, + HH: "" + HH, + M: "" + M, + MM: "" + MM, + d: "" + d, + dd: "" + dd, + h: "" + h, + hh: "" + hh, + m: "" + m, + mm: "" + mm, + s: "" + s, + ss: "" + ss, + yy: "" + yy, + yyyy: "" + yyyy, + }; + return dateFormat.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMs])\1?|"[^"]*"|'[^']*'/g, function (match) { + return replacer[match] ? replacer[match] : match.slice(1, match.length - 1); + }); + }; + return { + validate: function (input) { + if (input.value === '') { + return { + meta: { + date: null, + }, + valid: true, + }; + } + var opts = Object.assign({}, { + format: input.element && input.element.getAttribute('type') === 'date' ? 'YYYY-MM-DD' : 'MM/DD/YYYY', + message: '', + }, input.options); + var message = input.l10n ? input.l10n.date.default : opts.message; + var invalidResult = { + message: "" + message, + meta: { + date: null, + }, + valid: false, + }; + var formats = opts.format.split(' '); + var timeFormat = formats.length > 1 ? formats[1] : null; + var amOrPm = formats.length > 2 ? formats[2] : null; + var sections = input.value.split(' '); + var dateSection = sections[0]; + var timeSection = sections.length > 1 ? sections[1] : null; + if (formats.length !== sections.length) { + return invalidResult; + } + var separator = opts.separator || + (dateSection.indexOf('/') !== -1 + ? '/' + : dateSection.indexOf('-') !== -1 + ? '-' + : dateSection.indexOf('.') !== -1 + ? '.' + : '/'); + if (separator === null || dateSection.indexOf(separator) === -1) { + return invalidResult; + } + var dateStr = dateSection.split(separator); + var dateFormat = formats[0].split(separator); + if (dateStr.length !== dateFormat.length) { + return invalidResult; + } + var yearStr = dateStr[dateFormat.indexOf('YYYY')]; + var monthStr = dateStr[dateFormat.indexOf('MM')]; + var dayStr = dateStr[dateFormat.indexOf('DD')]; + if (!/^\d+$/.test(yearStr) || + !/^\d+$/.test(monthStr) || + !/^\d+$/.test(dayStr) || + yearStr.length > 4 || + monthStr.length > 2 || + dayStr.length > 2) { + return invalidResult; + } + var year = parseInt(yearStr, 10); + var month = parseInt(monthStr, 10); + var day = parseInt(dayStr, 10); + if (!(0, isValidDate_1.default)(year, month, day)) { + return invalidResult; + } + var d = new Date(year, month - 1, day); + if (timeFormat) { + var hms = timeSection.split(':'); + if (timeFormat.split(':').length !== hms.length) { + return invalidResult; + } + var h = hms.length > 0 ? (hms[0].length <= 2 && /^\d+$/.test(hms[0]) ? parseInt(hms[0], 10) : -1) : 0; + var m = hms.length > 1 ? (hms[1].length <= 2 && /^\d+$/.test(hms[1]) ? parseInt(hms[1], 10) : -1) : 0; + var s = hms.length > 2 ? (hms[2].length <= 2 && /^\d+$/.test(hms[2]) ? parseInt(hms[2], 10) : -1) : 0; + if (h === -1 || m === -1 || s === -1) { + return invalidResult; + } + if (s < 0 || s > 60) { + return invalidResult; + } + if (h < 0 || h >= 24 || (amOrPm && h > 12)) { + return invalidResult; + } + if (m < 0 || m > 59) { + return invalidResult; + } + d.setHours(h); + d.setMinutes(m); + d.setSeconds(s); + } + var minOption = typeof opts.min === 'function' ? opts.min() : opts.min; + var min = minOption instanceof Date + ? minOption + : minOption + ? parseDate(minOption, dateFormat, separator) + : d; + var maxOption = typeof opts.max === 'function' ? opts.max() : opts.max; + var max = maxOption instanceof Date + ? maxOption + : maxOption + ? parseDate(maxOption, dateFormat, separator) + : d; + var minOptionStr = minOption instanceof Date ? formatDate(min, opts.format) : minOption; + var maxOptionStr = maxOption instanceof Date ? formatDate(max, opts.format) : maxOption; + switch (true) { + case !!minOptionStr && !maxOptionStr: + return { + message: (0, format_1.default)(input.l10n ? input.l10n.date.min : message, minOptionStr), + meta: { + date: d, + }, + valid: d.getTime() >= min.getTime(), + }; + case !!maxOptionStr && !minOptionStr: + return { + message: (0, format_1.default)(input.l10n ? input.l10n.date.max : message, maxOptionStr), + meta: { + date: d, + }, + valid: d.getTime() <= max.getTime(), + }; + case !!maxOptionStr && !!minOptionStr: + return { + message: (0, format_1.default)(input.l10n ? input.l10n.date.range : message, [minOptionStr, maxOptionStr]), + meta: { + date: d, + }, + valid: d.getTime() <= max.getTime() && d.getTime() >= min.getTime(), + }; + default: + return { + message: "" + message, + meta: { + date: d, + }, + valid: true, + }; + } + }, + }; + } + exports.default = date; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/different.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/different.js new file mode 100644 index 0000000..4b61e05 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/different.js @@ -0,0 +1,17 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function different() { + return { + validate: function (input) { + var compareWith = 'function' === typeof input.options.compare + ? input.options.compare.call(this) + : input.options.compare; + return { + valid: compareWith === '' || input.value !== compareWith, + }; + }, + }; + } + exports.default = different; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/digits.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/digits.js new file mode 100644 index 0000000..3d6afcf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/digits.js @@ -0,0 +1,12 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function digits() { + return { + validate: function (input) { + return { valid: input.value === '' || /^\d+$/.test(input.value) }; + }, + }; + } + exports.default = digits; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/ean.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/ean.js new file mode 100644 index 0000000..c14af1f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/ean.js @@ -0,0 +1,25 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function ean() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + if (!/^(\d{8}|\d{12}|\d{13}|\d{14})$/.test(input.value)) { + return { valid: false }; + } + var length = input.value.length; + var sum = 0; + var weight = length === 8 ? [3, 1] : [1, 3]; + for (var i = 0; i < length - 1; i++) { + sum += parseInt(input.value.charAt(i), 10) * weight[i % 2]; + } + sum = (10 - (sum % 10)) % 10; + return { valid: "" + sum === input.value.charAt(length - 1) }; + }, + }; + } + exports.default = ean; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/ein.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/ein.js new file mode 100644 index 0000000..ad96a88 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/ein.js @@ -0,0 +1,109 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function ein() { + var CAMPUS = { + ANDOVER: ['10', '12'], + ATLANTA: ['60', '67'], + AUSTIN: ['50', '53'], + BROOKHAVEN: [ + '01', + '02', + '03', + '04', + '05', + '06', + '11', + '13', + '14', + '16', + '21', + '22', + '23', + '25', + '34', + '51', + '52', + '54', + '55', + '56', + '57', + '58', + '59', + '65', + ], + CINCINNATI: ['30', '32', '35', '36', '37', '38', '61'], + FRESNO: ['15', '24'], + INTERNET: ['20', '26', '27', '45', '46', '47'], + KANSAS_CITY: ['40', '44'], + MEMPHIS: ['94', '95'], + OGDEN: ['80', '90'], + PHILADELPHIA: [ + '33', + '39', + '41', + '42', + '43', + '48', + '62', + '63', + '64', + '66', + '68', + '71', + '72', + '73', + '74', + '75', + '76', + '77', + '81', + '82', + '83', + '84', + '85', + '86', + '87', + '88', + '91', + '92', + '93', + '98', + '99', + ], + SMALL_BUSINESS_ADMINISTRATION: ['31'], + }; + return { + validate: function (input) { + if (input.value === '') { + return { + meta: null, + valid: true, + }; + } + if (!/^[0-9]{2}-?[0-9]{7}$/.test(input.value)) { + return { + meta: null, + valid: false, + }; + } + var campus = "" + input.value.substr(0, 2); + for (var key in CAMPUS) { + if (CAMPUS[key].indexOf(campus) !== -1) { + return { + meta: { + campus: key, + }, + valid: true, + }; + } + } + return { + meta: null, + valid: false, + }; + }, + }; + } + exports.default = ein; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/emailAddress.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/emailAddress.js new file mode 100644 index 0000000..0c61e69 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/emailAddress.js @@ -0,0 +1,64 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function emailAddress() { + var splitEmailAddresses = function (emailAddresses, separator) { + var quotedFragments = emailAddresses.split(/"/); + var quotedFragmentCount = quotedFragments.length; + var emailAddressArray = []; + var nextEmailAddress = ''; + for (var i = 0; i < quotedFragmentCount; i++) { + if (i % 2 === 0) { + var splitEmailAddressFragments = quotedFragments[i].split(separator); + var splitEmailAddressFragmentCount = splitEmailAddressFragments.length; + if (splitEmailAddressFragmentCount === 1) { + nextEmailAddress += splitEmailAddressFragments[0]; + } + else { + emailAddressArray.push(nextEmailAddress + splitEmailAddressFragments[0]); + for (var j = 1; j < splitEmailAddressFragmentCount - 1; j++) { + emailAddressArray.push(splitEmailAddressFragments[j]); + } + nextEmailAddress = splitEmailAddressFragments[splitEmailAddressFragmentCount - 1]; + } + } + else { + nextEmailAddress += '"' + quotedFragments[i]; + if (i < quotedFragmentCount - 1) { + nextEmailAddress += '"'; + } + } + } + emailAddressArray.push(nextEmailAddress); + return emailAddressArray; + }; + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { + multiple: false, + separator: /[,;]/, + }, input.options); + var emailRegExp = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/; + var allowMultiple = opts.multiple === true || "" + opts.multiple === 'true'; + if (allowMultiple) { + var separator = opts.separator || /[,;]/; + var addresses = splitEmailAddresses(input.value, separator); + var length_1 = addresses.length; + for (var i = 0; i < length_1; i++) { + if (!emailRegExp.test(addresses[i])) { + return { valid: false }; + } + } + return { valid: true }; + } + else { + return { valid: emailRegExp.test(input.value) }; + } + }, + }; + } + exports.default = emailAddress; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/file.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/file.js new file mode 100644 index 0000000..7269a7c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/file.js @@ -0,0 +1,101 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function file() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var extension; + var extensions = input.options.extension ? input.options.extension.toLowerCase().split(',') : null; + var types = input.options.type ? input.options.type.toLowerCase().split(',') : null; + var html5 = window['File'] && window['FileList'] && window['FileReader']; + if (html5) { + var files = input.element.files; + var total = files.length; + var allSize = 0; + if (input.options.maxFiles && total > parseInt("" + input.options.maxFiles, 10)) { + return { + meta: { error: 'INVALID_MAX_FILES' }, + valid: false, + }; + } + if (input.options.minFiles && total < parseInt("" + input.options.minFiles, 10)) { + return { + meta: { error: 'INVALID_MIN_FILES' }, + valid: false, + }; + } + var metaData = {}; + for (var i = 0; i < total; i++) { + allSize += files[i].size; + extension = files[i].name.substr(files[i].name.lastIndexOf('.') + 1); + metaData = { + ext: extension, + file: files[i], + size: files[i].size, + type: files[i].type, + }; + if (input.options.minSize && files[i].size < parseInt("" + input.options.minSize, 10)) { + return { + meta: Object.assign({}, { error: 'INVALID_MIN_SIZE' }, metaData), + valid: false, + }; + } + if (input.options.maxSize && files[i].size > parseInt("" + input.options.maxSize, 10)) { + return { + meta: Object.assign({}, { error: 'INVALID_MAX_SIZE' }, metaData), + valid: false, + }; + } + if (extensions && extensions.indexOf(extension.toLowerCase()) === -1) { + return { + meta: Object.assign({}, { error: 'INVALID_EXTENSION' }, metaData), + valid: false, + }; + } + if (files[i].type && types && types.indexOf(files[i].type.toLowerCase()) === -1) { + return { + meta: Object.assign({}, { error: 'INVALID_TYPE' }, metaData), + valid: false, + }; + } + } + if (input.options.maxTotalSize && allSize > parseInt("" + input.options.maxTotalSize, 10)) { + return { + meta: Object.assign({}, { + error: 'INVALID_MAX_TOTAL_SIZE', + totalSize: allSize, + }, metaData), + valid: false, + }; + } + if (input.options.minTotalSize && allSize < parseInt("" + input.options.minTotalSize, 10)) { + return { + meta: Object.assign({}, { + error: 'INVALID_MIN_TOTAL_SIZE', + totalSize: allSize, + }, metaData), + valid: false, + }; + } + } + else { + extension = input.value.substr(input.value.lastIndexOf('.') + 1); + if (extensions && extensions.indexOf(extension.toLowerCase()) === -1) { + return { + meta: { + error: 'INVALID_EXTENSION', + ext: extension, + }, + valid: false, + }; + } + } + return { valid: true }; + }, + }; + } + exports.default = file; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/greaterThan.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/greaterThan.js new file mode 100644 index 0000000..44a6838 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/greaterThan.js @@ -0,0 +1,25 @@ +define(["require", "exports", "../utils/format"], function (require, exports, format_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function greaterThan() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { inclusive: true, message: '' }, input.options); + var minValue = parseFloat(("" + opts.min).replace(',', '.')); + return opts.inclusive + ? { + message: (0, format_1.default)(input.l10n ? opts.message || input.l10n.greaterThan.default : opts.message, "" + minValue), + valid: parseFloat(input.value) >= minValue, + } + : { + message: (0, format_1.default)(input.l10n ? opts.message || input.l10n.greaterThan.notInclusive : opts.message, "" + minValue), + valid: parseFloat(input.value) > minValue, + }; + }, + }; + } + exports.default = greaterThan; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/grid.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/grid.js new file mode 100644 index 0000000..f93b834 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/grid.js @@ -0,0 +1,23 @@ +define(["require", "exports", "../algorithms/mod37And36"], function (require, exports, mod37And36_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function grid() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var v = input.value.toUpperCase(); + if (!/^[GRID:]*([0-9A-Z]{2})[-\s]*([0-9A-Z]{5})[-\s]*([0-9A-Z]{10})[-\s]*([0-9A-Z]{1})$/g.test(v)) { + return { valid: false }; + } + v = v.replace(/\s/g, '').replace(/-/g, ''); + if ('GRID:' === v.substr(0, 5)) { + v = v.substr(5); + } + return { valid: (0, mod37And36_1.default)(v) }; + }, + }; + } + exports.default = grid; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/hex.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/hex.js new file mode 100644 index 0000000..da939e2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/hex.js @@ -0,0 +1,14 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function hex() { + return { + validate: function (input) { + return { + valid: input.value === '' || /^[0-9a-fA-F]+$/.test(input.value), + }; + }, + }; + } + exports.default = hex; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/iban.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/iban.js new file mode 100644 index 0000000..4c783f6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/iban.js @@ -0,0 +1,180 @@ +define(["require", "exports", "../utils/format"], function (require, exports, format_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function iban() { + var IBAN_PATTERNS = { + AD: 'AD[0-9]{2}[0-9]{4}[0-9]{4}[A-Z0-9]{12}', + AE: 'AE[0-9]{2}[0-9]{3}[0-9]{16}', + AL: 'AL[0-9]{2}[0-9]{8}[A-Z0-9]{16}', + AO: 'AO[0-9]{2}[0-9]{21}', + AT: 'AT[0-9]{2}[0-9]{5}[0-9]{11}', + AZ: 'AZ[0-9]{2}[A-Z]{4}[A-Z0-9]{20}', + BA: 'BA[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{8}[0-9]{2}', + BE: 'BE[0-9]{2}[0-9]{3}[0-9]{7}[0-9]{2}', + BF: 'BF[0-9]{2}[0-9]{23}', + BG: 'BG[0-9]{2}[A-Z]{4}[0-9]{4}[0-9]{2}[A-Z0-9]{8}', + BH: 'BH[0-9]{2}[A-Z]{4}[A-Z0-9]{14}', + BI: 'BI[0-9]{2}[0-9]{12}', + BJ: 'BJ[0-9]{2}[A-Z]{1}[0-9]{23}', + BR: 'BR[0-9]{2}[0-9]{8}[0-9]{5}[0-9]{10}[A-Z][A-Z0-9]', + CH: 'CH[0-9]{2}[0-9]{5}[A-Z0-9]{12}', + CI: 'CI[0-9]{2}[A-Z]{1}[0-9]{23}', + CM: 'CM[0-9]{2}[0-9]{23}', + CR: 'CR[0-9]{2}[0-9][0-9]{3}[0-9]{14}', + CV: 'CV[0-9]{2}[0-9]{21}', + CY: 'CY[0-9]{2}[0-9]{3}[0-9]{5}[A-Z0-9]{16}', + CZ: 'CZ[0-9]{2}[0-9]{20}', + DE: 'DE[0-9]{2}[0-9]{8}[0-9]{10}', + DK: 'DK[0-9]{2}[0-9]{14}', + DO: 'DO[0-9]{2}[A-Z0-9]{4}[0-9]{20}', + DZ: 'DZ[0-9]{2}[0-9]{20}', + EE: 'EE[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{11}[0-9]{1}', + ES: 'ES[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{1}[0-9]{1}[0-9]{10}', + FI: 'FI[0-9]{2}[0-9]{6}[0-9]{7}[0-9]{1}', + FO: 'FO[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}', + FR: 'FR[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}', + GB: 'GB[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}', + GE: 'GE[0-9]{2}[A-Z]{2}[0-9]{16}', + GI: 'GI[0-9]{2}[A-Z]{4}[A-Z0-9]{15}', + GL: 'GL[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}', + GR: 'GR[0-9]{2}[0-9]{3}[0-9]{4}[A-Z0-9]{16}', + GT: 'GT[0-9]{2}[A-Z0-9]{4}[A-Z0-9]{20}', + HR: 'HR[0-9]{2}[0-9]{7}[0-9]{10}', + HU: 'HU[0-9]{2}[0-9]{3}[0-9]{4}[0-9]{1}[0-9]{15}[0-9]{1}', + IE: 'IE[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}', + IL: 'IL[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{13}', + IR: 'IR[0-9]{2}[0-9]{22}', + IS: 'IS[0-9]{2}[0-9]{4}[0-9]{2}[0-9]{6}[0-9]{10}', + IT: 'IT[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}', + JO: 'JO[0-9]{2}[A-Z]{4}[0-9]{4}[0]{8}[A-Z0-9]{10}', + KW: 'KW[0-9]{2}[A-Z]{4}[0-9]{22}', + KZ: 'KZ[0-9]{2}[0-9]{3}[A-Z0-9]{13}', + LB: 'LB[0-9]{2}[0-9]{4}[A-Z0-9]{20}', + LI: 'LI[0-9]{2}[0-9]{5}[A-Z0-9]{12}', + LT: 'LT[0-9]{2}[0-9]{5}[0-9]{11}', + LU: 'LU[0-9]{2}[0-9]{3}[A-Z0-9]{13}', + LV: 'LV[0-9]{2}[A-Z]{4}[A-Z0-9]{13}', + MC: 'MC[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}', + MD: 'MD[0-9]{2}[A-Z0-9]{20}', + ME: 'ME[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}', + MG: 'MG[0-9]{2}[0-9]{23}', + MK: 'MK[0-9]{2}[0-9]{3}[A-Z0-9]{10}[0-9]{2}', + ML: 'ML[0-9]{2}[A-Z]{1}[0-9]{23}', + MR: 'MR13[0-9]{5}[0-9]{5}[0-9]{11}[0-9]{2}', + MT: 'MT[0-9]{2}[A-Z]{4}[0-9]{5}[A-Z0-9]{18}', + MU: 'MU[0-9]{2}[A-Z]{4}[0-9]{2}[0-9]{2}[0-9]{12}[0-9]{3}[A-Z]{3}', + MZ: 'MZ[0-9]{2}[0-9]{21}', + NL: 'NL[0-9]{2}[A-Z]{4}[0-9]{10}', + NO: 'NO[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{1}', + PK: 'PK[0-9]{2}[A-Z]{4}[A-Z0-9]{16}', + PL: 'PL[0-9]{2}[0-9]{8}[0-9]{16}', + PS: 'PS[0-9]{2}[A-Z]{4}[A-Z0-9]{21}', + PT: 'PT[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{11}[0-9]{2}', + QA: 'QA[0-9]{2}[A-Z]{4}[A-Z0-9]{21}', + RO: 'RO[0-9]{2}[A-Z]{4}[A-Z0-9]{16}', + RS: 'RS[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}', + SA: 'SA[0-9]{2}[0-9]{2}[A-Z0-9]{18}', + SE: 'SE[0-9]{2}[0-9]{3}[0-9]{16}[0-9]{1}', + SI: 'SI[0-9]{2}[0-9]{5}[0-9]{8}[0-9]{2}', + SK: 'SK[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{10}', + SM: 'SM[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}', + SN: 'SN[0-9]{2}[A-Z]{1}[0-9]{23}', + TL: 'TL38[0-9]{3}[0-9]{14}[0-9]{2}', + TN: 'TN59[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}', + TR: 'TR[0-9]{2}[0-9]{5}[A-Z0-9]{1}[A-Z0-9]{16}', + VG: 'VG[0-9]{2}[A-Z]{4}[0-9]{16}', + XK: 'XK[0-9]{2}[0-9]{4}[0-9]{10}[0-9]{2}', + }; + var SEPA_COUNTRIES = [ + 'AT', + 'BE', + 'BG', + 'CH', + 'CY', + 'CZ', + 'DE', + 'DK', + 'EE', + 'ES', + 'FI', + 'FR', + 'GB', + 'GI', + 'GR', + 'HR', + 'HU', + 'IE', + 'IS', + 'IT', + 'LI', + 'LT', + 'LU', + 'LV', + 'MC', + 'MT', + 'NL', + 'NO', + 'PL', + 'PT', + 'RO', + 'SE', + 'SI', + 'SK', + 'SM', + ]; + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { message: '' }, input.options); + var v = input.value.replace(/[^a-zA-Z0-9]/g, '').toUpperCase(); + var country = opts.country || v.substr(0, 2); + if (!IBAN_PATTERNS[country]) { + return { + message: opts.message, + valid: false, + }; + } + if (opts.sepa !== undefined) { + var isSepaCountry = SEPA_COUNTRIES.indexOf(country) !== -1; + if (((opts.sepa === 'true' || opts.sepa === true) && !isSepaCountry) || + ((opts.sepa === 'false' || opts.sepa === false) && isSepaCountry)) { + return { + message: opts.message, + valid: false, + }; + } + } + var msg = (0, format_1.default)(input.l10n ? opts.message || input.l10n.iban.country : opts.message, input.l10n ? input.l10n.iban.countries[country] : country); + if (!new RegExp("^" + IBAN_PATTERNS[country] + "$").test(input.value)) { + return { + message: msg, + valid: false, + }; + } + v = "" + v.substr(4) + v.substr(0, 4); + v = v + .split('') + .map(function (n) { + var code = n.charCodeAt(0); + return code >= 'A'.charCodeAt(0) && code <= 'Z'.charCodeAt(0) + ? + code - 'A'.charCodeAt(0) + 10 + : n; + }) + .join(''); + var temp = parseInt(v.substr(0, 1), 10); + var length = v.length; + for (var i = 1; i < length; ++i) { + temp = (temp * 10 + parseInt(v.substr(i, 1), 10)) % 97; + } + return { + message: msg, + valid: temp === 1, + }; + }, + }; + } + exports.default = iban; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/arId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/arId.js new file mode 100644 index 0000000..908ebd2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/arId.js @@ -0,0 +1,12 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function arId(value) { + var v = value.replace(/\./g, ''); + return { + meta: {}, + valid: /^\d{7,8}$/.test(v), + }; + } + exports.default = arId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/baId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/baId.js new file mode 100644 index 0000000..4d8ce8d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/baId.js @@ -0,0 +1,11 @@ +define(["require", "exports", "./jmbg"], function (require, exports, jmbg_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function baId(value) { + return { + meta: {}, + valid: (0, jmbg_1.default)(value, 'BA'), + }; + } + exports.default = baId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/bgId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/bgId.js new file mode 100644 index 0000000..2ff6d7f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/bgId.js @@ -0,0 +1,41 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function bgId(value) { + if (!/^\d{10}$/.test(value) && !/^\d{6}\s\d{3}\s\d{1}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var v = value.replace(/\s/g, ''); + var year = parseInt(v.substr(0, 2), 10) + 1900; + var month = parseInt(v.substr(2, 2), 10); + var day = parseInt(v.substr(4, 2), 10); + if (month > 40) { + year += 100; + month -= 40; + } + else if (month > 20) { + year -= 100; + month -= 20; + } + if (!(0, isValidDate_1.default)(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + var sum = 0; + var weight = [2, 4, 8, 5, 10, 9, 7, 3, 6]; + for (var i = 0; i < 9; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = (sum % 11) % 10; + return { + meta: {}, + valid: "" + sum === v.substr(9, 1), + }; + } + exports.default = bgId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/brId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/brId.js new file mode 100644 index 0000000..6892820 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/brId.js @@ -0,0 +1,41 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function brId(value) { + var v = value.replace(/\D/g, ''); + if (!/^\d{11}$/.test(v) || /^1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11}|0{11}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var d1 = 0; + var i; + for (i = 0; i < 9; i++) { + d1 += (10 - i) * parseInt(v.charAt(i), 10); + } + d1 = 11 - (d1 % 11); + if (d1 === 10 || d1 === 11) { + d1 = 0; + } + if ("" + d1 !== v.charAt(9)) { + return { + meta: {}, + valid: false, + }; + } + var d2 = 0; + for (i = 0; i < 10; i++) { + d2 += (11 - i) * parseInt(v.charAt(i), 10); + } + d2 = 11 - (d2 % 11); + if (d2 === 10 || d2 === 11) { + d2 = 0; + } + return { + meta: {}, + valid: "" + d2 === v.charAt(10), + }; + } + exports.default = brId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/chId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/chId.js new file mode 100644 index 0000000..751dc2b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/chId.js @@ -0,0 +1,25 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function chId(value) { + if (!/^756[.]{0,1}[0-9]{4}[.]{0,1}[0-9]{4}[.]{0,1}[0-9]{2}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var v = value.replace(/\D/g, '').substr(3); + var length = v.length; + var weight = length === 8 ? [3, 1] : [1, 3]; + var sum = 0; + for (var i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i % 2]; + } + sum = 10 - (sum % 10); + return { + meta: {}, + valid: "" + sum === v.charAt(length - 1), + }; + } + exports.default = chId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/clId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/clId.js new file mode 100644 index 0000000..3879166 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/clId.js @@ -0,0 +1,34 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function clId(value) { + if (!/^\d{7,8}[-]{0,1}[0-9K]$/i.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var v = value.replace(/-/g, ''); + while (v.length < 9) { + v = "0" + v; + } + var weight = [3, 2, 7, 6, 5, 4, 3, 2]; + var sum = 0; + for (var i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + var cd = "" + sum; + if (sum === 11) { + cd = '0'; + } + else if (sum === 10) { + cd = 'K'; + } + return { + meta: {}, + valid: cd === v.charAt(8).toUpperCase(), + }; + } + exports.default = clId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/cnId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/cnId.js new file mode 100644 index 0000000..45a38ee --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/cnId.js @@ -0,0 +1,777 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function cnId(value) { + var v = value.trim(); + if (!/^\d{15}$/.test(v) && !/^\d{17}[\dXx]{1}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var adminDivisionCodes = { + 11: { + 0: [0], + 1: [ + [0, 9], + [11, 17], + ], + 2: [0, 28, 29], + }, + 12: { + 0: [0], + 1: [[0, 16]], + 2: [0, 21, 23, 25], + }, + 13: { + 0: [0], + 1: [[0, 5], 7, 8, 21, [23, 33], [81, 85]], + 2: [[0, 5], [7, 9], [23, 25], 27, 29, 30, 81, 83], + 3: [ + [0, 4], + [21, 24], + ], + 4: [[0, 4], 6, 21, [23, 35], 81], + 5: [[0, 3], [21, 35], 81, 82], + 6: [ + [0, 4], + [21, 38], + [81, 84], + ], + 7: [[0, 3], 5, 6, [21, 33]], + 8: [ + [0, 4], + [21, 28], + ], + 9: [ + [0, 3], + [21, 30], + [81, 84], + ], + 10: [[0, 3], [22, 26], 28, 81, 82], + 11: [[0, 2], [21, 28], 81, 82], + }, + 14: { + 0: [0], + 1: [0, 1, [5, 10], [21, 23], 81], + 2: [[0, 3], 11, 12, [21, 27]], + 3: [[0, 3], 11, 21, 22], + 4: [[0, 2], 11, 21, [23, 31], 81], + 5: [[0, 2], 21, 22, 24, 25, 81], + 6: [ + [0, 3], + [21, 24], + ], + 7: [[0, 2], [21, 29], 81], + 8: [[0, 2], [21, 30], 81, 82], + 9: [[0, 2], [21, 32], 81], + 10: [[0, 2], [21, 34], 81, 82], + 11: [[0, 2], [21, 30], 81, 82], + 23: [[0, 3], 22, 23, [25, 30], 32, 33], + }, + 15: { + 0: [0], + 1: [ + [0, 5], + [21, 25], + ], + 2: [ + [0, 7], + [21, 23], + ], + 3: [[0, 4]], + 4: [ + [0, 4], + [21, 26], + [28, 30], + ], + 5: [[0, 2], [21, 26], 81], + 6: [ + [0, 2], + [21, 27], + ], + 7: [ + [0, 3], + [21, 27], + [81, 85], + ], + 8: [ + [0, 2], + [21, 26], + ], + 9: [[0, 2], [21, 29], 81], + 22: [ + [0, 2], + [21, 24], + ], + 25: [ + [0, 2], + [22, 31], + ], + 26: [[0, 2], [24, 27], [29, 32], 34], + 28: [0, 1, [22, 27]], + 29: [0, [21, 23]], + }, + 21: { + 0: [0], + 1: [[0, 6], [11, 14], [22, 24], 81], + 2: [[0, 4], [11, 13], 24, [81, 83]], + 3: [[0, 4], 11, 21, 23, 81], + 4: [[0, 4], 11, [21, 23]], + 5: [[0, 5], 21, 22], + 6: [[0, 4], 24, 81, 82], + 7: [[0, 3], 11, 26, 27, 81, 82], + 8: [[0, 4], 11, 81, 82], + 9: [[0, 5], 11, 21, 22], + 10: [[0, 5], 11, 21, 81], + 11: [[0, 3], 21, 22], + 12: [[0, 2], 4, 21, 23, 24, 81, 82], + 13: [[0, 3], 21, 22, 24, 81, 82], + 14: [[0, 4], 21, 22, 81], + }, + 22: { + 0: [0], + 1: [[0, 6], 12, 22, [81, 83]], + 2: [[0, 4], 11, 21, [81, 84]], + 3: [[0, 3], 22, 23, 81, 82], + 4: [[0, 3], 21, 22], + 5: [[0, 3], 21, 23, 24, 81, 82], + 6: [[0, 2], 4, 5, [21, 23], 25, 81], + 7: [[0, 2], [21, 24], 81], + 8: [[0, 2], 21, 22, 81, 82], + 24: [[0, 6], 24, 26], + }, + 23: { + 0: [0], + 1: [[0, 12], 21, [23, 29], [81, 84]], + 2: [[0, 8], 21, [23, 25], 27, [29, 31], 81], + 3: [[0, 7], 21, 81, 82], + 4: [[0, 7], 21, 22], + 5: [[0, 3], 5, 6, [21, 24]], + 6: [ + [0, 6], + [21, 24], + ], + 7: [[0, 16], 22, 81], + 8: [[0, 5], 11, 22, 26, 28, 33, 81, 82], + 9: [[0, 4], 21], + 10: [[0, 5], 24, 25, 81, [83, 85]], + 11: [[0, 2], 21, 23, 24, 81, 82], + 12: [ + [0, 2], + [21, 26], + [81, 83], + ], + 27: [ + [0, 4], + [21, 23], + ], + }, + 31: { + 0: [0], + 1: [0, 1, [3, 10], [12, 20]], + 2: [0, 30], + }, + 32: { + 0: [0], + 1: [[0, 7], 11, [13, 18], 24, 25], + 2: [[0, 6], 11, 81, 82], + 3: [[0, 5], 11, 12, [21, 24], 81, 82], + 4: [[0, 2], 4, 5, 11, 12, 81, 82], + 5: [ + [0, 9], + [81, 85], + ], + 6: [[0, 2], 11, 12, 21, 23, [81, 84]], + 7: [0, 1, 3, 5, 6, [21, 24]], + 8: [[0, 4], 11, 26, [29, 31]], + 9: [[0, 3], [21, 25], 28, 81, 82], + 10: [[0, 3], 11, 12, 23, 81, 84, 88], + 11: [[0, 2], 11, 12, [81, 83]], + 12: [ + [0, 4], + [81, 84], + ], + 13: [[0, 2], 11, [21, 24]], + }, + 33: { + 0: [0], + 1: [[0, 6], [8, 10], 22, 27, 82, 83, 85], + 2: [0, 1, [3, 6], 11, 12, 25, 26, [81, 83]], + 3: [[0, 4], 22, 24, [26, 29], 81, 82], + 4: [[0, 2], 11, 21, 24, [81, 83]], + 5: [ + [0, 3], + [21, 23], + ], + 6: [[0, 2], 21, 24, [81, 83]], + 7: [[0, 3], 23, 26, 27, [81, 84]], + 8: [[0, 3], 22, 24, 25, 81], + 9: [[0, 3], 21, 22], + 10: [[0, 4], [21, 24], 81, 82], + 11: [[0, 2], [21, 27], 81], + }, + 34: { + 0: [0], + 1: [[0, 4], 11, [21, 24], 81], + 2: [[0, 4], 7, 8, [21, 23], 25], + 3: [[0, 4], 11, [21, 23]], + 4: [[0, 6], 21], + 5: [[0, 4], 6, [21, 23]], + 6: [[0, 4], 21], + 7: [[0, 3], 11, 21], + 8: [[0, 3], 11, [22, 28], 81], + 10: [ + [0, 4], + [21, 24], + ], + 11: [[0, 3], 22, [24, 26], 81, 82], + 12: [[0, 4], 21, 22, 25, 26, 82], + 13: [ + [0, 2], + [21, 24], + ], + 14: [ + [0, 2], + [21, 24], + ], + 15: [ + [0, 3], + [21, 25], + ], + 16: [ + [0, 2], + [21, 23], + ], + 17: [ + [0, 2], + [21, 23], + ], + 18: [[0, 2], [21, 25], 81], + }, + 35: { + 0: [0], + 1: [[0, 5], 11, [21, 25], 28, 81, 82], + 2: [ + [0, 6], + [11, 13], + ], + 3: [[0, 5], 22], + 4: [[0, 3], 21, [23, 30], 81], + 5: [[0, 5], 21, [24, 27], [81, 83]], + 6: [[0, 3], [22, 29], 81], + 7: [ + [0, 2], + [21, 25], + [81, 84], + ], + 8: [[0, 2], [21, 25], 81], + 9: [[0, 2], [21, 26], 81, 82], + }, + 36: { + 0: [0], + 1: [[0, 5], 11, [21, 24]], + 2: [[0, 3], 22, 81], + 3: [[0, 2], 13, [21, 23]], + 4: [[0, 3], 21, [23, 30], 81, 82], + 5: [[0, 2], 21], + 6: [[0, 2], 22, 81], + 7: [[0, 2], [21, 35], 81, 82], + 8: [[0, 3], [21, 30], 81], + 9: [ + [0, 2], + [21, 26], + [81, 83], + ], + 10: [ + [0, 2], + [21, 30], + ], + 11: [[0, 2], [21, 30], 81], + }, + 37: { + 0: [0], + 1: [[0, 5], 12, 13, [24, 26], 81], + 2: [[0, 3], 5, [11, 14], [81, 85]], + 3: [ + [0, 6], + [21, 23], + ], + 4: [[0, 6], 81], + 5: [ + [0, 3], + [21, 23], + ], + 6: [[0, 2], [11, 13], 34, [81, 87]], + 7: [[0, 5], 24, 25, [81, 86]], + 8: [[0, 2], 11, [26, 32], [81, 83]], + 9: [[0, 3], 11, 21, 23, 82, 83], + 10: [ + [0, 2], + [81, 83], + ], + 11: [[0, 3], 21, 22], + 12: [[0, 3]], + 13: [[0, 2], 11, 12, [21, 29]], + 14: [[0, 2], [21, 28], 81, 82], + 15: [[0, 2], [21, 26], 81], + 16: [ + [0, 2], + [21, 26], + ], + 17: [ + [0, 2], + [21, 28], + ], + }, + 41: { + 0: [0], + 1: [[0, 6], 8, 22, [81, 85]], + 2: [[0, 5], 11, [21, 25]], + 3: [[0, 7], 11, [22, 29], 81], + 4: [[0, 4], 11, [21, 23], 25, 81, 82], + 5: [[0, 3], 5, 6, 22, 23, 26, 27, 81], + 6: [[0, 3], 11, 21, 22], + 7: [[0, 4], 11, 21, [24, 28], 81, 82], + 8: [[0, 4], 11, [21, 23], 25, [81, 83]], + 9: [[0, 2], 22, 23, [26, 28]], + 10: [[0, 2], [23, 25], 81, 82], + 11: [ + [0, 4], + [21, 23], + ], + 12: [[0, 2], 21, 22, 24, 81, 82], + 13: [[0, 3], [21, 30], 81], + 14: [[0, 3], [21, 26], 81], + 15: [ + [0, 3], + [21, 28], + ], + 16: [[0, 2], [21, 28], 81], + 17: [ + [0, 2], + [21, 29], + ], + 90: [0, 1], + }, + 42: { + 0: [0], + 1: [ + [0, 7], + [11, 17], + ], + 2: [[0, 5], 22, 81], + 3: [[0, 3], [21, 25], 81], + 5: [ + [0, 6], + [25, 29], + [81, 83], + ], + 6: [[0, 2], 6, 7, [24, 26], [82, 84]], + 7: [[0, 4]], + 8: [[0, 2], 4, 21, 22, 81], + 9: [[0, 2], [21, 23], 81, 82, 84], + 10: [[0, 3], [22, 24], 81, 83, 87], + 11: [[0, 2], [21, 27], 81, 82], + 12: [[0, 2], [21, 24], 81], + 13: [[0, 3], 21, 81], + 28: [[0, 2], 22, 23, [25, 28]], + 90: [0, [4, 6], 21], + }, + 43: { + 0: [0], + 1: [[0, 5], 11, 12, 21, 22, 24, 81], + 2: [[0, 4], 11, 21, [23, 25], 81], + 3: [[0, 2], 4, 21, 81, 82], + 4: [0, 1, [5, 8], 12, [21, 24], 26, 81, 82], + 5: [[0, 3], 11, [21, 25], [27, 29], 81], + 6: [[0, 3], 11, 21, 23, 24, 26, 81, 82], + 7: [[0, 3], [21, 26], 81], + 8: [[0, 2], 11, 21, 22], + 9: [[0, 3], [21, 23], 81], + 10: [[0, 3], [21, 28], 81], + 11: [ + [0, 3], + [21, 29], + ], + 12: [[0, 2], [21, 30], 81], + 13: [[0, 2], 21, 22, 81, 82], + 31: [0, 1, [22, 27], 30], + }, + 44: { + 0: [0], + 1: [[0, 7], [11, 16], 83, 84], + 2: [[0, 5], 21, 22, 24, 29, 32, 33, 81, 82], + 3: [0, 1, [3, 8]], + 4: [[0, 4]], + 5: [0, 1, [6, 15], 23, 82, 83], + 6: [0, 1, [4, 8]], + 7: [0, 1, [3, 5], 81, [83, 85]], + 8: [[0, 4], 11, 23, 25, [81, 83]], + 9: [[0, 3], 23, [81, 83]], + 12: [[0, 3], [23, 26], 83, 84], + 13: [[0, 3], [22, 24], 81], + 14: [[0, 2], [21, 24], 26, 27, 81], + 15: [[0, 2], 21, 23, 81], + 16: [ + [0, 2], + [21, 25], + ], + 17: [[0, 2], 21, 23, 81], + 18: [[0, 3], 21, 23, [25, 27], 81, 82], + 19: [0], + 20: [0], + 51: [[0, 3], 21, 22], + 52: [[0, 3], 21, 22, 24, 81], + 53: [[0, 2], [21, 23], 81], + }, + 45: { + 0: [0], + 1: [ + [0, 9], + [21, 27], + ], + 2: [ + [0, 5], + [21, 26], + ], + 3: [[0, 5], 11, 12, [21, 32]], + 4: [0, 1, [3, 6], 11, [21, 23], 81], + 5: [[0, 3], 12, 21], + 6: [[0, 3], 21, 81], + 7: [[0, 3], 21, 22], + 8: [[0, 4], 21, 81], + 9: [[0, 3], [21, 24], 81], + 10: [ + [0, 2], + [21, 31], + ], + 11: [ + [0, 2], + [21, 23], + ], + 12: [[0, 2], [21, 29], 81], + 13: [[0, 2], [21, 24], 81], + 14: [[0, 2], [21, 25], 81], + }, + 46: { + 0: [0], + 1: [0, 1, [5, 8]], + 2: [0, 1], + 3: [0, [21, 23]], + 90: [ + [0, 3], + [5, 7], + [21, 39], + ], + }, + 50: { + 0: [0], + 1: [[0, 19]], + 2: [0, [22, 38], [40, 43]], + 3: [0, [81, 84]], + }, + 51: { + 0: [0], + 1: [0, 1, [4, 8], [12, 15], [21, 24], 29, 31, 32, [81, 84]], + 3: [[0, 4], 11, 21, 22], + 4: [[0, 3], 11, 21, 22], + 5: [[0, 4], 21, 22, 24, 25], + 6: [0, 1, 3, 23, 26, [81, 83]], + 7: [0, 1, 3, 4, [22, 27], 81], + 8: [[0, 2], 11, 12, [21, 24]], + 9: [ + [0, 4], + [21, 23], + ], + 10: [[0, 2], 11, 24, 25, 28], + 11: [[0, 2], [11, 13], 23, 24, 26, 29, 32, 33, 81], + 13: [[0, 4], [21, 25], 81], + 14: [ + [0, 2], + [21, 25], + ], + 15: [ + [0, 3], + [21, 29], + ], + 16: [[0, 3], [21, 23], 81], + 17: [[0, 3], [21, 25], 81], + 18: [ + [0, 3], + [21, 27], + ], + 19: [ + [0, 3], + [21, 23], + ], + 20: [[0, 2], 21, 22, 81], + 32: [0, [21, 33]], + 33: [0, [21, 38]], + 34: [0, 1, [22, 37]], + }, + 52: { + 0: [0], + 1: [[0, 3], [11, 15], [21, 23], 81], + 2: [0, 1, 3, 21, 22], + 3: [[0, 3], [21, 30], 81, 82], + 4: [ + [0, 2], + [21, 25], + ], + 5: [ + [0, 2], + [21, 27], + ], + 6: [ + [0, 3], + [21, 28], + ], + 22: [0, 1, [22, 30]], + 23: [0, 1, [22, 28]], + 24: [0, 1, [22, 28]], + 26: [0, 1, [22, 36]], + 27: [[0, 2], 22, 23, [25, 32]], + }, + 53: { + 0: [0], + 1: [[0, 3], [11, 14], 21, 22, [24, 29], 81], + 3: [[0, 2], [21, 26], 28, 81], + 4: [ + [0, 2], + [21, 28], + ], + 5: [ + [0, 2], + [21, 24], + ], + 6: [ + [0, 2], + [21, 30], + ], + 7: [ + [0, 2], + [21, 24], + ], + 8: [ + [0, 2], + [21, 29], + ], + 9: [ + [0, 2], + [21, 27], + ], + 23: [0, 1, [22, 29], 31], + 25: [ + [0, 4], + [22, 32], + ], + 26: [0, 1, [21, 28]], + 27: [0, 1, [22, 30]], + 28: [0, 1, 22, 23], + 29: [0, 1, [22, 32]], + 31: [0, 2, 3, [22, 24]], + 34: [0, [21, 23]], + 33: [0, 21, [23, 25]], + 35: [0, [21, 28]], + }, + 54: { + 0: [0], + 1: [ + [0, 2], + [21, 27], + ], + 21: [0, [21, 29], 32, 33], + 22: [0, [21, 29], [31, 33]], + 23: [0, 1, [22, 38]], + 24: [0, [21, 31]], + 25: [0, [21, 27]], + 26: [0, [21, 27]], + }, + 61: { + 0: [0], + 1: [[0, 4], [11, 16], 22, [24, 26]], + 2: [[0, 4], 22], + 3: [ + [0, 4], + [21, 24], + [26, 31], + ], + 4: [[0, 4], [22, 31], 81], + 5: [[0, 2], [21, 28], 81, 82], + 6: [ + [0, 2], + [21, 32], + ], + 7: [ + [0, 2], + [21, 30], + ], + 8: [ + [0, 2], + [21, 31], + ], + 9: [ + [0, 2], + [21, 29], + ], + 10: [ + [0, 2], + [21, 26], + ], + }, + 62: { + 0: [0], + 1: [[0, 5], 11, [21, 23]], + 2: [0, 1], + 3: [[0, 2], 21], + 4: [ + [0, 3], + [21, 23], + ], + 5: [ + [0, 3], + [21, 25], + ], + 6: [ + [0, 2], + [21, 23], + ], + 7: [ + [0, 2], + [21, 25], + ], + 8: [ + [0, 2], + [21, 26], + ], + 9: [[0, 2], [21, 24], 81, 82], + 10: [ + [0, 2], + [21, 27], + ], + 11: [ + [0, 2], + [21, 26], + ], + 12: [ + [0, 2], + [21, 28], + ], + 24: [0, 21, [24, 29]], + 26: [0, 21, [23, 30]], + 29: [0, 1, [21, 27]], + 30: [0, 1, [21, 27]], + }, + 63: { + 0: [0], + 1: [ + [0, 5], + [21, 23], + ], + 2: [0, 2, [21, 25]], + 21: [0, [21, 23], [26, 28]], + 22: [0, [21, 24]], + 23: [0, [21, 24]], + 25: [0, [21, 25]], + 26: [0, [21, 26]], + 27: [0, 1, [21, 26]], + 28: [ + [0, 2], + [21, 23], + ], + }, + 64: { + 0: [0], + 1: [0, 1, [4, 6], 21, 22, 81], + 2: [[0, 3], 5, [21, 23]], + 3: [[0, 3], [21, 24], 81], + 4: [ + [0, 2], + [21, 25], + ], + 5: [[0, 2], 21, 22], + }, + 65: { + 0: [0], + 1: [[0, 9], 21], + 2: [[0, 5]], + 21: [0, 1, 22, 23], + 22: [0, 1, 22, 23], + 23: [[0, 3], [23, 25], 27, 28], + 28: [0, 1, [22, 29]], + 29: [0, 1, [22, 29]], + 30: [0, 1, [22, 24]], + 31: [0, 1, [21, 31]], + 32: [0, 1, [21, 27]], + 40: [0, 2, 3, [21, 28]], + 42: [[0, 2], 21, [23, 26]], + 43: [0, 1, [21, 26]], + 90: [[0, 4]], + 27: [[0, 2], 22, 23], + }, + 71: { 0: [0] }, + 81: { 0: [0] }, + 82: { 0: [0] }, + }; + var provincial = parseInt(v.substr(0, 2), 10); + var prefectural = parseInt(v.substr(2, 2), 10); + var county = parseInt(v.substr(4, 2), 10); + if (!adminDivisionCodes[provincial] || !adminDivisionCodes[provincial][prefectural]) { + return { + meta: {}, + valid: false, + }; + } + var inRange = false; + var rangeDef = adminDivisionCodes[provincial][prefectural]; + var i; + for (i = 0; i < rangeDef.length; i++) { + if ((Array.isArray(rangeDef[i]) && rangeDef[i][0] <= county && county <= rangeDef[i][1]) || + (!Array.isArray(rangeDef[i]) && county === rangeDef[i])) { + inRange = true; + break; + } + } + if (!inRange) { + return { + meta: {}, + valid: false, + }; + } + var dob; + if (v.length === 18) { + dob = v.substr(6, 8); + } + else { + dob = "19" + v.substr(6, 6); + } + var year = parseInt(dob.substr(0, 4), 10); + var month = parseInt(dob.substr(4, 2), 10); + var day = parseInt(dob.substr(6, 2), 10); + if (!(0, isValidDate_1.default)(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + if (v.length === 18) { + var weight = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2]; + var sum = 0; + for (i = 0; i < 17; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = (12 - (sum % 11)) % 11; + var checksum = v.charAt(17).toUpperCase() !== 'X' ? parseInt(v.charAt(17), 10) : 10; + return { + meta: {}, + valid: checksum === sum, + }; + } + return { + meta: {}, + valid: true, + }; + } + exports.default = cnId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/coId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/coId.js new file mode 100644 index 0000000..bcde833 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/coId.js @@ -0,0 +1,28 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function coId(value) { + var v = value.replace(/\./g, '').replace('-', ''); + if (!/^\d{8,16}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var length = v.length; + var weight = [3, 7, 13, 17, 19, 23, 29, 37, 41, 43, 47, 53, 59, 67, 71]; + var sum = 0; + for (var i = length - 2; i >= 0; i--) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + if (sum >= 2) { + sum = 11 - sum; + } + return { + meta: {}, + valid: "" + sum === v.substr(length - 1), + }; + } + exports.default = coId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/czId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/czId.js new file mode 100644 index 0000000..a6bd7f4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/czId.js @@ -0,0 +1,50 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function czId(value) { + if (!/^\d{9,10}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var year = 1900 + parseInt(value.substr(0, 2), 10); + var month = (parseInt(value.substr(2, 2), 10) % 50) % 20; + var day = parseInt(value.substr(4, 2), 10); + if (value.length === 9) { + if (year >= 1980) { + year -= 100; + } + if (year > 1953) { + return { + meta: {}, + valid: false, + }; + } + } + else if (year < 1954) { + year += 100; + } + if (!(0, isValidDate_1.default)(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + if (value.length === 10) { + var check = parseInt(value.substr(0, 9), 10) % 11; + if (year < 1985) { + check = check % 10; + } + return { + meta: {}, + valid: "" + check === value.substr(9, 1), + }; + } + return { + meta: {}, + valid: true, + }; + } + exports.default = czId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/dkId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/dkId.js new file mode 100644 index 0000000..e0c14cb --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/dkId.js @@ -0,0 +1,33 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function dkId(value) { + if (!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var v = value.replace(/-/g, ''); + var day = parseInt(v.substr(0, 2), 10); + var month = parseInt(v.substr(2, 2), 10); + var year = parseInt(v.substr(4, 2), 10); + switch (true) { + case '5678'.indexOf(v.charAt(6)) !== -1 && year >= 58: + year += 1800; + break; + case '0123'.indexOf(v.charAt(6)) !== -1: + case '49'.indexOf(v.charAt(6)) !== -1 && year >= 37: + year += 1900; + break; + default: + year += 2000; + break; + } + return { + meta: {}, + valid: (0, isValidDate_1.default)(year, month, day), + }; + } + exports.default = dkId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/esId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/esId.js new file mode 100644 index 0000000..261f42d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/esId.js @@ -0,0 +1,74 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function esId(value) { + var isDNI = /^[0-9]{8}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(value); + var isNIE = /^[XYZ][-]{0,1}[0-9]{7}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(value); + var isCIF = /^[A-HNPQS][-]{0,1}[0-9]{7}[-]{0,1}[0-9A-J]$/.test(value); + if (!isDNI && !isNIE && !isCIF) { + return { + meta: {}, + valid: false, + }; + } + var v = value.replace(/-/g, ''); + var check; + var tpe; + var isValid = true; + if (isDNI || isNIE) { + tpe = 'DNI'; + var index = 'XYZ'.indexOf(v.charAt(0)); + if (index !== -1) { + v = index + v.substr(1) + ''; + tpe = 'NIE'; + } + check = parseInt(v.substr(0, 8), 10); + check = 'TRWAGMYFPDXBNJZSQVHLCKE'[check % 23]; + return { + meta: { + type: tpe, + }, + valid: check === v.substr(8, 1), + }; + } + else { + check = v.substr(1, 7); + tpe = 'CIF'; + var letter = v[0]; + var control = v.substr(-1); + var sum = 0; + for (var i = 0; i < check.length; i++) { + if (i % 2 !== 0) { + sum += parseInt(check[i], 10); + } + else { + var tmp = '' + parseInt(check[i], 10) * 2; + sum += parseInt(tmp[0], 10); + if (tmp.length === 2) { + sum += parseInt(tmp[1], 10); + } + } + } + var lastDigit = sum - Math.floor(sum / 10) * 10; + if (lastDigit !== 0) { + lastDigit = 10 - lastDigit; + } + if ('KQS'.indexOf(letter) !== -1) { + isValid = control === 'JABCDEFGHI'[lastDigit]; + } + else if ('ABEH'.indexOf(letter) !== -1) { + isValid = control === '' + lastDigit; + } + else { + isValid = control === '' + lastDigit || control === 'JABCDEFGHI'[lastDigit]; + } + return { + meta: { + type: tpe, + }, + valid: isValid, + }; + } + } + exports.default = esId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/fiId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/fiId.js new file mode 100644 index 0000000..75e0b5f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/fiId.js @@ -0,0 +1,40 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function fiId(value) { + if (!/^[0-9]{6}[-+A][0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var day = parseInt(value.substr(0, 2), 10); + var month = parseInt(value.substr(2, 2), 10); + var year = parseInt(value.substr(4, 2), 10); + var centuries = { + '+': 1800, + '-': 1900, + A: 2000, + }; + year = centuries[value.charAt(6)] + year; + if (!(0, isValidDate_1.default)(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + var individual = parseInt(value.substr(7, 3), 10); + if (individual < 2) { + return { + meta: {}, + valid: false, + }; + } + var n = parseInt(value.substr(0, 6) + value.substr(7, 3) + '', 10); + return { + meta: {}, + valid: '0123456789ABCDEFHJKLMNPRSTUVWXY'.charAt(n % 31) === value.charAt(10), + }; + } + exports.default = fiId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/frId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/frId.js new file mode 100644 index 0000000..29b563a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/frId.js @@ -0,0 +1,37 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function frId(value) { + var v = value.toUpperCase(); + if (!/^(1|2)\d{2}\d{2}(\d{2}|\d[A-Z]|\d{3})\d{2,3}\d{3}\d{2}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var cog = v.substr(5, 2); + switch (true) { + case /^\d{2}$/.test(cog): + v = value; + break; + case cog === '2A': + v = value.substr(0, 5) + "19" + value.substr(7); + break; + case cog === '2B': + v = value.substr(0, 5) + "18" + value.substr(7); + break; + default: + return { + meta: {}, + valid: false, + }; + } + var mod = 97 - (parseInt(v.substr(0, 13), 10) % 97); + var prefixWithZero = mod < 10 ? "0" + mod : "" + mod; + return { + meta: {}, + valid: prefixWithZero === v.substr(13), + }; + } + exports.default = frId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/hkId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/hkId.js new file mode 100644 index 0000000..5f453c1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/hkId.js @@ -0,0 +1,39 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function hkId(value) { + var v = value.toUpperCase(); + if (!/^[A-MP-Z]{1,2}[0-9]{6}[0-9A]$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; + var firstChar = v.charAt(0); + var secondChar = v.charAt(1); + var sum = 0; + var digitParts = v; + if (/^[A-Z]$/.test(secondChar)) { + sum += 9 * (10 + alphabet.indexOf(firstChar)); + sum += 8 * (10 + alphabet.indexOf(secondChar)); + digitParts = v.substr(2); + } + else { + sum += 9 * 36; + sum += 8 * (10 + alphabet.indexOf(firstChar)); + digitParts = v.substr(1); + } + var length = digitParts.length; + for (var i = 0; i < length - 1; i++) { + sum += (7 - i) * parseInt(digitParts.charAt(i), 10); + } + var remaining = sum % 11; + var checkDigit = remaining === 0 ? '0' : 11 - remaining === 10 ? 'A' : "" + (11 - remaining); + return { + meta: {}, + valid: checkDigit === digitParts.charAt(length - 1), + }; + } + exports.default = hkId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/hrId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/hrId.js new file mode 100644 index 0000000..896a4f6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/hrId.js @@ -0,0 +1,11 @@ +define(["require", "exports", "../../algorithms/mod11And10"], function (require, exports, mod11And10_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function hrId(value) { + return { + meta: {}, + valid: /^[0-9]{11}$/.test(value) && (0, mod11And10_1.default)(value), + }; + } + exports.default = hrId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/idId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/idId.js new file mode 100644 index 0000000..04c89a3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/idId.js @@ -0,0 +1,18 @@ +define(["require", "exports", "../../algorithms/verhoeff"], function (require, exports, verhoeff_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function idId(value) { + if (!/^[2-9]\d{11}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var converted = value.split('').map(function (item) { return parseInt(item, 10); }); + return { + meta: {}, + valid: (0, verhoeff_1.default)(converted), + }; + } + exports.default = idId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/ieId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/ieId.js new file mode 100644 index 0000000..6e812d3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/ieId.js @@ -0,0 +1,34 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function ieId(value) { + if (!/^\d{7}[A-W][AHWTX]?$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var getCheckDigit = function (v) { + var input = v; + while (input.length < 7) { + input = "0" + input; + } + var alphabet = 'WABCDEFGHIJKLMNOPQRSTUV'; + var sum = 0; + for (var i = 0; i < 7; i++) { + sum += parseInt(input.charAt(i), 10) * (8 - i); + } + sum += 9 * alphabet.indexOf(input.substr(7)); + return alphabet[sum % 23]; + }; + var isValid = value.length === 9 && ('A' === value.charAt(8) || 'H' === value.charAt(8)) + ? value.charAt(7) === getCheckDigit(value.substr(0, 7) + value.substr(8) + '') + : + value.charAt(7) === getCheckDigit(value.substr(0, 7)); + return { + meta: {}, + valid: isValid, + }; + } + exports.default = ieId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/ilId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/ilId.js new file mode 100644 index 0000000..454e889 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/ilId.js @@ -0,0 +1,17 @@ +define(["require", "exports", "../../algorithms/luhn"], function (require, exports, luhn_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function ilId(value) { + if (!/^\d{1,9}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + return { + meta: {}, + valid: (0, luhn_1.default)(value), + }; + } + exports.default = ilId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/index.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/index.js new file mode 100644 index 0000000..bfb9acf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/index.js @@ -0,0 +1,207 @@ +define(["require", "exports", "../../utils/format", "./arId", "./baId", "./bgId", "./brId", "./chId", "./clId", "./cnId", "./coId", "./czId", "./dkId", "./esId", "./fiId", "./frId", "./hkId", "./hrId", "./idId", "./ieId", "./ilId", "./isId", "./krId", "./ltId", "./lvId", "./meId", "./mkId", "./mxId", "./myId", "./nlId", "./noId", "./peId", "./plId", "./roId", "./rsId", "./seId", "./siId", "./smId", "./thId", "./trId", "./twId", "./uyId", "./zaId"], function (require, exports, format_1, arId_1, baId_1, bgId_1, brId_1, chId_1, clId_1, cnId_1, coId_1, czId_1, dkId_1, esId_1, fiId_1, frId_1, hkId_1, hrId_1, idId_1, ieId_1, ilId_1, isId_1, krId_1, ltId_1, lvId_1, meId_1, mkId_1, mxId_1, myId_1, nlId_1, noId_1, peId_1, plId_1, roId_1, rsId_1, seId_1, siId_1, smId_1, thId_1, trId_1, twId_1, uyId_1, zaId_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function id() { + var COUNTRY_CODES = [ + 'AR', + 'BA', + 'BG', + 'BR', + 'CH', + 'CL', + 'CN', + 'CO', + 'CZ', + 'DK', + 'EE', + 'ES', + 'FI', + 'FR', + 'HK', + 'HR', + 'ID', + 'IE', + 'IL', + 'IS', + 'KR', + 'LT', + 'LV', + 'ME', + 'MK', + 'MX', + 'MY', + 'NL', + 'NO', + 'PE', + 'PL', + 'RO', + 'RS', + 'SE', + 'SI', + 'SK', + 'SM', + 'TH', + 'TR', + 'TW', + 'UY', + 'ZA', + ]; + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { message: '' }, input.options); + var country = input.value.substr(0, 2); + if ('function' === typeof opts.country) { + country = opts.country.call(this); + } + else { + country = opts.country; + } + if (COUNTRY_CODES.indexOf(country) === -1) { + return { valid: true }; + } + var result = { + meta: {}, + valid: true, + }; + switch (country.toLowerCase()) { + case 'ar': + result = (0, arId_1.default)(input.value); + break; + case 'ba': + result = (0, baId_1.default)(input.value); + break; + case 'bg': + result = (0, bgId_1.default)(input.value); + break; + case 'br': + result = (0, brId_1.default)(input.value); + break; + case 'ch': + result = (0, chId_1.default)(input.value); + break; + case 'cl': + result = (0, clId_1.default)(input.value); + break; + case 'cn': + result = (0, cnId_1.default)(input.value); + break; + case 'co': + result = (0, coId_1.default)(input.value); + break; + case 'cz': + result = (0, czId_1.default)(input.value); + break; + case 'dk': + result = (0, dkId_1.default)(input.value); + break; + case 'ee': + result = (0, ltId_1.default)(input.value); + break; + case 'es': + result = (0, esId_1.default)(input.value); + break; + case 'fi': + result = (0, fiId_1.default)(input.value); + break; + case 'fr': + result = (0, frId_1.default)(input.value); + break; + case 'hk': + result = (0, hkId_1.default)(input.value); + break; + case 'hr': + result = (0, hrId_1.default)(input.value); + break; + case 'id': + result = (0, idId_1.default)(input.value); + break; + case 'ie': + result = (0, ieId_1.default)(input.value); + break; + case 'il': + result = (0, ilId_1.default)(input.value); + break; + case 'is': + result = (0, isId_1.default)(input.value); + break; + case 'kr': + result = (0, krId_1.default)(input.value); + break; + case 'lt': + result = (0, ltId_1.default)(input.value); + break; + case 'lv': + result = (0, lvId_1.default)(input.value); + break; + case 'me': + result = (0, meId_1.default)(input.value); + break; + case 'mk': + result = (0, mkId_1.default)(input.value); + break; + case 'mx': + result = (0, mxId_1.default)(input.value); + break; + case 'my': + result = (0, myId_1.default)(input.value); + break; + case 'nl': + result = (0, nlId_1.default)(input.value); + break; + case 'no': + result = (0, noId_1.default)(input.value); + break; + case 'pe': + result = (0, peId_1.default)(input.value); + break; + case 'pl': + result = (0, plId_1.default)(input.value); + break; + case 'ro': + result = (0, roId_1.default)(input.value); + break; + case 'rs': + result = (0, rsId_1.default)(input.value); + break; + case 'se': + result = (0, seId_1.default)(input.value); + break; + case 'si': + result = (0, siId_1.default)(input.value); + break; + case 'sk': + result = (0, czId_1.default)(input.value); + break; + case 'sm': + result = (0, smId_1.default)(input.value); + break; + case 'th': + result = (0, thId_1.default)(input.value); + break; + case 'tr': + result = (0, trId_1.default)(input.value); + break; + case 'tw': + result = (0, twId_1.default)(input.value); + break; + case 'uy': + result = (0, uyId_1.default)(input.value); + break; + case 'za': + result = (0, zaId_1.default)(input.value); + break; + default: + break; + } + var message = (0, format_1.default)(input.l10n && input.l10n.id ? opts.message || input.l10n.id.country : opts.message, input.l10n && input.l10n.id && input.l10n.id.countries + ? input.l10n.id.countries[country.toUpperCase()] + : country.toUpperCase()); + return Object.assign({}, { message: message }, result); + }, + }; + } + exports.default = id; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/isId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/isId.js new file mode 100644 index 0000000..822b195 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/isId.js @@ -0,0 +1,35 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function isId(value) { + if (!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var v = value.replace(/-/g, ''); + var day = parseInt(v.substr(0, 2), 10); + var month = parseInt(v.substr(2, 2), 10); + var year = parseInt(v.substr(4, 2), 10); + var century = parseInt(v.charAt(9), 10); + year = century === 9 ? 1900 + year : (20 + century) * 100 + year; + if (!(0, isValidDate_1.default)(year, month, day, true)) { + return { + meta: {}, + valid: false, + }; + } + var weight = [3, 2, 7, 6, 5, 4, 3, 2]; + var sum = 0; + for (var i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + return { + meta: {}, + valid: "" + sum === v.charAt(8), + }; + } + exports.default = isId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/jmbg.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/jmbg.js new file mode 100644 index 0000000..4f10d7f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/jmbg.js @@ -0,0 +1,42 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function jmbg(value, countryCode) { + if (!/^\d{13}$/.test(value)) { + return false; + } + var day = parseInt(value.substr(0, 2), 10); + var month = parseInt(value.substr(2, 2), 10); + var rr = parseInt(value.substr(7, 2), 10); + var k = parseInt(value.substr(12, 1), 10); + if (day > 31 || month > 12) { + return false; + } + var sum = 0; + for (var i = 0; i < 6; i++) { + sum += (7 - i) * (parseInt(value.charAt(i), 10) + parseInt(value.charAt(i + 6), 10)); + } + sum = 11 - (sum % 11); + if (sum === 10 || sum === 11) { + sum = 0; + } + if (sum !== k) { + return false; + } + switch (countryCode.toUpperCase()) { + case 'BA': + return 10 <= rr && rr <= 19; + case 'MK': + return 41 <= rr && rr <= 49; + case 'ME': + return 20 <= rr && rr <= 29; + case 'RS': + return 70 <= rr && rr <= 99; + case 'SI': + return 50 <= rr && rr <= 59; + default: + return true; + } + } + exports.default = jmbg; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/krId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/krId.js new file mode 100644 index 0000000..dc077db --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/krId.js @@ -0,0 +1,52 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function krId(value) { + var v = value.replace('-', ''); + if (!/^\d{13}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var sDigit = v.charAt(6); + var year = parseInt(v.substr(0, 2), 10); + var month = parseInt(v.substr(2, 2), 10); + var day = parseInt(v.substr(4, 2), 10); + switch (sDigit) { + case '1': + case '2': + case '5': + case '6': + year += 1900; + break; + case '3': + case '4': + case '7': + case '8': + year += 2000; + break; + default: + year += 1800; + break; + } + if (!(0, isValidDate_1.default)(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + var weight = [2, 3, 4, 5, 6, 7, 8, 9, 2, 3, 4, 5]; + var length = v.length; + var sum = 0; + for (var i = 0; i < length - 1; i++) { + sum += weight[i] * parseInt(v.charAt(i), 10); + } + var checkDigit = (11 - (sum % 11)) % 10; + return { + meta: {}, + valid: "" + checkDigit === v.charAt(length - 1), + }; + } + exports.default = krId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/ltId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/ltId.js new file mode 100644 index 0000000..b8048d9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/ltId.js @@ -0,0 +1,51 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function ltId(value) { + if (!/^[0-9]{11}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var gender = parseInt(value.charAt(0), 10); + var year = parseInt(value.substr(1, 2), 10); + var month = parseInt(value.substr(3, 2), 10); + var day = parseInt(value.substr(5, 2), 10); + var century = gender % 2 === 0 ? 17 + gender / 2 : 17 + (gender + 1) / 2; + year = century * 100 + year; + if (!(0, isValidDate_1.default)(year, month, day, true)) { + return { + meta: {}, + valid: false, + }; + } + var weight = [1, 2, 3, 4, 5, 6, 7, 8, 9, 1]; + var sum = 0; + var i; + for (i = 0; i < 10; i++) { + sum += parseInt(value.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + if (sum !== 10) { + return { + meta: {}, + valid: "" + sum === value.charAt(10), + }; + } + sum = 0; + weight = [3, 4, 5, 6, 7, 8, 9, 1, 2, 3]; + for (i = 0; i < 10; i++) { + sum += parseInt(value.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + if (sum === 10) { + sum = 0; + } + return { + meta: {}, + valid: "" + sum === value.charAt(10), + }; + } + exports.default = ltId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/lvId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/lvId.js new file mode 100644 index 0000000..4085400 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/lvId.js @@ -0,0 +1,34 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function lvId(value) { + if (!/^[0-9]{6}[-]{0,1}[0-9]{5}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var v = value.replace(/\D/g, ''); + var day = parseInt(v.substr(0, 2), 10); + var month = parseInt(v.substr(2, 2), 10); + var year = parseInt(v.substr(4, 2), 10); + year = year + 1800 + parseInt(v.charAt(6), 10) * 100; + if (!(0, isValidDate_1.default)(year, month, day, true)) { + return { + meta: {}, + valid: false, + }; + } + var sum = 0; + var weight = [10, 5, 8, 4, 2, 1, 6, 3, 7, 9]; + for (var i = 0; i < 10; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = ((sum + 1) % 11) % 10; + return { + meta: {}, + valid: "" + sum === v.charAt(10), + }; + } + exports.default = lvId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/meId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/meId.js new file mode 100644 index 0000000..14c58b9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/meId.js @@ -0,0 +1,11 @@ +define(["require", "exports", "./jmbg"], function (require, exports, jmbg_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function meId(value) { + return { + meta: {}, + valid: (0, jmbg_1.default)(value, 'ME'), + }; + } + exports.default = meId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/mkId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/mkId.js new file mode 100644 index 0000000..dec4534 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/mkId.js @@ -0,0 +1,11 @@ +define(["require", "exports", "./jmbg"], function (require, exports, jmbg_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function mkId(value) { + return { + meta: {}, + valid: (0, jmbg_1.default)(value, 'MK'), + }; + } + exports.default = mkId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/mxId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/mxId.js new file mode 100644 index 0000000..3e8aad2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/mxId.js @@ -0,0 +1,179 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function mxId(value) { + var v = value.toUpperCase(); + if (!/^[A-Z]{4}\d{6}[A-Z]{6}[0-9A-Z]\d$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var blacklistNames = [ + 'BACA', + 'BAKA', + 'BUEI', + 'BUEY', + 'CACA', + 'CACO', + 'CAGA', + 'CAGO', + 'CAKA', + 'CAKO', + 'COGE', + 'COGI', + 'COJA', + 'COJE', + 'COJI', + 'COJO', + 'COLA', + 'CULO', + 'FALO', + 'FETO', + 'GETA', + 'GUEI', + 'GUEY', + 'JETA', + 'JOTO', + 'KACA', + 'KACO', + 'KAGA', + 'KAGO', + 'KAKA', + 'KAKO', + 'KOGE', + 'KOGI', + 'KOJA', + 'KOJE', + 'KOJI', + 'KOJO', + 'KOLA', + 'KULO', + 'LILO', + 'LOCA', + 'LOCO', + 'LOKA', + 'LOKO', + 'MAME', + 'MAMO', + 'MEAR', + 'MEAS', + 'MEON', + 'MIAR', + 'MION', + 'MOCO', + 'MOKO', + 'MULA', + 'MULO', + 'NACA', + 'NACO', + 'PEDA', + 'PEDO', + 'PENE', + 'PIPI', + 'PITO', + 'POPO', + 'PUTA', + 'PUTO', + 'QULO', + 'RATA', + 'ROBA', + 'ROBE', + 'ROBO', + 'RUIN', + 'SENO', + 'TETA', + 'VACA', + 'VAGA', + 'VAGO', + 'VAKA', + 'VUEI', + 'VUEY', + 'WUEI', + 'WUEY', + ]; + var name = v.substr(0, 4); + if (blacklistNames.indexOf(name) >= 0) { + return { + meta: {}, + valid: false, + }; + } + var year = parseInt(v.substr(4, 2), 10); + var month = parseInt(v.substr(6, 2), 10); + var day = parseInt(v.substr(6, 2), 10); + if (/^[0-9]$/.test(v.charAt(16))) { + year += 1900; + } + else { + year += 2000; + } + if (!(0, isValidDate_1.default)(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + var gender = v.charAt(10); + if (gender !== 'H' && gender !== 'M') { + return { + meta: {}, + valid: false, + }; + } + var state = v.substr(11, 2); + var states = [ + 'AS', + 'BC', + 'BS', + 'CC', + 'CH', + 'CL', + 'CM', + 'CS', + 'DF', + 'DG', + 'GR', + 'GT', + 'HG', + 'JC', + 'MC', + 'MN', + 'MS', + 'NE', + 'NL', + 'NT', + 'OC', + 'PL', + 'QR', + 'QT', + 'SL', + 'SP', + 'SR', + 'TC', + 'TL', + 'TS', + 'VZ', + 'YN', + 'ZS', + ]; + if (states.indexOf(state) === -1) { + return { + meta: {}, + valid: false, + }; + } + var alphabet = '0123456789ABCDEFGHIJKLMN&OPQRSTUVWXYZ'; + var sum = 0; + var length = v.length; + for (var i = 0; i < length - 1; i++) { + sum += (18 - i) * alphabet.indexOf(v.charAt(i)); + } + sum = (10 - (sum % 10)) % 10; + return { + meta: {}, + valid: "" + sum === v.charAt(length - 1), + }; + } + exports.default = mxId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/myId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/myId.js new file mode 100644 index 0000000..3091295 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/myId.js @@ -0,0 +1,28 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function myId(value) { + if (!/^\d{12}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var year = parseInt(value.substr(0, 2), 10); + var month = parseInt(value.substr(2, 2), 10); + var day = parseInt(value.substr(4, 2), 10); + if (!(0, isValidDate_1.default)(year + 1900, month, day) && !(0, isValidDate_1.default)(year + 2000, month, day)) { + return { + meta: {}, + valid: false, + }; + } + var placeOfBirth = value.substr(6, 2); + var notAvailablePlaces = ['17', '18', '19', '20', '69', '70', '73', '80', '81', '94', '95', '96', '97']; + return { + meta: {}, + valid: notAvailablePlaces.indexOf(placeOfBirth) === -1, + }; + } + exports.default = myId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/nlId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/nlId.js new file mode 100644 index 0000000..65898da --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/nlId.js @@ -0,0 +1,43 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function nlId(value) { + if (value.length < 8) { + return { + meta: {}, + valid: false, + }; + } + var v = value; + if (v.length === 8) { + v = "0" + v; + } + if (!/^[0-9]{4}[.]{0,1}[0-9]{2}[.]{0,1}[0-9]{3}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + v = v.replace(/\./g, ''); + if (parseInt(v, 10) === 0) { + return { + meta: {}, + valid: false, + }; + } + var sum = 0; + var length = v.length; + for (var i = 0; i < length - 1; i++) { + sum += (9 - i) * parseInt(v.charAt(i), 10); + } + sum = sum % 11; + if (sum === 10) { + sum = 0; + } + return { + meta: {}, + valid: "" + sum === v.charAt(length - 1), + }; + } + exports.default = nlId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/noId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/noId.js new file mode 100644 index 0000000..bdec08f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/noId.js @@ -0,0 +1,33 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function noId(value) { + if (!/^\d{11}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var firstCd = function (v) { + var weight = [3, 7, 6, 1, 8, 9, 4, 5, 2]; + var sum = 0; + for (var i = 0; i < 9; i++) { + sum += weight[i] * parseInt(v.charAt(i), 10); + } + return 11 - (sum % 11); + }; + var secondCd = function (v) { + var weight = [5, 4, 3, 2, 7, 6, 5, 4, 3, 2]; + var sum = 0; + for (var i = 0; i < 10; i++) { + sum += weight[i] * parseInt(v.charAt(i), 10); + } + return 11 - (sum % 11); + }; + return { + meta: {}, + valid: "" + firstCd(value) === value.substr(-2, 1) && "" + secondCd(value) === value.substr(-1), + }; + } + exports.default = noId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/peId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/peId.js new file mode 100644 index 0000000..213f8fa --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/peId.js @@ -0,0 +1,31 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function peId(value) { + if (!/^\d{8}[0-9A-Z]*$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + if (value.length === 8) { + return { + meta: {}, + valid: true, + }; + } + var weight = [3, 2, 7, 6, 5, 4, 3, 2]; + var sum = 0; + for (var i = 0; i < 8; i++) { + sum += weight[i] * parseInt(value.charAt(i), 10); + } + var cd = sum % 11; + var checkDigit = [6, 5, 4, 3, 2, 1, 1, 0, 9, 8, 7][cd]; + var checkChar = 'KJIHGFEDCBA'.charAt(cd); + return { + meta: {}, + valid: value.charAt(8) === "" + checkDigit || value.charAt(8) === checkChar, + }; + } + exports.default = peId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/plId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/plId.js new file mode 100644 index 0000000..0fe5ca1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/plId.js @@ -0,0 +1,28 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function plId(value) { + if (!/^[0-9]{11}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var sum = 0; + var length = value.length; + var weight = [1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7]; + for (var i = 0; i < length - 1; i++) { + sum += weight[i] * parseInt(value.charAt(i), 10); + } + sum = sum % 10; + if (sum === 0) { + sum = 10; + } + sum = 10 - sum; + return { + meta: {}, + valid: "" + sum === value.charAt(length - 1), + }; + } + exports.default = plId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/roId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/roId.js new file mode 100644 index 0000000..fe46306 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/roId.js @@ -0,0 +1,60 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function roId(value) { + if (!/^[0-9]{13}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var gender = parseInt(value.charAt(0), 10); + if (gender === 0 || gender === 7 || gender === 8) { + return { + meta: {}, + valid: false, + }; + } + var year = parseInt(value.substr(1, 2), 10); + var month = parseInt(value.substr(3, 2), 10); + var day = parseInt(value.substr(5, 2), 10); + var centuries = { + 1: 1900, + 2: 1900, + 3: 1800, + 4: 1800, + 5: 2000, + 6: 2000, + }; + if (day > 31 && month > 12) { + return { + meta: {}, + valid: false, + }; + } + if (gender !== 9) { + year = centuries[gender + ''] + year; + if (!(0, isValidDate_1.default)(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + } + var sum = 0; + var weight = [2, 7, 9, 1, 4, 6, 3, 5, 8, 2, 7, 9]; + var length = value.length; + for (var i = 0; i < length - 1; i++) { + sum += parseInt(value.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + if (sum === 10) { + sum = 1; + } + return { + meta: {}, + valid: "" + sum === value.charAt(length - 1), + }; + } + exports.default = roId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/rsId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/rsId.js new file mode 100644 index 0000000..ae57a46 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/rsId.js @@ -0,0 +1,11 @@ +define(["require", "exports", "./jmbg"], function (require, exports, jmbg_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function rsId(value) { + return { + meta: {}, + valid: (0, jmbg_1.default)(value, 'RS'), + }; + } + exports.default = rsId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/seId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/seId.js new file mode 100644 index 0000000..138594e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/seId.js @@ -0,0 +1,27 @@ +define(["require", "exports", "../../algorithms/luhn", "../../utils/isValidDate"], function (require, exports, luhn_1, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function seId(value) { + if (!/^[0-9]{10}$/.test(value) && !/^[0-9]{6}[-|+][0-9]{4}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var v = value.replace(/[^0-9]/g, ''); + var year = parseInt(v.substr(0, 2), 10) + 1900; + var month = parseInt(v.substr(2, 2), 10); + var day = parseInt(v.substr(4, 2), 10); + if (!(0, isValidDate_1.default)(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + return { + meta: {}, + valid: (0, luhn_1.default)(v), + }; + } + exports.default = seId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/siId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/siId.js new file mode 100644 index 0000000..97a1698 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/siId.js @@ -0,0 +1,11 @@ +define(["require", "exports", "./jmbg"], function (require, exports, jmbg_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function siId(value) { + return { + meta: {}, + valid: (0, jmbg_1.default)(value, 'SI'), + }; + } + exports.default = siId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/smId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/smId.js new file mode 100644 index 0000000..788abe9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/smId.js @@ -0,0 +1,11 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function smId(value) { + return { + meta: {}, + valid: /^\d{5}$/.test(value), + }; + } + exports.default = smId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/thId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/thId.js new file mode 100644 index 0000000..3183486 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/thId.js @@ -0,0 +1,21 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function thId(value) { + if (value.length !== 13) { + return { + meta: {}, + valid: false, + }; + } + var sum = 0; + for (var i = 0; i < 12; i++) { + sum += parseInt(value.charAt(i), 10) * (13 - i); + } + return { + meta: {}, + valid: (11 - (sum % 11)) % 10 === parseInt(value.charAt(12), 10), + }; + } + exports.default = thId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/trId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/trId.js new file mode 100644 index 0000000..5256508 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/trId.js @@ -0,0 +1,21 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function trId(value) { + if (value.length !== 11) { + return { + meta: {}, + valid: false, + }; + } + var sum = 0; + for (var i = 0; i < 10; i++) { + sum += parseInt(value.charAt(i), 10); + } + return { + meta: {}, + valid: sum % 10 === parseInt(value.charAt(10), 10), + }; + } + exports.default = trId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/twId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/twId.js new file mode 100644 index 0000000..bcee99c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/twId.js @@ -0,0 +1,26 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function twId(value) { + var v = value.toUpperCase(); + if (!/^[A-Z][12][0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var length = v.length; + var alphabet = 'ABCDEFGHJKLMNPQRSTUVXYWZIO'; + var letterIndex = alphabet.indexOf(v.charAt(0)) + 10; + var letterValue = Math.floor(letterIndex / 10) + (letterIndex % 10) * (length - 1); + var sum = 0; + for (var i = 1; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * (length - 1 - i); + } + return { + meta: {}, + valid: (letterValue + sum + parseInt(v.charAt(length - 1), 10)) % 10 === 0, + }; + } + exports.default = twId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/uyId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/uyId.js new file mode 100644 index 0000000..129b187 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/uyId.js @@ -0,0 +1,26 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function uyId(value) { + if (!/^\d{8}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var weight = [2, 9, 8, 7, 6, 3, 4]; + var sum = 0; + for (var i = 0; i < 7; i++) { + sum += parseInt(value.charAt(i), 10) * weight[i]; + } + sum = sum % 10; + if (sum > 0) { + sum = 10 - sum; + } + return { + meta: {}, + valid: "" + sum === value.charAt(7), + }; + } + exports.default = uyId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/zaId.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/zaId.js new file mode 100644 index 0000000..85c51ba --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/id/zaId.js @@ -0,0 +1,28 @@ +define(["require", "exports", "../../algorithms/luhn", "../../utils/isValidDate"], function (require, exports, luhn_1, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function zaId(value) { + if (!/^[0-9]{10}[0|1][8|9][0-9]$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + var year = parseInt(value.substr(0, 2), 10); + var currentYear = new Date().getFullYear() % 100; + var month = parseInt(value.substr(2, 2), 10); + var day = parseInt(value.substr(4, 2), 10); + year = year >= currentYear ? year + 1900 : year + 2000; + if (!(0, isValidDate_1.default)(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + return { + meta: {}, + valid: (0, luhn_1.default)(value), + }; + } + exports.default = zaId; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/identical.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/identical.js new file mode 100644 index 0000000..8c4c7e9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/identical.js @@ -0,0 +1,17 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function identical() { + return { + validate: function (input) { + var compareWith = 'function' === typeof input.options.compare + ? input.options.compare.call(this) + : input.options.compare; + return { + valid: compareWith === '' || input.value === compareWith, + }; + }, + }; + } + exports.default = identical; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/imei.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/imei.js new file mode 100644 index 0000000..e7369c0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/imei.js @@ -0,0 +1,27 @@ +define(["require", "exports", "../algorithms/luhn"], function (require, exports, luhn_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function imei() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + switch (true) { + case /^\d{15}$/.test(input.value): + case /^\d{2}-\d{6}-\d{6}-\d{1}$/.test(input.value): + case /^\d{2}\s\d{6}\s\d{6}\s\d{1}$/.test(input.value): + return { valid: (0, luhn_1.default)(input.value.replace(/[^0-9]/g, '')) }; + case /^\d{14}$/.test(input.value): + case /^\d{16}$/.test(input.value): + case /^\d{2}-\d{6}-\d{6}(|-\d{2})$/.test(input.value): + case /^\d{2}\s\d{6}\s\d{6}(|\s\d{2})$/.test(input.value): + return { valid: true }; + default: + return { valid: false }; + } + }, + }; + } + exports.default = imei; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/imo.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/imo.js new file mode 100644 index 0000000..9ecfa04 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/imo.js @@ -0,0 +1,23 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function imo() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + if (!/^IMO \d{7}$/i.test(input.value)) { + return { valid: false }; + } + var digits = input.value.replace(/^.*(\d{7})$/, '$1'); + var sum = 0; + for (var i = 6; i >= 1; i--) { + sum += parseInt(digits.slice(6 - i, -i), 10) * (i + 1); + } + return { valid: sum % 10 === parseInt(digits.charAt(6), 10) }; + }, + }; + } + exports.default = imo; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/index-full.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/index-full.js new file mode 100644 index 0000000..c9812a3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/index-full.js @@ -0,0 +1,57 @@ +define(["require", "exports", "./between", "./blank", "./callback", "./choice", "./creditCard", "./date", "./different", "./digits", "./emailAddress", "./file", "./greaterThan", "./identical", "./integer", "./ip", "./lessThan", "./notEmpty", "./numeric", "./promise", "./regexp", "./remote", "./stringCase", "./stringLength", "./uri", "./base64", "./bic", "./color", "./cusip", "./ean", "./ein", "./grid", "./hex", "./iban", "./id/index", "./imei", "./imo", "./isbn", "./isin", "./ismn", "./issn", "./mac", "./meid", "./phone", "./rtn", "./sedol", "./siren", "./siret", "./step", "./uuid", "./vat/index", "./vin", "./zipCode"], function (require, exports, between_1, blank_1, callback_1, choice_1, creditCard_1, date_1, different_1, digits_1, emailAddress_1, file_1, greaterThan_1, identical_1, integer_1, ip_1, lessThan_1, notEmpty_1, numeric_1, promise_1, regexp_1, remote_1, stringCase_1, stringLength_1, uri_1, base64_1, bic_1, color_1, cusip_1, ean_1, ein_1, grid_1, hex_1, iban_1, index_1, imei_1, imo_1, isbn_1, isin_1, ismn_1, issn_1, mac_1, meid_1, phone_1, rtn_1, sedol_1, siren_1, siret_1, step_1, uuid_1, index_2, vin_1, zipCode_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + between: between_1.default, + blank: blank_1.default, + callback: callback_1.default, + choice: choice_1.default, + creditCard: creditCard_1.default, + date: date_1.default, + different: different_1.default, + digits: digits_1.default, + emailAddress: emailAddress_1.default, + file: file_1.default, + greaterThan: greaterThan_1.default, + identical: identical_1.default, + integer: integer_1.default, + ip: ip_1.default, + lessThan: lessThan_1.default, + notEmpty: notEmpty_1.default, + numeric: numeric_1.default, + promise: promise_1.default, + regexp: regexp_1.default, + remote: remote_1.default, + stringCase: stringCase_1.default, + stringLength: stringLength_1.default, + uri: uri_1.default, + base64: base64_1.default, + bic: bic_1.default, + color: color_1.default, + cusip: cusip_1.default, + ean: ean_1.default, + ein: ein_1.default, + grid: grid_1.default, + hex: hex_1.default, + iban: iban_1.default, + id: index_1.default, + imei: imei_1.default, + imo: imo_1.default, + isbn: isbn_1.default, + isin: isin_1.default, + ismn: ismn_1.default, + issn: issn_1.default, + mac: mac_1.default, + meid: meid_1.default, + phone: phone_1.default, + rtn: rtn_1.default, + sedol: sedol_1.default, + siren: siren_1.default, + siret: siret_1.default, + step: step_1.default, + uuid: uuid_1.default, + vat: index_2.default, + vin: vin_1.default, + zipCode: zipCode_1.default, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/index.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/index.js new file mode 100644 index 0000000..31488d4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/index.js @@ -0,0 +1,29 @@ +define(["require", "exports", "./between", "./blank", "./callback", "./choice", "./creditCard", "./date", "./different", "./digits", "./emailAddress", "./file", "./greaterThan", "./identical", "./integer", "./ip", "./lessThan", "./notEmpty", "./numeric", "./promise", "./regexp", "./remote", "./stringCase", "./stringLength", "./uri"], function (require, exports, between_1, blank_1, callback_1, choice_1, creditCard_1, date_1, different_1, digits_1, emailAddress_1, file_1, greaterThan_1, identical_1, integer_1, ip_1, lessThan_1, notEmpty_1, numeric_1, promise_1, regexp_1, remote_1, stringCase_1, stringLength_1, uri_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = { + between: between_1.default, + blank: blank_1.default, + callback: callback_1.default, + choice: choice_1.default, + creditCard: creditCard_1.default, + date: date_1.default, + different: different_1.default, + digits: digits_1.default, + emailAddress: emailAddress_1.default, + file: file_1.default, + greaterThan: greaterThan_1.default, + identical: identical_1.default, + integer: integer_1.default, + ip: ip_1.default, + lessThan: lessThan_1.default, + notEmpty: notEmpty_1.default, + numeric: numeric_1.default, + promise: promise_1.default, + regexp: regexp_1.default, + remote: remote_1.default, + stringCase: stringCase_1.default, + stringLength: stringLength_1.default, + uri: uri_1.default, + }; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/integer.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/integer.js new file mode 100644 index 0000000..31a634b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/integer.js @@ -0,0 +1,34 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function integer() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { + decimalSeparator: '.', + thousandsSeparator: '', + }, input.options); + var decimalSeparator = opts.decimalSeparator === '.' ? '\\.' : opts.decimalSeparator; + var thousandsSeparator = opts.thousandsSeparator === '.' ? '\\.' : opts.thousandsSeparator; + var testRegexp = new RegExp("^-?[0-9]{1,3}(" + thousandsSeparator + "[0-9]{3})*(" + decimalSeparator + "[0-9]+)?$"); + var thousandsReplacer = new RegExp(thousandsSeparator, 'g'); + var v = "" + input.value; + if (!testRegexp.test(v)) { + return { valid: false }; + } + if (thousandsSeparator) { + v = v.replace(thousandsReplacer, ''); + } + if (decimalSeparator) { + v = v.replace(decimalSeparator, '.'); + } + var n = parseFloat(v); + return { valid: !isNaN(n) && isFinite(n) && Math.floor(n) === n }; + }, + }; + } + exports.default = integer; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/ip.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/ip.js new file mode 100644 index 0000000..f1a0f21 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/ip.js @@ -0,0 +1,38 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function ip() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { + ipv4: true, + ipv6: true, + }, input.options); + var ipv4Regex = /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/([0-9]|[1-2][0-9]|3[0-2]))?$/; + var ipv6Regex = /^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/(\d|\d\d|1[0-1]\d|12[0-8]))?$/; + switch (true) { + case opts.ipv4 && !opts.ipv6: + return { + message: input.l10n ? opts.message || input.l10n.ip.ipv4 : opts.message, + valid: ipv4Regex.test(input.value), + }; + case !opts.ipv4 && opts.ipv6: + return { + message: input.l10n ? opts.message || input.l10n.ip.ipv6 : opts.message, + valid: ipv6Regex.test(input.value), + }; + case opts.ipv4 && opts.ipv6: + default: + return { + message: input.l10n ? opts.message || input.l10n.ip.default : opts.message, + valid: ipv4Regex.test(input.value) || ipv6Regex.test(input.value), + }; + } + }, + }; + } + exports.default = ip; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/isbn.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/isbn.js new file mode 100644 index 0000000..284a9fb --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/isbn.js @@ -0,0 +1,79 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function isbn() { + return { + validate: function (input) { + if (input.value === '') { + return { + meta: { + type: null, + }, + valid: true, + }; + } + var tpe; + switch (true) { + case /^\d{9}[\dX]$/.test(input.value): + case input.value.length === 13 && /^(\d+)-(\d+)-(\d+)-([\dX])$/.test(input.value): + case input.value.length === 13 && /^(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(input.value): + tpe = 'ISBN10'; + break; + case /^(978|979)\d{9}[\dX]$/.test(input.value): + case input.value.length === 17 && /^(978|979)-(\d+)-(\d+)-(\d+)-([\dX])$/.test(input.value): + case input.value.length === 17 && /^(978|979)\s(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(input.value): + tpe = 'ISBN13'; + break; + default: + return { + meta: { + type: null, + }, + valid: false, + }; + } + var chars = input.value.replace(/[^0-9X]/gi, '').split(''); + var length = chars.length; + var sum = 0; + var i; + var checksum; + switch (tpe) { + case 'ISBN10': + sum = 0; + for (i = 0; i < length - 1; i++) { + sum += parseInt(chars[i], 10) * (10 - i); + } + checksum = 11 - (sum % 11); + if (checksum === 11) { + checksum = 0; + } + else if (checksum === 10) { + checksum = 'X'; + } + return { + meta: { + type: tpe, + }, + valid: "" + checksum === chars[length - 1], + }; + case 'ISBN13': + sum = 0; + for (i = 0; i < length - 1; i++) { + sum += i % 2 === 0 ? parseInt(chars[i], 10) : parseInt(chars[i], 10) * 3; + } + checksum = 10 - (sum % 10); + if (checksum === 10) { + checksum = '0'; + } + return { + meta: { + type: tpe, + }, + valid: "" + checksum === chars[length - 1], + }; + } + }, + }; + } + exports.default = isbn; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/isin.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/isin.js new file mode 100644 index 0000000..2db2561 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/isin.js @@ -0,0 +1,46 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function isin() { + var COUNTRY_CODES = 'AF|AX|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BQ|BA|BW|' + + 'BV|BR|IO|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CG|CD|CK|CR|CI|HR|CU|CW|CY|CZ|DK|DJ|DM|DO|EC|EG|' + + 'SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|GF|PF|TF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GP|GU|GT|GG|GN|GW|GY|HT|HM|VA|HN|HK|HU|IS|' + + 'IN|ID|IR|IQ|IE|IM|IL|IT|JM|JP|JE|JO|KZ|KE|KI|KP|KR|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|' + + 'MH|MQ|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|NC|NZ|NI|NE|NG|NU|NF|MP|NO|OM|PK|PW|PS|PA|PG|PY|PE|' + + 'PH|PN|PL|PT|PR|QA|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|GS|SS|ES|LK|' + + 'SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TL|TG|TK|TO|TT|TN|TR|TM|TC|TV|UG|UA|AE|GB|US|UM|UY|UZ|VU|VE|VN|VG|VI|WF|EH|' + + 'YE|ZM|ZW'; + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var v = input.value.toUpperCase(); + var regex = new RegExp('^(' + COUNTRY_CODES + ')[0-9A-Z]{10}$'); + if (!regex.test(input.value)) { + return { valid: false }; + } + var length = v.length; + var converted = ''; + var i; + for (i = 0; i < length - 1; i++) { + var c = v.charCodeAt(i); + converted += c > 57 ? (c - 55).toString() : v.charAt(i); + } + var digits = ''; + var n = converted.length; + var group = n % 2 !== 0 ? 0 : 1; + for (i = 0; i < n; i++) { + digits += parseInt(converted[i], 10) * (i % 2 === group ? 2 : 1) + ''; + } + var sum = 0; + for (i = 0; i < digits.length; i++) { + sum += parseInt(digits.charAt(i), 10); + } + sum = (10 - (sum % 10)) % 10; + return { valid: "" + sum === v.charAt(length - 1) }; + }, + }; + } + exports.default = isin; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/ismn.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/ismn.js new file mode 100644 index 0000000..120cc3d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/ismn.js @@ -0,0 +1,53 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function ismn() { + return { + validate: function (input) { + if (input.value === '') { + return { + meta: null, + valid: true, + }; + } + var tpe; + switch (true) { + case /^M\d{9}$/.test(input.value): + case /^M-\d{4}-\d{4}-\d{1}$/.test(input.value): + case /^M\s\d{4}\s\d{4}\s\d{1}$/.test(input.value): + tpe = 'ISMN10'; + break; + case /^9790\d{9}$/.test(input.value): + case /^979-0-\d{4}-\d{4}-\d{1}$/.test(input.value): + case /^979\s0\s\d{4}\s\d{4}\s\d{1}$/.test(input.value): + tpe = 'ISMN13'; + break; + default: + return { + meta: null, + valid: false, + }; + } + var v = input.value; + if ('ISMN10' === tpe) { + v = "9790" + v.substr(1); + } + v = v.replace(/[^0-9]/gi, ''); + var sum = 0; + var length = v.length; + var weight = [1, 3]; + for (var i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i % 2]; + } + sum = (10 - (sum % 10)) % 10; + return { + meta: { + type: tpe, + }, + valid: "" + sum === v.charAt(length - 1), + }; + }, + }; + } + exports.default = ismn; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/issn.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/issn.js new file mode 100644 index 0000000..2d7d0e6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/issn.js @@ -0,0 +1,27 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function issn() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + if (!/^\d{4}-\d{3}[\dX]$/.test(input.value)) { + return { valid: false }; + } + var chars = input.value.replace(/[^0-9X]/gi, '').split(''); + var length = chars.length; + var sum = 0; + if (chars[7] === 'X') { + chars[7] = '10'; + } + for (var i = 0; i < length; i++) { + sum += parseInt(chars[i], 10) * (8 - i); + } + return { valid: sum % 11 === 0 }; + }, + }; + } + exports.default = issn; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/lessThan.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/lessThan.js new file mode 100644 index 0000000..8c0e6c0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/lessThan.js @@ -0,0 +1,25 @@ +define(["require", "exports", "../utils/format"], function (require, exports, format_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function lessThan() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { inclusive: true, message: '' }, input.options); + var maxValue = parseFloat(("" + opts.max).replace(',', '.')); + return opts.inclusive + ? { + message: (0, format_1.default)(input.l10n ? opts.message || input.l10n.lessThan.default : opts.message, "" + maxValue), + valid: parseFloat(input.value) <= maxValue, + } + : { + message: (0, format_1.default)(input.l10n ? opts.message || input.l10n.lessThan.notInclusive : opts.message, "" + maxValue), + valid: parseFloat(input.value) < maxValue, + }; + }, + }; + } + exports.default = lessThan; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/mac.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/mac.js new file mode 100644 index 0000000..b600db9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/mac.js @@ -0,0 +1,16 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function mac() { + return { + validate: function (input) { + return { + valid: input.value === '' || + /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/.test(input.value) || + /^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/.test(input.value), + }; + }, + }; + } + exports.default = mac; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/meid.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/meid.js new file mode 100644 index 0000000..b03b752 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/meid.js @@ -0,0 +1,48 @@ +define(["require", "exports", "../algorithms/luhn"], function (require, exports, luhn_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function meid() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var v = input.value; + if (/^[0-9A-F]{15}$/i.test(v) || + /^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}[- ][0-9A-F]$/i.test(v) || + /^\d{19}$/.test(v) || + /^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}[- ]\d$/.test(v)) { + var cd = v.charAt(v.length - 1).toUpperCase(); + v = v.replace(/[- ]/g, ''); + if (v.match(/^\d*$/i)) { + return { valid: (0, luhn_1.default)(v) }; + } + v = v.slice(0, -1); + var checkDigit = ''; + var i = void 0; + for (i = 1; i <= 13; i += 2) { + checkDigit += (parseInt(v.charAt(i), 16) * 2).toString(16); + } + var sum = 0; + for (i = 0; i < checkDigit.length; i++) { + sum += parseInt(checkDigit.charAt(i), 16); + } + return { + valid: sum % 10 === 0 + ? cd === '0' + : + cd === ((Math.floor((sum + 10) / 10) * 10 - sum) * 2).toString(16).toUpperCase(), + }; + } + if (/^[0-9A-F]{14}$/i.test(v) || + /^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}$/i.test(v) || + /^\d{18}$/.test(v) || + /^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}$/.test(v)) { + return { valid: true }; + } + return { valid: false }; + }, + }; + } + exports.default = meid; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/notEmpty.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/notEmpty.js new file mode 100644 index 0000000..e69cffb --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/notEmpty.js @@ -0,0 +1,16 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function notEmpty() { + return { + validate: function (input) { + var trim = !!input.options && !!input.options.trim; + var value = input.value; + return { + valid: (!trim && value !== '') || (trim && value !== '' && value.trim() !== ''), + }; + }, + }; + } + exports.default = notEmpty; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/numeric.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/numeric.js new file mode 100644 index 0000000..1c3d960 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/numeric.js @@ -0,0 +1,40 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function numeric() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { + decimalSeparator: '.', + thousandsSeparator: '', + }, input.options); + var v = "" + input.value; + if (v.substr(0, 1) === opts.decimalSeparator) { + v = "0" + opts.decimalSeparator + v.substr(1); + } + else if (v.substr(0, 2) === "-" + opts.decimalSeparator) { + v = "-0" + opts.decimalSeparator + v.substr(2); + } + var decimalSeparator = opts.decimalSeparator === '.' ? '\\.' : opts.decimalSeparator; + var thousandsSeparator = opts.thousandsSeparator === '.' ? '\\.' : opts.thousandsSeparator; + var testRegexp = new RegExp("^-?[0-9]{1,3}(" + thousandsSeparator + "[0-9]{3})*(" + decimalSeparator + "[0-9]+)?$"); + var thousandsReplacer = new RegExp(thousandsSeparator, 'g'); + if (!testRegexp.test(v)) { + return { valid: false }; + } + if (thousandsSeparator) { + v = v.replace(thousandsReplacer, ''); + } + if (decimalSeparator) { + v = v.replace(decimalSeparator, '.'); + } + var n = parseFloat(v); + return { valid: !isNaN(n) && isFinite(n) }; + }, + }; + } + exports.default = numeric; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/phone.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/phone.js new file mode 100644 index 0000000..90a1d4e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/phone.js @@ -0,0 +1,132 @@ +define(["require", "exports", "../utils/format"], function (require, exports, format_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function phone() { + var COUNTRY_CODES = [ + 'AE', + 'BG', + 'BR', + 'CN', + 'CZ', + 'DE', + 'DK', + 'ES', + 'FR', + 'GB', + 'IN', + 'MA', + 'NL', + 'PK', + 'RO', + 'RU', + 'SK', + 'TH', + 'US', + 'VE', + ]; + return { + validate: function (input) { + if (input.value === '') { + return { + valid: true, + }; + } + var opts = Object.assign({}, { message: '' }, input.options); + var v = input.value.trim(); + var country = v.substr(0, 2); + if ('function' === typeof opts.country) { + country = opts.country.call(this); + } + else { + country = opts.country; + } + if (!country || COUNTRY_CODES.indexOf(country.toUpperCase()) === -1) { + return { + valid: true, + }; + } + var isValid = true; + switch (country.toUpperCase()) { + case 'AE': + isValid = + /^(((\+|00)?971[\s.-]?(\(0\)[\s.-]?)?|0)(\(5(0|2|5|6)\)|5(0|2|5|6)|2|3|4|6|7|9)|60)([\s.-]?[0-9]){7}$/.test(v); + break; + case 'BG': + isValid = + /^(0|359|00)(((700|900)[0-9]{5}|((800)[0-9]{5}|(800)[0-9]{4}))|(87|88|89)([0-9]{7})|((2[0-9]{7})|(([3-9][0-9])(([0-9]{6})|([0-9]{5})))))$/.test(v.replace(/\+|\s|-|\/|\(|\)/gi, '')); + break; + case 'BR': + isValid = + /^(([\d]{4}[-.\s]{1}[\d]{2,3}[-.\s]{1}[\d]{2}[-.\s]{1}[\d]{2})|([\d]{4}[-.\s]{1}[\d]{3}[-.\s]{1}[\d]{4})|((\(?\+?[0-9]{2}\)?\s?)?(\(?\d{2}\)?\s?)?\d{4,5}[-.\s]?\d{4}))$/.test(v); + break; + case 'CN': + isValid = + /^((00|\+)?(86(?:-| )))?((\d{11})|(\d{3}[- ]{1}\d{4}[- ]{1}\d{4})|((\d{2,4}[- ]){1}(\d{7,8}|(\d{3,4}[- ]{1}\d{4}))([- ]{1}\d{1,4})?))$/.test(v); + break; + case 'CZ': + isValid = /^(((00)([- ]?)|\+)(420)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(v); + break; + case 'DE': + isValid = + /^(((((((00|\+)49[ \-/]?)|0)[1-9][0-9]{1,4})[ \-/]?)|((((00|\+)49\()|\(0)[1-9][0-9]{1,4}\)[ \-/]?))[0-9]{1,7}([ \-/]?[0-9]{1,5})?)$/.test(v); + break; + case 'DK': + isValid = /^(\+45|0045|\(45\))?\s?[2-9](\s?\d){7}$/.test(v); + break; + case 'ES': + isValid = /^(?:(?:(?:\+|00)34\D?))?(?:5|6|7|8|9)(?:\d\D?){8}$/.test(v); + break; + case 'FR': + isValid = /^(?:(?:(?:\+|00)33[ ]?(?:\(0\)[ ]?)?)|0){1}[1-9]{1}([ .-]?)(?:\d{2}\1?){3}\d{2}$/.test(v); + break; + case 'GB': + isValid = + /^\(?(?:(?:0(?:0|11)\)?[\s-]?\(?|\+)44\)?[\s-]?\(?(?:0\)?[\s-]?\(?)?|0)(?:\d{2}\)?[\s-]?\d{4}[\s-]?\d{4}|\d{3}\)?[\s-]?\d{3}[\s-]?\d{3,4}|\d{4}\)?[\s-]?(?:\d{5}|\d{3}[\s-]?\d{3})|\d{5}\)?[\s-]?\d{4,5}|8(?:00[\s-]?11[\s-]?11|45[\s-]?46[\s-]?4\d))(?:(?:[\s-]?(?:x|ext\.?\s?|#)\d+)?)$/.test(v); + break; + case 'IN': + isValid = /((\+?)((0[ -]+)*|(91 )*)(\d{12}|\d{10}))|\d{5}([- ]*)\d{6}/.test(v); + break; + case 'MA': + isValid = + /^(?:(?:(?:\+|00)212[\s]?(?:[\s]?\(0\)[\s]?)?)|0){1}(?:5[\s.-]?[2-3]|6[\s.-]?[13-9]){1}[0-9]{1}(?:[\s.-]?\d{2}){3}$/.test(v); + break; + case 'NL': + isValid = + /^((\+|00(\s|\s?-\s?)?)31(\s|\s?-\s?)?(\(0\)[-\s]?)?|0)[1-9]((\s|\s?-\s?)?[0-9])((\s|\s?-\s?)?[0-9])((\s|\s?-\s?)?[0-9])\s?[0-9]\s?[0-9]\s?[0-9]\s?[0-9]\s?[0-9]$/gm.test(v); + break; + case 'PK': + isValid = /^0?3[0-9]{2}[0-9]{7}$/.test(v); + break; + case 'RO': + isValid = + /^(\+4|)?(07[0-8]{1}[0-9]{1}|02[0-9]{2}|03[0-9]{2}){1}?(\s|\.|-)?([0-9]{3}(\s|\.|-|)){2}$/g.test(v); + break; + case 'RU': + isValid = /^((8|\+7|007)[-./ ]?)?([(/.]?\d{3}[)/.]?[-./ ]?)?[\d\-./ ]{7,10}$/g.test(v); + break; + case 'SK': + isValid = /^(((00)([- ]?)|\+)(421)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(v); + break; + case 'TH': + isValid = /^0\(?([6|8-9]{2})*-([0-9]{3})*-([0-9]{4})$/.test(v); + break; + case 'VE': + isValid = + /^0(?:2(?:12|4[0-9]|5[1-9]|6[0-9]|7[0-8]|8[1-35-8]|9[1-5]|3[45789])|4(?:1[246]|2[46]))\d{7}$/.test(v); + break; + case 'US': + default: + isValid = /^(?:(1-?)|(\+1 ?))?\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}$/.test(v); + break; + } + return { + message: (0, format_1.default)(input.l10n && input.l10n.phone ? opts.message || input.l10n.phone.country : opts.message, input.l10n && input.l10n.phone && input.l10n.phone.countries + ? input.l10n.phone.countries[country] + : country), + valid: isValid, + }; + }, + }; + } + exports.default = phone; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/promise.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/promise.js new file mode 100644 index 0000000..e5b316b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/promise.js @@ -0,0 +1,12 @@ +define(["require", "exports", "../utils/call"], function (require, exports, call_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function promise() { + return { + validate: function (input) { + return (0, call_1.default)(input.options.promise, [input]); + }, + }; + } + exports.default = promise; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/regexp.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/regexp.js new file mode 100644 index 0000000..02b4b96 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/regexp.js @@ -0,0 +1,23 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function regexp() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var reg = input.options.regexp; + if (reg instanceof RegExp) { + return { valid: reg.test(input.value) }; + } + else { + var pattern = reg.toString(); + var exp = input.options.flags ? new RegExp(pattern, input.options.flags) : new RegExp(pattern); + return { valid: exp.test(input.value) }; + } + }, + }; + } + exports.default = regexp; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/remote.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/remote.js new file mode 100644 index 0000000..1c5299d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/remote.js @@ -0,0 +1,53 @@ +define(["require", "exports", "../utils/fetch"], function (require, exports, fetch_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function remote() { + var DEFAULT_OPTIONS = { + crossDomain: false, + data: {}, + headers: {}, + method: 'GET', + validKey: 'valid', + }; + return { + validate: function (input) { + if (input.value === '') { + return Promise.resolve({ + valid: true, + }); + } + var opts = Object.assign({}, DEFAULT_OPTIONS, input.options); + var data = opts.data; + if ('function' === typeof opts.data) { + data = opts.data.call(this, input); + } + if ('string' === typeof data) { + data = JSON.parse(data); + } + data[opts.name || input.field] = input.value; + var url = 'function' === typeof opts.url + ? opts.url.call(this, input) + : opts.url; + return (0, fetch_1.default)(url, { + crossDomain: opts.crossDomain, + headers: opts.headers, + method: opts.method, + params: data, + }) + .then(function (response) { + return Promise.resolve({ + message: response['message'], + meta: response, + valid: "" + response[opts.validKey] === 'true', + }); + }) + .catch(function (_reason) { + return Promise.reject({ + valid: false, + }); + }); + }, + }; + } + exports.default = remote; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/rtn.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/rtn.js new file mode 100644 index 0000000..2c95eac --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/rtn.js @@ -0,0 +1,25 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function rtn() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + if (!/^\d{9}$/.test(input.value)) { + return { valid: false }; + } + var sum = 0; + for (var i = 0; i < input.value.length; i += 3) { + sum += + parseInt(input.value.charAt(i), 10) * 3 + + parseInt(input.value.charAt(i + 1), 10) * 7 + + parseInt(input.value.charAt(i + 2), 10); + } + return { valid: sum !== 0 && sum % 10 === 0 }; + }, + }; + } + exports.default = rtn; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/sedol.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/sedol.js new file mode 100644 index 0000000..155bc77 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/sedol.js @@ -0,0 +1,26 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function sedol() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var v = input.value.toUpperCase(); + if (!/^[0-9A-Z]{7}$/.test(v)) { + return { valid: false }; + } + var weight = [1, 3, 1, 7, 3, 9, 1]; + var length = v.length; + var sum = 0; + for (var i = 0; i < length - 1; i++) { + sum += weight[i] * parseInt(v.charAt(i), 36); + } + sum = (10 - (sum % 10)) % 10; + return { valid: "" + sum === v.charAt(length - 1) }; + }, + }; + } + exports.default = sedol; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/siren.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/siren.js new file mode 100644 index 0000000..294be2e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/siren.js @@ -0,0 +1,14 @@ +define(["require", "exports", "../algorithms/luhn"], function (require, exports, luhn_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function siren() { + return { + validate: function (input) { + return { + valid: input.value === '' || (/^\d{9}$/.test(input.value) && (0, luhn_1.default)(input.value)), + }; + }, + }; + } + exports.default = siren; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/siret.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/siret.js new file mode 100644 index 0000000..5544641 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/siret.js @@ -0,0 +1,28 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function siret() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var length = input.value.length; + var sum = 0; + var tmp; + for (var i = 0; i < length; i++) { + tmp = parseInt(input.value.charAt(i), 10); + if (i % 2 === 0) { + tmp = tmp * 2; + if (tmp > 9) { + tmp -= 9; + } + } + sum += tmp; + } + return { valid: sum % 10 === 0 }; + }, + }; + } + exports.default = siret; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/step.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/step.js new file mode 100644 index 0000000..1412dcc --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/step.js @@ -0,0 +1,55 @@ +define(["require", "exports", "../utils/format"], function (require, exports, format_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function step() { + var round = function (input, precision) { + var m = Math.pow(10, precision); + var x = input * m; + var sign; + switch (true) { + case x === 0: + sign = 0; + break; + case x > 0: + sign = 1; + break; + case x < 0: + sign = -1; + break; + } + var isHalf = x % 1 === 0.5 * sign; + return isHalf ? (Math.floor(x) + (sign > 0 ? 1 : 0)) / m : Math.round(x) / m; + }; + var floatMod = function (x, y) { + if (y === 0.0) { + return 1.0; + } + var dotX = ("" + x).split('.'); + var dotY = ("" + y).split('.'); + var precision = (dotX.length === 1 ? 0 : dotX[1].length) + (dotY.length === 1 ? 0 : dotY[1].length); + return round(x - y * Math.floor(x / y), precision); + }; + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var v = parseFloat(input.value); + if (isNaN(v) || !isFinite(v)) { + return { valid: false }; + } + var opts = Object.assign({}, { + baseValue: 0, + message: '', + step: 1, + }, input.options); + var mod = floatMod(v - opts.baseValue, opts.step); + return { + message: (0, format_1.default)(input.l10n ? opts.message || input.l10n.step.default : opts.message, "" + opts.step), + valid: mod === 0.0 || mod === opts.step, + }; + }, + }; + } + exports.default = step; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/stringCase.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/stringCase.js new file mode 100644 index 0000000..07f084e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/stringCase.js @@ -0,0 +1,27 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function stringCase() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { case: 'lower' }, input.options); + var caseOpt = (opts.case || 'lower').toLowerCase(); + return { + message: opts.message || + (input.l10n + ? 'upper' === caseOpt + ? input.l10n.stringCase.upper + : input.l10n.stringCase.default + : opts.message), + valid: 'upper' === caseOpt + ? input.value === input.value.toUpperCase() + : input.value === input.value.toLowerCase(), + }; + }, + }; + } + exports.default = stringCase; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/stringLength.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/stringLength.js new file mode 100644 index 0000000..a7e65b5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/stringLength.js @@ -0,0 +1,64 @@ +define(["require", "exports", "../utils/format"], function (require, exports, format_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function stringLength() { + var utf8Length = function (str) { + var s = str.length; + for (var i = str.length - 1; i >= 0; i--) { + var code = str.charCodeAt(i); + if (code > 0x7f && code <= 0x7ff) { + s++; + } + else if (code > 0x7ff && code <= 0xffff) { + s += 2; + } + if (code >= 0xdc00 && code <= 0xdfff) { + i--; + } + } + return "" + s; + }; + return { + validate: function (input) { + var opts = Object.assign({}, { + message: '', + trim: false, + utf8Bytes: false, + }, input.options); + var v = opts.trim === true || "" + opts.trim === 'true' ? input.value.trim() : input.value; + if (v === '') { + return { valid: true }; + } + var min = opts.min ? "" + opts.min : ''; + var max = opts.max ? "" + opts.max : ''; + var length = opts.utf8Bytes ? utf8Length(v) : v.length; + var isValid = true; + var msg = input.l10n ? opts.message || input.l10n.stringLength.default : opts.message; + if ((min && length < parseInt(min, 10)) || (max && length > parseInt(max, 10))) { + isValid = false; + } + switch (true) { + case !!min && !!max: + msg = (0, format_1.default)(input.l10n ? opts.message || input.l10n.stringLength.between : opts.message, [ + min, + max, + ]); + break; + case !!min: + msg = (0, format_1.default)(input.l10n ? opts.message || input.l10n.stringLength.more : opts.message, "" + parseInt(min, 10)); + break; + case !!max: + msg = (0, format_1.default)(input.l10n ? opts.message || input.l10n.stringLength.less : opts.message, "" + parseInt(max, 10)); + break; + default: + break; + } + return { + message: msg, + valid: isValid, + }; + }, + }; + } + exports.default = stringLength; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/uri.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/uri.js new file mode 100644 index 0000000..7325cc0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/uri.js @@ -0,0 +1,47 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function uri() { + var DEFAULT_OPTIONS = { + allowEmptyProtocol: false, + allowLocal: false, + protocol: 'http, https, ftp', + }; + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var opts = Object.assign({}, DEFAULT_OPTIONS, input.options); + var allowLocal = opts.allowLocal === true || "" + opts.allowLocal === 'true'; + var allowEmptyProtocol = opts.allowEmptyProtocol === true || "" + opts.allowEmptyProtocol === 'true'; + var protocol = opts.protocol.split(',').join('|').replace(/\s/g, ''); + var urlExp = new RegExp('^' + + '(?:(?:' + + protocol + + ')://)' + + (allowEmptyProtocol ? '?' : '') + + '(?:\\S+(?::\\S*)?@)?' + + '(?:' + + (allowLocal + ? '' + : '(?!(?:10|127)(?:\\.\\d{1,3}){3})' + + '(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})' + + '(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})') + + '(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])' + + '(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}' + + '(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))' + + '|' + + '(?:(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9]+)' + + '(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9])*' + + '(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))' + + (allowLocal ? '?' : '') + + ')' + + '(?::\\d{2,5})?' + + '(?:/[^\\s]*)?$', 'i'); + return { valid: urlExp.test(input.value) }; + }, + }; + } + exports.default = uri; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/uuid.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/uuid.js new file mode 100644 index 0000000..a173e74 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/uuid.js @@ -0,0 +1,30 @@ +define(["require", "exports", "../utils/format"], function (require, exports, format_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function uuid() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { message: '' }, input.options); + var patterns = { + 3: /^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i, + 4: /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i, + 5: /^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i, + all: /^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i, + }; + var version = opts.version ? "" + opts.version : 'all'; + return { + message: opts.version + ? (0, format_1.default)(input.l10n ? opts.message || input.l10n.uuid.version : opts.message, opts.version) + : input.l10n + ? input.l10n.uuid.default + : opts.message, + valid: null === patterns[version] ? true : patterns[version].test(input.value), + }; + }, + }; + } + exports.default = uuid; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/arVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/arVat.js new file mode 100644 index 0000000..f9c3ab5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/arVat.js @@ -0,0 +1,30 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function arVat(value) { + var v = value.replace('-', ''); + if (/^AR[0-9]{11}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{11}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var weight = [5, 4, 3, 2, 7, 6, 5, 4, 3, 2]; + var sum = 0; + for (var i = 0; i < 10; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + if (sum === 11) { + sum = 0; + } + return { + meta: {}, + valid: "" + sum === v.substr(10), + }; + } + exports.default = arVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/atVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/atVat.js new file mode 100644 index 0000000..0cc7362 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/atVat.js @@ -0,0 +1,36 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function atVat(value) { + var v = value; + if (/^ATU[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^U[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + v = v.substr(1); + var weight = [1, 2, 1, 2, 1, 2, 1]; + var sum = 0; + var temp = 0; + for (var i = 0; i < 7; i++) { + temp = parseInt(v.charAt(i), 10) * weight[i]; + if (temp > 9) { + temp = Math.floor(temp / 10) + (temp % 10); + } + sum += temp; + } + sum = 10 - ((sum + 4) % 10); + if (sum === 10) { + sum = 0; + } + return { + meta: {}, + valid: "" + sum === v.substr(7, 1), + }; + } + exports.default = atVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/beVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/beVat.js new file mode 100644 index 0000000..756bc02 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/beVat.js @@ -0,0 +1,31 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function beVat(value) { + var v = value; + if (/^BE[0]?[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0]?[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + if (v.length === 9) { + v = "0" + v; + } + if (v.substr(1, 1) === '0') { + return { + meta: {}, + valid: false, + }; + } + var sum = parseInt(v.substr(0, 8), 10) + parseInt(v.substr(8, 2), 10); + return { + meta: {}, + valid: sum % 97 === 0, + }; + } + exports.default = beVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/bgVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/bgVat.js new file mode 100644 index 0000000..467a352 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/bgVat.js @@ -0,0 +1,90 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function bgVat(value) { + var v = value; + if (/^BG[0-9]{9,10}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9,10}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var sum = 0; + var i = 0; + if (v.length === 9) { + for (i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * (i + 1); + } + sum = sum % 11; + if (sum === 10) { + sum = 0; + for (i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * (i + 3); + } + sum = sum % 11; + } + sum = sum % 10; + return { + meta: {}, + valid: "" + sum === v.substr(8), + }; + } + else { + var isEgn = function (input) { + var year = parseInt(input.substr(0, 2), 10) + 1900; + var month = parseInt(input.substr(2, 2), 10); + var day = parseInt(input.substr(4, 2), 10); + if (month > 40) { + year += 100; + month -= 40; + } + else if (month > 20) { + year -= 100; + month -= 20; + } + if (!(0, isValidDate_1.default)(year, month, day)) { + return false; + } + var weight = [2, 4, 8, 5, 10, 9, 7, 3, 6]; + var s = 0; + for (var j = 0; j < 9; j++) { + s += parseInt(input.charAt(j), 10) * weight[j]; + } + s = (s % 11) % 10; + return "" + s === input.substr(9, 1); + }; + var isPnf = function (input) { + var weight = [21, 19, 17, 13, 11, 9, 7, 3, 1]; + var s = 0; + for (var j = 0; j < 9; j++) { + s += parseInt(input.charAt(j), 10) * weight[j]; + } + s = s % 10; + return "" + s === input.substr(9, 1); + }; + var isVat = function (input) { + var weight = [4, 3, 2, 7, 6, 5, 4, 3, 2]; + var s = 0; + for (var j = 0; j < 9; j++) { + s += parseInt(input.charAt(j), 10) * weight[j]; + } + s = 11 - (s % 11); + if (s === 10) { + return false; + } + if (s === 11) { + s = 0; + } + return "" + s === input.substr(9, 1); + }; + return { + meta: {}, + valid: isEgn(v) || isPnf(v) || isVat(v), + }; + } + } + exports.default = bgVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/brVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/brVat.js new file mode 100644 index 0000000..d47b022 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/brVat.js @@ -0,0 +1,69 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function brVat(value) { + if (value === '') { + return { + meta: {}, + valid: true, + }; + } + var cnpj = value.replace(/[^\d]+/g, ''); + if (cnpj === '' || cnpj.length !== 14) { + return { + meta: {}, + valid: false, + }; + } + if (cnpj === '00000000000000' || + cnpj === '11111111111111' || + cnpj === '22222222222222' || + cnpj === '33333333333333' || + cnpj === '44444444444444' || + cnpj === '55555555555555' || + cnpj === '66666666666666' || + cnpj === '77777777777777' || + cnpj === '88888888888888' || + cnpj === '99999999999999') { + return { + meta: {}, + valid: false, + }; + } + var length = cnpj.length - 2; + var numbers = cnpj.substring(0, length); + var digits = cnpj.substring(length); + var sum = 0; + var pos = length - 7; + var i; + for (i = length; i >= 1; i--) { + sum += parseInt(numbers.charAt(length - i), 10) * pos--; + if (pos < 2) { + pos = 9; + } + } + var result = sum % 11 < 2 ? 0 : 11 - (sum % 11); + if (result !== parseInt(digits.charAt(0), 10)) { + return { + meta: {}, + valid: false, + }; + } + length = length + 1; + numbers = cnpj.substring(0, length); + sum = 0; + pos = length - 7; + for (i = length; i >= 1; i--) { + sum += parseInt(numbers.charAt(length - i), 10) * pos--; + if (pos < 2) { + pos = 9; + } + } + result = sum % 11 < 2 ? 0 : 11 - (sum % 11); + return { + meta: {}, + valid: result === parseInt(digits.charAt(1), 10), + }; + } + exports.default = brVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/chVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/chVat.js new file mode 100644 index 0000000..dd24ee3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/chVat.js @@ -0,0 +1,37 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function chVat(value) { + var v = value; + if (/^CHE[0-9]{9}(MWST|TVA|IVA|TPV)?$/.test(v)) { + v = v.substr(2); + } + if (!/^E[0-9]{9}(MWST|TVA|IVA|TPV)?$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + v = v.substr(1); + var weight = [5, 4, 3, 2, 7, 6, 5, 4]; + var sum = 0; + for (var i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + if (sum === 10) { + return { + meta: {}, + valid: false, + }; + } + if (sum === 11) { + sum = 0; + } + return { + meta: {}, + valid: "" + sum === v.substr(8, 1), + }; + } + exports.default = chVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/cyVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/cyVat.js new file mode 100644 index 0000000..09e668e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/cyVat.js @@ -0,0 +1,47 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function cyVat(value) { + var v = value; + if (/^CY[0-5|9][0-9]{7}[A-Z]$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-5|9][0-9]{7}[A-Z]$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + if (v.substr(0, 2) === '12') { + return { + meta: {}, + valid: false, + }; + } + var sum = 0; + var translation = { + 0: 1, + 1: 0, + 2: 5, + 3: 7, + 4: 9, + 5: 13, + 6: 15, + 7: 17, + 8: 19, + 9: 21, + }; + for (var i = 0; i < 8; i++) { + var temp = parseInt(v.charAt(i), 10); + if (i % 2 === 0) { + temp = translation["" + temp]; + } + sum += temp; + } + return { + meta: {}, + valid: "" + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'[sum % 26] === v.substr(8, 1), + }; + } + exports.default = cyVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/czVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/czVat.js new file mode 100644 index 0000000..c0c1db8 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/czVat.js @@ -0,0 +1,103 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function czVat(value) { + var v = value; + if (/^CZ[0-9]{8,10}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8,10}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var sum = 0; + var i = 0; + if (v.length === 8) { + if ("" + v.charAt(0) === '9') { + return { + meta: {}, + valid: false, + }; + } + sum = 0; + for (i = 0; i < 7; i++) { + sum += parseInt(v.charAt(i), 10) * (8 - i); + } + sum = 11 - (sum % 11); + if (sum === 10) { + sum = 0; + } + if (sum === 11) { + sum = 1; + } + return { + meta: {}, + valid: "" + sum === v.substr(7, 1), + }; + } + else if (v.length === 9 && "" + v.charAt(0) === '6') { + sum = 0; + for (i = 0; i < 7; i++) { + sum += parseInt(v.charAt(i + 1), 10) * (8 - i); + } + sum = 11 - (sum % 11); + if (sum === 10) { + sum = 0; + } + if (sum === 11) { + sum = 1; + } + sum = [8, 7, 6, 5, 4, 3, 2, 1, 0, 9, 10][sum - 1]; + return { + meta: {}, + valid: "" + sum === v.substr(8, 1), + }; + } + else if (v.length === 9 || v.length === 10) { + var year = 1900 + parseInt(v.substr(0, 2), 10); + var month = (parseInt(v.substr(2, 2), 10) % 50) % 20; + var day = parseInt(v.substr(4, 2), 10); + if (v.length === 9) { + if (year >= 1980) { + year -= 100; + } + if (year > 1953) { + return { + meta: {}, + valid: false, + }; + } + } + else if (year < 1954) { + year += 100; + } + if (!(0, isValidDate_1.default)(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + if (v.length === 10) { + var check = parseInt(v.substr(0, 9), 10) % 11; + if (year < 1985) { + check = check % 10; + } + return { + meta: {}, + valid: "" + check === v.substr(9, 1), + }; + } + return { + meta: {}, + valid: true, + }; + } + return { + meta: {}, + valid: false, + }; + } + exports.default = czVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/deVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/deVat.js new file mode 100644 index 0000000..dab748b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/deVat.js @@ -0,0 +1,21 @@ +define(["require", "exports", "../../algorithms/mod11And10"], function (require, exports, mod11And10_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function deVat(value) { + var v = value; + if (/^DE[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + return { + meta: {}, + valid: (0, mod11And10_1.default)(v), + }; + } + exports.default = deVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/dkVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/dkVat.js new file mode 100644 index 0000000..674e3e8 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/dkVat.js @@ -0,0 +1,26 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function dkVat(value) { + var v = value; + if (/^DK[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var sum = 0; + var weight = [2, 7, 6, 5, 4, 3, 2, 1]; + for (var i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + return { + meta: {}, + valid: sum % 11 === 0, + }; + } + exports.default = dkVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/eeVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/eeVat.js new file mode 100644 index 0000000..dd3c209 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/eeVat.js @@ -0,0 +1,26 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function eeVat(value) { + var v = value; + if (/^EE[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var sum = 0; + var weight = [3, 7, 1, 3, 7, 1, 3, 7, 1]; + for (var i = 0; i < 9; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + return { + meta: {}, + valid: sum % 10 === 0, + }; + } + exports.default = eeVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/esVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/esVat.js new file mode 100644 index 0000000..6de69a1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/esVat.js @@ -0,0 +1,78 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function esVat(value) { + var v = value; + if (/^ES[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var dni = function (input) { + var check = parseInt(input.substr(0, 8), 10); + return "" + 'TRWAGMYFPDXBNJZSQVHLCKE'[check % 23] === input.substr(8, 1); + }; + var nie = function (input) { + var check = ['XYZ'.indexOf(input.charAt(0)), input.substr(1)].join(''); + var cd = 'TRWAGMYFPDXBNJZSQVHLCKE'[parseInt(check, 10) % 23]; + return "" + cd === input.substr(8, 1); + }; + var cif = function (input) { + var firstChar = input.charAt(0); + var check; + if ('KLM'.indexOf(firstChar) !== -1) { + check = parseInt(input.substr(1, 8), 10); + check = 'TRWAGMYFPDXBNJZSQVHLCKE'[check % 23]; + return "" + check === input.substr(8, 1); + } + else if ('ABCDEFGHJNPQRSUVW'.indexOf(firstChar) !== -1) { + var weight = [2, 1, 2, 1, 2, 1, 2]; + var sum = 0; + var temp = 0; + for (var i = 0; i < 7; i++) { + temp = parseInt(input.charAt(i + 1), 10) * weight[i]; + if (temp > 9) { + temp = Math.floor(temp / 10) + (temp % 10); + } + sum += temp; + } + sum = 10 - (sum % 10); + if (sum === 10) { + sum = 0; + } + return "" + sum === input.substr(8, 1) || 'JABCDEFGHI'[sum] === input.substr(8, 1); + } + return false; + }; + var first = v.charAt(0); + if (/^[0-9]$/.test(first)) { + return { + meta: { + type: 'DNI', + }, + valid: dni(v), + }; + } + else if (/^[XYZ]$/.test(first)) { + return { + meta: { + type: 'NIE', + }, + valid: nie(v), + }; + } + else { + return { + meta: { + type: 'CIF', + }, + valid: cif(v), + }; + } + } + exports.default = esVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/fiVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/fiVat.js new file mode 100644 index 0000000..23f9859 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/fiVat.js @@ -0,0 +1,26 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function fiVat(value) { + var v = value; + if (/^FI[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var weight = [7, 9, 10, 5, 8, 4, 2, 1]; + var sum = 0; + for (var i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + return { + meta: {}, + valid: sum % 11 === 0, + }; + } + exports.default = fiVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/frVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/frVat.js new file mode 100644 index 0000000..0dba94e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/frVat.js @@ -0,0 +1,43 @@ +define(["require", "exports", "../../algorithms/luhn"], function (require, exports, luhn_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function frVat(value) { + var v = value; + if (/^FR[0-9A-Z]{2}[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9A-Z]{2}[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + if (v.substr(2, 4) !== '000') { + return { + meta: {}, + valid: (0, luhn_1.default)(v.substr(2)), + }; + } + if (/^[0-9]{2}$/.test(v.substr(0, 2))) { + return { + meta: {}, + valid: v.substr(0, 2) === "" + parseInt(v.substr(2) + '12', 10) % 97, + }; + } + else { + var alphabet = '0123456789ABCDEFGHJKLMNPQRSTUVWXYZ'; + var check = void 0; + if (/^[0-9]$/.test(v.charAt(0))) { + check = alphabet.indexOf(v.charAt(0)) * 24 + alphabet.indexOf(v.charAt(1)) - 10; + } + else { + check = alphabet.indexOf(v.charAt(0)) * 34 + alphabet.indexOf(v.charAt(1)) - 100; + } + return { + meta: {}, + valid: (parseInt(v.substr(2), 10) + 1 + Math.floor(check / 11)) % 11 === check % 11, + }; + } + } + exports.default = frVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/gbVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/gbVat.js new file mode 100644 index 0000000..bd2142b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/gbVat.js @@ -0,0 +1,64 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function gbVat(value) { + var v = value; + if (/^GB[0-9]{9}$/.test(v) || + /^GB[0-9]{12}$/.test(v) || + /^GBGD[0-9]{3}$/.test(v) || + /^GBHA[0-9]{3}$/.test(v) || + /^GB(GD|HA)8888[0-9]{5}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v) && + !/^[0-9]{12}$/.test(v) && + !/^GD[0-9]{3}$/.test(v) && + !/^HA[0-9]{3}$/.test(v) && + !/^(GD|HA)8888[0-9]{5}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var length = v.length; + if (length === 5) { + var firstTwo = v.substr(0, 2); + var lastThree = parseInt(v.substr(2), 10); + return { + meta: {}, + valid: ('GD' === firstTwo && lastThree < 500) || ('HA' === firstTwo && lastThree >= 500), + }; + } + else if (length === 11 && ('GD8888' === v.substr(0, 6) || 'HA8888' === v.substr(0, 6))) { + if (('GD' === v.substr(0, 2) && parseInt(v.substr(6, 3), 10) >= 500) || + ('HA' === v.substr(0, 2) && parseInt(v.substr(6, 3), 10) < 500)) { + return { + meta: {}, + valid: false, + }; + } + return { + meta: {}, + valid: parseInt(v.substr(6, 3), 10) % 97 === parseInt(v.substr(9, 2), 10), + }; + } + else if (length === 9 || length === 12) { + var weight = [8, 7, 6, 5, 4, 3, 2, 10, 1]; + var sum = 0; + for (var i = 0; i < 9; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = sum % 97; + var isValid = parseInt(v.substr(0, 3), 10) >= 100 ? sum === 0 || sum === 42 || sum === 55 : sum === 0; + return { + meta: {}, + valid: isValid, + }; + } + return { + meta: {}, + valid: true, + }; + } + exports.default = gbVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/grVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/grVat.js new file mode 100644 index 0000000..7f28278 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/grVat.js @@ -0,0 +1,30 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function grVat(value) { + var v = value; + if (/^(GR|EL)[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + if (v.length === 8) { + v = "0" + v; + } + var weight = [256, 128, 64, 32, 16, 8, 4, 2]; + var sum = 0; + for (var i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = (sum % 11) % 10; + return { + meta: {}, + valid: "" + sum === v.substr(8, 1), + }; + } + exports.default = grVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/hrVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/hrVat.js new file mode 100644 index 0000000..bc8f896 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/hrVat.js @@ -0,0 +1,21 @@ +define(["require", "exports", "../../algorithms/mod11And10"], function (require, exports, mod11And10_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function hrVat(value) { + var v = value; + if (/^HR[0-9]{11}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{11}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + return { + meta: {}, + valid: (0, mod11And10_1.default)(v), + }; + } + exports.default = hrVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/huVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/huVat.js new file mode 100644 index 0000000..576cfb7 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/huVat.js @@ -0,0 +1,26 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function huVat(value) { + var v = value; + if (/^HU[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var weight = [9, 7, 3, 1, 9, 7, 3, 1]; + var sum = 0; + for (var i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + return { + meta: {}, + valid: sum % 10 === 0, + }; + } + exports.default = huVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ieVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ieVat.js new file mode 100644 index 0000000..fb99571 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ieVat.js @@ -0,0 +1,46 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function ieVat(value) { + var v = value; + if (/^IE[0-9][0-9A-Z*+][0-9]{5}[A-Z]{1,2}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9][0-9A-Z*+][0-9]{5}[A-Z]{1,2}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var getCheckDigit = function (inp) { + var input = inp; + while (input.length < 7) { + input = "0" + input; + } + var alphabet = 'WABCDEFGHIJKLMNOPQRSTUV'; + var sum = 0; + for (var i = 0; i < 7; i++) { + sum += parseInt(input.charAt(i), 10) * (8 - i); + } + sum += 9 * alphabet.indexOf(input.substr(7)); + return alphabet[sum % 23]; + }; + if (/^[0-9]+$/.test(v.substr(0, 7))) { + return { + meta: {}, + valid: v.charAt(7) === getCheckDigit("" + v.substr(0, 7) + v.substr(8)), + }; + } + else if ('ABCDEFGHIJKLMNOPQRSTUVWXYZ+*'.indexOf(v.charAt(1)) !== -1) { + return { + meta: {}, + valid: v.charAt(7) === getCheckDigit("" + v.substr(2, 5) + v.substr(0, 1)), + }; + } + return { + meta: {}, + valid: true, + }; + } + exports.default = ieVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/index.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/index.js new file mode 100644 index 0000000..848b974 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/index.js @@ -0,0 +1,192 @@ +define(["require", "exports", "../../utils/format", "./arVat", "./atVat", "./beVat", "./bgVat", "./brVat", "./chVat", "./cyVat", "./czVat", "./deVat", "./dkVat", "./eeVat", "./esVat", "./fiVat", "./frVat", "./gbVat", "./grVat", "./hrVat", "./huVat", "./ieVat", "./isVat", "./itVat", "./ltVat", "./luVat", "./lvVat", "./mtVat", "./nlVat", "./noVat", "./plVat", "./ptVat", "./roVat", "./rsVat", "./ruVat", "./seVat", "./siVat", "./skVat", "./veVat", "./zaVat"], function (require, exports, format_1, arVat_1, atVat_1, beVat_1, bgVat_1, brVat_1, chVat_1, cyVat_1, czVat_1, deVat_1, dkVat_1, eeVat_1, esVat_1, fiVat_1, frVat_1, gbVat_1, grVat_1, hrVat_1, huVat_1, ieVat_1, isVat_1, itVat_1, ltVat_1, luVat_1, lvVat_1, mtVat_1, nlVat_1, noVat_1, plVat_1, ptVat_1, roVat_1, rsVat_1, ruVat_1, seVat_1, siVat_1, skVat_1, veVat_1, zaVat_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function vat() { + var COUNTRY_CODES = [ + 'AR', + 'AT', + 'BE', + 'BG', + 'BR', + 'CH', + 'CY', + 'CZ', + 'DE', + 'DK', + 'EE', + 'EL', + 'ES', + 'FI', + 'FR', + 'GB', + 'GR', + 'HR', + 'HU', + 'IE', + 'IS', + 'IT', + 'LT', + 'LU', + 'LV', + 'MT', + 'NL', + 'NO', + 'PL', + 'PT', + 'RO', + 'RU', + 'RS', + 'SE', + 'SK', + 'SI', + 'VE', + 'ZA', + ]; + return { + validate: function (input) { + var value = input.value; + if (value === '') { + return { valid: true }; + } + var opts = Object.assign({}, { message: '' }, input.options); + var country = value.substr(0, 2); + if ('function' === typeof opts.country) { + country = opts.country.call(this); + } + else { + country = opts.country; + } + if (COUNTRY_CODES.indexOf(country) === -1) { + return { valid: true }; + } + var result = { + meta: {}, + valid: true, + }; + switch (country.toLowerCase()) { + case 'ar': + result = (0, arVat_1.default)(value); + break; + case 'at': + result = (0, atVat_1.default)(value); + break; + case 'be': + result = (0, beVat_1.default)(value); + break; + case 'bg': + result = (0, bgVat_1.default)(value); + break; + case 'br': + result = (0, brVat_1.default)(value); + break; + case 'ch': + result = (0, chVat_1.default)(value); + break; + case 'cy': + result = (0, cyVat_1.default)(value); + break; + case 'cz': + result = (0, czVat_1.default)(value); + break; + case 'de': + result = (0, deVat_1.default)(value); + break; + case 'dk': + result = (0, dkVat_1.default)(value); + break; + case 'ee': + result = (0, eeVat_1.default)(value); + break; + case 'el': + result = (0, grVat_1.default)(value); + break; + case 'es': + result = (0, esVat_1.default)(value); + break; + case 'fi': + result = (0, fiVat_1.default)(value); + break; + case 'fr': + result = (0, frVat_1.default)(value); + break; + case 'gb': + result = (0, gbVat_1.default)(value); + break; + case 'gr': + result = (0, grVat_1.default)(value); + break; + case 'hr': + result = (0, hrVat_1.default)(value); + break; + case 'hu': + result = (0, huVat_1.default)(value); + break; + case 'ie': + result = (0, ieVat_1.default)(value); + break; + case 'is': + result = (0, isVat_1.default)(value); + break; + case 'it': + result = (0, itVat_1.default)(value); + break; + case 'lt': + result = (0, ltVat_1.default)(value); + break; + case 'lu': + result = (0, luVat_1.default)(value); + break; + case 'lv': + result = (0, lvVat_1.default)(value); + break; + case 'mt': + result = (0, mtVat_1.default)(value); + break; + case 'nl': + result = (0, nlVat_1.default)(value); + break; + case 'no': + result = (0, noVat_1.default)(value); + break; + case 'pl': + result = (0, plVat_1.default)(value); + break; + case 'pt': + result = (0, ptVat_1.default)(value); + break; + case 'ro': + result = (0, roVat_1.default)(value); + break; + case 'rs': + result = (0, rsVat_1.default)(value); + break; + case 'ru': + result = (0, ruVat_1.default)(value); + break; + case 'se': + result = (0, seVat_1.default)(value); + break; + case 'si': + result = (0, siVat_1.default)(value); + break; + case 'sk': + result = (0, skVat_1.default)(value); + break; + case 've': + result = (0, veVat_1.default)(value); + break; + case 'za': + result = (0, zaVat_1.default)(value); + break; + default: + break; + } + var message = (0, format_1.default)(input.l10n && input.l10n.vat ? opts.message || input.l10n.vat.country : opts.message, input.l10n && input.l10n.vat && input.l10n.vat.countries + ? input.l10n.vat.countries[country.toUpperCase()] + : country.toUpperCase()); + return Object.assign({}, { message: message }, result); + }, + }; + } + exports.default = vat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/isVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/isVat.js new file mode 100644 index 0000000..c1622b8 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/isVat.js @@ -0,0 +1,15 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function isVat(value) { + var v = value; + if (/^IS[0-9]{5,6}$/.test(v)) { + v = v.substr(2); + } + return { + meta: {}, + valid: /^[0-9]{5,6}$/.test(v), + }; + } + exports.default = isVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/itVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/itVat.js new file mode 100644 index 0000000..a4c3dfc --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/itVat.js @@ -0,0 +1,34 @@ +define(["require", "exports", "../../algorithms/luhn"], function (require, exports, luhn_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function itVat(value) { + var v = value; + if (/^IT[0-9]{11}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{11}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + if (parseInt(v.substr(0, 7), 10) === 0) { + return { + meta: {}, + valid: false, + }; + } + var lastThree = parseInt(v.substr(7, 3), 10); + if (lastThree < 1 || (lastThree > 201 && lastThree !== 999 && lastThree !== 888)) { + return { + meta: {}, + valid: false, + }; + } + return { + meta: {}, + valid: (0, luhn_1.default)(v), + }; + } + exports.default = itVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ltVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ltVat.js new file mode 100644 index 0000000..ebbcd01 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ltVat.js @@ -0,0 +1,35 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function ltVat(value) { + var v = value; + if (/^LT([0-9]{7}1[0-9]|[0-9]{10}1[0-9])$/.test(v)) { + v = v.substr(2); + } + if (!/^([0-9]{7}1[0-9]|[0-9]{10}1[0-9])$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var length = v.length; + var sum = 0; + var i; + for (i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * (1 + (i % 9)); + } + var check = sum % 11; + if (check === 10) { + sum = 0; + for (i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * (1 + ((i + 2) % 9)); + } + } + check = (check % 11) % 10; + return { + meta: {}, + valid: "" + check === v.charAt(length - 1), + }; + } + exports.default = ltVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/luVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/luVat.js new file mode 100644 index 0000000..e2a81a6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/luVat.js @@ -0,0 +1,21 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function luVat(value) { + var v = value; + if (/^LU[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + return { + meta: {}, + valid: "" + parseInt(v.substr(0, 6), 10) % 89 === v.substr(6, 2), + }; + } + exports.default = luVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/lvVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/lvVat.js new file mode 100644 index 0000000..9bc3f2c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/lvVat.js @@ -0,0 +1,56 @@ +define(["require", "exports", "../../utils/isValidDate"], function (require, exports, isValidDate_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function lv(value) { + var v = value; + if (/^LV[0-9]{11}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{11}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var first = parseInt(v.charAt(0), 10); + var length = v.length; + var sum = 0; + var weight = []; + var i; + if (first > 3) { + sum = 0; + weight = [9, 1, 4, 8, 3, 10, 2, 5, 7, 6, 1]; + for (i = 0; i < length; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + return { + meta: {}, + valid: sum === 3, + }; + } + else { + var day = parseInt(v.substr(0, 2), 10); + var month = parseInt(v.substr(2, 2), 10); + var year = parseInt(v.substr(4, 2), 10); + year = year + 1800 + parseInt(v.charAt(6), 10) * 100; + if (!(0, isValidDate_1.default)(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + sum = 0; + weight = [10, 5, 8, 4, 2, 1, 6, 3, 7, 9]; + for (i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = ((sum + 1) % 11) % 10; + return { + meta: {}, + valid: "" + sum === v.charAt(length - 1), + }; + } + } + exports.default = lv; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/mtVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/mtVat.js new file mode 100644 index 0000000..f420d93 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/mtVat.js @@ -0,0 +1,26 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function mtVat(value) { + var v = value; + if (/^MT[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var weight = [3, 4, 6, 7, 8, 9, 10, 1]; + var sum = 0; + for (var i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + return { + meta: {}, + valid: sum % 37 === 0, + }; + } + exports.default = mtVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/nlVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/nlVat.js new file mode 100644 index 0000000..f1d9d83 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/nlVat.js @@ -0,0 +1,22 @@ +define(["require", "exports", "../../algorithms/mod97And10", "../id/nlId"], function (require, exports, mod97And10_1, nlId_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function nlVat(value) { + var v = value; + if (/^NL[0-9]{9}B[0-9]{2}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}B[0-9]{2}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var id = v.substr(0, 9); + return { + meta: {}, + valid: (0, nlId_1.default)(id).valid || (0, mod97And10_1.default)("NL" + v), + }; + } + exports.default = nlVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/noVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/noVat.js new file mode 100644 index 0000000..1c8f097 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/noVat.js @@ -0,0 +1,30 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function noVat(value) { + var v = value; + if (/^NO[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var weight = [3, 2, 7, 6, 5, 4, 3, 2]; + var sum = 0; + for (var i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + if (sum === 11) { + sum = 0; + } + return { + meta: {}, + valid: "" + sum === v.substr(8, 1), + }; + } + exports.default = noVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/plVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/plVat.js new file mode 100644 index 0000000..510cda3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/plVat.js @@ -0,0 +1,26 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function plVat(value) { + var v = value; + if (/^PL[0-9]{10}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{10}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var weight = [6, 5, 7, 2, 3, 4, 5, 6, 7, -1]; + var sum = 0; + for (var i = 0; i < 10; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + return { + meta: {}, + valid: sum % 11 === 0, + }; + } + exports.default = plVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ptVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ptVat.js new file mode 100644 index 0000000..ff27651 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ptVat.js @@ -0,0 +1,30 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function ptVat(value) { + var v = value; + if (/^PT[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var weight = [9, 8, 7, 6, 5, 4, 3, 2]; + var sum = 0; + for (var i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + if (sum > 9) { + sum = 0; + } + return { + meta: {}, + valid: "" + sum === v.substr(8, 1), + }; + } + exports.default = ptVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/roVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/roVat.js new file mode 100644 index 0000000..ed4b53a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/roVat.js @@ -0,0 +1,28 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function roVat(value) { + var v = value; + if (/^RO[1-9][0-9]{1,9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[1-9][0-9]{1,9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var length = v.length; + var weight = [7, 5, 3, 2, 1, 7, 5, 3, 2].slice(10 - length); + var sum = 0; + for (var i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = ((10 * sum) % 11) % 10; + return { + meta: {}, + valid: "" + sum === v.substr(length - 1, 1), + }; + } + exports.default = roVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/rsVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/rsVat.js new file mode 100644 index 0000000..3f1d212 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/rsVat.js @@ -0,0 +1,30 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function rsVat(value) { + var v = value; + if (/^RS[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var sum = 10; + var temp = 0; + for (var i = 0; i < 8; i++) { + temp = (parseInt(v.charAt(i), 10) + sum) % 10; + if (temp === 0) { + temp = 10; + } + sum = (2 * temp) % 11; + } + return { + meta: {}, + valid: (sum + parseInt(v.substr(8, 1), 10)) % 10 === 1, + }; + } + exports.default = rsVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ruVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ruVat.js new file mode 100644 index 0000000..e4c1580 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/ruVat.js @@ -0,0 +1,59 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function ruVat(value) { + var v = value; + if (/^RU([0-9]{10}|[0-9]{12})$/.test(v)) { + v = v.substr(2); + } + if (!/^([0-9]{10}|[0-9]{12})$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var i = 0; + if (v.length === 10) { + var weight = [2, 4, 10, 3, 5, 9, 4, 6, 8, 0]; + var sum = 0; + for (i = 0; i < 10; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + if (sum > 9) { + sum = sum % 10; + } + return { + meta: {}, + valid: "" + sum === v.substr(9, 1), + }; + } + else if (v.length === 12) { + var weight1 = [7, 2, 4, 10, 3, 5, 9, 4, 6, 8, 0]; + var weight2 = [3, 7, 2, 4, 10, 3, 5, 9, 4, 6, 8, 0]; + var sum1 = 0; + var sum2 = 0; + for (i = 0; i < 11; i++) { + sum1 += parseInt(v.charAt(i), 10) * weight1[i]; + sum2 += parseInt(v.charAt(i), 10) * weight2[i]; + } + sum1 = sum1 % 11; + if (sum1 > 9) { + sum1 = sum1 % 10; + } + sum2 = sum2 % 11; + if (sum2 > 9) { + sum2 = sum2 % 10; + } + return { + meta: {}, + valid: "" + sum1 === v.substr(10, 1) && "" + sum2 === v.substr(11, 1), + }; + } + return { + meta: {}, + valid: true, + }; + } + exports.default = ruVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/seVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/seVat.js new file mode 100644 index 0000000..d6d598e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/seVat.js @@ -0,0 +1,22 @@ +define(["require", "exports", "../../algorithms/luhn"], function (require, exports, luhn_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function seVat(value) { + var v = value; + if (/^SE[0-9]{10}01$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{10}01$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + v = v.substr(0, 10); + return { + meta: {}, + valid: (0, luhn_1.default)(v), + }; + } + exports.default = seVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/siVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/siVat.js new file mode 100644 index 0000000..fde1c73 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/siVat.js @@ -0,0 +1,28 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function siVat(value) { + var res = value.match(/^(SI)?([1-9][0-9]{7})$/); + if (!res) { + return { + meta: {}, + valid: false, + }; + } + var v = res[1] ? value.substr(2) : value; + var weight = [8, 7, 6, 5, 4, 3, 2]; + var sum = 0; + for (var i = 0; i < 7; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + if (sum === 10) { + sum = 0; + } + return { + meta: {}, + valid: "" + sum === v.substr(7, 1), + }; + } + exports.default = siVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/skVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/skVat.js new file mode 100644 index 0000000..c181807 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/skVat.js @@ -0,0 +1,21 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function skVat(value) { + var v = value; + if (/^SK[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(v)) { + v = v.substr(2); + } + if (!/^[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + return { + meta: {}, + valid: parseInt(v, 10) % 11 === 0, + }; + } + exports.default = skVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/veVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/veVat.js new file mode 100644 index 0000000..61e49cd --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/veVat.js @@ -0,0 +1,37 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function veVat(value) { + var v = value; + if (/^VE[VEJPG][0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[VEJPG][0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + var types = { + E: 8, + G: 20, + J: 12, + P: 16, + V: 4, + }; + var weight = [3, 2, 7, 6, 5, 4, 3, 2]; + var sum = types[v.charAt(0)]; + for (var i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i + 1), 10) * weight[i]; + } + sum = 11 - (sum % 11); + if (sum === 11 || sum === 10) { + sum = 0; + } + return { + meta: {}, + valid: "" + sum === v.substr(9, 1), + }; + } + exports.default = veVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/zaVat.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/zaVat.js new file mode 100644 index 0000000..97eeb85 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vat/zaVat.js @@ -0,0 +1,15 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function zaVat(value) { + var v = value; + if (/^ZA4[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + return { + meta: {}, + valid: /^4[0-9]{9}$/.test(v), + }; + } + exports.default = zaVat; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/vin.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vin.js new file mode 100644 index 0000000..243d41f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/vin.js @@ -0,0 +1,64 @@ +define(["require", "exports"], function (require, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function vin() { + return { + validate: function (input) { + if (input.value === '') { + return { valid: true }; + } + if (!/^[a-hj-npr-z0-9]{8}[0-9xX][a-hj-npr-z0-9]{8}$/i.test(input.value)) { + return { valid: false }; + } + var v = input.value.toUpperCase(); + var chars = { + A: 1, + B: 2, + C: 3, + D: 4, + E: 5, + F: 6, + G: 7, + H: 8, + J: 1, + K: 2, + L: 3, + M: 4, + N: 5, + P: 7, + R: 9, + S: 2, + T: 3, + U: 4, + V: 5, + W: 6, + X: 7, + Y: 8, + Z: 9, + 0: 0, + 1: 1, + 2: 2, + 3: 3, + 4: 4, + 5: 5, + 6: 6, + 7: 7, + 8: 8, + 9: 9, + }; + var weights = [8, 7, 6, 5, 4, 3, 2, 10, 0, 9, 8, 7, 6, 5, 4, 3, 2]; + var length = v.length; + var sum = 0; + for (var i = 0; i < length; i++) { + sum += chars["" + v.charAt(i)] * weights[i]; + } + var reminder = "" + sum % 11; + if (reminder === '10') { + reminder = 'X'; + } + return { valid: reminder === v.charAt(8) }; + }, + }; + } + exports.default = vin; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/amd/validators/zipCode.js b/resources/assets/core/plugins/formvalidation/dist/amd/validators/zipCode.js new file mode 100644 index 0000000..7fad9c4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/amd/validators/zipCode.js @@ -0,0 +1,160 @@ +define(["require", "exports", "../utils/format"], function (require, exports, format_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + function zipCode() { + var COUNTRY_CODES = [ + 'AT', + 'BG', + 'BR', + 'CA', + 'CH', + 'CZ', + 'DE', + 'DK', + 'ES', + 'FR', + 'GB', + 'IE', + 'IN', + 'IT', + 'MA', + 'NL', + 'PL', + 'PT', + 'RO', + 'RU', + 'SE', + 'SG', + 'SK', + 'US', + ]; + var gb = function (value) { + var firstChar = '[ABCDEFGHIJKLMNOPRSTUWYZ]'; + var secondChar = '[ABCDEFGHKLMNOPQRSTUVWXY]'; + var thirdChar = '[ABCDEFGHJKPMNRSTUVWXY]'; + var fourthChar = '[ABEHMNPRVWXY]'; + var fifthChar = '[ABDEFGHJLNPQRSTUWXYZ]'; + var regexps = [ + new RegExp("^(" + firstChar + "{1}" + secondChar + "?[0-9]{1,2})(\\s*)([0-9]{1}" + fifthChar + "{2})$", 'i'), + new RegExp("^(" + firstChar + "{1}[0-9]{1}" + thirdChar + "{1})(\\s*)([0-9]{1}" + fifthChar + "{2})$", 'i'), + new RegExp("^(" + firstChar + "{1}" + secondChar + "{1}?[0-9]{1}" + fourthChar + "{1})(\\s*)([0-9]{1}" + fifthChar + "{2})$", 'i'), + new RegExp('^(BF1)(\\s*)([0-6]{1}[ABDEFGHJLNPQRST]{1}[ABDEFGHJLNPQRSTUWZYZ]{1})$', 'i'), + /^(GIR)(\s*)(0AA)$/i, + /^(BFPO)(\s*)([0-9]{1,4})$/i, + /^(BFPO)(\s*)(c\/o\s*[0-9]{1,3})$/i, + /^([A-Z]{4})(\s*)(1ZZ)$/i, + /^(AI-2640)$/i, + ]; + for (var _i = 0, regexps_1 = regexps; _i < regexps_1.length; _i++) { + var reg = regexps_1[_i]; + if (reg.test(value)) { + return true; + } + } + return false; + }; + return { + validate: function (input) { + var opts = Object.assign({}, { message: '' }, input.options); + if (input.value === '' || !opts.country) { + return { valid: true }; + } + var country = input.value.substr(0, 2); + if ('function' === typeof opts.country) { + country = opts.country.call(this); + } + else { + country = opts.country; + } + if (!country || COUNTRY_CODES.indexOf(country.toUpperCase()) === -1) { + return { valid: true }; + } + var isValid = false; + country = country.toUpperCase(); + switch (country) { + case 'AT': + isValid = /^([1-9]{1})(\d{3})$/.test(input.value); + break; + case 'BG': + isValid = /^([1-9]{1}[0-9]{3})$/.test(input.value); + break; + case 'BR': + isValid = /^(\d{2})([.]?)(\d{3})([-]?)(\d{3})$/.test(input.value); + break; + case 'CA': + isValid = + /^(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|X|Y){1}[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}\s?[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}[0-9]{1}$/i.test(input.value); + break; + case 'CH': + isValid = /^([1-9]{1})(\d{3})$/.test(input.value); + break; + case 'CZ': + isValid = /^(\d{3})([ ]?)(\d{2})$/.test(input.value); + break; + case 'DE': + isValid = /^(?!01000|99999)(0[1-9]\d{3}|[1-9]\d{4})$/.test(input.value); + break; + case 'DK': + isValid = /^(DK(-|\s)?)?\d{4}$/i.test(input.value); + break; + case 'ES': + isValid = /^(?:0[1-9]|[1-4][0-9]|5[0-2])\d{3}$/.test(input.value); + break; + case 'FR': + isValid = /^[0-9]{5}$/i.test(input.value); + break; + case 'GB': + isValid = gb(input.value); + break; + case 'IN': + isValid = /^\d{3}\s?\d{3}$/.test(input.value); + break; + case 'IE': + isValid = /^(D6W|[ACDEFHKNPRTVWXY]\d{2})\s[0-9ACDEFHKNPRTVWXY]{4}$/.test(input.value); + break; + case 'IT': + isValid = /^(I-|IT-)?\d{5}$/i.test(input.value); + break; + case 'MA': + isValid = /^[1-9][0-9]{4}$/i.test(input.value); + break; + case 'NL': + isValid = /^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i.test(input.value); + break; + case 'PL': + isValid = /^[0-9]{2}-[0-9]{3}$/.test(input.value); + break; + case 'PT': + isValid = /^[1-9]\d{3}-\d{3}$/.test(input.value); + break; + case 'RO': + isValid = /^(0[1-8]{1}|[1-9]{1}[0-5]{1})?[0-9]{4}$/i.test(input.value); + break; + case 'RU': + isValid = /^[0-9]{6}$/i.test(input.value); + break; + case 'SE': + isValid = /^(S-)?\d{3}\s?\d{2}$/i.test(input.value); + break; + case 'SG': + isValid = /^([0][1-9]|[1-6][0-9]|[7]([0-3]|[5-9])|[8][0-2])(\d{4})$/i.test(input.value); + break; + case 'SK': + isValid = /^(\d{3})([ ]?)(\d{2})$/.test(input.value); + break; + case 'US': + default: + isValid = /^\d{4,5}([-]?\d{4})?$/.test(input.value); + break; + } + return { + message: (0, format_1.default)(input.l10n && input.l10n.zipCode ? opts.message || input.l10n.zipCode.country : opts.message, input.l10n && input.l10n.zipCode && input.l10n.zipCode.countries + ? input.l10n.zipCode.countries[country] + : country), + valid: isValid, + }; + }, + }; + } + exports.default = zipCode; +}); diff --git a/resources/assets/core/plugins/formvalidation/dist/css/formValidation.css b/resources/assets/core/plugins/formvalidation/dist/css/formValidation.css new file mode 100644 index 0000000..b9bd8af --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/css/formValidation.css @@ -0,0 +1,497 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ +.fv-sr-only { + display: none; } + +.fv-plugins-framework input::-ms-clear, +.fv-plugins-framework textarea::-ms-clear { + display: none; + height: 0; + width: 0; } + +.fv-plugins-icon-container { + position: relative; } + +.fv-plugins-icon { + position: absolute; + right: 0; + text-align: center; + top: 0; } + +.fv-plugins-tooltip { + max-width: 256px; + position: absolute; + text-align: center; + z-index: 10000; } + .fv-plugins-tooltip .fv-plugins-tooltip__content { + background: #000; + border-radius: 3px; + color: #eee; + padding: 8px; + position: relative; } + .fv-plugins-tooltip .fv-plugins-tooltip__content:before { + border: 8px solid transparent; + content: ''; + position: absolute; } + +.fv-plugins-tooltip--hide { + display: none; } + +.fv-plugins-tooltip--top-left { + transform: translateY(-8px); } + .fv-plugins-tooltip--top-left .fv-plugins-tooltip__content:before { + border-top-color: #000; + left: 8px; + top: 100%; } + +.fv-plugins-tooltip--top { + transform: translateY(-8px); } + .fv-plugins-tooltip--top .fv-plugins-tooltip__content:before { + border-top-color: #000; + left: 50%; + margin-left: -8px; + top: 100%; } + +.fv-plugins-tooltip--top-right { + transform: translateY(-8px); } + .fv-plugins-tooltip--top-right .fv-plugins-tooltip__content:before { + border-top-color: #000; + right: 8px; + top: 100%; } + +.fv-plugins-tooltip--right { + transform: translateX(8px); } + .fv-plugins-tooltip--right .fv-plugins-tooltip__content:before { + border-right-color: #000; + margin-top: -8px; + right: 100%; + top: 50%; } + +.fv-plugins-tooltip--bottom-right { + transform: translateY(8px); } + .fv-plugins-tooltip--bottom-right .fv-plugins-tooltip__content:before { + border-bottom-color: #000; + bottom: 100%; + right: 8px; } + +.fv-plugins-tooltip--bottom { + transform: translateY(8px); } + .fv-plugins-tooltip--bottom .fv-plugins-tooltip__content:before { + border-bottom-color: #000; + bottom: 100%; + left: 50%; + margin-left: -8px; } + +.fv-plugins-tooltip--bottom-left { + transform: translateY(8px); } + .fv-plugins-tooltip--bottom-left .fv-plugins-tooltip__content:before { + border-bottom-color: #000; + bottom: 100%; + left: 8px; } + +.fv-plugins-tooltip--left { + transform: translateX(-8px); } + .fv-plugins-tooltip--left .fv-plugins-tooltip__content:before { + border-left-color: #000; + left: 100%; + margin-top: -8px; + top: 50%; } + +.fv-plugins-tooltip-icon { + cursor: pointer; + pointer-events: inherit; } + +.fv-plugins-bootstrap { + /* For horizontal form */ + /* Stacked form */ + /* Inline form */ + /* Remove the icons generated by Bootstrap 4.2+ */ } + .fv-plugins-bootstrap .fv-help-block { + color: #dc3545; + font-size: 80%; + margin-top: 0.25rem; } + .fv-plugins-bootstrap .is-invalid ~ .form-check-label, + .fv-plugins-bootstrap .is-valid ~ .form-check-label { + color: inherit; } + .fv-plugins-bootstrap .has-danger .fv-plugins-icon { + color: #dc3545; } + .fv-plugins-bootstrap .has-success .fv-plugins-icon { + color: #28a745; } + .fv-plugins-bootstrap .fv-plugins-icon { + height: 38px; + line-height: 38px; + width: 38px; } + .fv-plugins-bootstrap .input-group ~ .fv-plugins-icon { + z-index: 3; } + .fv-plugins-bootstrap .form-group.row .fv-plugins-icon { + right: 15px; } + .fv-plugins-bootstrap .form-group.row .fv-plugins-icon-check { + top: -7px; + /* labelHeight/2 - iconHeight/2 */ } + .fv-plugins-bootstrap:not(.form-inline) label ~ .fv-plugins-icon { + top: 32px; } + .fv-plugins-bootstrap:not(.form-inline) label ~ .fv-plugins-icon-check { + top: 25px; } + .fv-plugins-bootstrap:not(.form-inline) label.sr-only ~ .fv-plugins-icon-check { + top: -7px; } + .fv-plugins-bootstrap.form-inline .form-group { + align-items: flex-start; + flex-direction: column; + margin-bottom: auto; } + .fv-plugins-bootstrap .form-control.is-valid, + .fv-plugins-bootstrap .form-control.is-invalid { + background-image: none; } + +.fv-plugins-bootstrap3 .help-block { + margin-bottom: 0; } + +.fv-plugins-bootstrap3 .input-group ~ .form-control-feedback { + z-index: 4; } + +.fv-plugins-bootstrap3.form-inline .form-group { + vertical-align: top; } + +.fv-plugins-bootstrap5 { + /* Support floating label */ + /* For horizontal form */ + /* Stacked form */ + /* Inline form */ } + .fv-plugins-bootstrap5 .fv-plugins-bootstrap5-row-invalid .fv-plugins-icon { + color: #dc3545; } + .fv-plugins-bootstrap5 .fv-plugins-bootstrap5-row-valid .fv-plugins-icon { + color: #198754; } + .fv-plugins-bootstrap5 .fv-plugins-icon { + align-items: center; + display: flex; + justify-content: center; + height: 38px; + width: 38px; } + .fv-plugins-bootstrap5 .input-group ~ .fv-plugins-icon { + z-index: 3; } + .fv-plugins-bootstrap5 .fv-plugins-icon-input-group { + right: -38px; } + .fv-plugins-bootstrap5 .form-floating .fv-plugins-icon { + height: 58px; } + .fv-plugins-bootstrap5 .row .fv-plugins-icon { + right: 12px; } + .fv-plugins-bootstrap5 .row .fv-plugins-icon-check { + top: -7px; + /* labelHeight/2 - iconHeight/2 */ } + .fv-plugins-bootstrap5:not(.fv-plugins-bootstrap5-form-inline) label ~ .fv-plugins-icon { + top: 32px; } + .fv-plugins-bootstrap5:not(.fv-plugins-bootstrap5-form-inline) label ~ .fv-plugins-icon-check { + top: 25px; } + .fv-plugins-bootstrap5:not(.fv-plugins-bootstrap5-form-inline) label.sr-only ~ .fv-plugins-icon-check { + top: -7px; } + .fv-plugins-bootstrap5.fv-plugins-bootstrap5-form-inline .fv-plugins-icon { + right: calc(var(--bs-gutter-x, 1.5rem) / 2); } + .fv-plugins-bootstrap5 .form-select.fv-plugins-icon-input.is-valid, + .fv-plugins-bootstrap5 .form-select.fv-plugins-icon-input.is-invalid, + .fv-plugins-bootstrap5 .form-control.fv-plugins-icon-input.is-valid, + .fv-plugins-bootstrap5 .form-control.fv-plugins-icon-input.is-invalid { + background-image: none; } + +.fv-plugins-bulma { + /* Support add ons inside field */ } + .fv-plugins-bulma .field.has-addons { + flex-wrap: wrap; } + .fv-plugins-bulma .field.has-addons::after { + content: ''; + width: 100%; } + .fv-plugins-bulma .field.has-addons .fv-plugins-message-container { + order: 1; } + .fv-plugins-bulma .icon.fv-plugins-icon-check { + top: -4px; } + .fv-plugins-bulma .fv-has-error .input, + .fv-plugins-bulma .fv-has-error .textarea { + border: 1px solid #ff3860; + /* Same as .input.is-danger */ } + .fv-plugins-bulma .fv-has-success .input, + .fv-plugins-bulma .fv-has-success .textarea { + border: 1px solid #23d160; + /* Same as .input.is-success */ } + +.fv-plugins-foundation { + /* Stacked form */ } + .fv-plugins-foundation .fv-plugins-icon { + height: 39px; + line-height: 39px; + right: 0; + width: 39px; + /* Same as height of input */ } + .fv-plugins-foundation .grid-padding-x .fv-plugins-icon { + right: 15px; } + .fv-plugins-foundation .fv-plugins-icon-container .cell { + position: relative; } + .fv-plugins-foundation [type='checkbox'] ~ .fv-plugins-icon, + .fv-plugins-foundation [type='checkbox'] ~ .fv-plugins-icon { + top: -7px; + /* labelHeight/2 - iconHeight/2 */ } + .fv-plugins-foundation.fv-stacked-form .fv-plugins-message-container { + width: 100%; } + .fv-plugins-foundation.fv-stacked-form label .fv-plugins-icon, + .fv-plugins-foundation.fv-stacked-form fieldset [type='checkbox'] ~ .fv-plugins-icon, + .fv-plugins-foundation.fv-stacked-form fieldset [type='radio'] ~ .fv-plugins-icon { + top: 25px; + /* Same as height of label */ } + .fv-plugins-foundation .form-error { + display: block; } + .fv-plugins-foundation .fv-row__success .fv-plugins-icon { + color: #3adb76; + /* Same as .success */ } + .fv-plugins-foundation .fv-row__error label, + .fv-plugins-foundation .fv-row__error fieldset legend, + .fv-plugins-foundation .fv-row__error .fv-plugins-icon { + color: #cc4b37; + /* Same as .is-invalid-label and .form-error */ } + +.fv-plugins-materialize .fv-plugins-icon { + height: 42px; + /* Same as height of input */ + line-height: 42px; + width: 42px; } + +.fv-plugins-materialize .fv-plugins-icon-check { + top: -10px; } + +.fv-plugins-materialize .fv-invalid-row .helper-text, +.fv-plugins-materialize .fv-invalid-row .fv-plugins-icon { + color: #f44336; } + +.fv-plugins-materialize .fv-valid-row .helper-text, +.fv-plugins-materialize .fv-valid-row .fv-plugins-icon { + color: #4caf50; } + +.fv-plugins-milligram .fv-plugins-icon { + height: 38px; + /* Same as height of input */ + line-height: 38px; + width: 38px; } + +.fv-plugins-milligram .column { + position: relative; } + .fv-plugins-milligram .column .fv-plugins-icon { + right: 10px; } + +.fv-plugins-milligram .fv-plugins-icon-check { + top: -6px; } + +.fv-plugins-milligram .fv-plugins-message-container { + margin-bottom: 15px; } + +.fv-plugins-milligram.fv-stacked-form .fv-plugins-icon { + top: 30px; } + +.fv-plugins-milligram.fv-stacked-form .fv-plugins-icon-check { + top: 24px; } + +.fv-plugins-milligram .fv-invalid-row .fv-help-block, +.fv-plugins-milligram .fv-invalid-row .fv-plugins-icon { + color: red; } + +.fv-plugins-milligram .fv-valid-row .fv-help-block, +.fv-plugins-milligram .fv-valid-row .fv-plugins-icon { + color: green; } + +.fv-plugins-mini .fv-plugins-icon { + height: 42px; + /* Same as height of input */ + line-height: 42px; + width: 42px; + top: 4px; + /* Same as input's margin top */ } + +.fv-plugins-mini .fv-plugins-icon-check { + top: -8px; } + +.fv-plugins-mini.fv-stacked-form .fv-plugins-icon { + top: 28px; } + +.fv-plugins-mini.fv-stacked-form .fv-plugins-icon-check { + top: 20px; } + +.fv-plugins-mini .fv-plugins-message-container { + margin: calc(var(--universal-margin) / 2); } + +.fv-plugins-mini .fv-invalid-row .fv-help-block, +.fv-plugins-mini .fv-invalid-row .fv-plugins-icon { + color: var(--input-invalid-color); } + +.fv-plugins-mini .fv-valid-row .fv-help-block, +.fv-plugins-mini .fv-valid-row .fv-plugins-icon { + color: #308732; + /* Same as tertiary color */ } + +.fv-plugins-mui .fv-plugins-icon { + height: 32px; + /* Same as height of input */ + line-height: 32px; + width: 32px; + top: 15px; + right: 4px; } + +.fv-plugins-mui .fv-plugins-icon-check { + top: -6px; + right: -10px; } + +.fv-plugins-mui .fv-plugins-message-container { + margin: 8px 0; } + +.fv-plugins-mui .fv-invalid-row .fv-help-block, +.fv-plugins-mui .fv-invalid-row .fv-plugins-icon { + color: #f44336; } + +.fv-plugins-mui .fv-valid-row .fv-help-block, +.fv-plugins-mui .fv-valid-row .fv-plugins-icon { + color: #4caf50; } + +.fv-plugins-pure { + /* Horizontal form */ + /* Stacked form */ } + .fv-plugins-pure .fv-plugins-icon { + height: 36px; + line-height: 36px; + width: 36px; + /* Height of Pure input */ } + .fv-plugins-pure .fv-has-error label, + .fv-plugins-pure .fv-has-error .fv-help-block, + .fv-plugins-pure .fv-has-error .fv-plugins-icon { + color: #ca3c3c; + /* Same as .button-error */ } + .fv-plugins-pure .fv-has-success label, + .fv-plugins-pure .fv-has-success .fv-help-block, + .fv-plugins-pure .fv-has-success .fv-plugins-icon { + color: #1cb841; + /* Same as .button-success */ } + .fv-plugins-pure.pure-form-aligned .fv-help-block { + margin-top: 5px; + margin-left: 180px; } + .fv-plugins-pure.pure-form-aligned .fv-plugins-icon-check { + top: -9px; + /* labelHeight/2 - iconHeight/2 */ } + .fv-plugins-pure.pure-form-stacked .pure-control-group { + margin-bottom: 8px; } + .fv-plugins-pure.pure-form-stacked .fv-plugins-icon { + top: 22px; + /* Same as height of label */ } + .fv-plugins-pure.pure-form-stacked .fv-plugins-icon-check { + top: 13px; } + .fv-plugins-pure.pure-form-stacked .fv-sr-only ~ .fv-plugins-icon { + top: -9px; } + +.fv-plugins-semantic.ui.form .fields.error label, +.fv-plugins-semantic .error .fv-plugins-icon { + color: #9f3a38; + /* Same as .ui.form .field.error .input */ } + +.fv-plugins-semantic .fv-plugins-icon-check { + right: 7px; } + +.fv-plugins-shoelace .input-group { + margin-bottom: 0; } + +.fv-plugins-shoelace .fv-plugins-icon { + height: 32px; + line-height: 32px; + /* Same as height of input */ + width: 32px; + top: 28px; + /* Same as height of label */ } + +.fv-plugins-shoelace .row .fv-plugins-icon { + right: 16px; + top: 0; } + +.fv-plugins-shoelace .fv-plugins-icon-check { + top: 24px; } + +.fv-plugins-shoelace .fv-sr-only ~ .fv-plugins-icon, +.fv-plugins-shoelace .fv-sr-only ~ div .fv-plugins-icon { + top: -4px; } + +.fv-plugins-shoelace .input-valid .fv-help-block, +.fv-plugins-shoelace .input-valid .fv-plugins-icon { + color: #2ecc40; } + +.fv-plugins-shoelace .input-invalid .fv-help-block, +.fv-plugins-shoelace .input-invalid .fv-plugins-icon { + color: #ff4136; } + +.fv-plugins-spectre .input-group .fv-plugins-icon { + z-index: 2; } + +.fv-plugins-spectre .form-group .fv-plugins-icon-check { + right: 6px; + top: 10px; } + +.fv-plugins-spectre:not(.form-horizontal) .form-group .fv-plugins-icon-check { + right: 6px; + top: 45px; } + +.fv-plugins-tachyons .fv-plugins-icon { + height: 36px; + line-height: 36px; + width: 36px; } + +.fv-plugins-tachyons .fv-plugins-icon-check { + top: -7px; } + +.fv-plugins-tachyons.fv-stacked-form .fv-plugins-icon { + top: 34px; } + +.fv-plugins-tachyons.fv-stacked-form .fv-plugins-icon-check { + top: 24px; } + +.fv-plugins-turret .fv-plugins-icon { + height: 40px; + /* Same as height of input */ + line-height: 40px; + width: 40px; } + +.fv-plugins-turret.fv-stacked-form .fv-plugins-icon { + top: 29px; } + +.fv-plugins-turret.fv-stacked-form .fv-plugins-icon-check { + top: 17px; } + +.fv-plugins-turret .fv-invalid-row .form-message, +.fv-plugins-turret .fv-invalid-row .fv-plugins-icon { + color: #c00; + /* Same as .form-message.error */ } + +.fv-plugins-turret .fv-valid-row .form-message, +.fv-plugins-turret .fv-valid-row .fv-plugins-icon { + color: #00b300; + /* Same as .form-message.success */ } + +.fv-plugins-uikit { + /* Horizontal form */ + /* Stacked form */ } + .fv-plugins-uikit .fv-plugins-icon { + height: 40px; + /* Height of UIKit input */ + line-height: 40px; + top: 25px; + /* Height of UIKit label */ + width: 40px; } + .fv-plugins-uikit.uk-form-horizontal .fv-plugins-icon { + top: 0; } + .fv-plugins-uikit.uk-form-horizontal .fv-plugins-icon-check { + top: -11px; + /* checkboxLabelHeight/2 - iconHeight/2 = 18/2 - 40/2 */ } + .fv-plugins-uikit.uk-form-stacked .fv-plugins-icon-check { + top: 15px; + /* labelHeight + labelMarginBottom + checkboxLabelHeight/2 - iconHeight/2 = 21 + 5 + 18/2 - 40/2 */ } + .fv-plugins-uikit.uk-form-stacked .fv-no-label .fv-plugins-icon { + top: 0; } + .fv-plugins-uikit.uk-form-stacked .fv-no-label .fv-plugins-icon-check { + top: -11px; } + +.fv-plugins-wizard--step { + display: none; } + +.fv-plugins-wizard--active { + display: block; } diff --git a/resources/assets/core/plugins/formvalidation/dist/css/formValidation.min.css b/resources/assets/core/plugins/formvalidation/dist/css/formValidation.min.css new file mode 100644 index 0000000..5105700 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/css/formValidation.min.css @@ -0,0 +1 @@ +.fv-sr-only{display:none}.fv-plugins-framework input::-ms-clear,.fv-plugins-framework textarea::-ms-clear{display:none;height:0;width:0}.fv-plugins-icon-container{position:relative}.fv-plugins-icon{position:absolute;right:0;text-align:center;top:0}.fv-plugins-tooltip{max-width:256px;position:absolute;text-align:center;z-index:10000}.fv-plugins-tooltip .fv-plugins-tooltip__content{background:#000;border-radius:3px;color:#eee;padding:8px;position:relative}.fv-plugins-tooltip .fv-plugins-tooltip__content:before{border:8px solid transparent;content:'';position:absolute}.fv-plugins-tooltip--hide{display:none}.fv-plugins-tooltip--top-left{transform:translateY(-8px)}.fv-plugins-tooltip--top-left .fv-plugins-tooltip__content:before{border-top-color:#000;left:8px;top:100%}.fv-plugins-tooltip--top{transform:translateY(-8px)}.fv-plugins-tooltip--top .fv-plugins-tooltip__content:before{border-top-color:#000;left:50%;margin-left:-8px;top:100%}.fv-plugins-tooltip--top-right{transform:translateY(-8px)}.fv-plugins-tooltip--top-right .fv-plugins-tooltip__content:before{border-top-color:#000;right:8px;top:100%}.fv-plugins-tooltip--right{transform:translateX(8px)}.fv-plugins-tooltip--right .fv-plugins-tooltip__content:before{border-right-color:#000;margin-top:-8px;right:100%;top:50%}.fv-plugins-tooltip--bottom-right{transform:translateY(8px)}.fv-plugins-tooltip--bottom-right .fv-plugins-tooltip__content:before{border-bottom-color:#000;bottom:100%;right:8px}.fv-plugins-tooltip--bottom{transform:translateY(8px)}.fv-plugins-tooltip--bottom .fv-plugins-tooltip__content:before{border-bottom-color:#000;bottom:100%;left:50%;margin-left:-8px}.fv-plugins-tooltip--bottom-left{transform:translateY(8px)}.fv-plugins-tooltip--bottom-left .fv-plugins-tooltip__content:before{border-bottom-color:#000;bottom:100%;left:8px}.fv-plugins-tooltip--left{transform:translateX(-8px)}.fv-plugins-tooltip--left .fv-plugins-tooltip__content:before{border-left-color:#000;left:100%;margin-top:-8px;top:50%}.fv-plugins-tooltip-icon{cursor:pointer;pointer-events:inherit}.fv-plugins-bootstrap .fv-help-block{color:#dc3545;font-size:80%;margin-top:0.25rem}.fv-plugins-bootstrap .is-invalid ~ .form-check-label,.fv-plugins-bootstrap .is-valid ~ .form-check-label{color:inherit}.fv-plugins-bootstrap .has-danger .fv-plugins-icon{color:#dc3545}.fv-plugins-bootstrap .has-success .fv-plugins-icon{color:#28a745}.fv-plugins-bootstrap .fv-plugins-icon{height:38px;line-height:38px;width:38px}.fv-plugins-bootstrap .input-group ~ .fv-plugins-icon{z-index:3}.fv-plugins-bootstrap .form-group.row .fv-plugins-icon{right:15px}.fv-plugins-bootstrap .form-group.row .fv-plugins-icon-check{top:-7px}.fv-plugins-bootstrap:not(.form-inline) label ~ .fv-plugins-icon{top:32px}.fv-plugins-bootstrap:not(.form-inline) label ~ .fv-plugins-icon-check{top:25px}.fv-plugins-bootstrap:not(.form-inline) label.sr-only ~ .fv-plugins-icon-check{top:-7px}.fv-plugins-bootstrap.form-inline .form-group{align-items:flex-start;flex-direction:column;margin-bottom:auto}.fv-plugins-bootstrap .form-control.is-valid,.fv-plugins-bootstrap .form-control.is-invalid{background-image:none}.fv-plugins-bootstrap3 .help-block{margin-bottom:0}.fv-plugins-bootstrap3 .input-group ~ .form-control-feedback{z-index:4}.fv-plugins-bootstrap3.form-inline .form-group{vertical-align:top}.fv-plugins-bootstrap5 .fv-plugins-bootstrap5-row-invalid .fv-plugins-icon{color:#dc3545}.fv-plugins-bootstrap5 .fv-plugins-bootstrap5-row-valid .fv-plugins-icon{color:#198754}.fv-plugins-bootstrap5 .fv-plugins-icon{align-items:center;display:flex;justify-content:center;height:38px;width:38px}.fv-plugins-bootstrap5 .input-group ~ .fv-plugins-icon{z-index:3}.fv-plugins-bootstrap5 .fv-plugins-icon-input-group{right:-38px}.fv-plugins-bootstrap5 .form-floating .fv-plugins-icon{height:58px}.fv-plugins-bootstrap5 .row .fv-plugins-icon{right:12px}.fv-plugins-bootstrap5 .row .fv-plugins-icon-check{top:-7px}.fv-plugins-bootstrap5:not(.fv-plugins-bootstrap5-form-inline) label ~ .fv-plugins-icon{top:32px}.fv-plugins-bootstrap5:not(.fv-plugins-bootstrap5-form-inline) label ~ .fv-plugins-icon-check{top:25px}.fv-plugins-bootstrap5:not(.fv-plugins-bootstrap5-form-inline) label.sr-only ~ .fv-plugins-icon-check{top:-7px}.fv-plugins-bootstrap5.fv-plugins-bootstrap5-form-inline .fv-plugins-icon{right:calc(var(--bs-gutter-x, 1.5rem) / 2)}.fv-plugins-bootstrap5 .form-select.fv-plugins-icon-input.is-valid,.fv-plugins-bootstrap5 .form-select.fv-plugins-icon-input.is-invalid,.fv-plugins-bootstrap5 .form-control.fv-plugins-icon-input.is-valid,.fv-plugins-bootstrap5 .form-control.fv-plugins-icon-input.is-invalid{background-image:none}.fv-plugins-bulma .field.has-addons{flex-wrap:wrap}.fv-plugins-bulma .field.has-addons::after{content:'';width:100%}.fv-plugins-bulma .field.has-addons .fv-plugins-message-container{order:1}.fv-plugins-bulma .icon.fv-plugins-icon-check{top:-4px}.fv-plugins-bulma .fv-has-error .input,.fv-plugins-bulma .fv-has-error .textarea{border:1px solid #ff3860}.fv-plugins-bulma .fv-has-success .input,.fv-plugins-bulma .fv-has-success .textarea{border:1px solid #23d160}.fv-plugins-foundation .fv-plugins-icon{height:39px;line-height:39px;right:0;width:39px}.fv-plugins-foundation .grid-padding-x .fv-plugins-icon{right:15px}.fv-plugins-foundation .fv-plugins-icon-container .cell{position:relative}.fv-plugins-foundation [type='checkbox'] ~ .fv-plugins-icon,.fv-plugins-foundation [type='checkbox'] ~ .fv-plugins-icon{top:-7px}.fv-plugins-foundation.fv-stacked-form .fv-plugins-message-container{width:100%}.fv-plugins-foundation.fv-stacked-form label .fv-plugins-icon,.fv-plugins-foundation.fv-stacked-form fieldset [type='checkbox'] ~ .fv-plugins-icon,.fv-plugins-foundation.fv-stacked-form fieldset [type='radio'] ~ .fv-plugins-icon{top:25px}.fv-plugins-foundation .form-error{display:block}.fv-plugins-foundation .fv-row__success .fv-plugins-icon{color:#3adb76}.fv-plugins-foundation .fv-row__error label,.fv-plugins-foundation .fv-row__error fieldset legend,.fv-plugins-foundation .fv-row__error .fv-plugins-icon{color:#cc4b37}.fv-plugins-materialize .fv-plugins-icon{height:42px;line-height:42px;width:42px}.fv-plugins-materialize .fv-plugins-icon-check{top:-10px}.fv-plugins-materialize .fv-invalid-row .helper-text,.fv-plugins-materialize .fv-invalid-row .fv-plugins-icon{color:#f44336}.fv-plugins-materialize .fv-valid-row .helper-text,.fv-plugins-materialize .fv-valid-row .fv-plugins-icon{color:#4caf50}.fv-plugins-milligram .fv-plugins-icon{height:38px;line-height:38px;width:38px}.fv-plugins-milligram .column{position:relative}.fv-plugins-milligram .column .fv-plugins-icon{right:10px}.fv-plugins-milligram .fv-plugins-icon-check{top:-6px}.fv-plugins-milligram .fv-plugins-message-container{margin-bottom:15px}.fv-plugins-milligram.fv-stacked-form .fv-plugins-icon{top:30px}.fv-plugins-milligram.fv-stacked-form .fv-plugins-icon-check{top:24px}.fv-plugins-milligram .fv-invalid-row .fv-help-block,.fv-plugins-milligram .fv-invalid-row .fv-plugins-icon{color:red}.fv-plugins-milligram .fv-valid-row .fv-help-block,.fv-plugins-milligram .fv-valid-row .fv-plugins-icon{color:green}.fv-plugins-mini .fv-plugins-icon{height:42px;line-height:42px;width:42px;top:4px}.fv-plugins-mini .fv-plugins-icon-check{top:-8px}.fv-plugins-mini.fv-stacked-form .fv-plugins-icon{top:28px}.fv-plugins-mini.fv-stacked-form .fv-plugins-icon-check{top:20px}.fv-plugins-mini .fv-plugins-message-container{margin:calc(var(--universal-margin) / 2)}.fv-plugins-mini .fv-invalid-row .fv-help-block,.fv-plugins-mini .fv-invalid-row .fv-plugins-icon{color:var(--input-invalid-color)}.fv-plugins-mini .fv-valid-row .fv-help-block,.fv-plugins-mini .fv-valid-row .fv-plugins-icon{color:#308732}.fv-plugins-mui .fv-plugins-icon{height:32px;line-height:32px;width:32px;top:15px;right:4px}.fv-plugins-mui .fv-plugins-icon-check{top:-6px;right:-10px}.fv-plugins-mui .fv-plugins-message-container{margin:8px 0}.fv-plugins-mui .fv-invalid-row .fv-help-block,.fv-plugins-mui .fv-invalid-row .fv-plugins-icon{color:#f44336}.fv-plugins-mui .fv-valid-row .fv-help-block,.fv-plugins-mui .fv-valid-row .fv-plugins-icon{color:#4caf50}.fv-plugins-pure .fv-plugins-icon{height:36px;line-height:36px;width:36px}.fv-plugins-pure .fv-has-error label,.fv-plugins-pure .fv-has-error .fv-help-block,.fv-plugins-pure .fv-has-error .fv-plugins-icon{color:#ca3c3c}.fv-plugins-pure .fv-has-success label,.fv-plugins-pure .fv-has-success .fv-help-block,.fv-plugins-pure .fv-has-success .fv-plugins-icon{color:#1cb841}.fv-plugins-pure.pure-form-aligned .fv-help-block{margin-top:5px;margin-left:180px}.fv-plugins-pure.pure-form-aligned .fv-plugins-icon-check{top:-9px}.fv-plugins-pure.pure-form-stacked .pure-control-group{margin-bottom:8px}.fv-plugins-pure.pure-form-stacked .fv-plugins-icon{top:22px}.fv-plugins-pure.pure-form-stacked .fv-plugins-icon-check{top:13px}.fv-plugins-pure.pure-form-stacked .fv-sr-only ~ .fv-plugins-icon{top:-9px}.fv-plugins-semantic.ui.form .fields.error label,.fv-plugins-semantic .error .fv-plugins-icon{color:#9f3a38}.fv-plugins-semantic .fv-plugins-icon-check{right:7px}.fv-plugins-shoelace .input-group{margin-bottom:0}.fv-plugins-shoelace .fv-plugins-icon{height:32px;line-height:32px;width:32px;top:28px}.fv-plugins-shoelace .row .fv-plugins-icon{right:16px;top:0}.fv-plugins-shoelace .fv-plugins-icon-check{top:24px}.fv-plugins-shoelace .fv-sr-only ~ .fv-plugins-icon,.fv-plugins-shoelace .fv-sr-only ~ div .fv-plugins-icon{top:-4px}.fv-plugins-shoelace .input-valid .fv-help-block,.fv-plugins-shoelace .input-valid .fv-plugins-icon{color:#2ecc40}.fv-plugins-shoelace .input-invalid .fv-help-block,.fv-plugins-shoelace .input-invalid .fv-plugins-icon{color:#ff4136}.fv-plugins-spectre .input-group .fv-plugins-icon{z-index:2}.fv-plugins-spectre .form-group .fv-plugins-icon-check{right:6px;top:10px}.fv-plugins-spectre:not(.form-horizontal) .form-group .fv-plugins-icon-check{right:6px;top:45px}.fv-plugins-tachyons .fv-plugins-icon{height:36px;line-height:36px;width:36px}.fv-plugins-tachyons .fv-plugins-icon-check{top:-7px}.fv-plugins-tachyons.fv-stacked-form .fv-plugins-icon{top:34px}.fv-plugins-tachyons.fv-stacked-form .fv-plugins-icon-check{top:24px}.fv-plugins-turret .fv-plugins-icon{height:40px;line-height:40px;width:40px}.fv-plugins-turret.fv-stacked-form .fv-plugins-icon{top:29px}.fv-plugins-turret.fv-stacked-form .fv-plugins-icon-check{top:17px}.fv-plugins-turret .fv-invalid-row .form-message,.fv-plugins-turret .fv-invalid-row .fv-plugins-icon{color:#c00}.fv-plugins-turret .fv-valid-row .form-message,.fv-plugins-turret .fv-valid-row .fv-plugins-icon{color:#00b300}.fv-plugins-uikit .fv-plugins-icon{height:40px;line-height:40px;top:25px;width:40px}.fv-plugins-uikit.uk-form-horizontal .fv-plugins-icon{top:0}.fv-plugins-uikit.uk-form-horizontal .fv-plugins-icon-check{top:-11px}.fv-plugins-uikit.uk-form-stacked .fv-plugins-icon-check{top:15px}.fv-plugins-uikit.uk-form-stacked .fv-no-label .fv-plugins-icon{top:0}.fv-plugins-uikit.uk-form-stacked .fv-no-label .fv-plugins-icon-check{top:-11px}.fv-plugins-wizard--step{display:none}.fv-plugins-wizard--active{display:block} diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/algorithms/index.js b/resources/assets/core/plugins/formvalidation/dist/es6/algorithms/index.js new file mode 100644 index 0000000..9c5353e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/algorithms/index.js @@ -0,0 +1 @@ +import o from"./luhn";import m from"./mod11And10";import r from"./mod37And36";import d from"./verhoeff";export default{luhn:o,mod11And10:m,mod37And36:r,verhoeff:d}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/algorithms/luhn.js b/resources/assets/core/plugins/formvalidation/dist/es6/algorithms/luhn.js new file mode 100644 index 0000000..385c1a3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/algorithms/luhn.js @@ -0,0 +1 @@ +export default function t(t){let e=t.length;const l=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]];let n=0;let r=0;while(e--){r+=l[n][parseInt(t.charAt(e),10)];n=1-n}return r%10===0&&r>0} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/algorithms/mod11And10.js b/resources/assets/core/plugins/formvalidation/dist/es6/algorithms/mod11And10.js new file mode 100644 index 0000000..9da382c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/algorithms/mod11And10.js @@ -0,0 +1 @@ +export default function t(t){const e=t.length;let n=5;for(let r=0;r{const n=t.charCodeAt(0);return n>=65&&n<=90?n-55:t})).join("").split("").map((t=>parseInt(t,10)))}export default function n(n){const e=t(n);let r=0;const o=e.length;for(let t=0;tPromise.all(Object.keys(this.fields).map((e=>this.validateField(e)))).then((e=>{switch(true){case e.indexOf("Invalid")!==-1:this.emit("core.form.invalid",{formValidation:this});return Promise.resolve("Invalid");case e.indexOf("NotValidated")!==-1:this.emit("core.form.notvalidated",{formValidation:this});return Promise.resolve("NotValidated");default:this.emit("core.form.valid",{formValidation:this});return Promise.resolve("Valid")}}))))}validateField(e){const t=this.results.get(e);if(t==="Valid"||t==="Invalid"){return Promise.resolve(t)}this.emit("core.field.validating",e);const i=this.elements[e];if(i.length===0){this.emit("core.field.valid",e);return Promise.resolve("Valid")}const s=i[0].getAttribute("type");if("radio"===s||"checkbox"===s||i.length===1){return this.validateElement(e,i[0])}else{return Promise.all(i.map((t=>this.validateElement(e,t)))).then((t=>{switch(true){case t.indexOf("Invalid")!==-1:this.emit("core.field.invalid",e);this.results.set(e,"Invalid");return Promise.resolve("Invalid");case t.indexOf("NotValidated")!==-1:this.emit("core.field.notvalidated",e);this.results.delete(e);return Promise.resolve("NotValidated");default:this.emit("core.field.valid",e);this.results.set(e,"Valid");return Promise.resolve("Valid")}}))}}validateElement(e,t){this.results.delete(e);const i=this.elements[e];const s=this.filter.execute("element-ignored",false,[e,t,i]);if(s){this.emit("core.element.ignored",{element:t,elements:i,field:e});return Promise.resolve("Ignored")}const l=this.fields[e].validators;this.emit("core.element.validating",{element:t,elements:i,field:e});const r=Object.keys(l).map((i=>()=>this.executeValidator(e,t,i,l[i])));return this.waterfall(r).then((s=>{const l=s.indexOf("Invalid")===-1;this.emit("core.element.validated",{element:t,elements:i,field:e,valid:l});const r=t.getAttribute("type");if("radio"===r||"checkbox"===r||i.length===1){this.emit(l?"core.field.valid":"core.field.invalid",e)}return Promise.resolve(l?"Valid":"Invalid")})).catch((s=>{this.emit("core.element.notvalidated",{element:t,elements:i,field:e});return Promise.resolve(s)}))}executeValidator(e,t,i,s){const l=this.elements[e];const r=this.filter.execute("validator-name",i,[i,e]);s.message=this.filter.execute("validator-message",s.message,[this.locale,e,r]);if(!this.validators[r]||s.enabled===false){this.emit("core.validator.validated",{element:t,elements:l,field:e,result:this.normalizeResult(e,r,{valid:true}),validator:r});return Promise.resolve("Valid")}const a=this.validators[r];const d=this.getElementValue(e,t,r);const o=this.filter.execute("field-should-validate",true,[e,t,d,i]);if(!o){this.emit("core.validator.notvalidated",{element:t,elements:l,field:e,validator:i});return Promise.resolve("NotValidated")}this.emit("core.validator.validating",{element:t,elements:l,field:e,validator:i});const n=a().validate({element:t,elements:l,field:e,l10n:this.localization,options:s,value:d});const h="function"===typeof n["then"];if(h){return n.then((s=>{const r=this.normalizeResult(e,i,s);this.emit("core.validator.validated",{element:t,elements:l,field:e,result:r,validator:i});return r.valid?"Valid":"Invalid"}))}else{const s=this.normalizeResult(e,i,n);this.emit("core.validator.validated",{element:t,elements:l,field:e,result:s,validator:i});return Promise.resolve(s.valid?"Valid":"Invalid")}}getElementValue(e,t,s){const l=i(this.form,e,t,this.elements[e]);return this.filter.execute("field-value",l,[l,e,t,s])}getElements(e){return this.elements[e]}getFields(){return this.fields}getFormElement(){return this.form}getLocale(){return this.locale}getPlugin(e){return this.plugins[e]}updateFieldStatus(e,t,i){const s=this.elements[e];const l=s[0].getAttribute("type");const r="radio"===l||"checkbox"===l?[s[0]]:s;r.forEach((s=>this.updateElementStatus(e,s,t,i)));if(!i){switch(t){case"NotValidated":this.emit("core.field.notvalidated",e);this.results.delete(e);break;case"Validating":this.emit("core.field.validating",e);this.results.delete(e);break;case"Valid":this.emit("core.field.valid",e);this.results.set(e,"Valid");break;case"Invalid":this.emit("core.field.invalid",e);this.results.set(e,"Invalid");break}}return this}updateElementStatus(e,t,i,s){const l=this.elements[e];const r=this.fields[e].validators;const a=s?[s]:Object.keys(r);switch(i){case"NotValidated":a.forEach((i=>this.emit("core.validator.notvalidated",{element:t,elements:l,field:e,validator:i})));this.emit("core.element.notvalidated",{element:t,elements:l,field:e});break;case"Validating":a.forEach((i=>this.emit("core.validator.validating",{element:t,elements:l,field:e,validator:i})));this.emit("core.element.validating",{element:t,elements:l,field:e});break;case"Valid":a.forEach((i=>this.emit("core.validator.validated",{element:t,elements:l,field:e,result:{message:r[i].message,valid:true},validator:i})));this.emit("core.element.validated",{element:t,elements:l,field:e,valid:true});break;case"Invalid":a.forEach((i=>this.emit("core.validator.validated",{element:t,elements:l,field:e,result:{message:r[i].message,valid:false},validator:i})));this.emit("core.element.validated",{element:t,elements:l,field:e,valid:false});break}return this}resetForm(e){Object.keys(this.fields).forEach((t=>this.resetField(t,e)));this.emit("core.form.reset",{formValidation:this,reset:e});return this}resetField(e,t){if(t){const t=this.elements[e];const i=t[0].getAttribute("type");t.forEach((e=>{if("radio"===i||"checkbox"===i){e.removeAttribute("selected");e.removeAttribute("checked");e.checked=false}else{e.setAttribute("value","");if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){e.value=""}}}))}this.updateFieldStatus(e,"NotValidated");this.emit("core.field.reset",{field:e,reset:t});return this}revalidateField(e){this.updateFieldStatus(e,"NotValidated");return this.validateField(e)}disableValidator(e,t){return this.toggleValidator(false,e,t)}enableValidator(e,t){return this.toggleValidator(true,e,t)}updateValidatorOption(e,t,i,s){if(this.fields[e]&&this.fields[e].validators&&this.fields[e].validators[t]){this.fields[e].validators[t][i]=s}return this}setFieldOptions(e,t){this.fields[e]=t;return this}destroy(){Object.keys(this.plugins).forEach((e=>this.plugins[e].uninstall()));this.ee.clear();this.filter.clear();this.results.clear();this.plugins={};return this}setLocale(e,t){this.locale=e;this.localization=t;return this}waterfall(e){return e.reduce(((e,t)=>e.then((e=>t().then((t=>{e.push(t);return e}))))),Promise.resolve([]))}queryElements(e){const t=this.fields[e].selector?"#"===this.fields[e].selector.charAt(0)?`[id="${this.fields[e].selector.substring(1)}"]`:this.fields[e].selector:`[name="${e}"]`;return[].slice.call(this.form.querySelectorAll(t))}normalizeResult(e,t,i){const s=this.fields[e].validators[t];return Object.assign({},i,{message:i.message||(s?s.message:"")||(this.localization&&this.localization[t]&&this.localization[t].default?this.localization[t].default:"")||`The field ${e} is not valid`})}toggleValidator(e,t,i){const s=this.fields[t].validators;if(i&&s&&s[i]){this.fields[t].validators[i].enabled=e}else if(!i){Object.keys(s).forEach((i=>this.fields[t].validators[i].enabled=e))}return this.updateFieldStatus(t,"NotValidated",i)}}export default function r(e,t){const i=Object.assign({},{fields:{},locale:"en_US",plugins:{},init:e=>{}},t);const r=new l(e,i.fields);r.setLocale(i.locale,i.localization);Object.keys(i.plugins).forEach((e=>r.registerPlugin(e,i.plugins[e])));Object.keys(s).forEach((e=>r.registerValidator(e,s[e])));i.init(r);Object.keys(i.fields).forEach((e=>r.addField(e,i.fields[e])));return r}export{l as Core}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/core/Plugin.js b/resources/assets/core/plugins/formvalidation/dist/es6/core/Plugin.js new file mode 100644 index 0000000..d7c745e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/core/Plugin.js @@ -0,0 +1 @@ +export default class t{constructor(t){this.opts=t}setCore(t){this.core=t;return this}install(){}uninstall(){}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/core/emitter.js b/resources/assets/core/plugins/formvalidation/dist/es6/core/emitter.js new file mode 100644 index 0000000..8fc99ae --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/core/emitter.js @@ -0,0 +1 @@ +export default function s(){return{fns:{},clear(){this.fns={}},emit(s,...f){(this.fns[s]||[]).map((s=>s.apply(s,f)))},off(s,f){if(this.fns[s]){const n=this.fns[s].indexOf(f);if(n>=0){this.fns[s].splice(n,1)}}},on(s,f){(this.fns[s]=this.fns[s]||[]).push(f)}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/core/filter.js b/resources/assets/core/plugins/formvalidation/dist/es6/core/filter.js new file mode 100644 index 0000000..d6150e4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/core/filter.js @@ -0,0 +1 @@ +export default function t(){return{filters:{},add(t,e){(this.filters[t]=this.filters[t]||[]).push(e)},clear(){this.filters={}},execute(t,e,i){if(!this.filters[t]||!this.filters[t].length){return e}let s=e;const r=this.filters[t];const l=r.length;for(let t=0;tt!==e))}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/core/index.js b/resources/assets/core/plugins/formvalidation/dist/es6/core/index.js new file mode 100644 index 0000000..9a43df4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/core/index.js @@ -0,0 +1 @@ +import o from"./Core";import r from"./Plugin";export default o;export{r as Plugin}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/filters/getFieldValue.js b/resources/assets/core/plugins/formvalidation/dist/es6/filters/getFieldValue.js new file mode 100644 index 0000000..4605dce --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/filters/getFieldValue.js @@ -0,0 +1 @@ +export default function e(e,t,r,n){const o=(r.getAttribute("type")||"").toLowerCase();const c=r.tagName.toLowerCase();if(c==="textarea"){return r.value}if(c==="select"){const e=r;const t=e.selectedIndex;return t>=0?e.options.item(t).value:""}if(c==="input"){if("radio"===o||"checkbox"===o){const e=n.filter((e=>e.checked)).length;return e===0?"":e+""}else{return r.value}}return""} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/filters/index.js b/resources/assets/core/plugins/formvalidation/dist/es6/filters/index.js new file mode 100644 index 0000000..6bb63f3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/filters/index.js @@ -0,0 +1 @@ +import e from"./getFieldValue";export default{getFieldValue:e}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/index.js b/resources/assets/core/plugins/formvalidation/dist/es6/index.js new file mode 100644 index 0000000..074ecf8 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/index.js @@ -0,0 +1 @@ +import i from"./algorithms/index";import o,{Plugin as r}from"./core/index";import m from"./filters/index";import t from"./plugins/index";import e from"./utils/index";import n from"./validators/index";const p={};export{i as algorithms,o as formValidation,m as filters,p as locales,t as plugins,e as utils,n as validators,r as Plugin}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/ar_MA.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ar_MA.js new file mode 100644 index 0000000..8e58cdc --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ar_MA.js @@ -0,0 +1 @@ +export default{base64:{default:"الرجاء إدخال قيمة مشفرة طبقا للقاعدة 64."},between:{default:"الرجاء إدخال قيمة بين %s و %s .",notInclusive:"الرجاء إدخال قيمة بين %s و %s بدقة."},bic:{default:"الرجاء إدخال رقم BIC صالح."},callback:{default:"الرجاء إدخال قيمة صالحة."},choice:{between:"الرجاء إختيار %s-%s خيارات.",default:"الرجاء إدخال قيمة صالحة.",less:"الرجاء اختيار %s خيارات كحد أدنى.",more:"الرجاء اختيار %s خيارات كحد أقصى."},color:{default:"الرجاء إدخال رمز لون صالح."},creditCard:{default:"الرجاء إدخال رقم بطاقة إئتمان صحيح."},cusip:{default:"الرجاء إدخال رقم CUSIP صالح."},date:{default:"الرجاء إدخال تاريخ صالح.",max:"الرجاء إدخال تاريخ قبل %s.",min:"الرجاء إدخال تاريخ بعد %s.",range:"الرجاء إدخال تاريخ في المجال %s - %s."},different:{default:"الرجاء إدخال قيمة مختلفة."},digits:{default:"الرجاء إدخال الأرقام فقط."},ean:{default:"الرجاء إدخال رقم EAN صالح."},ein:{default:"الرجاء إدخال رقم EIN صالح."},emailAddress:{default:"الرجاء إدخال بريد إلكتروني صحيح."},file:{default:"الرجاء إختيار ملف صالح."},greaterThan:{default:"الرجاء إدخال قيمة أكبر من أو تساوي %s.",notInclusive:"الرجاء إدخال قيمة أكبر من %s."},grid:{default:"الرجاء إدخال رقم GRid صالح."},hex:{default:"الرجاء إدخال رقم ست عشري صالح."},iban:{countries:{AD:"أندورا",AE:"الإمارات العربية المتحدة",AL:"ألبانيا",AO:"أنغولا",AT:"النمسا",AZ:"أذربيجان",BA:"البوسنة والهرسك",BE:"بلجيكا",BF:"بوركينا فاسو",BG:"بلغاريا",BH:"البحرين",BI:"بوروندي",BJ:"بنين",BR:"البرازيل",CH:"سويسرا",CI:"ساحل العاج",CM:"الكاميرون",CR:"كوستاريكا",CV:"الرأس الأخضر",CY:"قبرص",CZ:"التشيك",DE:"ألمانيا",DK:"الدنمارك",DO:"جمهورية الدومينيكان",DZ:"الجزائر",EE:"إستونيا",ES:"إسبانيا",FI:"فنلندا",FO:"جزر فارو",FR:"فرنسا",GB:"المملكة المتحدة",GE:"جورجيا",GI:"جبل طارق",GL:"جرينلاند",GR:"اليونان",GT:"غواتيمالا",HR:"كرواتيا",HU:"المجر",IE:"أيرلندا",IL:"إسرائيل",IR:"إيران",IS:"آيسلندا",IT:"إيطاليا",JO:"الأردن",KW:"الكويت",KZ:"كازاخستان",LB:"لبنان",LI:"ليختنشتاين",LT:"ليتوانيا",LU:"لوكسمبورغ",LV:"لاتفيا",MC:"موناكو",MD:"مولدوفا",ME:"الجبل الأسود",MG:"مدغشقر",MK:"جمهورية مقدونيا",ML:"مالي",MR:"موريتانيا",MT:"مالطا",MU:"موريشيوس",MZ:"موزمبيق",NL:"هولندا",NO:"النرويج",PK:"باكستان",PL:"بولندا",PS:"فلسطين",PT:"البرتغال",QA:"قطر",RO:"رومانيا",RS:"صربيا",SA:"المملكة العربية السعودية",SE:"السويد",SI:"سلوفينيا",SK:"سلوفاكيا",SM:"سان مارينو",SN:"السنغال",TL:"تيمور الشرقية",TN:"تونس",TR:"تركيا",VG:"جزر العذراء البريطانية",XK:"جمهورية كوسوفو"},country:"الرجاء إدخال رقم IBAN صالح في %s.",default:"الرجاء إدخال رقم IBAN صالح."},id:{countries:{BA:"البوسنة والهرسك",BG:"بلغاريا",BR:"البرازيل",CH:"سويسرا",CL:"تشيلي",CN:"الصين",CZ:"التشيك",DK:"الدنمارك",EE:"إستونيا",ES:"إسبانيا",FI:"فنلندا",HR:"كرواتيا",IE:"أيرلندا",IS:"آيسلندا",LT:"ليتوانيا",LV:"لاتفيا",ME:"الجبل الأسود",MK:"جمهورية مقدونيا",NL:"هولندا",PL:"بولندا",RO:"رومانيا",RS:"صربيا",SE:"السويد",SI:"سلوفينيا",SK:"سلوفاكيا",SM:"سان مارينو",TH:"تايلاند",TR:"تركيا",ZA:"جنوب أفريقيا"},country:"الرجاء إدخال رقم تعريف صالح في %s.",default:"الرجاء إدخال رقم هوية صالحة."},identical:{default:"الرجاء إدخال نفس القيمة."},imei:{default:"الرجاء إدخال رقم IMEI صالح."},imo:{default:"الرجاء إدخال رقم IMO صالح."},integer:{default:"الرجاء إدخال رقم صحيح."},ip:{default:"الرجاء إدخال عنوان IP صالح.",ipv4:"الرجاء إدخال عنوان IPv4 صالح.",ipv6:"الرجاء إدخال عنوان IPv6 صالح."},isbn:{default:"الرجاء إدخال رقم ISBN صالح."},isin:{default:"الرجاء إدخال رقم ISIN صالح."},ismn:{default:"الرجاء إدخال رقم ISMN صالح."},issn:{default:"الرجاء إدخال رقم ISSN صالح."},lessThan:{default:"الرجاء إدخال قيمة أصغر من أو تساوي %s.",notInclusive:"الرجاء إدخال قيمة أصغر من %s."},mac:{default:"يرجى إدخال عنوان MAC صالح."},meid:{default:"الرجاء إدخال رقم MEID صالح."},notEmpty:{default:"الرجاء إدخال قيمة."},numeric:{default:"الرجاء إدخال عدد عشري صالح."},phone:{countries:{AE:"الإمارات العربية المتحدة",BG:"بلغاريا",BR:"البرازيل",CN:"الصين",CZ:"التشيك",DE:"ألمانيا",DK:"الدنمارك",ES:"إسبانيا",FR:"فرنسا",GB:"المملكة المتحدة",IN:"الهند",MA:"المغرب",NL:"هولندا",PK:"باكستان",RO:"رومانيا",RU:"روسيا",SK:"سلوفاكيا",TH:"تايلاند",US:"الولايات المتحدة",VE:"فنزويلا"},country:"الرجاء إدخال رقم هاتف صالح في %s.",default:"الرجاء إدخال رقم هاتف صحيح."},promise:{default:"الرجاء إدخال قيمة صالحة."},regexp:{default:"الرجاء إدخال قيمة مطابقة للنمط."},remote:{default:"الرجاء إدخال قيمة صالحة."},rtn:{default:"الرجاء إدخال رقم RTN صالح."},sedol:{default:"الرجاء إدخال رقم SEDOL صالح."},siren:{default:"الرجاء إدخال رقم SIREN صالح."},siret:{default:"الرجاء إدخال رقم SIRET صالح."},step:{default:"الرجاء إدخال قيمة من مضاعفات %s ."},stringCase:{default:"الرجاء إدخال أحرف صغيرة فقط.",upper:"الرجاء إدخال أحرف كبيرة فقط."},stringLength:{between:"الرجاء إدخال قيمة ذات عدد حروف بين %s و %s حرفا.",default:"الرجاء إدخال قيمة ذات طول صحيح.",less:"الرجاء إدخال أقل من %s حرفا.",more:"الرجاء إدخال أكتر من %s حرفا."},uri:{default:"الرجاء إدخال URI صالح."},uuid:{default:"الرجاء إدخال رقم UUID صالح.",version:"الرجاء إدخال رقم UUID صالح إصدار %s."},vat:{countries:{AT:"النمسا",BE:"بلجيكا",BG:"بلغاريا",BR:"البرازيل",CH:"سويسرا",CY:"قبرص",CZ:"التشيك",DE:"جورجيا",DK:"الدنمارك",EE:"إستونيا",EL:"اليونان",ES:"إسبانيا",FI:"فنلندا",FR:"فرنسا",GB:"المملكة المتحدة",GR:"اليونان",HR:"كرواتيا",HU:"المجر",IE:"أيرلندا",IS:"آيسلندا",IT:"إيطاليا",LT:"ليتوانيا",LU:"لوكسمبورغ",LV:"لاتفيا",MT:"مالطا",NL:"هولندا",NO:"النرويج",PL:"بولندا",PT:"البرتغال",RO:"رومانيا",RS:"صربيا",RU:"روسيا",SE:"السويد",SI:"سلوفينيا",SK:"سلوفاكيا",VE:"فنزويلا",ZA:"جنوب أفريقيا"},country:"الرجاء إدخال رقم VAT صالح في %s.",default:"الرجاء إدخال رقم VAT صالح."},vin:{default:"الرجاء إدخال رقم VIN صالح."},zipCode:{countries:{AT:"النمسا",BG:"بلغاريا",BR:"البرازيل",CA:"كندا",CH:"سويسرا",CZ:"التشيك",DE:"ألمانيا",DK:"الدنمارك",ES:"إسبانيا",FR:"فرنسا",GB:"المملكة المتحدة",IE:"أيرلندا",IN:"الهند",IT:"إيطاليا",MA:"المغرب",NL:"هولندا",PL:"بولندا",PT:"البرتغال",RO:"رومانيا",RU:"روسيا",SE:"السويد",SG:"سنغافورة",SK:"سلوفاكيا",US:"الولايات المتحدة"},country:"الرجاء إدخال رمز بريدي صالح في %s.",default:"الرجاء إدخال رمز بريدي صالح."}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/bg_BG.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/bg_BG.js new file mode 100644 index 0000000..ea52fb7 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/bg_BG.js @@ -0,0 +1 @@ +export default{base64:{default:"Моля, въведете валиден base 64 кодиран"},between:{default:"Моля, въведете стойност между %s и %s",notInclusive:"Моля, въведете стойност точно между %s и %s"},bic:{default:"Моля, въведете валиден BIC номер"},callback:{default:"Моля, въведете валидна стойност"},choice:{between:"Моля изберете от %s до %s стойност",default:"Моля, въведете валидна стойност",less:"Моля изберете минимална стойност %s",more:"Моля изберете максимална стойност %s"},color:{default:"Моля, въведете валиден цвят"},creditCard:{default:"Моля, въведете валиден номер на кредитна карта"},cusip:{default:"Моля, въведете валиден CUSIP номер"},date:{default:"Моля, въведете валидна дата",max:"Моля въведете дата преди %s",min:"Моля въведете дата след %s",range:"Моля въведете дата между %s и %s"},different:{default:"Моля, въведете различна стойност"},digits:{default:"Моля, въведете само цифри"},ean:{default:"Моля, въведете валиден EAN номер"},ein:{default:"Моля, въведете валиден EIN номер"},emailAddress:{default:"Моля, въведете валиден имейл адрес"},file:{default:"Моля, изберете валиден файл"},greaterThan:{default:"Моля, въведете стойност по-голяма от или равна на %s",notInclusive:"Моля, въведете стойност по-голяма от %s"},grid:{default:"Моля, изберете валиден GRId номер"},hex:{default:"Моля, въведете валиден шестнадесетичен номер"},iban:{countries:{AD:"Андора",AE:"Обединени арабски емирства",AL:"Албания",AO:"Ангола",AT:"Австрия",AZ:"Азербайджан",BA:"Босна и Херцеговина",BE:"Белгия",BF:"Буркина Фасо",BG:"България",BH:"Бахрейн",BI:"Бурунди",BJ:"Бенин",BR:"Бразилия",CH:"Швейцария",CI:"Ivory Coast",CM:"Камерун",CR:"Коста Рика",CV:"Cape Verde",CY:"Кипър",CZ:"Чешката република",DE:"Германия",DK:"Дания",DO:"Доминиканска република",DZ:"Алжир",EE:"Естония",ES:"Испания",FI:"Финландия",FO:"Фарьорските острови",FR:"Франция",GB:"Обединеното кралство",GE:"Грузия",GI:"Гибралтар",GL:"Гренландия",GR:"Гърция",GT:"Гватемала",HR:"Хърватия",HU:"Унгария",IE:"Ирландия",IL:"Израел",IR:"Иран",IS:"Исландия",IT:"Италия",JO:"Йордания",KW:"Кувейт",KZ:"Казахстан",LB:"Ливан",LI:"Лихтенщайн",LT:"Литва",LU:"Люксембург",LV:"Латвия",MC:"Монако",MD:"Молдова",ME:"Черна гора",MG:"Мадагаскар",MK:"Македония",ML:"Мали",MR:"Мавритания",MT:"Малта",MU:"Мавриций",MZ:"Мозамбик",NL:"Нидерландия",NO:"Норвегия",PK:"Пакистан",PL:"Полша",PS:"палестинска",PT:"Португалия",QA:"Катар",RO:"Румъния",RS:"Сърбия",SA:"Саудитска Арабия",SE:"Швеция",SI:"Словения",SK:"Словакия",SM:"San Marino",SN:"Сенегал",TL:"Източен Тимор",TN:"Тунис",TR:"Турция",VG:"Британски Вирджински острови",XK:"Република Косово"},country:"Моля, въведете валиден номер на IBAN в %s",default:"Моля, въведете валиден IBAN номер"},id:{countries:{BA:"Босна и Херцеговина",BG:"България",BR:"Бразилия",CH:"Швейцария",CL:"Чили",CN:"Китай",CZ:"Чешката република",DK:"Дания",EE:"Естония",ES:"Испания",FI:"Финландия",HR:"Хърватия",IE:"Ирландия",IS:"Исландия",LT:"Литва",LV:"Латвия",ME:"Черна гора",MK:"Македония",NL:"Холандия",PL:"Полша",RO:"Румъния",RS:"Сърбия",SE:"Швеция",SI:"Словения",SK:"Словакия",SM:"San Marino",TH:"Тайланд",TR:"Турция",ZA:"Южна Африка"},country:"Моля, въведете валиден идентификационен номер в %s",default:"Моля, въведете валиден идентификационен номер"},identical:{default:"Моля, въведете една и съща стойност"},imei:{default:"Моля, въведете валиден IMEI номер"},imo:{default:"Моля, въведете валиден IMO номер"},integer:{default:"Моля, въведете валиден номер"},ip:{default:"Моля, въведете валиден IP адрес",ipv4:"Моля, въведете валиден IPv4 адрес",ipv6:"Моля, въведете валиден IPv6 адрес"},isbn:{default:"Моля, въведете валиден ISBN номер"},isin:{default:"Моля, въведете валиден ISIN номер"},ismn:{default:"Моля, въведете валиден ISMN номер"},issn:{default:"Моля, въведете валиден ISSN номер"},lessThan:{default:"Моля, въведете стойност по-малка или равна на %s",notInclusive:"Моля, въведете стойност по-малко от %s"},mac:{default:"Моля, въведете валиден MAC адрес"},meid:{default:"Моля, въведете валиден MEID номер"},notEmpty:{default:"Моля, въведете стойност"},numeric:{default:"Моля, въведете валидно число с плаваща запетая"},phone:{countries:{AE:"Обединени арабски емирства",BG:"България",BR:"Бразилия",CN:"Китай",CZ:"Чешката република",DE:"Германия",DK:"Дания",ES:"Испания",FR:"Франция",GB:"Обединеното кралство",IN:"Индия",MA:"Мароко",NL:"Нидерландия",PK:"Пакистан",RO:"Румъния",RU:"Русия",SK:"Словакия",TH:"Тайланд",US:"САЩ",VE:"Венецуела"},country:"Моля, въведете валиден телефонен номер в %s",default:"Моля, въведете валиден телефонен номер"},promise:{default:"Моля, въведете валидна стойност"},regexp:{default:"Моля, въведете стойност, отговаряща на модела"},remote:{default:"Моля, въведете валидна стойност"},rtn:{default:"Моля, въведете валиде RTN номер"},sedol:{default:"Моля, въведете валиден SEDOL номер"},siren:{default:"Моля, въведете валиден SIREN номер"},siret:{default:"Моля, въведете валиден SIRET номер"},step:{default:"Моля, въведете валиденa стъпка от %s"},stringCase:{default:"Моля, въведете само с малки букви",upper:"Моля въведете само главни букви"},stringLength:{between:"Моля, въведете стойност между %s и %s знака",default:"Моля, въведете стойност с валидни дължина",less:"Моля, въведете по-малко от %s знака",more:"Моля въведете повече от %s знака"},uri:{default:"Моля, въведете валиден URI"},uuid:{default:"Моля, въведете валиден UUID номер",version:"Моля, въведете валиден UUID номер с версия %s"},vat:{countries:{AT:"Австрия",BE:"Белгия",BG:"България",BR:"Бразилия",CH:"Швейцария",CY:"Кипър",CZ:"Чешката република",DE:"Германия",DK:"Дания",EE:"Естония",EL:"Гърция",ES:"Испания",FI:"Финландия",FR:"Франция",GB:"Обединеното кралство",GR:"Гърция",HR:"Ирландия",HU:"Унгария",IE:"Ирландски",IS:"Исландия",IT:"Италия",LT:"Литва",LU:"Люксембург",LV:"Латвия",MT:"Малта",NL:"Холандия",NO:"Норвегия",PL:"Полша",PT:"Португалия",RO:"Румъния",RS:"Сърбия",RU:"Русия",SE:"Швеция",SI:"Словения",SK:"Словакия",VE:"Венецуела",ZA:"Южна Африка"},country:"Моля, въведете валиден ДДС в %s",default:"Моля, въведете валиден ДДС"},vin:{default:"Моля, въведете валиден номер VIN"},zipCode:{countries:{AT:"Австрия",BG:"България",BR:"Бразилия",CA:"Канада",CH:"Швейцария",CZ:"Чешката република",DE:"Германия",DK:"Дания",ES:"Испания",FR:"Франция",GB:"Обединеното кралство",IE:"Ирландски",IN:"Индия",IT:"Италия",MA:"Мароко",NL:"Холандия",PL:"Полша",PT:"Португалия",RO:"Румъния",RU:"Русия",SE:"Швеция",SG:"Сингапур",SK:"Словакия",US:"САЩ"},country:"Моля, въведете валиден пощенски код в %s",default:"Моля, въведете валиден пощенски код"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/ca_ES.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ca_ES.js new file mode 100644 index 0000000..49b02c7 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ca_ES.js @@ -0,0 +1 @@ +export default{base64:{default:"Si us plau introdueix un valor vàlid en base 64"},between:{default:"Si us plau introdueix un valor entre %s i %s",notInclusive:"Si us plau introdueix un valor comprès entre %s i %s"},bic:{default:"Si us plau introdueix un nombre BIC vàlid"},callback:{default:"Si us plau introdueix un valor vàlid"},choice:{between:"Si us plau escull entre %s i %s opcions",default:"Si us plau introdueix un valor vàlid",less:"Si us plau escull %s opcions com a mínim",more:"Si us plau escull %s opcions com a màxim"},color:{default:"Si us plau introdueix un color vàlid"},creditCard:{default:"Si us plau introdueix un nombre vàlid de targeta de crèdit"},cusip:{default:"Si us plau introdueix un nombre CUSIP vàlid"},date:{default:"Si us plau introdueix una data vàlida",max:"Si us plau introdueix una data anterior %s",min:"Si us plau introdueix una data posterior a %s",range:"Si us plau introdueix una data compresa entre %s i %s"},different:{default:"Si us plau introdueix un valor diferent"},digits:{default:"Si us plau introdueix només dígits"},ean:{default:"Si us plau introdueix un nombre EAN vàlid"},ein:{default:"Si us plau introdueix un nombre EIN vàlid"},emailAddress:{default:"Si us plau introdueix una adreça electrònica vàlida"},file:{default:"Si us plau selecciona un arxiu vàlid"},greaterThan:{default:"Si us plau introdueix un valor més gran o igual a %s",notInclusive:"Si us plau introdueix un valor més gran que %s"},grid:{default:"Si us plau introdueix un nombre GRId vàlid"},hex:{default:"Si us plau introdueix un valor hexadecimal vàlid"},iban:{countries:{AD:"Andorra",AE:"Emirats Àrabs Units",AL:"Albània",AO:"Angola",AT:"Àustria",AZ:"Azerbaidjan",BA:"Bòsnia i Hercegovina",BE:"Bèlgica",BF:"Burkina Faso",BG:"Bulgària",BH:"Bahrain",BI:"Burundi",BJ:"Benín",BR:"Brasil",CH:"Suïssa",CI:"Costa d'Ivori",CM:"Camerun",CR:"Costa Rica",CV:"Cap Verd",CY:"Xipre",CZ:"República Txeca",DE:"Alemanya",DK:"Dinamarca",DO:"República Dominicana",DZ:"Algèria",EE:"Estònia",ES:"Espanya",FI:"Finlàndia",FO:"Illes Fèroe",FR:"França",GB:"Regne Unit",GE:"Geòrgia",GI:"Gibraltar",GL:"Grenlàndia",GR:"Grècia",GT:"Guatemala",HR:"Croàcia",HU:"Hongria",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islàndia",IT:"Itàlia",JO:"Jordània",KW:"Kuwait",KZ:"Kazajistán",LB:"Líban",LI:"Liechtenstein",LT:"Lituània",LU:"Luxemburg",LV:"Letònia",MC:"Mònaco",MD:"Moldàvia",ME:"Montenegro",MG:"Madagascar",MK:"Macedònia",ML:"Malo",MR:"Mauritània",MT:"Malta",MU:"Maurici",MZ:"Moçambic",NL:"Països Baixos",NO:"Noruega",PK:"Pakistan",PL:"Polònia",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Sèrbia",SA:"Aràbia Saudita",SE:"Suècia",SI:"Eslovènia",SK:"Eslovàquia",SM:"San Marino",SN:"Senegal",TL:"Timor Oriental",TN:"Tunísia",TR:"Turquia",VG:"Illes Verges Britàniques",XK:"República de Kosovo"},country:"Si us plau introdueix un nombre IBAN vàlid a %s",default:"Si us plau introdueix un nombre IBAN vàlid"},id:{countries:{BA:"Bòsnia i Hercegovina",BG:"Bulgària",BR:"Brasil",CH:"Suïssa",CL:"Xile",CN:"Xina",CZ:"República Checa",DK:"Dinamarca",EE:"Estònia",ES:"Espanya",FI:"Finlpandia",HR:"Cropàcia",IE:"Irlanda",IS:"Islàndia",LT:"Lituania",LV:"Letònia",ME:"Montenegro",MK:"Macedònia",NL:"Països Baixos",PL:"Polònia",RO:"Romania",RS:"Sèrbia",SE:"Suècia",SI:"Eslovènia",SK:"Eslovàquia",SM:"San Marino",TH:"Tailàndia",TR:"Turquia",ZA:"Sud-àfrica"},country:"Si us plau introdueix un nombre d'identificació vàlid a %s",default:"Si us plau introdueix un nombre d'identificació vàlid"},identical:{default:"Si us plau introdueix exactament el mateix valor"},imei:{default:"Si us plau introdueix un nombre IMEI vàlid"},imo:{default:"Si us plau introdueix un nombre IMO vàlid"},integer:{default:"Si us plau introdueix un nombre vàlid"},ip:{default:"Si us plau introdueix una direcció IP vàlida",ipv4:"Si us plau introdueix una direcció IPV4 vàlida",ipv6:"Si us plau introdueix una direcció IPV6 vàlida"},isbn:{default:"Si us plau introdueix un nombre ISBN vàlid"},isin:{default:"Si us plau introdueix un nombre ISIN vàlid"},ismn:{default:"Si us plau introdueix un nombre ISMN vàlid"},issn:{default:"Si us plau introdueix un nombre ISSN vàlid"},lessThan:{default:"Si us plau introdueix un valor menor o igual a %s",notInclusive:"Si us plau introdueix un valor menor que %s"},mac:{default:"Si us plau introdueix una adreça MAC vàlida"},meid:{default:"Si us plau introdueix nombre MEID vàlid"},notEmpty:{default:"Si us plau introdueix un valor"},numeric:{default:"Si us plau introdueix un nombre decimal vàlid"},phone:{countries:{AE:"Emirats Àrabs Units",BG:"Bulgària",BR:"Brasil",CN:"Xina",CZ:"República Checa",DE:"Alemanya",DK:"Dinamarca",ES:"Espanya",FR:"França",GB:"Regne Unit",IN:"Índia",MA:"Marroc",NL:"Països Baixos",PK:"Pakistan",RO:"Romania",RU:"Rússia",SK:"Eslovàquia",TH:"Tailàndia",US:"Estats Units",VE:"Veneçuela"},country:"Si us plau introdueix un telèfon vàlid a %s",default:"Si us plau introdueix un telèfon vàlid"},promise:{default:"Si us plau introdueix un valor vàlid"},regexp:{default:"Si us plau introdueix un valor que coincideixi amb el patró"},remote:{default:"Si us plau introdueix un valor vàlid"},rtn:{default:"Si us plau introdueix un nombre RTN vàlid"},sedol:{default:"Si us plau introdueix un nombre SEDOL vàlid"},siren:{default:"Si us plau introdueix un nombre SIREN vàlid"},siret:{default:"Si us plau introdueix un nombre SIRET vàlid"},step:{default:"Si us plau introdueix un pas vàlid de %s"},stringCase:{default:"Si us plau introdueix només caràcters en minúscula",upper:"Si us plau introdueix només caràcters en majúscula"},stringLength:{between:"Si us plau introdueix un valor amb una longitud compresa entre %s i %s caràcters",default:"Si us plau introdueix un valor amb una longitud vàlida",less:"Si us plau introdueix menys de %s caràcters",more:"Si us plau introdueix més de %s caràcters"},uri:{default:"Si us plau introdueix una URI vàlida"},uuid:{default:"Si us plau introdueix un nom UUID vàlid",version:"Si us plau introdueix una versió UUID vàlida per %s"},vat:{countries:{AT:"Àustria",BE:"Bèlgica",BG:"Bulgària",BR:"Brasil",CH:"Suïssa",CY:"Xipre",CZ:"República Checa",DE:"Alemanya",DK:"Dinamarca",EE:"Estònia",EL:"Grècia",ES:"Espanya",FI:"Finlàndia",FR:"França",GB:"Regne Unit",GR:"Grècia",HR:"Croàcia",HU:"Hongria",IE:"Irlanda",IS:"Islàndia",IT:"Itàlia",LT:"Lituània",LU:"Luxemburg",LV:"Letònia",MT:"Malta",NL:"Països Baixos",NO:"Noruega",PL:"Polònia",PT:"Portugal",RO:"Romania",RS:"Sèrbia",RU:"Rússia",SE:"Suècia",SI:"Eslovènia",SK:"Eslovàquia",VE:"Veneçuela",ZA:"Sud-àfrica"},country:"Si us plau introdueix una quantitat d' IVA vàlida a %s",default:"Si us plau introdueix una quantitat d'IVA vàlida"},vin:{default:"Si us plau introdueix un nombre VIN vàlid"},zipCode:{countries:{AT:"Àustria",BG:"Bulgària",BR:"Brasil",CA:"Canadà",CH:"Suïssa",CZ:"República Checa",DE:"Alemanya",DK:"Dinamarca",ES:"Espanya",FR:"França",GB:"Rege Unit",IE:"Irlanda",IN:"Índia",IT:"Itàlia",MA:"Marroc",NL:"Països Baixos",PL:"Polònia",PT:"Portugal",RO:"Romania",RU:"Rússia",SE:"Suècia",SG:"Singapur",SK:"Eslovàquia",US:"Estats Units"},country:"Si us plau introdueix un codi postal vàlid a %s",default:"Si us plau introdueix un codi postal vàlid"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/cs_CZ.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/cs_CZ.js new file mode 100644 index 0000000..f961d75 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/cs_CZ.js @@ -0,0 +1 @@ +export default{base64:{default:"Prosím zadejte správný base64"},between:{default:"Prosím zadejte hodnotu mezi %s a %s",notInclusive:"Prosím zadejte hodnotu mezi %s a %s (včetně těchto čísel)"},bic:{default:"Prosím zadejte správné BIC číslo"},callback:{default:"Prosím zadejte správnou hodnotu"},choice:{between:"Prosím vyberte mezi %s a %s",default:"Prosím vyberte správnou hodnotu",less:"Hodnota musí být minimálně %s",more:"Hodnota nesmí být více jak %s"},color:{default:"Prosím zadejte správnou barvu"},creditCard:{default:"Prosím zadejte správné číslo kreditní karty"},cusip:{default:"Prosím zadejte správné CUSIP číslo"},date:{default:"Prosím zadejte správné datum",max:"Prosím zadejte datum po %s",min:"Prosím zadejte datum před %s",range:"Prosím zadejte datum v rozmezí %s až %s"},different:{default:"Prosím zadejte jinou hodnotu"},digits:{default:"Toto pole může obsahovat pouze čísla"},ean:{default:"Prosím zadejte správné EAN číslo"},ein:{default:"Prosím zadejte správné EIN číslo"},emailAddress:{default:"Prosím zadejte správnou emailovou adresu"},file:{default:"Prosím vyberte soubor"},greaterThan:{default:"Prosím zadejte hodnotu větší nebo rovnu %s",notInclusive:"Prosím zadejte hodnotu větší než %s"},grid:{default:"Prosím zadejte správné GRId číslo"},hex:{default:"Prosím zadejte správné hexadecimální číslo"},iban:{countries:{AD:"Andorru",AE:"Spojené arabské emiráty",AL:"Albanii",AO:"Angolu",AT:"Rakousko",AZ:"Ázerbajdžán",BA:"Bosnu a Herzegovinu",BE:"Belgii",BF:"Burkinu Faso",BG:"Bulharsko",BH:"Bahrajn",BI:"Burundi",BJ:"Benin",BR:"Brazílii",CH:"Švýcarsko",CI:"Pobřeží slonoviny",CM:"Kamerun",CR:"Kostariku",CV:"Cape Verde",CY:"Kypr",CZ:"Českou republiku",DE:"Německo",DK:"Dánsko",DO:"Dominikánskou republiku",DZ:"Alžírsko",EE:"Estonsko",ES:"Španělsko",FI:"Finsko",FO:"Faerské ostrovy",FR:"Francie",GB:"Velkou Británii",GE:"Gruzii",GI:"Gibraltar",GL:"Grónsko",GR:"Řecko",GT:"Guatemalu",HR:"Chorvatsko",HU:"Maďarsko",IE:"Irsko",IL:"Israel",IR:"Irán",IS:"Island",IT:"Itálii",JO:"Jordansko",KW:"Kuwait",KZ:"Kazachstán",LB:"Libanon",LI:"Lichtenštejnsko",LT:"Litvu",LU:"Lucembursko",LV:"Lotyšsko",MC:"Monaco",MD:"Moldavsko",ME:"Černou Horu",MG:"Madagaskar",MK:"Makedonii",ML:"Mali",MR:"Mauritánii",MT:"Maltu",MU:"Mauritius",MZ:"Mosambik",NL:"Nizozemsko",NO:"Norsko",PK:"Pakistán",PL:"Polsko",PS:"Palestinu",PT:"Portugalsko",QA:"Katar",RO:"Rumunsko",RS:"Srbsko",SA:"Saudskou Arábii",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",SN:"Senegal",TL:"Východní Timor",TN:"Tunisko",TR:"Turecko",VG:"Britské Panenské ostrovy",XK:"Republic of Kosovo"},country:"Prosím zadejte správné IBAN číslo pro %s",default:"Prosím zadejte správné IBAN číslo"},id:{countries:{BA:"Bosnu a Hercegovinu",BG:"Bulharsko",BR:"Brazílii",CH:"Švýcarsko",CL:"Chile",CN:"Čínu",CZ:"Českou Republiku",DK:"Dánsko",EE:"Estonsko",ES:"Španělsko",FI:"Finsko",HR:"Chorvatsko",IE:"Irsko",IS:"Island",LT:"Litvu",LV:"Lotyšsko",ME:"Černou horu",MK:"Makedonii",NL:"Nizozemí",PL:"Polsko",RO:"Rumunsko",RS:"Srbsko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",TH:"Thajsko",TR:"Turecko",ZA:"Jižní Afriku"},country:"Prosím zadejte správné rodné číslo pro %s",default:"Prosím zadejte správné rodné číslo"},identical:{default:"Prosím zadejte stejnou hodnotu"},imei:{default:"Prosím zadejte správné IMEI číslo"},imo:{default:"Prosím zadejte správné IMO číslo"},integer:{default:"Prosím zadejte celé číslo"},ip:{default:"Prosím zadejte správnou IP adresu",ipv4:"Prosím zadejte správnou IPv4 adresu",ipv6:"Prosím zadejte správnou IPv6 adresu"},isbn:{default:"Prosím zadejte správné ISBN číslo"},isin:{default:"Prosím zadejte správné ISIN číslo"},ismn:{default:"Prosím zadejte správné ISMN číslo"},issn:{default:"Prosím zadejte správné ISSN číslo"},lessThan:{default:"Prosím zadejte hodnotu menší nebo rovno %s",notInclusive:"Prosím zadejte hodnotu menčí než %s"},mac:{default:"Prosím zadejte správnou MAC adresu"},meid:{default:"Prosím zadejte správné MEID číslo"},notEmpty:{default:"Toto pole nesmí být prázdné"},numeric:{default:"Prosím zadejte číselnou hodnotu"},phone:{countries:{AE:"Spojené arabské emiráty",BG:"Bulharsko",BR:"Brazílii",CN:"Čínu",CZ:"Českou Republiku",DE:"Německo",DK:"Dánsko",ES:"Španělsko",FR:"Francii",GB:"Velkou Británii",IN:"Indie",MA:"Maroko",NL:"Nizozemsko",PK:"Pákistán",RO:"Rumunsko",RU:"Rusko",SK:"Slovensko",TH:"Thajsko",US:"Spojené Státy Americké",VE:"Venezuelu"},country:"Prosím zadejte správné telefoní číslo pro %s",default:"Prosím zadejte správné telefoní číslo"},promise:{default:"Prosím zadejte správnou hodnotu"},regexp:{default:"Prosím zadejte hodnotu splňující zadání"},remote:{default:"Prosím zadejte správnou hodnotu"},rtn:{default:"Prosím zadejte správné RTN číslo"},sedol:{default:"Prosím zadejte správné SEDOL číslo"},siren:{default:"Prosím zadejte správné SIREN číslo"},siret:{default:"Prosím zadejte správné SIRET číslo"},step:{default:"Prosím zadejte správný krok %s"},stringCase:{default:"Pouze malá písmena jsou povoleny v tomto poli",upper:"Pouze velké písmena jsou povoleny v tomto poli"},stringLength:{between:"Prosím zadejte hodnotu mezi %s a %s znaky",default:"Toto pole nesmí být prázdné",less:"Prosím zadejte hodnotu menší než %s znaků",more:"Prosím zadajte hodnotu dlhšiu ako %s znakov"},uri:{default:"Prosím zadejte správnou URI"},uuid:{default:"Prosím zadejte správné UUID číslo",version:"Prosím zadejte správné UUID verze %s"},vat:{countries:{AT:"Rakousko",BE:"Belgii",BG:"Bulharsko",BR:"Brazílii",CH:"Švýcarsko",CY:"Kypr",CZ:"Českou Republiku",DE:"Německo",DK:"Dánsko",EE:"Estonsko",EL:"Řecko",ES:"Španělsko",FI:"Finsko",FR:"Francii",GB:"Velkou Británii",GR:"Řecko",HR:"Chorvatsko",HU:"Maďarsko",IE:"Irsko",IS:"Island",IT:"Itálii",LT:"Litvu",LU:"Lucembursko",LV:"Lotyšsko",MT:"Maltu",NL:"Nizozemí",NO:"Norsko",PL:"Polsko",PT:"Portugalsko",RO:"Rumunsko",RS:"Srbsko",RU:"Rusko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",VE:"Venezuelu",ZA:"Jižní Afriku"},country:"Prosím zadejte správné VAT číslo pro %s",default:"Prosím zadejte správné VAT číslo"},vin:{default:"Prosím zadejte správné VIN číslo"},zipCode:{countries:{AT:"Rakousko",BG:"Bulharsko",BR:"Brazílie",CA:"Kanadu",CH:"Švýcarsko",CZ:"Českou Republiku",DE:"Německo",DK:"Dánsko",ES:"Španělsko",FR:"Francii",GB:"Velkou Británii",IE:"Irsko",IN:"Indie",IT:"Itálii",MA:"Maroko",NL:"Nizozemí",PL:"Polsko",PT:"Portugalsko",RO:"Rumunsko",RU:"Rusko",SE:"Švédsko",SG:"Singapur",SK:"Slovensko",US:"Spojené Státy Americké"},country:"Prosím zadejte správné PSČ pro %s",default:"Prosím zadejte správné PSČ"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/da_DK.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/da_DK.js new file mode 100644 index 0000000..1cfce9e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/da_DK.js @@ -0,0 +1 @@ +export default{base64:{default:"Udfyld venligst dette felt med en gyldig base64-kodet værdi"},between:{default:"Udfyld venligst dette felt med en værdi mellem %s og %s",notInclusive:"Indtast venligst kun en værdi mellem %s og %s"},bic:{default:"Udfyld venligst dette felt med et gyldigt BIC-nummer"},callback:{default:"Udfyld venligst dette felt med en gyldig værdi"},choice:{between:"Vælg venligst %s - %s valgmuligheder",default:"Udfyld venligst dette felt med en gyldig værdi",less:"Vælg venligst mindst %s valgmuligheder",more:"Vælg venligst højst %s valgmuligheder"},color:{default:"Udfyld venligst dette felt med en gyldig farve"},creditCard:{default:"Udfyld venligst dette felt med et gyldigt kreditkort-nummer"},cusip:{default:"Udfyld venligst dette felt med et gyldigt CUSIP-nummer"},date:{default:"Udfyld venligst dette felt med en gyldig dato",max:"Angiv venligst en dato før %s",min:"Angiv venligst en dato efter %s",range:"Angiv venligst en dato mellem %s - %s"},different:{default:"Udfyld venligst dette felt med en anden værdi"},digits:{default:"Indtast venligst kun cifre"},ean:{default:"Udfyld venligst dette felt med et gyldigt EAN-nummer"},ein:{default:"Udfyld venligst dette felt med et gyldigt EIN-nummer"},emailAddress:{default:"Udfyld venligst dette felt med en gyldig e-mail-adresse"},file:{default:"Vælg venligst en gyldig fil"},greaterThan:{default:"Udfyld venligst dette felt med en værdi større eller lig med %s",notInclusive:"Udfyld venligst dette felt med en værdi større end %s"},grid:{default:"Udfyld venligst dette felt med et gyldigt GRId-nummer"},hex:{default:"Udfyld venligst dette felt med et gyldigt hexadecimal-nummer"},iban:{countries:{AD:"Andorra",AE:"De Forenede Arabiske Emirater",AL:"Albanien",AO:"Angola",AT:"Østrig",AZ:"Aserbajdsjan",BA:"Bosnien-Hercegovina",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasilien",CH:"Schweiz",CI:"Elfenbenskysten",CM:"Cameroun",CR:"Costa Rica",CV:"Kap Verde",CY:"Cypern",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",DO:"Den Dominikanske Republik",DZ:"Algeriet",EE:"Estland",ES:"Spanien",FI:"Finland",FO:"Færøerne",FR:"Frankrig",GB:"Storbritannien",GE:"Georgien",GI:"Gibraltar",GL:"Grønland",GR:"Grækenland",GT:"Guatemala",HR:"Kroatien",HU:"Ungarn",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italien",JO:"Jordan",KW:"Kuwait",KZ:"Kasakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litauen",LU:"Luxembourg",LV:"Letland",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagaskar",MK:"Makedonien",ML:"Mali",MR:"Mauretanien",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Holland",NO:"Norge",PK:"Pakistan",PL:"Polen",PS:"Palæstina",PT:"Portugal",QA:"Qatar",RO:"Rumænien",RS:"Serbien",SA:"Saudi-Arabien",SE:"Sverige",SI:"Slovenien",SK:"Slovakiet",SM:"San Marino",SN:"Senegal",TL:"Østtimor",TN:"Tunesien",TR:"Tyrkiet",VG:"Britiske Jomfruøer",XK:"Kosovo"},country:"Udfyld venligst dette felt med et gyldigt IBAN-nummer i %s",default:"Udfyld venligst dette felt med et gyldigt IBAN-nummer"},id:{countries:{BA:"Bosnien-Hercegovina",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CL:"Chile",CN:"Kina",CZ:"Tjekkiet",DK:"Danmark",EE:"Estland",ES:"Spanien",FI:"Finland",HR:"Kroatien",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Letland",ME:"Montenegro",MK:"Makedonien",NL:"Holland",PL:"Polen",RO:"Rumænien",RS:"Serbien",SE:"Sverige",SI:"Slovenien",SK:"Slovakiet",SM:"San Marino",TH:"Thailand",TR:"Tyrkiet",ZA:"Sydafrika"},country:"Udfyld venligst dette felt med et gyldigt identifikations-nummer i %s",default:"Udfyld venligst dette felt med et gyldigt identifikations-nummer"},identical:{default:"Udfyld venligst dette felt med den samme værdi"},imei:{default:"Udfyld venligst dette felt med et gyldigt IMEI-nummer"},imo:{default:"Udfyld venligst dette felt med et gyldigt IMO-nummer"},integer:{default:"Udfyld venligst dette felt med et gyldigt tal"},ip:{default:"Udfyld venligst dette felt med en gyldig IP adresse",ipv4:"Udfyld venligst dette felt med en gyldig IPv4 adresse",ipv6:"Udfyld venligst dette felt med en gyldig IPv6 adresse"},isbn:{default:"Udfyld venligst dette felt med et gyldigt ISBN-nummer"},isin:{default:"Udfyld venligst dette felt med et gyldigt ISIN-nummer"},ismn:{default:"Udfyld venligst dette felt med et gyldigt ISMN-nummer"},issn:{default:"Udfyld venligst dette felt med et gyldigt ISSN-nummer"},lessThan:{default:"Udfyld venligst dette felt med en værdi mindre eller lig med %s",notInclusive:"Udfyld venligst dette felt med en værdi mindre end %s"},mac:{default:"Udfyld venligst dette felt med en gyldig MAC adresse"},meid:{default:"Udfyld venligst dette felt med et gyldigt MEID-nummer"},notEmpty:{default:"Udfyld venligst dette felt"},numeric:{default:"Udfyld venligst dette felt med et gyldigt flydende decimaltal"},phone:{countries:{AE:"De Forenede Arabiske Emirater",BG:"Bulgarien",BR:"Brasilien",CN:"Kina",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrig",GB:"Storbritannien",IN:"Indien",MA:"Marokko",NL:"Holland",PK:"Pakistan",RO:"Rumænien",RU:"Rusland",SK:"Slovakiet",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Udfyld venligst dette felt med et gyldigt telefonnummer i %s",default:"Udfyld venligst dette felt med et gyldigt telefonnummer"},promise:{default:"Udfyld venligst dette felt med en gyldig værdi"},regexp:{default:"Udfyld venligst dette felt med en værdi der matcher mønsteret"},remote:{default:"Udfyld venligst dette felt med en gyldig værdi"},rtn:{default:"Udfyld venligst dette felt med et gyldigt RTN-nummer"},sedol:{default:"Udfyld venligst dette felt med et gyldigt SEDOL-nummer"},siren:{default:"Udfyld venligst dette felt med et gyldigt SIREN-nummer"},siret:{default:"Udfyld venligst dette felt med et gyldigt SIRET-nummer"},step:{default:"Udfyld venligst dette felt med et gyldigt trin af %s"},stringCase:{default:"Udfyld venligst kun dette felt med små bogstaver",upper:"Udfyld venligst kun dette felt med store bogstaver"},stringLength:{between:"Udfyld venligst dette felt med en værdi mellem %s og %s tegn",default:"Udfyld venligst dette felt med en værdi af gyldig længde",less:"Udfyld venligst dette felt med mindre end %s tegn",more:"Udfyld venligst dette felt med mere end %s tegn"},uri:{default:"Udfyld venligst dette felt med en gyldig URI"},uuid:{default:"Udfyld venligst dette felt med et gyldigt UUID-nummer",version:"Udfyld venligst dette felt med en gyldig UUID version %s-nummer"},vat:{countries:{AT:"Østrig",BE:"Belgien",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CY:"Cypern",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",EE:"Estland",EL:"Grækenland",ES:"Spanien",FI:"Finland",FR:"Frankrig",GB:"Storbritannien",GR:"Grækenland",HR:"Kroatien",HU:"Ungarn",IE:"Irland",IS:"Island",IT:"Italien",LT:"Litauen",LU:"Luxembourg",LV:"Letland",MT:"Malta",NL:"Holland",NO:"Norge",PL:"Polen",PT:"Portugal",RO:"Rumænien",RS:"Serbien",RU:"Rusland",SE:"Sverige",SI:"Slovenien",SK:"Slovakiet",VE:"Venezuela",ZA:"Sydafrika"},country:"Udfyld venligst dette felt med et gyldigt moms-nummer i %s",default:"Udfyld venligst dette felt med et gyldig moms-nummer"},vin:{default:"Udfyld venligst dette felt med et gyldigt VIN-nummer"},zipCode:{countries:{AT:"Østrig",BG:"Bulgarien",BR:"Brasilien",CA:"Canada",CH:"Schweiz",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrig",GB:"Storbritannien",IE:"Irland",IN:"Indien",IT:"Italien",MA:"Marokko",NL:"Holland",PL:"Polen",PT:"Portugal",RO:"Rumænien",RU:"Rusland",SE:"Sverige",SG:"Singapore",SK:"Slovakiet",US:"USA"},country:"Udfyld venligst dette felt med et gyldigt postnummer i %s",default:"Udfyld venligst dette felt med et gyldigt postnummer"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/de_DE.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/de_DE.js new file mode 100644 index 0000000..aa21411 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/de_DE.js @@ -0,0 +1 @@ +export default{base64:{default:"Bitte eine Base64 Kodierung eingeben"},between:{default:"Bitte einen Wert zwischen %s und %s eingeben",notInclusive:"Bitte einen Wert zwischen %s und %s (strictly) eingeben"},bic:{default:"Bitte gültige BIC Nummer eingeben"},callback:{default:"Bitte einen gültigen Wert eingeben"},choice:{between:"Zwischen %s - %s Werten wählen",default:"Bitte einen gültigen Wert eingeben",less:"Bitte mindestens %s Werte eingeben",more:"Bitte maximal %s Werte eingeben"},color:{default:"Bitte gültige Farbe eingeben"},creditCard:{default:"Bitte gültige Kreditkartennr. eingeben"},cusip:{default:"Bitte gültige CUSIP Nummer eingeben"},date:{default:"Bitte gültiges Datum eingeben",max:"Bitte gültiges Datum vor %s",min:"Bitte gültiges Datum nach %s",range:"Bitte gültiges Datum im zwischen %s - %s"},different:{default:"Bitte anderen Wert eingeben"},digits:{default:"Bitte Zahlen eingeben"},ean:{default:"Bitte gültige EAN Nummer eingeben"},ein:{default:"Bitte gültige EIN Nummer eingeben"},emailAddress:{default:"Bitte gültige Emailadresse eingeben"},file:{default:"Bitte gültiges File eingeben"},greaterThan:{default:"Bitte Wert größer gleich %s eingeben",notInclusive:"Bitte Wert größer als %s eingeben"},grid:{default:"Bitte gültige GRId Nummer eingeben"},hex:{default:"Bitte gültigen Hexadezimalwert eingeben"},iban:{countries:{AD:"Andorra",AE:"Vereinigte Arabische Emirate",AL:"Albanien",AO:"Angola",AT:"Österreich",AZ:"Aserbaidschan",BA:"Bosnien und Herzegowina",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brasilien",CH:"Schweiz",CI:"Elfenbeinküste",CM:"Kamerun",CR:"Costa Rica",CV:"Kap Verde",CY:"Zypern",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",DO:"Dominikanische Republik",DZ:"Algerien",EE:"Estland",ES:"Spanien",FI:"Finnland",FO:"Färöer-Inseln",FR:"Frankreich",GB:"Vereinigtes Königreich",GE:"Georgien",GI:"Gibraltar",GL:"Grönland",GR:"Griechenland",GT:"Guatemala",HR:"Croatia",HU:"Ungarn",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italien",JO:"Jordanien",KW:"Kuwait",KZ:"Kasachstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MC:"Monaco",MD:"Moldawien",ME:"Montenegro",MG:"Madagaskar",MK:"Mazedonien",ML:"Mali",MR:"Mauretanien",MT:"Malta",MU:"Mauritius",MZ:"Mosambik",NL:"Niederlande",NO:"Norwegen",PK:"Pakistan",PL:"Polen",PS:"Palästina",PT:"Portugal",QA:"Katar",RO:"Rumänien",RS:"Serbien",SA:"Saudi-Arabien",SE:"Schweden",SI:"Slowenien",SK:"Slowakei",SM:"San Marino",SN:"Senegal",TL:"Ost-Timor",TN:"Tunesien",TR:"Türkei",VG:"Jungferninseln",XK:"Republik Kosovo"},country:"Bitte eine gültige IBAN Nummer für %s eingeben",default:"Bitte eine gültige IBAN Nummer eingeben"},id:{countries:{BA:"Bosnien und Herzegowina",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CL:"Chile",CN:"China",CZ:"Tschechische",DK:"Dänemark",EE:"Estland",ES:"Spanien",FI:"Finnland",HR:"Kroatien",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Lettland",ME:"Montenegro",MK:"Mazedonien",NL:"Niederlande",PL:"Polen",RO:"Rumänien",RS:"Serbien",SE:"Schweden",SI:"Slowenien",SK:"Slowakei",SM:"San Marino",TH:"Thailand",TR:"Türkei",ZA:"Südafrika"},country:"Bitte gültige Identifikationsnummer für %s eingeben",default:"Bitte gültige Identifikationsnnummer eingeben"},identical:{default:"Bitte gleichen Wert eingeben"},imei:{default:"Bitte gültige IMEI Nummer eingeben"},imo:{default:"Bitte gültige IMO Nummer eingeben"},integer:{default:"Bitte Zahl eingeben"},ip:{default:"Bitte gültige IP-Adresse eingeben",ipv4:"Bitte gültige IPv4 Adresse eingeben",ipv6:"Bitte gültige IPv6 Adresse eingeben"},isbn:{default:"Bitte gültige ISBN Nummer eingeben"},isin:{default:"Bitte gültige ISIN Nummer eingeben"},ismn:{default:"Bitte gültige ISMN Nummer eingeben"},issn:{default:"Bitte gültige ISSN Nummer eingeben"},lessThan:{default:"Bitte Wert kleiner gleich %s eingeben",notInclusive:"Bitte Wert kleiner als %s eingeben"},mac:{default:"Bitte gültige MAC Adresse eingeben"},meid:{default:"Bitte gültige MEID Nummer eingeben"},notEmpty:{default:"Bitte Wert eingeben"},numeric:{default:"Bitte Nummer eingeben"},phone:{countries:{AE:"Vereinigte Arabische Emirate",BG:"Bulgarien",BR:"Brasilien",CN:"China",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",ES:"Spanien",FR:"Frankreich",GB:"Vereinigtes Königreich",IN:"Indien",MA:"Marokko",NL:"Niederlande",PK:"Pakistan",RO:"Rumänien",RU:"Russland",SK:"Slowakei",TH:"Thailand",US:"Vereinigte Staaten von Amerika",VE:"Venezuela"},country:"Bitte valide Telefonnummer für %s eingeben",default:"Bitte gültige Telefonnummer eingeben"},promise:{default:"Bitte einen gültigen Wert eingeben"},regexp:{default:"Bitte Wert eingeben, der der Maske entspricht"},remote:{default:"Bitte einen gültigen Wert eingeben"},rtn:{default:"Bitte gültige RTN Nummer eingeben"},sedol:{default:"Bitte gültige SEDOL Nummer eingeben"},siren:{default:"Bitte gültige SIREN Nummer eingeben"},siret:{default:"Bitte gültige SIRET Nummer eingeben"},step:{default:"Bitte einen gültigen Schritt von %s eingeben"},stringCase:{default:"Bitte nur Kleinbuchstaben eingeben",upper:"Bitte nur Großbuchstaben eingeben"},stringLength:{between:"Bitte Wert zwischen %s und %s Zeichen eingeben",default:"Bitte Wert mit gültiger Länge eingeben",less:"Bitte weniger als %s Zeichen eingeben",more:"Bitte mehr als %s Zeichen eingeben"},uri:{default:"Bitte gültige URI eingeben"},uuid:{default:"Bitte gültige UUID Nummer eingeben",version:"Bitte gültige UUID Version %s eingeben"},vat:{countries:{AT:"Österreich",BE:"Belgien",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CY:"Zypern",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",EE:"Estland",EL:"Griechenland",ES:"Spanisch",FI:"Finnland",FR:"Frankreich",GB:"Vereinigtes Königreich",GR:"Griechenland",HR:"Kroatien",HU:"Ungarn",IE:"Irland",IS:"Island",IT:"Italien",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MT:"Malta",NL:"Niederlande",NO:"Norwegen",PL:"Polen",PT:"Portugal",RO:"Rumänien",RS:"Serbien",RU:"Russland",SE:"Schweden",SI:"Slowenien",SK:"Slowakei",VE:"Venezuela",ZA:"Südafrika"},country:"Bitte gültige VAT Nummer für %s eingeben",default:"Bitte gültige VAT Nummer eingeben"},vin:{default:"Bitte gültige VIN Nummer eingeben"},zipCode:{countries:{AT:"Österreich",BG:"Bulgarien",BR:"Brasilien",CA:"Kanada",CH:"Schweiz",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",ES:"Spanien",FR:"Frankreich",GB:"Vereinigtes Königreich",IE:"Irland",IN:"Indien",IT:"Italien",MA:"Marokko",NL:"Niederlande",PL:"Polen",PT:"Portugal",RO:"Rumänien",RU:"Russland",SE:"Schweden",SG:"Singapur",SK:"Slowakei",US:"Vereinigte Staaten von Amerika"},country:"Bitte gültige Postleitzahl für %s eingeben",default:"Bitte gültige PLZ eingeben"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/el_GR.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/el_GR.js new file mode 100644 index 0000000..7966aa0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/el_GR.js @@ -0,0 +1 @@ +export default{base64:{default:"Παρακαλώ εισάγετε μια έγκυρη κωδικοποίηση base 64"},between:{default:"Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s",notInclusive:"Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s αυστηρά"},bic:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό BIC"},callback:{default:"Παρακαλώ εισάγετε μια έγκυρη τιμή"},choice:{between:"Παρακαλώ επιλέξτε %s - %s επιλογές",default:"Παρακαλώ εισάγετε μια έγκυρη τιμή",less:"Παρακαλώ επιλέξτε %s επιλογές στο ελάχιστο",more:"Παρακαλώ επιλέξτε %s επιλογές στο μέγιστο"},color:{default:"Παρακαλώ εισάγετε ένα έγκυρο χρώμα"},creditCard:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό πιστωτικής κάρτας"},cusip:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό CUSIP"},date:{default:"Παρακαλώ εισάγετε μια έγκυρη ημερομηνία",max:"Παρακαλώ εισάγετε ημερομηνία πριν από %s",min:"Παρακαλώ εισάγετε ημερομηνία μετά από %s",range:"Παρακαλώ εισάγετε ημερομηνία μεταξύ %s - %s"},different:{default:"Παρακαλώ εισάγετε μια διαφορετική τιμή"},digits:{default:"Παρακαλώ εισάγετε μόνο ψηφία"},ean:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό EAN"},ein:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό EIN"},emailAddress:{default:"Παρακαλώ εισάγετε ένα έγκυρο email"},file:{default:"Παρακαλώ επιλέξτε ένα έγκυρο αρχείο"},greaterThan:{default:"Παρακαλώ εισάγετε μια τιμή μεγαλύτερη ή ίση με %s",notInclusive:"Παρακαλώ εισάγετε μια τιμή μεγαλύτερη από %s"},grid:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό GRId"},hex:{default:"Παρακαλώ εισάγετε έναν έγκυρο δεκαεξαδικό αριθμό"},iban:{countries:{AD:"Ανδόρα",AE:"Ηνωμένα Αραβικά Εμιράτα",AL:"Αλβανία",AO:"Αγκόλα",AT:"Αυστρία",AZ:"Αζερμπαϊτζάν",BA:"Βοσνία και Ερζεγοβίνη",BE:"Βέλγιο",BF:"Μπουρκίνα Φάσο",BG:"Βουλγαρία",BH:"Μπαχρέιν",BI:"Μπουρούντι",BJ:"Μπενίν",BR:"Βραζιλία",CH:"Ελβετία",CI:"Ακτή Ελεφαντοστού",CM:"Καμερούν",CR:"Κόστα Ρίκα",CV:"Cape Verde",CY:"Κύπρος",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",DO:"Δομινικανή Δημοκρατία",DZ:"Αλγερία",EE:"Εσθονία",ES:"Ισπανία",FI:"Φινλανδία",FO:"Νησιά Φερόε",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",GE:"Γεωργία",GI:"Γιβραλτάρ",GL:"Γροιλανδία",GR:"Ελλάδα",GT:"Γουατεμάλα",HR:"Κροατία",HU:"Ουγγαρία",IE:"Ιρλανδία",IL:"Ισραήλ",IR:"Ιράν",IS:"Ισλανδία",IT:"Ιταλία",JO:"Ιορδανία",KW:"Κουβέιτ",KZ:"Καζακστάν",LB:"Λίβανος",LI:"Λιχτενστάιν",LT:"Λιθουανία",LU:"Λουξεμβούργο",LV:"Λετονία",MC:"Μονακό",MD:"Μολδαβία",ME:"Μαυροβούνιο",MG:"Μαδαγασκάρη",MK:"πΓΔΜ",ML:"Μάλι",MR:"Μαυριτανία",MT:"Μάλτα",MU:"Μαυρίκιος",MZ:"Μοζαμβίκη",NL:"Ολλανδία",NO:"Νορβηγία",PK:"Πακιστάν",PL:"Πολωνία",PS:"Παλαιστίνη",PT:"Πορτογαλία",QA:"Κατάρ",RO:"Ρουμανία",RS:"Σερβία",SA:"Σαουδική Αραβία",SE:"Σουηδία",SI:"Σλοβενία",SK:"Σλοβακία",SM:"Σαν Μαρίνο",SN:"Σενεγάλη",TL:"Ανατολικό Τιμόρ",TN:"Τυνησία",TR:"Τουρκία",VG:"Βρετανικές Παρθένοι Νήσοι",XK:"Δημοκρατία του Κοσσυφοπεδίου"},country:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN στην %s",default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN"},id:{countries:{BA:"Βοσνία και Ερζεγοβίνη",BG:"Βουλγαρία",BR:"Βραζιλία",CH:"Ελβετία",CL:"Χιλή",CN:"Κίνα",CZ:"Δημοκρατία της Τσεχίας",DK:"Δανία",EE:"Εσθονία",ES:"Ισπανία",FI:"Φινλανδία",HR:"Κροατία",IE:"Ιρλανδία",IS:"Ισλανδία",LT:"Λιθουανία",LV:"Λετονία",ME:"Μαυροβούνιο",MK:"Μακεδονία",NL:"Ολλανδία",PL:"Πολωνία",RO:"Ρουμανία",RS:"Σερβία",SE:"Σουηδία",SI:"Σλοβενία",SK:"Σλοβακία",SM:"Σαν Μαρίνο",TH:"Ταϊλάνδη",TR:"Τουρκία",ZA:"Νότια Αφρική"},country:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας"},identical:{default:"Παρακαλώ εισάγετε την ίδια τιμή"},imei:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMEI"},imo:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMO"},integer:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό"},ip:{default:"Παρακαλώ εισάγετε μία έγκυρη IP διεύθυνση",ipv4:"Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv4",ipv6:"Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv6"},isbn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISBN"},isin:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISIN"},ismn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISMN"},issn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISSN"},lessThan:{default:"Παρακαλώ εισάγετε μια τιμή μικρότερη ή ίση με %s",notInclusive:"Παρακαλώ εισάγετε μια τιμή μικρότερη από %s"},mac:{default:"Παρακαλώ εισάγετε μία έγκυρη MAC διεύθυνση"},meid:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό MEID"},notEmpty:{default:"Παρακαλώ εισάγετε μια τιμή"},numeric:{default:"Παρακαλώ εισάγετε ένα έγκυρο δεκαδικό αριθμό"},phone:{countries:{AE:"Ηνωμένα Αραβικά Εμιράτα",BG:"Βουλγαρία",BR:"Βραζιλία",CN:"Κίνα",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",ES:"Ισπανία",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",IN:"Ινδία",MA:"Μαρόκο",NL:"Ολλανδία",PK:"Πακιστάν",RO:"Ρουμανία",RU:"Ρωσία",SK:"Σλοβακία",TH:"Ταϊλάνδη",US:"ΗΠΑ",VE:"Βενεζουέλα"},country:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου"},promise:{default:"Παρακαλώ εισάγετε μια έγκυρη τιμή"},regexp:{default:"Παρακαλώ εισάγετε μια τιμή όπου ταιριάζει στο υπόδειγμα"},remote:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό"},rtn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό RTN"},sedol:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό SEDOL"},siren:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIREN"},siret:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIRET"},step:{default:"Παρακαλώ εισάγετε ένα έγκυρο βήμα από %s"},stringCase:{default:"Παρακαλώ εισάγετε μόνο πεζούς χαρακτήρες",upper:"Παρακαλώ εισάγετε μόνο κεφαλαία γράμματα"},stringLength:{between:"Παρακαλούμε, εισάγετε τιμή μεταξύ %s και %s μήκος χαρακτήρων",default:"Παρακαλώ εισάγετε μια τιμή με έγκυρο μήκος",less:"Παρακαλούμε εισάγετε λιγότερο από %s χαρακτήρες",more:"Παρακαλούμε εισάγετε περισσότερο από %s χαρακτήρες"},uri:{default:"Παρακαλώ εισάγετε ένα έγκυρο URI"},uuid:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό UUID",version:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό έκδοσης %s"},vat:{countries:{AT:"Αυστρία",BE:"Βέλγιο",BG:"Βουλγαρία",BR:"Βραζιλία",CH:"Ελβετία",CY:"Κύπρος",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",EE:"Εσθονία",EL:"Ελλάδα",ES:"Ισπανία",FI:"Φινλανδία",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",GR:"Ελλάδα",HR:"Κροατία",HU:"Ουγγαρία",IE:"Ιρλανδία",IS:"Ισλανδία",IT:"Ιταλία",LT:"Λιθουανία",LU:"Λουξεμβούργο",LV:"Λετονία",MT:"Μάλτα",NL:"Ολλανδία",NO:"Νορβηγία",PL:"Πολωνία",PT:"Πορτογαλία",RO:"Ρουμανία",RS:"Σερβία",RU:"Ρωσία",SE:"Σουηδία",SI:"Σλοβενία",SK:"Σλοβακία",VE:"Βενεζουέλα",ZA:"Νότια Αφρική"},country:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ"},vin:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό VIN"},zipCode:{countries:{AT:"Αυστρία",BG:"Βουλγαρία",BR:"Βραζιλία",CA:"Καναδάς",CH:"Ελβετία",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",ES:"Ισπανία",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",IE:"Ιρλανδία",IN:"Ινδία",IT:"Ιταλία",MA:"Μαρόκο",NL:"Ολλανδία",PL:"Πολωνία",PT:"Πορτογαλία",RO:"Ρουμανία",RU:"Ρωσία",SE:"Σουηδία",SG:"Σιγκαπούρη",SK:"Σλοβακία",US:"ΗΠΑ"},country:"Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/en_US.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/en_US.js new file mode 100644 index 0000000..cdfc2c0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/en_US.js @@ -0,0 +1 @@ +export default{base64:{default:"Please enter a valid base 64 encoded"},between:{default:"Please enter a value between %s and %s",notInclusive:"Please enter a value between %s and %s strictly"},bic:{default:"Please enter a valid BIC number"},callback:{default:"Please enter a valid value"},choice:{between:"Please choose %s - %s options",default:"Please enter a valid value",less:"Please choose %s options at minimum",more:"Please choose %s options at maximum"},color:{default:"Please enter a valid color"},creditCard:{default:"Please enter a valid credit card number"},cusip:{default:"Please enter a valid CUSIP number"},date:{default:"Please enter a valid date",max:"Please enter a date before %s",min:"Please enter a date after %s",range:"Please enter a date in the range %s - %s"},different:{default:"Please enter a different value"},digits:{default:"Please enter only digits"},ean:{default:"Please enter a valid EAN number"},ein:{default:"Please enter a valid EIN number"},emailAddress:{default:"Please enter a valid email address"},file:{default:"Please choose a valid file"},greaterThan:{default:"Please enter a value greater than or equal to %s",notInclusive:"Please enter a value greater than %s"},grid:{default:"Please enter a valid GRId number"},hex:{default:"Please enter a valid hexadecimal number"},iban:{countries:{AD:"Andorra",AE:"United Arab Emirates",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Switzerland",CI:"Ivory Coast",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DO:"Dominican Republic",DZ:"Algeria",EE:"Estonia",ES:"Spain",FI:"Finland",FO:"Faroe Islands",FR:"France",GB:"United Kingdom",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Greece",GT:"Guatemala",HR:"Croatia",HU:"Hungary",IE:"Ireland",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Italy",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Netherlands",NO:"Norway",PK:"Pakistan",PL:"Poland",PS:"Palestine",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"East Timor",TN:"Tunisia",TR:"Turkey",VG:"Virgin Islands, British",XK:"Republic of Kosovo"},country:"Please enter a valid IBAN number in %s",default:"Please enter a valid IBAN number"},id:{countries:{BA:"Bosnia and Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CL:"Chile",CN:"China",CZ:"Czech Republic",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",HR:"Croatia",IE:"Ireland",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Netherlands",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",TR:"Turkey",ZA:"South Africa"},country:"Please enter a valid identification number in %s",default:"Please enter a valid identification number"},identical:{default:"Please enter the same value"},imei:{default:"Please enter a valid IMEI number"},imo:{default:"Please enter a valid IMO number"},integer:{default:"Please enter a valid number"},ip:{default:"Please enter a valid IP address",ipv4:"Please enter a valid IPv4 address",ipv6:"Please enter a valid IPv6 address"},isbn:{default:"Please enter a valid ISBN number"},isin:{default:"Please enter a valid ISIN number"},ismn:{default:"Please enter a valid ISMN number"},issn:{default:"Please enter a valid ISSN number"},lessThan:{default:"Please enter a value less than or equal to %s",notInclusive:"Please enter a value less than %s"},mac:{default:"Please enter a valid MAC address"},meid:{default:"Please enter a valid MEID number"},notEmpty:{default:"Please enter a value"},numeric:{default:"Please enter a valid float number"},phone:{countries:{AE:"United Arab Emirates",BG:"Bulgaria",BR:"Brazil",CN:"China",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",IN:"India",MA:"Morocco",NL:"Netherlands",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovakia",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Please enter a valid phone number in %s",default:"Please enter a valid phone number"},promise:{default:"Please enter a valid value"},regexp:{default:"Please enter a value matching the pattern"},remote:{default:"Please enter a valid value"},rtn:{default:"Please enter a valid RTN number"},sedol:{default:"Please enter a valid SEDOL number"},siren:{default:"Please enter a valid SIREN number"},siret:{default:"Please enter a valid SIRET number"},step:{default:"Please enter a valid step of %s"},stringCase:{default:"Please enter only lowercase characters",upper:"Please enter only uppercase characters"},stringLength:{between:"Please enter value between %s and %s characters long",default:"Please enter a value with valid length",less:"Please enter less than %s characters",more:"Please enter more than %s characters"},uri:{default:"Please enter a valid URI"},uuid:{default:"Please enter a valid UUID number",version:"Please enter a valid UUID version %s number"},vat:{countries:{AT:"Austria",BE:"Belgium",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",EE:"Estonia",EL:"Greece",ES:"Spain",FI:"Finland",FR:"France",GB:"United Kingdom",GR:"Greece",HR:"Croatia",HU:"Hungary",IE:"Ireland",IS:"Iceland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Netherlands",NO:"Norway",PL:"Poland",PT:"Portugal",RO:"Romania",RS:"Serbia",RU:"Russia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"South Africa"},country:"Please enter a valid VAT number in %s",default:"Please enter a valid VAT number"},vin:{default:"Please enter a valid VIN number"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brazil",CA:"Canada",CH:"Switzerland",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",IE:"Ireland",IN:"India",IT:"Italy",MA:"Morocco",NL:"Netherlands",PL:"Poland",PT:"Portugal",RO:"Romania",RU:"Russia",SE:"Sweden",SG:"Singapore",SK:"Slovakia",US:"USA"},country:"Please enter a valid postal code in %s",default:"Please enter a valid postal code"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/es_CL.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/es_CL.js new file mode 100644 index 0000000..cd0d5c3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/es_CL.js @@ -0,0 +1 @@ +export default{base64:{default:"Por favor ingrese un valor válido en base 64"},between:{default:"Por favor ingrese un valor entre %s y %s",notInclusive:"Por favor ingrese un valor sólo entre %s and %s"},bic:{default:"Por favor ingrese un número BIC válido"},callback:{default:"Por favor ingrese un valor válido"},choice:{between:"Por favor elija de %s a %s opciones",default:"Por favor ingrese un valor válido",less:"Por favor elija %s opciones como mínimo",more:"Por favor elija %s optiones como máximo"},color:{default:"Por favor ingrese un color válido"},creditCard:{default:"Por favor ingrese un número válido de tarjeta de crédito"},cusip:{default:"Por favor ingrese un número CUSIP válido"},date:{default:"Por favor ingrese una fecha válida",max:"Por favor ingrese una fecha anterior a %s",min:"Por favor ingrese una fecha posterior a %s",range:"Por favor ingrese una fecha en el rango %s - %s"},different:{default:"Por favor ingrese un valor distinto"},digits:{default:"Por favor ingrese sólo dígitos"},ean:{default:"Por favor ingrese un número EAN válido"},ein:{default:"Por favor ingrese un número EIN válido"},emailAddress:{default:"Por favor ingrese un email válido"},file:{default:"Por favor elija un archivo válido"},greaterThan:{default:"Por favor ingrese un valor mayor o igual a %s",notInclusive:"Por favor ingrese un valor mayor que %s"},grid:{default:"Por favor ingrese un número GRId válido"},hex:{default:"Por favor ingrese un valor hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emiratos Árabes Unidos",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaiyán",BA:"Bosnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgaria",BH:"Baréin",BI:"Burundi",BJ:"Benín",BR:"Brasil",CH:"Suiza",CI:"Costa de Marfil",CM:"Camerún",CR:"Costa Rica",CV:"Cabo Verde",CY:"Cyprus",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argelia",EE:"Estonia",ES:"España",FI:"Finlandia",FO:"Islas Feroe",FR:"Francia",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlandia",GR:"Grecia",GT:"Guatemala",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islandia",IT:"Italia",JO:"Jordania",KW:"Kuwait",KZ:"Kazajistán",LB:"Líbano",LI:"Liechtenstein",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MC:"Mónaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Malí",MR:"Mauritania",MT:"Malta",MU:"Mauricio",MZ:"Mozambique",NL:"Países Bajos",NO:"Noruega",PK:"Pakistán",PL:"Poland",PS:"Palestina",PT:"Portugal",QA:"Catar",RO:"Rumania",RS:"Serbia",SA:"Arabia Saudita",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",SN:"Senegal",TL:"Timor Oriental",TN:"Túnez",TR:"Turquía",VG:"Islas Vírgenes Británicas",XK:"República de Kosovo"},country:"Por favor ingrese un número IBAN válido en %s",default:"Por favor ingrese un número IBAN válido"},id:{countries:{BA:"Bosnia Herzegovina",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estonia",ES:"España",FI:"Finlandia",HR:"Croacia",IE:"Irlanda",IS:"Islandia",LT:"Lituania",LV:"Letonia",ME:"Montenegro",MK:"Macedonia",NL:"Países Bajos",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",TH:"Tailandia",TR:"Turquía",ZA:"Sudáfrica"},country:"Por favor ingrese un número de identificación válido en %s",default:"Por favor ingrese un número de identificación válido"},identical:{default:"Por favor ingrese el mismo valor"},imei:{default:"Por favor ingrese un número IMEI válido"},imo:{default:"Por favor ingrese un número IMO válido"},integer:{default:"Por favor ingrese un número válido"},ip:{default:"Por favor ingrese una dirección IP válida",ipv4:"Por favor ingrese una dirección IPv4 válida",ipv6:"Por favor ingrese una dirección IPv6 válida"},isbn:{default:"Por favor ingrese un número ISBN válido"},isin:{default:"Por favor ingrese un número ISIN válido"},ismn:{default:"Por favor ingrese un número ISMN válido"},issn:{default:"Por favor ingrese un número ISSN válido"},lessThan:{default:"Por favor ingrese un valor menor o igual a %s",notInclusive:"Por favor ingrese un valor menor que %s"},mac:{default:"Por favor ingrese una dirección MAC válida"},meid:{default:"Por favor ingrese un número MEID válido"},notEmpty:{default:"Por favor ingrese un valor"},numeric:{default:"Por favor ingrese un número decimal válido"},phone:{countries:{AE:"Emiratos Árabes Unidos",BG:"Bulgaria",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IN:"India",MA:"Marruecos",NL:"Países Bajos",PK:"Pakistán",RO:"Rumania",RU:"Rusa",SK:"Eslovaquia",TH:"Tailandia",US:"Estados Unidos",VE:"Venezuela"},country:"Por favor ingrese un número válido de teléfono en %s",default:"Por favor ingrese un número válido de teléfono"},promise:{default:"Por favor ingrese un valor válido"},regexp:{default:"Por favor ingrese un valor que coincida con el patrón"},remote:{default:"Por favor ingrese un valor válido"},rtn:{default:"Por favor ingrese un número RTN válido"},sedol:{default:"Por favor ingrese un número SEDOL válido"},siren:{default:"Por favor ingrese un número SIREN válido"},siret:{default:"Por favor ingrese un número SIRET válido"},step:{default:"Por favor ingrese un paso válido de %s"},stringCase:{default:"Por favor ingrese sólo caracteres en minúscula",upper:"Por favor ingrese sólo caracteres en mayúscula"},stringLength:{between:"Por favor ingrese un valor con una longitud entre %s y %s caracteres",default:"Por favor ingrese un valor con una longitud válida",less:"Por favor ingrese menos de %s caracteres",more:"Por favor ingrese más de %s caracteres"},uri:{default:"Por favor ingresese una URI válida"},uuid:{default:"Por favor ingrese un número UUID válido",version:"Por favor ingrese una versión UUID válida para %s"},vat:{countries:{AT:"Austria",BE:"Bélgica",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CY:"Chipre",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",EE:"Estonia",EL:"Grecia",ES:"España",FI:"Finlandia",FR:"Francia",GB:"Reino Unido",GR:"Grecia",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IS:"Islandia",IT:"Italia",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MT:"Malta",NL:"Países Bajos",NO:"Noruega",PL:"Polonia",PT:"Portugal",RO:"Rumanía",RS:"Serbia",RU:"Rusa",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",VE:"Venezuela",ZA:"Sudáfrica"},country:"Por favor ingrese un número VAT válido en %s",default:"Por favor ingrese un número VAT válido"},vin:{default:"Por favor ingrese un número VIN válido"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasil",CA:"Canadá",CH:"Suiza",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Marruecos",NL:"Países Bajos",PL:"Poland",PT:"Portugal",RO:"Rumanía",RU:"Rusia",SE:"Suecia",SG:"Singapur",SK:"Eslovaquia",US:"Estados Unidos"},country:"Por favor ingrese un código postal válido en %s",default:"Por favor ingrese un código postal válido"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/es_ES.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/es_ES.js new file mode 100644 index 0000000..ea1ae5c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/es_ES.js @@ -0,0 +1 @@ +export default{base64:{default:"Por favor introduce un valor válido en base 64"},between:{default:"Por favor introduce un valor entre %s y %s",notInclusive:"Por favor introduce un valor sólo entre %s and %s"},bic:{default:"Por favor introduce un número BIC válido"},callback:{default:"Por favor introduce un valor válido"},choice:{between:"Por favor elija de %s a %s opciones",default:"Por favor introduce un valor válido",less:"Por favor elija %s opciones como mínimo",more:"Por favor elija %s optiones como máximo"},color:{default:"Por favor introduce un color válido"},creditCard:{default:"Por favor introduce un número válido de tarjeta de crédito"},cusip:{default:"Por favor introduce un número CUSIP válido"},date:{default:"Por favor introduce una fecha válida",max:"Por favor introduce una fecha previa al %s",min:"Por favor introduce una fecha posterior al %s",range:"Por favor introduce una fecha entre el %s y el %s"},different:{default:"Por favor introduce un valor distinto"},digits:{default:"Por favor introduce sólo dígitos"},ean:{default:"Por favor introduce un número EAN válido"},ein:{default:"Por favor introduce un número EIN válido"},emailAddress:{default:"Por favor introduce un email válido"},file:{default:"Por favor elija un archivo válido"},greaterThan:{default:"Por favor introduce un valor mayor o igual a %s",notInclusive:"Por favor introduce un valor mayor que %s"},grid:{default:"Por favor introduce un número GRId válido"},hex:{default:"Por favor introduce un valor hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emiratos Árabes Unidos",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaiyán",BA:"Bosnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgaria",BH:"Baréin",BI:"Burundi",BJ:"Benín",BR:"Brasil",CH:"Suiza",CI:"Costa de Marfil",CM:"Camerún",CR:"Costa Rica",CV:"Cabo Verde",CY:"Cyprus",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argelia",EE:"Estonia",ES:"España",FI:"Finlandia",FO:"Islas Feroe",FR:"Francia",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlandia",GR:"Grecia",GT:"Guatemala",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islandia",IT:"Italia",JO:"Jordania",KW:"Kuwait",KZ:"Kazajistán",LB:"Líbano",LI:"Liechtenstein",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MC:"Mónaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Malí",MR:"Mauritania",MT:"Malta",MU:"Mauricio",MZ:"Mozambique",NL:"Países Bajos",NO:"Noruega",PK:"Pakistán",PL:"Poland",PS:"Palestina",PT:"Portugal",QA:"Catar",RO:"Rumania",RS:"Serbia",SA:"Arabia Saudita",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",SN:"Senegal",TL:"Timor Oriental",TN:"Túnez",TR:"Turquía",VG:"Islas Vírgenes Británicas",XK:"República de Kosovo"},country:"Por favor introduce un número IBAN válido en %s",default:"Por favor introduce un número IBAN válido"},id:{countries:{BA:"Bosnia Herzegovina",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estonia",ES:"España",FI:"Finlandia",HR:"Croacia",IE:"Irlanda",IS:"Islandia",LT:"Lituania",LV:"Letonia",ME:"Montenegro",MK:"Macedonia",NL:"Países Bajos",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",TH:"Tailandia",TR:"Turquía",ZA:"Sudáfrica"},country:"Por favor introduce un número válido de identificación en %s",default:"Por favor introduce un número de identificación válido"},identical:{default:"Por favor introduce el mismo valor"},imei:{default:"Por favor introduce un número IMEI válido"},imo:{default:"Por favor introduce un número IMO válido"},integer:{default:"Por favor introduce un número válido"},ip:{default:"Por favor introduce una dirección IP válida",ipv4:"Por favor introduce una dirección IPv4 válida",ipv6:"Por favor introduce una dirección IPv6 válida"},isbn:{default:"Por favor introduce un número ISBN válido"},isin:{default:"Por favor introduce un número ISIN válido"},ismn:{default:"Por favor introduce un número ISMN válido"},issn:{default:"Por favor introduce un número ISSN válido"},lessThan:{default:"Por favor introduce un valor menor o igual a %s",notInclusive:"Por favor introduce un valor menor que %s"},mac:{default:"Por favor introduce una dirección MAC válida"},meid:{default:"Por favor introduce un número MEID válido"},notEmpty:{default:"Por favor introduce un valor"},numeric:{default:"Por favor introduce un número decimal válido"},phone:{countries:{AE:"Emiratos Árabes Unidos",BG:"Bulgaria",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IN:"India",MA:"Marruecos",NL:"Países Bajos",PK:"Pakistán",RO:"Rumania",RU:"Rusa",SK:"Eslovaquia",TH:"Tailandia",US:"Estados Unidos",VE:"Venezuela"},country:"Por favor introduce un número válido de teléfono en %s",default:"Por favor introduce un número válido de teléfono"},promise:{default:"Por favor introduce un valor válido"},regexp:{default:"Por favor introduce un valor que coincida con el patrón"},remote:{default:"Por favor introduce un valor válido"},rtn:{default:"Por favor introduce un número RTN válido"},sedol:{default:"Por favor introduce un número SEDOL válido"},siren:{default:"Por favor introduce un número SIREN válido"},siret:{default:"Por favor introduce un número SIRET válido"},step:{default:"Por favor introduce un paso válido de %s"},stringCase:{default:"Por favor introduce sólo caracteres en minúscula",upper:"Por favor introduce sólo caracteres en mayúscula"},stringLength:{between:"Por favor introduce un valor con una longitud entre %s y %s caracteres",default:"Por favor introduce un valor con una longitud válida",less:"Por favor introduce menos de %s caracteres",more:"Por favor introduce más de %s caracteres"},uri:{default:"Por favor introduce una URI válida"},uuid:{default:"Por favor introduce un número UUID válido",version:"Por favor introduce una versión UUID válida para %s"},vat:{countries:{AT:"Austria",BE:"Bélgica",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CY:"Chipre",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",EE:"Estonia",EL:"Grecia",ES:"España",FI:"Finlandia",FR:"Francia",GB:"Reino Unido",GR:"Grecia",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IS:"Islandia",IT:"Italia",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MT:"Malta",NL:"Países Bajos",NO:"Noruega",PL:"Polonia",PT:"Portugal",RO:"Rumanía",RS:"Serbia",RU:"Rusa",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",VE:"Venezuela",ZA:"Sudáfrica"},country:"Por favor introduce un número IVA válido en %s",default:"Por favor introduce un número IVA válido"},vin:{default:"Por favor introduce un número VIN válido"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasil",CA:"Canadá",CH:"Suiza",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Marruecos",NL:"Países Bajos",PL:"Poland",PT:"Portugal",RO:"Rumanía",RU:"Rusa",SE:"Suecia",SG:"Singapur",SK:"Eslovaquia",US:"Estados Unidos"},country:"Por favor introduce un código postal válido en %s",default:"Por favor introduce un código postal válido"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/eu_ES.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/eu_ES.js new file mode 100644 index 0000000..3b1cb7c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/eu_ES.js @@ -0,0 +1 @@ +export default{base64:{default:"Mesedez sartu base 64an balore egoki bat"},between:{default:"Mesedez sartu %s eta %s artean balore bat",notInclusive:"Mesedez sartu %s eta %s arteko balore bat soilik"},bic:{default:"Mesedez sartu BIC zenbaki egoki bat"},callback:{default:"Mesedez sartu balore egoki bat"},choice:{between:"Mesedez aukeratu %s eta %s arteko aukerak",default:"Mesedez sartu balore egoki bat",less:"Mesedez aukeraru %s aukera gutxienez",more:"Mesedez aukeraru %s aukera gehienez"},color:{default:"Mesedezn sartu kolore egoki bat"},creditCard:{default:"Mesedez sartu kerditu-txartelaren zenbaki egoki bat"},cusip:{default:"Mesedez sartu CUSIP zenbaki egoki bat"},date:{default:"Mesedez sartu data egoki bat",max:"Mesedez sartu %s baino lehenagoko data bat",min:"Mesedez sartu %s baino geroagoko data bat",range:"Mesedez sartu %s eta %s arteko data bat"},different:{default:"Mesedez sartu balore ezberdin bat"},digits:{default:"Mesedez sigituak soilik sartu"},ean:{default:"Mesedez EAN zenbaki egoki bat sartu"},ein:{default:"Mesedez EIN zenbaki egoki bat sartu"},emailAddress:{default:"Mesedez e-posta egoki bat sartu"},file:{default:"Mesedez artxibo egoki bat aukeratu"},greaterThan:{default:"Mesedez %s baino handiagoa edo berdina den zenbaki bat sartu",notInclusive:"Mesedez %s baino handiagoa den zenbaki bat sartu"},grid:{default:"Mesedez GRID zenbaki egoki bat sartu"},hex:{default:"Mesedez sartu balore hamaseitar egoki bat"},iban:{countries:{AD:"Andorra",AE:"Arabiar Emirerri Batuak",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia-Herzegovina",BE:"Belgika",BF:"Burkina Faso",BG:"Bulgaria",BH:"Baréin",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Suitza",CI:"Boli Kosta",CM:"Kamerun",CR:"Costa Rica",CV:"Cabo Verde",CY:"Cyprus",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",DO:"Dominikar Errepublika",DZ:"Aljeria",EE:"Estonia",ES:"Espainia",FI:"Finlandia",FO:"Feroe Irlak",FR:"Frantzia",GB:"Erresuma Batua",GE:"Georgia",GI:"Gibraltar",GL:"Groenlandia",GR:"Grezia",GT:"Guatemala",HR:"Kroazia",HU:"Hungaria",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islandia",IT:"Italia",JO:"Jordania",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libano",LI:"Liechtenstein",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MC:"Monako",MD:"Moldavia",ME:"Montenegro",MG:"Madagaskar",MK:"Mazedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Maurizio",MZ:"Mozambike",NL:"Herbeherak",NO:"Norvegia",PK:"Pakistán",PL:"Poland",PS:"Palestina",PT:"Portugal",QA:"Catar",RO:"Errumania",RS:"Serbia",SA:"Arabia Saudi",SE:"Suedia",SI:"Eslovenia",SK:"Eslovakia",SM:"San Marino",SN:"Senegal",TL:"Ekialdeko Timor",TN:"Tunisia",TR:"Turkia",VG:"Birjina Uharte Britainiar",XK:"Kosovoko Errepublika"},country:"Mesedez, sartu IBAN zenbaki egoki bat honako: %s",default:"Mesedez, sartu IBAN zenbaki egoki bat"},id:{countries:{BA:"Bosnia Herzegovina",BG:"Bulgaria",BR:"Brasil",CH:"Suitza",CL:"Txile",CN:"Txina",CZ:"Txekiar Errepublika",DK:"Danimarka",EE:"Estonia",ES:"Espainia",FI:"Finlandia",HR:"Kroazia",IE:"Irlanda",IS:"Islandia",LT:"Lituania",LV:"Letonia",ME:"Montenegro",MK:"Mazedonia",NL:"Herbeherak",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Suecia",SI:"Eslovenia",SK:"Eslovakia",SM:"San Marino",TH:"Tailandia",TR:"Turkia",ZA:"Hegoafrika"},country:"Mesedez baliozko identifikazio-zenbakia sartu honako: %s",default:"Mesedez baliozko identifikazio-zenbakia sartu"},identical:{default:"Mesedez, balio bera sartu"},imei:{default:"Mesedez, IMEI baliozko zenbaki bat sartu"},imo:{default:"Mesedez, IMO baliozko zenbaki bat sartu"},integer:{default:"Mesedez, baliozko zenbaki bat sartu"},ip:{default:"Mesedez, baliozko IP helbide bat sartu",ipv4:"Mesedez, baliozko IPv4 helbide bat sartu",ipv6:"Mesedez, baliozko IPv6 helbide bat sartu"},isbn:{default:"Mesedez, ISBN baliozko zenbaki bat sartu"},isin:{default:"Mesedez, ISIN baliozko zenbaki bat sartu"},ismn:{default:"Mesedez, ISMM baliozko zenbaki bat sartu"},issn:{default:"Mesedez, ISSN baliozko zenbaki bat sartu"},lessThan:{default:"Mesedez, %s en balio txikiagoa edo berdina sartu",notInclusive:"Mesedez, %s baino balio txikiago sartu"},mac:{default:"Mesedez, baliozko MAC helbide bat sartu"},meid:{default:"Mesedez, MEID baliozko zenbaki bat sartu"},notEmpty:{default:"Mesedez balore bat sartu"},numeric:{default:"Mesedez, baliozko zenbaki hamartar bat sartu"},phone:{countries:{AE:"Arabiar Emirerri Batua",BG:"Bulgaria",BR:"Brasil",CN:"Txina",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",ES:"Espainia",FR:"Frantzia",GB:"Erresuma Batuak",IN:"India",MA:"Maroko",NL:"Herbeherak",PK:"Pakistan",RO:"Errumania",RU:"Errusiarra",SK:"Eslovakia",TH:"Tailandia",US:"Estatu Batuak",VE:"Venezuela"},country:"Mesedez baliozko telefono zenbaki bat sartu honako: %s",default:"Mesedez baliozko telefono zenbaki bat sartu"},promise:{default:"Mesedez sartu balore egoki bat"},regexp:{default:"Mesedez, patroiarekin bat datorren balio bat sartu"},remote:{default:"Mesedez balore egoki bat sartu"},rtn:{default:"Mesedez, RTN baliozko zenbaki bat sartu"},sedol:{default:"Mesedez, SEDOL baliozko zenbaki bat sartu"},siren:{default:"Mesedez, SIREN baliozko zenbaki bat sartu"},siret:{default:"Mesedez, SIRET baliozko zenbaki bat sartu"},step:{default:"Mesedez %s -ko pausu egoki bat sartu"},stringCase:{default:"Mesedez, minuskulazko karaktereak bakarrik sartu",upper:"Mesedez, maiuzkulazko karaktereak bakarrik sartu"},stringLength:{between:"Mesedez, %s eta %s arteko luzeera duen balore bat sartu",default:"Mesedez, luzeera egoki bateko baloreak bakarrik sartu",less:"Mesedez, %s baino karaktere gutxiago sartu",more:"Mesedez, %s baino karaktere gehiago sartu"},uri:{default:"Mesedez, URI egoki bat sartu."},uuid:{default:"Mesedez, UUID baliozko zenbaki bat sartu",version:"Mesedez, UUID bertsio egoki bat sartu honendako: %s"},vat:{countries:{AT:"Austria",BE:"Belgika",BG:"Bulgaria",BR:"Brasil",CH:"Suitza",CY:"Txipre",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",EE:"Estonia",EL:"Grezia",ES:"Espainia",FI:"Finlandia",FR:"Frantzia",GB:"Erresuma Batuak",GR:"Grezia",HR:"Kroazia",HU:"Hungaria",IE:"Irlanda",IS:"Islandia",IT:"Italia",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MT:"Malta",NL:"Herbeherak",NO:"Noruega",PL:"Polonia",PT:"Portugal",RO:"Errumania",RS:"Serbia",RU:"Errusia",SE:"Suedia",SI:"Eslovenia",SK:"Eslovakia",VE:"Venezuela",ZA:"Hegoafrika"},country:"Mesedez, BEZ zenbaki egoki bat sartu herrialde hontarako: %s",default:"Mesedez, BEZ zenbaki egoki bat sartu"},vin:{default:"Mesedez, baliozko VIN zenbaki bat sartu"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasil",CA:"Kanada",CH:"Suitza",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",ES:"Espainia",FR:"Frantzia",GB:"Erresuma Batuak",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Maroko",NL:"Herbeherak",PL:"Poland",PT:"Portugal",RO:"Errumania",RU:"Errusia",SE:"Suedia",SG:"Singapur",SK:"Eslovakia",US:"Estatu Batuak"},country:"Mesedez, baliozko posta kode bat sartu herrialde honetarako: %s",default:"Mesedez, baliozko posta kode bat sartu"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/fa_IR.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/fa_IR.js new file mode 100644 index 0000000..9f52ec5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/fa_IR.js @@ -0,0 +1 @@ +export default{base64:{default:"لطفا متن کد گذاری شده base 64 صحیح وارد فرمایید"},between:{default:"لطفا یک مقدار بین %s و %s وارد فرمایید",notInclusive:"لطفا یک مقدار بین فقط %s و %s وارد فرمایید"},bic:{default:"لطفا یک شماره BIC معتبر وارد فرمایید"},callback:{default:"لطفا یک مقدار صحیح وارد فرمایید"},choice:{between:"لطفا %s - %s گزینه انتخاب فرمایید",default:"لطفا یک مقدار صحیح وارد فرمایید",less:"لطفا حداقل %s گزینه را انتخاب فرمایید",more:"لطفا حداکثر %s گزینه را انتخاب فرمایید"},color:{default:"لطفا رنگ صحیح وارد فرمایید"},creditCard:{default:"لطفا یک شماره کارت اعتباری معتبر وارد فرمایید"},cusip:{default:"لطفا یک شماره CUSIP معتبر وارد فرمایید"},date:{default:"لطفا یک تاریخ معتبر وارد فرمایید",max:"لطفا یک تاریخ قبل از %s وارد فرمایید",min:"لطفا یک تاریخ بعد از %s وارد فرمایید",range:"لطفا یک تاریخ در بازه %s - %s وارد فرمایید"},different:{default:"لطفا یک مقدار متفاوت وارد فرمایید"},digits:{default:"لطفا فقط عدد وارد فرمایید"},ean:{default:"لطفا یک شماره EAN معتبر وارد فرمایید"},ein:{default:"لطفا یک شماره EIN معتبر وارد فرمایید"},emailAddress:{default:"لطفا آدرس ایمیل معتبر وارد فرمایید"},file:{default:"لطفا فایل معتبر انتخاب فرمایید"},greaterThan:{default:"لطفا مقدار بزرگتر یا مساوی با %s وارد فرمایید",notInclusive:"لطفا مقدار بزرگتر از %s وارد فرمایید"},grid:{default:"لطفا شماره GRId معتبر وارد فرمایید"},hex:{default:"لطفا عدد هگزادسیمال صحیح وارد فرمایید"},iban:{countries:{AD:"آندورا",AE:"امارات متحده عربی",AL:"آلبانی",AO:"آنگولا",AT:"اتریش",AZ:"آذربایجان",BA:"بوسنی و هرزگوین",BE:"بلژیک",BF:"بورکینا فاسو",BG:"بلغارستان",BH:"بحرین",BI:"بروندی",BJ:"بنین",BR:"برزیل",CH:"سوئیس",CI:"ساحل عاج",CM:"کامرون",CR:"کاستاریکا",CV:"کیپ ورد",CY:"قبرس",CZ:"جمهوری چک",DE:"آلمان",DK:"دانمارک",DO:"جمهوری دومینیکن",DZ:"الجزایر",EE:"استونی",ES:"اسپانیا",FI:"فنلاند",FO:"جزایر فارو",FR:"فرانسه",GB:"بریتانیا",GE:"گرجستان",GI:"جبل الطارق",GL:"گرینلند",GR:"یونان",GT:"گواتمالا",HR:"کرواسی",HU:"مجارستان",IE:"ایرلند",IL:"اسرائیل",IR:"ایران",IS:"ایسلند",IT:"ایتالیا",JO:"اردن",KW:"کویت",KZ:"قزاقستان",LB:"لبنان",LI:"لیختن اشتاین",LT:"لیتوانی",LU:"لوکزامبورگ",LV:"لتونی",MC:"موناکو",MD:"مولدووا",ME:"مونته نگرو",MG:"ماداگاسکار",MK:"مقدونیه",ML:"مالی",MR:"موریتانی",MT:"مالت",MU:"موریس",MZ:"موزامبیک",NL:"هلند",NO:"نروژ",PK:"پاکستان",PL:"لهستان",PS:"فلسطین",PT:"پرتغال",QA:"قطر",RO:"رومانی",RS:"صربستان",SA:"عربستان سعودی",SE:"سوئد",SI:"اسلوونی",SK:"اسلواکی",SM:"سان مارینو",SN:"سنگال",TL:"تیمور شرق",TN:"تونس",TR:"ترکیه",VG:"جزایر ویرجین، بریتانیا",XK:"جمهوری کوزوو"},country:"لطفا یک شماره IBAN صحیح در %s وارد فرمایید",default:"لطفا شماره IBAN معتبر وارد فرمایید"},id:{countries:{BA:"بوسنی و هرزگوین",BG:"بلغارستان",BR:"برزیل",CH:"سوئیس",CL:"شیلی",CN:"چین",CZ:"چک",DK:"دانمارک",EE:"استونی",ES:"اسپانیا",FI:"فنلاند",HR:"کرواسی",IE:"ایرلند",IS:"ایسلند",LT:"لیتوانی",LV:"لتونی",ME:"مونته نگرو",MK:"مقدونیه",NL:"هلند",PL:"لهستان",RO:"رومانی",RS:"صربی",SE:"سوئد",SI:"اسلوونی",SK:"اسلواکی",SM:"سان مارینو",TH:"تایلند",TR:"ترکیه",ZA:"آفریقای جنوبی"},country:"لطفا یک شماره شناسایی معتبر در %s وارد کنید",default:"لطفا شماره شناسایی صحیح وارد فرمایید"},identical:{default:"لطفا مقدار یکسان وارد فرمایید"},imei:{default:"لطفا شماره IMEI معتبر وارد فرمایید"},imo:{default:"لطفا شماره IMO معتبر وارد فرمایید"},integer:{default:"لطفا یک عدد صحیح وارد فرمایید"},ip:{default:"لطفا یک آدرس IP معتبر وارد فرمایید",ipv4:"لطفا یک آدرس IPv4 معتبر وارد فرمایید",ipv6:"لطفا یک آدرس IPv6 معتبر وارد فرمایید"},isbn:{default:"لطفا شماره ISBN معتبر وارد فرمایید"},isin:{default:"لطفا شماره ISIN معتبر وارد فرمایید"},ismn:{default:"لطفا شماره ISMN معتبر وارد فرمایید"},issn:{default:"لطفا شماره ISSN معتبر وارد فرمایید"},lessThan:{default:"لطفا مقدار کمتر یا مساوی با %s وارد فرمایید",notInclusive:"لطفا مقدار کمتر از %s وارد فرمایید"},mac:{default:"لطفا یک MAC address معتبر وارد فرمایید"},meid:{default:"لطفا یک شماره MEID معتبر وارد فرمایید"},notEmpty:{default:"لطفا یک مقدار وارد فرمایید"},numeric:{default:"لطفا یک عدد اعشاری صحیح وارد فرمایید"},phone:{countries:{AE:"امارات متحده عربی",BG:"بلغارستان",BR:"برزیل",CN:"کشور چین",CZ:"چک",DE:"آلمان",DK:"دانمارک",ES:"اسپانیا",FR:"فرانسه",GB:"بریتانیا",IN:"هندوستان",MA:"مراکش",NL:"هلند",PK:"پاکستان",RO:"رومانی",RU:"روسیه",SK:"اسلواکی",TH:"تایلند",US:"ایالات متحده آمریکا",VE:"ونزوئلا"},country:"لطفا یک شماره تلفن معتبر وارد کنید در %s",default:"لطفا یک شماره تلفن صحیح وارد فرمایید"},promise:{default:"لطفا یک مقدار صحیح وارد فرمایید"},regexp:{default:"لطفا یک مقدار مطابق با الگو وارد فرمایید"},remote:{default:"لطفا یک مقدار معتبر وارد فرمایید"},rtn:{default:"لطفا یک شماره RTN صحیح وارد فرمایید"},sedol:{default:"لطفا یک شماره SEDOL صحیح وارد فرمایید"},siren:{default:"لطفا یک شماره SIREN صحیح وارد فرمایید"},siret:{default:"لطفا یک شماره SIRET صحیح وارد فرمایید"},step:{default:"لطفا یک گام صحیح از %s وارد فرمایید"},stringCase:{default:"لطفا فقط حروف کوچک وارد فرمایید",upper:"لطفا فقط حروف بزرگ وارد فرمایید"},stringLength:{between:"لطفا مقداری بین %s و %s حرف وارد فرمایید",default:"لطفا یک مقدار با طول صحیح وارد فرمایید",less:"لطفا کمتر از %s حرف وارد فرمایید",more:"لطفا بیش از %s حرف وارد فرمایید"},uri:{default:"لطفا یک آدرس URI صحیح وارد فرمایید"},uuid:{default:"لطفا یک شماره UUID معتبر وارد فرمایید",version:"لطفا یک نسخه UUID صحیح %s شماره وارد فرمایید"},vat:{countries:{AT:"اتریش",BE:"بلژیک",BG:"بلغارستان",BR:"برزیل",CH:"سوئیس",CY:"قبرس",CZ:"چک",DE:"آلمان",DK:"دانمارک",EE:"استونی",EL:"یونان",ES:"اسپانیا",FI:"فنلاند",FR:"فرانسه",GB:"بریتانیا",GR:"یونان",HR:"کرواسی",HU:"مجارستان",IE:"ایرلند",IS:"ایسلند",IT:"ایتالیا",LT:"لیتوانی",LU:"لوکزامبورگ",LV:"لتونی",MT:"مالت",NL:"هلند",NO:"نروژ",PL:"لهستانی",PT:"پرتغال",RO:"رومانی",RS:"صربستان",RU:"روسیه",SE:"سوئد",SI:"اسلوونی",SK:"اسلواکی",VE:"ونزوئلا",ZA:"آفریقای جنوبی"},country:"لطفا یک شماره VAT معتبر در %s وارد کنید",default:"لطفا یک شماره VAT صحیح وارد فرمایید"},vin:{default:"لطفا یک شماره VIN صحیح وارد فرمایید"},zipCode:{countries:{AT:"اتریش",BG:"بلغارستان",BR:"برزیل",CA:"کانادا",CH:"سوئیس",CZ:"چک",DE:"آلمان",DK:"دانمارک",ES:"اسپانیا",FR:"فرانسه",GB:"بریتانیا",IE:"ایرلند",IN:"هندوستان",IT:"ایتالیا",MA:"مراکش",NL:"هلند",PL:"لهستان",PT:"پرتغال",RO:"رومانی",RU:"روسیه",SE:"سوئد",SG:"سنگاپور",SK:"اسلواکی",US:"ایالات متحده"},country:"لطفا یک کد پستی معتبر در %s وارد کنید",default:"لطفا یک کدپستی صحیح وارد فرمایید"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/fi_FI.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/fi_FI.js new file mode 100644 index 0000000..6dbfc4e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/fi_FI.js @@ -0,0 +1 @@ +export default{base64:{default:"Ole hyvä anna kelvollinen base64 koodattu merkkijono"},between:{default:"Ole hyvä anna arvo %s ja %s väliltä",notInclusive:"Ole hyvä anna arvo %s ja %s väliltä"},bic:{default:"Ole hyvä anna kelvollinen BIC numero"},callback:{default:"Ole hyvä anna kelvollinen arvo"},choice:{between:"Ole hyvä valitse %s - %s valintaa",default:"Ole hyvä anna kelvollinen arvo",less:"Ole hyvä valitse vähintään %s valintaa",more:"Ole hyvä valitse enintään %s valintaa"},color:{default:"Ole hyvä anna kelvollinen väriarvo"},creditCard:{default:"Ole hyvä anna kelvollinen luottokortin numero"},cusip:{default:"Ole hyvä anna kelvollinen CUSIP numero"},date:{default:"Ole hyvä anna kelvollinen päiväys",max:"Ole hyvä anna %s edeltävä päiväys",min:"Ole hyvä anna %s jälkeinen päiväys",range:"Ole hyvä anna päiväys %s - %s väliltä"},different:{default:"Ole hyvä anna jokin toinen arvo"},digits:{default:"Vain numerot sallittuja"},ean:{default:"Ole hyvä anna kelvollinen EAN numero"},ein:{default:"Ole hyvä anna kelvollinen EIN numero"},emailAddress:{default:"Ole hyvä anna kelvollinen sähköpostiosoite"},file:{default:"Ole hyvä valitse kelvollinen tiedosto"},greaterThan:{default:"Ole hyvä anna arvoksi yhtä suuri kuin, tai suurempi kuin %s",notInclusive:"Ole hyvä anna arvoksi suurempi kuin %s"},grid:{default:"Ole hyvä anna kelvollinen GRId numero"},hex:{default:"Ole hyvä anna kelvollinen heksadesimaali luku"},iban:{countries:{AD:"Andorra",AE:"Yhdistyneet arabiemiirikunnat",AL:"Albania",AO:"Angola",AT:"Itävalta",AZ:"Azerbaidžan",BA:"Bosnia ja Hertsegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasilia",CH:"Sveitsi",CI:"Norsunluurannikko",CM:"Kamerun",CR:"Costa Rica",CV:"Cape Verde",CY:"Kypros",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",DO:"Dominikaaninen tasavalta",DZ:"Algeria",EE:"Viro",ES:"Espanja",FI:"Suomi",FO:"Färsaaret",FR:"Ranska",GB:"Yhdistynyt kuningaskunta",GE:"Georgia",GI:"Gibraltar",GL:"Grönlanti",GR:"Kreikka",GT:"Guatemala",HR:"Kroatia",HU:"Unkari",IE:"Irlanti",IL:"Israel",IR:"Iran",IS:"Islanti",IT:"Italia",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Liettua",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Makedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambik",NL:"Hollanti",NO:"Norja",PK:"Pakistan",PL:"Puola",PS:"Palestiina",PT:"Portugali",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Ruotsi",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"Itä-Timor",TN:"Tunisia",TR:"Turkki",VG:"Neitsytsaaret, Brittien",XK:"Kosovon tasavallan"},country:"Ole hyvä anna kelvollinen IBAN numero maassa %s",default:"Ole hyvä anna kelvollinen IBAN numero"},id:{countries:{BA:"Bosnia ja Hertsegovina",BG:"Bulgaria",BR:"Brasilia",CH:"Sveitsi",CL:"Chile",CN:"Kiina",CZ:"Tsekin tasavalta",DK:"Tanska",EE:"Viro",ES:"Espanja",FI:"Suomi",HR:"Kroatia",IE:"Irlanti",IS:"Islanti",LT:"Liettua",LV:"Latvia",ME:"Montenegro",MK:"Makedonia",NL:"Hollanti",PL:"Puola",RO:"Romania",RS:"Serbia",SE:"Ruotsi",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thaimaa",TR:"Turkki",ZA:"Etelä Afrikka"},country:"Ole hyvä anna kelvollinen henkilötunnus maassa %s",default:"Ole hyvä anna kelvollinen henkilötunnus"},identical:{default:"Ole hyvä anna sama arvo"},imei:{default:"Ole hyvä anna kelvollinen IMEI numero"},imo:{default:"Ole hyvä anna kelvollinen IMO numero"},integer:{default:"Ole hyvä anna kelvollinen kokonaisluku"},ip:{default:"Ole hyvä anna kelvollinen IP osoite",ipv4:"Ole hyvä anna kelvollinen IPv4 osoite",ipv6:"Ole hyvä anna kelvollinen IPv6 osoite"},isbn:{default:"Ole hyvä anna kelvollinen ISBN numero"},isin:{default:"Ole hyvä anna kelvollinen ISIN numero"},ismn:{default:"Ole hyvä anna kelvollinen ISMN numero"},issn:{default:"Ole hyvä anna kelvollinen ISSN numero"},lessThan:{default:"Ole hyvä anna arvo joka on vähemmän kuin tai yhtä suuri kuin %s",notInclusive:"Ole hyvä anna arvo joka on vähemmän kuin %s"},mac:{default:"Ole hyvä anna kelvollinen MAC osoite"},meid:{default:"Ole hyvä anna kelvollinen MEID numero"},notEmpty:{default:"Pakollinen kenttä, anna jokin arvo"},numeric:{default:"Ole hyvä anna kelvollinen liukuluku"},phone:{countries:{AE:"Yhdistyneet arabiemiirikunnat",BG:"Bulgaria",BR:"Brasilia",CN:"Kiina",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",ES:"Espanja",FR:"Ranska",GB:"Yhdistynyt kuningaskunta",IN:"Intia",MA:"Marokko",NL:"Hollanti",PK:"Pakistan",RO:"Romania",RU:"Venäjä",SK:"Slovakia",TH:"Thaimaa",US:"USA",VE:"Venezuela"},country:"Ole hyvä anna kelvollinen puhelinnumero maassa %s",default:"Ole hyvä anna kelvollinen puhelinnumero"},promise:{default:"Ole hyvä anna kelvollinen arvo"},regexp:{default:"Ole hyvä anna kaavan mukainen arvo"},remote:{default:"Ole hyvä anna kelvollinen arvo"},rtn:{default:"Ole hyvä anna kelvollinen RTN numero"},sedol:{default:"Ole hyvä anna kelvollinen SEDOL numero"},siren:{default:"Ole hyvä anna kelvollinen SIREN numero"},siret:{default:"Ole hyvä anna kelvollinen SIRET numero"},step:{default:"Ole hyvä anna kelvollinen arvo %s porrastettuna"},stringCase:{default:"Ole hyvä anna pelkästään pieniä kirjaimia",upper:"Ole hyvä anna pelkästään isoja kirjaimia"},stringLength:{between:"Ole hyvä anna arvo joka on vähintään %s ja enintään %s merkkiä pitkä",default:"Ole hyvä anna kelvollisen mittainen merkkijono",less:"Ole hyvä anna vähemmän kuin %s merkkiä",more:"Ole hyvä anna vähintään %s merkkiä"},uri:{default:"Ole hyvä anna kelvollinen URI"},uuid:{default:"Ole hyvä anna kelvollinen UUID numero",version:"Ole hyvä anna kelvollinen UUID versio %s numero"},vat:{countries:{AT:"Itävalta",BE:"Belgia",BG:"Bulgaria",BR:"Brasilia",CH:"Sveitsi",CY:"Kypros",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",EE:"Viro",EL:"Kreikka",ES:"Espanja",FI:"Suomi",FR:"Ranska",GB:"Yhdistyneet kuningaskunnat",GR:"Kreikka",HR:"Kroatia",HU:"Unkari",IE:"Irlanti",IS:"Islanti",IT:"Italia",LT:"Liettua",LU:"Luxemburg",LV:"Latvia",MT:"Malta",NL:"Hollanti",NO:"Norja",PL:"Puola",PT:"Portugali",RO:"Romania",RS:"Serbia",RU:"Venäjä",SE:"Ruotsi",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Etelä Afrikka"},country:"Ole hyvä anna kelvollinen VAT numero maahan: %s",default:"Ole hyvä anna kelvollinen VAT numero"},vin:{default:"Ole hyvä anna kelvollinen VIN numero"},zipCode:{countries:{AT:"Itävalta",BG:"Bulgaria",BR:"Brasilia",CA:"Kanada",CH:"Sveitsi",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",ES:"Espanja",FR:"Ranska",GB:"Yhdistyneet kuningaskunnat",IE:"Irlanti",IN:"Intia",IT:"Italia",MA:"Marokko",NL:"Hollanti",PL:"Puola",PT:"Portugali",RO:"Romania",RU:"Venäjä",SE:"Ruotsi",SG:"Singapore",SK:"Slovakia",US:"USA"},country:"Ole hyvä anna kelvollinen postinumero maassa: %s",default:"Ole hyvä anna kelvollinen postinumero"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/fr_BE.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/fr_BE.js new file mode 100644 index 0000000..bc70f07 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/fr_BE.js @@ -0,0 +1 @@ +export default{base64:{default:"Veuillez fournir une donnée correctement encodée en Base64"},between:{default:"Veuillez fournir une valeur comprise entre %s et %s",notInclusive:"Veuillez fournir une valeur strictement comprise entre %s et %s"},bic:{default:"Veuillez fournir un code-barre BIC valide"},callback:{default:"Veuillez fournir une valeur valide"},choice:{between:"Veuillez choisir de %s à %s options",default:"Veuillez fournir une valeur valide",less:"Veuillez choisir au minimum %s options",more:"Veuillez choisir au maximum %s options"},color:{default:"Veuillez fournir une couleur valide"},creditCard:{default:"Veuillez fournir un numéro de carte de crédit valide"},cusip:{default:"Veuillez fournir un code CUSIP valide"},date:{default:"Veuillez fournir une date valide",max:"Veuillez fournir une date inférieure à %s",min:"Veuillez fournir une date supérieure à %s",range:"Veuillez fournir une date comprise entre %s et %s"},different:{default:"Veuillez fournir une valeur différente"},digits:{default:"Veuillez ne fournir que des chiffres"},ean:{default:"Veuillez fournir un code-barre EAN valide"},ein:{default:"Veuillez fournir un code-barre EIN valide"},emailAddress:{default:"Veuillez fournir une adresse e-mail valide"},file:{default:"Veuillez choisir un fichier valide"},greaterThan:{default:"Veuillez fournir une valeur supérieure ou égale à %s",notInclusive:"Veuillez fournir une valeur supérieure à %s"},grid:{default:"Veuillez fournir un code GRId valide"},hex:{default:"Veuillez fournir un nombre hexadécimal valide"},iban:{countries:{AD:"Andorre",AE:"Émirats Arabes Unis",AL:"Albanie",AO:"Angola",AT:"Autriche",AZ:"Azerbaïdjan",BA:"Bosnie-Herzégovine",BE:"Belgique",BF:"Burkina Faso",BG:"Bulgarie",BH:"Bahrein",BI:"Burundi",BJ:"Bénin",BR:"Brésil",CH:"Suisse",CI:"Côte d'ivoire",CM:"Cameroun",CR:"Costa Rica",CV:"Cap Vert",CY:"Chypre",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",DO:"République Dominicaine",DZ:"Algérie",EE:"Estonie",ES:"Espagne",FI:"Finlande",FO:"Îles Féroé",FR:"France",GB:"Royaume Uni",GE:"Géorgie",GI:"Gibraltar",GL:"Groënland",GR:"Gréce",GT:"Guatemala",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IL:"Israël",IR:"Iran",IS:"Islande",IT:"Italie",JO:"Jordanie",KW:"Koweït",KZ:"Kazakhstan",LB:"Liban",LI:"Liechtenstein",LT:"Lithuanie",LU:"Luxembourg",LV:"Lettonie",MC:"Monaco",MD:"Moldavie",ME:"Monténégro",MG:"Madagascar",MK:"Macédoine",ML:"Mali",MR:"Mauritanie",MT:"Malte",MU:"Maurice",MZ:"Mozambique",NL:"Pays-Bas",NO:"Norvège",PK:"Pakistan",PL:"Pologne",PS:"Palestine",PT:"Portugal",QA:"Quatar",RO:"Roumanie",RS:"Serbie",SA:"Arabie Saoudite",SE:"Suède",SI:"Slovènie",SK:"Slovaquie",SM:"Saint-Marin",SN:"Sénégal",TL:"Timor oriental",TN:"Tunisie",TR:"Turquie",VG:"Îles Vierges britanniques",XK:"République du Kosovo"},country:"Veuillez fournir un code IBAN valide pour %s",default:"Veuillez fournir un code IBAN valide"},id:{countries:{BA:"Bosnie-Herzégovine",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CL:"Chili",CN:"Chine",CZ:"Tchèque",DK:"Danemark",EE:"Estonie",ES:"Espagne",FI:"Finlande",HR:"Croatie",IE:"Irlande",IS:"Islande",LT:"Lituanie",LV:"Lettonie",ME:"Monténégro",MK:"Macédoine",NL:"Pays-Bas",PL:"Pologne",RO:"Roumanie",RS:"Serbie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",SM:"Saint-Marin",TH:"Thaïlande",TR:"Turquie",ZA:"Afrique du Sud"},country:"Veuillez fournir un numéro d'identification valide pour %s",default:"Veuillez fournir un numéro d'identification valide"},identical:{default:"Veuillez fournir la même valeur"},imei:{default:"Veuillez fournir un code IMEI valide"},imo:{default:"Veuillez fournir un code IMO valide"},integer:{default:"Veuillez fournir un nombre valide"},ip:{default:"Veuillez fournir une adresse IP valide",ipv4:"Veuillez fournir une adresse IPv4 valide",ipv6:"Veuillez fournir une adresse IPv6 valide"},isbn:{default:"Veuillez fournir un code ISBN valide"},isin:{default:"Veuillez fournir un code ISIN valide"},ismn:{default:"Veuillez fournir un code ISMN valide"},issn:{default:"Veuillez fournir un code ISSN valide"},lessThan:{default:"Veuillez fournir une valeur inférieure ou égale à %s",notInclusive:"Veuillez fournir une valeur inférieure à %s"},mac:{default:"Veuillez fournir une adresse MAC valide"},meid:{default:"Veuillez fournir un code MEID valide"},notEmpty:{default:"Veuillez fournir une valeur"},numeric:{default:"Veuillez fournir une valeur décimale valide"},phone:{countries:{AE:"Émirats Arabes Unis",BG:"Bulgarie",BR:"Brésil",CN:"Chine",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IN:"Inde",MA:"Maroc",NL:"Pays-Bas",PK:"Pakistan",RO:"Roumanie",RU:"Russie",SK:"Slovaquie",TH:"Thaïlande",US:"USA",VE:"Venezuela"},country:"Veuillez fournir un numéro de téléphone valide pour %s",default:"Veuillez fournir un numéro de téléphone valide"},promise:{default:"Veuillez fournir une valeur valide"},regexp:{default:"Veuillez fournir une valeur correspondant au modèle"},remote:{default:"Veuillez fournir une valeur valide"},rtn:{default:"Veuillez fournir un code RTN valide"},sedol:{default:"Veuillez fournir a valid SEDOL number"},siren:{default:"Veuillez fournir un numéro SIREN valide"},siret:{default:"Veuillez fournir un numéro SIRET valide"},step:{default:"Veuillez fournir un écart valide de %s"},stringCase:{default:"Veuillez ne fournir que des caractères minuscules",upper:"Veuillez ne fournir que des caractères majuscules"},stringLength:{between:"Veuillez fournir entre %s et %s caractères",default:"Veuillez fournir une valeur de longueur valide",less:"Veuillez fournir moins de %s caractères",more:"Veuillez fournir plus de %s caractères"},uri:{default:"Veuillez fournir un URI valide"},uuid:{default:"Veuillez fournir un UUID valide",version:"Veuillez fournir un UUID version %s number"},vat:{countries:{AT:"Autriche",BE:"Belgique",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CY:"Chypre",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",EE:"Estonie",EL:"Grèce",ES:"Espagne",FI:"Finlande",FR:"France",GB:"Royaume-Uni",GR:"Grèce",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IS:"Islande",IT:"Italie",LT:"Lituanie",LU:"Luxembourg",LV:"Lettonie",MT:"Malte",NL:"Pays-Bas",NO:"Norvège",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RS:"Serbie",RU:"Russie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",VE:"Venezuela",ZA:"Afrique du Sud"},country:"Veuillez fournir un code VAT valide pour %s",default:"Veuillez fournir un code VAT valide"},vin:{default:"Veuillez fournir un code VIN valide"},zipCode:{countries:{AT:"Autriche",BG:"Bulgarie",BR:"Brésil",CA:"Canada",CH:"Suisse",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IE:"Irlande",IN:"Inde",IT:"Italie",MA:"Maroc",NL:"Pays-Bas",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RU:"Russie",SE:"Suède",SG:"Singapour",SK:"Slovaquie",US:"USA"},country:"Veuillez fournir un code postal valide pour %s",default:"Veuillez fournir un code postal valide"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/fr_FR.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/fr_FR.js new file mode 100644 index 0000000..8ef9239 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/fr_FR.js @@ -0,0 +1 @@ +export default{base64:{default:"Veuillez fournir une donnée correctement encodée en Base64"},between:{default:"Veuillez fournir une valeur comprise entre %s et %s",notInclusive:"Veuillez fournir une valeur strictement comprise entre %s et %s"},bic:{default:"Veuillez fournir un code-barre BIC valide"},callback:{default:"Veuillez fournir une valeur valide"},choice:{between:"Veuillez choisir de %s à %s options",default:"Veuillez fournir une valeur valide",less:"Veuillez choisir au minimum %s options",more:"Veuillez choisir au maximum %s options"},color:{default:"Veuillez fournir une couleur valide"},creditCard:{default:"Veuillez fournir un numéro de carte de crédit valide"},cusip:{default:"Veuillez fournir un code CUSIP valide"},date:{default:"Veuillez fournir une date valide",max:"Veuillez fournir une date inférieure à %s",min:"Veuillez fournir une date supérieure à %s",range:"Veuillez fournir une date comprise entre %s et %s"},different:{default:"Veuillez fournir une valeur différente"},digits:{default:"Veuillez ne fournir que des chiffres"},ean:{default:"Veuillez fournir un code-barre EAN valide"},ein:{default:"Veuillez fournir un code-barre EIN valide"},emailAddress:{default:"Veuillez fournir une adresse e-mail valide"},file:{default:"Veuillez choisir un fichier valide"},greaterThan:{default:"Veuillez fournir une valeur supérieure ou égale à %s",notInclusive:"Veuillez fournir une valeur supérieure à %s"},grid:{default:"Veuillez fournir un code GRId valide"},hex:{default:"Veuillez fournir un nombre hexadécimal valide"},iban:{countries:{AD:"Andorre",AE:"Émirats Arabes Unis",AL:"Albanie",AO:"Angola",AT:"Autriche",AZ:"Azerbaïdjan",BA:"Bosnie-Herzégovine",BE:"Belgique",BF:"Burkina Faso",BG:"Bulgarie",BH:"Bahrein",BI:"Burundi",BJ:"Bénin",BR:"Brésil",CH:"Suisse",CI:"Côte d'ivoire",CM:"Cameroun",CR:"Costa Rica",CV:"Cap Vert",CY:"Chypre",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",DO:"République Dominicaine",DZ:"Algérie",EE:"Estonie",ES:"Espagne",FI:"Finlande",FO:"Îles Féroé",FR:"France",GB:"Royaume Uni",GE:"Géorgie",GI:"Gibraltar",GL:"Groënland",GR:"Gréce",GT:"Guatemala",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IL:"Israël",IR:"Iran",IS:"Islande",IT:"Italie",JO:"Jordanie",KW:"Koweït",KZ:"Kazakhstan",LB:"Liban",LI:"Liechtenstein",LT:"Lithuanie",LU:"Luxembourg",LV:"Lettonie",MC:"Monaco",MD:"Moldavie",ME:"Monténégro",MG:"Madagascar",MK:"Macédoine",ML:"Mali",MR:"Mauritanie",MT:"Malte",MU:"Maurice",MZ:"Mozambique",NL:"Pays-Bas",NO:"Norvège",PK:"Pakistan",PL:"Pologne",PS:"Palestine",PT:"Portugal",QA:"Quatar",RO:"Roumanie",RS:"Serbie",SA:"Arabie Saoudite",SE:"Suède",SI:"Slovènie",SK:"Slovaquie",SM:"Saint-Marin",SN:"Sénégal",TL:"Timor oriental",TN:"Tunisie",TR:"Turquie",VG:"Îles Vierges britanniques",XK:"République du Kosovo"},country:"Veuillez fournir un code IBAN valide pour %s",default:"Veuillez fournir un code IBAN valide"},id:{countries:{BA:"Bosnie-Herzégovine",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CL:"Chili",CN:"Chine",CZ:"République Tchèque",DK:"Danemark",EE:"Estonie",ES:"Espagne",FI:"Finlande",HR:"Croatie",IE:"Irlande",IS:"Islande",LT:"Lituanie",LV:"Lettonie",ME:"Monténégro",MK:"Macédoine",NL:"Pays-Bas",PL:"Pologne",RO:"Roumanie",RS:"Serbie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",SM:"Saint-Marin",TH:"Thaïlande",TR:"Turquie",ZA:"Afrique du Sud"},country:"Veuillez fournir un numéro d'identification valide pour %s",default:"Veuillez fournir un numéro d'identification valide"},identical:{default:"Veuillez fournir la même valeur"},imei:{default:"Veuillez fournir un code IMEI valide"},imo:{default:"Veuillez fournir un code IMO valide"},integer:{default:"Veuillez fournir un nombre valide"},ip:{default:"Veuillez fournir une adresse IP valide",ipv4:"Veuillez fournir une adresse IPv4 valide",ipv6:"Veuillez fournir une adresse IPv6 valide"},isbn:{default:"Veuillez fournir un code ISBN valide"},isin:{default:"Veuillez fournir un code ISIN valide"},ismn:{default:"Veuillez fournir un code ISMN valide"},issn:{default:"Veuillez fournir un code ISSN valide"},lessThan:{default:"Veuillez fournir une valeur inférieure ou égale à %s",notInclusive:"Veuillez fournir une valeur inférieure à %s"},mac:{default:"Veuillez fournir une adresse MAC valide"},meid:{default:"Veuillez fournir un code MEID valide"},notEmpty:{default:"Veuillez fournir une valeur"},numeric:{default:"Veuillez fournir une valeur décimale valide"},phone:{countries:{AE:"Émirats Arabes Unis",BG:"Bulgarie",BR:"Brésil",CN:"Chine",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IN:"Inde",MA:"Maroc",NL:"Pays-Bas",PK:"Pakistan",RO:"Roumanie",RU:"Russie",SK:"Slovaquie",TH:"Thaïlande",US:"USA",VE:"Venezuela"},country:"Veuillez fournir un numéro de téléphone valide pour %s",default:"Veuillez fournir un numéro de téléphone valide"},promise:{default:"Veuillez fournir une valeur valide"},regexp:{default:"Veuillez fournir une valeur correspondant au modèle"},remote:{default:"Veuillez fournir une valeur valide"},rtn:{default:"Veuillez fournir un code RTN valide"},sedol:{default:"Veuillez fournir a valid SEDOL number"},siren:{default:"Veuillez fournir un numéro SIREN valide"},siret:{default:"Veuillez fournir un numéro SIRET valide"},step:{default:"Veuillez fournir un écart valide de %s"},stringCase:{default:"Veuillez ne fournir que des caractères minuscules",upper:"Veuillez ne fournir que des caractères majuscules"},stringLength:{between:"Veuillez fournir entre %s et %s caractères",default:"Veuillez fournir une valeur de longueur valide",less:"Veuillez fournir moins de %s caractères",more:"Veuillez fournir plus de %s caractères"},uri:{default:"Veuillez fournir un URI valide"},uuid:{default:"Veuillez fournir un UUID valide",version:"Veuillez fournir un UUID version %s number"},vat:{countries:{AT:"Autriche",BE:"Belgique",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CY:"Chypre",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",EE:"Estonie",EL:"Grèce",ES:"Espagne",FI:"Finlande",FR:"France",GB:"Royaume-Uni",GR:"Grèce",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IS:"Islande",IT:"Italie",LT:"Lituanie",LU:"Luxembourg",LV:"Lettonie",MT:"Malte",NL:"Pays-Bas",NO:"Norvège",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RS:"Serbie",RU:"Russie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",VE:"Venezuela",ZA:"Afrique du Sud"},country:"Veuillez fournir un code VAT valide pour %s",default:"Veuillez fournir un code VAT valide"},vin:{default:"Veuillez fournir un code VIN valide"},zipCode:{countries:{AT:"Autriche",BG:"Bulgarie",BR:"Brésil",CA:"Canada",CH:"Suisse",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IE:"Irlande",IN:"Inde",IT:"Italie",MA:"Maroc",NL:"Pays-Bas",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RU:"Russie",SE:"Suède",SG:"Singapour",SK:"Slovaquie",US:"USA"},country:"Veuillez fournir un code postal valide pour %s",default:"Veuillez fournir un code postal valide"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/he_IL.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/he_IL.js new file mode 100644 index 0000000..e2a9179 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/he_IL.js @@ -0,0 +1 @@ +export default{base64:{default:"נא להזין ערך המקודד בבסיס 64"},between:{default:"נא להזין ערך בין %s ל-%s",notInclusive:"נא להזין ערך בין %s ל-%s בדיוק"},bic:{default:"נא להזין מספר BIC תקין"},callback:{default:"נא להזין ערך תקין"},choice:{between:"נא לבחור %s-%s אפשרויות",default:"נא להזין ערך תקין",less:"נא לבחור מינימום %s אפשרויות",more:"נא לבחור מקסימום %s אפשרויות"},color:{default:"נא להזין קוד צבע תקין"},creditCard:{default:"נא להזין מספר כרטיס אשראי תקין"},cusip:{default:"נא להזין מספר CUSIP תקין"},date:{default:"נא להזין תאריך תקין",max:"נא להזין תאריך לפני %s",min:"נא להזין תאריך אחרי %s",range:"נא להזין תאריך בטווח %s - %s"},different:{default:"נא להזין ערך שונה"},digits:{default:"נא להזין ספרות בלבד"},ean:{default:"נא להזין מספר EAN תקין"},ein:{default:"נא להזין מספר EIN תקין"},emailAddress:{default:'נא להזין כתובת דוא"ל תקינה'},file:{default:"נא לבחור קובץ חוקי"},greaterThan:{default:"נא להזין ערך גדול או שווה ל-%s",notInclusive:"נא להזין ערך גדול מ-%s"},grid:{default:"נא להזין מספר GRId תקין"},hex:{default:"נא להזין מספר הקסדצימלי תקין"},iban:{countries:{AD:"אנדורה",AE:"איחוד האמירויות הערבי",AL:"אלבניה",AO:"אנגולה",AT:"אוסטריה",AZ:"אזרבייגאן",BA:"בוסניה והרצגובינה",BE:"בלגיה",BF:"בורקינה פאסו",BG:"בולגריה",BH:"בחריין",BI:"בורונדי",BJ:"בנין",BR:"ברזיל",CH:"שווייץ",CI:"חוף השנהב",CM:"קמרון",CR:"קוסטה ריקה",CV:"קייפ ורדה",CY:"קפריסין",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",DO:"דומיניקה",DZ:"אלגיריה",EE:"אסטוניה",ES:"ספרד",FI:"פינלנד",FO:"איי פארו",FR:"צרפת",GB:"בריטניה",GE:"גאורגיה",GI:"גיברלטר",GL:"גרינלנד",GR:"יוון",GT:"גואטמלה",HR:"קרואטיה",HU:"הונגריה",IE:"אירלנד",IL:"ישראל",IR:"איראן",IS:"איסלנד",IT:"איטליה",JO:"ירדן",KW:"כווית",KZ:"קזחסטן",LB:"לבנון",LI:"ליכטנשטיין",LT:"ליטא",LU:"לוקסמבורג",LV:"לטביה",MC:"מונקו",MD:"מולדובה",ME:"מונטנגרו",MG:"מדגסקר",MK:"מקדוניה",ML:"מאלי",MR:"מאוריטניה",MT:"מלטה",MU:"מאוריציוס",MZ:"מוזמביק",NL:"הולנד",NO:"נורווגיה",PK:"פקיסטן",PL:"פולין",PS:"פלסטין",PT:"פורטוגל",QA:"קטאר",RO:"רומניה",RS:"סרביה",SA:"ערב הסעודית",SE:"שוודיה",SI:"סלובניה",SK:"סלובקיה",SM:"סן מרינו",SN:"סנגל",TL:"מזרח טימור",TN:"תוניסיה",TR:"טורקיה",VG:"איי הבתולה, בריטניה",XK:"רפובליקה של קוסובו"},country:"נא להזין מספר IBAN תקני ב%s",default:"נא להזין מספר IBAN תקין"},id:{countries:{BA:"בוסניה והרצגובינה",BG:"בולגריה",BR:"ברזיל",CH:"שווייץ",CL:"צילה",CN:"סין",CZ:"צכיה",DK:"דנמרק",EE:"אסטוניה",ES:"ספרד",FI:"פינלנד",HR:"קרואטיה",IE:"אירלנד",IS:"איסלנד",LT:"ליטא",LV:"לטביה",ME:"מונטנגרו",MK:"מקדוניה",NL:"הולנד",PL:"פולין",RO:"רומניה",RS:"סרביה",SE:"שוודיה",SI:"סלובניה",SK:"סלובקיה",SM:"סן מרינו",TH:"תאילנד",TR:"טורקיה",ZA:"דרום אפריקה"},country:"נא להזין מספר זהות תקני ב%s",default:"נא להזין מספר זהות תקין"},identical:{default:"נא להזין את הערך שנית"},imei:{default:"נא להזין מספר IMEI תקין"},imo:{default:"נא להזין מספר IMO תקין"},integer:{default:"נא להזין מספר תקין"},ip:{default:"נא להזין כתובת IP תקינה",ipv4:"נא להזין כתובת IPv4 תקינה",ipv6:"נא להזין כתובת IPv6 תקינה"},isbn:{default:"נא להזין מספר ISBN תקין"},isin:{default:"נא להזין מספר ISIN תקין"},ismn:{default:"נא להזין מספר ISMN תקין"},issn:{default:"נא להזין מספר ISSN תקין"},lessThan:{default:"נא להזין ערך קטן או שווה ל-%s",notInclusive:"נא להזין ערך קטן מ-%s"},mac:{default:"נא להזין מספר MAC תקין"},meid:{default:"נא להזין מספר MEID תקין"},notEmpty:{default:"נא להזין ערך"},numeric:{default:"נא להזין מספר עשרוני חוקי"},phone:{countries:{AE:"איחוד האמירויות הערבי",BG:"בולגריה",BR:"ברזיל",CN:"סין",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",ES:"ספרד",FR:"צרפת",GB:"בריטניה",IN:"הודו",MA:"מרוקו",NL:"הולנד",PK:"פקיסטן",RO:"רומניה",RU:"רוסיה",SK:"סלובקיה",TH:"תאילנד",US:"ארצות הברית",VE:"ונצואלה"},country:"נא להזין מספר טלפון תקין ב%s",default:"נא להין מספר טלפון תקין"},promise:{default:"נא להזין ערך תקין"},regexp:{default:"נא להזין ערך תואם לתבנית"},remote:{default:"נא להזין ערך תקין"},rtn:{default:"נא להזין מספר RTN תקין"},sedol:{default:"נא להזין מספר SEDOL תקין"},siren:{default:"נא להזין מספר SIREN תקין"},siret:{default:"נא להזין מספר SIRET תקין"},step:{default:"נא להזין שלב תקין מתוך %s"},stringCase:{default:"נא להזין אותיות קטנות בלבד",upper:"נא להזין אותיות גדולות בלבד"},stringLength:{between:"נא להזין ערך בין %s עד %s תווים",default:"נא להזין ערך באורך חוקי",less:"נא להזין ערך קטן מ-%s תווים",more:"נא להזין ערך גדול מ- %s תווים"},uri:{default:"נא להזין URI תקין"},uuid:{default:"נא להזין מספר UUID תקין",version:"נא להזין מספר UUID גרסה %s תקין"},vat:{countries:{AT:"אוסטריה",BE:"בלגיה",BG:"בולגריה",BR:"ברזיל",CH:"שווייץ",CY:"קפריסין",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",EE:"אסטוניה",EL:"יוון",ES:"ספרד",FI:"פינלנד",FR:"צרפת",GB:"בריטניה",GR:"יוון",HR:"קרואטיה",HU:"הונגריה",IE:"אירלנד",IS:"איסלנד",IT:"איטליה",LT:"ליטא",LU:"לוקסמבורג",LV:"לטביה",MT:"מלטה",NL:"הולנד",NO:"נורווגיה",PL:"פולין",PT:"פורטוגל",RO:"רומניה",RS:"סרביה",RU:"רוסיה",SE:"שוודיה",SI:"סלובניה",SK:"סלובקיה",VE:"ונצואלה",ZA:"דרום אפריקה"},country:"נא להזין מספר VAT תקין ב%s",default:"נא להזין מספר VAT תקין"},vin:{default:"נא להזין מספר VIN תקין"},zipCode:{countries:{AT:"אוסטריה",BG:"בולגריה",BR:"ברזיל",CA:"קנדה",CH:"שווייץ",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",ES:"ספרד",FR:"צרפת",GB:"בריטניה",IE:"אירלנד",IN:"הודו",IT:"איטליה",MA:"מרוקו",NL:"הולנד",PL:"פולין",PT:"פורטוגל",RO:"רומניה",RU:"רוסיה",SE:"שוודיה",SG:"סינגפור",SK:"סלובקיה",US:"ארצות הברית"},country:"נא להזין מיקוד תקין ב%s",default:"נא להזין מיקוד תקין"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/hi_IN.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/hi_IN.js new file mode 100644 index 0000000..880b15b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/hi_IN.js @@ -0,0 +1 @@ +export default{base64:{default:"कृपया एक वैध 64 इनकोडिंग मूल्यांक प्रविष्ट करें"},between:{default:"कृपया %s और %s के बीच एक मूल्यांक प्रविष्ट करें",notInclusive:"कृपया सिर्फ़ %s और %s के बीच मूल्यांक प्रविष्ट करें"},bic:{default:"कृपया एक वैध BIC संख्या प्रविष्ट करें"},callback:{default:"कृपया एक वैध मूल्यांक प्रविष्ट करें"},choice:{between:"कृपया %s और %s के बीच विकल्पों का चयन करें",default:"कृपया एक वैध मूल्यांक प्रविष्ट करें",less:"कृपया कम से कम %s विकल्पों का चयन करें",more:"कृपया अधिकतम %s विकल्पों का चयन करें"},color:{default:"कृपया एक वैध रंग प्रविष्ट करें"},creditCard:{default:"कृपया एक वैध क्रेडिट कार्ड संख्या प्रविष्ट करें"},cusip:{default:"कृपया एक वैध CUSIP संख्या प्रविष्ट करें"},date:{default:"कृपया एक वैध दिनांक प्रविष्ट करें",max:"कृपया %s के पहले एक वैध दिनांक प्रविष्ट करें",min:"कृपया %s के बाद एक वैध दिनांक प्रविष्ट करें",range:"कृपया %s से %s के बीच एक वैध दिनांक प्रविष्ट करें"},different:{default:"कृपया एक अलग मूल्यांक प्रविष्ट करें"},digits:{default:"कृपया केवल अंक प्रविष्ट करें"},ean:{default:"कृपया एक वैध EAN संख्या प्रविष्ट करें"},ein:{default:"कृपया एक वैध EIN संख्या प्रविष्ट करें"},emailAddress:{default:"कृपया एक वैध ईमेल पता प्रविष्ट करें"},file:{default:"कृपया एक वैध फ़ाइल का चयन करें"},greaterThan:{default:"कृपया %s से अधिक या बराबर एक मूल्यांक प्रविष्ट करें",notInclusive:"कृपया %s से अधिक एक मूल्यांक प्रविष्ट करें"},grid:{default:"कृपया एक वैध GRID संख्या प्रविष्ट करें"},hex:{default:"कृपया एक वैध हेक्साडेसिमल संख्या प्रविष्ट करें"},iban:{countries:{AD:"अंडोरा",AE:"संयुक्त अरब अमीरात",AL:"अल्बानिया",AO:"अंगोला",AT:"ऑस्ट्रिया",AZ:"अज़रबैजान",BA:"बोस्निया और हर्जेगोविना",BE:"बेल्जियम",BF:"बुर्किना फासो",BG:"बुल्गारिया",BH:"बहरीन",BI:"बुस्र्न्दी",BJ:"बेनिन",BR:"ब्राज़िल",CH:"स्विट्जरलैंड",CI:"आइवरी कोस्ट",CM:"कैमरून",CR:"कोस्टा रिका",CV:"केप वर्डे",CY:"साइप्रस",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",DO:"डोमिनिकन गणराज्य",DZ:"एलजीरिया",EE:"एस्तोनिया",ES:"स्पेन",FI:"फिनलैंड",FO:"फरो आइलैंड्स",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",GE:"जॉर्जिया",GI:"जिब्राल्टर",GL:"ग्रीनलैंड",GR:"ग्रीस",GT:"ग्वाटेमाला",HR:"क्रोएशिया",HU:"हंगरी",IE:"आयरलैंड",IL:"इज़राइल",IR:"ईरान",IS:"आइसलैंड",IT:"इटली",JO:"जॉर्डन",KW:"कुवैत",KZ:"कजाखस्तान",LB:"लेबनान",LI:"लिकटेंस्टीन",LT:"लिथुआनिया",LU:"लक्समबर्ग",LV:"लाटविया",MC:"मोनाको",MD:"माल्डोवा",ME:"मॉन्टेंगरो",MG:"मेडागास्कर",MK:"मैसेडोनिया",ML:"माली",MR:"मॉरिटानिया",MT:"माल्टा",MU:"मॉरीशस",MZ:"मोज़ाम्बिक",NL:"नीदरलैंड",NO:"नॉर्वे",PK:"पाकिस्तान",PL:"पोलैंड",PS:"फिलिस्तीन",PT:"पुर्तगाल",QA:"क़तर",RO:"रोमानिया",RS:"सर्बिया",SA:"सऊदी अरब",SE:"स्वीडन",SI:"स्लोवेनिया",SK:"स्लोवाकिया",SM:"सैन मैरिनो",SN:"सेनेगल",TL:"पूर्वी तिमोर",TN:"ट्यूनीशिया",TR:"तुर्की",VG:"वर्जिन आइलैंड्स, ब्रिटिश",XK:"कोसोवो गणराज्य"},country:"कृपया %s में एक वैध IBAN संख्या प्रविष्ट करें",default:"कृपया एक वैध IBAN संख्या प्रविष्ट करें"},id:{countries:{BA:"बोस्निया और हर्जेगोविना",BG:"बुल्गारिया",BR:"ब्राज़िल",CH:"स्विट्जरलैंड",CL:"चिली",CN:"चीन",CZ:"चेक रिपब्लिक",DK:"डेनमार्क",EE:"एस्तोनिया",ES:"स्पेन",FI:"फिनलैंड",HR:"क्रोएशिया",IE:"आयरलैंड",IS:"आइसलैंड",LT:"लिथुआनिया",LV:"लाटविया",ME:"मोंटेनेग्रो",MK:"मैसेडोनिया",NL:"नीदरलैंड",PL:"पोलैंड",RO:"रोमानिया",RS:"सर्बिया",SE:"स्वीडन",SI:"स्लोवेनिया",SK:"स्लोवाकिया",SM:"सैन मैरिनो",TH:"थाईलैंड",TR:"तुर्की",ZA:"दक्षिण अफ्रीका"},country:"कृपया %s में एक वैध पहचान संख्या प्रविष्ट करें",default:"कृपया एक वैध पहचान संख्या प्रविष्ट करें"},identical:{default:"कृपया वही मूल्यांक दोबारा प्रविष्ट करें"},imei:{default:"कृपया एक वैध IMEI संख्या प्रविष्ट करें"},imo:{default:"कृपया एक वैध IMO संख्या प्रविष्ट करें"},integer:{default:"कृपया एक वैध संख्या प्रविष्ट करें"},ip:{default:"कृपया एक वैध IP पता प्रविष्ट करें",ipv4:"कृपया एक वैध IPv4 पता प्रविष्ट करें",ipv6:"कृपया एक वैध IPv6 पता प्रविष्ट करें"},isbn:{default:"कृपया एक वैध ISBN संख्या दर्ज करें"},isin:{default:"कृपया एक वैध ISIN संख्या दर्ज करें"},ismn:{default:"कृपया एक वैध ISMN संख्या दर्ज करें"},issn:{default:"कृपया एक वैध ISSN संख्या दर्ज करें"},lessThan:{default:"कृपया %s से कम या बराबर एक मूल्यांक प्रविष्ट करें",notInclusive:"कृपया %s से कम एक मूल्यांक प्रविष्ट करें"},mac:{default:"कृपया एक वैध MAC पता प्रविष्ट करें"},meid:{default:"कृपया एक वैध MEID संख्या प्रविष्ट करें"},notEmpty:{default:"कृपया एक मूल्यांक प्रविष्ट करें"},numeric:{default:"कृपया एक वैध दशमलव संख्या प्रविष्ट करें"},phone:{countries:{AE:"संयुक्त अरब अमीरात",BG:"बुल्गारिया",BR:"ब्राज़िल",CN:"चीन",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",ES:"स्पेन",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",IN:"भारत",MA:"मोरक्को",NL:"नीदरलैंड",PK:"पाकिस्तान",RO:"रोमानिया",RU:"रुस",SK:"स्लोवाकिया",TH:"थाईलैंड",US:"अमेरीका",VE:"वेनेजुएला"},country:"कृपया %s में एक वैध फ़ोन नंबर प्रविष्ट करें",default:"कृपया एक वैध फ़ोन नंबर प्रविष्ट करें"},promise:{default:"कृपया एक वैध मूल्यांक प्रविष्ट करें"},regexp:{default:"कृपया पैटर्न से मेल खाते एक मूल्यांक प्रविष्ट करें"},remote:{default:"कृपया एक वैध मूल्यांक प्रविष्ट करें"},rtn:{default:"कृपया एक वैध RTN संख्या प्रविष्ट करें"},sedol:{default:"कृपया एक वैध SEDOL संख्या प्रविष्ट करें"},siren:{default:"कृपया एक वैध SIREN संख्या प्रविष्ट करें"},siret:{default:"कृपया एक वैध SIRET संख्या प्रविष्ट करें"},step:{default:"%s के एक गुणज मूल्यांक प्रविष्ट करें"},stringCase:{default:"कृपया केवल छोटे पात्रों का प्रविष्ट करें",upper:"कृपया केवल बड़े पात्रों का प्रविष्ट करें"},stringLength:{between:"कृपया %s से %s के बीच लंबाई का एक मूल्यांक प्रविष्ट करें",default:"कृपया वैध लंबाई का एक मूल्यांक प्रविष्ट करें",less:"कृपया %s से कम पात्रों को प्रविष्ट करें",more:"कृपया %s से अधिक पात्रों को प्रविष्ट करें"},uri:{default:"कृपया एक वैध URI प्रविष्ट करें"},uuid:{default:"कृपया एक वैध UUID संख्या प्रविष्ट करें",version:"कृपया एक वैध UUID संस्करण %s संख्या प्रविष्ट करें"},vat:{countries:{AT:"ऑस्ट्रिया",BE:"बेल्जियम",BG:"बुल्गारिया",BR:"ब्राज़िल",CH:"स्विट्जरलैंड",CY:"साइप्रस",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",EE:"एस्तोनिया",EL:"ग्रीस",ES:"स्पेन",FI:"फिनलैंड",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",GR:"ग्रीस",HR:"क्रोएशिया",HU:"हंगरी",IE:"आयरलैंड",IS:"आइसलैंड",IT:"इटली",LT:"लिथुआनिया",LU:"लक्समबर्ग",LV:"लाटविया",MT:"माल्टा",NL:"नीदरलैंड",NO:"नॉर्वे",PL:"पोलैंड",PT:"पुर्तगाल",RO:"रोमानिया",RS:"सर्बिया",RU:"रुस",SE:"स्वीडन",SI:"स्लोवेनिया",SK:"स्लोवाकिया",VE:"वेनेजुएला",ZA:"दक्षिण अफ्रीका"},country:"कृपया एक वैध VAT संख्या %s मे प्रविष्ट करें",default:"कृपया एक वैध VAT संख्या प्रविष्ट करें"},vin:{default:"कृपया एक वैध VIN संख्या प्रविष्ट करें"},zipCode:{countries:{AT:"ऑस्ट्रिया",BG:"बुल्गारिया",BR:"ब्राज़िल",CA:"कनाडा",CH:"स्विट्जरलैंड",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",ES:"स्पेन",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",IE:"आयरलैंड",IN:"भारत",IT:"इटली",MA:"मोरक्को",NL:"नीदरलैंड",PL:"पोलैंड",PT:"पुर्तगाल",RO:"रोमानिया",RU:"रुस",SE:"स्वीडन",SG:"सिंगापुर",SK:"स्लोवाकिया",US:"अमेरीका"},country:"कृपया एक वैध डाक कोड %s मे प्रविष्ट करें",default:"कृपया एक वैध डाक कोड प्रविष्ट करें"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/hu_HU.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/hu_HU.js new file mode 100644 index 0000000..46119e5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/hu_HU.js @@ -0,0 +1 @@ +export default{base64:{default:"Kérlek, hogy érvényes base 64 karakter láncot adj meg"},between:{default:"Kérlek, hogy %s és %s között adj meg értéket",notInclusive:"Kérlek, hogy %s és %s között adj meg értéket"},bic:{default:"Kérlek, hogy érvényes BIC számot adj meg"},callback:{default:"Kérlek, hogy érvényes értéket adj meg"},choice:{between:"Kérlek, hogy válassz %s - %s lehetőséget",default:"Kérlek, hogy érvényes értéket adj meg",less:"Kérlek, hogy legalább %s lehetőséget válassz ki",more:"Kérlek, hogy maximum %s lehetőséget válassz ki"},color:{default:"Kérlek, hogy érvényes színt adj meg"},creditCard:{default:"Kérlek, hogy érvényes bankkártya számot adj meg"},cusip:{default:"Kérlek, hogy érvényes CUSIP számot adj meg"},date:{default:"Kérlek, hogy érvényes dátumot adj meg",max:"Kérlek, hogy %s -nál korábbi dátumot adj meg",min:"Kérlek, hogy %s -nál későbbi dátumot adj meg",range:"Kérlek, hogy %s - %s között adj meg dátumot"},different:{default:"Kérlek, hogy egy másik értéket adj meg"},digits:{default:"Kérlek, hogy csak számot adj meg"},ean:{default:"Kérlek, hogy érvényes EAN számot adj meg"},ein:{default:"Kérlek, hogy érvényes EIN számot adj meg"},emailAddress:{default:"Kérlek, hogy érvényes email címet adj meg"},file:{default:"Kérlek, hogy érvényes fájlt válassz"},greaterThan:{default:"Kérlek, hogy ezzel (%s) egyenlő vagy nagyobb számot adj meg",notInclusive:"Kérlek, hogy ennél (%s) nagyobb számot adj meg"},grid:{default:"Kérlek, hogy érvényes GRId számot adj meg"},hex:{default:"Kérlek, hogy érvényes hexadecimális számot adj meg"},iban:{countries:{AD:"az Andorrai Fejedelemségben",AE:"az Egyesült Arab Emírségekben",AL:"Albániában",AO:"Angolában",AT:"Ausztriában",AZ:"Azerbadjzsánban",BA:"Bosznia-Hercegovinában",BE:"Belgiumban",BF:"Burkina Fasoban",BG:"Bulgáriában",BH:"Bahreinben",BI:"Burundiban",BJ:"Beninben",BR:"Brazíliában",CH:"Svájcban",CI:"az Elefántcsontparton",CM:"Kamerunban",CR:"Costa Ricán",CV:"Zöld-foki Köztársaságban",CY:"Cypruson",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",DO:"Dominikán",DZ:"Algériában",EE:"Észtországban",ES:"Spanyolországban",FI:"Finnországban",FO:"a Feröer-szigeteken",FR:"Franciaországban",GB:"az Egyesült Királyságban",GE:"Grúziában",GI:"Gibraltáron",GL:"Grönlandon",GR:"Görögországban",GT:"Guatemalában",HR:"Horvátországban",HU:"Magyarországon",IE:"Írországban",IL:"Izraelben",IR:"Iránban",IS:"Izlandon",IT:"Olaszországban",JO:"Jordániában",KW:"Kuvaitban",KZ:"Kazahsztánban",LB:"Libanonban",LI:"Liechtensteinben",LT:"Litvániában",LU:"Luxemburgban",LV:"Lettországban",MC:"Monacóban",MD:"Moldovában",ME:"Montenegróban",MG:"Madagaszkáron",MK:"Macedóniában",ML:"Malin",MR:"Mauritániában",MT:"Máltán",MU:"Mauritiuson",MZ:"Mozambikban",NL:"Hollandiában",NO:"Norvégiában",PK:"Pakisztánban",PL:"Lengyelországban",PS:"Palesztinában",PT:"Portugáliában",QA:"Katarban",RO:"Romániában",RS:"Szerbiában",SA:"Szaúd-Arábiában",SE:"Svédországban",SI:"Szlovéniában",SK:"Szlovákiában",SM:"San Marinoban",SN:"Szenegálban",TL:"Kelet-Timor",TN:"Tunéziában",TR:"Törökországban",VG:"Britt Virgin szigeteken",XK:"Koszovói Köztársaság"},country:"Kérlek, hogy %s érvényes IBAN számot adj meg",default:"Kérlek, hogy érvényes IBAN számot adj meg"},id:{countries:{BA:"Bosznia-Hercegovinában",BG:"Bulgáriában",BR:"Brazíliában",CH:"Svájcban",CL:"Chilében",CN:"Kínában",CZ:"Csehországban",DK:"Dániában",EE:"Észtországban",ES:"Spanyolországban",FI:"Finnországban",HR:"Horvátországban",IE:"Írországban",IS:"Izlandon",LT:"Litvániában",LV:"Lettországban",ME:"Montenegróban",MK:"Macedóniában",NL:"Hollandiában",PL:"Lengyelországban",RO:"Romániában",RS:"Szerbiában",SE:"Svédországban",SI:"Szlovéniában",SK:"Szlovákiában",SM:"San Marinoban",TH:"Thaiföldön",TR:"Törökországban",ZA:"Dél-Afrikában"},country:"Kérlek, hogy %s érvényes személy azonosító számot adj meg",default:"Kérlek, hogy érvényes személy azonosító számot adj meg"},identical:{default:"Kérlek, hogy ugyan azt az értéket add meg"},imei:{default:"Kérlek, hogy érvényes IMEI számot adj meg"},imo:{default:"Kérlek, hogy érvényes IMO számot adj meg"},integer:{default:"Kérlek, hogy számot adj meg"},ip:{default:"Kérlek, hogy IP címet adj meg",ipv4:"Kérlek, hogy érvényes IPv4 címet adj meg",ipv6:"Kérlek, hogy érvényes IPv6 címet adj meg"},isbn:{default:"Kérlek, hogy érvényes ISBN számot adj meg"},isin:{default:"Kérlek, hogy érvényes ISIN számot adj meg"},ismn:{default:"Kérlek, hogy érvényes ISMN számot adj meg"},issn:{default:"Kérlek, hogy érvényes ISSN számot adj meg"},lessThan:{default:"Kérlek, hogy adj meg egy számot ami kisebb vagy egyenlő mint %s",notInclusive:"Kérlek, hogy adj meg egy számot ami kisebb mint %s"},mac:{default:"Kérlek, hogy érvényes MAC címet adj meg"},meid:{default:"Kérlek, hogy érvényes MEID számot adj meg"},notEmpty:{default:"Kérlek, hogy adj értéket a mezőnek"},numeric:{default:"Please enter a valid float number"},phone:{countries:{AE:"az Egyesült Arab Emírségekben",BG:"Bulgáriában",BR:"Brazíliában",CN:"Kínában",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",ES:"Spanyolországban",FR:"Franciaországban",GB:"az Egyesült Királyságban",IN:"India",MA:"Marokkóban",NL:"Hollandiában",PK:"Pakisztánban",RO:"Romániában",RU:"Oroszországban",SK:"Szlovákiában",TH:"Thaiföldön",US:"az Egyesült Államokban",VE:"Venezuelában"},country:"Kérlek, hogy %s érvényes telefonszámot adj meg",default:"Kérlek, hogy érvényes telefonszámot adj meg"},promise:{default:"Kérlek, hogy érvényes értéket adj meg"},regexp:{default:"Kérlek, hogy a mintának megfelelő értéket adj meg"},remote:{default:"Kérlek, hogy érvényes értéket adj meg"},rtn:{default:"Kérlek, hogy érvényes RTN számot adj meg"},sedol:{default:"Kérlek, hogy érvényes SEDOL számot adj meg"},siren:{default:"Kérlek, hogy érvényes SIREN számot adj meg"},siret:{default:"Kérlek, hogy érvényes SIRET számot adj meg"},step:{default:"Kérlek, hogy érvényes lépteket adj meg (%s)"},stringCase:{default:"Kérlek, hogy csak kisbetüket adj meg",upper:"Kérlek, hogy csak nagy betüket adj meg"},stringLength:{between:"Kérlek, hogy legalább %s, de maximum %s karaktert adj meg",default:"Kérlek, hogy érvényes karakter hosszúsággal adj meg értéket",less:"Kérlek, hogy kevesebb mint %s karaktert adj meg",more:"Kérlek, hogy több mint %s karaktert adj meg"},uri:{default:"Kérlek, hogy helyes URI -t adj meg"},uuid:{default:"Kérlek, hogy érvényes UUID számot adj meg",version:"Kérlek, hogy érvényes UUID verzió %s számot adj meg"},vat:{countries:{AT:"Ausztriában",BE:"Belgiumban",BG:"Bulgáriában",BR:"Brazíliában",CH:"Svájcban",CY:"Cipruson",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",EE:"Észtországban",EL:"Görögországban",ES:"Spanyolországban",FI:"Finnországban",FR:"Franciaországban",GB:"az Egyesült Királyságban",GR:"Görögországban",HR:"Horvátországban",HU:"Magyarországon",IE:"Írországban",IS:"Izlandon",IT:"Olaszországban",LT:"Litvániában",LU:"Luxemburgban",LV:"Lettországban",MT:"Máltán",NL:"Hollandiában",NO:"Norvégiában",PL:"Lengyelországban",PT:"Portugáliában",RO:"Romániában",RS:"Szerbiában",RU:"Oroszországban",SE:"Svédországban",SI:"Szlovéniában",SK:"Szlovákiában",VE:"Venezuelában",ZA:"Dél-Afrikában"},country:"Kérlek, hogy %s helyes adószámot adj meg",default:"Kérlek, hogy helyes adó számot adj meg"},vin:{default:"Kérlek, hogy érvényes VIN számot adj meg"},zipCode:{countries:{AT:"Ausztriában",BG:"Bulgáriában",BR:"Brazíliában",CA:"Kanadában",CH:"Svájcban",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",ES:"Spanyolországban",FR:"Franciaországban",GB:"az Egyesült Királyságban",IE:"Írországban",IN:"India",IT:"Olaszországban",MA:"Marokkóban",NL:"Hollandiában",PL:"Lengyelországban",PT:"Portugáliában",RO:"Romániában",RU:"Oroszországban",SE:"Svájcban",SG:"Szingapúrban",SK:"Szlovákiában",US:"Egyesült Államok beli"},country:"Kérlek, hogy %s érvényes irányítószámot adj meg",default:"Kérlek, hogy érvényes irányítószámot adj meg"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/id_ID.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/id_ID.js new file mode 100644 index 0000000..4bcd461 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/id_ID.js @@ -0,0 +1 @@ +export default{base64:{default:"Silahkan isi karakter base 64 tersandi yang valid"},between:{default:"Silahkan isi nilai antara %s dan %s",notInclusive:"Silahkan isi nilai antara %s dan %s, strictly"},bic:{default:"Silahkan isi nomor BIC yang valid"},callback:{default:"Silahkan isi nilai yang valid"},choice:{between:"Silahkan pilih pilihan %s - %s",default:"Silahkan isi nilai yang valid",less:"Silahkan pilih pilihan %s pada minimum",more:"Silahkan pilih pilihan %s pada maksimum"},color:{default:"Silahkan isi karakter warna yang valid"},creditCard:{default:"Silahkan isi nomor kartu kredit yang valid"},cusip:{default:"Silahkan isi nomor CUSIP yang valid"},date:{default:"Silahkan isi tanggal yang benar",max:"Silahkan isi tanggal sebelum tanggal %s",min:"Silahkan isi tanggal setelah tanggal %s",range:"Silahkan isi tanggal antara %s - %s"},different:{default:"Silahkan isi nilai yang berbeda"},digits:{default:"Silahkan isi dengan hanya digit"},ean:{default:"Silahkan isi nomor EAN yang valid"},ein:{default:"Silahkan isi nomor EIN yang valid"},emailAddress:{default:"Silahkan isi alamat email yang valid"},file:{default:"Silahkan pilih file yang valid"},greaterThan:{default:"Silahkan isi nilai yang lebih besar atau sama dengan %s",notInclusive:"Silahkan is nilai yang lebih besar dari %s"},grid:{default:"Silahkan nomor GRId yang valid"},hex:{default:"Silahkan isi karakter hexadecimal yang valid"},iban:{countries:{AD:"Andorra",AE:"Uni Emirat Arab",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Switzerland",CI:"Pantai Gading",CM:"Kamerun",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech",DE:"Jerman",DK:"Denmark",DO:"Republik Dominika",DZ:"Algeria",EE:"Estonia",ES:"Spanyol",FI:"Finlandia",FO:"Faroe Islands",FR:"Francis",GB:"Inggris",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Yunani",GT:"Guatemala",HR:"Kroasia",HU:"Hungary",IE:"Irlandia",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Italia",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Netherlands",NO:"Norway",PK:"Pakistan",PL:"Polandia",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Swedia",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"Timor Leste",TN:"Tunisia",TR:"Turki",VG:"Virgin Islands, British",XK:"Kosovo"},country:"Silahkan isi nomor IBAN yang valid dalam %s",default:"silahkan isi nomor IBAN yang valid"},id:{countries:{BA:"Bosnia and Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CL:"Chile",CN:"Cina",CZ:"Czech",DK:"Denmark",EE:"Estonia",ES:"Spanyol",FI:"Finlandia",HR:"Kroasia",IE:"Irlandia",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Netherlands",PL:"Polandia",RO:"Romania",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",TR:"Turki",ZA:"Africa Selatan"},country:"Silahkan isi nomor identitas yang valid dalam %s",default:"Silahkan isi nomor identitas yang valid"},identical:{default:"Silahkan isi nilai yang sama"},imei:{default:"Silahkan isi nomor IMEI yang valid"},imo:{default:"Silahkan isi nomor IMO yang valid"},integer:{default:"Silahkan isi angka yang valid"},ip:{default:"Silahkan isi alamat IP yang valid",ipv4:"Silahkan isi alamat IPv4 yang valid",ipv6:"Silahkan isi alamat IPv6 yang valid"},isbn:{default:"Slilahkan isi nomor ISBN yang valid"},isin:{default:"Silahkan isi ISIN yang valid"},ismn:{default:"Silahkan isi nomor ISMN yang valid"},issn:{default:"Silahkan isi nomor ISSN yang valid"},lessThan:{default:"Silahkan isi nilai kurang dari atau sama dengan %s",notInclusive:"Silahkan isi nilai kurang dari %s"},mac:{default:"Silahkan isi MAC address yang valid"},meid:{default:"Silahkan isi nomor MEID yang valid"},notEmpty:{default:"Silahkan isi"},numeric:{default:"Silahkan isi nomor yang valid"},phone:{countries:{AE:"Uni Emirat Arab",BG:"Bulgaria",BR:"Brazil",CN:"Cina",CZ:"Czech",DE:"Jerman",DK:"Denmark",ES:"Spanyol",FR:"Francis",GB:"Inggris",IN:"India",MA:"Maroko",NL:"Netherlands",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovakia",TH:"Thailand",US:"Amerika Serikat",VE:"Venezuela"},country:"Silahkan isi nomor telepon yang valid dalam %s",default:"Silahkan isi nomor telepon yang valid"},promise:{default:"Silahkan isi nilai yang valid"},regexp:{default:"Silahkan isi nilai yang cocok dengan pola"},remote:{default:"Silahkan isi nilai yang valid"},rtn:{default:"Silahkan isi nomor RTN yang valid"},sedol:{default:"Silahkan isi nomor SEDOL yang valid"},siren:{default:"Silahkan isi nomor SIREN yang valid"},siret:{default:"Silahkan isi nomor SIRET yang valid"},step:{default:"Silahkan isi langkah yang benar pada %s"},stringCase:{default:"Silahkan isi hanya huruf kecil",upper:"Silahkan isi hanya huruf besar"},stringLength:{between:"Silahkan isi antara %s dan %s panjang karakter",default:"Silahkan isi nilai dengan panjang karakter yang benar",less:"Silahkan isi kurang dari %s karakter",more:"Silahkan isi lebih dari %s karakter"},uri:{default:"Silahkan isi URI yang valid"},uuid:{default:"Silahkan isi nomor UUID yang valid",version:"Silahkan si nomor versi %s UUID yang valid"},vat:{countries:{AT:"Austria",BE:"Belgium",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CY:"Cyprus",CZ:"Czech",DE:"Jerman",DK:"Denmark",EE:"Estonia",EL:"Yunani",ES:"Spanyol",FI:"Finlandia",FR:"Francis",GB:"Inggris",GR:"Yunani",HR:"Kroasia",HU:"Hungaria",IE:"Irlandia",IS:"Iceland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Belanda",NO:"Norway",PL:"Polandia",PT:"Portugal",RO:"Romania",RS:"Serbia",RU:"Russia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Afrika Selatan"},country:"Silahkan nomor VAT yang valid dalam %s",default:"Silahkan isi nomor VAT yang valid"},vin:{default:"Silahkan isi nomor VIN yang valid"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brazil",CA:"Kanada",CH:"Switzerland",CZ:"Czech",DE:"Jerman",DK:"Denmark",ES:"Spanyol",FR:"Francis",GB:"Inggris",IE:"Irlandia",IN:"India",IT:"Italia",MA:"Maroko",NL:"Belanda",PL:"Polandia",PT:"Portugal",RO:"Romania",RU:"Russia",SE:"Sweden",SG:"Singapura",SK:"Slovakia",US:"Amerika Serikat"},country:"Silahkan isi kode pos yang valid di %s",default:"Silahkan isi kode pos yang valid"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/it_IT.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/it_IT.js new file mode 100644 index 0000000..cd573a2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/it_IT.js @@ -0,0 +1 @@ +export default{base64:{default:"Si prega di inserire un valore codificato in Base 64"},between:{default:"Si prega di inserire un valore tra %s e %s",notInclusive:"Si prega di scegliere rigorosamente un valore tra %s e %s"},bic:{default:"Si prega di inserire un numero BIC valido"},callback:{default:"Si prega di inserire un valore valido"},choice:{between:"Si prega di scegliere l'opzione tra %s e %s",default:"Si prega di inserire un valore valido",less:"Si prega di scegliere come minimo l'opzione %s",more:"Si prega di scegliere al massimo l'opzione %s"},color:{default:"Si prega di inserire un colore valido"},creditCard:{default:"Si prega di inserire un numero di carta di credito valido"},cusip:{default:"Si prega di inserire un numero CUSIP valido"},date:{default:"Si prega di inserire una data valida",max:"Si prega di inserire una data antecedente il %s",min:"Si prega di inserire una data successiva al %s",range:"Si prega di inserire una data compresa tra %s - %s"},different:{default:"Si prega di inserire un valore differente"},digits:{default:"Si prega di inserire solo numeri"},ean:{default:"Si prega di inserire un numero EAN valido"},ein:{default:"Si prega di inserire un numero EIN valido"},emailAddress:{default:"Si prega di inserire un indirizzo email valido"},file:{default:"Si prega di scegliere un file valido"},greaterThan:{default:"Si prega di inserire un numero maggiore o uguale a %s",notInclusive:"Si prega di inserire un numero maggiore di %s"},grid:{default:"Si prega di inserire un numero GRId valido"},hex:{default:"Si prega di inserire un numero esadecimale valido"},iban:{countries:{AD:"Andorra",AE:"Emirati Arabi Uniti",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia-Erzegovina",BE:"Belgio",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasile",CH:"Svizzera",CI:"Costa d'Avorio",CM:"Cameron",CR:"Costa Rica",CV:"Capo Verde",CY:"Cipro",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",DO:"Repubblica Domenicana",DZ:"Algeria",EE:"Estonia",ES:"Spagna",FI:"Finlandia",FO:"Isole Faroe",FR:"Francia",GB:"Regno Unito",GE:"Georgia",GI:"Gibilterra",GL:"Groenlandia",GR:"Grecia",GT:"Guatemala",HR:"Croazia",HU:"Ungheria",IE:"Irlanda",IL:"Israele",IR:"Iran",IS:"Islanda",IT:"Italia",JO:"Giordania",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libano",LI:"Liechtenstein",LT:"Lituania",LU:"Lussemburgo",LV:"Lettonia",MC:"Monaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambico",NL:"Olanda",NO:"Norvegia",PK:"Pachistan",PL:"Polonia",PS:"Palestina",PT:"Portogallo",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Arabia Saudita",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",SM:"San Marino",SN:"Senegal",TL:"Timor Est",TN:"Tunisia",TR:"Turchia",VG:"Isole Vergini, Inghilterra",XK:"Repubblica del Kosovo"},country:"Si prega di inserire un numero IBAN valido per %s",default:"Si prega di inserire un numero IBAN valido"},id:{countries:{BA:"Bosnia-Erzegovina",BG:"Bulgaria",BR:"Brasile",CH:"Svizzera",CL:"Chile",CN:"Cina",CZ:"Republica Ceca",DK:"Danimarca",EE:"Estonia",ES:"Spagna",FI:"Finlandia",HR:"Croazia",IE:"Irlanda",IS:"Islanda",LT:"Lituania",LV:"Lettonia",ME:"Montenegro",MK:"Macedonia",NL:"Paesi Bassi",PL:"Polonia",RO:"Romania",RS:"Serbia",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",SM:"San Marino",TH:"Thailandia",TR:"Turchia",ZA:"Sudafrica"},country:"Si prega di inserire un numero di identificazione valido per %s",default:"Si prega di inserire un numero di identificazione valido"},identical:{default:"Si prega di inserire un valore identico"},imei:{default:"Si prega di inserire un numero IMEI valido"},imo:{default:"Si prega di inserire un numero IMO valido"},integer:{default:"Si prega di inserire un numero valido"},ip:{default:"Please enter a valid IP address",ipv4:"Si prega di inserire un indirizzo IPv4 valido",ipv6:"Si prega di inserire un indirizzo IPv6 valido"},isbn:{default:"Si prega di inserire un numero ISBN valido"},isin:{default:"Si prega di inserire un numero ISIN valido"},ismn:{default:"Si prega di inserire un numero ISMN valido"},issn:{default:"Si prega di inserire un numero ISSN valido"},lessThan:{default:"Si prega di inserire un valore minore o uguale a %s",notInclusive:"Si prega di inserire un valore minore di %s"},mac:{default:"Si prega di inserire un valido MAC address"},meid:{default:"Si prega di inserire un numero MEID valido"},notEmpty:{default:"Si prega di non lasciare il campo vuoto"},numeric:{default:"Si prega di inserire un numero con decimali valido"},phone:{countries:{AE:"Emirati Arabi Uniti",BG:"Bulgaria",BR:"Brasile",CN:"Cina",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",ES:"Spagna",FR:"Francia",GB:"Regno Unito",IN:"India",MA:"Marocco",NL:"Olanda",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovacchia",TH:"Thailandia",US:"Stati Uniti d'America",VE:"Venezuelano"},country:"Si prega di inserire un numero di telefono valido per %s",default:"Si prega di inserire un numero di telefono valido"},promise:{default:"Si prega di inserire un valore valido"},regexp:{default:"Inserisci un valore che corrisponde al modello"},remote:{default:"Si prega di inserire un valore valido"},rtn:{default:"Si prega di inserire un numero RTN valido"},sedol:{default:"Si prega di inserire un numero SEDOL valido"},siren:{default:"Si prega di inserire un numero SIREN valido"},siret:{default:"Si prega di inserire un numero SIRET valido"},step:{default:"Si prega di inserire uno step valido di %s"},stringCase:{default:"Si prega di inserire solo caratteri minuscoli",upper:"Si prega di inserire solo caratteri maiuscoli"},stringLength:{between:"Si prega di inserire un numero di caratteri compreso tra %s e %s",default:"Si prega di inserire un valore con lunghezza valida",less:"Si prega di inserire meno di %s caratteri",more:"Si prega di inserire piu di %s caratteri"},uri:{default:"Si prega di inserire un URI valido"},uuid:{default:"Si prega di inserire un numero UUID valido",version:"Si prega di inserire un numero di versione UUID %s valido"},vat:{countries:{AT:"Austria",BE:"Belgio",BG:"Bulgaria",BR:"Brasiliano",CH:"Svizzera",CY:"Cipro",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",EE:"Estonia",EL:"Grecia",ES:"Spagna",FI:"Finlandia",FR:"Francia",GB:"Regno Unito",GR:"Grecia",HR:"Croazia",HU:"Ungheria",IE:"Irlanda",IS:"Islanda",IT:"Italia",LT:"Lituania",LU:"Lussemburgo",LV:"Lettonia",MT:"Malta",NL:"Olanda",NO:"Norvegia",PL:"Polonia",PT:"Portogallo",RO:"Romania",RS:"Serbia",RU:"Russia",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",VE:"Venezuelano",ZA:"Sud Africano"},country:"Si prega di inserire un valore di IVA valido per %s",default:"Si prega di inserire un valore di IVA valido"},vin:{default:"Si prega di inserire un numero VIN valido"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasile",CA:"Canada",CH:"Svizzera",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",ES:"Spagna",FR:"Francia",GB:"Regno Unito",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Marocco",NL:"Paesi Bassi",PL:"Polonia",PT:"Portogallo",RO:"Romania",RU:"Russia",SE:"Svezia",SG:"Singapore",SK:"Slovacchia",US:"Stati Uniti d'America"},country:"Si prega di inserire un codice postale valido per %s",default:"Si prega di inserire un codice postale valido"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/ja_JP.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ja_JP.js new file mode 100644 index 0000000..77cf654 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ja_JP.js @@ -0,0 +1 @@ +export default{base64:{default:"有効なBase64エンコードを入力してください"},between:{default:"%sから%sの間で入力してください",notInclusive:"厳密に%sから%sの間で入力してください"},bic:{default:"有効なBICコードを入力してください"},callback:{default:"有効な値を入力してください"},choice:{between:"%s - %s で選択してください",default:"有効な値を入力してください",less:"最低でも%sを選択してください",more:"最大でも%sを選択してください"},color:{default:"有効なカラーコードを入力してください"},creditCard:{default:"有効なクレジットカード番号を入力してください"},cusip:{default:"有効なCUSIP番号を入力してください"},date:{default:"有効な日付を入力してください",max:"%s の前に有効な日付を入力してください",min:"%s 後に有効な日付を入力してください",range:"%s - %s の間に有効な日付を入力してください"},different:{default:"異なる値を入力してください"},digits:{default:"数字のみで入力してください"},ean:{default:"有効なEANコードを入力してください"},ein:{default:"有効なEINコードを入力してください"},emailAddress:{default:"有効なメールアドレスを入力してください"},file:{default:"有効なファイルを選択してください"},greaterThan:{default:"%sより大きい値を入力してください",notInclusive:"%sより大きい値を入力してください"},grid:{default:"有効なGRIdコードを入力してください"},hex:{default:"有効な16進数を入力してください。"},iban:{countries:{AD:"アンドラ",AE:"アラブ首長国連邦",AL:"アルバニア",AO:"アンゴラ",AT:"オーストリア",AZ:"アゼルバイジャン",BA:"ボスニア·ヘルツェゴビナ",BE:"ベルギー",BF:"ブルキナファソ",BG:"ブルガリア",BH:"バーレーン",BI:"ブルンジ",BJ:"ベナン",BR:"ブラジル",CH:"スイス",CI:"象牙海岸",CM:"カメルーン",CR:"コスタリカ",CV:"カーボベルデ",CY:"キプロス",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",DO:"ドミニカ共和国",DZ:"アルジェリア",EE:"エストニア",ES:"スペイン",FI:"フィンランド",FO:"フェロー諸島",FR:"フランス",GB:"イギリス",GE:"グルジア",GI:"ジブラルタル",GL:"グリーンランド",GR:"ギリシャ",GT:"グアテマラ",HR:"クロアチア",HU:"ハンガリー",IE:"アイルランド",IL:"イスラエル",IR:"イラン",IS:"アイスランド",IT:"イタリア",JO:"ヨルダン",KW:"クウェート",KZ:"カザフスタン",LB:"レバノン",LI:"リヒテンシュタイン",LT:"リトアニア",LU:"ルクセンブルグ",LV:"ラトビア",MC:"モナコ",MD:"モルドバ",ME:"モンテネグロ",MG:"マダガスカル",MK:"マケドニア",ML:"マリ",MR:"モーリタニア",MT:"マルタ",MU:"モーリシャス",MZ:"モザンビーク",NL:"オランダ",NO:"ノルウェー",PK:"パキスタン",PL:"ポーランド",PS:"パレスチナ",PT:"ポルトガル",QA:"カタール",RO:"ルーマニア",RS:"セルビア",SA:"サウジアラビア",SE:"スウェーデン",SI:"スロベニア",SK:"スロバキア",SM:"サン·マリノ",SN:"セネガル",TL:"東チモール",TN:"チュニジア",TR:"トルコ",VG:"英領バージン諸島",XK:"コソボ共和国"},country:"有効な%sのIBANコードを入力してください",default:"有効なIBANコードを入力してください"},id:{countries:{BA:"スニア·ヘルツェゴビナ",BG:"ブルガリア",BR:"ブラジル",CH:"スイス",CL:"チリ",CN:"チャイナ",CZ:"チェコ共和国",DK:"デンマーク",EE:"エストニア",ES:"スペイン",FI:"フィンランド",HR:"クロアチア",IE:"アイルランド",IS:"アイスランド",LT:"リトアニア",LV:"ラトビア",ME:"モンテネグロ",MK:"マケドニア",NL:"オランダ",PL:"ポーランド",RO:"ルーマニア",RS:"セルビア",SE:"スウェーデン",SI:"スロベニア",SK:"スロバキア",SM:"サン·マリノ",TH:"タイ国",TR:"トルコ",ZA:"南アフリカ"},country:"有効な%sのIDを入力してください",default:"有効なIDを入力してください"},identical:{default:"同じ値を入力してください"},imei:{default:"有効なIMEIを入力してください"},imo:{default:"有効なIMOを入力してください"},integer:{default:"有効な数値を入力してください"},ip:{default:"有効なIPアドレスを入力してください",ipv4:"有効なIPv4アドレスを入力してください",ipv6:"有効なIPv6アドレスを入力してください"},isbn:{default:"有効なISBN番号を入力してください"},isin:{default:"有効なISIN番号を入力してください"},ismn:{default:"有効なISMN番号を入力してください"},issn:{default:"有効なISSN番号を入力してください"},lessThan:{default:"%s未満の値を入力してください",notInclusive:"%s未満の値を入力してください"},mac:{default:"有効なMACアドレスを入力してください"},meid:{default:"有効なMEID番号を入力してください"},notEmpty:{default:"値を入力してください"},numeric:{default:"有効な浮動小数点数値を入力してください。"},phone:{countries:{AE:"アラブ首長国連邦",BG:"ブルガリア",BR:"ブラジル",CN:"チャイナ",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",ES:"スペイン",FR:"フランス",GB:"イギリス",IN:"インド",MA:"モロッコ",NL:"オランダ",PK:"パキスタン",RO:"ルーマニア",RU:"ロシア",SK:"スロバキア",TH:"タイ国",US:"アメリカ",VE:"ベネズエラ"},country:"有効な%sの電話番号を入力してください",default:"有効な電話番号を入力してください"},promise:{default:"有効な値を入力してください"},regexp:{default:"正規表現に一致する値を入力してください"},remote:{default:"有効な値を入力してください。"},rtn:{default:"有効なRTN番号を入力してください"},sedol:{default:"有効なSEDOL番号を入力してください"},siren:{default:"有効なSIREN番号を入力してください"},siret:{default:"有効なSIRET番号を入力してください"},step:{default:"%sの有効なステップを入力してください"},stringCase:{default:"小文字のみで入力してください",upper:"大文字のみで入力してください"},stringLength:{between:"%s文字から%s文字の間で入力してください",default:"有効な長さの値を入力してください",less:"%s文字未満で入力してください",more:"%s文字より大きく入力してください"},uri:{default:"有効なURIを入力してください。"},uuid:{default:"有効なUUIDを入力してください",version:"有効なバージョン%s UUIDを入力してください"},vat:{countries:{AT:"オーストリア",BE:"ベルギー",BG:"ブルガリア",BR:"ブラジル",CH:"スイス",CY:"キプロス等",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",EE:"エストニア",EL:"ギリシャ",ES:"スペイン",FI:"フィンランド",FR:"フランス",GB:"イギリス",GR:"ギリシャ",HR:"クロアチア",HU:"ハンガリー",IE:"アイルランド",IS:"アイスランド",IT:"イタリア",LT:"リトアニア",LU:"ルクセンブルグ",LV:"ラトビア",MT:"マルタ",NL:"オランダ",NO:"ノルウェー",PL:"ポーランド",PT:"ポルトガル",RO:"ルーマニア",RS:"セルビア",RU:"ロシア",SE:"スウェーデン",SI:"スロベニア",SK:"スロバキア",VE:"ベネズエラ",ZA:"南アフリカ"},country:"有効な%sのVAT番号を入力してください",default:"有効なVAT番号を入力してください"},vin:{default:"有効なVIN番号を入力してください"},zipCode:{countries:{AT:"オーストリア",BG:"ブルガリア",BR:"ブラジル",CA:"カナダ",CH:"スイス",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",ES:"スペイン",FR:"フランス",GB:"イギリス",IE:"アイルランド",IN:"インド",IT:"イタリア",MA:"モロッコ",NL:"オランダ",PL:"ポーランド",PT:"ポルトガル",RO:"ルーマニア",RU:"ロシア",SE:"スウェーデン",SG:"シンガポール",SK:"スロバキア",US:"アメリカ"},country:"有効な%sの郵便番号を入力してください",default:"有効な郵便番号を入力してください"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/nl_BE.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/nl_BE.js new file mode 100644 index 0000000..025a3fa --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/nl_BE.js @@ -0,0 +1 @@ +export default{base64:{default:"Geef een geldige base 64 geëncodeerde tekst in"},between:{default:"Geef een waarde in van %s tot en met %s",notInclusive:"Geef een waarde in van %s tot %s"},bic:{default:"Geef een geldig BIC-nummer in"},callback:{default:"Geef een geldige waarde in"},choice:{between:"Kies tussen de %s en %s opties",default:"Geef een geldige waarde in",less:"Kies minimaal %s opties",more:"Kies maximaal %s opties"},color:{default:"Geef een geldige kleurcode in"},creditCard:{default:"Geef een geldig kredietkaartnummer in"},cusip:{default:"Geef een geldig CUSIP-nummer in"},date:{default:"Geef een geldige datum in",max:"Geef een datum in die voor %s ligt",min:"Geef een datum in die na %s ligt",range:"Geef een datum in die tussen %s en %s ligt"},different:{default:"Geef een andere waarde in"},digits:{default:"Geef alleen cijfers in"},ean:{default:"Geef een geldig EAN-nummer in"},ein:{default:"Geef een geldig EIN-nummer in"},emailAddress:{default:"Geef een geldig emailadres op"},file:{default:"Kies een geldig bestand"},greaterThan:{default:"Geef een waarde in die gelijk is aan of groter is dan %s",notInclusive:"Geef een waarde in die groter is dan %s"},grid:{default:"Geef een geldig GRID-nummer in"},hex:{default:"Geef een geldig hexadecimaal nummer in"},iban:{countries:{AD:"Andorra",AE:"Verenigde Arabische Emiraten",AL:"Albania",AO:"Angola",AT:"Oostenrijk",AZ:"Azerbeidzjan",BA:"Bosnië en Herzegovina",BE:"België",BF:"Burkina Faso",BG:'Bulgarije"',BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brazilië",CH:"Zwitserland",CI:"Ivoorkust",CM:"Kameroen",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",DO:"Dominicaanse Republiek",DZ:"Algerije",EE:"Estland",ES:"Spanje",FI:"Finland",FO:"Faeröer",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GE:"Georgia",GI:"Gibraltar",GL:"Groenland",GR:"Griekenland",GT:"Guatemala",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IL:"Israël",IR:"Iran",IS:"IJsland",IT:"Italië",JO:"Jordan",KW:"Koeweit",KZ:"Kazachstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MC:"Monaco",MD:"Moldavië",ME:"Montenegro",MG:"Madagascar",MK:"Macedonië",ML:"Mali",MR:"Mauretanië",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Nederland",NO:"Noorwegen",PK:"Pakistan",PL:"Polen",PS:"Palestijnse",PT:"Portugal",QA:"Qatar",RO:"Roemenië",RS:"Servië",SA:"Saudi-Arabië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",SN:"Senegal",TL:"Oost-Timor",TN:"Tunesië",TR:"Turkije",VG:"Britse Maagdeneilanden",XK:"Republiek Kosovo"},country:"Geef een geldig IBAN-nummer in uit %s",default:"Geef een geldig IBAN-nummer in"},id:{countries:{BA:"Bosnië en Herzegovina",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CL:"Chili",CN:"China",CZ:"Tsjechische",DK:"Denemarken",EE:"Estland",ES:"Spanje",FI:"Finland",HR:"Kroatië",IE:"Ierland",IS:"IJsland",LT:"Litouwen",LV:"Letland",ME:"Montenegro",MK:"Macedonië",NL:"Nederland",PL:"Polen",RO:"Roemenië",RS:"Servië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",TH:"Thailand",TR:"Turkije",ZA:"Zuid-Afrika"},country:"Geef een geldig identificatienummer in uit %s",default:"Geef een geldig identificatienummer in"},identical:{default:"Geef dezelfde waarde in"},imei:{default:"Geef een geldig IMEI-nummer in"},imo:{default:"Geef een geldig IMO-nummer in"},integer:{default:"Geef een geldig nummer in"},ip:{default:"Geef een geldig IP-adres in",ipv4:"Geef een geldig IPv4-adres in",ipv6:"Geef een geldig IPv6-adres in"},isbn:{default:"Geef een geldig ISBN-nummer in"},isin:{default:"Geef een geldig ISIN-nummer in"},ismn:{default:"Geef een geldig ISMN-nummer in"},issn:{default:"Geef een geldig ISSN-nummer in"},lessThan:{default:"Geef een waarde in die gelijk is aan of kleiner is dan %s",notInclusive:"Geef een waarde in die kleiner is dan %s"},mac:{default:"Geef een geldig MAC-adres in"},meid:{default:"Geef een geldig MEID-nummer in"},notEmpty:{default:"Geef een waarde in"},numeric:{default:"Geef een geldig kommagetal in"},phone:{countries:{AE:"Verenigde Arabische Emiraten",BG:"Bulgarije",BR:"Brazilië",CN:"China",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IN:"Indië",MA:"Marokko",NL:"Nederland",PK:"Pakistan",RO:"Roemenië",RU:"Rusland",SK:"Slowakije",TH:"Thailand",US:"VS",VE:"Venezuela"},country:"Geef een geldig telefoonnummer in uit %s",default:"Geef een geldig telefoonnummer in"},promise:{default:"Geef een geldige waarde in"},regexp:{default:"Geef een waarde in die overeenkomt met het patroon"},remote:{default:"Geef een geldige waarde in"},rtn:{default:"Geef een geldig RTN-nummer in"},sedol:{default:"Geef een geldig SEDOL-nummer in"},siren:{default:"Geef een geldig SIREN-nummer in"},siret:{default:"Geef een geldig SIRET-nummer in"},step:{default:"Geef een geldig meervoud in van %s"},stringCase:{default:"Geef enkel kleine letters in",upper:"Geef enkel hoofdletters in"},stringLength:{between:"Geef tussen %s en %s karakters in",default:"Geef een waarde in met de juiste lengte",less:"Geef minder dan %s karakters in",more:"Geef meer dan %s karakters in"},uri:{default:"Geef een geldige URI in"},uuid:{default:"Geef een geldig UUID-nummer in",version:"Geef een geldig UUID-nummer (versie %s) in"},vat:{countries:{AT:"Oostenrijk",BE:"België",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CY:"Cyprus",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",EE:"Estland",EL:"Griekenland",ES:"Spanje",FI:"Finland",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GR:"Griekenland",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IS:"IJsland",IT:"Italië",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MT:"Malta",NL:"Nederland",NO:"Noorwegen",PL:"Polen",PT:"Portugal",RO:"Roemenië",RS:"Servië",RU:"Rusland",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",VE:"Venezuela",ZA:"Zuid-Afrika"},country:"Geef een geldig BTW-nummer in uit %s",default:"Geef een geldig BTW-nummer in"},vin:{default:"Geef een geldig VIN-nummer in"},zipCode:{countries:{AT:"Oostenrijk",BG:"Bulgarije",BR:"Brazilië",CA:"Canada",CH:"Zwitserland",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IE:"Ierland",IN:"Indië",IT:"Italië",MA:"Marokko",NL:"Nederland",PL:"Polen",PT:"Portugal",RO:"Roemenië",RU:"Rusland",SE:"Zweden",SG:"Singapore",SK:"Slowakije",US:"VS"},country:"Geef een geldige postcode in uit %s",default:"Geef een geldige postcode in"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/nl_NL.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/nl_NL.js new file mode 100644 index 0000000..ce47df6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/nl_NL.js @@ -0,0 +1 @@ +export default{base64:{default:"Voer een geldige Base64 geëncodeerde tekst in"},between:{default:"Voer een waarde in van %s tot en met %s",notInclusive:"Voer een waarde die tussen %s en %s ligt"},bic:{default:"Voer een geldige BIC-code in"},callback:{default:"Voer een geldige waarde in"},choice:{between:"Kies tussen de %s - %s opties",default:"Voer een geldige waarde in",less:"Kies minimaal %s optie(s)",more:"Kies maximaal %s opties"},color:{default:"Voer een geldige kleurcode in"},creditCard:{default:"Voer een geldig creditcardnummer in"},cusip:{default:"Voer een geldig CUSIP-nummer in"},date:{default:"Voer een geldige datum in",max:"Voer een datum in die vóór %s ligt",min:"Voer een datum in die na %s ligt",range:"Voer een datum in die tussen %s en %s ligt"},different:{default:"Voer een andere waarde in"},digits:{default:"Voer enkel cijfers in"},ean:{default:"Voer een geldige EAN-code in"},ein:{default:"Voer een geldige EIN-code in"},emailAddress:{default:"Voer een geldig e-mailadres in"},file:{default:"Kies een geldig bestand"},greaterThan:{default:"Voer een waarde in die gelijk is aan of groter is dan %s",notInclusive:"Voer een waarde in die is groter dan %s"},grid:{default:"Voer een geldig GRId-nummer in"},hex:{default:"Voer een geldig hexadecimaal nummer in"},iban:{countries:{AD:"Andorra",AE:"Verenigde Arabische Emiraten",AL:"Albania",AO:"Angola",AT:"Oostenrijk",AZ:"Azerbeidzjan",BA:"Bosnië en Herzegovina",BE:"België",BF:"Burkina Faso",BG:'Bulgarije"',BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brazilië",CH:"Zwitserland",CI:"Ivoorkust",CM:"Kameroen",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",DO:"Dominicaanse Republiek",DZ:"Algerije",EE:"Estland",ES:"Spanje",FI:"Finland",FO:"Faeröer",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GE:"Georgia",GI:"Gibraltar",GL:"Groenland",GR:"Griekenland",GT:"Guatemala",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IL:"Israël",IR:"Iran",IS:"IJsland",IT:"Italië",JO:"Jordan",KW:"Koeweit",KZ:"Kazachstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MC:"Monaco",MD:"Moldavië",ME:"Montenegro",MG:"Madagascar",MK:"Macedonië",ML:"Mali",MR:"Mauretanië",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Nederland",NO:"Noorwegen",PK:"Pakistan",PL:"Polen",PS:"Palestijnse",PT:"Portugal",QA:"Qatar",RO:"Roemenië",RS:"Servië",SA:"Saudi-Arabië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",SN:"Senegal",TL:"Oost-Timor",TN:"Tunesië",TR:"Turkije",VG:"Britse Maagdeneilanden",XK:"Republiek Kosovo"},country:"Voer een geldig IBAN nummer in uit %s",default:"Voer een geldig IBAN nummer in"},id:{countries:{BA:"Bosnië en Herzegovina",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CL:"Chili",CN:"China",CZ:"Tsjechische Republiek",DK:"Denemarken",EE:"Estland",ES:"Spanje",FI:"Finland",HR:"Kroatië",IE:"Ierland",IS:"IJsland",LT:"Litouwen",LV:"Letland",ME:"Montenegro",MK:"Macedonië",NL:"Nederland",PL:"Polen",RO:"Roemenië",RS:"Servië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",TH:"Thailand",TR:"Turkije",ZA:"Zuid-Afrika"},country:"Voer een geldig identificatie nummer in uit %s",default:"Voer een geldig identificatie nummer in"},identical:{default:"Voer dezelfde waarde in"},imei:{default:"Voer een geldig IMEI-nummer in"},imo:{default:"Voer een geldig IMO-nummer in"},integer:{default:"Voer een geldig getal in"},ip:{default:"Voer een geldig IP adres in",ipv4:"Voer een geldig IPv4 adres in",ipv6:"Voer een geldig IPv6 adres in"},isbn:{default:"Voer een geldig ISBN-nummer in"},isin:{default:"Voer een geldig ISIN-nummer in"},ismn:{default:"Voer een geldig ISMN-nummer in"},issn:{default:"Voer een geldig ISSN-nummer in"},lessThan:{default:"Voer een waarde in gelijk aan of kleiner dan %s",notInclusive:"Voer een waarde in kleiner dan %s"},mac:{default:"Voer een geldig MAC adres in"},meid:{default:"Voer een geldig MEID-nummer in"},notEmpty:{default:"Voer een waarde in"},numeric:{default:"Voer een geldig kommagetal in"},phone:{countries:{AE:"Verenigde Arabische Emiraten",BG:"Bulgarije",BR:"Brazilië",CN:"China",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IN:"Indië",MA:"Marokko",NL:"Nederland",PK:"Pakistan",RO:"Roemenië",RU:"Rusland",SK:"Slowakije",TH:"Thailand",US:"VS",VE:"Venezuela"},country:"Voer een geldig telefoonnummer in uit %s",default:"Voer een geldig telefoonnummer in"},promise:{default:"Voer een geldige waarde in"},regexp:{default:"Voer een waarde in die overeenkomt met het patroon"},remote:{default:"Voer een geldige waarde in"},rtn:{default:"Voer een geldig RTN-nummer in"},sedol:{default:"Voer een geldig SEDOL-nummer in"},siren:{default:"Voer een geldig SIREN-nummer in"},siret:{default:"Voer een geldig SIRET-nummer in"},step:{default:"Voer een meervoud van %s in"},stringCase:{default:"Voer enkel kleine letters in",upper:"Voer enkel hoofdletters in"},stringLength:{between:"Voer tussen tussen %s en %s karakters in",default:"Voer een waarde met de juiste lengte in",less:"Voer minder dan %s karakters in",more:"Voer meer dan %s karakters in"},uri:{default:"Voer een geldige link in"},uuid:{default:"Voer een geldige UUID in",version:"Voer een geldige UUID (versie %s) in"},vat:{countries:{AT:"Oostenrijk",BE:"België",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CY:"Cyprus",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",EE:"Estland",EL:"Griekenland",ES:"Spanje",FI:"Finland",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GR:"Griekenland",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IS:"IJsland",IT:"Italië",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MT:"Malta",NL:"Nederland",NO:"Noorwegen",PL:"Polen",PT:"Portugal",RO:"Roemenië",RS:"Servië",RU:"Rusland",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",VE:"Venezuela",ZA:"Zuid-Afrika"},country:"Voer een geldig BTW-nummer in uit %s",default:"Voer een geldig BTW-nummer in"},vin:{default:"Voer een geldig VIN-nummer in"},zipCode:{countries:{AT:"Oostenrijk",BG:"Bulgarije",BR:"Brazilië",CA:"Canada",CH:"Zwitserland",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IE:"Ierland",IN:"Indië",IT:"Italië",MA:"Marokko",NL:"Nederland",PL:"Polen",PT:"Portugal",RO:"Roemenië",RU:"Rusland",SE:"Zweden",SG:"Singapore",SK:"Slowakije",US:"VS"},country:"Voer een geldige postcode in uit %s",default:"Voer een geldige postcode in"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/no_NO.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/no_NO.js new file mode 100644 index 0000000..4977483 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/no_NO.js @@ -0,0 +1 @@ +export default{base64:{default:"Vennligst fyll ut dette feltet med en gyldig base64-kodet verdi"},between:{default:"Vennligst fyll ut dette feltet med en verdi mellom %s og %s",notInclusive:"Vennligst tast inn kun en verdi mellom %s og %s"},bic:{default:"Vennligst fyll ut dette feltet med et gyldig BIC-nummer"},callback:{default:"Vennligst fyll ut dette feltet med en gyldig verdi"},choice:{between:"Vennligst velg %s - %s valgmuligheter",default:"Vennligst fyll ut dette feltet med en gyldig verdi",less:"Vennligst velg minst %s valgmuligheter",more:"Vennligst velg maks %s valgmuligheter"},color:{default:"Vennligst fyll ut dette feltet med en gyldig"},creditCard:{default:"Vennligst fyll ut dette feltet med et gyldig kreditkortnummer"},cusip:{default:"Vennligst fyll ut dette feltet med et gyldig CUSIP-nummer"},date:{default:"Vennligst fyll ut dette feltet med en gyldig dato",max:"Vennligst fyll ut dette feltet med en gyldig dato før %s",min:"Vennligst fyll ut dette feltet med en gyldig dato etter %s",range:"Vennligst fyll ut dette feltet med en gyldig dato mellom %s - %s"},different:{default:"Vennligst fyll ut dette feltet med en annen verdi"},digits:{default:"Vennligst tast inn kun sifre"},ean:{default:"Vennligst fyll ut dette feltet med et gyldig EAN-nummer"},ein:{default:"Vennligst fyll ut dette feltet med et gyldig EIN-nummer"},emailAddress:{default:"Vennligst fyll ut dette feltet med en gyldig epostadresse"},file:{default:"Velg vennligst en gyldig fil"},greaterThan:{default:"Vennligst fyll ut dette feltet med en verdi større eller lik %s",notInclusive:"Vennligst fyll ut dette feltet med en verdi større enn %s"},grid:{default:"Vennligst fyll ut dette feltet med et gyldig GRIDnummer"},hex:{default:"Vennligst fyll ut dette feltet med et gyldig hexadecimalt nummer"},iban:{countries:{AD:"Andorra",AE:"De Forente Arabiske Emirater",AL:"Albania",AO:"Angola",AT:"Østerrike",AZ:"Aserbajdsjan",BA:"Bosnia-Hercegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Sveits",CI:"Elfenbenskysten",CM:"Kamerun",CR:"Costa Rica",CV:"Kapp Verde",CY:"Kypros",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",DO:"Den dominikanske republikk",DZ:"Algerie",EE:"Estland",ES:"Spania",FI:"Finland",FO:"Færøyene",FR:"Frankrike",GB:"Storbritannia",GE:"Georgia",GI:"Gibraltar",GL:"Grønland",GR:"Hellas",GT:"Guatemala",HR:"Kroatia",HU:"Ungarn",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italia",JO:"Jordan",KW:"Kuwait",KZ:"Kasakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litauen",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagaskar",MK:"Makedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mosambik",NL:"Nederland",NO:"Norge",PK:"Pakistan",PL:"Polen",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi-Arabia",SE:"Sverige",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"øst-Timor",TN:"Tunisia",TR:"Tyrkia",VG:"De Britiske Jomfruøyene",XK:"Republikken Kosovo"},country:"Vennligst fyll ut dette feltet med et gyldig IBAN-nummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig IBAN-nummer"},id:{countries:{BA:"Bosnien-Hercegovina",BG:"Bulgaria",BR:"Brasil",CH:"Sveits",CL:"Chile",CN:"Kina",CZ:"Tsjekkia",DK:"Danmark",EE:"Estland",ES:"Spania",FI:"Finland",HR:"Kroatia",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Latvia",ME:"Montenegro",MK:"Makedonia",NL:"Nederland",PL:"Polen",RO:"Romania",RS:"Serbia",SE:"Sverige",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",TR:"Tyrkia",ZA:"Sør-Afrika"},country:"Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer"},identical:{default:"Vennligst fyll ut dette feltet med den samme verdi"},imei:{default:"Vennligst fyll ut dette feltet med et gyldig IMEI-nummer"},imo:{default:"Vennligst fyll ut dette feltet med et gyldig IMO-nummer"},integer:{default:"Vennligst fyll ut dette feltet med et gyldig tall"},ip:{default:"Vennligst fyll ut dette feltet med en gyldig IP adresse",ipv4:"Vennligst fyll ut dette feltet med en gyldig IPv4 adresse",ipv6:"Vennligst fyll ut dette feltet med en gyldig IPv6 adresse"},isbn:{default:"Vennligst fyll ut dette feltet med ett gyldig ISBN-nummer"},isin:{default:"Vennligst fyll ut dette feltet med ett gyldig ISIN-nummer"},ismn:{default:"Vennligst fyll ut dette feltet med ett gyldig ISMN-nummer"},issn:{default:"Vennligst fyll ut dette feltet med ett gyldig ISSN-nummer"},lessThan:{default:"Vennligst fyll ut dette feltet med en verdi mindre eller lik %s",notInclusive:"Vennligst fyll ut dette feltet med en verdi mindre enn %s"},mac:{default:"Vennligst fyll ut dette feltet med en gyldig MAC adresse"},meid:{default:"Vennligst fyll ut dette feltet med et gyldig MEID-nummer"},notEmpty:{default:"Vennligst fyll ut dette feltet"},numeric:{default:"Vennligst fyll ut dette feltet med et gyldig flytende desimaltall"},phone:{countries:{AE:"De Forente Arabiske Emirater",BG:"Bulgaria",BR:"Brasil",CN:"Kina",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",ES:"Spania",FR:"Frankrike",GB:"Storbritannia",IN:"India",MA:"Marokko",NL:"Nederland",PK:"Pakistan",RO:"Rumenia",RU:"Russland",SK:"Slovakia",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Vennligst fyll ut dette feltet med et gyldig telefonnummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig telefonnummer"},promise:{default:"Vennligst fyll ut dette feltet med en gyldig verdi"},regexp:{default:"Vennligst fyll ut dette feltet med en verdi som matcher mønsteret"},remote:{default:"Vennligst fyll ut dette feltet med en gyldig verdi"},rtn:{default:"Vennligst fyll ut dette feltet med et gyldig RTN-nummer"},sedol:{default:"Vennligst fyll ut dette feltet med et gyldig SEDOL-nummer"},siren:{default:"Vennligst fyll ut dette feltet med et gyldig SIREN-nummer"},siret:{default:"Vennligst fyll ut dette feltet med et gyldig SIRET-nummer"},step:{default:"Vennligst fyll ut dette feltet med et gyldig trinn av %s"},stringCase:{default:"Venligst fyll inn dette feltet kun med små bokstaver",upper:"Venligst fyll inn dette feltet kun med store bokstaver"},stringLength:{between:"Vennligst fyll ut dette feltet med en verdi mellom %s og %s tegn",default:"Vennligst fyll ut dette feltet med en verdi av gyldig lengde",less:"Vennligst fyll ut dette feltet med mindre enn %s tegn",more:"Vennligst fyll ut dette feltet med mer enn %s tegn"},uri:{default:"Vennligst fyll ut dette feltet med en gyldig URI"},uuid:{default:"Vennligst fyll ut dette feltet med et gyldig UUID-nummer",version:"Vennligst fyll ut dette feltet med en gyldig UUID version %s-nummer"},vat:{countries:{AT:"Østerrike",BE:"Belgia",BG:"Bulgaria",BR:"Brasil",CH:"Schweiz",CY:"Cypern",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",EE:"Estland",EL:"Hellas",ES:"Spania",FI:"Finland",FR:"Frankrike",GB:"Storbritania",GR:"Hellas",HR:"Kroatia",HU:"Ungarn",IE:"Irland",IS:"Island",IT:"Italia",LT:"Litauen",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Nederland",NO:"Norge",PL:"Polen",PT:"Portugal",RO:"Romania",RS:"Serbia",RU:"Russland",SE:"Sverige",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Sør-Afrika"},country:"Vennligst fyll ut dette feltet med et gyldig MVA nummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig MVA nummer"},vin:{default:"Vennligst fyll ut dette feltet med et gyldig VIN-nummer"},zipCode:{countries:{AT:"Østerrike",BG:"Bulgaria",BR:"Brasil",CA:"Canada",CH:"Schweiz",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",ES:"Spania",FR:"Frankrike",GB:"Storbritannia",IE:"Irland",IN:"India",IT:"Italia",MA:"Marokko",NL:"Nederland",PL:"Polen",PT:"Portugal",RO:"Romania",RU:"Russland",SE:"Sverige",SG:"Singapore",SK:"Slovakia",US:"USA"},country:"Vennligst fyll ut dette feltet med et gyldig postnummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig postnummer"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/pl_PL.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/pl_PL.js new file mode 100644 index 0000000..fa45c65 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/pl_PL.js @@ -0,0 +1 @@ +export default{base64:{default:"Wpisz poprawny ciąg znaków zakodowany w base 64"},between:{default:"Wprowadź wartość pomiędzy %s i %s",notInclusive:"Wprowadź wartość pomiędzy %s i %s (zbiór otwarty)"},bic:{default:"Wprowadź poprawny numer BIC"},callback:{default:"Wprowadź poprawną wartość"},choice:{between:"Wybierz przynajmniej %s i maksymalnie %s opcji",default:"Wprowadź poprawną wartość",less:"Wybierz przynajmniej %s opcji",more:"Wybierz maksymalnie %s opcji"},color:{default:"Wprowadź poprawny kolor w formacie"},creditCard:{default:"Wprowadź poprawny numer karty kredytowej"},cusip:{default:"Wprowadź poprawny numer CUSIP"},date:{default:"Wprowadź poprawną datę",max:"Wprowadź datę przed %s",min:"Wprowadź datę po %s",range:"Wprowadź datę pomiędzy %s i %s"},different:{default:"Wprowadź inną wartość"},digits:{default:"Wprowadź tylko cyfry"},ean:{default:"Wprowadź poprawny numer EAN"},ein:{default:"Wprowadź poprawny numer EIN"},emailAddress:{default:"Wprowadź poprawny adres e-mail"},file:{default:"Wybierz prawidłowy plik"},greaterThan:{default:"Wprowadź wartość większą bądź równą %s",notInclusive:"Wprowadź wartość większą niż %s"},grid:{default:"Wprowadź poprawny numer GRId"},hex:{default:"Wprowadź poprawną liczbę w formacie heksadecymalnym"},iban:{countries:{AD:"Andora",AE:"Zjednoczone Emiraty Arabskie",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbejdżan",BA:"Bośnia i Hercegowina",BE:"Belgia",BF:"Burkina Faso",BG:"Bułgaria",BH:"Bahrajn",BI:"Burundi",BJ:"Benin",BR:"Brazylia",CH:"Szwajcaria",CI:"Wybrzeże Kości Słoniowej",CM:"Kamerun",CR:"Kostaryka",CV:"Republika Zielonego Przylądka",CY:"Cypr",CZ:"Czechy",DE:"Niemcy",DK:"Dania",DO:"Dominikana",DZ:"Algeria",EE:"Estonia",ES:"Hiszpania",FI:"Finlandia",FO:"Wyspy Owcze",FR:"Francja",GB:"Wielka Brytania",GE:"Gruzja",GI:"Gibraltar",GL:"Grenlandia",GR:"Grecja",GT:"Gwatemala",HR:"Chorwacja",HU:"Węgry",IE:"Irlandia",IL:"Izrael",IR:"Iran",IS:"Islandia",IT:"Włochy",JO:"Jordania",KW:"Kuwejt",KZ:"Kazahstan",LB:"Liban",LI:"Liechtenstein",LT:"Litwa",LU:"Luksemburg",LV:"Łotwa",MC:"Monako",MD:"Mołdawia",ME:"Czarnogóra",MG:"Madagaskar",MK:"Macedonia",ML:"Mali",MR:"Mauretania",MT:"Malta",MU:"Mauritius",MZ:"Mozambik",NL:"Holandia",NO:"Norwegia",PK:"Pakistan",PL:"Polska",PS:"Palestyna",PT:"Portugalia",QA:"Katar",RO:"Rumunia",RS:"Serbia",SA:"Arabia Saudyjska",SE:"Szwecja",SI:"Słowenia",SK:"Słowacja",SM:"San Marino",SN:"Senegal",TL:"Timor Wschodni",TN:"Tunezja",TR:"Turcja",VG:"Brytyjskie Wyspy Dziewicze",XK:"Republika Kosowa"},country:"Wprowadź poprawny numer IBAN w kraju %s",default:"Wprowadź poprawny numer IBAN"},id:{countries:{BA:"Bośnia i Hercegowina",BG:"Bułgaria",BR:"Brazylia",CH:"Szwajcaria",CL:"Chile",CN:"Chiny",CZ:"Czechy",DK:"Dania",EE:"Estonia",ES:"Hiszpania",FI:"Finlandia",HR:"Chorwacja",IE:"Irlandia",IS:"Islandia",LT:"Litwa",LV:"Łotwa",ME:"Czarnogóra",MK:"Macedonia",NL:"Holandia",PL:"Polska",RO:"Rumunia",RS:"Serbia",SE:"Szwecja",SI:"Słowenia",SK:"Słowacja",SM:"San Marino",TH:"Tajlandia",TR:"Turcja",ZA:"Republika Południowej Afryki"},country:"Wprowadź poprawny numer identyfikacyjny w kraju %s",default:"Wprowadź poprawny numer identyfikacyjny"},identical:{default:"Wprowadź taką samą wartość"},imei:{default:"Wprowadź poprawny numer IMEI"},imo:{default:"Wprowadź poprawny numer IMO"},integer:{default:"Wprowadź poprawną liczbę całkowitą"},ip:{default:"Wprowadź poprawny adres IP",ipv4:"Wprowadź poprawny adres IPv4",ipv6:"Wprowadź poprawny adres IPv6"},isbn:{default:"Wprowadź poprawny numer ISBN"},isin:{default:"Wprowadź poprawny numer ISIN"},ismn:{default:"Wprowadź poprawny numer ISMN"},issn:{default:"Wprowadź poprawny numer ISSN"},lessThan:{default:"Wprowadź wartość mniejszą bądź równą %s",notInclusive:"Wprowadź wartość mniejszą niż %s"},mac:{default:"Wprowadź poprawny adres MAC"},meid:{default:"Wprowadź poprawny numer MEID"},notEmpty:{default:"Wprowadź wartość, pole nie może być puste"},numeric:{default:"Wprowadź poprawną liczbę zmiennoprzecinkową"},phone:{countries:{AE:"Zjednoczone Emiraty Arabskie",BG:"Bułgaria",BR:"Brazylia",CN:"Chiny",CZ:"Czechy",DE:"Niemcy",DK:"Dania",ES:"Hiszpania",FR:"Francja",GB:"Wielka Brytania",IN:"Indie",MA:"Maroko",NL:"Holandia",PK:"Pakistan",RO:"Rumunia",RU:"Rosja",SK:"Słowacja",TH:"Tajlandia",US:"USA",VE:"Wenezuela"},country:"Wprowadź poprawny numer telefonu w kraju %s",default:"Wprowadź poprawny numer telefonu"},promise:{default:"Wprowadź poprawną wartość"},regexp:{default:"Wprowadź wartość pasującą do wzoru"},remote:{default:"Wprowadź poprawną wartość"},rtn:{default:"Wprowadź poprawny numer RTN"},sedol:{default:"Wprowadź poprawny numer SEDOL"},siren:{default:"Wprowadź poprawny numer SIREN"},siret:{default:"Wprowadź poprawny numer SIRET"},step:{default:"Wprowadź wielokrotność %s"},stringCase:{default:"Wprowadź tekst składającą się tylko z małych liter",upper:"Wprowadź tekst składający się tylko z dużych liter"},stringLength:{between:"Wprowadź wartość składająca się z min %s i max %s znaków",default:"Wprowadź wartość o poprawnej długości",less:"Wprowadź mniej niż %s znaków",more:"Wprowadź więcej niż %s znaków"},uri:{default:"Wprowadź poprawny URI"},uuid:{default:"Wprowadź poprawny numer UUID",version:"Wprowadź poprawny numer UUID w wersji %s"},vat:{countries:{AT:"Austria",BE:"Belgia",BG:"Bułgaria",BR:"Brazylia",CH:"Szwajcaria",CY:"Cypr",CZ:"Czechy",DE:"Niemcy",DK:"Dania",EE:"Estonia",EL:"Grecja",ES:"Hiszpania",FI:"Finlandia",FR:"Francja",GB:"Wielka Brytania",GR:"Grecja",HR:"Chorwacja",HU:"Węgry",IE:"Irlandia",IS:"Islandia",IT:"Włochy",LT:"Litwa",LU:"Luksemburg",LV:"Łotwa",MT:"Malta",NL:"Holandia",NO:"Norwegia",PL:"Polska",PT:"Portugalia",RO:"Rumunia",RS:"Serbia",RU:"Rosja",SE:"Szwecja",SI:"Słowenia",SK:"Słowacja",VE:"Wenezuela",ZA:"Republika Południowej Afryki"},country:"Wprowadź poprawny numer VAT w kraju %s",default:"Wprowadź poprawny numer VAT"},vin:{default:"Wprowadź poprawny numer VIN"},zipCode:{countries:{AT:"Austria",BG:"Bułgaria",BR:"Brazylia",CA:"Kanada",CH:"Szwajcaria",CZ:"Czechy",DE:"Niemcy",DK:"Dania",ES:"Hiszpania",FR:"Francja",GB:"Wielka Brytania",IE:"Irlandia",IN:"Indie",IT:"Włochy",MA:"Maroko",NL:"Holandia",PL:"Polska",PT:"Portugalia",RO:"Rumunia",RU:"Rosja",SE:"Szwecja",SG:"Singapur",SK:"Słowacja",US:"USA"},country:"Wprowadź poprawny kod pocztowy w kraju %s",default:"Wprowadź poprawny kod pocztowy"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/pt_BR.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/pt_BR.js new file mode 100644 index 0000000..1e8d9b6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/pt_BR.js @@ -0,0 +1 @@ +export default{base64:{default:"Por favor insira um código base 64 válido"},between:{default:"Por favor insira um valor entre %s e %s",notInclusive:"Por favor insira um valor estritamente entre %s e %s"},bic:{default:"Por favor insira um número BIC válido"},callback:{default:"Por favor insira um valor válido"},choice:{between:"Por favor escolha de %s a %s opções",default:"Por favor insira um valor válido",less:"Por favor escolha %s opções no mínimo",more:"Por favor escolha %s opções no máximo"},color:{default:"Por favor insira uma cor válida"},creditCard:{default:"Por favor insira um número de cartão de crédito válido"},cusip:{default:"Por favor insira um número CUSIP válido"},date:{default:"Por favor insira uma data válida",max:"Por favor insira uma data anterior a %s",min:"Por favor insira uma data posterior a %s",range:"Por favor insira uma data entre %s e %s"},different:{default:"Por favor insira valores diferentes"},digits:{default:"Por favor insira somente dígitos"},ean:{default:"Por favor insira um número EAN válido"},ein:{default:"Por favor insira um número EIN válido"},emailAddress:{default:"Por favor insira um email válido"},file:{default:"Por favor escolha um arquivo válido"},greaterThan:{default:"Por favor insira um valor maior ou igual a %s",notInclusive:"Por favor insira um valor maior do que %s"},grid:{default:"Por favor insira uma GRID válida"},hex:{default:"Por favor insira um hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emirados Árabes",AL:"Albânia",AO:"Angola",AT:"Áustria",AZ:"Azerbaijão",BA:"Bósnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgária",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Suíça",CM:"Camarões",CR:"Costa Rica",CV:"Cabo Verde",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argélia",EE:"Estónia",ES:"Espanha",FI:"Finlândia",FO:"Ilhas Faroé",FR:"França",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlândia",GR:"Grécia",GT:"Guatemala",HR:"Croácia",HU:"Hungria",IC:"Costa do Marfim",IE:"Ireland",IL:"Israel",IR:"Irão",IS:"Islândia",JO:"Jordan",KW:"Kuwait",KZ:"Cazaquistão",LB:"Líbano",LI:"Liechtenstein",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MC:"Mônaco",MD:"Moldávia",ME:"Montenegro",MG:"Madagascar",MK:"Macedónia",ML:"Mali",MR:"Mauritânia",MT:"Malta",MU:"Maurício",MZ:"Moçambique",NL:"Países Baixos",NO:"Noruega",PK:"Paquistão",PL:"Polônia",PS:"Palestino",PT:"Portugal",QA:"Qatar",RO:"Roménia",RS:"Sérvia",SA:"Arábia Saudita",SE:"Suécia",SI:"Eslovénia",SK:"Eslováquia",SM:"San Marino",SN:"Senegal",TI:"Itália",TL:"Timor Leste",TN:"Tunísia",TR:"Turquia",VG:"Ilhas Virgens Britânicas",XK:"República do Kosovo"},country:"Por favor insira um número IBAN válido em %s",default:"Por favor insira um número IBAN válido"},id:{countries:{BA:"Bósnia e Herzegovina",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estônia",ES:"Espanha",FI:"Finlândia",HR:"Croácia",IE:"Irlanda",IS:"Islândia",LT:"Lituânia",LV:"Letónia",ME:"Montenegro",MK:"Macedónia",NL:"Holanda",PL:"Polônia",RO:"Roménia",RS:"Sérvia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",SM:"San Marino",TH:"Tailândia",TR:"Turquia",ZA:"África do Sul"},country:"Por favor insira um número de indentificação válido em %s",default:"Por favor insira um código de identificação válido"},identical:{default:"Por favor, insira o mesmo valor"},imei:{default:"Por favor insira um IMEI válido"},imo:{default:"Por favor insira um IMO válido"},integer:{default:"Por favor insira um número inteiro válido"},ip:{default:"Por favor insira um IP válido",ipv4:"Por favor insira um endereço de IPv4 válido",ipv6:"Por favor insira um endereço de IPv6 válido"},isbn:{default:"Por favor insira um ISBN válido"},isin:{default:"Por favor insira um ISIN válido"},ismn:{default:"Por favor insira um ISMN válido"},issn:{default:"Por favor insira um ISSN válido"},lessThan:{default:"Por favor insira um valor menor ou igual a %s",notInclusive:"Por favor insira um valor menor do que %s"},mac:{default:"Por favor insira um endereço MAC válido"},meid:{default:"Por favor insira um MEID válido"},notEmpty:{default:"Por favor insira um valor"},numeric:{default:"Por favor insira um número real válido"},phone:{countries:{AE:"Emirados Árabes",BG:"Bulgária",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IN:"Índia",MA:"Marrocos",NL:"Países Baixos",PK:"Paquistão",RO:"Roménia",RU:"Rússia",SK:"Eslováquia",TH:"Tailândia",US:"EUA",VE:"Venezuela"},country:"Por favor insira um número de telefone válido em %s",default:"Por favor insira um número de telefone válido"},promise:{default:"Por favor insira um valor válido"},regexp:{default:"Por favor insira um valor correspondente ao padrão"},remote:{default:"Por favor insira um valor válido"},rtn:{default:"Por favor insira um número válido RTN"},sedol:{default:"Por favor insira um número válido SEDOL"},siren:{default:"Por favor insira um número válido SIREN"},siret:{default:"Por favor insira um número válido SIRET"},step:{default:"Por favor insira um passo válido %s"},stringCase:{default:"Por favor, digite apenas caracteres minúsculos",upper:"Por favor, digite apenas caracteres maiúsculos"},stringLength:{between:"Por favor insira um valor entre %s e %s caracteres",default:"Por favor insira um valor com comprimento válido",less:"Por favor insira menos de %s caracteres",more:"Por favor insira mais de %s caracteres"},uri:{default:"Por favor insira um URI válido"},uuid:{default:"Por favor insira um número válido UUID",version:"Por favor insira uma versão %s UUID válida"},vat:{countries:{AT:"Áustria",BE:"Bélgica",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",EE:"Estônia",EL:"Grécia",ES:"Espanha",FI:"Finlândia",FR:"França",GB:"Reino Unido",GR:"Grécia",HR:"Croácia",HU:"Hungria",IE:"Irlanda",IS:"Islândia",IT:"Itália",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MT:"Malta",NL:"Holanda",NO:"Norway",PL:"Polônia",PT:"Portugal",RO:"Roménia",RS:"Sérvia",RU:"Rússia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",VE:"Venezuela",ZA:"África do Sul"},country:"Por favor insira um número VAT válido em %s",default:"Por favor insira um VAT válido"},vin:{default:"Por favor insira um VIN válido"},zipCode:{countries:{AT:"Áustria",BG:"Bulgária",BR:"Brasil",CA:"Canadá",CH:"Suíça",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IE:"Irlanda",IN:"Índia",IT:"Itália",MA:"Marrocos",NL:"Holanda",PL:"Polônia",PT:"Portugal",RO:"Roménia",RU:"Rússia",SE:"Suécia",SG:"Cingapura",SK:"Eslováquia",US:"EUA"},country:"Por favor insira um código postal válido em %s",default:"Por favor insira um código postal válido"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/pt_PT.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/pt_PT.js new file mode 100644 index 0000000..1e8d9b6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/pt_PT.js @@ -0,0 +1 @@ +export default{base64:{default:"Por favor insira um código base 64 válido"},between:{default:"Por favor insira um valor entre %s e %s",notInclusive:"Por favor insira um valor estritamente entre %s e %s"},bic:{default:"Por favor insira um número BIC válido"},callback:{default:"Por favor insira um valor válido"},choice:{between:"Por favor escolha de %s a %s opções",default:"Por favor insira um valor válido",less:"Por favor escolha %s opções no mínimo",more:"Por favor escolha %s opções no máximo"},color:{default:"Por favor insira uma cor válida"},creditCard:{default:"Por favor insira um número de cartão de crédito válido"},cusip:{default:"Por favor insira um número CUSIP válido"},date:{default:"Por favor insira uma data válida",max:"Por favor insira uma data anterior a %s",min:"Por favor insira uma data posterior a %s",range:"Por favor insira uma data entre %s e %s"},different:{default:"Por favor insira valores diferentes"},digits:{default:"Por favor insira somente dígitos"},ean:{default:"Por favor insira um número EAN válido"},ein:{default:"Por favor insira um número EIN válido"},emailAddress:{default:"Por favor insira um email válido"},file:{default:"Por favor escolha um arquivo válido"},greaterThan:{default:"Por favor insira um valor maior ou igual a %s",notInclusive:"Por favor insira um valor maior do que %s"},grid:{default:"Por favor insira uma GRID válida"},hex:{default:"Por favor insira um hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emirados Árabes",AL:"Albânia",AO:"Angola",AT:"Áustria",AZ:"Azerbaijão",BA:"Bósnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgária",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Suíça",CM:"Camarões",CR:"Costa Rica",CV:"Cabo Verde",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argélia",EE:"Estónia",ES:"Espanha",FI:"Finlândia",FO:"Ilhas Faroé",FR:"França",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlândia",GR:"Grécia",GT:"Guatemala",HR:"Croácia",HU:"Hungria",IC:"Costa do Marfim",IE:"Ireland",IL:"Israel",IR:"Irão",IS:"Islândia",JO:"Jordan",KW:"Kuwait",KZ:"Cazaquistão",LB:"Líbano",LI:"Liechtenstein",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MC:"Mônaco",MD:"Moldávia",ME:"Montenegro",MG:"Madagascar",MK:"Macedónia",ML:"Mali",MR:"Mauritânia",MT:"Malta",MU:"Maurício",MZ:"Moçambique",NL:"Países Baixos",NO:"Noruega",PK:"Paquistão",PL:"Polônia",PS:"Palestino",PT:"Portugal",QA:"Qatar",RO:"Roménia",RS:"Sérvia",SA:"Arábia Saudita",SE:"Suécia",SI:"Eslovénia",SK:"Eslováquia",SM:"San Marino",SN:"Senegal",TI:"Itália",TL:"Timor Leste",TN:"Tunísia",TR:"Turquia",VG:"Ilhas Virgens Britânicas",XK:"República do Kosovo"},country:"Por favor insira um número IBAN válido em %s",default:"Por favor insira um número IBAN válido"},id:{countries:{BA:"Bósnia e Herzegovina",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estônia",ES:"Espanha",FI:"Finlândia",HR:"Croácia",IE:"Irlanda",IS:"Islândia",LT:"Lituânia",LV:"Letónia",ME:"Montenegro",MK:"Macedónia",NL:"Holanda",PL:"Polônia",RO:"Roménia",RS:"Sérvia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",SM:"San Marino",TH:"Tailândia",TR:"Turquia",ZA:"África do Sul"},country:"Por favor insira um número de indentificação válido em %s",default:"Por favor insira um código de identificação válido"},identical:{default:"Por favor, insira o mesmo valor"},imei:{default:"Por favor insira um IMEI válido"},imo:{default:"Por favor insira um IMO válido"},integer:{default:"Por favor insira um número inteiro válido"},ip:{default:"Por favor insira um IP válido",ipv4:"Por favor insira um endereço de IPv4 válido",ipv6:"Por favor insira um endereço de IPv6 válido"},isbn:{default:"Por favor insira um ISBN válido"},isin:{default:"Por favor insira um ISIN válido"},ismn:{default:"Por favor insira um ISMN válido"},issn:{default:"Por favor insira um ISSN válido"},lessThan:{default:"Por favor insira um valor menor ou igual a %s",notInclusive:"Por favor insira um valor menor do que %s"},mac:{default:"Por favor insira um endereço MAC válido"},meid:{default:"Por favor insira um MEID válido"},notEmpty:{default:"Por favor insira um valor"},numeric:{default:"Por favor insira um número real válido"},phone:{countries:{AE:"Emirados Árabes",BG:"Bulgária",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IN:"Índia",MA:"Marrocos",NL:"Países Baixos",PK:"Paquistão",RO:"Roménia",RU:"Rússia",SK:"Eslováquia",TH:"Tailândia",US:"EUA",VE:"Venezuela"},country:"Por favor insira um número de telefone válido em %s",default:"Por favor insira um número de telefone válido"},promise:{default:"Por favor insira um valor válido"},regexp:{default:"Por favor insira um valor correspondente ao padrão"},remote:{default:"Por favor insira um valor válido"},rtn:{default:"Por favor insira um número válido RTN"},sedol:{default:"Por favor insira um número válido SEDOL"},siren:{default:"Por favor insira um número válido SIREN"},siret:{default:"Por favor insira um número válido SIRET"},step:{default:"Por favor insira um passo válido %s"},stringCase:{default:"Por favor, digite apenas caracteres minúsculos",upper:"Por favor, digite apenas caracteres maiúsculos"},stringLength:{between:"Por favor insira um valor entre %s e %s caracteres",default:"Por favor insira um valor com comprimento válido",less:"Por favor insira menos de %s caracteres",more:"Por favor insira mais de %s caracteres"},uri:{default:"Por favor insira um URI válido"},uuid:{default:"Por favor insira um número válido UUID",version:"Por favor insira uma versão %s UUID válida"},vat:{countries:{AT:"Áustria",BE:"Bélgica",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",EE:"Estônia",EL:"Grécia",ES:"Espanha",FI:"Finlândia",FR:"França",GB:"Reino Unido",GR:"Grécia",HR:"Croácia",HU:"Hungria",IE:"Irlanda",IS:"Islândia",IT:"Itália",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MT:"Malta",NL:"Holanda",NO:"Norway",PL:"Polônia",PT:"Portugal",RO:"Roménia",RS:"Sérvia",RU:"Rússia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",VE:"Venezuela",ZA:"África do Sul"},country:"Por favor insira um número VAT válido em %s",default:"Por favor insira um VAT válido"},vin:{default:"Por favor insira um VIN válido"},zipCode:{countries:{AT:"Áustria",BG:"Bulgária",BR:"Brasil",CA:"Canadá",CH:"Suíça",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IE:"Irlanda",IN:"Índia",IT:"Itália",MA:"Marrocos",NL:"Holanda",PL:"Polônia",PT:"Portugal",RO:"Roménia",RU:"Rússia",SE:"Suécia",SG:"Cingapura",SK:"Eslováquia",US:"EUA"},country:"Por favor insira um código postal válido em %s",default:"Por favor insira um código postal válido"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/ro_RO.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ro_RO.js new file mode 100644 index 0000000..0d38797 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ro_RO.js @@ -0,0 +1 @@ +export default{base64:{default:"Te rog introdu un base64 valid"},between:{default:"Te rog introdu o valoare intre %s si %s",notInclusive:"Te rog introdu o valoare doar intre %s si %s"},bic:{default:"Te rog sa introduci un numar BIC valid"},callback:{default:"Te rog introdu o valoare valida"},choice:{between:"Te rog alege %s - %s optiuni",default:"Te rog introdu o valoare valida",less:"Te rog alege minim %s optiuni",more:"Te rog alege maxim %s optiuni"},color:{default:"Te rog sa introduci o culoare valida"},creditCard:{default:"Te rog introdu un numar de card valid"},cusip:{default:"Te rog introdu un numar CUSIP valid"},date:{default:"Te rog introdu o data valida",max:"Te rog sa introduci o data inainte de %s",min:"Te rog sa introduci o data dupa %s",range:"Te rog sa introduci o data in intervalul %s - %s"},different:{default:"Te rog sa introduci o valoare diferita"},digits:{default:"Te rog sa introduci doar cifre"},ean:{default:"Te rog sa introduci un numar EAN valid"},ein:{default:"Te rog sa introduci un numar EIN valid"},emailAddress:{default:"Te rog sa introduci o adresa de email valide"},file:{default:"Te rog sa introduci un fisier valid"},greaterThan:{default:"Te rog sa introduci o valoare mai mare sau egala cu %s",notInclusive:"Te rog sa introduci o valoare mai mare ca %s"},grid:{default:"Te rog sa introduci un numar GRId valid"},hex:{default:"Te rog sa introduci un numar hexadecimal valid"},iban:{countries:{AD:"Andorra",AE:"Emiratele Arabe unite",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia si Herzegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazilia",CH:"Elvetia",CI:"Coasta de Fildes",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Cipru",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",DO:"Republica Dominicană",DZ:"Algeria",EE:"Estonia",ES:"Spania",FI:"Finlanda",FO:"Insulele Faroe",FR:"Franta",GB:"Regatul Unit",GE:"Georgia",GI:"Gibraltar",GL:"Groenlanda",GR:"Grecia",GT:"Guatemala",HR:"Croatia",HU:"Ungaria",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islanda",IT:"Italia",JO:"Iordania",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Muntenegru",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Olanda",NO:"Norvegia",PK:"Pakistan",PL:"Polanda",PS:"Palestina",PT:"Portugalia",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Arabia Saudita",SE:"Suedia",SI:"Slovenia",SK:"Slovacia",SM:"San Marino",SN:"Senegal",TL:"Timorul de Est",TN:"Tunisia",TR:"Turkey",VG:"Insulele Virgin",XK:"Republica Kosovo"},country:"Te rog sa introduci un IBAN valid din %s",default:"Te rog sa introduci un IBAN valid"},id:{countries:{BA:"Bosnia si Herzegovina",BG:"Bulgaria",BR:"Brazilia",CH:"Elvetia",CL:"Chile",CN:"China",CZ:"Republica Cehia",DK:"Danemarca",EE:"Estonia",ES:"Spania",FI:"Finlanda",HR:"Croatia",IE:"Irlanda",IS:"Islanda",LT:"Lithuania",LV:"Latvia",ME:"Muntenegru",MK:"Macedonia",NL:"Olanda",PL:"Polanda",RO:"Romania",RS:"Serbia",SE:"Suedia",SI:"Slovenia",SK:"Slovacia",SM:"San Marino",TH:"Thailanda",TR:"Turkey",ZA:"Africa de Sud"},country:"Te rog sa introduci un numar de identificare valid din %s",default:"Te rog sa introduci un numar de identificare valid"},identical:{default:"Te rog sa introduci aceeasi valoare"},imei:{default:"Te rog sa introduci un numar IMEI valid"},imo:{default:"Te rog sa introduci un numar IMO valid"},integer:{default:"Te rog sa introduci un numar valid"},ip:{default:"Te rog sa introduci o adresa IP valida",ipv4:"Te rog sa introduci o adresa IPv4 valida",ipv6:"Te rog sa introduci o adresa IPv6 valida"},isbn:{default:"Te rog sa introduci un numar ISBN valid"},isin:{default:"Te rog sa introduci un numar ISIN valid"},ismn:{default:"Te rog sa introduci un numar ISMN valid"},issn:{default:"Te rog sa introduci un numar ISSN valid"},lessThan:{default:"Te rog sa introduci o valoare mai mica sau egala cu %s",notInclusive:"Te rog sa introduci o valoare mai mica decat %s"},mac:{default:"Te rog sa introduci o adresa MAC valida"},meid:{default:"Te rog sa introduci un numar MEID valid"},notEmpty:{default:"Te rog sa introduci o valoare"},numeric:{default:"Te rog sa introduci un numar"},phone:{countries:{AE:"Emiratele Arabe unite",BG:"Bulgaria",BR:"Brazilia",CN:"China",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",ES:"Spania",FR:"Franta",GB:"Regatul Unit",IN:"India",MA:"Maroc",NL:"Olanda",PK:"Pakistan",RO:"Romania",RU:"Rusia",SK:"Slovacia",TH:"Thailanda",US:"SUA",VE:"Venezuela"},country:"Te rog sa introduci un numar de telefon valid din %s",default:"Te rog sa introduci un numar de telefon valid"},promise:{default:"Te rog introdu o valoare valida"},regexp:{default:"Te rog sa introduci o valoare in formatul"},remote:{default:"Te rog sa introduci o valoare valida"},rtn:{default:"Te rog sa introduci un numar RTN valid"},sedol:{default:"Te rog sa introduci un numar SEDOL valid"},siren:{default:"Te rog sa introduci un numar SIREN valid"},siret:{default:"Te rog sa introduci un numar SIRET valid"},step:{default:"Te rog introdu un pas de %s"},stringCase:{default:"Te rog sa introduci doar litere mici",upper:"Te rog sa introduci doar litere mari"},stringLength:{between:"Te rog sa introduci o valoare cu lungimea intre %s si %s caractere",default:"Te rog sa introduci o valoare cu lungimea valida",less:"Te rog sa introduci mai putin de %s caractere",more:"Te rog sa introduci mai mult de %s caractere"},uri:{default:"Te rog sa introduci un URI valid"},uuid:{default:"Te rog sa introduci un numar UUID valid",version:"Te rog sa introduci un numar UUID versiunea %s valid"},vat:{countries:{AT:"Austria",BE:"Belgia",BG:"Bulgaria",BR:"Brazilia",CH:"Elvetia",CY:"Cipru",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",EE:"Estonia",EL:"Grecia",ES:"Spania",FI:"Finlanda",FR:"Franta",GB:"Regatul Unit",GR:"Grecia",HR:"Croatia",HU:"Ungaria",IE:"Irlanda",IS:"Islanda",IT:"Italia",LT:"Lituania",LU:"Luxemburg",LV:"Latvia",MT:"Malta",NL:"Olanda",NO:"Norvegia",PL:"Polanda",PT:"Portugalia",RO:"Romania",RS:"Serbia",RU:"Rusia",SE:"Suedia",SI:"Slovenia",SK:"Slovacia",VE:"Venezuela",ZA:"Africa de Sud"},country:"Te rog sa introduci un numar TVA valid din %s",default:"Te rog sa introduci un numar TVA valid"},vin:{default:"Te rog sa introduci un numar VIN valid"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brazilia",CA:"Canada",CH:"Elvetia",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",ES:"Spania",FR:"Franta",GB:"Regatul Unit",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Maroc",NL:"Olanda",PL:"Polanda",PT:"Portugalia",RO:"Romania",RU:"Rusia",SE:"Suedia",SG:"Singapore",SK:"Slovacia",US:"SUA"},country:"Te rog sa introduci un cod postal valid din %s",default:"Te rog sa introduci un cod postal valid"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/ru_RU.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ru_RU.js new file mode 100644 index 0000000..01f6ade --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ru_RU.js @@ -0,0 +1 @@ +export default{base64:{default:"Пожалуйста, введите корректную строку base64"},between:{default:"Пожалуйста, введите значение от %s до %s",notInclusive:"Пожалуйста, введите значение между %s и %s"},bic:{default:"Пожалуйста, введите правильный номер BIC"},callback:{default:"Пожалуйста, введите корректное значение"},choice:{between:"Пожалуйста, выберите %s-%s опций",default:"Пожалуйста, введите корректное значение",less:"Пожалуйста, выберите хотя бы %s опций",more:"Пожалуйста, выберите не больше %s опций"},color:{default:"Пожалуйста, введите правильный номер цвета"},creditCard:{default:"Пожалуйста, введите правильный номер кредитной карты"},cusip:{default:"Пожалуйста, введите правильный номер CUSIP"},date:{default:"Пожалуйста, введите правильную дату",max:"Пожалуйста, введите дату перед %s",min:"Пожалуйста, введите дату после %s",range:"Пожалуйста, введите дату в диапазоне %s - %s"},different:{default:"Пожалуйста, введите другое значение"},digits:{default:"Пожалуйста, введите только цифры"},ean:{default:"Пожалуйста, введите правильный номер EAN"},ein:{default:"Пожалуйста, введите правильный номер EIN"},emailAddress:{default:"Пожалуйста, введите правильный адрес эл. почты"},file:{default:"Пожалуйста, выберите файл"},greaterThan:{default:"Пожалуйста, введите значение большее или равное %s",notInclusive:"Пожалуйста, введите значение больше %s"},grid:{default:"Пожалуйста, введите правильный номер GRId"},hex:{default:"Пожалуйста, введите правильное шестнадцатиричное число"},iban:{countries:{AD:"Андорре",AE:"Объединённых Арабских Эмиратах",AL:"Албании",AO:"Анголе",AT:"Австрии",AZ:"Азербайджане",BA:"Боснии и Герцеговине",BE:"Бельгии",BF:"Буркина-Фасо",BG:"Болгарии",BH:"Бахрейне",BI:"Бурунди",BJ:"Бенине",BR:"Бразилии",CH:"Швейцарии",CI:"Кот-д'Ивуаре",CM:"Камеруне",CR:"Коста-Рике",CV:"Кабо-Верде",CY:"Кипре",CZ:"Чешская республика",DE:"Германии",DK:"Дании",DO:"Доминикане Республика",DZ:"Алжире",EE:"Эстонии",ES:"Испании",FI:"Финляндии",FO:"Фарерских островах",FR:"Франции",GB:"Великобритании",GE:"Грузии",GI:"Гибралтаре",GL:"Гренландии",GR:"Греции",GT:"Гватемале",HR:"Хорватии",HU:"Венгрии",IE:"Ирландии",IL:"Израиле",IR:"Иране",IS:"Исландии",IT:"Италии",JO:"Иордании",KW:"Кувейте",KZ:"Казахстане",LB:"Ливане",LI:"Лихтенштейне",LT:"Литве",LU:"Люксембурге",LV:"Латвии",MC:"Монако",MD:"Молдове",ME:"Черногории",MG:"Мадагаскаре",MK:"Македонии",ML:"Мали",MR:"Мавритании",MT:"Мальте",MU:"Маврикии",MZ:"Мозамбике",NL:"Нидерландах",NO:"Норвегии",PK:"Пакистане",PL:"Польше",PS:"Палестине",PT:"Португалии",QA:"Катаре",RO:"Румынии",RS:"Сербии",SA:"Саудовской Аравии",SE:"Швеции",SI:"Словении",SK:"Словакии",SM:"Сан-Марино",SN:"Сенегале",TL:"Восточный Тимор",TN:"Тунисе",TR:"Турции",VG:"Британских Виргинских островах",XK:"Республика Косово"},country:"Пожалуйста, введите правильный номер IBAN в %s",default:"Пожалуйста, введите правильный номер IBAN"},id:{countries:{BA:"Боснии и Герцеговине",BG:"Болгарии",BR:"Бразилии",CH:"Швейцарии",CL:"Чили",CN:"Китае",CZ:"Чешская республика",DK:"Дании",EE:"Эстонии",ES:"Испании",FI:"Финляндии",HR:"Хорватии",IE:"Ирландии",IS:"Исландии",LT:"Литве",LV:"Латвии",ME:"Черногории",MK:"Македонии",NL:"Нидерландах",PL:"Польше",RO:"Румынии",RS:"Сербии",SE:"Швеции",SI:"Словении",SK:"Словакии",SM:"Сан-Марино",TH:"Тайланде",TR:"Турции",ZA:"ЮАР"},country:"Пожалуйста, введите правильный идентификационный номер в %s",default:"Пожалуйста, введите правильный идентификационный номер"},identical:{default:"Пожалуйста, введите такое же значение"},imei:{default:"Пожалуйста, введите правильный номер IMEI"},imo:{default:"Пожалуйста, введите правильный номер IMO"},integer:{default:"Пожалуйста, введите правильное целое число"},ip:{default:"Пожалуйста, введите правильный IP-адрес",ipv4:"Пожалуйста, введите правильный IPv4-адрес",ipv6:"Пожалуйста, введите правильный IPv6-адрес"},isbn:{default:"Пожалуйста, введите правильный номер ISBN"},isin:{default:"Пожалуйста, введите правильный номер ISIN"},ismn:{default:"Пожалуйста, введите правильный номер ISMN"},issn:{default:"Пожалуйста, введите правильный номер ISSN"},lessThan:{default:"Пожалуйста, введите значение меньшее или равное %s",notInclusive:"Пожалуйста, введите значение меньше %s"},mac:{default:"Пожалуйста, введите правильный MAC-адрес"},meid:{default:"Пожалуйста, введите правильный номер MEID"},notEmpty:{default:"Пожалуйста, введите значение"},numeric:{default:"Пожалуйста, введите корректное действительное число"},phone:{countries:{AE:"Объединённых Арабских Эмиратах",BG:"Болгарии",BR:"Бразилии",CN:"Китае",CZ:"Чешская республика",DE:"Германии",DK:"Дании",ES:"Испании",FR:"Франции",GB:"Великобритании",IN:"Индия",MA:"Марокко",NL:"Нидерландах",PK:"Пакистане",RO:"Румынии",RU:"России",SK:"Словакии",TH:"Тайланде",US:"США",VE:"Венесуэле"},country:"Пожалуйста, введите правильный номер телефона в %s",default:"Пожалуйста, введите правильный номер телефона"},promise:{default:"Пожалуйста, введите корректное значение"},regexp:{default:"Пожалуйста, введите значение соответствующее шаблону"},remote:{default:"Пожалуйста, введите правильное значение"},rtn:{default:"Пожалуйста, введите правильный номер RTN"},sedol:{default:"Пожалуйста, введите правильный номер SEDOL"},siren:{default:"Пожалуйста, введите правильный номер SIREN"},siret:{default:"Пожалуйста, введите правильный номер SIRET"},step:{default:"Пожалуйста, введите правильный шаг %s"},stringCase:{default:"Пожалуйста, вводите только строчные буквы",upper:"Пожалуйста, вводите только заглавные буквы"},stringLength:{between:"Пожалуйста, введите строку длиной от %s до %s символов",default:"Пожалуйста, введите значение корректной длины",less:"Пожалуйста, введите не больше %s символов",more:"Пожалуйста, введите не меньше %s символов"},uri:{default:"Пожалуйста, введите правильный URI"},uuid:{default:"Пожалуйста, введите правильный номер UUID",version:"Пожалуйста, введите правильный номер UUID версии %s"},vat:{countries:{AT:"Австрии",BE:"Бельгии",BG:"Болгарии",BR:"Бразилии",CH:"Швейцарии",CY:"Кипре",CZ:"Чешская республика",DE:"Германии",DK:"Дании",EE:"Эстонии",EL:"Греции",ES:"Испании",FI:"Финляндии",FR:"Франции",GB:"Великобритании",GR:"Греции",HR:"Хорватии",HU:"Венгрии",IE:"Ирландии",IS:"Исландии",IT:"Италии",LT:"Литве",LU:"Люксембурге",LV:"Латвии",MT:"Мальте",NL:"Нидерландах",NO:"Норвегии",PL:"Польше",PT:"Португалии",RO:"Румынии",RS:"Сербии",RU:"России",SE:"Швеции",SI:"Словении",SK:"Словакии",VE:"Венесуэле",ZA:"ЮАР"},country:"Пожалуйста, введите правильный номер ИНН (VAT) в %s",default:"Пожалуйста, введите правильный номер ИНН"},vin:{default:"Пожалуйста, введите правильный номер VIN"},zipCode:{countries:{AT:"Австрии",BG:"Болгарии",BR:"Бразилии",CA:"Канаде",CH:"Швейцарии",CZ:"Чешская республика",DE:"Германии",DK:"Дании",ES:"Испании",FR:"Франции",GB:"Великобритании",IE:"Ирландии",IN:"Индия",IT:"Италии",MA:"Марокко",NL:"Нидерландах",PL:"Польше",PT:"Португалии",RO:"Румынии",RU:"России",SE:"Швеции",SG:"Сингапуре",SK:"Словакии",US:"США"},country:"Пожалуйста, введите правильный почтовый индекс в %s",default:"Пожалуйста, введите правильный почтовый индекс"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/sk_SK.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/sk_SK.js new file mode 100644 index 0000000..921638c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/sk_SK.js @@ -0,0 +1 @@ +export default{base64:{default:"Prosím zadajte správny base64"},between:{default:"Prosím zadajte hodnotu medzi %s a %s",notInclusive:"Prosím zadajte hodnotu medzi %s a %s (vrátane týchto čísel)"},bic:{default:"Prosím zadajte správne BIC číslo"},callback:{default:"Prosím zadajte správnu hodnotu"},choice:{between:"Prosím vyberte medzi %s a %s",default:"Prosím vyberte správnu hodnotu",less:"Hodnota musí byť minimálne %s",more:"Hodnota nesmie byť viac ako %s"},color:{default:"Prosím zadajte správnu farbu"},creditCard:{default:"Prosím zadajte správne číslo kreditnej karty"},cusip:{default:"Prosím zadajte správne CUSIP číslo"},date:{default:"Prosím zadajte správny dátum",max:"Prosím zadajte dátum po %s",min:"Prosím zadajte dátum pred %s",range:"Prosím zadajte dátum v rozmedzí %s až %s"},different:{default:"Prosím zadajte inú hodnotu"},digits:{default:"Toto pole môže obsahovať len čísla"},ean:{default:"Prosím zadajte správne EAN číslo"},ein:{default:"Prosím zadajte správne EIN číslo"},emailAddress:{default:"Prosím zadajte správnu emailovú adresu"},file:{default:"Prosím vyberte súbor"},greaterThan:{default:"Prosím zadajte hodnotu väčšiu alebo rovnú %s",notInclusive:"Prosím zadajte hodnotu väčšiu ako %s"},grid:{default:"Prosím zadajte správné GRId číslo"},hex:{default:"Prosím zadajte správne hexadecimálne číslo"},iban:{countries:{AD:"Andorru",AE:"Spojené arabské emiráty",AL:"Albánsko",AO:"Angolu",AT:"Rakúsko",AZ:"Ázerbajdžán",BA:"Bosnu a Herzegovinu",BE:"Belgicko",BF:"Burkina Faso",BG:"Bulharsko",BH:"Bahrajn",BI:"Burundi",BJ:"Benin",BR:"Brazíliu",CH:"Švajčiarsko",CI:"Pobrežie Slonoviny",CM:"Kamerun",CR:"Kostariku",CV:"Cape Verde",CY:"Cyprus",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",DO:"Dominikánsku republiku",DZ:"Alžírsko",EE:"Estónsko",ES:"Španielsko",FI:"Fínsko",FO:"Faerské ostrovy",FR:"Francúzsko",GB:"Veľkú Britániu",GE:"Gruzínsko",GI:"Gibraltár",GL:"Grónsko",GR:"Grécko",GT:"Guatemalu",HR:"Chorvátsko",HU:"Maďarsko",IE:"Írsko",IL:"Izrael",IR:"Irán",IS:"Island",IT:"Taliansko",JO:"Jordánsko",KW:"Kuwait",KZ:"Kazachstan",LB:"Libanon",LI:"Lichtenštajnsko",LT:"Litvu",LU:"Luxemburgsko",LV:"Lotyšsko",MC:"Monako",MD:"Moldavsko",ME:"Čiernu horu",MG:"Madagaskar",MK:"Macedónsko",ML:"Mali",MR:"Mauritániu",MT:"Maltu",MU:"Mauritius",MZ:"Mosambik",NL:"Holandsko",NO:"Nórsko",PK:"Pakistan",PL:"Poľsko",PS:"Palestínu",PT:"Portugalsko",QA:"Katar",RO:"Rumunsko",RS:"Srbsko",SA:"Saudskú Arábiu",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",SN:"Senegal",TL:"Východný Timor",TN:"Tunisko",TR:"Turecko",VG:"Britské Panenské ostrovy",XK:"Republic of Kosovo"},country:"Prosím zadajte správne IBAN číslo pre %s",default:"Prosím zadajte správne IBAN číslo"},id:{countries:{BA:"Bosnu a Hercegovinu",BG:"Bulharsko",BR:"Brazíliu",CH:"Švajčiarsko",CL:"Chile",CN:"Čínu",CZ:"Českú Republiku",DK:"Dánsko",EE:"Estónsko",ES:"Španielsko",FI:"Fínsko",HR:"Chorvátsko",IE:"Írsko",IS:"Island",LT:"Litvu",LV:"Lotyšsko",ME:"Čiernu horu",MK:"Macedónsko",NL:"Holandsko",PL:"Poľsko",RO:"Rumunsko",RS:"Srbsko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",TH:"Thajsko",TR:"Turecko",ZA:"Južnú Afriku"},country:"Prosím zadajte správne rodné číslo pre %s",default:"Prosím zadajte správne rodné číslo"},identical:{default:"Prosím zadajte rovnakú hodnotu"},imei:{default:"Prosím zadajte správne IMEI číslo"},imo:{default:"Prosím zadajte správne IMO číslo"},integer:{default:"Prosím zadajte celé číslo"},ip:{default:"Prosím zadajte správnu IP adresu",ipv4:"Prosím zadajte správnu IPv4 adresu",ipv6:"Prosím zadajte správnu IPv6 adresu"},isbn:{default:"Prosím zadajte správne ISBN číslo"},isin:{default:"Prosím zadajte správne ISIN číslo"},ismn:{default:"Prosím zadajte správne ISMN číslo"},issn:{default:"Prosím zadajte správne ISSN číslo"},lessThan:{default:"Prosím zadajte hodnotu menšiu alebo rovnú %s",notInclusive:"Prosím zadajte hodnotu menšiu ako %s"},mac:{default:"Prosím zadajte správnu MAC adresu"},meid:{default:"Prosím zadajte správne MEID číslo"},notEmpty:{default:"Toto pole nesmie byť prázdne"},numeric:{default:"Prosím zadajte číselnú hodnotu"},phone:{countries:{AE:"Spojené arabské emiráty",BG:"Bulharsko",BR:"Brazíliu",CN:"Čínu",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",ES:"Španielsko",FR:"Francúzsko",GB:"Veľkú Britániu",IN:"Indiu",MA:"Maroko",NL:"Holandsko",PK:"Pakistan",RO:"Rumunsko",RU:"Rusko",SK:"Slovensko",TH:"Thajsko",US:"Spojené Štáty Americké",VE:"Venezuelu"},country:"Prosím zadajte správne telefónne číslo pre %s",default:"Prosím zadajte správne telefónne číslo"},promise:{default:"Prosím zadajte správnu hodnotu"},regexp:{default:"Prosím zadajte hodnotu spĺňajúcu zadanie"},remote:{default:"Prosím zadajte správnu hodnotu"},rtn:{default:"Prosím zadajte správne RTN číslo"},sedol:{default:"Prosím zadajte správne SEDOL číslo"},siren:{default:"Prosím zadajte správne SIREN číslo"},siret:{default:"Prosím zadajte správne SIRET číslo"},step:{default:"Prosím zadajte správny krok %s"},stringCase:{default:"Len malé písmená sú povolené v tomto poli",upper:"Len veľké písmená sú povolené v tomto poli"},stringLength:{between:"Prosím zadajte hodnotu medzi %s a %s znakov",default:"Toto pole nesmie byť prázdne",less:"Prosím zadajte hodnotu kratšiu ako %s znakov",more:"Prosím zadajte hodnotu dlhú %s znakov a viacej"},uri:{default:"Prosím zadajte správnu URI"},uuid:{default:"Prosím zadajte správne UUID číslo",version:"Prosím zadajte správne UUID vo verzii %s"},vat:{countries:{AT:"Rakúsko",BE:"Belgicko",BG:"Bulharsko",BR:"Brazíliu",CH:"Švajčiarsko",CY:"Cyprus",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",EE:"Estónsko",EL:"Grécko",ES:"Španielsko",FI:"Fínsko",FR:"Francúzsko",GB:"Veľkú Britániu",GR:"Grécko",HR:"Chorvátsko",HU:"Maďarsko",IE:"Írsko",IS:"Island",IT:"Taliansko",LT:"Litvu",LU:"Luxemburgsko",LV:"Lotyšsko",MT:"Maltu",NL:"Holandsko",NO:"Norsko",PL:"Poľsko",PT:"Portugalsko",RO:"Rumunsko",RS:"Srbsko",RU:"Rusko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",VE:"Venezuelu",ZA:"Južnú Afriku"},country:"Prosím zadajte správne VAT číslo pre %s",default:"Prosím zadajte správne VAT číslo"},vin:{default:"Prosím zadajte správne VIN číslo"},zipCode:{countries:{AT:"Rakúsko",BG:"Bulharsko",BR:"Brazíliu",CA:"Kanadu",CH:"Švajčiarsko",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",ES:"Španielsko",FR:"Francúzsko",GB:"Veľkú Britániu",IE:"Írsko",IN:"Indiu",IT:"Taliansko",MA:"Maroko",NL:"Holandsko",PL:"Poľsko",PT:"Portugalsko",RO:"Rumunsko",RU:"Rusko",SE:"Švédsko",SG:"Singapur",SK:"Slovensko",US:"Spojené Štáty Americké"},country:"Prosím zadajte správne PSČ pre %s",default:"Prosím zadajte správne PSČ"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/sq_AL.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/sq_AL.js new file mode 100644 index 0000000..320955c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/sq_AL.js @@ -0,0 +1 @@ +export default{base64:{default:"Ju lutem përdorni sistemin e kodimit Base64"},between:{default:"Ju lutem vendosni një vlerë midis %s dhe %s",notInclusive:"Ju lutem vendosni një vlerë rreptësisht midis %s dhe %s"},bic:{default:"Ju lutem vendosni një numër BIC të vlefshëm"},callback:{default:"Ju lutem vendosni një vlerë të vlefshme"},choice:{between:"Ju lutem përzgjidhni %s - %s mundësi",default:"Ju lutem vendosni një vlerë të vlefshme",less:"Ju lutem përzgjidhni së paku %s mundësi",more:"Ju lutem përzgjidhni së shumti %s mundësi "},color:{default:"Ju lutem vendosni një ngjyrë të vlefshme"},creditCard:{default:"Ju lutem vendosni një numër karte krediti të vlefshëm"},cusip:{default:"Ju lutem vendosni një numër CUSIP të vlefshëm"},date:{default:"Ju lutem vendosni një datë të saktë",max:"Ju lutem vendosni një datë para %s",min:"Ju lutem vendosni një datë pas %s",range:"Ju lutem vendosni një datë midis %s - %s"},different:{default:"Ju lutem vendosni një vlerë tjetër"},digits:{default:"Ju lutem vendosni vetëm numra"},ean:{default:"Ju lutem vendosni një numër EAN të vlefshëm"},ein:{default:"Ju lutem vendosni një numër EIN të vlefshëm"},emailAddress:{default:"Ju lutem vendosni një adresë email të vlefshme"},file:{default:"Ju lutem përzgjidhni një skedar të vlefshëm"},greaterThan:{default:"Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s",notInclusive:"Ju lutem vendosni një vlerë më të madhe se %s"},grid:{default:"Ju lutem vendosni një numër GRId të vlefshëm"},hex:{default:"Ju lutem vendosni një numër të saktë heksadecimal"},iban:{countries:{AD:"Andora",AE:"Emiratet e Bashkuara Arabe",AL:"Shqipëri",AO:"Angola",AT:"Austri",AZ:"Azerbajxhan",BA:"Bosnjë dhe Hercegovinë",BE:"Belgjikë",BF:"Burkina Faso",BG:"Bullgari",BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Zvicër",CI:"Bregu i fildishtë",CM:"Kamerun",CR:"Kosta Rika",CV:"Kepi i Gjelbër",CY:"Qipro",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",DO:"Dominika",DZ:"Algjeri",EE:"Estoni",ES:"Spanjë",FI:"Finlandë",FO:"Ishujt Faroe",FR:"Francë",GB:"Mbretëria e Bashkuar",GE:"Gjeorgji",GI:"Gjibraltar",GL:"Groenlandë",GR:"Greqi",GT:"Guatemalë",HR:"Kroaci",HU:"Hungari",IE:"Irlandë",IL:"Izrael",IR:"Iran",IS:"Islandë",IT:"Itali",JO:"Jordani",KW:"Kuvajt",KZ:"Kazakistan",LB:"Liban",LI:"Lihtenshtejn",LT:"Lituani",LU:"Luksemburg",LV:"Letoni",MC:"Monako",MD:"Moldavi",ME:"Mal i Zi",MG:"Madagaskar",MK:"Maqedoni",ML:"Mali",MR:"Mauritani",MT:"Maltë",MU:"Mauricius",MZ:"Mozambik",NL:"Hollandë",NO:"Norvegji",PK:"Pakistan",PL:"Poloni",PS:"Palestinë",PT:"Portugali",QA:"Katar",RO:"Rumani",RS:"Serbi",SA:"Arabi Saudite",SE:"Suedi",SI:"Slloveni",SK:"Sllovaki",SM:"San Marino",SN:"Senegal",TL:"Timori Lindor",TN:"Tunizi",TR:"Turqi",VG:"Ishujt Virxhin Britanikë",XK:"Republika e Kosovës"},country:"Ju lutem vendosni një numër IBAN të vlefshëm në %s",default:"Ju lutem vendosni një numër IBAN të vlefshëm"},id:{countries:{BA:"Bosnjë dhe Hercegovinë",BG:"Bullgari",BR:"Brazil",CH:"Zvicër",CL:"Kili",CN:"Kinë",CZ:"Republika Çeke",DK:"Danimarkë",EE:"Estoni",ES:"Spanjë",FI:"Finlandë",HR:"Kroaci",IE:"Irlandë",IS:"Islandë",LT:"Lituani",LV:"Letoni",ME:"Mal i Zi",MK:"Maqedoni",NL:"Hollandë",PL:"Poloni",RO:"Rumani",RS:"Serbi",SE:"Suedi",SI:"Slloveni",SK:"Slovaki",SM:"San Marino",TH:"Tajlandë",TR:"Turqi",ZA:"Afrikë e Jugut"},country:"Ju lutem vendosni një numër identifikimi të vlefshëm në %s",default:"Ju lutem vendosni një numër identifikimi të vlefshëm"},identical:{default:"Ju lutem vendosni të njëjtën vlerë"},imei:{default:"Ju lutem vendosni numër IMEI të njëjtë"},imo:{default:"Ju lutem vendosni numër IMO të vlefshëm"},integer:{default:"Ju lutem vendosni një numër të vlefshëm"},ip:{default:"Ju lutem vendosni një adresë IP të vlefshme",ipv4:"Ju lutem vendosni një adresë IPv4 të vlefshme",ipv6:"Ju lutem vendosni një adresë IPv6 të vlefshme"},isbn:{default:"Ju lutem vendosni një numër ISBN të vlefshëm"},isin:{default:"Ju lutem vendosni një numër ISIN të vlefshëm"},ismn:{default:"Ju lutem vendosni një numër ISMN të vlefshëm"},issn:{default:"Ju lutem vendosni një numër ISSN të vlefshëm"},lessThan:{default:"Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s",notInclusive:"Ju lutem vendosni një vlerë më të vogël se %s"},mac:{default:"Ju lutem vendosni një adresë MAC të vlefshme"},meid:{default:"Ju lutem vendosni një numër MEID të vlefshëm"},notEmpty:{default:"Ju lutem vendosni një vlerë"},numeric:{default:"Ju lutem vendosni një numër me presje notuese të saktë"},phone:{countries:{AE:"Emiratet e Bashkuara Arabe",BG:"Bullgari",BR:"Brazil",CN:"Kinë",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",ES:"Spanjë",FR:"Francë",GB:"Mbretëria e Bashkuar",IN:"Indi",MA:"Marok",NL:"Hollandë",PK:"Pakistan",RO:"Rumani",RU:"Rusi",SK:"Sllovaki",TH:"Tajlandë",US:"SHBA",VE:"Venezuelë"},country:"Ju lutem vendosni një numër telefoni të vlefshëm në %s",default:"Ju lutem vendosni një numër telefoni të vlefshëm"},promise:{default:"Ju lutem vendosni një vlerë të vlefshme"},regexp:{default:"Ju lutem vendosni një vlerë që përputhet me modelin"},remote:{default:"Ju lutem vendosni një vlerë të vlefshme"},rtn:{default:"Ju lutem vendosni një numër RTN të vlefshëm"},sedol:{default:"Ju lutem vendosni një numër SEDOL të vlefshëm"},siren:{default:"Ju lutem vendosni një numër SIREN të vlefshëm"},siret:{default:"Ju lutem vendosni një numër SIRET të vlefshëm"},step:{default:"Ju lutem vendosni një hap të vlefshëm të %s"},stringCase:{default:"Ju lutem përdorni vetëm shenja të vogla të shtypit",upper:"Ju lutem përdorni vetëm shenja të mëdha të shtypit"},stringLength:{between:"Ju lutem vendosni një vlerë me gjatësi midis %s dhe %s simbole",default:"Ju lutem vendosni një vlerë me gjatësinë e duhur",less:"Ju lutem vendosni më pak se %s simbole",more:"Ju lutem vendosni më shumë se %s simbole"},uri:{default:"Ju lutem vendosni një URI të vlefshme"},uuid:{default:"Ju lutem vendosni një numër UUID të vlefshëm",version:"Ju lutem vendosni një numër UUID version %s të vlefshëm"},vat:{countries:{AT:"Austri",BE:"Belgjikë",BG:"Bullgari",BR:"Brazil",CH:"Zvicër",CY:"Qipro",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",EE:"Estoni",EL:"Greqi",ES:"Spanjë",FI:"Finlandë",FR:"Francë",GB:"Mbretëria e Bashkuar",GR:"Greqi",HR:"Kroaci",HU:"Hungari",IE:"Irlandë",IS:"Iclandë",IT:"Itali",LT:"Lituani",LU:"Luksemburg",LV:"Letoni",MT:"Maltë",NL:"Hollandë",NO:"Norvegji",PL:"Poloni",PT:"Portugali",RO:"Rumani",RS:"Serbi",RU:"Rusi",SE:"Suedi",SI:"Slloveni",SK:"Sllovaki",VE:"Venezuelë",ZA:"Afrikë e Jugut"},country:"Ju lutem vendosni një numër VAT të vlefshëm në %s",default:"Ju lutem vendosni një numër VAT të vlefshëm"},vin:{default:"Ju lutem vendosni një numër VIN të vlefshëm"},zipCode:{countries:{AT:"Austri",BG:"Bullgari",BR:"Brazil",CA:"Kanada",CH:"Zvicër",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",ES:"Spanjë",FR:"Francë",GB:"Mbretëria e Bashkuar",IE:"Irlandë",IN:"Indi",IT:"Itali",MA:"Marok",NL:"Hollandë",PL:"Poloni",PT:"Portugali",RO:"Rumani",RU:"Rusi",SE:"Suedi",SG:"Singapor",SK:"Sllovaki",US:"SHBA"},country:"Ju lutem vendosni një kod postar të vlefshëm në %s",default:"Ju lutem vendosni një kod postar të vlefshëm"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/sr_RS.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/sr_RS.js new file mode 100644 index 0000000..486ce0c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/sr_RS.js @@ -0,0 +1 @@ +export default{base64:{default:"Molimo da unesete važeći base 64 enkodovan"},between:{default:"Molimo da unesete vrednost između %s i %s",notInclusive:"Molimo da unesete vrednost strogo između %s i %s"},bic:{default:"Molimo da unesete ispravan BIC broj"},callback:{default:"Molimo da unesete važeću vrednost"},choice:{between:"Molimo odaberite %s - %s opcije(a)",default:"Molimo da unesete važeću vrednost",less:"Molimo da odaberete minimalno %s opciju(a)",more:"Molimo da odaberete maksimalno %s opciju(a)"},color:{default:"Molimo da unesete ispravnu boju"},creditCard:{default:"Molimo da unesete ispravan broj kreditne kartice"},cusip:{default:"Molimo da unesete ispravan CUSIP broj"},date:{default:"Molimo da unesete ispravan datum",max:"Molimo da unesete datum pre %s",min:"Molimo da unesete datum posle %s",range:"Molimo da unesete datum od %s do %s"},different:{default:"Molimo da unesete drugu vrednost"},digits:{default:"Molimo da unesete samo cifre"},ean:{default:"Molimo da unesete ispravan EAN broj"},ein:{default:"Molimo da unesete ispravan EIN broj"},emailAddress:{default:"Molimo da unesete važeću e-mail adresu"},file:{default:"Molimo da unesete ispravan fajl"},greaterThan:{default:"Molimo da unesete vrednost veću ili jednaku od %s",notInclusive:"Molimo da unesete vrednost veću od %s"},grid:{default:"Molimo da unesete ispravan GRId broj"},hex:{default:"Molimo da unesete ispravan heksadecimalan broj"},iban:{countries:{AD:"Andore",AE:"Ujedinjenih Arapskih Emirata",AL:"Albanije",AO:"Angole",AT:"Austrije",AZ:"Azerbejdžana",BA:"Bosne i Hercegovine",BE:"Belgije",BF:"Burkina Fasa",BG:"Bugarske",BH:"Bahraina",BI:"Burundija",BJ:"Benina",BR:"Brazila",CH:"Švajcarske",CI:"Obale slonovače",CM:"Kameruna",CR:"Kostarike",CV:"Zelenorotskih Ostrva",CY:"Kipra",CZ:"Češke",DE:"Nemačke",DK:"Danske",DO:"Dominike",DZ:"Alžira",EE:"Estonije",ES:"Španije",FI:"Finske",FO:"Farskih Ostrva",FR:"Francuske",GB:"Engleske",GE:"Džordžije",GI:"Giblartara",GL:"Grenlanda",GR:"Grčke",GT:"Gvatemale",HR:"Hrvatske",HU:"Mađarske",IE:"Irske",IL:"Izraela",IR:"Irana",IS:"Islanda",IT:"Italije",JO:"Jordana",KW:"Kuvajta",KZ:"Kazahstana",LB:"Libana",LI:"Lihtenštajna",LT:"Litvanije",LU:"Luksemburga",LV:"Latvije",MC:"Monaka",MD:"Moldove",ME:"Crne Gore",MG:"Madagaskara",MK:"Makedonije",ML:"Malija",MR:"Mauritanije",MT:"Malte",MU:"Mauricijusa",MZ:"Mozambika",NL:"Holandije",NO:"Norveške",PK:"Pakistana",PL:"Poljske",PS:"Palestine",PT:"Portugala",QA:"Katara",RO:"Rumunije",RS:"Srbije",SA:"Saudijske Arabije",SE:"Švedske",SI:"Slovenije",SK:"Slovačke",SM:"San Marina",SN:"Senegala",TL:"Источни Тимор",TN:"Tunisa",TR:"Turske",VG:"Britanskih Devičanskih Ostrva",XK:"Република Косово"},country:"Molimo da unesete ispravan IBAN broj %s",default:"Molimo da unesete ispravan IBAN broj"},id:{countries:{BA:"Bosne i Herzegovine",BG:"Bugarske",BR:"Brazila",CH:"Švajcarske",CL:"Čilea",CN:"Kine",CZ:"Češke",DK:"Danske",EE:"Estonije",ES:"Španije",FI:"Finske",HR:"Hrvatske",IE:"Irske",IS:"Islanda",LT:"Litvanije",LV:"Letonije",ME:"Crne Gore",MK:"Makedonije",NL:"Holandije",PL:"Poljske",RO:"Rumunije",RS:"Srbije",SE:"Švedske",SI:"Slovenije",SK:"Slovačke",SM:"San Marina",TH:"Tajlanda",TR:"Turske",ZA:"Južne Afrike"},country:"Molimo da unesete ispravan identifikacioni broj %s",default:"Molimo da unesete ispravan identifikacioni broj"},identical:{default:"Molimo da unesete istu vrednost"},imei:{default:"Molimo da unesete ispravan IMEI broj"},imo:{default:"Molimo da unesete ispravan IMO broj"},integer:{default:"Molimo da unesete ispravan broj"},ip:{default:"Molimo da unesete ispravnu IP adresu",ipv4:"Molimo da unesete ispravnu IPv4 adresu",ipv6:"Molimo da unesete ispravnu IPv6 adresu"},isbn:{default:"Molimo da unesete ispravan ISBN broj"},isin:{default:"Molimo da unesete ispravan ISIN broj"},ismn:{default:"Molimo da unesete ispravan ISMN broj"},issn:{default:"Molimo da unesete ispravan ISSN broj"},lessThan:{default:"Molimo da unesete vrednost manju ili jednaku od %s",notInclusive:"Molimo da unesete vrednost manju od %s"},mac:{default:"Molimo da unesete ispravnu MAC adresu"},meid:{default:"Molimo da unesete ispravan MEID broj"},notEmpty:{default:"Molimo da unesete vrednost"},numeric:{default:"Molimo da unesete ispravan decimalni broj"},phone:{countries:{AE:"Ujedinjenih Arapskih Emirata",BG:"Bugarske",BR:"Brazila",CN:"Kine",CZ:"Češke",DE:"Nemačke",DK:"Danske",ES:"Španije",FR:"Francuske",GB:"Engleske",IN:"Индија",MA:"Maroka",NL:"Holandije",PK:"Pakistana",RO:"Rumunije",RU:"Rusije",SK:"Slovačke",TH:"Tajlanda",US:"Amerike",VE:"Venecuele"},country:"Molimo da unesete ispravan broj telefona %s",default:"Molimo da unesete ispravan broj telefona"},promise:{default:"Molimo da unesete važeću vrednost"},regexp:{default:"Molimo da unesete vrednost koja se poklapa sa paternom"},remote:{default:"Molimo da unesete ispravnu vrednost"},rtn:{default:"Molimo da unesete ispravan RTN broj"},sedol:{default:"Molimo da unesete ispravan SEDOL broj"},siren:{default:"Molimo da unesete ispravan SIREN broj"},siret:{default:"Molimo da unesete ispravan SIRET broj"},step:{default:"Molimo da unesete ispravan korak od %s"},stringCase:{default:"Molimo da unesete samo mala slova",upper:"Molimo da unesete samo velika slova"},stringLength:{between:"Molimo da unesete vrednost dužine između %s i %s karaktera",default:"Molimo da unesete vrednost sa ispravnom dužinom",less:"Molimo da unesete manje od %s karaktera",more:"Molimo da unesete više od %s karaktera"},uri:{default:"Molimo da unesete ispravan URI"},uuid:{default:"Molimo da unesete ispravan UUID broj",version:"Molimo da unesete ispravnu verziju UUID %s broja"},vat:{countries:{AT:"Austrije",BE:"Belgije",BG:"Bugarske",BR:"Brazila",CH:"Švajcarske",CY:"Kipra",CZ:"Češke",DE:"Nemačke",DK:"Danske",EE:"Estonije",EL:"Grčke",ES:"Španije",FI:"Finske",FR:"Francuske",GB:"Engleske",GR:"Grčke",HR:"Hrvatske",HU:"Mađarske",IE:"Irske",IS:"Islanda",IT:"Italije",LT:"Litvanije",LU:"Luksemburga",LV:"Letonije",MT:"Malte",NL:"Holandije",NO:"Norveške",PL:"Poljske",PT:"Portugala",RO:"Romunje",RS:"Srbije",RU:"Rusije",SE:"Švedske",SI:"Slovenije",SK:"Slovačke",VE:"Venecuele",ZA:"Južne Afrike"},country:"Molimo da unesete ispravan VAT broj %s",default:"Molimo da unesete ispravan VAT broj"},vin:{default:"Molimo da unesete ispravan VIN broj"},zipCode:{countries:{AT:"Austrije",BG:"Bugarske",BR:"Brazila",CA:"Kanade",CH:"Švajcarske",CZ:"Češke",DE:"Nemačke",DK:"Danske",ES:"Španije",FR:"Francuske",GB:"Engleske",IE:"Irske",IN:"Индија",IT:"Italije",MA:"Maroka",NL:"Holandije",PL:"Poljske",PT:"Portugala",RO:"Rumunije",RU:"Rusije",SE:"Švedske",SG:"Singapura",SK:"Slovačke",US:"Amerike"},country:"Molimo da unesete ispravan poštanski broj %s",default:"Molimo da unesete ispravan poštanski broj"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/sv_SE.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/sv_SE.js new file mode 100644 index 0000000..bd5103f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/sv_SE.js @@ -0,0 +1 @@ +export default{base64:{default:"Vänligen mata in ett giltigt Base64-kodat värde"},between:{default:"Vänligen mata in ett värde mellan %s och %s",notInclusive:"Vänligen mata in ett värde strikt mellan %s och %s"},bic:{default:"Vänligen mata in ett giltigt BIC-nummer"},callback:{default:"Vänligen mata in ett giltigt värde"},choice:{between:"Vänligen välj %s - %s alternativ",default:"Vänligen mata in ett giltigt värde",less:"Vänligen välj minst %s alternativ",more:"Vänligen välj max %s alternativ"},color:{default:"Vänligen mata in en giltig färg"},creditCard:{default:"Vänligen mata in ett giltigt kredikortsnummer"},cusip:{default:"Vänligen mata in ett giltigt CUSIP-nummer"},date:{default:"Vänligen mata in ett giltigt datum",max:"Vänligen mata in ett datum före %s",min:"Vänligen mata in ett datum efter %s",range:"Vänligen mata in ett datum i intervallet %s - %s"},different:{default:"Vänligen mata in ett annat värde"},digits:{default:"Vänligen mata in endast siffror"},ean:{default:"Vänligen mata in ett giltigt EAN-nummer"},ein:{default:"Vänligen mata in ett giltigt EIN-nummer"},emailAddress:{default:"Vänligen mata in en giltig emailadress"},file:{default:"Vänligen välj en giltig fil"},greaterThan:{default:"Vänligen mata in ett värde större än eller lika med %s",notInclusive:"Vänligen mata in ett värde större än %s"},grid:{default:"Vänligen mata in ett giltigt GRID-nummer"},hex:{default:"Vänligen mata in ett giltigt hexadecimalt tal"},iban:{countries:{AD:"Andorra",AE:"Förenade Arabemiraten",AL:"Albanien",AO:"Angola",AT:"Österrike",AZ:"Azerbadjan",BA:"Bosnien och Herzegovina",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasilien",CH:"Schweiz",CI:"Elfenbenskusten",CM:"Kamerun",CR:"Costa Rica",CV:"Cape Verde",CY:"Cypern",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",DO:"Dominikanska Republiken",DZ:"Algeriet",EE:"Estland",ES:"Spanien",FI:"Finland",FO:"Färöarna",FR:"Frankrike",GB:"Storbritannien",GE:"Georgien",GI:"Gibraltar",GL:"Grönland",GR:"Greekland",GT:"Guatemala",HR:"Kroatien",HU:"Ungern",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italien",JO:"Jordanien",KW:"Kuwait",KZ:"Kazakstan",LB:"Libanon",LI:"Lichtenstein",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MC:"Monaco",MD:"Moldovien",ME:"Montenegro",MG:"Madagaskar",MK:"Makedonien",ML:"Mali",MR:"Mauretanien",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Holland",NO:"Norge",PK:"Pakistan",PL:"Polen",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Rumänien",RS:"Serbien",SA:"Saudiarabien",SE:"Sverige",SI:"Slovenien",SK:"Slovakien",SM:"San Marino",SN:"Senegal",TL:"Östtimor",TN:"Tunisien",TR:"Turkiet",VG:"Brittiska Jungfruöarna",XK:"Republiken Kosovo"},country:"Vänligen mata in ett giltigt IBAN-nummer i %s",default:"Vänligen mata in ett giltigt IBAN-nummer"},id:{countries:{BA:"Bosnien och Hercegovina",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CL:"Chile",CN:"Kina",CZ:"Tjeckien",DK:"Danmark",EE:"Estland",ES:"Spanien",FI:"Finland",HR:"Kroatien",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Lettland",ME:"Montenegro",MK:"Makedonien",NL:"Nederländerna",PL:"Polen",RO:"Rumänien",RS:"Serbien",SE:"Sverige",SI:"Slovenien",SK:"Slovakien",SM:"San Marino",TH:"Thailand",TR:"Turkiet",ZA:"Sydafrika"},country:"Vänligen mata in ett giltigt identifikationsnummer i %s",default:"Vänligen mata in ett giltigt identifikationsnummer"},identical:{default:"Vänligen mata in samma värde"},imei:{default:"Vänligen mata in ett giltigt IMEI-nummer"},imo:{default:"Vänligen mata in ett giltigt IMO-nummer"},integer:{default:"Vänligen mata in ett giltigt heltal"},ip:{default:"Vänligen mata in en giltig IP-adress",ipv4:"Vänligen mata in en giltig IPv4-adress",ipv6:"Vänligen mata in en giltig IPv6-adress"},isbn:{default:"Vänligen mata in ett giltigt ISBN-nummer"},isin:{default:"Vänligen mata in ett giltigt ISIN-nummer"},ismn:{default:"Vänligen mata in ett giltigt ISMN-nummer"},issn:{default:"Vänligen mata in ett giltigt ISSN-nummer"},lessThan:{default:"Vänligen mata in ett värde mindre än eller lika med %s",notInclusive:"Vänligen mata in ett värde mindre än %s"},mac:{default:"Vänligen mata in en giltig MAC-adress"},meid:{default:"Vänligen mata in ett giltigt MEID-nummer"},notEmpty:{default:"Vänligen mata in ett värde"},numeric:{default:"Vänligen mata in ett giltigt flyttal"},phone:{countries:{AE:"Förenade Arabemiraten",BG:"Bulgarien",BR:"Brasilien",CN:"Kina",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrike",GB:"Storbritannien",IN:"Indien",MA:"Marocko",NL:"Holland",PK:"Pakistan",RO:"Rumänien",RU:"Ryssland",SK:"Slovakien",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Vänligen mata in ett giltigt telefonnummer i %s",default:"Vänligen mata in ett giltigt telefonnummer"},promise:{default:"Vänligen mata in ett giltigt värde"},regexp:{default:"Vänligen mata in ett värde som matchar uttrycket"},remote:{default:"Vänligen mata in ett giltigt värde"},rtn:{default:"Vänligen mata in ett giltigt RTN-nummer"},sedol:{default:"Vänligen mata in ett giltigt SEDOL-nummer"},siren:{default:"Vänligen mata in ett giltigt SIREN-nummer"},siret:{default:"Vänligen mata in ett giltigt SIRET-nummer"},step:{default:"Vänligen mata in ett giltigt steg av %s"},stringCase:{default:"Vänligen mata in endast små bokstäver",upper:"Vänligen mata in endast stora bokstäver"},stringLength:{between:"Vänligen mata in ett värde mellan %s och %s tecken långt",default:"Vänligen mata in ett värde med giltig längd",less:"Vänligen mata in färre än %s tecken",more:"Vänligen mata in fler än %s tecken"},uri:{default:"Vänligen mata in en giltig URI"},uuid:{default:"Vänligen mata in ett giltigt UUID-nummer",version:"Vänligen mata in ett giltigt UUID-nummer av version %s"},vat:{countries:{AT:"Österrike",BE:"Belgien",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CY:"Cypern",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",EE:"Estland",EL:"Grekland",ES:"Spanien",FI:"Finland",FR:"Frankrike",GB:"Förenade Kungariket",GR:"Grekland",HR:"Kroatien",HU:"Ungern",IE:"Irland",IS:"Island",IT:"Italien",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MT:"Malta",NL:"Nederländerna",NO:"Norge",PL:"Polen",PT:"Portugal",RO:"Rumänien",RS:"Serbien",RU:"Ryssland",SE:"Sverige",SI:"Slovenien",SK:"Slovakien",VE:"Venezuela",ZA:"Sydafrika"},country:"Vänligen mata in ett giltigt momsregistreringsnummer i %s",default:"Vänligen mata in ett giltigt momsregistreringsnummer"},vin:{default:"Vänligen mata in ett giltigt VIN-nummer"},zipCode:{countries:{AT:"Österrike",BG:"Bulgarien",BR:"Brasilien",CA:"Kanada",CH:"Schweiz",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrike",GB:"Förenade Kungariket",IE:"Irland",IN:"Indien",IT:"Italien",MA:"Marocko",NL:"Nederländerna",PL:"Polen",PT:"Portugal",RO:"Rumänien",RU:"Ryssland",SE:"Sverige",SG:"Singapore",SK:"Slovakien",US:"USA"},country:"Vänligen mata in ett giltigt postnummer i %s",default:"Vänligen mata in ett giltigt postnummer"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/th_TH.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/th_TH.js new file mode 100644 index 0000000..7dfd2ee --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/th_TH.js @@ -0,0 +1 @@ +export default{base64:{default:"กรุณาระบุ base 64 encoded ให้ถูกต้อง"},between:{default:"กรุณาระบุค่าระหว่าง %s และ %s",notInclusive:"กรุณาระบุค่าระหว่าง %s และ %s เท่านั้น"},bic:{default:"กรุณาระบุหมายเลข BIC ให้ถูกต้อง"},callback:{default:"กรุณาระบุค่าให้ถูก"},choice:{between:"กรุณาเลือก %s - %s ที่มีอยู่",default:"กรุณาระบุค่าให้ถูกต้อง",less:"โปรดเลือกตัวเลือก %s ที่ต่ำสุด",more:"โปรดเลือกตัวเลือก %s ที่สูงสุด"},color:{default:"กรุณาระบุค่าสี color ให้ถูกต้อง"},creditCard:{default:"กรุณาระบุเลขที่บัตรเครดิตให้ถูกต้อง"},cusip:{default:"กรุณาระบุหมายเลข CUSIP ให้ถูกต้อง"},date:{default:"กรุณาระบุวันที่ให้ถูกต้อง",max:"ไม่สามารถระบุวันที่ได้หลังจาก %s",min:"ไม่สามารถระบุวันที่ได้ก่อน %s",range:"โปรดระบุวันที่ระหว่าง %s - %s"},different:{default:"กรุณาระบุค่าอื่นที่แตกต่าง"},digits:{default:"กรุณาระบุตัวเลขเท่านั้น"},ean:{default:"กรุณาระบุหมายเลข EAN ให้ถูกต้อง"},ein:{default:"กรุณาระบุหมายเลข EIN ให้ถูกต้อง"},emailAddress:{default:"กรุณาระบุอีเมล์ให้ถูกต้อง"},file:{default:"กรุณาเลือกไฟล์"},greaterThan:{default:"กรุณาระบุค่ามากกว่าหรือเท่ากับ %s",notInclusive:"กรุณาระบุค่ามากกว่า %s"},grid:{default:"กรุณาระบุหมายลข GRId ให้ถูกต้อง"},hex:{default:"กรุณาระบุเลขฐานสิบหกให้ถูกต้อง"},iban:{countries:{AD:"อันดอร์รา",AE:"สหรัฐอาหรับเอมิเรตส์",AL:"แอลเบเนีย",AO:"แองโกลา",AT:"ออสเตรีย",AZ:"อาเซอร์ไบจาน",BA:"บอสเนียและเฮอร์เซโก",BE:"ประเทศเบลเยียม",BF:"บูร์กินาฟาโซ",BG:"บัลแกเรีย",BH:"บาห์เรน",BI:"บุรุนดี",BJ:"เบนิน",BR:"บราซิล",CH:"สวิตเซอร์แลนด์",CI:"ไอวอรี่โคสต์",CM:"แคเมอรูน",CR:"คอสตาริกา",CV:"เคปเวิร์ด",CY:"ไซปรัส",CZ:"สาธารณรัฐเชค",DE:"เยอรมนี",DK:"เดนมาร์ก",DO:"สาธารณรัฐโดมินิกัน",DZ:"แอลจีเรีย",EE:"เอสโตเนีย",ES:"สเปน",FI:"ฟินแลนด์",FO:"หมู่เกาะแฟโร",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",GE:"จอร์เจีย",GI:"ยิบรอลตา",GL:"กรีนแลนด์",GR:"กรีซ",GT:"กัวเตมาลา",HR:"โครเอเชีย",HU:"ฮังการี",IE:"ไอร์แลนด์",IL:"อิสราเอล",IR:"อิหร่าน",IS:"ไอซ์",IT:"อิตาลี",JO:"จอร์แดน",KW:"คูเวต",KZ:"คาซัคสถาน",LB:"เลบานอน",LI:"Liechtenstein",LT:"ลิทัวเนีย",LU:"ลักเซมเบิร์ก",LV:"ลัตเวีย",MC:"โมนาโก",MD:"มอลโดวา",ME:"มอนเตเนโก",MG:"มาดากัสการ์",MK:"มาซิโดเนีย",ML:"มาลี",MR:"มอริเตเนีย",MT:"มอลตา",MU:"มอริเชียส",MZ:"โมซัมบิก",NL:"เนเธอร์แลนด์",NO:"นอร์เวย์",PK:"ปากีสถาน",PL:"โปแลนด์",PS:"ปาเลสไตน์",PT:"โปรตุเกส",QA:"กาตาร์",RO:"โรมาเนีย",RS:"เซอร์เบีย",SA:"ซาอุดิอารเบีย",SE:"สวีเดน",SI:"สโลวีเนีย",SK:"สโลวาเกีย",SM:"ซานมาริโน",SN:"เซเนกัล",TL:"ติมอร์ตะวันออก",TN:"ตูนิเซีย",TR:"ตุรกี",VG:"หมู่เกาะบริติชเวอร์จิน",XK:"สาธารณรัฐโคโซโว"},country:"กรุณาระบุหมายเลข IBAN ใน %s",default:"กรุณาระบุหมายเลข IBAN ให้ถูกต้อง"},id:{countries:{BA:"บอสเนียและเฮอร์เซโก",BG:"บัลแกเรีย",BR:"บราซิล",CH:"วิตเซอร์แลนด์",CL:"ชิลี",CN:"จีน",CZ:"สาธารณรัฐเชค",DK:"เดนมาร์ก",EE:"เอสโตเนีย",ES:"สเปน",FI:"ฟินแลนด์",HR:"โครเอเชีย",IE:"ไอร์แลนด์",IS:"ไอซ์",LT:"ลิทัวเนีย",LV:"ลัตเวีย",ME:"มอนเตเนโก",MK:"มาซิโดเนีย",NL:"เนเธอร์แลนด์",PL:"โปแลนด์",RO:"โรมาเนีย",RS:"เซอร์เบีย",SE:"สวีเดน",SI:"สโลวีเนีย",SK:"สโลวาเกีย",SM:"ซานมาริโน",TH:"ไทย",TR:"ตุรกี",ZA:"แอฟริกาใต้"},country:"โปรดระบุเลขบัตรประจำตัวประชาชนใน %s ให้ถูกต้อง",default:"โปรดระบุเลขบัตรประจำตัวประชาชนให้ถูกต้อง"},identical:{default:"โปรดระบุค่าให้ตรง"},imei:{default:"โปรดระบุหมายเลข IMEI ให้ถูกต้อง"},imo:{default:"โปรดระบุหมายเลข IMO ให้ถูกต้อง"},integer:{default:"โปรดระบุตัวเลขให้ถูกต้อง"},ip:{default:"โปรดระบุ IP address ให้ถูกต้อง",ipv4:"โปรดระบุ IPv4 address ให้ถูกต้อง",ipv6:"โปรดระบุ IPv6 address ให้ถูกต้อง"},isbn:{default:"โปรดระบุหมายเลข ISBN ให้ถูกต้อง"},isin:{default:"โปรดระบุหมายเลข ISIN ให้ถูกต้อง"},ismn:{default:"โปรดระบุหมายเลข ISMN ให้ถูกต้อง"},issn:{default:"โปรดระบุหมายเลข ISSN ให้ถูกต้อง"},lessThan:{default:"โปรดระบุค่าน้อยกว่าหรือเท่ากับ %s",notInclusive:"โปรดระบุค่าน้อยกว่า %s"},mac:{default:"โปรดระบุหมายเลข MAC address ให้ถูกต้อง"},meid:{default:"โปรดระบุหมายเลข MEID ให้ถูกต้อง"},notEmpty:{default:"โปรดระบุค่า"},numeric:{default:"โปรดระบุเลขหน่วยหรือจำนวนทศนิยม ให้ถูกต้อง"},phone:{countries:{AE:"สหรัฐอาหรับเอมิเรตส์",BG:"บัลแกเรีย",BR:"บราซิล",CN:"จีน",CZ:"สาธารณรัฐเชค",DE:"เยอรมนี",DK:"เดนมาร์ก",ES:"สเปน",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",IN:"อินเดีย",MA:"โมร็อกโก",NL:"เนเธอร์แลนด์",PK:"ปากีสถาน",RO:"โรมาเนีย",RU:"รัสเซีย",SK:"สโลวาเกีย",TH:"ไทย",US:"สหรัฐอเมริกา",VE:"เวเนซูเอลา"},country:"โปรดระบุหมายเลขโทรศัพท์ใน %s ให้ถูกต้อง",default:"โปรดระบุหมายเลขโทรศัพท์ให้ถูกต้อง"},promise:{default:"กรุณาระบุค่าให้ถูก"},regexp:{default:"โปรดระบุค่าให้ตรงกับรูปแบบที่กำหนด"},remote:{default:"โปรดระบุค่าให้ถูกต้อง"},rtn:{default:"โปรดระบุหมายเลข RTN ให้ถูกต้อง"},sedol:{default:"โปรดระบุหมายเลข SEDOL ให้ถูกต้อง"},siren:{default:"โปรดระบุหมายเลข SIREN ให้ถูกต้อง"},siret:{default:"โปรดระบุหมายเลข SIRET ให้ถูกต้อง"},step:{default:"โปรดระบุลำดับของ %s"},stringCase:{default:"โปรดระบุตัวอักษรพิมพ์เล็กเท่านั้น",upper:"โปรดระบุตัวอักษรพิมพ์ใหญ่เท่านั้น"},stringLength:{between:"โปรดระบุค่าตัวอักษรระหว่าง %s ถึง %s ตัวอักษร",default:"ค่าที่ระบุยังไม่ครบตามจำนวนที่กำหนด",less:"โปรดระบุค่าตัวอักษรน้อยกว่า %s ตัว",more:"โปรดระบุค่าตัวอักษรมากกว่า %s ตัว"},uri:{default:"โปรดระบุค่า URI ให้ถูกต้อง"},uuid:{default:"โปรดระบุหมายเลข UUID ให้ถูกต้อง",version:"โปรดระบุหมายเลข UUID ในเวอร์ชั่น %s"},vat:{countries:{AT:"ออสเตรีย",BE:"เบลเยี่ยม",BG:"บัลแกเรีย",BR:"บราซิล",CH:"วิตเซอร์แลนด์",CY:"ไซปรัส",CZ:"สาธารณรัฐเชค",DE:"เยอรมัน",DK:"เดนมาร์ก",EE:"เอสโตเนีย",EL:"กรีซ",ES:"สเปน",FI:"ฟินแลนด์",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",GR:"กรีซ",HR:"โครเอเชีย",HU:"ฮังการี",IE:"ไอร์แลนด์",IS:"ไอซ์",IT:"อิตาลี",LT:"ลิทัวเนีย",LU:"ลักเซมเบิร์ก",LV:"ลัตเวีย",MT:"มอลตา",NL:"เนเธอร์แลนด์",NO:"นอร์เวย์",PL:"โปแลนด์",PT:"โปรตุเกส",RO:"โรมาเนีย",RS:"เซอร์เบีย",RU:"รัสเซีย",SE:"สวีเดน",SI:"สโลวีเนีย",SK:"สโลวาเกีย",VE:"เวเนซูเอลา",ZA:"แอฟริกาใต้"},country:"โปรดระบุจำนวนภาษีมูลค่าเพิ่มใน %s",default:"โปรดระบุจำนวนภาษีมูลค่าเพิ่ม"},vin:{default:"โปรดระบุหมายเลข VIN ให้ถูกต้อง"},zipCode:{countries:{AT:"ออสเตรีย",BG:"บัลแกเรีย",BR:"บราซิล",CA:"แคนาดา",CH:"วิตเซอร์แลนด์",CZ:"สาธารณรัฐเชค",DE:"เยอรมนี",DK:"เดนมาร์ก",ES:"สเปน",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",IE:"ไอร์แลนด์",IN:"อินเดีย",IT:"อิตาลี",MA:"โมร็อกโก",NL:"เนเธอร์แลนด์",PL:"โปแลนด์",PT:"โปรตุเกส",RO:"โรมาเนีย",RU:"รัสเซีย",SE:"สวีเดน",SG:"สิงคโปร์",SK:"สโลวาเกีย",US:"สหรัฐอเมริกา"},country:"โปรดระบุรหัสไปรษณีย์ให้ถูกต้องใน %s",default:"โปรดระบุรหัสไปรษณีย์ให้ถูกต้อง"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/tr_TR.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/tr_TR.js new file mode 100644 index 0000000..2eb3d6d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/tr_TR.js @@ -0,0 +1 @@ +export default{base64:{default:"Lütfen 64 bit tabanına uygun bir giriş yapınız"},between:{default:"Lütfen %s ile %s arasında bir değer giriniz",notInclusive:"Lütfen sadece %s ile %s arasında bir değer giriniz"},bic:{default:"Lütfen geçerli bir BIC numarası giriniz"},callback:{default:"Lütfen geçerli bir değer giriniz"},choice:{between:"Lütfen %s - %s arası seçiniz",default:"Lütfen geçerli bir değer giriniz",less:"Lütfen minimum %s kadar değer giriniz",more:"Lütfen maksimum %s kadar değer giriniz"},color:{default:"Lütfen geçerli bir codu giriniz"},creditCard:{default:"Lütfen geçerli bir kredi kartı numarası giriniz"},cusip:{default:"Lütfen geçerli bir CUSIP numarası giriniz"},date:{default:"Lütfen geçerli bir tarih giriniz",max:"Lütfen %s tarihinden önce bir tarih giriniz",min:"Lütfen %s tarihinden sonra bir tarih giriniz",range:"Lütfen %s - %s aralığında bir tarih giriniz"},different:{default:"Lütfen farklı bir değer giriniz"},digits:{default:"Lütfen sadece sayı giriniz"},ean:{default:"Lütfen geçerli bir EAN numarası giriniz"},ein:{default:"Lütfen geçerli bir EIN numarası giriniz"},emailAddress:{default:"Lütfen geçerli bir E-Mail adresi giriniz"},file:{default:"Lütfen geçerli bir dosya seçiniz"},greaterThan:{default:"Lütfen %s ye eşit veya daha büyük bir değer giriniz",notInclusive:"Lütfen %s den büyük bir değer giriniz"},grid:{default:"Lütfen geçerli bir GRId numarası giriniz"},hex:{default:"Lütfen geçerli bir Hexadecimal sayı giriniz"},iban:{countries:{AD:"Andorra",AE:"Birleşik Arap Emirlikleri",AL:"Arnavutluk",AO:"Angola",AT:"Avusturya",AZ:"Azerbaycan",BA:"Bosna Hersek",BE:"Belçika",BF:"Burkina Faso",BG:"Bulgaristan",BH:"Bahreyn",BI:"Burundi",BJ:"Benin",BR:"Brezilya",CH:"İsviçre",CI:"Fildişi Sahili",CM:"Kamerun",CR:"Kosta Rika",CV:"Cape Verde",CY:"Kıbrıs",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",DO:"Dominik Cumhuriyeti",DZ:"Cezayir",EE:"Estonya",ES:"İspanya",FI:"Finlandiya",FO:"Faroe Adaları",FR:"Fransa",GB:"İngiltere",GE:"Georgia",GI:"Cebelitarık",GL:"Grönland",GR:"Yunansitan",GT:"Guatemala",HR:"Hırvatistan",HU:"Macaristan",IE:"İrlanda",IL:"İsrail",IR:"İran",IS:"İzlanda",IT:"İtalya",JO:"Ürdün",KW:"Kuveit",KZ:"Kazakistan",LB:"Lübnan",LI:"Lihtenştayn",LT:"Litvanya",LU:"Lüksemburg",LV:"Letonya",MC:"Monako",MD:"Moldova",ME:"Karadağ",MG:"Madagaskar",MK:"Makedonya",ML:"Mali",MR:"Moritanya",MT:"Malta",MU:"Mauritius",MZ:"Mozambik",NL:"Hollanda",NO:"Norveç",PK:"Pakistan",PL:"Polanya",PS:"Filistin",PT:"Portekiz",QA:"Katar",RO:"Romanya",RS:"Serbistan",SA:"Suudi Arabistan",SE:"İsveç",SI:"Slovenya",SK:"Slovakya",SM:"San Marino",SN:"Senegal",TL:"Doğu Timor",TN:"Tunus",TR:"Turkiye",VG:"Virgin Adaları, İngiliz",XK:"Kosova Cumhuriyeti"},country:"Lütfen geçerli bir IBAN numarası giriniz içinde %s",default:"Lütfen geçerli bir IBAN numarası giriniz"},id:{countries:{BA:"Bosna Hersek",BG:"Bulgaristan",BR:"Brezilya",CH:"İsviçre",CL:"Şili",CN:"Çin",CZ:"Çek Cumhuriyeti",DK:"Danimarka",EE:"Estonya",ES:"İspanya",FI:"Finlandiya",HR:"Hırvatistan",IE:"İrlanda",IS:"İzlanda",LT:"Litvanya",LV:"Letonya",ME:"Karadağ",MK:"Makedonya",NL:"Hollanda",PL:"Polanya",RO:"Romanya",RS:"Sırbistan",SE:"İsveç",SI:"Slovenya",SK:"Slovakya",SM:"San Marino",TH:"Tayland",TR:"Turkiye",ZA:"Güney Afrika"},country:"Lütfen geçerli bir kimlik numarası giriniz içinde %s",default:"Lütfen geçerli bir tanımlama numarası giriniz"},identical:{default:"Lütfen aynı değeri giriniz"},imei:{default:"Lütfen geçerli bir IMEI numarası giriniz"},imo:{default:"Lütfen geçerli bir IMO numarası giriniz"},integer:{default:"Lütfen geçerli bir numara giriniz"},ip:{default:"Lütfen geçerli bir IP adresi giriniz",ipv4:"Lütfen geçerli bir IPv4 adresi giriniz",ipv6:"Lütfen geçerli bri IPv6 adresi giriniz"},isbn:{default:"Lütfen geçerli bir ISBN numarası giriniz"},isin:{default:"Lütfen geçerli bir ISIN numarası giriniz"},ismn:{default:"Lütfen geçerli bir ISMN numarası giriniz"},issn:{default:"Lütfen geçerli bir ISSN numarası giriniz"},lessThan:{default:"Lütfen %s den düşük veya eşit bir değer giriniz",notInclusive:"Lütfen %s den büyük bir değer giriniz"},mac:{default:"Lütfen geçerli bir MAC Adresi giriniz"},meid:{default:"Lütfen geçerli bir MEID numarası giriniz"},notEmpty:{default:"Bir değer giriniz"},numeric:{default:"Lütfen geçerli bir float değer giriniz"},phone:{countries:{AE:"Birleşik Arap Emirlikleri",BG:"Bulgaristan",BR:"Brezilya",CN:"Çin",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",ES:"İspanya",FR:"Fransa",GB:"İngiltere",IN:"Hindistan",MA:"Fas",NL:"Hollanda",PK:"Pakistan",RO:"Romanya",RU:"Rusya",SK:"Slovakya",TH:"Tayland",US:"Amerika",VE:"Venezüella"},country:"Lütfen geçerli bir telefon numarası giriniz içinde %s",default:"Lütfen geçerli bir telefon numarası giriniz"},promise:{default:"Lütfen geçerli bir değer giriniz"},regexp:{default:"Lütfen uyumlu bir değer giriniz"},remote:{default:"Lütfen geçerli bir numara giriniz"},rtn:{default:"Lütfen geçerli bir RTN numarası giriniz"},sedol:{default:"Lütfen geçerli bir SEDOL numarası giriniz"},siren:{default:"Lütfen geçerli bir SIREN numarası giriniz"},siret:{default:"Lütfen geçerli bir SIRET numarası giriniz"},step:{default:"Lütfen geçerli bir %s adımı giriniz"},stringCase:{default:"Lütfen sadece küçük harf giriniz",upper:"Lütfen sadece büyük harf giriniz"},stringLength:{between:"Lütfen %s ile %s arası uzunlukta bir değer giriniz",default:"Lütfen geçerli uzunluktaki bir değer giriniz",less:"Lütfen %s karakterden az değer giriniz",more:"Lütfen %s karakterden fazla değer giriniz"},uri:{default:"Lütfen geçerli bir URL giriniz"},uuid:{default:"Lütfen geçerli bir UUID numarası giriniz",version:"Lütfen geçerli bir UUID versiyon %s numarası giriniz"},vat:{countries:{AT:"Avustralya",BE:"Belçika",BG:"Bulgaristan",BR:"Brezilya",CH:"İsviçre",CY:"Kıbrıs",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",EE:"Estonya",EL:"Yunanistan",ES:"İspanya",FI:"Finlandiya",FR:"Fransa",GB:"İngiltere",GR:"Yunanistan",HR:"Hırvatistan",HU:"Macaristan",IE:"Irlanda",IS:"İzlanda",IT:"Italya",LT:"Litvanya",LU:"Lüksemburg",LV:"Letonya",MT:"Malta",NL:"Hollanda",NO:"Norveç",PL:"Polonya",PT:"Portekiz",RO:"Romanya",RS:"Sırbistan",RU:"Rusya",SE:"İsveç",SI:"Slovenya",SK:"Slovakya",VE:"Venezüella",ZA:"Güney Afrika"},country:"Lütfen geçerli bir vergi numarası giriniz içinde %s",default:"Lütfen geçerli bir VAT kodu giriniz"},vin:{default:"Lütfen geçerli bir VIN numarası giriniz"},zipCode:{countries:{AT:"Avustralya",BG:"Bulgaristan",BR:"Brezilya",CA:"Kanada",CH:"İsviçre",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",ES:"İspanya",FR:"Fransa",GB:"İngiltere",IE:"Irlanda",IN:"Hindistan",IT:"İtalya",MA:"Fas",NL:"Hollanda",PL:"Polanya",PT:"Portekiz",RO:"Romanya",RU:"Rusya",SE:"İsveç",SG:"Singapur",SK:"Slovakya",US:"Amerika Birleşik Devletleri"},country:"Lütfen geçerli bir posta kodu giriniz içinde %s",default:"Lütfen geçerli bir posta kodu giriniz"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/ua_UA.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ua_UA.js new file mode 100644 index 0000000..c153459 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/ua_UA.js @@ -0,0 +1 @@ +export default{base64:{default:"Будь ласка, введіть коректний рядок base64"},between:{default:"Будь ласка, введіть значення від %s до %s",notInclusive:"Будь ласка, введіть значення між %s і %s"},bic:{default:"Будь ласка, введіть правильний номер BIC"},callback:{default:"Будь ласка, введіть коректне значення"},choice:{between:"Будь ласка, виберіть %s - %s опцій",default:"Будь ласка, введіть коректне значення",less:"Будь ласка, виберіть хоча б %s опцій",more:"Будь ласка, виберіть не більше %s опцій"},color:{default:"Будь ласка, введіть правильний номер кольору"},creditCard:{default:"Будь ласка, введіть правильний номер кредитної картки"},cusip:{default:"Будь ласка, введіть правильний номер CUSIP"},date:{default:"Будь ласка, введіть правильну дату",max:"Будь ласка, введіть дату перед %s",min:"Будь ласка, введіть дату після %s",range:"Будь ласка, введіть дату у діапазоні %s - %s"},different:{default:"Будь ласка, введіть інше значення"},digits:{default:"Будь ласка, введіть тільки цифри"},ean:{default:"Будь ласка, введіть правильний номер EAN"},ein:{default:"Будь ласка, введіть правильний номер EIN"},emailAddress:{default:"Будь ласка, введіть правильну адресу e-mail"},file:{default:"Будь ласка, виберіть файл"},greaterThan:{default:"Будь ласка, введіть значення більше або рівне %s",notInclusive:"Будь ласка, введіть значення більше %s"},grid:{default:"Будь ласка, введіть правильний номер GRId"},hex:{default:"Будь ласка, введіть правильний шістнадцятковий(16) номер"},iban:{countries:{AD:"Андоррі",AE:"Об'єднаних Арабських Еміратах",AL:"Албанії",AO:"Анголі",AT:"Австрії",AZ:"Азербайджані",BA:"Боснії і Герцеговині",BE:"Бельгії",BF:"Буркіна-Фасо",BG:"Болгарії",BH:"Бахрейні",BI:"Бурунді",BJ:"Беніні",BR:"Бразилії",CH:"Швейцарії",CI:"Кот-д'Івуарі",CM:"Камеруні",CR:"Коста-Ріці",CV:"Кабо-Верде",CY:"Кіпрі",CZ:"Чехії",DE:"Германії",DK:"Данії",DO:"Домінікані",DZ:"Алжирі",EE:"Естонії",ES:"Іспанії",FI:"Фінляндії",FO:"Фарерських островах",FR:"Франції",GB:"Великобританії",GE:"Грузії",GI:"Гібралтарі",GL:"Гренландії",GR:"Греції",GT:"Гватемалі",HR:"Хорватії",HU:"Венгрії",IE:"Ірландії",IL:"Ізраїлі",IR:"Ірані",IS:"Ісландії",IT:"Італії",JO:"Йорданії",KW:"Кувейті",KZ:"Казахстані",LB:"Лівані",LI:"Ліхтенштейні",LT:"Литві",LU:"Люксембурзі",LV:"Латвії",MC:"Монако",MD:"Молдові",ME:"Чорногорії",MG:"Мадагаскарі",MK:"Македонії",ML:"Малі",MR:"Мавританії",MT:"Мальті",MU:"Маврикії",MZ:"Мозамбіку",NL:"Нідерландах",NO:"Норвегії",PK:"Пакистані",PL:"Польщі",PS:"Палестині",PT:"Португалії",QA:"Катарі",RO:"Румунії",RS:"Сербії",SA:"Саудівської Аравії",SE:"Швеції",SI:"Словенії",SK:"Словаччині",SM:"Сан-Марино",SN:"Сенегалі",TL:"східний Тимор",TN:"Тунісі",TR:"Туреччині",VG:"Британських Віргінських островах",XK:"Республіка Косово"},country:"Будь ласка, введіть правильний номер IBAN в %s",default:"Будь ласка, введіть правильний номер IBAN"},id:{countries:{BA:"Боснії і Герцеговині",BG:"Болгарії",BR:"Бразилії",CH:"Швейцарії",CL:"Чилі",CN:"Китаї",CZ:"Чехії",DK:"Данії",EE:"Естонії",ES:"Іспанії",FI:"Фінляндії",HR:"Хорватії",IE:"Ірландії",IS:"Ісландії",LT:"Литві",LV:"Латвії",ME:"Чорногорії",MK:"Македонії",NL:"Нідерландах",PL:"Польщі",RO:"Румунії",RS:"Сербії",SE:"Швеції",SI:"Словенії",SK:"Словаччині",SM:"Сан-Марино",TH:"Таїланді",TR:"Туреччині",ZA:"ПАР"},country:"Будь ласка, введіть правильний ідентифікаційний номер в %s",default:"Будь ласка, введіть правильний ідентифікаційний номер"},identical:{default:"Будь ласка, введіть таке ж значення"},imei:{default:"Будь ласка, введіть правильний номер IMEI"},imo:{default:"Будь ласка, введіть правильний номер IMO"},integer:{default:"Будь ласка, введіть правильне ціле значення"},ip:{default:"Будь ласка, введіть правильну IP-адресу",ipv4:"Будь ласка введіть правильну IPv4-адресу",ipv6:"Будь ласка введіть правильну IPv6-адресу"},isbn:{default:"Будь ласка, введіть правильний номер ISBN"},isin:{default:"Будь ласка, введіть правильний номер ISIN"},ismn:{default:"Будь ласка, введіть правильний номер ISMN"},issn:{default:"Будь ласка, введіть правильний номер ISSN"},lessThan:{default:"Будь ласка, введіть значення менше або рівне %s",notInclusive:"Будь ласка, введіть значення менше ніж %s"},mac:{default:"Будь ласка, введіть правильну MAC-адресу"},meid:{default:"Будь ласка, введіть правильний номер MEID"},notEmpty:{default:"Будь ласка, введіть значення"},numeric:{default:"Будь ласка, введіть коректне дійсне число"},phone:{countries:{AE:"Об'єднаних Арабських Еміратах",BG:"Болгарії",BR:"Бразилії",CN:"Китаї",CZ:"Чехії",DE:"Германії",DK:"Данії",ES:"Іспанії",FR:"Франції",GB:"Великобританії",IN:"Індія",MA:"Марокко",NL:"Нідерландах",PK:"Пакистані",RO:"Румунії",RU:"Росії",SK:"Словаччині",TH:"Таїланді",US:"США",VE:"Венесуелі"},country:"Будь ласка, введіть правильний номер телефону в %s",default:"Будь ласка, введіть правильний номер телефону"},promise:{default:"Будь ласка, введіть коректне значення"},regexp:{default:"Будь ласка, введіть значення відповідне до шаблону"},remote:{default:"Будь ласка, введіть правильне значення"},rtn:{default:"Будь ласка, введіть правильний номер RTN"},sedol:{default:"Будь ласка, введіть правильний номер SEDOL"},siren:{default:"Будь ласка, введіть правильний номер SIREN"},siret:{default:"Будь ласка, введіть правильний номер SIRET"},step:{default:"Будь ласка, введіть правильний крок %s"},stringCase:{default:"Будь ласка, вводите тільки малі літери",upper:"Будь ласка, вводите тільки заголовні букви"},stringLength:{between:"Будь ласка, введіть рядок довжиною від %s до %s символів",default:"Будь ласка, введіть значення коректної довжини",less:"Будь ласка, введіть не більше %s символів",more:"Будь ласка, введіть, не менше %s символів"},uri:{default:"Будь ласка, введіть правильний URI"},uuid:{default:"Будь ласка, введіть правильний номер UUID",version:"Будь ласка, введіть правильний номер UUID версії %s"},vat:{countries:{AT:"Австрії",BE:"Бельгії",BG:"Болгарії",BR:"Бразилії",CH:"Швейцарії",CY:"Кіпрі",CZ:"Чехії",DE:"Германії",DK:"Данії",EE:"Естонії",EL:"Греції",ES:"Іспанії",FI:"Фінляндії",FR:"Франції",GB:"Великобританії",GR:"Греції",HR:"Хорватії",HU:"Венгрії",IE:"Ірландії",IS:"Ісландії",IT:"Італії",LT:"Литві",LU:"Люксембургі",LV:"Латвії",MT:"Мальті",NL:"Нідерландах",NO:"Норвегії",PL:"Польщі",PT:"Португалії",RO:"Румунії",RS:"Сербії",RU:"Росії",SE:"Швеції",SI:"Словенії",SK:"Словаччині",VE:"Венесуелі",ZA:"ПАР"},country:"Будь ласка, введіть правильний номер VAT в %s",default:"Будь ласка, введіть правильний номер VAT"},vin:{default:"Будь ласка, введіть правильний номер VIN"},zipCode:{countries:{AT:"Австрії",BG:"Болгарії",BR:"Бразилії",CA:"Канаді",CH:"Швейцарії",CZ:"Чехії",DE:"Германії",DK:"Данії",ES:"Іспанії",FR:"Франції",GB:"Великобританії",IE:"Ірландії",IN:"Індія",IT:"Італії",MA:"Марокко",NL:"Нідерландах",PL:"Польщі",PT:"Португалії",RO:"Румунії",RU:"Росії",SE:"Швеції",SG:"Сингапурі",SK:"Словаччині",US:"США"},country:"Будь ласка, введіть правильний поштовий індекс в %s",default:"Будь ласка, введіть правильний поштовий індекс"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/vi_VN.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/vi_VN.js new file mode 100644 index 0000000..08148af --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/vi_VN.js @@ -0,0 +1 @@ +export default{base64:{default:"Vui lòng nhập chuỗi mã hoá base64 hợp lệ"},between:{default:"Vui lòng nhập giá trị nằm giữa %s và %s",notInclusive:"Vui lòng nhập giá trị nằm giữa %s và %s"},bic:{default:"Vui lòng nhập số BIC hợp lệ"},callback:{default:"Vui lòng nhập giá trị hợp lệ"},choice:{between:"Vui lòng chọn %s - %s lựa chọn",default:"Vui lòng nhập giá trị hợp lệ",less:"Vui lòng chọn ít nhất %s lựa chọn",more:"Vui lòng chọn nhiều nhất %s lựa chọn"},color:{default:"Vui lòng nhập mã màu hợp lệ"},creditCard:{default:"Vui lòng nhập số thẻ tín dụng hợp lệ"},cusip:{default:"Vui lòng nhập số CUSIP hợp lệ"},date:{default:"Vui lòng nhập ngày hợp lệ",max:"Vui lòng nhập ngày trước %s",min:"Vui lòng nhập ngày sau %s",range:"Vui lòng nhập ngày trong khoảng %s - %s"},different:{default:"Vui lòng nhập một giá trị khác"},digits:{default:"Vui lòng chỉ nhập số"},ean:{default:"Vui lòng nhập số EAN hợp lệ"},ein:{default:"Vui lòng nhập số EIN hợp lệ"},emailAddress:{default:"Vui lòng nhập địa chỉ email hợp lệ"},file:{default:"Vui lòng chọn file hợp lệ"},greaterThan:{default:"Vui lòng nhập giá trị lớn hơn hoặc bằng %s",notInclusive:"Vui lòng nhập giá trị lớn hơn %s"},grid:{default:"Vui lòng nhập số GRId hợp lệ"},hex:{default:"Vui lòng nhập số hexa hợp lệ"},iban:{countries:{AD:"Andorra",AE:"Tiểu vương quốc Ả Rập thống nhất",AL:"Albania",AO:"Angola",AT:"Áo",AZ:"Azerbaijan",BA:"Bosnia và Herzegovina",BE:"Bỉ",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Thuỵ Sĩ",CI:"Bờ Biển Ngà",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Síp",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",DO:"Dominican",DZ:"Algeria",EE:"Estonia",ES:"Tây Ban Nha",FI:"Phần Lan",FO:"Đảo Faroe",FR:"Pháp",GB:"Vương quốc Anh",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Hy Lạp",GT:"Guatemala",HR:"Croatia",HU:"Hungary",IE:"Ireland",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Ý",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Hà Lan",NO:"Na Uy",PK:"Pakistan",PL:"Ba Lan",PS:"Palestine",PT:"Bồ Đào Nha",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Ả Rập Xê Út",SE:"Thuỵ Điển",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"Đông Timor",TN:"Tunisia",TR:"Thổ Nhĩ Kỳ",VG:"Đảo Virgin, Anh quốc",XK:"Kosovo"},country:"Vui lòng nhập mã IBAN hợp lệ của %s",default:"Vui lòng nhập số IBAN hợp lệ"},id:{countries:{BA:"Bosnia và Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Thuỵ Sĩ",CL:"Chi Lê",CN:"Trung Quốc",CZ:"Séc",DK:"Đan Mạch",EE:"Estonia",ES:"Tây Ban Nha",FI:"Phần Lan",HR:"Croatia",IE:"Ireland",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Hà Lan",PL:"Ba Lan",RO:"Romania",RS:"Serbia",SE:"Thuỵ Điển",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thái Lan",TR:"Thổ Nhĩ Kỳ",ZA:"Nam Phi"},country:"Vui lòng nhập mã ID hợp lệ của %s",default:"Vui lòng nhập mã ID hợp lệ"},identical:{default:"Vui lòng nhập cùng giá trị"},imei:{default:"Vui lòng nhập số IMEI hợp lệ"},imo:{default:"Vui lòng nhập số IMO hợp lệ"},integer:{default:"Vui lòng nhập số hợp lệ"},ip:{default:"Vui lòng nhập địa chỉ IP hợp lệ",ipv4:"Vui lòng nhập địa chỉ IPv4 hợp lệ",ipv6:"Vui lòng nhập địa chỉ IPv6 hợp lệ"},isbn:{default:"Vui lòng nhập số ISBN hợp lệ"},isin:{default:"Vui lòng nhập số ISIN hợp lệ"},ismn:{default:"Vui lòng nhập số ISMN hợp lệ"},issn:{default:"Vui lòng nhập số ISSN hợp lệ"},lessThan:{default:"Vui lòng nhập giá trị nhỏ hơn hoặc bằng %s",notInclusive:"Vui lòng nhập giá trị nhỏ hơn %s"},mac:{default:"Vui lòng nhập địa chỉ MAC hợp lệ"},meid:{default:"Vui lòng nhập số MEID hợp lệ"},notEmpty:{default:"Vui lòng nhập giá trị"},numeric:{default:"Vui lòng nhập số hợp lệ"},phone:{countries:{AE:"Tiểu vương quốc Ả Rập thống nhất",BG:"Bulgaria",BR:"Brazil",CN:"Trung Quốc",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",ES:"Tây Ban Nha",FR:"Pháp",GB:"Vương quốc Anh",IN:"Ấn Độ",MA:"Maroc",NL:"Hà Lan",PK:"Pakistan",RO:"Romania",RU:"Nga",SK:"Slovakia",TH:"Thái Lan",US:"Mỹ",VE:"Venezuela"},country:"Vui lòng nhập số điện thoại hợp lệ của %s",default:"Vui lòng nhập số điện thoại hợp lệ"},promise:{default:"Vui lòng nhập giá trị hợp lệ"},regexp:{default:"Vui lòng nhập giá trị thích hợp với biểu mẫu"},remote:{default:"Vui lòng nhập giá trị hợp lệ"},rtn:{default:"Vui lòng nhập số RTN hợp lệ"},sedol:{default:"Vui lòng nhập số SEDOL hợp lệ"},siren:{default:"Vui lòng nhập số Siren hợp lệ"},siret:{default:"Vui lòng nhập số Siret hợp lệ"},step:{default:"Vui lòng nhập bước nhảy của %s"},stringCase:{default:"Vui lòng nhập ký tự thường",upper:"Vui lòng nhập ký tự in hoa"},stringLength:{between:"Vui lòng nhập giá trị có độ dài trong khoảng %s và %s ký tự",default:"Vui lòng nhập giá trị có độ dài hợp lệ",less:"Vui lòng nhập ít hơn %s ký tự",more:"Vui lòng nhập nhiều hơn %s ký tự"},uri:{default:"Vui lòng nhập địa chỉ URI hợp lệ"},uuid:{default:"Vui lòng nhập số UUID hợp lệ",version:"Vui lòng nhập số UUID phiên bản %s hợp lệ"},vat:{countries:{AT:"Áo",BE:"Bỉ",BG:"Bulgaria",BR:"Brazil",CH:"Thuỵ Sĩ",CY:"Síp",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",EE:"Estonia",EL:"Hy Lạp",ES:"Tây Ban Nha",FI:"Phần Lan",FR:"Pháp",GB:"Vương quốc Anh",GR:"Hy Lạp",HR:"Croatia",HU:"Hungari",IE:"Ireland",IS:"Iceland",IT:"Ý",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Hà Lan",NO:"Na Uy",PL:"Ba Lan",PT:"Bồ Đào Nha",RO:"Romania",RS:"Serbia",RU:"Nga",SE:"Thuỵ Điển",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Nam Phi"},country:"Vui lòng nhập số VAT hợp lệ của %s",default:"Vui lòng nhập số VAT hợp lệ"},vin:{default:"Vui lòng nhập số VIN hợp lệ"},zipCode:{countries:{AT:"Áo",BG:"Bulgaria",BR:"Brazil",CA:"Canada",CH:"Thuỵ Sĩ",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",ES:"Tây Ban Nha",FR:"Pháp",GB:"Vương quốc Anh",IE:"Ireland",IN:"Ấn Độ",IT:"Ý",MA:"Maroc",NL:"Hà Lan",PL:"Ba Lan",PT:"Bồ Đào Nha",RO:"Romania",RU:"Nga",SE:"Thuỵ Sĩ",SG:"Singapore",SK:"Slovakia",US:"Mỹ"},country:"Vui lòng nhập mã bưu điện hợp lệ của %s",default:"Vui lòng nhập mã bưu điện hợp lệ"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/zh_CN.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/zh_CN.js new file mode 100644 index 0000000..9d02e1e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/zh_CN.js @@ -0,0 +1 @@ +export default{base64:{default:"请输入有效的Base64编码"},between:{default:"请输入在 %s 和 %s 之间的数值",notInclusive:"请输入在 %s 和 %s 之间(不含两端)的数值"},bic:{default:"请输入有效的BIC商品编码"},callback:{default:"请输入有效的值"},choice:{between:"请选择 %s 至 %s 个选项",default:"请输入有效的值",less:"请至少选中 %s 个选项",more:"最多只能选中 %s 个选项"},color:{default:"请输入有效的颜色值"},creditCard:{default:"请输入有效的信用卡号码"},cusip:{default:"请输入有效的美国CUSIP代码"},date:{default:"请输入有效的日期",max:"请输入 %s 或以前的日期",min:"请输入 %s 或之后的日期",range:"请输入 %s 和 %s 之间的日期"},different:{default:"请输入不同的值"},digits:{default:"请输入有效的数字"},ean:{default:"请输入有效的EAN商品编码"},ein:{default:"请输入有效的EIN商品编码"},emailAddress:{default:"请输入有效的邮件地址"},file:{default:"请选择有效的文件"},greaterThan:{default:"请输入大于等于 %s 的数值",notInclusive:"请输入大于 %s 的数值"},grid:{default:"请输入有效的GRId编码"},hex:{default:"请输入有效的16进制数"},iban:{countries:{AD:"安道​​尔",AE:"阿联酋",AL:"阿尔巴尼亚",AO:"安哥拉",AT:"奥地利",AZ:"阿塞拜疆",BA:"波斯尼亚和黑塞哥维那",BE:"比利时",BF:"布基纳法索",BG:"保加利亚",BH:"巴林",BI:"布隆迪",BJ:"贝宁",BR:"巴西",CH:"瑞士",CI:"科特迪瓦",CM:"喀麦隆",CR:"哥斯达黎加",CV:"佛得角",CY:"塞浦路斯",CZ:"捷克共和国",DE:"德国",DK:"丹麦",DO:"多米尼加共和国",DZ:"阿尔及利亚",EE:"爱沙尼亚",ES:"西班牙",FI:"芬兰",FO:"法罗群岛",FR:"法国",GB:"英国",GE:"格鲁吉亚",GI:"直布罗陀",GL:"格陵兰岛",GR:"希腊",GT:"危地马拉",HR:"克罗地亚",HU:"匈牙利",IE:"爱尔兰",IL:"以色列",IR:"伊朗",IS:"冰岛",IT:"意大利",JO:"约旦",KW:"科威特",KZ:"哈萨克斯坦",LB:"黎巴嫩",LI:"列支敦士登",LT:"立陶宛",LU:"卢森堡",LV:"拉脱维亚",MC:"摩纳哥",MD:"摩尔多瓦",ME:"黑山",MG:"马达加斯加",MK:"马其顿",ML:"马里",MR:"毛里塔尼亚",MT:"马耳他",MU:"毛里求斯",MZ:"莫桑比克",NL:"荷兰",NO:"挪威",PK:"巴基斯坦",PL:"波兰",PS:"巴勒斯坦",PT:"葡萄牙",QA:"卡塔尔",RO:"罗马尼亚",RS:"塞尔维亚",SA:"沙特阿拉伯",SE:"瑞典",SI:"斯洛文尼亚",SK:"斯洛伐克",SM:"圣马力诺",SN:"塞内加尔",TL:"东帝汶",TN:"突尼斯",TR:"土耳其",VG:"英属维尔京群岛",XK:"科索沃共和国"},country:"请输入有效的 %s 国家或地区的IBAN(国际银行账户)号码",default:"请输入有效的IBAN(国际银行账户)号码"},id:{countries:{BA:"波黑",BG:"保加利亚",BR:"巴西",CH:"瑞士",CL:"智利",CN:"中国",CZ:"捷克共和国",DK:"丹麦",EE:"爱沙尼亚",ES:"西班牙",FI:"芬兰",HR:"克罗地亚",IE:"爱尔兰",IS:"冰岛",LT:"立陶宛",LV:"拉脱维亚",ME:"黑山",MK:"马其顿",NL:"荷兰",PL:"波兰",RO:"罗马尼亚",RS:"塞尔维亚",SE:"瑞典",SI:"斯洛文尼亚",SK:"斯洛伐克",SM:"圣马力诺",TH:"泰国",TR:"土耳其",ZA:"南非"},country:"请输入有效的 %s 国家或地区的身份证件号码",default:"请输入有效的身份证件号码"},identical:{default:"请输入相同的值"},imei:{default:"请输入有效的IMEI(手机串号)"},imo:{default:"请输入有效的国际海事组织(IMO)号码"},integer:{default:"请输入有效的整数值"},ip:{default:"请输入有效的IP地址",ipv4:"请输入有效的IPv4地址",ipv6:"请输入有效的IPv6地址"},isbn:{default:"请输入有效的ISBN(国际标准书号)"},isin:{default:"请输入有效的ISIN(国际证券编码)"},ismn:{default:"请输入有效的ISMN(印刷音乐作品编码)"},issn:{default:"请输入有效的ISSN(国际标准杂志书号)"},lessThan:{default:"请输入小于等于 %s 的数值",notInclusive:"请输入小于 %s 的数值"},mac:{default:"请输入有效的MAC物理地址"},meid:{default:"请输入有效的MEID(移动设备识别码)"},notEmpty:{default:"请填写必填项目"},numeric:{default:"请输入有效的数值,允许小数"},phone:{countries:{AE:"阿联酋",BG:"保加利亚",BR:"巴西",CN:"中国",CZ:"捷克共和国",DE:"德国",DK:"丹麦",ES:"西班牙",FR:"法国",GB:"英国",IN:"印度",MA:"摩洛哥",NL:"荷兰",PK:"巴基斯坦",RO:"罗马尼亚",RU:"俄罗斯",SK:"斯洛伐克",TH:"泰国",US:"美国",VE:"委内瑞拉"},country:"请输入有效的 %s 国家或地区的电话号码",default:"请输入有效的电话号码"},promise:{default:"请输入有效的值"},regexp:{default:"请输入符合正则表达式限制的值"},remote:{default:"请输入有效的值"},rtn:{default:"请输入有效的RTN号码"},sedol:{default:"请输入有效的SEDOL代码"},siren:{default:"请输入有效的SIREN号码"},siret:{default:"请输入有效的SIRET号码"},step:{default:"请输入在基础值上,增加 %s 的整数倍的数值"},stringCase:{default:"只能输入小写字母",upper:"只能输入大写字母"},stringLength:{between:"请输入 %s 至 %s 个字符",default:"请输入符合长度限制的值",less:"最多只能输入 %s 个字符",more:"需要输入至少 %s 个字符"},uri:{default:"请输入一个有效的URL地址"},uuid:{default:"请输入有效的UUID",version:"请输入版本 %s 的UUID"},vat:{countries:{AT:"奥地利",BE:"比利时",BG:"保加利亚",BR:"巴西",CH:"瑞士",CY:"塞浦路斯",CZ:"捷克共和国",DE:"德国",DK:"丹麦",EE:"爱沙尼亚",EL:"希腊",ES:"西班牙",FI:"芬兰",FR:"法语",GB:"英国",GR:"希腊",HR:"克罗地亚",HU:"匈牙利",IE:"爱尔兰",IS:"冰岛",IT:"意大利",LT:"立陶宛",LU:"卢森堡",LV:"拉脱维亚",MT:"马耳他",NL:"荷兰",NO:"挪威",PL:"波兰",PT:"葡萄牙",RO:"罗马尼亚",RS:"塞尔维亚",RU:"俄罗斯",SE:"瑞典",SI:"斯洛文尼亚",SK:"斯洛伐克",VE:"委内瑞拉",ZA:"南非"},country:"请输入有效的 %s 国家或地区的VAT(税号)",default:"请输入有效的VAT(税号)"},vin:{default:"请输入有效的VIN(美国车辆识别号码)"},zipCode:{countries:{AT:"奥地利",BG:"保加利亚",BR:"巴西",CA:"加拿大",CH:"瑞士",CZ:"捷克共和国",DE:"德国",DK:"丹麦",ES:"西班牙",FR:"法国",GB:"英国",IE:"爱尔兰",IN:"印度",IT:"意大利",MA:"摩洛哥",NL:"荷兰",PL:"波兰",PT:"葡萄牙",RO:"罗马尼亚",RU:"俄罗斯",SE:"瑞典",SG:"新加坡",SK:"斯洛伐克",US:"美国"},country:"请输入有效的 %s 国家或地区的邮政编码",default:"请输入有效的邮政编码"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/locales/zh_TW.js b/resources/assets/core/plugins/formvalidation/dist/es6/locales/zh_TW.js new file mode 100644 index 0000000..defb409 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/locales/zh_TW.js @@ -0,0 +1 @@ +export default{base64:{default:"請輸入有效的Base64編碼"},between:{default:"請輸入不小於 %s 且不大於 %s 的值",notInclusive:"請輸入不小於等於 %s 且不大於等於 %s 的值"},bic:{default:"請輸入有效的BIC商品編碼"},callback:{default:"請輸入有效的值"},choice:{between:"請選擇 %s 至 %s 個選項",default:"請輸入有效的值",less:"最少選擇 %s 個選項",more:"最多選擇 %s 個選項"},color:{default:"請輸入有效的元色碼"},creditCard:{default:"請輸入有效的信用卡號碼"},cusip:{default:"請輸入有效的CUSIP(美國證券庫斯普)號碼"},date:{default:"請輸入有效的日期",max:"請輸入 %s 或以前的日期",min:"請輸入 %s 或之後的日期",range:"請輸入 %s 至 %s 之間的日期"},different:{default:"請輸入不同的值"},digits:{default:"只能輸入數字"},ean:{default:"請輸入有效的EAN商品編碼"},ein:{default:"請輸入有效的EIN商品編碼"},emailAddress:{default:"請輸入有效的EMAIL"},file:{default:"請選擇有效的檔案"},greaterThan:{default:"請輸入大於等於 %s 的值",notInclusive:"請輸入大於 %s 的值"},grid:{default:"請輸入有效的GRId編碼"},hex:{default:"請輸入有效的16位元碼"},iban:{countries:{AD:"安道​​爾",AE:"阿聯酋",AL:"阿爾巴尼亞",AO:"安哥拉",AT:"奧地利",AZ:"阿塞拜疆",BA:"波斯尼亞和黑塞哥維那",BE:"比利時",BF:"布基納法索",BG:"保加利亞",BH:"巴林",BI:"布隆迪",BJ:"貝寧",BR:"巴西",CH:"瑞士",CI:"象牙海岸",CM:"喀麥隆",CR:"哥斯達黎加",CV:"佛得角",CY:"塞浦路斯",CZ:"捷克共和國",DE:"德國",DK:"丹麥",DO:"多明尼加共和國",DZ:"阿爾及利亞",EE:"愛沙尼亞",ES:"西班牙",FI:"芬蘭",FO:"法羅群島",FR:"法國",GB:"英國",GE:"格魯吉亞",GI:"直布羅陀",GL:"格陵蘭島",GR:"希臘",GT:"危地馬拉",HR:"克羅地亞",HU:"匈牙利",IE:"愛爾蘭",IL:"以色列",IR:"伊朗",IS:"冰島",IT:"意大利",JO:"約旦",KW:"科威特",KZ:"哈薩克斯坦",LB:"黎巴嫩",LI:"列支敦士登",LT:"立陶宛",LU:"盧森堡",LV:"拉脫維亞",MC:"摩納哥",MD:"摩爾多瓦",ME:"蒙特內哥羅",MG:"馬達加斯加",MK:"馬其頓",ML:"馬里",MR:"毛里塔尼亞",MT:"馬耳他",MU:"毛里求斯",MZ:"莫桑比克",NL:"荷蘭",NO:"挪威",PK:"巴基斯坦",PL:"波蘭",PS:"巴勒斯坦",PT:"葡萄牙",QA:"卡塔爾",RO:"羅馬尼亞",RS:"塞爾維亞",SA:"沙特阿拉伯",SE:"瑞典",SI:"斯洛文尼亞",SK:"斯洛伐克",SM:"聖馬力諾",SN:"塞內加爾",TL:"東帝汶",TN:"突尼斯",TR:"土耳其",VG:"英屬維爾京群島",XK:"科索沃共和國"},country:"請輸入有效的 %s 國家的IBAN(國際銀行賬戶)號碼",default:"請輸入有效的IBAN(國際銀行賬戶)號碼"},id:{countries:{BA:"波赫",BG:"保加利亞",BR:"巴西",CH:"瑞士",CL:"智利",CN:"中國",CZ:"捷克共和國",DK:"丹麥",EE:"愛沙尼亞",ES:"西班牙",FI:"芬蘭",HR:"克羅地亞",IE:"愛爾蘭",IS:"冰島",LT:"立陶宛",LV:"拉脫維亞",ME:"蒙特內哥羅",MK:"馬其頓",NL:"荷蘭",PL:"波蘭",RO:"羅馬尼亞",RS:"塞爾維亞",SE:"瑞典",SI:"斯洛文尼亞",SK:"斯洛伐克",SM:"聖馬力諾",TH:"泰國",TR:"土耳其",ZA:"南非"},country:"請輸入有效的 %s 身份證字號",default:"請輸入有效的身份證字號"},identical:{default:"請輸入相同的值"},imei:{default:"請輸入有效的IMEI(手機序列號)"},imo:{default:"請輸入有效的國際海事組織(IMO)號碼"},integer:{default:"請輸入有效的整數"},ip:{default:"請輸入有效的IP位址",ipv4:"請輸入有效的IPv4位址",ipv6:"請輸入有效的IPv6位址"},isbn:{default:"請輸入有效的ISBN(國際標準書號)"},isin:{default:"請輸入有效的ISIN(國際證券號碼)"},ismn:{default:"請輸入有效的ISMN(國際標準音樂編號)"},issn:{default:"請輸入有效的ISSN(國際標準期刊號)"},lessThan:{default:"請輸入小於等於 %s 的值",notInclusive:"請輸入小於 %s 的值"},mac:{default:"請輸入有效的MAC位址"},meid:{default:"請輸入有效的MEID(行動設備識別碼)"},notEmpty:{default:"請填寫必填欄位"},numeric:{default:"請輸入有效的數字(含浮點數)"},phone:{countries:{AE:"阿聯酋",BG:"保加利亞",BR:"巴西",CN:"中国",CZ:"捷克共和國",DE:"德國",DK:"丹麥",ES:"西班牙",FR:"法國",GB:"英國",IN:"印度",MA:"摩洛哥",NL:"荷蘭",PK:"巴基斯坦",RO:"罗马尼亚",RU:"俄羅斯",SK:"斯洛伐克",TH:"泰國",US:"美國",VE:"委内瑞拉"},country:"請輸入有效的 %s 國家的電話號碼",default:"請輸入有效的電話號碼"},promise:{default:"請輸入有效的值"},regexp:{default:"請輸入符合正規表示式所限制的值"},remote:{default:"請輸入有效的值"},rtn:{default:"請輸入有效的RTN號碼"},sedol:{default:"請輸入有效的SEDOL代碼"},siren:{default:"請輸入有效的SIREN號碼"},siret:{default:"請輸入有效的SIRET號碼"},step:{default:"請輸入 %s 的倍數"},stringCase:{default:"只能輸入小寫字母",upper:"只能輸入大寫字母"},stringLength:{between:"請輸入 %s 至 %s 個字",default:"請輸入符合長度限制的值",less:"請輸入小於 %s 個字",more:"請輸入大於 %s 個字"},uri:{default:"請輸入一個有效的鏈接"},uuid:{default:"請輸入有效的UUID",version:"請輸入版本 %s 的UUID"},vat:{countries:{AT:"奧地利",BE:"比利時",BG:"保加利亞",BR:"巴西",CH:"瑞士",CY:"塞浦路斯",CZ:"捷克共和國",DE:"德國",DK:"丹麥",EE:"愛沙尼亞",EL:"希臘",ES:"西班牙",FI:"芬蘭",FR:"法語",GB:"英國",GR:"希臘",HR:"克羅地亞",HU:"匈牙利",IE:"愛爾蘭",IS:"冰島",IT:"意大利",LT:"立陶宛",LU:"盧森堡",LV:"拉脫維亞",MT:"馬耳他",NL:"荷蘭",NO:"挪威",PL:"波蘭",PT:"葡萄牙",RO:"羅馬尼亞",RS:"塞爾維亞",RU:"俄羅斯",SE:"瑞典",SI:"斯洛文尼亞",SK:"斯洛伐克",VE:"委内瑞拉",ZA:"南非"},country:"請輸入有效的 %s 國家的VAT(增值税)",default:"請輸入有效的VAT(增值税)"},vin:{default:"請輸入有效的VIN(車輛識別號碼)"},zipCode:{countries:{AT:"奧地利",BG:"保加利亞",BR:"巴西",CA:"加拿大",CH:"瑞士",CZ:"捷克共和國",DE:"德國",DK:"丹麥",ES:"西班牙",FR:"法國",GB:"英國",IE:"愛爾蘭",IN:"印度",IT:"意大利",MA:"摩洛哥",NL:"荷蘭",PL:"波蘭",PT:"葡萄牙",RO:"羅馬尼亞",RU:"俄羅斯",SE:"瑞典",SG:"新加坡",SK:"斯洛伐克",US:"美國"},country:"請輸入有效的 %s 國家的郵政編碼",default:"請輸入有效的郵政編碼"}}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Alias.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Alias.js new file mode 100644 index 0000000..0ef9ecc --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Alias.js @@ -0,0 +1 @@ +import t from"../core/Plugin";export default class e extends t{constructor(t){super(t);this.opts=t||{};this.validatorNameFilter=this.getValidatorName.bind(this)}install(){this.core.registerFilter("validator-name",this.validatorNameFilter)}uninstall(){this.core.deregisterFilter("validator-name",this.validatorNameFilter)}getValidatorName(t,e){return this.opts[t]||t}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Aria.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Aria.js new file mode 100644 index 0000000..c5afe21 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Aria.js @@ -0,0 +1 @@ +import e from"../core/Plugin";export default class i extends e{constructor(){super({});this.elementValidatedHandler=this.onElementValidated.bind(this);this.fieldValidHandler=this.onFieldValid.bind(this);this.fieldInvalidHandler=this.onFieldInvalid.bind(this);this.messageDisplayedHandler=this.onMessageDisplayed.bind(this)}install(){this.core.on("core.field.valid",this.fieldValidHandler).on("core.field.invalid",this.fieldInvalidHandler).on("core.element.validated",this.elementValidatedHandler).on("plugins.message.displayed",this.messageDisplayedHandler)}uninstall(){this.core.off("core.field.valid",this.fieldValidHandler).off("core.field.invalid",this.fieldInvalidHandler).off("core.element.validated",this.elementValidatedHandler).off("plugins.message.displayed",this.messageDisplayedHandler)}onElementValidated(e){if(e.valid){e.element.setAttribute("aria-invalid","false");e.element.removeAttribute("aria-describedby")}}onFieldValid(e){const i=this.core.getElements(e);if(i){i.forEach((e=>{e.setAttribute("aria-invalid","false");e.removeAttribute("aria-describedby")}))}}onFieldInvalid(e){const i=this.core.getElements(e);if(i){i.forEach((e=>e.setAttribute("aria-invalid","true")))}}onMessageDisplayed(e){e.messageElement.setAttribute("role","alert");e.messageElement.setAttribute("aria-hidden","false");const i=this.core.getElements(e.field);const t=i.indexOf(e.element);const l=`js-fv-${e.field}-${t}-${Date.now()}-message`;e.messageElement.setAttribute("id",l);e.element.setAttribute("aria-describedby",l);const a=e.element.getAttribute("type");if("radio"===a||"checkbox"===a){i.forEach((e=>e.setAttribute("aria-describedby",l)))}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/AutoFocus.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/AutoFocus.js new file mode 100644 index 0000000..7b9506b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/AutoFocus.js @@ -0,0 +1 @@ +import t from"../core/Plugin";import i from"./FieldStatus";export default class s extends t{constructor(t){super(t);this.fieldStatusPluginName="___autoFocusFieldStatus";this.opts=Object.assign({},{onPrefocus:()=>{}},t);this.invalidFormHandler=this.onFormInvalid.bind(this)}install(){this.core.on("core.form.invalid",this.invalidFormHandler).registerPlugin(this.fieldStatusPluginName,new i)}uninstall(){this.core.off("core.form.invalid",this.invalidFormHandler).deregisterPlugin(this.fieldStatusPluginName)}onFormInvalid(){const t=this.core.getPlugin(this.fieldStatusPluginName);const i=t.getStatuses();const s=Object.keys(this.core.getFields()).filter((t=>i.get(t)==="Invalid"));if(s.length>0){const t=s[0];const i=this.core.getElements(t);if(i.length>0){const s=i[0];const e={firstElement:s,field:t};this.core.emit("plugins.autofocus.prefocus",e);this.opts.onPrefocus(e);s.focus()}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bootstrap.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bootstrap.js new file mode 100644 index 0000000..cd05e9b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bootstrap.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"../utils/hasClass";import n from"./Framework";export default class s extends n{constructor(e){super(Object.assign({},{eleInvalidClass:"is-invalid",eleValidClass:"is-valid",formClass:"fv-plugins-bootstrap",messageClass:"fv-help-block",rowInvalidClass:"has-danger",rowPattern:/^(.*)(col|offset)(-(sm|md|lg|xl))*-[0-9]+(.*)$/,rowSelector:".form-group",rowValidClass:"has-success"},e))}onIconPlaced(n){const s=n.element.parentElement;if(t(s,"input-group")){s.parentElement.insertBefore(n.iconElement,s.nextSibling)}const l=n.element.getAttribute("type");if("checkbox"===l||"radio"===l){const l=s.parentElement;if(t(s,"form-check")){e(n.iconElement,{"fv-plugins-icon-check":true});s.parentElement.insertBefore(n.iconElement,s.nextSibling)}else if(t(s.parentElement,"form-check")){e(n.iconElement,{"fv-plugins-icon-check":true});l.parentElement.insertBefore(n.iconElement,l.nextSibling)}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bootstrap3.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bootstrap3.js new file mode 100644 index 0000000..ea1f2be --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bootstrap3.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"../utils/hasClass";import s from"./Framework";export default class n extends s{constructor(e){super(Object.assign({},{formClass:"fv-plugins-bootstrap3",messageClass:"help-block",rowClasses:"has-feedback",rowInvalidClass:"has-error",rowPattern:/^(.*)(col|offset)-(xs|sm|md|lg)-[0-9]+(.*)$/,rowSelector:".form-group",rowValidClass:"has-success"},e))}onIconPlaced(s){e(s.iconElement,{"form-control-feedback":true});const n=s.element.parentElement;if(t(n,"input-group")){n.parentElement.insertBefore(s.iconElement,n.nextSibling)}const r=s.element.getAttribute("type");if("checkbox"===r||"radio"===r){const e=n.parentElement;if(t(n,r)){n.parentElement.insertBefore(s.iconElement,n.nextSibling)}else if(t(n.parentElement,r)){e.parentElement.insertBefore(s.iconElement,e.nextSibling)}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bootstrap5.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bootstrap5.js new file mode 100644 index 0000000..6a25887 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bootstrap5.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"../utils/hasClass";import n from"./Framework";export default class l extends n{constructor(e){super(Object.assign({},{eleInvalidClass:"is-invalid",eleValidClass:"is-valid",formClass:"fv-plugins-bootstrap5",rowInvalidClass:"fv-plugins-bootstrap5-row-invalid",rowPattern:/^(.*)(col|offset)(-(sm|md|lg|xl))*-[0-9]+(.*)$/,rowSelector:".row",rowValidClass:"fv-plugins-bootstrap5-row-valid"},e));this.eleValidatedHandler=this.handleElementValidated.bind(this)}install(){super.install();this.core.on("core.element.validated",this.eleValidatedHandler)}uninstall(){super.install();this.core.off("core.element.validated",this.eleValidatedHandler)}handleElementValidated(n){const l=n.element.getAttribute("type");if(("checkbox"===l||"radio"===l)&&n.elements.length>1&&t(n.element,"form-check-input")){const l=n.element.parentElement;if(t(l,"form-check")&&t(l,"form-check-inline")){e(l,{"is-invalid":!n.valid,"is-valid":n.valid})}}}onIconPlaced(n){e(n.element,{"fv-plugins-icon-input":true});const l=n.element.parentElement;if(t(l,"input-group")){l.parentElement.insertBefore(n.iconElement,l.nextSibling);if(n.element.nextElementSibling&&t(n.element.nextElementSibling,"input-group-text")){e(n.iconElement,{"fv-plugins-icon-input-group":true})}}const i=n.element.getAttribute("type");if("checkbox"===i||"radio"===i){const i=l.parentElement;if(t(l,"form-check")){e(n.iconElement,{"fv-plugins-icon-check":true});l.parentElement.insertBefore(n.iconElement,l.nextSibling)}else if(t(l.parentElement,"form-check")){e(n.iconElement,{"fv-plugins-icon-check":true});i.parentElement.insertBefore(n.iconElement,i.nextSibling)}}}onMessagePlaced(n){n.messageElement.classList.add("invalid-feedback");const l=n.element.parentElement;if(t(l,"input-group")){l.appendChild(n.messageElement);e(l,{"has-validation":true});return}const i=n.element.getAttribute("type");if(("checkbox"===i||"radio"===i)&&t(n.element,"form-check-input")&&t(l,"form-check")&&!t(l,"form-check-inline")){n.elements[n.elements.length-1].parentElement.appendChild(n.messageElement)}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bulma.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bulma.js new file mode 100644 index 0000000..d43cdb6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Bulma.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"./Framework";export default class s extends t{constructor(e){super(Object.assign({},{formClass:"fv-plugins-bulma",messageClass:"help is-danger",rowInvalidClass:"fv-has-error",rowPattern:/^.*field.*$/,rowSelector:".field",rowValidClass:"fv-has-success"},e))}onIconPlaced(t){e(t.iconElement,{"fv-plugins-icon":false});const s=document.createElement("span");s.setAttribute("class","icon is-small is-right");t.iconElement.parentNode.insertBefore(s,t.iconElement);s.appendChild(t.iconElement);const n=t.element.getAttribute("type");const r=t.element.parentElement;if("checkbox"===n||"radio"===n){e(r.parentElement,{"has-icons-right":true});e(s,{"fv-plugins-icon-check":true});r.parentElement.insertBefore(s,r.nextSibling)}else{e(r,{"has-icons-right":true})}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Declarative.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Declarative.js new file mode 100644 index 0000000..430865e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Declarative.js @@ -0,0 +1 @@ +import e from"../core/Plugin";export default class t extends e{constructor(e){super(e);this.addedFields=new Map;this.opts=Object.assign({},{html5Input:false,pluginPrefix:"data-fvp-",prefix:"data-fv-"},e);this.fieldAddedHandler=this.onFieldAdded.bind(this);this.fieldRemovedHandler=this.onFieldRemoved.bind(this)}install(){this.parsePlugins();const e=this.parseOptions();Object.keys(e).forEach((t=>{if(!this.addedFields.has(t)){this.addedFields.set(t,true)}this.core.addField(t,e[t])}));this.core.on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler)}uninstall(){this.addedFields.clear();this.core.off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler)}onFieldAdded(e){const t=e.elements;if(!t||t.length===0||this.addedFields.has(e.field)){return}this.addedFields.set(e.field,true);t.forEach((t=>{const s=this.parseElement(t);if(!this.isEmptyOption(s)){const t={selector:e.options.selector,validators:Object.assign({},e.options.validators||{},s.validators)};this.core.setFieldOptions(e.field,t)}}))}onFieldRemoved(e){if(e.field&&this.addedFields.has(e.field)){this.addedFields.delete(e.field)}}parseOptions(){const e=this.opts.prefix;const t={};const s=this.core.getFields();const a=this.core.getFormElement();const i=[].slice.call(a.querySelectorAll(`[name], [${e}field]`));i.forEach((s=>{const a=this.parseElement(s);if(!this.isEmptyOption(a)){const i=s.getAttribute("name")||s.getAttribute(`${e}field`);t[i]=Object.assign({},t[i],a)}}));Object.keys(t).forEach((e=>{Object.keys(t[e].validators).forEach((a=>{t[e].validators[a].enabled=t[e].validators[a].enabled||false;if(s[e]&&s[e].validators&&s[e].validators[a]){Object.assign(t[e].validators[a],s[e].validators[a])}}))}));return Object.assign({},s,t)}createPluginInstance(e,t){const s=e.split(".");let a=window||this;for(let e=0,t=s.length;e{const t=a[e];const s=t["enabled"];const i=t["class"];if(s&&i){delete t["enabled"];delete t["clazz"];const s=this.createPluginInstance(i,t);this.core.registerPlugin(e,s)}}))}isEmptyOption(e){const t=e.validators;return Object.keys(t).length===0&&t.constructor===Object}parseElement(e){const t=new RegExp(`^${this.opts.prefix}([a-z0-9-]+)(___)*([a-z0-9-]+)*$`);const s=e.attributes.length;const a={};const i=e.getAttribute("type");for(let n=0;n{}},e);this.elementValidatingHandler=this.onElementValidating.bind(this);this.elementValidatedHandler=this.onElementValidated.bind(this);this.elementNotValidatedHandler=this.onElementNotValidated.bind(this);this.elementIgnoredHandler=this.onElementIgnored.bind(this);this.fieldAddedHandler=this.onFieldAdded.bind(this);this.fieldRemovedHandler=this.onFieldRemoved.bind(this)}install(){this.core.on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("core.element.ignored",this.elementIgnoredHandler).on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler)}uninstall(){this.statuses.clear();this.core.off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("core.element.ignored",this.elementIgnoredHandler).off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler)}areFieldsValid(){return Array.from(this.statuses.values()).every((e=>e==="Valid"||e==="NotValidated"||e==="Ignored"))}getStatuses(){return this.statuses}onFieldAdded(e){this.statuses.set(e.field,"NotValidated")}onFieldRemoved(e){if(this.statuses.has(e.field)){this.statuses.delete(e.field)}this.opts.onStatusChanged(this.areFieldsValid())}onElementValidating(e){this.statuses.set(e.field,"Validating");this.opts.onStatusChanged(false)}onElementValidated(e){this.statuses.set(e.field,e.valid?"Valid":"Invalid");if(e.valid){this.opts.onStatusChanged(this.areFieldsValid())}else{this.opts.onStatusChanged(false)}}onElementNotValidated(e){this.statuses.set(e.field,"NotValidated");this.opts.onStatusChanged(false)}onElementIgnored(e){this.statuses.set(e.field,"Ignored");this.opts.onStatusChanged(this.areFieldsValid())}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Foundation.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Foundation.js new file mode 100644 index 0000000..6c19040 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Foundation.js @@ -0,0 +1 @@ +import e from"./Framework";export default class o extends e{constructor(e){super(Object.assign({},{formClass:"fv-plugins-foundation",messageClass:"form-error",rowInvalidClass:"fv-row__error",rowPattern:/^.*((small|medium|large)-[0-9]+)\s.*(cell).*$/,rowSelector:".grid-x",rowValidClass:"fv-row__success"},e))}onIconPlaced(e){const o=e.element.getAttribute("type");if("checkbox"===o||"radio"===o){const o=e.iconElement.nextSibling;if("LABEL"===o.nodeName){o.parentNode.insertBefore(e.iconElement,o.nextSibling)}else if("#text"===o.nodeName){const n=o.nextSibling;if(n&&"LABEL"===n.nodeName){n.parentNode.insertBefore(e.iconElement,n.nextSibling)}}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Framework.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Framework.js new file mode 100644 index 0000000..b767aa5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Framework.js @@ -0,0 +1 @@ +import e from"../core/Plugin";import t from"../utils/classSet";import s from"../utils/closest";import i from"./Message";export default class l extends e{constructor(e){super(e);this.results=new Map;this.containers=new Map;this.opts=Object.assign({},{defaultMessageContainer:true,eleInvalidClass:"",eleValidClass:"",rowClasses:"",rowValidatingClass:""},e);this.elementIgnoredHandler=this.onElementIgnored.bind(this);this.elementValidatingHandler=this.onElementValidating.bind(this);this.elementValidatedHandler=this.onElementValidated.bind(this);this.elementNotValidatedHandler=this.onElementNotValidated.bind(this);this.iconPlacedHandler=this.onIconPlaced.bind(this);this.fieldAddedHandler=this.onFieldAdded.bind(this);this.fieldRemovedHandler=this.onFieldRemoved.bind(this);this.messagePlacedHandler=this.onMessagePlaced.bind(this)}install(){t(this.core.getFormElement(),{[this.opts.formClass]:true,"fv-plugins-framework":true});this.core.on("core.element.ignored",this.elementIgnoredHandler).on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("plugins.icon.placed",this.iconPlacedHandler).on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler);if(this.opts.defaultMessageContainer){this.core.registerPlugin("___frameworkMessage",new i({clazz:this.opts.messageClass,container:(e,t)=>{const l="string"===typeof this.opts.rowSelector?this.opts.rowSelector:this.opts.rowSelector(e,t);const a=s(t,l);return i.getClosestContainer(t,a,this.opts.rowPattern)}}));this.core.on("plugins.message.placed",this.messagePlacedHandler)}}uninstall(){this.results.clear();this.containers.clear();t(this.core.getFormElement(),{[this.opts.formClass]:false,"fv-plugins-framework":false});this.core.off("core.element.ignored",this.elementIgnoredHandler).off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("plugins.icon.placed",this.iconPlacedHandler).off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler);if(this.opts.defaultMessageContainer){this.core.off("plugins.message.placed",this.messagePlacedHandler)}}onIconPlaced(e){}onMessagePlaced(e){}onFieldAdded(e){const s=e.elements;if(s){s.forEach((e=>{const s=this.containers.get(e);if(s){t(s,{[this.opts.rowInvalidClass]:false,[this.opts.rowValidatingClass]:false,[this.opts.rowValidClass]:false,"fv-plugins-icon-container":false});this.containers.delete(e)}}));this.prepareFieldContainer(e.field,s)}}onFieldRemoved(e){e.elements.forEach((e=>{const s=this.containers.get(e);if(s){t(s,{[this.opts.rowInvalidClass]:false,[this.opts.rowValidatingClass]:false,[this.opts.rowValidClass]:false})}}))}prepareFieldContainer(e,t){if(t.length){const s=t[0].getAttribute("type");if("radio"===s||"checkbox"===s){this.prepareElementContainer(e,t[0])}else{t.forEach((t=>this.prepareElementContainer(e,t)))}}}prepareElementContainer(e,i){const l="string"===typeof this.opts.rowSelector?this.opts.rowSelector:this.opts.rowSelector(e,i);const a=s(i,l);if(a!==i){t(a,{[this.opts.rowClasses]:true,"fv-plugins-icon-container":true});this.containers.set(i,a)}}onElementValidating(e){const s=e.elements;const i=e.element.getAttribute("type");const l="radio"===i||"checkbox"===i?s[0]:e.element;const a=this.containers.get(l);if(a){t(a,{[this.opts.rowInvalidClass]:false,[this.opts.rowValidatingClass]:true,[this.opts.rowValidClass]:false})}}onElementNotValidated(e){this.removeClasses(e.element,e.elements)}onElementIgnored(e){this.removeClasses(e.element,e.elements)}removeClasses(e,s){const i=e.getAttribute("type");const l="radio"===i||"checkbox"===i?s[0]:e;s.forEach((e=>{t(e,{[this.opts.eleValidClass]:false,[this.opts.eleInvalidClass]:false})}));const a=this.containers.get(l);if(a){t(a,{[this.opts.rowInvalidClass]:false,[this.opts.rowValidatingClass]:false,[this.opts.rowValidClass]:false})}}onElementValidated(e){const s=e.elements;const i=e.element.getAttribute("type");const l="radio"===i||"checkbox"===i?s[0]:e.element;s.forEach((s=>{t(s,{[this.opts.eleValidClass]:e.valid,[this.opts.eleInvalidClass]:!e.valid})}));const a=this.containers.get(l);if(a){if(!e.valid){this.results.set(l,false);t(a,{[this.opts.rowInvalidClass]:true,[this.opts.rowValidatingClass]:false,[this.opts.rowValidClass]:false})}else{this.results.delete(l);let e=true;this.containers.forEach(((t,s)=>{if(t===a&&this.results.get(s)===false){e=false}}));if(e){t(a,{[this.opts.rowInvalidClass]:false,[this.opts.rowValidatingClass]:false,[this.opts.rowValidClass]:true})}}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Icon.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Icon.js new file mode 100644 index 0000000..78c6117 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Icon.js @@ -0,0 +1 @@ +import e from"../core/Plugin";import t from"../utils/classSet";export default class i extends e{constructor(e){super(e);this.icons=new Map;this.opts=Object.assign({},{invalid:"fv-plugins-icon--invalid",onPlaced:()=>{},onSet:()=>{},valid:"fv-plugins-icon--valid",validating:"fv-plugins-icon--validating"},e);this.elementValidatingHandler=this.onElementValidating.bind(this);this.elementValidatedHandler=this.onElementValidated.bind(this);this.elementNotValidatedHandler=this.onElementNotValidated.bind(this);this.elementIgnoredHandler=this.onElementIgnored.bind(this);this.fieldAddedHandler=this.onFieldAdded.bind(this)}install(){this.core.on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("core.element.ignored",this.elementIgnoredHandler).on("core.field.added",this.fieldAddedHandler)}uninstall(){this.icons.forEach((e=>e.parentNode.removeChild(e)));this.icons.clear();this.core.off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("core.element.ignored",this.elementIgnoredHandler).off("core.field.added",this.fieldAddedHandler)}onFieldAdded(e){const t=e.elements;if(t){t.forEach((e=>{const t=this.icons.get(e);if(t){t.parentNode.removeChild(t);this.icons.delete(e)}}));this.prepareFieldIcon(e.field,t)}}prepareFieldIcon(e,t){if(t.length){const i=t[0].getAttribute("type");if("radio"===i||"checkbox"===i){this.prepareElementIcon(e,t[0])}else{t.forEach((t=>this.prepareElementIcon(e,t)))}}}prepareElementIcon(e,i){const n=document.createElement("i");n.setAttribute("data-field",e);i.parentNode.insertBefore(n,i.nextSibling);t(n,{"fv-plugins-icon":true});const l={classes:{invalid:this.opts.invalid,valid:this.opts.valid,validating:this.opts.validating},element:i,field:e,iconElement:n};this.core.emit("plugins.icon.placed",l);this.opts.onPlaced(l);this.icons.set(i,n)}onElementValidating(e){const t=this.setClasses(e.field,e.element,e.elements,{[this.opts.invalid]:false,[this.opts.valid]:false,[this.opts.validating]:true});const i={element:e.element,field:e.field,iconElement:t,status:"Validating"};this.core.emit("plugins.icon.set",i);this.opts.onSet(i)}onElementValidated(e){const t=this.setClasses(e.field,e.element,e.elements,{[this.opts.invalid]:!e.valid,[this.opts.valid]:e.valid,[this.opts.validating]:false});const i={element:e.element,field:e.field,iconElement:t,status:e.valid?"Valid":"Invalid"};this.core.emit("plugins.icon.set",i);this.opts.onSet(i)}onElementNotValidated(e){const t=this.setClasses(e.field,e.element,e.elements,{[this.opts.invalid]:false,[this.opts.valid]:false,[this.opts.validating]:false});const i={element:e.element,field:e.field,iconElement:t,status:"NotValidated"};this.core.emit("plugins.icon.set",i);this.opts.onSet(i)}onElementIgnored(e){const t=this.setClasses(e.field,e.element,e.elements,{[this.opts.invalid]:false,[this.opts.valid]:false,[this.opts.validating]:false});const i={element:e.element,field:e.field,iconElement:t,status:"Ignored"};this.core.emit("plugins.icon.set",i);this.opts.onSet(i)}setClasses(e,i,n,l){const s=i.getAttribute("type");const d="radio"===s||"checkbox"===s?n[0]:i;if(this.icons.has(d)){const e=this.icons.get(d);t(e,l);return e}else{return null}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/InternationalTelephoneInput.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/InternationalTelephoneInput.js new file mode 100644 index 0000000..75d74b2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/InternationalTelephoneInput.js @@ -0,0 +1 @@ +import e from"../core/Plugin";export default class t extends e{constructor(e){super(e);this.intlTelInstances=new Map;this.countryChangeHandler=new Map;this.fieldElements=new Map;this.opts=Object.assign({},{autoPlaceholder:"polite",utilsScript:""},e);this.validatePhoneNumber=this.checkPhoneNumber.bind(this);this.fields=typeof this.opts.field==="string"?this.opts.field.split(","):this.opts.field}install(){this.core.registerValidator(t.INT_TEL_VALIDATOR,this.validatePhoneNumber);this.fields.forEach((e=>{this.core.addField(e,{validators:{[t.INT_TEL_VALIDATOR]:{message:this.opts.message}}});const s=this.core.getElements(e)[0];const i=()=>this.core.revalidateField(e);s.addEventListener("countrychange",i);this.countryChangeHandler.set(e,i);this.fieldElements.set(e,s);this.intlTelInstances.set(e,intlTelInput(s,this.opts))}))}uninstall(){this.fields.forEach((e=>{const s=this.countryChangeHandler.get(e);const i=this.fieldElements.get(e);const n=this.intlTelInstances.get(e);if(s&&i&&n){i.removeEventListener("countrychange",s);this.core.disableValidator(e,t.INT_TEL_VALIDATOR);n.destroy()}}))}checkPhoneNumber(){return{validate:e=>{const t=e.value;const s=this.intlTelInstances.get(e.field);if(t===""||!s){return{valid:true}}return{valid:s.isValidNumber()}}}}}t.INT_TEL_VALIDATOR="___InternationalTelephoneInputValidator"; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/J.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/J.js new file mode 100644 index 0000000..4ea711f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/J.js @@ -0,0 +1 @@ +import o from"jquery";import t from"../core/Core";const r=o.fn.jquery.split(" ")[0].split(".");if(+r[0]<2&&+r[1]<9||+r[0]===1&&+r[1]===9&&+r[2]<1){throw new Error("The J plugin requires jQuery version 1.9.1 or higher")}o.fn["formValidation"]=function(r){const i=arguments;return this.each((function(){const e=o(this);let n=e.data("formValidation");const a="object"===typeof r&&r;if(!n){n=t(this,a);e.data("formValidation",n).data("FormValidation",n)}if("string"===typeof r){n[r].apply(n,Array.prototype.slice.call(i,1))}}))}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/L10n.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/L10n.js new file mode 100644 index 0000000..9f70d3a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/L10n.js @@ -0,0 +1 @@ +import t from"../core/Plugin";export default class e extends t{constructor(t){super(t);this.messageFilter=this.getMessage.bind(this)}install(){this.core.registerFilter("validator-message",this.messageFilter)}uninstall(){this.core.deregisterFilter("validator-message",this.messageFilter)}getMessage(t,e,s){if(this.opts[e]&&this.opts[e][s]){const i=this.opts[e][s];const r=typeof i;if("object"===r&&i[t]){return i[t]}else if("function"===r){const r=i.apply(this,[e,s]);return r&&r[t]?r[t]:""}}return""}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Mailgun.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Mailgun.js new file mode 100644 index 0000000..6cd391a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Mailgun.js @@ -0,0 +1 @@ +import s from"../core/Plugin";import e from"./Alias";export default class i extends s{constructor(s){super(s);this.opts=Object.assign({},{suggestion:false},s);this.messageDisplayedHandler=this.onMessageDisplayed.bind(this)}install(){if(this.opts.suggestion){this.core.on("plugins.message.displayed",this.messageDisplayedHandler)}const s={mailgun:"remote"};this.core.registerPlugin("___mailgunAlias",new e(s)).addField(this.opts.field,{validators:{mailgun:{crossDomain:true,data:{api_key:this.opts.apiKey},headers:{"Content-Type":"application/json"},message:this.opts.message,name:"address",url:"https://api.mailgun.net/v3/address/validate",validKey:"is_valid"}}})}uninstall(){if(this.opts.suggestion){this.core.off("plugins.message.displayed",this.messageDisplayedHandler)}this.core.removeField(this.opts.field)}onMessageDisplayed(s){if(s.field===this.opts.field&&"mailgun"===s.validator&&s.meta&&s.meta["did_you_mean"]){s.messageElement.innerHTML=`Did you mean ${s.meta["did_you_mean"]}?`}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/MandatoryIcon.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/MandatoryIcon.js new file mode 100644 index 0000000..bec44b0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/MandatoryIcon.js @@ -0,0 +1 @@ +import e from"../core/Plugin";import t from"../utils/classSet";export default class i extends e{constructor(e){super(e);this.removedIcons={Invalid:"",NotValidated:"",Valid:"",Validating:""};this.icons=new Map;this.elementValidatingHandler=this.onElementValidating.bind(this);this.elementValidatedHandler=this.onElementValidated.bind(this);this.elementNotValidatedHandler=this.onElementNotValidated.bind(this);this.iconPlacedHandler=this.onIconPlaced.bind(this);this.iconSetHandler=this.onIconSet.bind(this)}install(){this.core.on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("plugins.icon.placed",this.iconPlacedHandler).on("plugins.icon.set",this.iconSetHandler)}uninstall(){this.icons.clear();this.core.off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("plugins.icon.placed",this.iconPlacedHandler).off("plugins.icon.set",this.iconSetHandler)}onIconPlaced(e){const i=this.core.getFields()[e.field].validators;const s=this.core.getElements(e.field);if(i&&i["notEmpty"]&&i["notEmpty"].enabled!==false&&s.length){this.icons.set(e.element,e.iconElement);const i=s[0].getAttribute("type");const n=!i?"":i.toLowerCase();const l="checkbox"===n||"radio"===n?[s[0]]:s;for(const i of l){if(this.core.getElementValue(e.field,i)===""){t(e.iconElement,{[this.opts.icon]:true})}}}this.iconClasses=e.classes;const n=this.opts.icon.split(" ");const l={Invalid:this.iconClasses.invalid?this.iconClasses.invalid.split(" "):[],Valid:this.iconClasses.valid?this.iconClasses.valid.split(" "):[],Validating:this.iconClasses.validating?this.iconClasses.validating.split(" "):[]};Object.keys(l).forEach((e=>{const t=[];for(const i of n){if(l[e].indexOf(i)===-1){t.push(i)}}this.removedIcons[e]=t.join(" ")}))}onElementValidating(e){this.updateIconClasses(e.element,"Validating")}onElementValidated(e){this.updateIconClasses(e.element,e.valid?"Valid":"Invalid")}onElementNotValidated(e){this.updateIconClasses(e.element,"NotValidated")}updateIconClasses(e,i){const s=this.icons.get(e);if(s&&this.iconClasses&&(this.iconClasses.valid||this.iconClasses.invalid||this.iconClasses.validating)){t(s,{[this.removedIcons[i]]:false,[this.opts.icon]:false})}}onIconSet(e){const i=this.icons.get(e.element);if(i&&e.status==="NotValidated"&&this.core.getElementValue(e.field,e.element)===""){t(i,{[this.opts.icon]:true})}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Materialize.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Materialize.js new file mode 100644 index 0000000..f09e0ec --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Materialize.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import l from"./Framework";export default class t extends l{constructor(e){super(Object.assign({},{eleInvalidClass:"validate invalid",eleValidClass:"validate valid",formClass:"fv-plugins-materialize",messageClass:"helper-text",rowInvalidClass:"fv-invalid-row",rowPattern:/^(.*)col(\s+)s[0-9]+(.*)$/,rowSelector:".row",rowValidClass:"fv-valid-row"},e))}onIconPlaced(l){const t=l.element.getAttribute("type");const a=l.element.parentElement;if("checkbox"===t||"radio"===t){a.parentElement.insertBefore(l.iconElement,a.nextSibling);e(l.iconElement,{"fv-plugins-icon-check":true})}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Message.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Message.js new file mode 100644 index 0000000..6ffa59a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Message.js @@ -0,0 +1 @@ +import e from"../core/Plugin";import t from"../utils/classSet";export default class s extends e{constructor(e){super(e);this.messages=new Map;this.defaultContainer=document.createElement("div");this.opts=Object.assign({},{container:(e,t)=>this.defaultContainer},e);this.elementIgnoredHandler=this.onElementIgnored.bind(this);this.fieldAddedHandler=this.onFieldAdded.bind(this);this.fieldRemovedHandler=this.onFieldRemoved.bind(this);this.validatorValidatedHandler=this.onValidatorValidated.bind(this);this.validatorNotValidatedHandler=this.onValidatorNotValidated.bind(this)}static getClosestContainer(e,t,s){let i=e;while(i){if(i===t){break}i=i.parentElement;if(s.test(i.className)){break}}return i}install(){this.core.getFormElement().appendChild(this.defaultContainer);this.core.on("core.element.ignored",this.elementIgnoredHandler).on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler).on("core.validator.validated",this.validatorValidatedHandler).on("core.validator.notvalidated",this.validatorNotValidatedHandler)}uninstall(){this.core.getFormElement().removeChild(this.defaultContainer);this.messages.forEach((e=>e.parentNode.removeChild(e)));this.messages.clear();this.core.off("core.element.ignored",this.elementIgnoredHandler).off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler).off("core.validator.validated",this.validatorValidatedHandler).off("core.validator.notvalidated",this.validatorNotValidatedHandler)}onFieldAdded(e){const t=e.elements;if(t){t.forEach((e=>{const t=this.messages.get(e);if(t){t.parentNode.removeChild(t);this.messages.delete(e)}}));this.prepareFieldContainer(e.field,t)}}onFieldRemoved(e){if(!e.elements.length||!e.field){return}const t=e.elements[0].getAttribute("type");const s="radio"===t||"checkbox"===t?[e.elements[0]]:e.elements;s.forEach((e=>{if(this.messages.has(e)){const t=this.messages.get(e);t.parentNode.removeChild(t);this.messages.delete(e)}}))}prepareFieldContainer(e,t){if(t.length){const s=t[0].getAttribute("type");if("radio"===s||"checkbox"===s){this.prepareElementContainer(e,t[0],t)}else{t.forEach((s=>this.prepareElementContainer(e,s,t)))}}}prepareElementContainer(e,s,i){let a;if("string"===typeof this.opts.container){const e="#"===this.opts.container.charAt(0)?`[id="${this.opts.container.substring(1)}"]`:this.opts.container;a=this.core.getFormElement().querySelector(e)}else{a=this.opts.container(e,s)}const l=document.createElement("div");a.appendChild(l);t(l,{"fv-plugins-message-container":true});this.core.emit("plugins.message.placed",{element:s,elements:i,field:e,messageElement:l});this.messages.set(s,l)}getMessage(e){return typeof e.message==="string"?e.message:e.message[this.core.getLocale()]}onValidatorValidated(e){const s=e.elements;const i=e.element.getAttribute("type");const a=("radio"===i||"checkbox"===i)&&s.length>0?s[0]:e.element;if(this.messages.has(a)){const s=this.messages.get(a);const i=s.querySelector(`[data-field="${e.field}"][data-validator="${e.validator}"]`);if(!i&&!e.result.valid){const i=document.createElement("div");i.innerHTML=this.getMessage(e.result);i.setAttribute("data-field",e.field);i.setAttribute("data-validator",e.validator);if(this.opts.clazz){t(i,{[this.opts.clazz]:true})}s.appendChild(i);this.core.emit("plugins.message.displayed",{element:e.element,field:e.field,message:e.result.message,messageElement:i,meta:e.result.meta,validator:e.validator})}else if(i&&!e.result.valid){i.innerHTML=this.getMessage(e.result);this.core.emit("plugins.message.displayed",{element:e.element,field:e.field,message:e.result.message,messageElement:i,meta:e.result.meta,validator:e.validator})}else if(i&&e.result.valid){s.removeChild(i)}}}onValidatorNotValidated(e){const t=e.elements;const s=e.element.getAttribute("type");const i="radio"===s||"checkbox"===s?t[0]:e.element;if(this.messages.has(i)){const t=this.messages.get(i);const s=t.querySelector(`[data-field="${e.field}"][data-validator="${e.validator}"]`);if(s){t.removeChild(s)}}}onElementIgnored(e){const t=e.elements;const s=e.element.getAttribute("type");const i="radio"===s||"checkbox"===s?t[0]:e.element;if(this.messages.has(i)){const t=this.messages.get(i);const s=[].slice.call(t.querySelectorAll(`[data-field="${e.field}"]`));s.forEach((e=>{t.removeChild(e)}))}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Milligram.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Milligram.js new file mode 100644 index 0000000..f6ca1ee --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Milligram.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"./Framework";export default class o extends t{constructor(e){super(Object.assign({},{formClass:"fv-plugins-milligram",messageClass:"fv-help-block",rowInvalidClass:"fv-invalid-row",rowPattern:/^(.*)column(-offset)*-[0-9]+(.*)$/,rowSelector:".row",rowValidClass:"fv-valid-row"},e))}onIconPlaced(t){const o=t.element.getAttribute("type");const l=t.element.parentElement;if("checkbox"===o||"radio"===o){l.parentElement.insertBefore(t.iconElement,l.nextSibling);e(t.iconElement,{"fv-plugins-icon-check":true})}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Mini.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Mini.js new file mode 100644 index 0000000..41da814 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Mini.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"./Framework";export default class o extends t{constructor(e){super(Object.assign({},{formClass:"fv-plugins-mini",messageClass:"fv-help-block",rowInvalidClass:"fv-invalid-row",rowPattern:/^(.*)col-(sm|md|lg|xl)(-offset)*-[0-9]+(.*)$/,rowSelector:".row",rowValidClass:"fv-valid-row"},e))}onIconPlaced(t){const o=t.element.getAttribute("type");const l=t.element.parentElement;if("checkbox"===o||"radio"===o){l.parentElement.insertBefore(t.iconElement,l.nextSibling);e(t.iconElement,{"fv-plugins-icon-check":true})}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Mui.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Mui.js new file mode 100644 index 0000000..6a13a9c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Mui.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"./Framework";export default class o extends t{constructor(e){super(Object.assign({},{formClass:"fv-plugins-mui",messageClass:"fv-help-block",rowInvalidClass:"fv-invalid-row",rowPattern:/^(.*)mui-col-(xs|md|lg|xl)(-offset)*-[0-9]+(.*)$/,rowSelector:".mui-row",rowValidClass:"fv-valid-row"},e))}onIconPlaced(t){const o=t.element.getAttribute("type");const l=t.element.parentElement;if("checkbox"===o||"radio"===o){l.parentElement.insertBefore(t.iconElement,l.nextSibling);e(t.iconElement,{"fv-plugins-icon-check":true})}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/PasswordStrength.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/PasswordStrength.js new file mode 100644 index 0000000..69d0648 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/PasswordStrength.js @@ -0,0 +1 @@ +import t from"../core/Plugin";export default class a extends t{constructor(t){super(t);this.opts=Object.assign({},{minimalScore:3,onValidated:()=>{}},t);this.validatePassword=this.checkPasswordStrength.bind(this);this.validatorValidatedHandler=this.onValidatorValidated.bind(this)}install(){this.core.registerValidator(a.PASSWORD_STRENGTH_VALIDATOR,this.validatePassword);this.core.on("core.validator.validated",this.validatorValidatedHandler);this.core.addField(this.opts.field,{validators:{[a.PASSWORD_STRENGTH_VALIDATOR]:{message:this.opts.message,minimalScore:this.opts.minimalScore}}})}uninstall(){this.core.off("core.validator.validated",this.validatorValidatedHandler);this.core.disableValidator(this.opts.field,a.PASSWORD_STRENGTH_VALIDATOR)}checkPasswordStrength(){return{validate:t=>{const a=t.value;if(a===""){return{valid:true}}const e=zxcvbn(a);const s=e.score;const i=e.feedback.warning||"The password is weak";if(s{}:window[i.LOADED_CALLBACK];window[i.LOADED_CALLBACK]=()=>{e();const s={badge:this.opts.badge,callback:()=>{if(this.opts.backendVerificationUrl===""){this.captchaStatus="Valid";this.core.updateFieldStatus(i.CAPTCHA_FIELD,"Valid")}},"error-callback":()=>{this.captchaStatus="Invalid";this.core.updateFieldStatus(i.CAPTCHA_FIELD,"Invalid")},"expired-callback":()=>{this.captchaStatus="NotValidated";this.core.updateFieldStatus(i.CAPTCHA_FIELD,"NotValidated")},sitekey:this.opts.siteKey,size:this.opts.size};const a=window["grecaptcha"].render(this.opts.element,s);this.widgetIds.set(this.opts.element,a);this.core.addField(i.CAPTCHA_FIELD,{validators:{promise:{message:this.opts.message,promise:e=>{const s=this.widgetIds.has(this.opts.element)?window["grecaptcha"].getResponse(this.widgetIds.get(this.opts.element)):e.value;if(s===""){this.captchaStatus="Invalid";return Promise.resolve({valid:false})}else if(this.opts.backendVerificationUrl===""){this.captchaStatus="Valid";return Promise.resolve({valid:true})}else if(this.captchaStatus==="Valid"){return Promise.resolve({valid:true})}else{return t(this.opts.backendVerificationUrl,{method:"POST",params:{[i.CAPTCHA_FIELD]:s}}).then((e=>{const t=`${e["success"]}`==="true";this.captchaStatus=t?"Valid":"Invalid";return Promise.resolve({meta:e,valid:t})})).catch((e=>{this.captchaStatus="NotValidated";return Promise.reject({valid:false})}))}}}}})};const s=this.getScript();if(!document.body.querySelector(`script[src="${s}"]`)){const e=document.createElement("script");e.type="text/javascript";e.async=true;e.defer=true;e.src=s;document.body.appendChild(e)}}uninstall(){if(this.timer){clearTimeout(this.timer)}this.core.off("core.field.reset",this.fieldResetHandler).off("plugins.icon.placed",this.iconPlacedHandler).deregisterFilter("validate-pre",this.preValidateFilter);this.widgetIds.clear();const e=this.getScript();const t=[].slice.call(document.body.querySelectorAll(`script[src="${e}"]`));t.forEach((e=>e.parentNode.removeChild(e)));this.core.removeField(i.CAPTCHA_FIELD)}getScript(){const e=this.opts.language?`&hl=${this.opts.language}`:"";return`https://www.google.com/recaptcha/api.js?onload=${i.LOADED_CALLBACK}&render=explicit${e}`}preValidate(){if(this.opts.size==="invisible"&&this.widgetIds.has(this.opts.element)){const e=this.widgetIds.get(this.opts.element);return this.captchaStatus==="Valid"?Promise.resolve():new Promise(((t,i)=>{window["grecaptcha"].execute(e).then((()=>{if(this.timer){clearTimeout(this.timer)}this.timer=window.setTimeout(t,1*1e3)}))}))}else{return Promise.resolve()}}onResetField(e){if(e.field===i.CAPTCHA_FIELD&&this.widgetIds.has(this.opts.element)){const e=this.widgetIds.get(this.opts.element);window["grecaptcha"].reset(e)}}onIconPlaced(e){if(e.field===i.CAPTCHA_FIELD){if(this.opts.size==="invisible"){e.iconElement.style.display="none"}else{const t=document.getElementById(this.opts.element);if(t){t.parentNode.insertBefore(e.iconElement,t.nextSibling)}}}}}i.CAPTCHA_FIELD="g-recaptcha-response";i.DEFAULT_OPTIONS={backendVerificationUrl:"",badge:"bottomright",size:"normal",theme:"light"};i.LOADED_CALLBACK="___reCaptchaLoaded___"; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Recaptcha3.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Recaptcha3.js new file mode 100644 index 0000000..4b295ee --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Recaptcha3.js @@ -0,0 +1 @@ +import e from"../core/Plugin";import t from"../utils/fetch";export default class s extends e{constructor(e){super(e);this.opts=Object.assign({},{minimumScore:0},e);this.iconPlacedHandler=this.onIconPlaced.bind(this)}install(){this.core.on("plugins.icon.placed",this.iconPlacedHandler);const e=typeof window[s.LOADED_CALLBACK]==="undefined"?()=>{}:window[s.LOADED_CALLBACK];window[s.LOADED_CALLBACK]=()=>{e();const i=document.createElement("input");i.setAttribute("type","hidden");i.setAttribute("name",s.CAPTCHA_FIELD);document.getElementById(this.opts.element).appendChild(i);this.core.addField(s.CAPTCHA_FIELD,{validators:{promise:{message:this.opts.message,promise:e=>new Promise(((e,i)=>{window["grecaptcha"].execute(this.opts.siteKey,{action:this.opts.action}).then((o=>{t(this.opts.backendVerificationUrl,{method:"POST",params:{[s.CAPTCHA_FIELD]:o}}).then((t=>{const s=`${t.success}`==="true"&&t.score>=this.opts.minimumScore;e({message:t.message||this.opts.message,meta:t,valid:s})})).catch((e=>{i({valid:false})}))}))}))}}})};const i=this.getScript();if(!document.body.querySelector(`script[src="${i}"]`)){const e=document.createElement("script");e.type="text/javascript";e.async=true;e.defer=true;e.src=i;document.body.appendChild(e)}}uninstall(){this.core.off("plugins.icon.placed",this.iconPlacedHandler);const e=this.getScript();const t=[].slice.call(document.body.querySelectorAll(`script[src="${e}"]`));t.forEach((e=>e.parentNode.removeChild(e)));this.core.removeField(s.CAPTCHA_FIELD)}getScript(){const e=this.opts.language?`&hl=${this.opts.language}`:"";return"https://www.google.com/recaptcha/api.js?"+`onload=${s.LOADED_CALLBACK}&render=${this.opts.siteKey}${e}`}onIconPlaced(e){if(e.field===s.CAPTCHA_FIELD){e.iconElement.style.display="none"}}}s.CAPTCHA_FIELD="___g-recaptcha-token___";s.LOADED_CALLBACK="___reCaptcha3Loaded___"; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Recaptcha3Token.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Recaptcha3Token.js new file mode 100644 index 0000000..ea31922 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Recaptcha3Token.js @@ -0,0 +1 @@ +import e from"../core/Plugin";export default class t extends e{constructor(e){super(e);this.opts=Object.assign({},{action:"submit",hiddenTokenName:"___hidden-token___"},e);this.onValidHandler=this.onFormValid.bind(this)}install(){this.core.on("core.form.valid",this.onValidHandler);this.hiddenTokenEle=document.createElement("input");this.hiddenTokenEle.setAttribute("type","hidden");this.core.getFormElement().appendChild(this.hiddenTokenEle);const e=typeof window[t.LOADED_CALLBACK]==="undefined"?()=>{}:window[t.LOADED_CALLBACK];window[t.LOADED_CALLBACK]=()=>{e()};const o=this.getScript();if(!document.body.querySelector(`script[src="${o}"]`)){const e=document.createElement("script");e.type="text/javascript";e.async=true;e.defer=true;e.src=o;document.body.appendChild(e)}}uninstall(){this.core.off("core.form.valid",this.onValidHandler);const e=this.getScript();const t=[].slice.call(document.body.querySelectorAll(`script[src="${e}"]`));t.forEach((e=>e.parentNode.removeChild(e)));this.core.getFormElement().removeChild(this.hiddenTokenEle)}onFormValid(){window["grecaptcha"].execute(this.opts.siteKey,{action:this.opts.action}).then((e=>{this.hiddenTokenEle.setAttribute("name",this.opts.hiddenTokenName);this.hiddenTokenEle.value=e;const t=this.core.getFormElement();if(t instanceof HTMLFormElement){t.submit()}}))}getScript(){const e=this.opts.language?`&hl=${this.opts.language}`:"";return"https://www.google.com/recaptcha/api.js?"+`onload=${t.LOADED_CALLBACK}&render=${this.opts.siteKey}${e}`}}t.LOADED_CALLBACK="___reCaptcha3Loaded___"; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Semantic.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Semantic.js new file mode 100644 index 0000000..edb8e83 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Semantic.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"../utils/hasClass";import n from"./Framework";export default class s extends n{constructor(e){super(Object.assign({},{formClass:"fv-plugins-semantic",messageClass:"ui pointing red label",rowInvalidClass:"error",rowPattern:/^.*(field|column).*$/,rowSelector:".fields",rowValidClass:"fv-has-success"},e))}onIconPlaced(t){const n=t.element.getAttribute("type");if("checkbox"===n||"radio"===n){const n=t.element.parentElement;e(t.iconElement,{"fv-plugins-icon-check":true});n.parentElement.insertBefore(t.iconElement,n.nextSibling)}}onMessagePlaced(e){const n=e.element.getAttribute("type");const s=e.elements.length;if(("checkbox"===n||"radio"===n)&&s>1){const l=e.elements[s-1];const o=l.parentElement;if(t(o,n)&&t(o,"ui")){o.parentElement.insertBefore(e.messageElement,o.nextSibling)}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Sequence.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Sequence.js new file mode 100644 index 0000000..2976bb0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Sequence.js @@ -0,0 +1 @@ +import e from"../core/Plugin";export default class i extends e{constructor(e){super(e);this.invalidFields=new Map;this.opts=Object.assign({},{enabled:true},e);this.validatorHandler=this.onValidatorValidated.bind(this);this.shouldValidateFilter=this.shouldValidate.bind(this);this.fieldAddedHandler=this.onFieldAdded.bind(this);this.elementNotValidatedHandler=this.onElementNotValidated.bind(this);this.elementValidatingHandler=this.onElementValidating.bind(this)}install(){this.core.on("core.validator.validated",this.validatorHandler).on("core.field.added",this.fieldAddedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("core.element.validating",this.elementValidatingHandler).registerFilter("field-should-validate",this.shouldValidateFilter)}uninstall(){this.invalidFields.clear();this.core.off("core.validator.validated",this.validatorHandler).off("core.field.added",this.fieldAddedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("core.element.validating",this.elementValidatingHandler).deregisterFilter("field-should-validate",this.shouldValidateFilter)}shouldValidate(e,i,t,l){const d=(this.opts.enabled===true||this.opts.enabled[e]===true)&&this.invalidFields.has(i)&&!!this.invalidFields.get(i).length&&this.invalidFields.get(i).indexOf(l)===-1;return!d}onValidatorValidated(e){const i=this.invalidFields.has(e.element)?this.invalidFields.get(e.element):[];const t=i.indexOf(e.validator);if(e.result.valid&&t>=0){i.splice(t,1)}else if(!e.result.valid&&t===-1){i.push(e.validator)}this.invalidFields.set(e.element,i)}onFieldAdded(e){if(e.elements){this.clearInvalidFields(e.elements)}}onElementNotValidated(e){this.clearInvalidFields(e.elements)}onElementValidating(e){this.clearInvalidFields(e.elements)}clearInvalidFields(e){e.forEach((e=>this.invalidFields.delete(e)))}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Shoelace.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Shoelace.js new file mode 100644 index 0000000..3081f32 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Shoelace.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"./Framework";export default class n extends t{constructor(e){super(Object.assign({},{formClass:"fv-plugins-shoelace",messageClass:"fv-help-block",rowInvalidClass:"input-invalid",rowPattern:/^(.*)(col|offset)-[0-9]+(.*)$/,rowSelector:".input-field",rowValidClass:"input-valid"},e))}onIconPlaced(t){const n=t.element.parentElement;const l=t.element.getAttribute("type");if("checkbox"===l||"radio"===l){e(t.iconElement,{"fv-plugins-icon-check":true});if("LABEL"===n.tagName){n.parentElement.insertBefore(t.iconElement,n.nextSibling)}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Spectre.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Spectre.js new file mode 100644 index 0000000..8370a7a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Spectre.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import s from"../utils/hasClass";import t from"./Framework";export default class r extends t{constructor(e){super(Object.assign({},{formClass:"fv-plugins-spectre",messageClass:"form-input-hint",rowInvalidClass:"has-error",rowPattern:/^(.*)(col)(-(xs|sm|md|lg))*-[0-9]+(.*)$/,rowSelector:".form-group",rowValidClass:"has-success"},e))}onIconPlaced(t){const r=t.element.getAttribute("type");const o=t.element.parentElement;if("checkbox"===r||"radio"===r){e(t.iconElement,{"fv-plugins-icon-check":true});if(s(o,`form-${r}`)){o.parentElement.insertBefore(t.iconElement,o.nextSibling)}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/StartEndDate.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/StartEndDate.js new file mode 100644 index 0000000..eea635c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/StartEndDate.js @@ -0,0 +1 @@ +import t from"../core/Plugin";export default class e extends t{constructor(t){super(t);this.fieldValidHandler=this.onFieldValid.bind(this);this.fieldInvalidHandler=this.onFieldInvalid.bind(this)}install(){const t=this.core.getFields();this.startDateFieldOptions=t[this.opts.startDate.field];this.endDateFieldOptions=t[this.opts.endDate.field];const e=this.core.getFormElement();this.core.on("core.field.valid",this.fieldValidHandler).on("core.field.invalid",this.fieldInvalidHandler).addField(this.opts.startDate.field,{validators:{date:{format:this.opts.format,max:()=>{const t=e.querySelector(`[name="${this.opts.endDate.field}"]`);return t.value},message:this.opts.startDate.message}}}).addField(this.opts.endDate.field,{validators:{date:{format:this.opts.format,message:this.opts.endDate.message,min:()=>{const t=e.querySelector(`[name="${this.opts.startDate.field}"]`);return t.value}}}})}uninstall(){this.core.removeField(this.opts.startDate.field);if(this.startDateFieldOptions){this.core.addField(this.opts.startDate.field,this.startDateFieldOptions)}this.core.removeField(this.opts.endDate.field);if(this.endDateFieldOptions){this.core.addField(this.opts.endDate.field,this.endDateFieldOptions)}this.core.off("core.field.valid",this.fieldValidHandler).off("core.field.invalid",this.fieldInvalidHandler)}onFieldInvalid(t){switch(t){case this.opts.startDate.field:this.startDateValid=false;break;case this.opts.endDate.field:this.endDateValid=false;break;default:break}}onFieldValid(t){switch(t){case this.opts.startDate.field:this.startDateValid=true;if(this.endDateValid===false){this.core.revalidateField(this.opts.endDate.field)}break;case this.opts.endDate.field:this.endDateValid=true;if(this.startDateValid===false){this.core.revalidateField(this.opts.startDate.field)}break;default:break}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/SubmitButton.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/SubmitButton.js new file mode 100644 index 0000000..a87a1d8 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/SubmitButton.js @@ -0,0 +1 @@ +import t from"../core/Plugin";export default class e extends t{constructor(t){super(t);this.isFormValid=false;this.opts=Object.assign({},{aspNetButton:false,buttons:t=>[].slice.call(t.querySelectorAll('[type="submit"]:not([formnovalidate])'))},t);this.submitHandler=this.handleSubmitEvent.bind(this);this.buttonClickHandler=this.handleClickEvent.bind(this)}install(){if(!(this.core.getFormElement()instanceof HTMLFormElement)){return}const t=this.core.getFormElement();this.submitButtons=this.opts.buttons(t);t.setAttribute("novalidate","novalidate");t.addEventListener("submit",this.submitHandler);this.hiddenClickedEle=document.createElement("input");this.hiddenClickedEle.setAttribute("type","hidden");t.appendChild(this.hiddenClickedEle);this.submitButtons.forEach((t=>{t.addEventListener("click",this.buttonClickHandler)}))}uninstall(){const t=this.core.getFormElement();if(t instanceof HTMLFormElement){t.removeEventListener("submit",this.submitHandler)}this.submitButtons.forEach((t=>{t.removeEventListener("click",this.buttonClickHandler)}));this.hiddenClickedEle.parentElement.removeChild(this.hiddenClickedEle)}handleSubmitEvent(t){this.validateForm(t)}handleClickEvent(t){const e=t.currentTarget;if(e instanceof HTMLElement){if(this.opts.aspNetButton&&this.isFormValid===true){}else{const e=this.core.getFormElement();e.removeEventListener("submit",this.submitHandler);this.clickedButton=t.target;const i=this.clickedButton.getAttribute("name");const s=this.clickedButton.getAttribute("value");if(i&&s){this.hiddenClickedEle.setAttribute("name",i);this.hiddenClickedEle.setAttribute("value",s)}this.validateForm(t)}}}validateForm(t){t.preventDefault();this.core.validate().then((t=>{if(t==="Valid"&&this.opts.aspNetButton&&!this.isFormValid&&this.clickedButton){this.isFormValid=true;this.clickedButton.removeEventListener("click",this.buttonClickHandler);this.clickedButton.click()}}))}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Tachyons.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Tachyons.js new file mode 100644 index 0000000..f245bf6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Tachyons.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"./Framework";export default class n extends t{constructor(e){super(Object.assign({},{formClass:"fv-plugins-tachyons",messageClass:"small",rowInvalidClass:"red",rowPattern:/^(.*)fl(.*)$/,rowSelector:".fl",rowValidClass:"green"},e))}onIconPlaced(t){const n=t.element.getAttribute("type");const s=t.element.parentElement;if("checkbox"===n||"radio"===n){s.parentElement.insertBefore(t.iconElement,s.nextSibling);e(t.iconElement,{"fv-plugins-icon-check":true})}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Tooltip.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Tooltip.js new file mode 100644 index 0000000..18e1f40 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Tooltip.js @@ -0,0 +1 @@ +import t from"../core/Plugin";import e from"../utils/classSet";export default class i extends t{constructor(t){super(t);this.messages=new Map;this.opts=Object.assign({},{placement:"top",trigger:"click"},t);this.iconPlacedHandler=this.onIconPlaced.bind(this);this.validatorValidatedHandler=this.onValidatorValidated.bind(this);this.elementValidatedHandler=this.onElementValidated.bind(this);this.documentClickHandler=this.onDocumentClicked.bind(this)}install(){this.tip=document.createElement("div");e(this.tip,{"fv-plugins-tooltip":true,[`fv-plugins-tooltip--${this.opts.placement}`]:true});document.body.appendChild(this.tip);this.core.on("plugins.icon.placed",this.iconPlacedHandler).on("core.validator.validated",this.validatorValidatedHandler).on("core.element.validated",this.elementValidatedHandler);if("click"===this.opts.trigger){document.addEventListener("click",this.documentClickHandler)}}uninstall(){this.messages.clear();document.body.removeChild(this.tip);this.core.off("plugins.icon.placed",this.iconPlacedHandler).off("core.validator.validated",this.validatorValidatedHandler).off("core.element.validated",this.elementValidatedHandler);if("click"===this.opts.trigger){document.removeEventListener("click",this.documentClickHandler)}}onIconPlaced(t){e(t.iconElement,{"fv-plugins-tooltip-icon":true});switch(this.opts.trigger){case"hover":t.iconElement.addEventListener("mouseenter",(e=>this.show(t.element,e)));t.iconElement.addEventListener("mouseleave",(t=>this.hide()));break;case"click":default:t.iconElement.addEventListener("click",(e=>this.show(t.element,e)));break}}onValidatorValidated(t){if(!t.result.valid){const e=t.elements;const i=t.element.getAttribute("type");const s="radio"===i||"checkbox"===i?e[0]:t.element;const o=typeof t.result.message==="string"?t.result.message:t.result.message[this.core.getLocale()];this.messages.set(s,o)}}onElementValidated(t){if(t.valid){const e=t.elements;const i=t.element.getAttribute("type");const s="radio"===i||"checkbox"===i?e[0]:t.element;this.messages.delete(s)}}onDocumentClicked(t){this.hide()}show(t,i){i.preventDefault();i.stopPropagation();if(!this.messages.has(t)){return}e(this.tip,{"fv-plugins-tooltip--hide":false});this.tip.innerHTML=`
      ${this.messages.get(t)}
      `;const s=i.target;const o=s.getBoundingClientRect();const{height:l,width:n}=this.tip.getBoundingClientRect();let a=0;let d=0;switch(this.opts.placement){case"bottom":a=o.top+o.height;d=o.left+o.width/2-n/2;break;case"bottom-left":a=o.top+o.height;d=o.left;break;case"bottom-right":a=o.top+o.height;d=o.left+o.width-n;break;case"left":a=o.top+o.height/2-l/2;d=o.left-n;break;case"right":a=o.top+o.height/2-l/2;d=o.left+o.width;break;case"top-left":a=o.top-l;d=o.left;break;case"top-right":a=o.top-l;d=o.left+o.width-n;break;case"top":default:a=o.top-l;d=o.left+o.width/2-n/2;break}const c=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;const r=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;a=a+c;d=d+r;this.tip.setAttribute("style",`top: ${a}px; left: ${d}px`)}hide(){e(this.tip,{"fv-plugins-tooltip--hide":true})}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Transformer.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Transformer.js new file mode 100644 index 0000000..3c9bf5b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Transformer.js @@ -0,0 +1 @@ +import t from"../core/Plugin";export default class e extends t{constructor(t){super(t);this.valueFilter=this.getElementValue.bind(this)}install(){this.core.registerFilter("field-value",this.valueFilter)}uninstall(){this.core.deregisterFilter("field-value",this.valueFilter)}getElementValue(t,e,i,s){if(this.opts[e]&&this.opts[e][s]&&"function"===typeof this.opts[e][s]){return this.opts[e][s].apply(this,[e,i,s])}return t}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Trigger.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Trigger.js new file mode 100644 index 0000000..b17cf0a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Trigger.js @@ -0,0 +1 @@ +import e from"../core/Plugin";export default class t extends e{constructor(e){super(e);this.handlers=[];this.timers=new Map;const t=document.createElement("div");this.defaultEvent=!("oninput"in t)?"keyup":"input";this.opts=Object.assign({},{delay:0,event:this.defaultEvent,threshold:0},e);this.fieldAddedHandler=this.onFieldAdded.bind(this);this.fieldRemovedHandler=this.onFieldRemoved.bind(this)}install(){this.core.on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler)}uninstall(){this.handlers.forEach((e=>e.element.removeEventListener(e.event,e.handler)));this.handlers=[];this.timers.forEach((e=>window.clearTimeout(e)));this.timers.clear();this.core.off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler)}prepareHandler(e,t){t.forEach((t=>{let i=[];if(!!this.opts.event&&this.opts.event[e]===false){i=[]}else if(!!this.opts.event&&!!this.opts.event[e]){i=this.opts.event[e].split(" ")}else if("string"===typeof this.opts.event&&this.opts.event!==this.defaultEvent){i=this.opts.event.split(" ")}else{const e=t.getAttribute("type");const s=t.tagName.toLowerCase();const n="radio"===e||"checkbox"===e||"file"===e||"select"===s?"change":this.ieVersion>=10&&t.getAttribute("placeholder")?"keyup":this.defaultEvent;i=[n]}i.forEach((i=>{const s=i=>this.handleEvent(i,e,t);this.handlers.push({element:t,event:i,field:e,handler:s});t.addEventListener(i,s)}))}))}handleEvent(e,t,i){if(this.exceedThreshold(t,i)&&this.core.executeFilter("plugins-trigger-should-validate",true,[t,i])){const s=()=>this.core.validateElement(t,i).then((s=>{this.core.emit("plugins.trigger.executed",{element:i,event:e,field:t})}));const n=this.opts.delay[t]||this.opts.delay;if(n===0){s()}else{const e=this.timers.get(i);if(e){window.clearTimeout(e)}this.timers.set(i,window.setTimeout(s,n*1e3))}}}onFieldAdded(e){this.handlers.filter((t=>t.field===e.field)).forEach((e=>e.element.removeEventListener(e.event,e.handler)));this.prepareHandler(e.field,e.elements)}onFieldRemoved(e){this.handlers.filter((t=>t.field===e.field&&e.elements.indexOf(t.element)>=0)).forEach((e=>e.element.removeEventListener(e.event,e.handler)))}exceedThreshold(e,t){const i=this.opts.threshold[e]===0||this.opts.threshold===0?false:this.opts.threshold[e]||this.opts.threshold;if(!i){return true}const s=t.getAttribute("type");if(["button","checkbox","file","hidden","image","radio","reset","submit"].indexOf(s)!==-1){return true}const n=this.core.getElementValue(e,t);return n.length>=i}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Turret.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Turret.js new file mode 100644 index 0000000..c84d3ca --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Turret.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"./Framework";export default class r extends t{constructor(e){super(Object.assign({},{formClass:"fv-plugins-turret",messageClass:"form-message",rowInvalidClass:"fv-invalid-row",rowPattern:/^field$/,rowSelector:".field",rowValidClass:"fv-valid-row"},e))}onIconPlaced(t){const r=t.element.getAttribute("type");const o=t.element.parentElement;if("checkbox"===r||"radio"===r){o.parentElement.insertBefore(t.iconElement,o.nextSibling);e(t.iconElement,{"fv-plugins-icon-check":true})}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/TypingAnimation.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/TypingAnimation.js new file mode 100644 index 0000000..e60fec2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/TypingAnimation.js @@ -0,0 +1 @@ +import e from"../core/Plugin";export default class t extends e{constructor(e){super(e);this.opts=Object.assign({},{autoPlay:true},e)}install(){this.fields=Object.keys(this.core.getFields());if(this.opts.autoPlay){this.play()}}play(){return this.animate(0)}animate(e){if(e>=this.fields.length){return Promise.resolve(e)}const t=this.fields[e];const s=this.core.getElements(t)[0];const i=s.getAttribute("type");const r=this.opts.data[t];if("checkbox"===i||"radio"===i){s.checked=true;s.setAttribute("checked","true");return this.core.revalidateField(t).then((t=>this.animate(e+1)))}else if(!r){return this.animate(e+1)}else{return new Promise((i=>new Typed(s,{attr:"value",autoInsertCss:true,bindInputFocusEvents:true,onComplete:()=>{i(e+1)},onStringTyped:(e,i)=>{s.value=r[e];this.core.revalidateField(t)},strings:r,typeSpeed:100}))).then((e=>this.animate(e)))}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Uikit.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Uikit.js new file mode 100644 index 0000000..a132e75 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Uikit.js @@ -0,0 +1 @@ +import e from"../utils/classSet";import t from"./Framework";export default class r extends t{constructor(e){super(Object.assign({},{formClass:"fv-plugins-uikit",messageClass:"uk-text-danger",rowInvalidClass:"uk-form-danger",rowPattern:/^.*(uk-form-controls|uk-width-[\d+]-[\d+]).*$/,rowSelector:".uk-margin",rowValidClass:"uk-form-success"},e))}onIconPlaced(t){const r=t.element.getAttribute("type");if("checkbox"===r||"radio"===r){const r=t.element.parentElement;e(t.iconElement,{"fv-plugins-icon-check":true});r.parentElement.insertBefore(t.iconElement,r.nextSibling)}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Wizard.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Wizard.js new file mode 100644 index 0000000..79c7ae5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/Wizard.js @@ -0,0 +1 @@ +import t from"../core/Plugin";import e from"../utils/classSet";import s from"./Excluded";export default class i extends t{constructor(t){super(t);this.currentStep=0;this.numSteps=0;this.stepIndexes=[];this.opts=Object.assign({},{activeStepClass:"fv-plugins-wizard--active",onStepActive:()=>{},onStepInvalid:()=>{},onStepValid:()=>{},onValid:()=>{},stepClass:"fv-plugins-wizard--step"},t);this.prevStepHandler=this.onClickPrev.bind(this);this.nextStepHandler=this.onClickNext.bind(this)}install(){this.core.registerPlugin(i.EXCLUDED_PLUGIN,this.opts.isFieldExcluded?new s({excluded:this.opts.isFieldExcluded}):new s);const t=this.core.getFormElement();this.steps=[].slice.call(t.querySelectorAll(this.opts.stepSelector));this.numSteps=this.steps.length;this.steps.forEach((t=>{e(t,{[this.opts.stepClass]:true})}));e(this.steps[0],{[this.opts.activeStepClass]:true});this.stepIndexes=Array(this.numSteps).fill(0).map(((t,e)=>e));this.prevButton=t.querySelector(this.opts.prevButton);this.nextButton=t.querySelector(this.opts.nextButton);this.prevButton.addEventListener("click",this.prevStepHandler);this.nextButton.addEventListener("click",this.nextStepHandler)}uninstall(){this.core.deregisterPlugin(i.EXCLUDED_PLUGIN);this.prevButton.removeEventListener("click",this.prevStepHandler);this.nextButton.removeEventListener("click",this.nextStepHandler);this.stepIndexes.length=0}getCurrentStep(){return this.currentStep}goToPrevStep(){const t=this.currentStep-1;if(t<0){return}const e=this.opts.isStepSkipped?this.stepIndexes.slice(0,this.currentStep).reverse().find(((t,e)=>!this.opts.isStepSkipped({currentStep:this.currentStep,numSteps:this.numSteps,targetStep:t}))):t;this.goToStep(e);this.onStepActive()}goToNextStep(){this.core.validate().then((t=>{if(t==="Valid"){let t=this.currentStep+1;if(t>=this.numSteps){this.currentStep=this.numSteps-1}else{const e=this.opts.isStepSkipped?this.stepIndexes.slice(t,this.numSteps).find(((t,e)=>!this.opts.isStepSkipped({currentStep:this.currentStep,numSteps:this.numSteps,targetStep:t}))):t;t=e;this.goToStep(t)}this.onStepActive();this.onStepValid();if(t===this.numSteps){this.onValid()}}else if(t==="Invalid"){this.onStepInvalid()}}))}goToStep(t){e(this.steps[this.currentStep],{[this.opts.activeStepClass]:false});e(this.steps[t],{[this.opts.activeStepClass]:true});this.currentStep=t}onClickPrev(){this.goToPrevStep()}onClickNext(){this.goToNextStep()}onStepActive(){const t={numSteps:this.numSteps,step:this.currentStep};this.core.emit("plugins.wizard.step.active",t);this.opts.onStepActive(t)}onStepValid(){const t={numSteps:this.numSteps,step:this.currentStep};this.core.emit("plugins.wizard.step.valid",t);this.opts.onStepValid(t)}onStepInvalid(){const t={numSteps:this.numSteps,step:this.currentStep};this.core.emit("plugins.wizard.step.invalid",t);this.opts.onStepInvalid(t)}onValid(){const t={numSteps:this.numSteps};this.core.emit("plugins.wizard.valid",t);this.opts.onValid(t)}}i.EXCLUDED_PLUGIN="___wizardExcluded"; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/plugins/index.js b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/index.js new file mode 100644 index 0000000..1a58e00 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/plugins/index.js @@ -0,0 +1 @@ +import r from"./Alias";import o from"./Aria";import m from"./Declarative";import t from"./DefaultSubmit";import e from"./Dependency";import i from"./Excluded";import p from"./FieldStatus";import a from"./Framework";import f from"./Icon";import u from"./Message";import l from"./Sequence";import c from"./SubmitButton";import n from"./Tooltip";import d from"./Trigger";export default{Alias:r,Aria:o,Declarative:m,DefaultSubmit:t,Dependency:e,Excluded:i,FieldStatus:p,Framework:a,Icon:f,Message:u,Sequence:l,SubmitButton:c,Tooltip:n,Trigger:d}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/utils/call.js b/resources/assets/core/plugins/formvalidation/dist/es6/utils/call.js new file mode 100644 index 0000000..5b11617 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/utils/call.js @@ -0,0 +1 @@ +export default function t(t,n){if("function"===typeof t){return t.apply(this,n)}else if("string"===typeof t){let e=t;if("()"===e.substring(e.length-2)){e=e.substring(0,e.length-2)}const i=e.split(".");const o=i.pop();let f=window;for(const t of i){f=f[t]}return typeof f[o]==="undefined"?null:f[o].apply(this,n)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/utils/classSet.js b/resources/assets/core/plugins/formvalidation/dist/es6/utils/classSet.js new file mode 100644 index 0000000..ac0c4c1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/utils/classSet.js @@ -0,0 +1 @@ +function s(s,a){a.split(" ").forEach((a=>{if(s.classList){s.classList.add(a)}else if(` ${s.className} `.indexOf(` ${a} `)){s.className+=` ${a}`}}))}function a(s,a){a.split(" ").forEach((a=>{s.classList?s.classList.remove(a):s.className=s.className.replace(a,"")}))}export default function c(c,e){const t=[];const f=[];Object.keys(e).forEach((s=>{if(s){e[s]?t.push(s):f.push(s)}}));f.forEach((s=>a(c,s)));t.forEach((a=>s(c,a)))} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/utils/closest.js b/resources/assets/core/plugins/formvalidation/dist/es6/utils/closest.js new file mode 100644 index 0000000..98177f7 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/utils/closest.js @@ -0,0 +1 @@ +function e(e,t){const l=e.matches||e.webkitMatchesSelector||e["mozMatchesSelector"]||e["msMatchesSelector"];if(l){return l.call(e,t)}const c=[].slice.call(e.parentElement.querySelectorAll(t));return c.indexOf(e)>=0}export default function t(t,l){let c=t;while(c){if(e(c,l)){break}c=c.parentElement}return c} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/utils/fetch.js b/resources/assets/core/plugins/formvalidation/dist/es6/utils/fetch.js new file mode 100644 index 0000000..61bd231 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/utils/fetch.js @@ -0,0 +1 @@ +export default function e(e,t){const n=e=>Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&");return new Promise(((o,s)=>{const d=Object.assign({},{crossDomain:false,headers:{},method:"GET",params:{}},t);const a=Object.keys(d.params).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(d.params[e])}`)).join("&");const r=e.indexOf("?");const c="GET"===d.method?`${e}${r?"?":"&"}${a}`:e;if(d.crossDomain){const e=document.createElement("script");const t=`___fetch${Date.now()}___`;window[t]=e=>{delete window[t];o(e)};e.src=`${c}${r?"&":"?"}callback=${t}`;e.async=true;e.addEventListener("load",(()=>{e.parentNode.removeChild(e)}));e.addEventListener("error",(()=>s));document.head.appendChild(e)}else{const e=new XMLHttpRequest;e.open(d.method,c);e.setRequestHeader("X-Requested-With","XMLHttpRequest");if("POST"===d.method){e.setRequestHeader("Content-Type","application/x-www-form-urlencoded")}Object.keys(d.headers).forEach((t=>e.setRequestHeader(t,d.headers[t])));e.addEventListener("load",(function(){o(JSON.parse(this.responseText))}));e.addEventListener("error",(()=>s));e.send(n(d.params))}}))} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/utils/format.js b/resources/assets/core/plugins/formvalidation/dist/es6/utils/format.js new file mode 100644 index 0000000..4784c90 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/utils/format.js @@ -0,0 +1 @@ +export default function r(r,e){const t=Array.isArray(e)?e:[e];let a=r;t.forEach((r=>{a=a.replace("%s",r)}));return a} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/utils/hasClass.js b/resources/assets/core/plugins/formvalidation/dist/es6/utils/hasClass.js new file mode 100644 index 0000000..aca794f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/utils/hasClass.js @@ -0,0 +1 @@ +export default function s(s,t){return s.classList?s.classList.contains(t):new RegExp(`(^| )${t}( |$)`,"gi").test(s.className)} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/utils/index.js b/resources/assets/core/plugins/formvalidation/dist/es6/utils/index.js new file mode 100644 index 0000000..e9b2904 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/utils/index.js @@ -0,0 +1 @@ +import o from"./call";import t from"./classSet";import r from"./closest";import m from"./fetch";import s from"./format";import a from"./hasClass";import l from"./isValidDate";export default{call:o,classSet:t,closest:r,fetch:m,format:s,hasClass:a,isValidDate:l}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/utils/isValidDate.js b/resources/assets/core/plugins/formvalidation/dist/es6/utils/isValidDate.js new file mode 100644 index 0000000..dec89d6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/utils/isValidDate.js @@ -0,0 +1 @@ +export default function t(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)){return false}if(t<1e3||t>9999||e<=0||e>12){return false}const s=[31,t%400===0||t%100!==0&&t%4===0?29:28,31,30,31,30,31,31,30,31,30,31];if(n<=0||n>s[e-1]){return false}if(r===true){const r=new Date;const s=r.getFullYear();const a=r.getMonth();const u=r.getDate();return tparseFloat(`${e}`.replace(",","."));return{validate(a){const t=a.value;if(t===""){return{valid:true}}const n=Object.assign({},{inclusive:true,message:""},a.options);const l=s(n.min);const o=s(n.max);return n.inclusive?{message:e(a.l10n?n.message||a.l10n.between.default:n.message,[`${l}`,`${o}`]),valid:parseFloat(t)>=l&&parseFloat(t)<=o}:{message:e(a.l10n?n.message||a.l10n.between.notInclusive:n.message,[`${l}`,`${o}`]),valid:parseFloat(t)>l&&parseFloat(t)e.checked)).length;const s=t.options.min?`${t.options.min}`:"";const n=t.options.max?`${t.options.max}`:"";let a=t.l10n?t.options.message||t.l10n.choice.default:t.options.message;const l=!(s&&oparseInt(n,10));switch(true){case!!s&&!!n:a=e(t.l10n?t.l10n.choice.between:t.options.message,[s,n]);break;case!!s:a=e(t.l10n?t.l10n.choice.more:t.options.message,s);break;case!!n:a=e(t.l10n?t.l10n.choice.less:t.options.message,n);break;default:break}return{message:a,valid:l}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/color.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/color.js new file mode 100644 index 0000000..c4b4eaf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/color.js @@ -0,0 +1 @@ +export default function e(){const e=["hex","rgb","rgba","hsl","hsla","keyword"];const a=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","transparent","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"];const r=e=>/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e);const l=e=>/^hsl\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(e);const s=e=>/^hsla\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(e);const t=e=>a.indexOf(e)>=0;const i=e=>/^rgb\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){2}(\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*)\)$/.test(e)||/^rgb\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(e);const o=e=>/^rgba\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(e)||/^rgba\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(e);return{validate(a){if(a.value===""){return{valid:true}}const n=typeof a.options.type==="string"?a.options.type.toString().replace(/s/g,"").split(","):a.options.type||e;for(const d of n){const n=d.toLowerCase();if(e.indexOf(n)===-1){continue}let g=true;switch(n){case"hex":g=r(a.value);break;case"hsl":g=l(a.value);break;case"hsla":g=s(a.value);break;case"keyword":g=t(a.value);break;case"rgb":g=i(a.value);break;case"rgba":g=o(a.value);break}if(g){return{valid:true}}}return{valid:false}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/creditCard.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/creditCard.js new file mode 100644 index 0000000..01be54b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/creditCard.js @@ -0,0 +1 @@ +import e from"../algorithms/luhn";const t={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DANKORT:{length:[16],prefix:["5019"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},ELO:{length:[16],prefix:["4011","4312","4389","4514","4573","4576","5041","5066","5067","509","6277","6362","6363","650","6516","6550"]},FORBRUGSFORENINGEN:{length:[16],prefix:["600722"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","5868","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]},VISA_ELECTRON:{length:[16],prefix:["4026","417500","4405","4508","4844","4913","4917"]}};export default function l(){return{validate(l){if(l.value===""){return{meta:{type:null},valid:true}}if(/[^0-9-\s]+/.test(l.value)){return{meta:{type:null},valid:false}}const r=l.value.replace(/\D/g,"");if(!e(r)){return{meta:{type:null},valid:false}}for(const e of Object.keys(t)){for(const n in t[e].prefix){if(l.value.substr(0,t[e].prefix[n].length)===t[e].prefix[n]&&t[e].length.indexOf(r.length)!==-1){return{meta:{type:e},valid:true}}}}return{meta:{type:null},valid:false}}}}export{t as CREDIT_CARD_TYPES}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/cusip.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/cusip.js new file mode 100644 index 0000000..f639b80 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/cusip.js @@ -0,0 +1 @@ +export default function t(){return{validate(t){if(t.value===""){return{valid:true}}const e=t.value.toUpperCase();if(!/^[0123456789ABCDEFGHJKLMNPQRSTUVWXYZ*@#]{9}$/.test(e)){return{valid:false}}const r=e.split("");const a=r.pop();const n=r.map((t=>{const e=t.charCodeAt(0);switch(true){case t==="*":return 36;case t==="@":return 37;case t==="#":return 38;case e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0):return e-"A".charCodeAt(0)+10;default:return parseInt(t,10)}}));const c=n.map(((t,e)=>{const r=e%2===0?t:2*t;return Math.floor(r/10)+r%10})).reduce(((t,e)=>t+e),0);const o=(10-c%10)%10;return{valid:a===`${o}`}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/date.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/date.js new file mode 100644 index 0000000..3a3422f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/date.js @@ -0,0 +1 @@ +import t from"../utils/format";import e from"../utils/isValidDate";export default function n(){const n=(t,e,n)=>{const s=e.indexOf("YYYY");const a=e.indexOf("MM");const l=e.indexOf("DD");if(s===-1||a===-1||l===-1){return null}const o=t.split(" ");const r=o[0].split(n);if(r.length<3){return null}const c=new Date(parseInt(r[s],10),parseInt(r[a],10)-1,parseInt(r[l],10));if(o.length>1){const t=o[1].split(":");c.setHours(t.length>0?parseInt(t[0],10):0);c.setMinutes(t.length>1?parseInt(t[1],10):0);c.setSeconds(t.length>2?parseInt(t[2],10):0)}return c};const s=(t,e)=>{const n=e.replace(/Y/g,"y").replace(/M/g,"m").replace(/D/g,"d").replace(/:m/g,":M").replace(/:mm/g,":MM").replace(/:S/,":s").replace(/:SS/,":ss");const s=t.getDate();const a=s<10?`0${s}`:s;const l=t.getMonth()+1;const o=l<10?`0${l}`:l;const r=`${t.getFullYear()}`.substr(2);const c=t.getFullYear();const i=t.getHours()%12||12;const g=i<10?`0${i}`:i;const u=t.getHours();const m=u<10?`0${u}`:u;const d=t.getMinutes();const f=d<10?`0${d}`:d;const p=t.getSeconds();const h=p<10?`0${p}`:p;const $={H:`${u}`,HH:`${m}`,M:`${d}`,MM:`${f}`,d:`${s}`,dd:`${a}`,h:`${i}`,hh:`${g}`,m:`${l}`,mm:`${o}`,s:`${p}`,ss:`${h}`,yy:`${r}`,yyyy:`${c}`};return n.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMs])\1?|"[^"]*"|'[^']*'/g,(t=>$[t]?$[t]:t.slice(1,t.length-1)))};return{validate(a){if(a.value===""){return{meta:{date:null},valid:true}}const l=Object.assign({},{format:a.element&&a.element.getAttribute("type")==="date"?"YYYY-MM-DD":"MM/DD/YYYY",message:""},a.options);const o=a.l10n?a.l10n.date.default:l.message;const r={message:`${o}`,meta:{date:null},valid:false};const c=l.format.split(" ");const i=c.length>1?c[1]:null;const g=c.length>2?c[2]:null;const u=a.value.split(" ");const m=u[0];const d=u.length>1?u[1]:null;if(c.length!==u.length){return r}const f=l.separator||(m.indexOf("/")!==-1?"/":m.indexOf("-")!==-1?"-":m.indexOf(".")!==-1?".":"/");if(f===null||m.indexOf(f)===-1){return r}const p=m.split(f);const h=c[0].split(f);if(p.length!==h.length){return r}const $=p[h.indexOf("YYYY")];const M=p[h.indexOf("MM")];const Y=p[h.indexOf("DD")];if(!/^\d+$/.test($)||!/^\d+$/.test(M)||!/^\d+$/.test(Y)||$.length>4||M.length>2||Y.length>2){return r}const D=parseInt($,10);const x=parseInt(M,10);const y=parseInt(Y,10);if(!e(D,x,y)){return r}const I=new Date(D,x-1,y);if(i){const t=d.split(":");if(i.split(":").length!==t.length){return r}const e=t.length>0?t[0].length<=2&&/^\d+$/.test(t[0])?parseInt(t[0],10):-1:0;const n=t.length>1?t[1].length<=2&&/^\d+$/.test(t[1])?parseInt(t[1],10):-1:0;const s=t.length>2?t[2].length<=2&&/^\d+$/.test(t[2])?parseInt(t[2],10):-1:0;if(e===-1||n===-1||s===-1){return r}if(s<0||s>60){return r}if(e<0||e>=24||g&&e>12){return r}if(n<0||n>59){return r}I.setHours(e);I.setMinutes(n);I.setSeconds(s)}const O=typeof l.min==="function"?l.min():l.min;const v=O instanceof Date?O:O?n(O,h,f):I;const H=typeof l.max==="function"?l.max():l.max;const T=H instanceof Date?H:H?n(H,h,f):I;const S=O instanceof Date?s(v,l.format):O;const b=H instanceof Date?s(T,l.format):H;switch(true){case!!S&&!b:return{message:t(a.l10n?a.l10n.date.min:o,S),meta:{date:I},valid:I.getTime()>=v.getTime()};case!!b&&!S:return{message:t(a.l10n?a.l10n.date.max:o,b),meta:{date:I},valid:I.getTime()<=T.getTime()};case!!b&&!!S:return{message:t(a.l10n?a.l10n.date.range:o,[S,b]),meta:{date:I},valid:I.getTime()<=T.getTime()&&I.getTime()>=v.getTime()};default:return{message:`${o}`,meta:{date:I},valid:true}}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/different.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/different.js new file mode 100644 index 0000000..8a22b2b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/different.js @@ -0,0 +1 @@ +export default function o(){return{validate(o){const t="function"===typeof o.options.compare?o.options.compare.call(this):o.options.compare;return{valid:t===""||o.value!==t}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/digits.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/digits.js new file mode 100644 index 0000000..52eb0ab --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/digits.js @@ -0,0 +1 @@ +export default function e(){return{validate(e){return{valid:e.value===""||/^\d+$/.test(e.value)}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/ean.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/ean.js new file mode 100644 index 0000000..7cb681a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/ean.js @@ -0,0 +1 @@ +export default function e(){return{validate(e){if(e.value===""){return{valid:true}}if(!/^(\d{8}|\d{12}|\d{13}|\d{14})$/.test(e.value)){return{valid:false}}const t=e.value.length;let a=0;const l=t===8?[3,1]:[1,3];for(let r=0;r{const s=t.split(/"/);const l=s.length;const n=[];let r="";for(let t=0;t()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;const n=s.multiple===true||`${s.multiple}`==="true";if(n){const n=s.separator||/[,;]/;const r=t(e.value,n);const a=r.length;for(let t=0;tparseInt(`${e.options.maxFiles}`,10)){return{meta:{error:"INVALID_MAX_FILES"},valid:false}}if(e.options.minFiles&&oparseInt(`${e.options.maxSize}`,10)){return{meta:Object.assign({},{error:"INVALID_MAX_SIZE"},r),valid:false}}if(i&&i.indexOf(t.toLowerCase())===-1){return{meta:Object.assign({},{error:"INVALID_EXTENSION"},r),valid:false}}if(n[l].type&&s&&s.indexOf(n[l].type.toLowerCase())===-1){return{meta:Object.assign({},{error:"INVALID_TYPE"},r),valid:false}}}if(e.options.maxTotalSize&&a>parseInt(`${e.options.maxTotalSize}`,10)){return{meta:Object.assign({},{error:"INVALID_MAX_TOTAL_SIZE",totalSize:a},r),valid:false}}if(e.options.minTotalSize&&a=t}:{message:e(a.l10n?s.message||a.l10n.greaterThan.notInclusive:s.message,`${t}`),valid:parseFloat(a.value)>t}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/grid.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/grid.js new file mode 100644 index 0000000..9f05c97 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/grid.js @@ -0,0 +1 @@ +import e from"../algorithms/mod37And36";export default function r(){return{validate(r){if(r.value===""){return{valid:true}}let t=r.value.toUpperCase();if(!/^[GRID:]*([0-9A-Z]{2})[-\s]*([0-9A-Z]{5})[-\s]*([0-9A-Z]{10})[-\s]*([0-9A-Z]{1})$/g.test(t)){return{valid:false}}t=t.replace(/\s/g,"").replace(/-/g,"");if("GRID:"===t.substr(0,5)){t=t.substr(5)}return{valid:e(t)}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/hex.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/hex.js new file mode 100644 index 0000000..f6e69c4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/hex.js @@ -0,0 +1 @@ +export default function e(){return{validate(e){return{valid:e.value===""||/^[0-9a-fA-F]+$/.test(e.value)}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/iban.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/iban.js new file mode 100644 index 0000000..b4ba3d6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/iban.js @@ -0,0 +1 @@ +import A from"../utils/format";export default function Z(){const Z={AD:"AD[0-9]{2}[0-9]{4}[0-9]{4}[A-Z0-9]{12}",AE:"AE[0-9]{2}[0-9]{3}[0-9]{16}",AL:"AL[0-9]{2}[0-9]{8}[A-Z0-9]{16}",AO:"AO[0-9]{2}[0-9]{21}",AT:"AT[0-9]{2}[0-9]{5}[0-9]{11}",AZ:"AZ[0-9]{2}[A-Z]{4}[A-Z0-9]{20}",BA:"BA[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{8}[0-9]{2}",BE:"BE[0-9]{2}[0-9]{3}[0-9]{7}[0-9]{2}",BF:"BF[0-9]{2}[0-9]{23}",BG:"BG[0-9]{2}[A-Z]{4}[0-9]{4}[0-9]{2}[A-Z0-9]{8}",BH:"BH[0-9]{2}[A-Z]{4}[A-Z0-9]{14}",BI:"BI[0-9]{2}[0-9]{12}",BJ:"BJ[0-9]{2}[A-Z]{1}[0-9]{23}",BR:"BR[0-9]{2}[0-9]{8}[0-9]{5}[0-9]{10}[A-Z][A-Z0-9]",CH:"CH[0-9]{2}[0-9]{5}[A-Z0-9]{12}",CI:"CI[0-9]{2}[A-Z]{1}[0-9]{23}",CM:"CM[0-9]{2}[0-9]{23}",CR:"CR[0-9]{2}[0-9][0-9]{3}[0-9]{14}",CV:"CV[0-9]{2}[0-9]{21}",CY:"CY[0-9]{2}[0-9]{3}[0-9]{5}[A-Z0-9]{16}",CZ:"CZ[0-9]{2}[0-9]{20}",DE:"DE[0-9]{2}[0-9]{8}[0-9]{10}",DK:"DK[0-9]{2}[0-9]{14}",DO:"DO[0-9]{2}[A-Z0-9]{4}[0-9]{20}",DZ:"DZ[0-9]{2}[0-9]{20}",EE:"EE[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{11}[0-9]{1}",ES:"ES[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{1}[0-9]{1}[0-9]{10}",FI:"FI[0-9]{2}[0-9]{6}[0-9]{7}[0-9]{1}",FO:"FO[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}",FR:"FR[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}",GB:"GB[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}",GE:"GE[0-9]{2}[A-Z]{2}[0-9]{16}",GI:"GI[0-9]{2}[A-Z]{4}[A-Z0-9]{15}",GL:"GL[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}",GR:"GR[0-9]{2}[0-9]{3}[0-9]{4}[A-Z0-9]{16}",GT:"GT[0-9]{2}[A-Z0-9]{4}[A-Z0-9]{20}",HR:"HR[0-9]{2}[0-9]{7}[0-9]{10}",HU:"HU[0-9]{2}[0-9]{3}[0-9]{4}[0-9]{1}[0-9]{15}[0-9]{1}",IE:"IE[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}",IL:"IL[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{13}",IR:"IR[0-9]{2}[0-9]{22}",IS:"IS[0-9]{2}[0-9]{4}[0-9]{2}[0-9]{6}[0-9]{10}",IT:"IT[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}",JO:"JO[0-9]{2}[A-Z]{4}[0-9]{4}[0]{8}[A-Z0-9]{10}",KW:"KW[0-9]{2}[A-Z]{4}[0-9]{22}",KZ:"KZ[0-9]{2}[0-9]{3}[A-Z0-9]{13}",LB:"LB[0-9]{2}[0-9]{4}[A-Z0-9]{20}",LI:"LI[0-9]{2}[0-9]{5}[A-Z0-9]{12}",LT:"LT[0-9]{2}[0-9]{5}[0-9]{11}",LU:"LU[0-9]{2}[0-9]{3}[A-Z0-9]{13}",LV:"LV[0-9]{2}[A-Z]{4}[A-Z0-9]{13}",MC:"MC[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}",MD:"MD[0-9]{2}[A-Z0-9]{20}",ME:"ME[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",MG:"MG[0-9]{2}[0-9]{23}",MK:"MK[0-9]{2}[0-9]{3}[A-Z0-9]{10}[0-9]{2}",ML:"ML[0-9]{2}[A-Z]{1}[0-9]{23}",MR:"MR13[0-9]{5}[0-9]{5}[0-9]{11}[0-9]{2}",MT:"MT[0-9]{2}[A-Z]{4}[0-9]{5}[A-Z0-9]{18}",MU:"MU[0-9]{2}[A-Z]{4}[0-9]{2}[0-9]{2}[0-9]{12}[0-9]{3}[A-Z]{3}",MZ:"MZ[0-9]{2}[0-9]{21}",NL:"NL[0-9]{2}[A-Z]{4}[0-9]{10}",NO:"NO[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{1}",PK:"PK[0-9]{2}[A-Z]{4}[A-Z0-9]{16}",PL:"PL[0-9]{2}[0-9]{8}[0-9]{16}",PS:"PS[0-9]{2}[A-Z]{4}[A-Z0-9]{21}",PT:"PT[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{11}[0-9]{2}",QA:"QA[0-9]{2}[A-Z]{4}[A-Z0-9]{21}",RO:"RO[0-9]{2}[A-Z]{4}[A-Z0-9]{16}",RS:"RS[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",SA:"SA[0-9]{2}[0-9]{2}[A-Z0-9]{18}",SE:"SE[0-9]{2}[0-9]{3}[0-9]{16}[0-9]{1}",SI:"SI[0-9]{2}[0-9]{5}[0-9]{8}[0-9]{2}",SK:"SK[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{10}",SM:"SM[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}",SN:"SN[0-9]{2}[A-Z]{1}[0-9]{23}",TL:"TL38[0-9]{3}[0-9]{14}[0-9]{2}",TN:"TN59[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",TR:"TR[0-9]{2}[0-9]{5}[A-Z0-9]{1}[A-Z0-9]{16}",VG:"VG[0-9]{2}[A-Z]{4}[0-9]{16}",XK:"XK[0-9]{2}[0-9]{4}[0-9]{10}[0-9]{2}"};const e=["AT","BE","BG","CH","CY","CZ","DE","DK","EE","ES","FI","FR","GB","GI","GR","HR","HU","IE","IS","IT","LI","LT","LU","LV","MC","MT","NL","NO","PL","PT","RO","SE","SI","SK","SM"];return{validate(s){if(s.value===""){return{valid:true}}const t=Object.assign({},{message:""},s.options);let a=s.value.replace(/[^a-zA-Z0-9]/g,"").toUpperCase();const r=t.country||a.substr(0,2);if(!Z[r]){return{message:t.message,valid:false}}if(t.sepa!==undefined){const A=e.indexOf(r)!==-1;if((t.sepa==="true"||t.sepa===true)&&!A||(t.sepa==="false"||t.sepa===false)&&A){return{message:t.message,valid:false}}}const n=A(s.l10n?t.message||s.l10n.iban.country:t.message,s.l10n?s.l10n.iban.countries[r]:r);if(!new RegExp(`^${Z[r]}$`).test(s.value)){return{message:n,valid:false}}a=`${a.substr(4)}${a.substr(0,4)}`;a=a.split("").map((A=>{const Z=A.charCodeAt(0);return Z>="A".charCodeAt(0)&&Z<="Z".charCodeAt(0)?Z-"A".charCodeAt(0)+10:A})).join("");let I=parseInt(a.substr(0,1),10);const L=a.length;for(let A=1;A40){r+=100;a-=40}else if(a>20){r-=100;a-=20}if(!t(r,a,l)){return{meta:{},valid:false}}let i=0;const n=[2,4,8,5,10,9,7,3,6];for(let t=0;t<9;t++){i+=parseInt(s.charAt(t),10)*n[t]}i=i%11%10;return{meta:{},valid:`${i}`===s.substr(9,1)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/brId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/brId.js new file mode 100644 index 0000000..343a939 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/brId.js @@ -0,0 +1 @@ +export default function t(t){const e=t.replace(/\D/g,"");if(!/^\d{11}$/.test(e)||/^1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11}|0{11}$/.test(e)){return{meta:{},valid:false}}let a=0;let r;for(r=0;r<9;r++){a+=(10-r)*parseInt(e.charAt(r),10)}a=11-a%11;if(a===10||a===11){a=0}if(`${a}`!==e.charAt(9)){return{meta:{},valid:false}}let f=0;for(r=0;r<10;r++){f+=(11-r)*parseInt(e.charAt(r),10)}f=11-f%11;if(f===10||f===11){f=0}return{meta:{},valid:`${f}`===e.charAt(10)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/chId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/chId.js new file mode 100644 index 0000000..eb4c890 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/chId.js @@ -0,0 +1 @@ +export default function t(t){if(!/^756[.]{0,1}[0-9]{4}[.]{0,1}[0-9]{4}[.]{0,1}[0-9]{2}$/.test(t)){return{meta:{},valid:false}}const e=t.replace(/\D/g,"").substr(3);const r=e.length;const a=r===8?[3,1]:[1,3];let n=0;for(let t=0;t=0;t--){l+=parseInt(e.charAt(t),10)*a[t]}l=l%11;if(l>=2){l=11-l}return{meta:{},valid:`${l}`===e.substr(r-1)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/czId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/czId.js new file mode 100644 index 0000000..98a39ef --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/czId.js @@ -0,0 +1 @@ +import t from"../../utils/isValidDate";export default function e(e){if(!/^\d{9,10}$/.test(e)){return{meta:{},valid:false}}let r=1900+parseInt(e.substr(0,2),10);const s=parseInt(e.substr(2,2),10)%50%20;const a=parseInt(e.substr(4,2),10);if(e.length===9){if(r>=1980){r-=100}if(r>1953){return{meta:{},valid:false}}}else if(r<1954){r+=100}if(!t(r,s,a)){return{meta:{},valid:false}}if(e.length===10){let t=parseInt(e.substr(0,9),10)%11;if(r<1985){t=t%10}return{meta:{},valid:`${t}`===e.substr(9,1)}}return{meta:{},valid:true}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/dkId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/dkId.js new file mode 100644 index 0000000..9ed028a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/dkId.js @@ -0,0 +1 @@ +import t from"../../utils/isValidDate";export default function e(e){if(!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(e)){return{meta:{},valid:false}}const a=e.replace(/-/g,"");const r=parseInt(a.substr(0,2),10);const s=parseInt(a.substr(2,2),10);let n=parseInt(a.substr(4,2),10);switch(true){case"5678".indexOf(a.charAt(6))!==-1&&n>=58:n+=1800;break;case"0123".indexOf(a.charAt(6))!==-1:case"49".indexOf(a.charAt(6))!==-1&&n>=37:n+=1900;break;default:n+=2e3;break}return{meta:{},valid:t(n,s,r)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/esId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/esId.js new file mode 100644 index 0000000..26e61a3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/esId.js @@ -0,0 +1 @@ +export default function t(t){const e=/^[0-9]{8}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(t);const s=/^[XYZ][-]{0,1}[0-9]{7}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(t);const n=/^[A-HNPQS][-]{0,1}[0-9]{7}[-]{0,1}[0-9A-J]$/.test(t);if(!e&&!s&&!n){return{meta:{},valid:false}}let r=t.replace(/-/g,"");let l;let a;let f=true;if(e||s){a="DNI";const t="XYZ".indexOf(r.charAt(0));if(t!==-1){r=t+r.substr(1)+"";a="NIE"}l=parseInt(r.substr(0,8),10);l="TRWAGMYFPDXBNJZSQVHLCKE"[l%23];return{meta:{type:a},valid:l===r.substr(8,1)}}else{l=r.substr(1,7);a="CIF";const t=r[0];const e=r.substr(-1);let s=0;for(let t=0;tparseInt(t,10)));return{meta:{},valid:t(r)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/ieId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/ieId.js new file mode 100644 index 0000000..292d0a9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/ieId.js @@ -0,0 +1 @@ +export default function t(t){if(!/^\d{7}[A-W][AHWTX]?$/.test(t)){return{meta:{},valid:false}}const r=t=>{let r=t;while(r.length<7){r=`0${r}`}const e="WABCDEFGHIJKLMNOPQRSTUV";let s=0;for(let t=0;t<7;t++){s+=parseInt(r.charAt(t),10)*(8-t)}s+=9*e.indexOf(r.substr(7));return e[s%23]};const e=t.length===9&&("A"===t.charAt(8)||"H"===t.charAt(8))?t.charAt(7)===r(t.substr(0,7)+t.substr(8)+""):t.charAt(7)===r(t.substr(0,7));return{meta:{},valid:e}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/ilId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/ilId.js new file mode 100644 index 0000000..74f2ef9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/ilId.js @@ -0,0 +1 @@ +import t from"../../algorithms/luhn";export default function e(e){if(!/^\d{1,9}$/.test(e)){return{meta:{},valid:false}}return{meta:{},valid:t(e)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/index.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/index.js new file mode 100644 index 0000000..109b904 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/index.js @@ -0,0 +1 @@ +import e from"../../utils/format";import r from"./arId";import a from"./baId";import o from"./bgId";import m from"./brId";import t from"./chId";import s from"./clId";import i from"./cnId";import l from"./coId";import c from"./czId";import u from"./dkId";import d from"./esId";import f from"./fiId";import b from"./frId";import k from"./hkId";import p from"./hrId";import v from"./idId";import I from"./ieId";import n from"./ilId";import h from"./isId";import y from"./krId";import g from"./ltId";import C from"./lvId";import R from"./meId";import E from"./mkId";import L from"./mxId";import S from"./myId";import O from"./nlId";import K from"./noId";import M from"./peId";import w from"./plId";import x from"./roId";import z from"./rsId";import H from"./seId";import T from"./siId";import A from"./smId";import B from"./thId";import N from"./trId";import U from"./twId";import j from"./uyId";import D from"./zaId";export default function F(){const F=["AR","BA","BG","BR","CH","CL","CN","CO","CZ","DK","EE","ES","FI","FR","HK","HR","ID","IE","IL","IS","KR","LT","LV","ME","MK","MX","MY","NL","NO","PE","PL","RO","RS","SE","SI","SK","SM","TH","TR","TW","UY","ZA"];return{validate(P){if(P.value===""){return{valid:true}}const Y=Object.assign({},{message:""},P.options);let Z=P.value.substr(0,2);if("function"===typeof Y.country){Z=Y.country.call(this)}else{Z=Y.country}if(F.indexOf(Z)===-1){return{valid:true}}let G={meta:{},valid:true};switch(Z.toLowerCase()){case"ar":G=r(P.value);break;case"ba":G=a(P.value);break;case"bg":G=o(P.value);break;case"br":G=m(P.value);break;case"ch":G=t(P.value);break;case"cl":G=s(P.value);break;case"cn":G=i(P.value);break;case"co":G=l(P.value);break;case"cz":G=c(P.value);break;case"dk":G=u(P.value);break;case"ee":G=g(P.value);break;case"es":G=d(P.value);break;case"fi":G=f(P.value);break;case"fr":G=b(P.value);break;case"hk":G=k(P.value);break;case"hr":G=p(P.value);break;case"id":G=v(P.value);break;case"ie":G=I(P.value);break;case"il":G=n(P.value);break;case"is":G=h(P.value);break;case"kr":G=y(P.value);break;case"lt":G=g(P.value);break;case"lv":G=C(P.value);break;case"me":G=R(P.value);break;case"mk":G=E(P.value);break;case"mx":G=L(P.value);break;case"my":G=S(P.value);break;case"nl":G=O(P.value);break;case"no":G=K(P.value);break;case"pe":G=M(P.value);break;case"pl":G=w(P.value);break;case"ro":G=x(P.value);break;case"rs":G=z(P.value);break;case"se":G=H(P.value);break;case"si":G=T(P.value);break;case"sk":G=c(P.value);break;case"sm":G=A(P.value);break;case"th":G=B(P.value);break;case"tr":G=N(P.value);break;case"tw":G=U(P.value);break;case"uy":G=j(P.value);break;case"za":G=D(P.value);break;default:break}const V=e(P.l10n&&P.l10n.id?Y.message||P.l10n.id.country:Y.message,P.l10n&&P.l10n.id&&P.l10n.id.countries?P.l10n.id.countries[Z.toUpperCase()]:Z.toUpperCase());return Object.assign({},{message:V},G)}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/isId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/isId.js new file mode 100644 index 0000000..7f192a0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/isId.js @@ -0,0 +1 @@ +import t from"../../utils/isValidDate";export default function e(e){if(!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(e)){return{meta:{},valid:false}}const r=e.replace(/-/g,"");const s=parseInt(r.substr(0,2),10);const a=parseInt(r.substr(2,2),10);let n=parseInt(r.substr(4,2),10);const l=parseInt(r.charAt(9),10);n=l===9?1900+n:(20+l)*100+n;if(!t(n,a,s,true)){return{meta:{},valid:false}}const c=[3,2,7,6,5,4,3,2];let i=0;for(let t=0;t<8;t++){i+=parseInt(r.charAt(t),10)*c[t]}i=11-i%11;return{meta:{},valid:`${i}`===r.charAt(8)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/jmbg.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/jmbg.js new file mode 100644 index 0000000..d13e812 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/jmbg.js @@ -0,0 +1 @@ +export default function t(t,r){if(!/^\d{13}$/.test(t)){return false}const e=parseInt(t.substr(0,2),10);const s=parseInt(t.substr(2,2),10);const n=parseInt(t.substr(7,2),10);const a=parseInt(t.substr(12,1),10);if(e>31||s>12){return false}let u=0;for(let r=0;r<6;r++){u+=(7-r)*(parseInt(t.charAt(r),10)+parseInt(t.charAt(r+6),10))}u=11-u%11;if(u===10||u===11){u=0}if(u!==a){return false}switch(r.toUpperCase()){case"BA":return 10<=n&&n<=19;case"MK":return 41<=n&&n<=49;case"ME":return 20<=n&&n<=29;case"RS":return 70<=n&&n<=99;case"SI":return 50<=n&&n<=59;default:return true}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/krId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/krId.js new file mode 100644 index 0000000..5516bfb --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/krId.js @@ -0,0 +1 @@ +import t from"../../utils/isValidDate";export default function e(e){const a=e.replace("-","");if(!/^\d{13}$/.test(a)){return{meta:{},valid:false}}const s=a.charAt(6);let r=parseInt(a.substr(0,2),10);const c=parseInt(a.substr(2,2),10);const n=parseInt(a.substr(4,2),10);switch(s){case"1":case"2":case"5":case"6":r+=1900;break;case"3":case"4":case"7":case"8":r+=2e3;break;default:r+=1800;break}if(!t(r,c,n)){return{meta:{},valid:false}}const l=[2,3,4,5,6,7,8,9,2,3,4,5];const o=a.length;let i=0;for(let t=0;t=0){return{meta:{},valid:false}}let s=parseInt(t.substr(4,2),10);const r=parseInt(t.substr(6,2),10);const a=parseInt(t.substr(6,2),10);if(/^[0-9]$/.test(t.charAt(16))){s+=1900}else{s+=2e3}if(!A(s,r,a)){return{meta:{},valid:false}}const E=t.charAt(10);if(E!=="H"&&E!=="M"){return{meta:{},valid:false}}const n=t.substr(11,2);const K=["AS","BC","BS","CC","CH","CL","CM","CS","DF","DG","GR","GT","HG","JC","MC","MN","MS","NE","NL","NT","OC","PL","QR","QT","SL","SP","SR","TC","TL","TS","VZ","YN","ZS"];if(K.indexOf(n)===-1){return{meta:{},valid:false}}const i="0123456789ABCDEFGHIJKLMN&OPQRSTUVWXYZ";let L=0;const l=t.length;for(let A=0;A{const r=[3,7,6,1,8,9,4,5,2];let e=0;for(let n=0;n<9;n++){e+=r[n]*parseInt(t.charAt(n),10)}return 11-e%11};const e=t=>{const r=[5,4,3,2,7,6,5,4,3,2];let e=0;for(let n=0;n<10;n++){e+=r[n]*parseInt(t.charAt(n),10)}return 11-e%11};return{meta:{},valid:`${r(t)}`===t.substr(-2,1)&&`${e(t)}`===t.substr(-1)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/peId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/peId.js new file mode 100644 index 0000000..24891d2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/peId.js @@ -0,0 +1 @@ +export default function t(t){if(!/^\d{8}[0-9A-Z]*$/.test(t)){return{meta:{},valid:false}}if(t.length===8){return{meta:{},valid:true}}const e=[3,2,7,6,5,4,3,2];let r=0;for(let a=0;a<8;a++){r+=e[a]*parseInt(t.charAt(a),10)}const a=r%11;const n=[6,5,4,3,2,1,1,0,9,8,7][a];const c="KJIHGFEDCBA".charAt(a);return{meta:{},valid:t.charAt(8)===`${n}`||t.charAt(8)===c}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/plId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/plId.js new file mode 100644 index 0000000..e3641a0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/plId.js @@ -0,0 +1 @@ +export default function t(t){if(!/^[0-9]{11}$/.test(t)){return{meta:{},valid:false}}let e=0;const a=t.length;const r=[1,3,7,9,1,3,7,9,1,3,7];for(let n=0;n31&&s>12){return{meta:{},valid:false}}if(a!==9){r=i[a+""]+r;if(!t(r,s,n)){return{meta:{},valid:false}}}let l=0;const f=[2,7,9,1,4,6,3,5,8,2,7,9];const o=e.length;for(let t=0;t0){a=10-a}return{meta:{},valid:`${a}`===t.charAt(7)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/zaId.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/zaId.js new file mode 100644 index 0000000..e40a8f3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/id/zaId.js @@ -0,0 +1 @@ +import t from"../../algorithms/luhn";import e from"../../utils/isValidDate";export default function r(r){if(!/^[0-9]{10}[0|1][8|9][0-9]$/.test(r)){return{meta:{},valid:false}}let s=parseInt(r.substr(0,2),10);const a=(new Date).getFullYear()%100;const l=parseInt(r.substr(2,2),10);const n=parseInt(r.substr(4,2),10);s=s>=a?s+1900:s+2e3;if(!e(s,l,n)){return{meta:{},valid:false}}return{meta:{},valid:t(r)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/identical.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/identical.js new file mode 100644 index 0000000..6ad8d20 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/identical.js @@ -0,0 +1 @@ +export default function o(){return{validate(o){const t="function"===typeof o.options.compare?o.options.compare.call(this):o.options.compare;return{valid:t===""||o.value===t}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/imei.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/imei.js new file mode 100644 index 0000000..76802fd --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/imei.js @@ -0,0 +1 @@ +import e from"../algorithms/luhn";export default function t(){return{validate(t){if(t.value===""){return{valid:true}}switch(true){case/^\d{15}$/.test(t.value):case/^\d{2}-\d{6}-\d{6}-\d{1}$/.test(t.value):case/^\d{2}\s\d{6}\s\d{6}\s\d{1}$/.test(t.value):return{valid:e(t.value.replace(/[^0-9]/g,""))};case/^\d{14}$/.test(t.value):case/^\d{16}$/.test(t.value):case/^\d{2}-\d{6}-\d{6}(|-\d{2})$/.test(t.value):case/^\d{2}\s\d{6}\s\d{6}(|\s\d{2})$/.test(t.value):return{valid:true};default:return{valid:false}}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/imo.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/imo.js new file mode 100644 index 0000000..e94ac74 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/imo.js @@ -0,0 +1 @@ +export default function e(){return{validate(e){if(e.value===""){return{valid:true}}if(!/^IMO \d{7}$/i.test(e.value)){return{valid:false}}const t=e.value.replace(/^.*(\d{7})$/,"$1");let r=0;for(let e=6;e>=1;e--){r+=parseInt(t.slice(6-e,-e),10)*(e+1)}return{valid:r%10===parseInt(t.charAt(6),10)}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/index-full.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/index-full.js new file mode 100644 index 0000000..52aaaea --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/index-full.js @@ -0,0 +1 @@ +import r from"./between";import i from"./blank";import o from"./callback";import m from"./choice";import t from"./creditCard";import e from"./date";import p from"./different";import f from"./digits";import n from"./emailAddress";import s from"./file";import a from"./greaterThan";import d from"./identical";import c from"./integer";import l from"./ip";import g from"./lessThan";import b from"./notEmpty";import h from"./numeric";import u from"./promise";import x from"./regexp";import C from"./remote";import k from"./stringCase";import v from"./stringLength";import T from"./uri";import w from"./base64";import y from"./bic";import z from"./color";import A from"./cusip";import E from"./ean";import L from"./ein";import j from"./grid";import q from"./hex";import B from"./iban";import D from"./id/index";import F from"./imei";import G from"./imo";import H from"./isbn";import I from"./isin";import J from"./ismn";import K from"./issn";import M from"./mac";import N from"./meid";import O from"./phone";import P from"./rtn";import Q from"./sedol";import R from"./siren";import S from"./siret";import U from"./step";import V from"./uuid";import W from"./vat/index";import X from"./vin";import Y from"./zipCode";export default{between:r,blank:i,callback:o,choice:m,creditCard:t,date:e,different:p,digits:f,emailAddress:n,file:s,greaterThan:a,identical:d,integer:c,ip:l,lessThan:g,notEmpty:b,numeric:h,promise:u,regexp:x,remote:C,stringCase:k,stringLength:v,uri:T,base64:w,bic:y,color:z,cusip:A,ean:E,ein:L,grid:j,hex:q,iban:B,id:D,imei:F,imo:G,isbn:H,isin:I,ismn:J,issn:K,mac:M,meid:N,phone:O,rtn:P,sedol:Q,siren:R,siret:S,step:U,uuid:V,vat:W,vin:X,zipCode:Y}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/index.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/index.js new file mode 100644 index 0000000..08a0a53 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/index.js @@ -0,0 +1 @@ +import r from"./between";import m from"./blank";import i from"./callback";import o from"./choice";import t from"./creditCard";import e from"./date";import p from"./different";import f from"./digits";import n from"./emailAddress";import a from"./file";import s from"./greaterThan";import d from"./identical";import l from"./integer";import c from"./ip";import g from"./lessThan";import h from"./notEmpty";import b from"./numeric";import u from"./promise";import k from"./regexp";import C from"./remote";import T from"./stringCase";import x from"./stringLength";import w from"./uri";export default{between:r,blank:m,callback:i,choice:o,creditCard:t,date:e,different:p,digits:f,emailAddress:n,file:a,greaterThan:s,identical:d,integer:l,ip:c,lessThan:g,notEmpty:h,numeric:b,promise:u,regexp:k,remote:C,stringCase:T,stringLength:x,uri:w}; \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/integer.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/integer.js new file mode 100644 index 0000000..1547455 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/integer.js @@ -0,0 +1 @@ +export default function a(){return{validate(a){if(a.value===""){return{valid:true}}const e=Object.assign({},{decimalSeparator:".",thousandsSeparator:""},a.options);const t=e.decimalSeparator==="."?"\\.":e.decimalSeparator;const r=e.thousandsSeparator==="."?"\\.":e.thousandsSeparator;const o=new RegExp(`^-?[0-9]{1,3}(${r}[0-9]{3})*(${t}[0-9]+)?$`);const n=new RegExp(r,"g");let s=`${a.value}`;if(!o.test(s)){return{valid:false}}if(r){s=s.replace(n,"")}if(t){s=s.replace(t,".")}const i=parseFloat(s);return{valid:!isNaN(i)&&isFinite(i)&&Math.floor(i)===i}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/ip.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/ip.js new file mode 100644 index 0000000..9ac44d6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/ip.js @@ -0,0 +1 @@ +export default function d(){return{validate(d){if(d.value===""){return{valid:true}}const a=Object.assign({},{ipv4:true,ipv6:true},d.options);const e=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/([0-9]|[1-2][0-9]|3[0-2]))?$/;const s=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/(\d|\d\d|1[0-1]\d|12[0-8]))?$/;switch(true){case a.ipv4&&!a.ipv6:return{message:d.l10n?a.message||d.l10n.ip.ipv4:a.message,valid:e.test(d.value)};case!a.ipv4&&a.ipv6:return{message:d.l10n?a.message||d.l10n.ip.ipv6:a.message,valid:s.test(d.value)};case a.ipv4&&a.ipv6:default:return{message:d.l10n?a.message||d.l10n.ip.default:a.message,valid:e.test(d.value)||s.test(d.value)}}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/isbn.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/isbn.js new file mode 100644 index 0000000..21dcddf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/isbn.js @@ -0,0 +1 @@ +export default function e(){return{validate(e){if(e.value===""){return{meta:{type:null},valid:true}}let t;switch(true){case/^\d{9}[\dX]$/.test(e.value):case e.value.length===13&&/^(\d+)-(\d+)-(\d+)-([\dX])$/.test(e.value):case e.value.length===13&&/^(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(e.value):t="ISBN10";break;case/^(978|979)\d{9}[\dX]$/.test(e.value):case e.value.length===17&&/^(978|979)-(\d+)-(\d+)-(\d+)-([\dX])$/.test(e.value):case e.value.length===17&&/^(978|979)\s(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(e.value):t="ISBN13";break;default:return{meta:{type:null},valid:false}}const a=e.value.replace(/[^0-9X]/gi,"").split("");const l=a.length;let s=0;let d;let u;switch(t){case"ISBN10":s=0;for(d=0;d57?(M-55).toString():S.charAt(T)}let e="";const B=C.length;const E=B%2!==0?0:1;for(T=0;TPromise.resolve({message:e["message"],meta:e,valid:`${e[s.validKey]}`==="true"}))).catch((e=>Promise.reject({valid:false})))}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/rtn.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/rtn.js new file mode 100644 index 0000000..c21f803 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/rtn.js @@ -0,0 +1 @@ +export default function e(){return{validate(e){if(e.value===""){return{valid:true}}if(!/^\d{9}$/.test(e.value)){return{valid:false}}let t=0;for(let a=0;a9){r-=9}}l+=r}return{valid:l%10===0}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/step.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/step.js new file mode 100644 index 0000000..ddf86c9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/step.js @@ -0,0 +1 @@ +import t from"../utils/format";export default function e(){const e=(t,e)=>{const s=Math.pow(10,e);const a=t*s;let n;switch(true){case a===0:n=0;break;case a>0:n=1;break;case a<0:n=-1;break}const r=a%1===.5*n;return r?(Math.floor(a)+(n>0?1:0))/s:Math.round(a)/s};const s=(t,s)=>{if(s===0){return 1}const a=`${t}`.split(".");const n=`${s}`.split(".");const r=(a.length===1?0:a[1].length)+(n.length===1?0:n[1].length);return e(t-s*Math.floor(t/s),r)};return{validate(e){if(e.value===""){return{valid:true}}const a=parseFloat(e.value);if(isNaN(a)||!isFinite(a)){return{valid:false}}const n=Object.assign({},{baseValue:0,message:"",step:1},e.options);const r=s(a-n.baseValue,n.step);return{message:t(e.l10n?n.message||e.l10n.step.default:n.message,`${n.step}`),valid:r===0||r===n.step}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/stringCase.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/stringCase.js new file mode 100644 index 0000000..b9139d0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/stringCase.js @@ -0,0 +1 @@ +export default function e(){return{validate(e){if(e.value===""){return{valid:true}}const a=Object.assign({},{case:"lower"},e.options);const s=(a.case||"lower").toLowerCase();return{message:a.message||(e.l10n?"upper"===s?e.l10n.stringCase.upper:e.l10n.stringCase.default:a.message),valid:"upper"===s?e.value===e.value.toUpperCase():e.value===e.value.toLowerCase()}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/stringLength.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/stringLength.js new file mode 100644 index 0000000..2a8d4e7 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/stringLength.js @@ -0,0 +1 @@ +import e from"../utils/format";export default function t(){const t=e=>{let t=e.length;for(let s=e.length-1;s>=0;s--){const n=e.charCodeAt(s);if(n>127&&n<=2047){t++}else if(n>2047&&n<=65535){t+=2}if(n>=56320&&n<=57343){s--}}return`${t}`};return{validate(s){const n=Object.assign({},{message:"",trim:false,utf8Bytes:false},s.options);const a=n.trim===true||`${n.trim}`==="true"?s.value.trim():s.value;if(a===""){return{valid:true}}const r=n.min?`${n.min}`:"";const l=n.max?`${n.max}`:"";const i=n.utf8Bytes?t(a):a.length;let g=true;let m=s.l10n?n.message||s.l10n.stringLength.default:n.message;if(r&&iparseInt(l,10)){g=false}switch(true){case!!r&&!!l:m=e(s.l10n?n.message||s.l10n.stringLength.between:n.message,[r,l]);break;case!!r:m=e(s.l10n?n.message||s.l10n.stringLength.more:n.message,`${parseInt(r,10)}`);break;case!!l:m=e(s.l10n?n.message||s.l10n.stringLength.less:n.message,`${parseInt(l,10)}`);break;default:break}return{message:m,valid:g}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/uri.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/uri.js new file mode 100644 index 0000000..044348f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/uri.js @@ -0,0 +1 @@ +export default function t(){const t={allowEmptyProtocol:false,allowLocal:false,protocol:"http, https, ftp"};return{validate(o){if(o.value===""){return{valid:true}}const a=Object.assign({},t,o.options);const l=a.allowLocal===true||`${a.allowLocal}`==="true";const f=a.allowEmptyProtocol===true||`${a.allowEmptyProtocol}`==="true";const u=a.protocol.split(",").join("|").replace(/\s/g,"");const e=new RegExp("^"+"(?:(?:"+u+")://)"+(f?"?":"")+"(?:\\S+(?::\\S*)?@)?"+"(?:"+(l?"":"(?!(?:10|127)(?:\\.\\d{1,3}){3})"+"(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})"+"(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})")+"(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])"+"(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}"+"(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))"+"|"+"(?:(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9]+)"+"(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9])*"+"(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))"+(l?"?":"")+")"+"(?::\\d{2,5})?"+"(?:/[^\\s]*)?$","i");return{valid:e.test(o.value)}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/uuid.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/uuid.js new file mode 100644 index 0000000..70d7dfe --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/uuid.js @@ -0,0 +1 @@ +import e from"../utils/format";export default function s(){return{validate(s){if(s.value===""){return{valid:true}}const A=Object.assign({},{message:""},s.options);const i={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};const n=A.version?`${A.version}`:"all";return{message:A.version?e(s.l10n?A.message||s.l10n.uuid.version:A.message,A.version):s.l10n?s.l10n.uuid.default:A.message,valid:null===i[n]?true:i[n].test(s.value)}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/arVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/arVat.js new file mode 100644 index 0000000..0ae82f7 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/arVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t.replace("-","");if(/^AR[0-9]{11}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{11}$/.test(e)){return{meta:{},valid:false}}const r=[5,4,3,2,7,6,5,4,3,2];let a=0;for(let t=0;t<10;t++){a+=parseInt(e.charAt(t),10)*r[t]}a=11-a%11;if(a===11){a=0}return{meta:{},valid:`${a}`===e.substr(10)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/atVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/atVat.js new file mode 100644 index 0000000..7746405 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/atVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^ATU[0-9]{8}$/.test(e)){e=e.substr(2)}if(!/^U[0-9]{8}$/.test(e)){return{meta:{},valid:false}}e=e.substr(1);const r=[1,2,1,2,1,2,1];let s=0;let a=0;for(let t=0;t<7;t++){a=parseInt(e.charAt(t),10)*r[t];if(a>9){a=Math.floor(a/10)+a%10}s+=a}s=10-(s+4)%10;if(s===10){s=0}return{meta:{},valid:`${s}`===e.substr(7,1)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/beVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/beVat.js new file mode 100644 index 0000000..c057e17 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/beVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^BE[0]?[0-9]{9}$/.test(e)){e=e.substr(2)}if(!/^[0]?[0-9]{9}$/.test(e)){return{meta:{},valid:false}}if(e.length===9){e=`0${e}`}if(e.substr(1,1)==="0"){return{meta:{},valid:false}}const s=parseInt(e.substr(0,8),10)+parseInt(e.substr(8,2),10);return{meta:{},valid:s%97===0}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/bgVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/bgVat.js new file mode 100644 index 0000000..7f1b0a6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/bgVat.js @@ -0,0 +1 @@ +import t from"../../utils/isValidDate";export default function r(r){let e=r;if(/^BG[0-9]{9,10}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{9,10}$/.test(e)){return{meta:{},valid:false}}let s=0;let n=0;if(e.length===9){for(n=0;n<8;n++){s+=parseInt(e.charAt(n),10)*(n+1)}s=s%11;if(s===10){s=0;for(n=0;n<8;n++){s+=parseInt(e.charAt(n),10)*(n+3)}s=s%11}s=s%10;return{meta:{},valid:`${s}`===e.substr(8)}}else{const r=r=>{let e=parseInt(r.substr(0,2),10)+1900;let s=parseInt(r.substr(2,2),10);const n=parseInt(r.substr(4,2),10);if(s>40){e+=100;s-=40}else if(s>20){e-=100;s-=20}if(!t(e,s,n)){return false}const a=[2,4,8,5,10,9,7,3,6];let l=0;for(let t=0;t<9;t++){l+=parseInt(r.charAt(t),10)*a[t]}l=l%11%10;return`${l}`===r.substr(9,1)};const s=t=>{const r=[21,19,17,13,11,9,7,3,1];let e=0;for(let s=0;s<9;s++){e+=parseInt(t.charAt(s),10)*r[s]}e=e%10;return`${e}`===t.substr(9,1)};const n=t=>{const r=[4,3,2,7,6,5,4,3,2];let e=0;for(let s=0;s<9;s++){e+=parseInt(t.charAt(s),10)*r[s]}e=11-e%11;if(e===10){return false}if(e===11){e=0}return`${e}`===t.substr(9,1)};return{meta:{},valid:r(e)||s(e)||n(e)}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/brVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/brVat.js new file mode 100644 index 0000000..0fe55e7 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/brVat.js @@ -0,0 +1 @@ +export default function t(t){if(t===""){return{meta:{},valid:true}}const e=t.replace(/[^\d]+/g,"");if(e===""||e.length!==14){return{meta:{},valid:false}}if(e==="00000000000000"||e==="11111111111111"||e==="22222222222222"||e==="33333333333333"||e==="44444444444444"||e==="55555555555555"||e==="66666666666666"||e==="77777777777777"||e==="88888888888888"||e==="99999999999999"){return{meta:{},valid:false}}let r=e.length-2;let a=e.substring(0,r);const l=e.substring(r);let n=0;let i=r-7;let s;for(s=r;s>=1;s--){n+=parseInt(a.charAt(r-s),10)*i--;if(i<2){i=9}}let f=n%11<2?0:11-n%11;if(f!==parseInt(l.charAt(0),10)){return{meta:{},valid:false}}r=r+1;a=e.substring(0,r);n=0;i=r-7;for(s=r;s>=1;s--){n+=parseInt(a.charAt(r-s),10)*i--;if(i<2){i=9}}f=n%11<2?0:11-n%11;return{meta:{},valid:f===parseInt(l.charAt(1),10)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/chVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/chVat.js new file mode 100644 index 0000000..f002200 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/chVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^CHE[0-9]{9}(MWST|TVA|IVA|TPV)?$/.test(e)){e=e.substr(2)}if(!/^E[0-9]{9}(MWST|TVA|IVA|TPV)?$/.test(e)){return{meta:{},valid:false}}e=e.substr(1);const r=[5,4,3,2,7,6,5,4];let s=0;for(let t=0;t<8;t++){s+=parseInt(e.charAt(t),10)*r[t]}s=11-s%11;if(s===10){return{meta:{},valid:false}}if(s===11){s=0}return{meta:{},valid:`${s}`===e.substr(8,1)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/cyVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/cyVat.js new file mode 100644 index 0000000..8dd5bbc --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/cyVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^CY[0-5|9][0-9]{7}[A-Z]$/.test(e)){e=e.substr(2)}if(!/^[0-5|9][0-9]{7}[A-Z]$/.test(e)){return{meta:{},valid:false}}if(e.substr(0,2)==="12"){return{meta:{},valid:false}}let r=0;const s={0:1,1:0,2:5,3:7,4:9,5:13,6:15,7:17,8:19,9:21};for(let t=0;t<8;t++){let a=parseInt(e.charAt(t),10);if(t%2===0){a=s[`${a}`]}r+=a}return{meta:{},valid:`${"ABCDEFGHIJKLMNOPQRSTUVWXYZ"[r%26]}`===e.substr(8,1)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/czVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/czVat.js new file mode 100644 index 0000000..8d787e3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/czVat.js @@ -0,0 +1 @@ +import t from"../../utils/isValidDate";export default function e(e){let r=e;if(/^CZ[0-9]{8,10}$/.test(r)){r=r.substr(2)}if(!/^[0-9]{8,10}$/.test(r)){return{meta:{},valid:false}}let a=0;let s=0;if(r.length===8){if(`${r.charAt(0)}`==="9"){return{meta:{},valid:false}}a=0;for(s=0;s<7;s++){a+=parseInt(r.charAt(s),10)*(8-s)}a=11-a%11;if(a===10){a=0}if(a===11){a=1}return{meta:{},valid:`${a}`===r.substr(7,1)}}else if(r.length===9&&`${r.charAt(0)}`==="6"){a=0;for(s=0;s<7;s++){a+=parseInt(r.charAt(s+1),10)*(8-s)}a=11-a%11;if(a===10){a=0}if(a===11){a=1}a=[8,7,6,5,4,3,2,1,0,9,10][a-1];return{meta:{},valid:`${a}`===r.substr(8,1)}}else if(r.length===9||r.length===10){let e=1900+parseInt(r.substr(0,2),10);const a=parseInt(r.substr(2,2),10)%50%20;const s=parseInt(r.substr(4,2),10);if(r.length===9){if(e>=1980){e-=100}if(e>1953){return{meta:{},valid:false}}}else if(e<1954){e+=100}if(!t(e,a,s)){return{meta:{},valid:false}}if(r.length===10){let t=parseInt(r.substr(0,9),10)%11;if(e<1985){t=t%10}return{meta:{},valid:`${t}`===r.substr(9,1)}}return{meta:{},valid:true}}return{meta:{},valid:false}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/deVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/deVat.js new file mode 100644 index 0000000..fd7d928 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/deVat.js @@ -0,0 +1 @@ +import t from"../../algorithms/mod11And10";export default function e(e){let r=e;if(/^DE[0-9]{9}$/.test(r)){r=r.substr(2)}if(!/^[0-9]{9}$/.test(r)){return{meta:{},valid:false}}return{meta:{},valid:t(r)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/dkVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/dkVat.js new file mode 100644 index 0000000..6c273b3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/dkVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^DK[0-9]{8}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{8}$/.test(e)){return{meta:{},valid:false}}let r=0;const a=[2,7,6,5,4,3,2,1];for(let t=0;t<8;t++){r+=parseInt(e.charAt(t),10)*a[t]}return{meta:{},valid:r%11===0}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/eeVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/eeVat.js new file mode 100644 index 0000000..ef4deba --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/eeVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^EE[0-9]{9}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{9}$/.test(e)){return{meta:{},valid:false}}let r=0;const a=[3,7,1,3,7,1,3,7,1];for(let t=0;t<9;t++){r+=parseInt(e.charAt(t),10)*a[t]}return{meta:{},valid:r%10===0}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/esVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/esVat.js new file mode 100644 index 0000000..1b080fa --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/esVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^ES[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(e)){e=e.substr(2)}if(!/^[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(e)){return{meta:{},valid:false}}const s=t=>{const e=parseInt(t.substr(0,8),10);return`${"TRWAGMYFPDXBNJZSQVHLCKE"[e%23]}`===t.substr(8,1)};const r=t=>{const e=["XYZ".indexOf(t.charAt(0)),t.substr(1)].join("");const s="TRWAGMYFPDXBNJZSQVHLCKE"[parseInt(e,10)%23];return`${s}`===t.substr(8,1)};const n=t=>{const e=t.charAt(0);let s;if("KLM".indexOf(e)!==-1){s=parseInt(t.substr(1,8),10);s="TRWAGMYFPDXBNJZSQVHLCKE"[s%23];return`${s}`===t.substr(8,1)}else if("ABCDEFGHJNPQRSUVW".indexOf(e)!==-1){const e=[2,1,2,1,2,1,2];let s=0;let r=0;for(let n=0;n<7;n++){r=parseInt(t.charAt(n+1),10)*e[n];if(r>9){r=Math.floor(r/10)+r%10}s+=r}s=10-s%10;if(s===10){s=0}return`${s}`===t.substr(8,1)||"JABCDEFGHI"[s]===t.substr(8,1)}return false};const a=e.charAt(0);if(/^[0-9]$/.test(a)){return{meta:{type:"DNI"},valid:s(e)}}else if(/^[XYZ]$/.test(a)){return{meta:{type:"NIE"},valid:r(e)}}else{return{meta:{type:"CIF"},valid:n(e)}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/fiVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/fiVat.js new file mode 100644 index 0000000..0107a39 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/fiVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^FI[0-9]{8}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{8}$/.test(e)){return{meta:{},valid:false}}const r=[7,9,10,5,8,4,2,1];let a=0;for(let t=0;t<8;t++){a+=parseInt(e.charAt(t),10)*r[t]}return{meta:{},valid:a%11===0}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/frVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/frVat.js new file mode 100644 index 0000000..02bc3ed --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/frVat.js @@ -0,0 +1 @@ +import t from"../../algorithms/luhn";export default function e(e){let r=e;if(/^FR[0-9A-Z]{2}[0-9]{9}$/.test(r)){r=r.substr(2)}if(!/^[0-9A-Z]{2}[0-9]{9}$/.test(r)){return{meta:{},valid:false}}if(r.substr(2,4)!=="000"){return{meta:{},valid:t(r.substr(2))}}if(/^[0-9]{2}$/.test(r.substr(0,2))){return{meta:{},valid:r.substr(0,2)===`${parseInt(r.substr(2)+"12",10)%97}`}}else{const t="0123456789ABCDEFGHJKLMNPQRSTUVWXYZ";let e;if(/^[0-9]$/.test(r.charAt(0))){e=t.indexOf(r.charAt(0))*24+t.indexOf(r.charAt(1))-10}else{e=t.indexOf(r.charAt(0))*34+t.indexOf(r.charAt(1))-100}return{meta:{},valid:(parseInt(r.substr(2),10)+1+Math.floor(e/11))%11===e%11}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/gbVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/gbVat.js new file mode 100644 index 0000000..95fbf28 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/gbVat.js @@ -0,0 +1 @@ +export default function t(t){let s=t;if(/^GB[0-9]{9}$/.test(s)||/^GB[0-9]{12}$/.test(s)||/^GBGD[0-9]{3}$/.test(s)||/^GBHA[0-9]{3}$/.test(s)||/^GB(GD|HA)8888[0-9]{5}$/.test(s)){s=s.substr(2)}if(!/^[0-9]{9}$/.test(s)&&!/^[0-9]{12}$/.test(s)&&!/^GD[0-9]{3}$/.test(s)&&!/^HA[0-9]{3}$/.test(s)&&!/^(GD|HA)8888[0-9]{5}$/.test(s)){return{meta:{},valid:false}}const e=s.length;if(e===5){const t=s.substr(0,2);const e=parseInt(s.substr(2),10);return{meta:{},valid:"GD"===t&&e<500||"HA"===t&&e>=500}}else if(e===11&&("GD8888"===s.substr(0,6)||"HA8888"===s.substr(0,6))){if("GD"===s.substr(0,2)&&parseInt(s.substr(6,3),10)>=500||"HA"===s.substr(0,2)&&parseInt(s.substr(6,3),10)<500){return{meta:{},valid:false}}return{meta:{},valid:parseInt(s.substr(6,3),10)%97===parseInt(s.substr(9,2),10)}}else if(e===9||e===12){const t=[8,7,6,5,4,3,2,10,1];let e=0;for(let r=0;r<9;r++){e+=parseInt(s.charAt(r),10)*t[r]}e=e%97;const r=parseInt(s.substr(0,3),10)>=100?e===0||e===42||e===55:e===0;return{meta:{},valid:r}}return{meta:{},valid:true}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/grVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/grVat.js new file mode 100644 index 0000000..203ecfb --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/grVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^(GR|EL)[0-9]{9}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{9}$/.test(e)){return{meta:{},valid:false}}if(e.length===8){e=`0${e}`}const r=[256,128,64,32,16,8,4,2];let s=0;for(let t=0;t<8;t++){s+=parseInt(e.charAt(t),10)*r[t]}s=s%11%10;return{meta:{},valid:`${s}`===e.substr(8,1)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/hrVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/hrVat.js new file mode 100644 index 0000000..5c3f865 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/hrVat.js @@ -0,0 +1 @@ +import t from"../../algorithms/mod11And10";export default function e(e){let r=e;if(/^HR[0-9]{11}$/.test(r)){r=r.substr(2)}if(!/^[0-9]{11}$/.test(r)){return{meta:{},valid:false}}return{meta:{},valid:t(r)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/huVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/huVat.js new file mode 100644 index 0000000..8f69ebe --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/huVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^HU[0-9]{8}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{8}$/.test(e)){return{meta:{},valid:false}}const r=[9,7,3,1,9,7,3,1];let a=0;for(let t=0;t<8;t++){a+=parseInt(e.charAt(t),10)*r[t]}return{meta:{},valid:a%10===0}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/ieVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/ieVat.js new file mode 100644 index 0000000..782454e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/ieVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^IE[0-9][0-9A-Z*+][0-9]{5}[A-Z]{1,2}$/.test(e)){e=e.substr(2)}if(!/^[0-9][0-9A-Z*+][0-9]{5}[A-Z]{1,2}$/.test(e)){return{meta:{},valid:false}}const r=t=>{let e=t;while(e.length<7){e=`0${e}`}const r="WABCDEFGHIJKLMNOPQRSTUV";let s=0;for(let t=0;t<7;t++){s+=parseInt(e.charAt(t),10)*(8-t)}s+=9*r.indexOf(e.substr(7));return r[s%23]};if(/^[0-9]+$/.test(e.substr(0,7))){return{meta:{},valid:e.charAt(7)===r(`${e.substr(0,7)}${e.substr(8)}`)}}else if("ABCDEFGHIJKLMNOPQRSTUVWXYZ+*".indexOf(e.charAt(1))!==-1){return{meta:{},valid:e.charAt(7)===r(`${e.substr(2,5)}${e.substr(0,1)}`)}}return{meta:{},valid:true}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/index.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/index.js new file mode 100644 index 0000000..2d0a336 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/index.js @@ -0,0 +1 @@ +import r from"../../utils/format";import a from"./arVat";import e from"./atVat";import t from"./beVat";import o from"./bgVat";import m from"./brVat";import s from"./chVat";import i from"./cyVat";import c from"./czVat";import f from"./deVat";import b from"./dkVat";import p from"./eeVat";import k from"./esVat";import V from"./fiVat";import n from"./frVat";import l from"./gbVat";import u from"./grVat";import v from"./hrVat";import g from"./huVat";import d from"./ieVat";import E from"./isVat";import h from"./itVat";import R from"./ltVat";import y from"./luVat";import L from"./lvVat";import C from"./mtVat";import S from"./nlVat";import I from"./noVat";import O from"./plVat";import T from"./ptVat";import U from"./roVat";import z from"./rsVat";import B from"./ruVat";import A from"./seVat";import G from"./siVat";import H from"./skVat";import j from"./veVat";import w from"./zaVat";export default function x(){const x=["AR","AT","BE","BG","BR","CH","CY","CZ","DE","DK","EE","EL","ES","FI","FR","GB","GR","HR","HU","IE","IS","IT","LT","LU","LV","MT","NL","NO","PL","PT","RO","RU","RS","SE","SK","SI","VE","ZA"];return{validate(D){const F=D.value;if(F===""){return{valid:true}}const K=Object.assign({},{message:""},D.options);let N=F.substr(0,2);if("function"===typeof K.country){N=K.country.call(this)}else{N=K.country}if(x.indexOf(N)===-1){return{valid:true}}let P={meta:{},valid:true};switch(N.toLowerCase()){case"ar":P=a(F);break;case"at":P=e(F);break;case"be":P=t(F);break;case"bg":P=o(F);break;case"br":P=m(F);break;case"ch":P=s(F);break;case"cy":P=i(F);break;case"cz":P=c(F);break;case"de":P=f(F);break;case"dk":P=b(F);break;case"ee":P=p(F);break;case"el":P=u(F);break;case"es":P=k(F);break;case"fi":P=V(F);break;case"fr":P=n(F);break;case"gb":P=l(F);break;case"gr":P=u(F);break;case"hr":P=v(F);break;case"hu":P=g(F);break;case"ie":P=d(F);break;case"is":P=E(F);break;case"it":P=h(F);break;case"lt":P=R(F);break;case"lu":P=y(F);break;case"lv":P=L(F);break;case"mt":P=C(F);break;case"nl":P=S(F);break;case"no":P=I(F);break;case"pl":P=O(F);break;case"pt":P=T(F);break;case"ro":P=U(F);break;case"rs":P=z(F);break;case"ru":P=B(F);break;case"se":P=A(F);break;case"si":P=G(F);break;case"sk":P=H(F);break;case"ve":P=j(F);break;case"za":P=w(F);break;default:break}const Z=r(D.l10n&&D.l10n.vat?K.message||D.l10n.vat.country:K.message,D.l10n&&D.l10n.vat&&D.l10n.vat.countries?D.l10n.vat.countries[N.toUpperCase()]:N.toUpperCase());return Object.assign({},{message:Z},P)}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/isVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/isVat.js new file mode 100644 index 0000000..63da534 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/isVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^IS[0-9]{5,6}$/.test(e)){e=e.substr(2)}return{meta:{},valid:/^[0-9]{5,6}$/.test(e)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/itVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/itVat.js new file mode 100644 index 0000000..7c431ec --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/itVat.js @@ -0,0 +1 @@ +import t from"../../algorithms/luhn";export default function e(e){let r=e;if(/^IT[0-9]{11}$/.test(r)){r=r.substr(2)}if(!/^[0-9]{11}$/.test(r)){return{meta:{},valid:false}}if(parseInt(r.substr(0,7),10)===0){return{meta:{},valid:false}}const a=parseInt(r.substr(7,3),10);if(a<1||a>201&&a!==999&&a!==888){return{meta:{},valid:false}}return{meta:{},valid:t(r)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/ltVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/ltVat.js new file mode 100644 index 0000000..cfa6603 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/ltVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^LT([0-9]{7}1[0-9]|[0-9]{10}1[0-9])$/.test(e)){e=e.substr(2)}if(!/^([0-9]{7}1[0-9]|[0-9]{10}1[0-9])$/.test(e)){return{meta:{},valid:false}}const r=e.length;let a=0;let l;for(l=0;l3){n=0;l=[9,1,4,8,3,10,2,5,7,6,1];for(i=0;i9){s=0}return{meta:{},valid:`${s}`===e.substr(8,1)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/roVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/roVat.js new file mode 100644 index 0000000..564258d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/roVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^RO[1-9][0-9]{1,9}$/.test(e)){e=e.substr(2)}if(!/^[1-9][0-9]{1,9}$/.test(e)){return{meta:{},valid:false}}const s=e.length;const r=[7,5,3,2,1,7,5,3,2].slice(10-s);let l=0;for(let t=0;t9){s=s%10}return{meta:{},valid:`${s}`===e.substr(9,1)}}else if(e.length===12){const t=[7,2,4,10,3,5,9,4,6,8,0];const s=[3,7,2,4,10,3,5,9,4,6,8,0];let a=0;let l=0;for(r=0;r<11;r++){a+=parseInt(e.charAt(r),10)*t[r];l+=parseInt(e.charAt(r),10)*s[r]}a=a%11;if(a>9){a=a%10}l=l%11;if(l>9){l=l%10}return{meta:{},valid:`${a}`===e.substr(10,1)&&`${l}`===e.substr(11,1)}}return{meta:{},valid:true}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/seVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/seVat.js new file mode 100644 index 0000000..54aa1b0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/seVat.js @@ -0,0 +1 @@ +import t from"../../algorithms/luhn";export default function e(e){let r=e;if(/^SE[0-9]{10}01$/.test(r)){r=r.substr(2)}if(!/^[0-9]{10}01$/.test(r)){return{meta:{},valid:false}}r=r.substr(0,10);return{meta:{},valid:t(r)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/siVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/siVat.js new file mode 100644 index 0000000..4f9c572 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/siVat.js @@ -0,0 +1 @@ +export default function t(t){const e=t.match(/^(SI)?([1-9][0-9]{7})$/);if(!e){return{meta:{},valid:false}}const r=e[1]?t.substr(2):t;const a=[8,7,6,5,4,3,2];let s=0;for(let t=0;t<7;t++){s+=parseInt(r.charAt(t),10)*a[t]}s=11-s%11;if(s===10){s=0}return{meta:{},valid:`${s}`===r.substr(7,1)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/skVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/skVat.js new file mode 100644 index 0000000..08865b9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/skVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^SK[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(e)){e=e.substr(2)}if(!/^[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(e)){return{meta:{},valid:false}}return{meta:{},valid:parseInt(e,10)%11===0}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/veVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/veVat.js new file mode 100644 index 0000000..3ddcd52 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/veVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^VE[VEJPG][0-9]{9}$/.test(e)){e=e.substr(2)}if(!/^[VEJPG][0-9]{9}$/.test(e)){return{meta:{},valid:false}}const r={E:8,G:20,J:12,P:16,V:4};const s=[3,2,7,6,5,4,3,2];let a=r[e.charAt(0)];for(let t=0;t<8;t++){a+=parseInt(e.charAt(t+1),10)*s[t]}a=11-a%11;if(a===11||a===10){a=0}return{meta:{},valid:`${a}`===e.substr(9,1)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/zaVat.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/zaVat.js new file mode 100644 index 0000000..4a1a9da --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vat/zaVat.js @@ -0,0 +1 @@ +export default function t(t){let e=t;if(/^ZA4[0-9]{9}$/.test(e)){e=e.substr(2)}return{meta:{},valid:/^4[0-9]{9}$/.test(e)}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/es6/validators/vin.js b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vin.js new file mode 100644 index 0000000..b1aa7a1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/es6/validators/vin.js @@ -0,0 +1 @@ +export default function t(){return{validate(t){if(t.value===""){return{valid:true}}if(!/^[a-hj-npr-z0-9]{8}[0-9xX][a-hj-npr-z0-9]{8}$/i.test(t.value)){return{valid:false}}const e=t.value.toUpperCase();const r={A:1,B:2,C:3,D:4,E:5,F:6,G:7,H:8,J:1,K:2,L:3,M:4,N:5,P:7,R:9,S:2,T:3,U:4,V:5,W:6,X:7,Y:8,Z:9,0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};const a=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2];const l=e.length;let n=0;for(let t=0;t{const s="[ABCDEFGHIJKLMNOPRSTUWYZ]";const a="[ABCDEFGHKLMNOPQRSTUVWXY]";const t="[ABCDEFGHJKPMNRSTUVWXY]";const r="[ABEHMNPRVWXY]";const u="[ABDEFGHJLNPQRSTUWXYZ]";const c=[new RegExp(`^(${s}{1}${a}?[0-9]{1,2})(\\s*)([0-9]{1}${u}{2})$`,"i"),new RegExp(`^(${s}{1}[0-9]{1}${t}{1})(\\s*)([0-9]{1}${u}{2})$`,"i"),new RegExp(`^(${s}{1}${a}{1}?[0-9]{1}${r}{1})(\\s*)([0-9]{1}${u}{2})$`,"i"),new RegExp("^(BF1)(\\s*)([0-6]{1}[ABDEFGHJLNPQRST]{1}[ABDEFGHJLNPQRSTUWZYZ]{1})$","i"),/^(GIR)(\s*)(0AA)$/i,/^(BFPO)(\s*)([0-9]{1,4})$/i,/^(BFPO)(\s*)(c\/o\s*[0-9]{1,3})$/i,/^([A-Z]{4})(\s*)(1ZZ)$/i,/^(AI-2640)$/i];for(const s of c){if(s.test(e)){return true}}return false};return{validate(t){const r=Object.assign({},{message:""},t.options);if(t.value===""||!r.country){return{valid:true}}let u=t.value.substr(0,2);if("function"===typeof r.country){u=r.country.call(this)}else{u=r.country}if(!u||s.indexOf(u.toUpperCase())===-1){return{valid:true}}let c=false;u=u.toUpperCase();switch(u){case"AT":c=/^([1-9]{1})(\d{3})$/.test(t.value);break;case"BG":c=/^([1-9]{1}[0-9]{3})$/.test(t.value);break;case"BR":c=/^(\d{2})([.]?)(\d{3})([-]?)(\d{3})$/.test(t.value);break;case"CA":c=/^(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|X|Y){1}[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}\s?[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}[0-9]{1}$/i.test(t.value);break;case"CH":c=/^([1-9]{1})(\d{3})$/.test(t.value);break;case"CZ":c=/^(\d{3})([ ]?)(\d{2})$/.test(t.value);break;case"DE":c=/^(?!01000|99999)(0[1-9]\d{3}|[1-9]\d{4})$/.test(t.value);break;case"DK":c=/^(DK(-|\s)?)?\d{4}$/i.test(t.value);break;case"ES":c=/^(?:0[1-9]|[1-4][0-9]|5[0-2])\d{3}$/.test(t.value);break;case"FR":c=/^[0-9]{5}$/i.test(t.value);break;case"GB":c=a(t.value);break;case"IN":c=/^\d{3}\s?\d{3}$/.test(t.value);break;case"IE":c=/^(D6W|[ACDEFHKNPRTVWXY]\d{2})\s[0-9ACDEFHKNPRTVWXY]{4}$/.test(t.value);break;case"IT":c=/^(I-|IT-)?\d{5}$/i.test(t.value);break;case"MA":c=/^[1-9][0-9]{4}$/i.test(t.value);break;case"NL":c=/^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i.test(t.value);break;case"PL":c=/^[0-9]{2}-[0-9]{3}$/.test(t.value);break;case"PT":c=/^[1-9]\d{3}-\d{3}$/.test(t.value);break;case"RO":c=/^(0[1-8]{1}|[1-9]{1}[0-5]{1})?[0-9]{4}$/i.test(t.value);break;case"RU":c=/^[0-9]{6}$/i.test(t.value);break;case"SE":c=/^(S-)?\d{3}\s?\d{2}$/i.test(t.value);break;case"SG":c=/^([0][1-9]|[1-6][0-9]|[7]([0-3]|[5-9])|[8][0-2])(\d{4})$/i.test(t.value);break;case"SK":c=/^(\d{3})([ ]?)(\d{2})$/.test(t.value);break;case"US":default:c=/^\d{4,5}([-]?\d{4})?$/.test(t.value);break}return{message:e(t.l10n&&t.l10n.zipCode?r.message||t.l10n.zipCode.country:r.message,t.l10n&&t.l10n.zipCode&&t.l10n.zipCode.countries?t.l10n.zipCode.countries[u]:u),valid:c}}}} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.full.js b/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.full.js new file mode 100644 index 0000000..7d6d30c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.full.js @@ -0,0 +1,9344 @@ +/** + * FormValidation (https://formvalidation.io), v1.9.0 (cbf8fab) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : + typeof define === 'function' && define.amd ? define(['exports'], factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.FormValidation = {})); +})(this, (function (exports) { 'use strict'; + + function t$14(t) { + var e = t.length; + var l = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [0, 2, 4, 6, 8, 1, 3, 5, 7, 9]]; + var n = 0; + var r = 0; + + while (e--) { + r += l[n][parseInt(t.charAt(e), 10)]; + n = 1 - n; + } + + return r % 10 === 0 && r > 0; + } + + function t$13(t) { + var e = t.length; + var n = 5; + + for (var r = 0; r < e; r++) { + n = ((n || 10) * 2 % 11 + parseInt(t.charAt(r), 10)) % 10; + } + + return n === 1; + } + + function t$12(t) { + var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + var n = t.length; + var o = e.length; + var l = Math.floor(o / 2); + + for (var r = 0; r < n; r++) { + l = ((l || o) * 2 % (o + 1) + e.indexOf(t.charAt(r))) % o; + } + + return l === 1; + } + + function t$11(t) { + var e = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 0, 6, 7, 8, 9, 5], [2, 3, 4, 0, 1, 7, 8, 9, 5, 6], [3, 4, 0, 1, 2, 8, 9, 5, 6, 7], [4, 0, 1, 2, 3, 9, 5, 6, 7, 8], [5, 9, 8, 7, 6, 0, 4, 3, 2, 1], [6, 5, 9, 8, 7, 1, 0, 4, 3, 2], [7, 6, 5, 9, 8, 2, 1, 0, 4, 3], [8, 7, 6, 5, 9, 3, 2, 1, 0, 4], [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]]; + var n = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 5, 7, 6, 2, 8, 3, 0, 9, 4], [5, 8, 0, 3, 7, 9, 6, 1, 4, 2], [8, 9, 1, 6, 0, 4, 3, 5, 2, 7], [9, 4, 5, 3, 1, 2, 6, 8, 7, 0], [4, 2, 8, 6, 5, 7, 3, 9, 0, 1], [2, 7, 9, 3, 8, 0, 6, 4, 1, 5], [7, 0, 4, 6, 9, 1, 3, 2, 5, 8]]; + var o = t.reverse(); + var r = 0; + + for (var _t = 0; _t < o.length; _t++) { + r = e[r][n[_t % 8][o[_t]]]; + } + + return r === 0; + } + + var index$3 = { + luhn: t$14, + mod11And10: t$13, + mod37And36: t$12, + verhoeff: t$11 + }; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + } + + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + + return arr2; + } + + function _createForOfIteratorHelper(o, allowArrayLike) { + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; + + if (!it) { + if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (it) o = it; + var i = 0; + + var F = function () {}; + + return { + s: F, + n: function () { + if (i >= o.length) return { + done: true + }; + return { + done: false, + value: o[i++] + }; + }, + e: function (e) { + throw e; + }, + f: F + }; + } + + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + var normalCompletion = true, + didErr = false, + err; + return { + s: function () { + it = it.call(o); + }, + n: function () { + var step = it.next(); + normalCompletion = step.done; + return step; + }, + e: function (e) { + didErr = true; + err = e; + }, + f: function () { + try { + if (!normalCompletion && it.return != null) it.return(); + } finally { + if (didErr) throw err; + } + } + }; + } + + function s$a() { + return { + fns: {}, + clear: function clear() { + this.fns = {}; + }, + emit: function emit(s) { + for (var _len = arguments.length, f = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + f[_key - 1] = arguments[_key]; + } + + (this.fns[s] || []).map(function (s) { + return s.apply(s, f); + }); + }, + off: function off(s, f) { + if (this.fns[s]) { + var n = this.fns[s].indexOf(f); + + if (n >= 0) { + this.fns[s].splice(n, 1); + } + } + }, + on: function on(s, f) { + (this.fns[s] = this.fns[s] || []).push(f); + } + }; + } + + function t$10() { + return { + filters: {}, + add: function add(t, e) { + (this.filters[t] = this.filters[t] || []).push(e); + }, + clear: function clear() { + this.filters = {}; + }, + execute: function execute(t, e, i) { + if (!this.filters[t] || !this.filters[t].length) { + return e; + } + + var s = e; + var r = this.filters[t]; + var l = r.length; + + for (var _t = 0; _t < l; _t++) { + s = r[_t].apply(s, i); + } + + return s; + }, + remove: function remove(t, e) { + if (this.filters[t]) { + this.filters[t] = this.filters[t].filter(function (t) { + return t !== e; + }); + } + } + }; + } + + function e$H(e, t, r, n) { + var o = (r.getAttribute("type") || "").toLowerCase(); + var c = r.tagName.toLowerCase(); + + if (c === "textarea") { + return r.value; + } + + if (c === "select") { + var _e = r; + var _t = _e.selectedIndex; + return _t >= 0 ? _e.options.item(_t).value : ""; + } + + if (c === "input") { + if ("radio" === o || "checkbox" === o) { + var _e2 = n.filter(function (e) { + return e.checked; + }).length; + return _e2 === 0 ? "" : _e2 + ""; + } else { + return r.value; + } + } + + return ""; + } + + function r$d(r, e) { + var t = Array.isArray(e) ? e : [e]; + var a = r; + t.forEach(function (r) { + a = a.replace("%s", r); + }); + return a; + } + + function s$9() { + var s = function s(e) { + return parseFloat("".concat(e).replace(",", ".")); + }; + + return { + validate: function validate(a) { + var t = a.value; + + if (t === "") { + return { + valid: true + }; + } + + var n = Object.assign({}, { + inclusive: true, + message: "" + }, a.options); + var l = s(n.min); + var o = s(n.max); + return n.inclusive ? { + message: r$d(a.l10n ? n.message || a.l10n.between["default"] : n.message, ["".concat(l), "".concat(o)]), + valid: parseFloat(t) >= l && parseFloat(t) <= o + } : { + message: r$d(a.l10n ? n.message || a.l10n.between.notInclusive : n.message, ["".concat(l), "".concat(o)]), + valid: parseFloat(t) > l && parseFloat(t) < o + }; + } + }; + } + + function t$$() { + return { + validate: function validate(t) { + return { + valid: true + }; + } + }; + } + + function t$_(t, n) { + if ("function" === typeof t) { + return t.apply(this, n); + } else if ("string" === typeof t) { + var e = t; + + if ("()" === e.substring(e.length - 2)) { + e = e.substring(0, e.length - 2); + } + + var i = e.split("."); + var o = i.pop(); + var f = window; + + var _iterator = _createForOfIteratorHelper(i), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _t = _step.value; + f = f[_t]; + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + return typeof f[o] === "undefined" ? null : f[o].apply(this, n); + } + } + + function o$4() { + return { + validate: function validate(o) { + var l = t$_(o.options.callback, [o]); + return "boolean" === typeof l ? { + valid: l + } : l; + } + }; + } + + function t$Z() { + return { + validate: function validate(t) { + var o = "select" === t.element.tagName.toLowerCase() ? t.element.querySelectorAll("option:checked").length : t.elements.filter(function (e) { + return e.checked; + }).length; + var s = t.options.min ? "".concat(t.options.min) : ""; + var n = t.options.max ? "".concat(t.options.max) : ""; + var a = t.l10n ? t.options.message || t.l10n.choice["default"] : t.options.message; + var l = !(s && o < parseInt(s, 10) || n && o > parseInt(n, 10)); + + switch (true) { + case !!s && !!n: + a = r$d(t.l10n ? t.l10n.choice.between : t.options.message, [s, n]); + break; + + case !!s: + a = r$d(t.l10n ? t.l10n.choice.more : t.options.message, s); + break; + + case !!n: + a = r$d(t.l10n ? t.l10n.choice.less : t.options.message, n); + break; + } + + return { + message: a, + valid: l + }; + } + }; + } + + var t$Y = { + AMERICAN_EXPRESS: { + length: [15], + prefix: ["34", "37"] + }, + DANKORT: { + length: [16], + prefix: ["5019"] + }, + DINERS_CLUB: { + length: [14], + prefix: ["300", "301", "302", "303", "304", "305", "36"] + }, + DINERS_CLUB_US: { + length: [16], + prefix: ["54", "55"] + }, + DISCOVER: { + length: [16], + prefix: ["6011", "622126", "622127", "622128", "622129", "62213", "62214", "62215", "62216", "62217", "62218", "62219", "6222", "6223", "6224", "6225", "6226", "6227", "6228", "62290", "62291", "622920", "622921", "622922", "622923", "622924", "622925", "644", "645", "646", "647", "648", "649", "65"] + }, + ELO: { + length: [16], + prefix: ["4011", "4312", "4389", "4514", "4573", "4576", "5041", "5066", "5067", "509", "6277", "6362", "6363", "650", "6516", "6550"] + }, + FORBRUGSFORENINGEN: { + length: [16], + prefix: ["600722"] + }, + JCB: { + length: [16], + prefix: ["3528", "3529", "353", "354", "355", "356", "357", "358"] + }, + LASER: { + length: [16, 17, 18, 19], + prefix: ["6304", "6706", "6771", "6709"] + }, + MAESTRO: { + length: [12, 13, 14, 15, 16, 17, 18, 19], + prefix: ["5018", "5020", "5038", "5868", "6304", "6759", "6761", "6762", "6763", "6764", "6765", "6766"] + }, + MASTERCARD: { + length: [16], + prefix: ["51", "52", "53", "54", "55"] + }, + SOLO: { + length: [16, 18, 19], + prefix: ["6334", "6767"] + }, + UNIONPAY: { + length: [16, 17, 18, 19], + prefix: ["622126", "622127", "622128", "622129", "62213", "62214", "62215", "62216", "62217", "62218", "62219", "6222", "6223", "6224", "6225", "6226", "6227", "6228", "62290", "62291", "622920", "622921", "622922", "622923", "622924", "622925"] + }, + VISA: { + length: [16], + prefix: ["4"] + }, + VISA_ELECTRON: { + length: [16], + prefix: ["4026", "417500", "4405", "4508", "4844", "4913", "4917"] + } + }; + function l$2() { + return { + validate: function validate(l) { + if (l.value === "") { + return { + meta: { + type: null + }, + valid: true + }; + } + + if (/[^0-9-\s]+/.test(l.value)) { + return { + meta: { + type: null + }, + valid: false + }; + } + + var r = l.value.replace(/\D/g, ""); + + if (!t$14(r)) { + return { + meta: { + type: null + }, + valid: false + }; + } + + for (var _i = 0, _Object$keys = Object.keys(t$Y); _i < _Object$keys.length; _i++) { + var _e = _Object$keys[_i]; + + for (var n in t$Y[_e].prefix) { + if (l.value.substr(0, t$Y[_e].prefix[n].length) === t$Y[_e].prefix[n] && t$Y[_e].length.indexOf(r.length) !== -1) { + return { + meta: { + type: _e + }, + valid: true + }; + } + } + } + + return { + meta: { + type: null + }, + valid: false + }; + } + }; + } + + function t$X(t, e, n, r) { + if (isNaN(t) || isNaN(e) || isNaN(n)) { + return false; + } + + if (t < 1e3 || t > 9999 || e <= 0 || e > 12) { + return false; + } + + var s = [31, t % 400 === 0 || t % 100 !== 0 && t % 4 === 0 ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; + + if (n <= 0 || n > s[e - 1]) { + return false; + } + + if (r === true) { + var _r = new Date(); + + var _s = _r.getFullYear(); + + var a = _r.getMonth(); + + var u = _r.getDate(); + + return t < _s || t === _s && e - 1 < a || t === _s && e - 1 === a && n < u; + } + + return true; + } + + function n$1() { + var n = function n(t, e, _n) { + var s = e.indexOf("YYYY"); + var a = e.indexOf("MM"); + var l = e.indexOf("DD"); + + if (s === -1 || a === -1 || l === -1) { + return null; + } + + var o = t.split(" "); + var r = o[0].split(_n); + + if (r.length < 3) { + return null; + } + + var c = new Date(parseInt(r[s], 10), parseInt(r[a], 10) - 1, parseInt(r[l], 10)); + + if (o.length > 1) { + var _t = o[1].split(":"); + + c.setHours(_t.length > 0 ? parseInt(_t[0], 10) : 0); + c.setMinutes(_t.length > 1 ? parseInt(_t[1], 10) : 0); + c.setSeconds(_t.length > 2 ? parseInt(_t[2], 10) : 0); + } + + return c; + }; + + var s = function s(t, e) { + var n = e.replace(/Y/g, "y").replace(/M/g, "m").replace(/D/g, "d").replace(/:m/g, ":M").replace(/:mm/g, ":MM").replace(/:S/, ":s").replace(/:SS/, ":ss"); + var s = t.getDate(); + var a = s < 10 ? "0".concat(s) : s; + var l = t.getMonth() + 1; + var o = l < 10 ? "0".concat(l) : l; + var r = "".concat(t.getFullYear()).substr(2); + var c = t.getFullYear(); + var i = t.getHours() % 12 || 12; + var g = i < 10 ? "0".concat(i) : i; + var u = t.getHours(); + var m = u < 10 ? "0".concat(u) : u; + var d = t.getMinutes(); + var f = d < 10 ? "0".concat(d) : d; + var p = t.getSeconds(); + var h = p < 10 ? "0".concat(p) : p; + var $ = { + H: "".concat(u), + HH: "".concat(m), + M: "".concat(d), + MM: "".concat(f), + d: "".concat(s), + dd: "".concat(a), + h: "".concat(i), + hh: "".concat(g), + m: "".concat(l), + mm: "".concat(o), + s: "".concat(p), + ss: "".concat(h), + yy: "".concat(r), + yyyy: "".concat(c) + }; + return n.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMs])\1?|"[^"]*"|'[^']*'/g, function (t) { + return $[t] ? $[t] : t.slice(1, t.length - 1); + }); + }; + + return { + validate: function validate(a) { + if (a.value === "") { + return { + meta: { + date: null + }, + valid: true + }; + } + + var l = Object.assign({}, { + format: a.element && a.element.getAttribute("type") === "date" ? "YYYY-MM-DD" : "MM/DD/YYYY", + message: "" + }, a.options); + var o = a.l10n ? a.l10n.date["default"] : l.message; + var r = { + message: "".concat(o), + meta: { + date: null + }, + valid: false + }; + var c = l.format.split(" "); + var i = c.length > 1 ? c[1] : null; + var g = c.length > 2 ? c[2] : null; + var u = a.value.split(" "); + var m = u[0]; + var d = u.length > 1 ? u[1] : null; + + if (c.length !== u.length) { + return r; + } + + var f = l.separator || (m.indexOf("/") !== -1 ? "/" : m.indexOf("-") !== -1 ? "-" : m.indexOf(".") !== -1 ? "." : "/"); + + if (f === null || m.indexOf(f) === -1) { + return r; + } + + var p = m.split(f); + var h = c[0].split(f); + + if (p.length !== h.length) { + return r; + } + + var $ = p[h.indexOf("YYYY")]; + var M = p[h.indexOf("MM")]; + var Y = p[h.indexOf("DD")]; + + if (!/^\d+$/.test($) || !/^\d+$/.test(M) || !/^\d+$/.test(Y) || $.length > 4 || M.length > 2 || Y.length > 2) { + return r; + } + + var D = parseInt($, 10); + var x = parseInt(M, 10); + var y = parseInt(Y, 10); + + if (!t$X(D, x, y)) { + return r; + } + + var I = new Date(D, x - 1, y); + + if (i) { + var _t2 = d.split(":"); + + if (i.split(":").length !== _t2.length) { + return r; + } + + var _e = _t2.length > 0 ? _t2[0].length <= 2 && /^\d+$/.test(_t2[0]) ? parseInt(_t2[0], 10) : -1 : 0; + + var _n2 = _t2.length > 1 ? _t2[1].length <= 2 && /^\d+$/.test(_t2[1]) ? parseInt(_t2[1], 10) : -1 : 0; + + var _s = _t2.length > 2 ? _t2[2].length <= 2 && /^\d+$/.test(_t2[2]) ? parseInt(_t2[2], 10) : -1 : 0; + + if (_e === -1 || _n2 === -1 || _s === -1) { + return r; + } + + if (_s < 0 || _s > 60) { + return r; + } + + if (_e < 0 || _e >= 24 || g && _e > 12) { + return r; + } + + if (_n2 < 0 || _n2 > 59) { + return r; + } + + I.setHours(_e); + I.setMinutes(_n2); + I.setSeconds(_s); + } + + var O = typeof l.min === "function" ? l.min() : l.min; + var v = O instanceof Date ? O : O ? n(O, h, f) : I; + var H = typeof l.max === "function" ? l.max() : l.max; + var T = H instanceof Date ? H : H ? n(H, h, f) : I; + var S = O instanceof Date ? s(v, l.format) : O; + var b = H instanceof Date ? s(T, l.format) : H; + + switch (true) { + case !!S && !b: + return { + message: r$d(a.l10n ? a.l10n.date.min : o, S), + meta: { + date: I + }, + valid: I.getTime() >= v.getTime() + }; + + case !!b && !S: + return { + message: r$d(a.l10n ? a.l10n.date.max : o, b), + meta: { + date: I + }, + valid: I.getTime() <= T.getTime() + }; + + case !!b && !!S: + return { + message: r$d(a.l10n ? a.l10n.date.range : o, [S, b]), + meta: { + date: I + }, + valid: I.getTime() <= T.getTime() && I.getTime() >= v.getTime() + }; + + default: + return { + message: "".concat(o), + meta: { + date: I + }, + valid: true + }; + } + } + }; + } + + function o$3() { + return { + validate: function validate(o) { + var t = "function" === typeof o.options.compare ? o.options.compare.call(this) : o.options.compare; + return { + valid: t === "" || o.value !== t + }; + } + }; + } + + function e$G() { + return { + validate: function validate(e) { + return { + valid: e.value === "" || /^\d+$/.test(e.value) + }; + } + }; + } + + function t$W() { + var t = function t(_t3, e) { + var s = _t3.split(/"/); + + var l = s.length; + var n = []; + var r = ""; + + for (var _t = 0; _t < l; _t++) { + if (_t % 2 === 0) { + var _l = s[_t].split(e); + + var a = _l.length; + + if (a === 1) { + r += _l[0]; + } else { + n.push(r + _l[0]); + + for (var _t2 = 1; _t2 < a - 1; _t2++) { + n.push(_l[_t2]); + } + + r = _l[a - 1]; + } + } else { + r += '"' + s[_t]; + + if (_t < l - 1) { + r += '"'; + } + } + } + + n.push(r); + return n; + }; + + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + var s = Object.assign({}, { + multiple: false, + separator: /[,;]/ + }, e.options); + var l = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/; + var n = s.multiple === true || "".concat(s.multiple) === "true"; + + if (n) { + var _n = s.separator || /[,;]/; + + var r = t(e.value, _n); + var a = r.length; + + for (var _t4 = 0; _t4 < a; _t4++) { + if (!l.test(r[_t4])) { + return { + valid: false + }; + } + } + + return { + valid: true + }; + } else { + return { + valid: l.test(e.value) + }; + } + } + }; + } + + function e$F() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + var t; + var i = e.options.extension ? e.options.extension.toLowerCase().split(",") : null; + var s = e.options.type ? e.options.type.toLowerCase().split(",") : null; + var n = window["File"] && window["FileList"] && window["FileReader"]; + + if (n) { + var _n = e.element.files; + var o = _n.length; + var a = 0; + + if (e.options.maxFiles && o > parseInt("".concat(e.options.maxFiles), 10)) { + return { + meta: { + error: "INVALID_MAX_FILES" + }, + valid: false + }; + } + + if (e.options.minFiles && o < parseInt("".concat(e.options.minFiles), 10)) { + return { + meta: { + error: "INVALID_MIN_FILES" + }, + valid: false + }; + } + + var r = {}; + + for (var l = 0; l < o; l++) { + a += _n[l].size; + t = _n[l].name.substr(_n[l].name.lastIndexOf(".") + 1); + r = { + ext: t, + file: _n[l], + size: _n[l].size, + type: _n[l].type + }; + + if (e.options.minSize && _n[l].size < parseInt("".concat(e.options.minSize), 10)) { + return { + meta: Object.assign({}, { + error: "INVALID_MIN_SIZE" + }, r), + valid: false + }; + } + + if (e.options.maxSize && _n[l].size > parseInt("".concat(e.options.maxSize), 10)) { + return { + meta: Object.assign({}, { + error: "INVALID_MAX_SIZE" + }, r), + valid: false + }; + } + + if (i && i.indexOf(t.toLowerCase()) === -1) { + return { + meta: Object.assign({}, { + error: "INVALID_EXTENSION" + }, r), + valid: false + }; + } + + if (_n[l].type && s && s.indexOf(_n[l].type.toLowerCase()) === -1) { + return { + meta: Object.assign({}, { + error: "INVALID_TYPE" + }, r), + valid: false + }; + } + } + + if (e.options.maxTotalSize && a > parseInt("".concat(e.options.maxTotalSize), 10)) { + return { + meta: Object.assign({}, { + error: "INVALID_MAX_TOTAL_SIZE", + totalSize: a + }, r), + valid: false + }; + } + + if (e.options.minTotalSize && a < parseInt("".concat(e.options.minTotalSize), 10)) { + return { + meta: Object.assign({}, { + error: "INVALID_MIN_TOTAL_SIZE", + totalSize: a + }, r), + valid: false + }; + } + } else { + t = e.value.substr(e.value.lastIndexOf(".") + 1); + + if (i && i.indexOf(t.toLowerCase()) === -1) { + return { + meta: { + error: "INVALID_EXTENSION", + ext: t + }, + valid: false + }; + } + } + + return { + valid: true + }; + } + }; + } + + function a$7() { + return { + validate: function validate(a) { + if (a.value === "") { + return { + valid: true + }; + } + + var s = Object.assign({}, { + inclusive: true, + message: "" + }, a.options); + var t = parseFloat("".concat(s.min).replace(",", ".")); + return s.inclusive ? { + message: r$d(a.l10n ? s.message || a.l10n.greaterThan["default"] : s.message, "".concat(t)), + valid: parseFloat(a.value) >= t + } : { + message: r$d(a.l10n ? s.message || a.l10n.greaterThan.notInclusive : s.message, "".concat(t)), + valid: parseFloat(a.value) > t + }; + } + }; + } + + function o$2() { + return { + validate: function validate(o) { + var t = "function" === typeof o.options.compare ? o.options.compare.call(this) : o.options.compare; + return { + valid: t === "" || o.value === t + }; + } + }; + } + + function a$6() { + return { + validate: function validate(a) { + if (a.value === "") { + return { + valid: true + }; + } + + var e = Object.assign({}, { + decimalSeparator: ".", + thousandsSeparator: "" + }, a.options); + var t = e.decimalSeparator === "." ? "\\." : e.decimalSeparator; + var r = e.thousandsSeparator === "." ? "\\." : e.thousandsSeparator; + var o = new RegExp("^-?[0-9]{1,3}(".concat(r, "[0-9]{3})*(").concat(t, "[0-9]+)?$")); + var n = new RegExp(r, "g"); + var s = "".concat(a.value); + + if (!o.test(s)) { + return { + valid: false + }; + } + + if (r) { + s = s.replace(n, ""); + } + + if (t) { + s = s.replace(t, "."); + } + + var i = parseFloat(s); + return { + valid: !isNaN(i) && isFinite(i) && Math.floor(i) === i + }; + } + }; + } + + function d() { + return { + validate: function validate(d) { + if (d.value === "") { + return { + valid: true + }; + } + + var a = Object.assign({}, { + ipv4: true, + ipv6: true + }, d.options); + var e = /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/([0-9]|[1-2][0-9]|3[0-2]))?$/; + var s = /^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/(\d|\d\d|1[0-1]\d|12[0-8]))?$/; + + switch (true) { + case a.ipv4 && !a.ipv6: + return { + message: d.l10n ? a.message || d.l10n.ip.ipv4 : a.message, + valid: e.test(d.value) + }; + + case !a.ipv4 && a.ipv6: + return { + message: d.l10n ? a.message || d.l10n.ip.ipv6 : a.message, + valid: s.test(d.value) + }; + + case a.ipv4 && a.ipv6: + default: + return { + message: d.l10n ? a.message || d.l10n.ip["default"] : a.message, + valid: e.test(d.value) || s.test(d.value) + }; + } + } + }; + } + + function s$8() { + return { + validate: function validate(s) { + if (s.value === "") { + return { + valid: true + }; + } + + var a = Object.assign({}, { + inclusive: true, + message: "" + }, s.options); + var l = parseFloat("".concat(a.max).replace(",", ".")); + return a.inclusive ? { + message: r$d(s.l10n ? a.message || s.l10n.lessThan["default"] : a.message, "".concat(l)), + valid: parseFloat(s.value) <= l + } : { + message: r$d(s.l10n ? a.message || s.l10n.lessThan.notInclusive : a.message, "".concat(l)), + valid: parseFloat(s.value) < l + }; + } + }; + } + + function t$V() { + return { + validate: function validate(t) { + var n = !!t.options && !!t.options.trim; + var o = t.value; + return { + valid: !n && o !== "" || n && o !== "" && o.trim() !== "" + }; + } + }; + } + + function a$5() { + return { + validate: function validate(a) { + if (a.value === "") { + return { + valid: true + }; + } + + var e = Object.assign({}, { + decimalSeparator: ".", + thousandsSeparator: "" + }, a.options); + var t = "".concat(a.value); + + if (t.substr(0, 1) === e.decimalSeparator) { + t = "0".concat(e.decimalSeparator).concat(t.substr(1)); + } else if (t.substr(0, 2) === "-".concat(e.decimalSeparator)) { + t = "-0".concat(e.decimalSeparator).concat(t.substr(2)); + } + + var r = e.decimalSeparator === "." ? "\\." : e.decimalSeparator; + var s = e.thousandsSeparator === "." ? "\\." : e.thousandsSeparator; + var i = new RegExp("^-?[0-9]{1,3}(".concat(s, "[0-9]{3})*(").concat(r, "[0-9]+)?$")); + var o = new RegExp(s, "g"); + + if (!i.test(t)) { + return { + valid: false + }; + } + + if (s) { + t = t.replace(o, ""); + } + + if (r) { + t = t.replace(r, "."); + } + + var l = parseFloat(t); + return { + valid: !isNaN(l) && isFinite(l) + }; + } + }; + } + + function r$c() { + return { + validate: function validate(r) { + return t$_(r.options.promise, [r]); + } + }; + } + + function e$E() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + var t = e.options.regexp; + + if (t instanceof RegExp) { + return { + valid: t.test(e.value) + }; + } else { + var n = t.toString(); + var o = e.options.flags ? new RegExp(n, e.options.flags) : new RegExp(n); + return { + valid: o.test(e.value) + }; + } + } + }; + } + + function e$D(e, t) { + var n = function n(e) { + return Object.keys(e).map(function (t) { + return "".concat(encodeURIComponent(t), "=").concat(encodeURIComponent(e[t])); + }).join("&"); + }; + + return new Promise(function (o, s) { + var d = Object.assign({}, { + crossDomain: false, + headers: {}, + method: "GET", + params: {} + }, t); + var a = Object.keys(d.params).map(function (e) { + return "".concat(encodeURIComponent(e), "=").concat(encodeURIComponent(d.params[e])); + }).join("&"); + var r = e.indexOf("?"); + var c = "GET" === d.method ? "".concat(e).concat(r ? "?" : "&").concat(a) : e; + + if (d.crossDomain) { + var _e = document.createElement("script"); + + var _t = "___fetch".concat(Date.now(), "___"); + + window[_t] = function (e) { + delete window[_t]; + o(e); + }; + + _e.src = "".concat(c).concat(r ? "&" : "?", "callback=").concat(_t); + _e.async = true; + + _e.addEventListener("load", function () { + _e.parentNode.removeChild(_e); + }); + + _e.addEventListener("error", function () { + return s; + }); + + document.head.appendChild(_e); + } else { + var _e2 = new XMLHttpRequest(); + + _e2.open(d.method, c); + + _e2.setRequestHeader("X-Requested-With", "XMLHttpRequest"); + + if ("POST" === d.method) { + _e2.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); + } + + Object.keys(d.headers).forEach(function (t) { + return _e2.setRequestHeader(t, d.headers[t]); + }); + + _e2.addEventListener("load", function () { + o(JSON.parse(this.responseText)); + }); + + _e2.addEventListener("error", function () { + return s; + }); + + _e2.send(n(d.params)); + } + }); + } + + function a$4() { + var a = { + crossDomain: false, + data: {}, + headers: {}, + method: "GET", + validKey: "valid" + }; + return { + validate: function validate(t) { + if (t.value === "") { + return Promise.resolve({ + valid: true + }); + } + + var s = Object.assign({}, a, t.options); + var r = s.data; + + if ("function" === typeof s.data) { + r = s.data.call(this, t); + } + + if ("string" === typeof r) { + r = JSON.parse(r); + } + + r[s.name || t.field] = t.value; + var o = "function" === typeof s.url ? s.url.call(this, t) : s.url; + return e$D(o, { + crossDomain: s.crossDomain, + headers: s.headers, + method: s.method, + params: r + }).then(function (e) { + return Promise.resolve({ + message: e["message"], + meta: e, + valid: "".concat(e[s.validKey]) === "true" + }); + })["catch"](function (e) { + return Promise.reject({ + valid: false + }); + }); + } + }; + } + + function e$C() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + var a = Object.assign({}, { + "case": "lower" + }, e.options); + var s = (a["case"] || "lower").toLowerCase(); + return { + message: a.message || (e.l10n ? "upper" === s ? e.l10n.stringCase.upper : e.l10n.stringCase["default"] : a.message), + valid: "upper" === s ? e.value === e.value.toUpperCase() : e.value === e.value.toLowerCase() + }; + } + }; + } + + function t$U() { + var t = function t(e) { + var t = e.length; + + for (var s = e.length - 1; s >= 0; s--) { + var n = e.charCodeAt(s); + + if (n > 127 && n <= 2047) { + t++; + } else if (n > 2047 && n <= 65535) { + t += 2; + } + + if (n >= 56320 && n <= 57343) { + s--; + } + } + + return "".concat(t); + }; + + return { + validate: function validate(s) { + var n = Object.assign({}, { + message: "", + trim: false, + utf8Bytes: false + }, s.options); + var a = n.trim === true || "".concat(n.trim) === "true" ? s.value.trim() : s.value; + + if (a === "") { + return { + valid: true + }; + } + + var r = n.min ? "".concat(n.min) : ""; + var l = n.max ? "".concat(n.max) : ""; + var i = n.utf8Bytes ? t(a) : a.length; + var g = true; + var m = s.l10n ? n.message || s.l10n.stringLength["default"] : n.message; + + if (r && i < parseInt(r, 10) || l && i > parseInt(l, 10)) { + g = false; + } + + switch (true) { + case !!r && !!l: + m = r$d(s.l10n ? n.message || s.l10n.stringLength.between : n.message, [r, l]); + break; + + case !!r: + m = r$d(s.l10n ? n.message || s.l10n.stringLength.more : n.message, "".concat(parseInt(r, 10))); + break; + + case !!l: + m = r$d(s.l10n ? n.message || s.l10n.stringLength.less : n.message, "".concat(parseInt(l, 10))); + break; + } + + return { + message: m, + valid: g + }; + } + }; + } + + function t$T() { + var t = { + allowEmptyProtocol: false, + allowLocal: false, + protocol: "http, https, ftp" + }; + return { + validate: function validate(o) { + if (o.value === "") { + return { + valid: true + }; + } + + var a = Object.assign({}, t, o.options); + var l = a.allowLocal === true || "".concat(a.allowLocal) === "true"; + var f = a.allowEmptyProtocol === true || "".concat(a.allowEmptyProtocol) === "true"; + var u = a.protocol.split(",").join("|").replace(/\s/g, ""); + var e = new RegExp("^" + "(?:(?:" + u + ")://)" + (f ? "?" : "") + "(?:\\S+(?::\\S*)?@)?" + "(?:" + (l ? "" : "(?!(?:10|127)(?:\\.\\d{1,3}){3})" + "(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})" + "(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})") + "(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])" + "(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}" + "(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))" + "|" + "(?:(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9]+)" + "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9])*" + "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))" + (l ? "?" : "") + ")" + "(?::\\d{2,5})?" + "(?:/[^\\s]*)?$", "i"); + return { + valid: e.test(o.value) + }; + } + }; + } + + function a$3() { + return { + validate: function validate(a) { + return { + valid: a.value === "" || /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/.test(a.value) + }; + } + }; + } + + function a$2() { + return { + validate: function validate(a) { + return { + valid: a.value === "" || /^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$/.test(a.value) + }; + } + }; + } + + function e$B() { + var e = ["hex", "rgb", "rgba", "hsl", "hsla", "keyword"]; + var a = ["aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "darkgrey", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkslategrey", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dimgrey", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "gray", "green", "greenyellow", "grey", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightgrey", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightslategrey", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "transparent", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen"]; + + var r = function r(e) { + return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e); + }; + + var l = function l(e) { + return /^hsl\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(e); + }; + + var s = function s(e) { + return /^hsla\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(e); + }; + + var t = function t(e) { + return a.indexOf(e) >= 0; + }; + + var i = function i(e) { + return /^rgb\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){2}(\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*)\)$/.test(e) || /^rgb\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(e); + }; + + var o = function o(e) { + return /^rgba\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(e) || /^rgba\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(e); + }; + + return { + validate: function validate(a) { + if (a.value === "") { + return { + valid: true + }; + } + + var n = typeof a.options.type === "string" ? a.options.type.toString().replace(/s/g, "").split(",") : a.options.type || e; + + var _iterator = _createForOfIteratorHelper(n), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var d = _step.value; + + var _n = d.toLowerCase(); + + if (e.indexOf(_n) === -1) { + continue; + } + + var g = true; + + switch (_n) { + case "hex": + g = r(a.value); + break; + + case "hsl": + g = l(a.value); + break; + + case "hsla": + g = s(a.value); + break; + + case "keyword": + g = t(a.value); + break; + + case "rgb": + g = i(a.value); + break; + + case "rgba": + g = o(a.value); + break; + } + + if (g) { + return { + valid: true + }; + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + return { + valid: false + }; + } + }; + } + + function t$S() { + return { + validate: function validate(t) { + if (t.value === "") { + return { + valid: true + }; + } + + var e = t.value.toUpperCase(); + + if (!/^[0123456789ABCDEFGHJKLMNPQRSTUVWXYZ*@#]{9}$/.test(e)) { + return { + valid: false + }; + } + + var r = e.split(""); + var a = r.pop(); + var n = r.map(function (t) { + var e = t.charCodeAt(0); + + switch (true) { + case t === "*": + return 36; + + case t === "@": + return 37; + + case t === "#": + return 38; + + case e >= "A".charCodeAt(0) && e <= "Z".charCodeAt(0): + return e - "A".charCodeAt(0) + 10; + + default: + return parseInt(t, 10); + } + }); + var c = n.map(function (t, e) { + var r = e % 2 === 0 ? t : 2 * t; + return Math.floor(r / 10) + r % 10; + }).reduce(function (t, e) { + return t + e; + }, 0); + var o = (10 - c % 10) % 10; + return { + valid: a === "".concat(o) + }; + } + }; + } + + function e$A() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + if (!/^(\d{8}|\d{12}|\d{13}|\d{14})$/.test(e.value)) { + return { + valid: false + }; + } + + var t = e.value.length; + var a = 0; + var l = t === 8 ? [3, 1] : [1, 3]; + + for (var r = 0; r < t - 1; r++) { + a += parseInt(e.value.charAt(r), 10) * l[r % 2]; + } + + a = (10 - a % 10) % 10; + return { + valid: "".concat(a) === e.value.charAt(t - 1) + }; + } + }; + } + + function e$z() { + var e = { + ANDOVER: ["10", "12"], + ATLANTA: ["60", "67"], + AUSTIN: ["50", "53"], + BROOKHAVEN: ["01", "02", "03", "04", "05", "06", "11", "13", "14", "16", "21", "22", "23", "25", "34", "51", "52", "54", "55", "56", "57", "58", "59", "65"], + CINCINNATI: ["30", "32", "35", "36", "37", "38", "61"], + FRESNO: ["15", "24"], + INTERNET: ["20", "26", "27", "45", "46", "47"], + KANSAS_CITY: ["40", "44"], + MEMPHIS: ["94", "95"], + OGDEN: ["80", "90"], + PHILADELPHIA: ["33", "39", "41", "42", "43", "48", "62", "63", "64", "66", "68", "71", "72", "73", "74", "75", "76", "77", "81", "82", "83", "84", "85", "86", "87", "88", "91", "92", "93", "98", "99"], + SMALL_BUSINESS_ADMINISTRATION: ["31"] + }; + return { + validate: function validate(t) { + if (t.value === "") { + return { + meta: null, + valid: true + }; + } + + if (!/^[0-9]{2}-?[0-9]{7}$/.test(t.value)) { + return { + meta: null, + valid: false + }; + } + + var a = "".concat(t.value.substr(0, 2)); + + for (var _t in e) { + if (e[_t].indexOf(a) !== -1) { + return { + meta: { + campus: _t + }, + valid: true + }; + } + } + + return { + meta: null, + valid: false + }; + } + }; + } + + function r$b() { + return { + validate: function validate(r) { + if (r.value === "") { + return { + valid: true + }; + } + + var t = r.value.toUpperCase(); + + if (!/^[GRID:]*([0-9A-Z]{2})[-\s]*([0-9A-Z]{5})[-\s]*([0-9A-Z]{10})[-\s]*([0-9A-Z]{1})$/g.test(t)) { + return { + valid: false + }; + } + + t = t.replace(/\s/g, "").replace(/-/g, ""); + + if ("GRID:" === t.substr(0, 5)) { + t = t.substr(5); + } + + return { + valid: t$12(t) + }; + } + }; + } + + function e$y() { + return { + validate: function validate(e) { + return { + valid: e.value === "" || /^[0-9a-fA-F]+$/.test(e.value) + }; + } + }; + } + + function Z() { + var Z = { + AD: "AD[0-9]{2}[0-9]{4}[0-9]{4}[A-Z0-9]{12}", + AE: "AE[0-9]{2}[0-9]{3}[0-9]{16}", + AL: "AL[0-9]{2}[0-9]{8}[A-Z0-9]{16}", + AO: "AO[0-9]{2}[0-9]{21}", + AT: "AT[0-9]{2}[0-9]{5}[0-9]{11}", + AZ: "AZ[0-9]{2}[A-Z]{4}[A-Z0-9]{20}", + BA: "BA[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{8}[0-9]{2}", + BE: "BE[0-9]{2}[0-9]{3}[0-9]{7}[0-9]{2}", + BF: "BF[0-9]{2}[0-9]{23}", + BG: "BG[0-9]{2}[A-Z]{4}[0-9]{4}[0-9]{2}[A-Z0-9]{8}", + BH: "BH[0-9]{2}[A-Z]{4}[A-Z0-9]{14}", + BI: "BI[0-9]{2}[0-9]{12}", + BJ: "BJ[0-9]{2}[A-Z]{1}[0-9]{23}", + BR: "BR[0-9]{2}[0-9]{8}[0-9]{5}[0-9]{10}[A-Z][A-Z0-9]", + CH: "CH[0-9]{2}[0-9]{5}[A-Z0-9]{12}", + CI: "CI[0-9]{2}[A-Z]{1}[0-9]{23}", + CM: "CM[0-9]{2}[0-9]{23}", + CR: "CR[0-9]{2}[0-9][0-9]{3}[0-9]{14}", + CV: "CV[0-9]{2}[0-9]{21}", + CY: "CY[0-9]{2}[0-9]{3}[0-9]{5}[A-Z0-9]{16}", + CZ: "CZ[0-9]{2}[0-9]{20}", + DE: "DE[0-9]{2}[0-9]{8}[0-9]{10}", + DK: "DK[0-9]{2}[0-9]{14}", + DO: "DO[0-9]{2}[A-Z0-9]{4}[0-9]{20}", + DZ: "DZ[0-9]{2}[0-9]{20}", + EE: "EE[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{11}[0-9]{1}", + ES: "ES[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{1}[0-9]{1}[0-9]{10}", + FI: "FI[0-9]{2}[0-9]{6}[0-9]{7}[0-9]{1}", + FO: "FO[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}", + FR: "FR[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}", + GB: "GB[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}", + GE: "GE[0-9]{2}[A-Z]{2}[0-9]{16}", + GI: "GI[0-9]{2}[A-Z]{4}[A-Z0-9]{15}", + GL: "GL[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}", + GR: "GR[0-9]{2}[0-9]{3}[0-9]{4}[A-Z0-9]{16}", + GT: "GT[0-9]{2}[A-Z0-9]{4}[A-Z0-9]{20}", + HR: "HR[0-9]{2}[0-9]{7}[0-9]{10}", + HU: "HU[0-9]{2}[0-9]{3}[0-9]{4}[0-9]{1}[0-9]{15}[0-9]{1}", + IE: "IE[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}", + IL: "IL[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{13}", + IR: "IR[0-9]{2}[0-9]{22}", + IS: "IS[0-9]{2}[0-9]{4}[0-9]{2}[0-9]{6}[0-9]{10}", + IT: "IT[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}", + JO: "JO[0-9]{2}[A-Z]{4}[0-9]{4}[0]{8}[A-Z0-9]{10}", + KW: "KW[0-9]{2}[A-Z]{4}[0-9]{22}", + KZ: "KZ[0-9]{2}[0-9]{3}[A-Z0-9]{13}", + LB: "LB[0-9]{2}[0-9]{4}[A-Z0-9]{20}", + LI: "LI[0-9]{2}[0-9]{5}[A-Z0-9]{12}", + LT: "LT[0-9]{2}[0-9]{5}[0-9]{11}", + LU: "LU[0-9]{2}[0-9]{3}[A-Z0-9]{13}", + LV: "LV[0-9]{2}[A-Z]{4}[A-Z0-9]{13}", + MC: "MC[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}", + MD: "MD[0-9]{2}[A-Z0-9]{20}", + ME: "ME[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}", + MG: "MG[0-9]{2}[0-9]{23}", + MK: "MK[0-9]{2}[0-9]{3}[A-Z0-9]{10}[0-9]{2}", + ML: "ML[0-9]{2}[A-Z]{1}[0-9]{23}", + MR: "MR13[0-9]{5}[0-9]{5}[0-9]{11}[0-9]{2}", + MT: "MT[0-9]{2}[A-Z]{4}[0-9]{5}[A-Z0-9]{18}", + MU: "MU[0-9]{2}[A-Z]{4}[0-9]{2}[0-9]{2}[0-9]{12}[0-9]{3}[A-Z]{3}", + MZ: "MZ[0-9]{2}[0-9]{21}", + NL: "NL[0-9]{2}[A-Z]{4}[0-9]{10}", + NO: "NO[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{1}", + PK: "PK[0-9]{2}[A-Z]{4}[A-Z0-9]{16}", + PL: "PL[0-9]{2}[0-9]{8}[0-9]{16}", + PS: "PS[0-9]{2}[A-Z]{4}[A-Z0-9]{21}", + PT: "PT[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{11}[0-9]{2}", + QA: "QA[0-9]{2}[A-Z]{4}[A-Z0-9]{21}", + RO: "RO[0-9]{2}[A-Z]{4}[A-Z0-9]{16}", + RS: "RS[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}", + SA: "SA[0-9]{2}[0-9]{2}[A-Z0-9]{18}", + SE: "SE[0-9]{2}[0-9]{3}[0-9]{16}[0-9]{1}", + SI: "SI[0-9]{2}[0-9]{5}[0-9]{8}[0-9]{2}", + SK: "SK[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{10}", + SM: "SM[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}", + SN: "SN[0-9]{2}[A-Z]{1}[0-9]{23}", + TL: "TL38[0-9]{3}[0-9]{14}[0-9]{2}", + TN: "TN59[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}", + TR: "TR[0-9]{2}[0-9]{5}[A-Z0-9]{1}[A-Z0-9]{16}", + VG: "VG[0-9]{2}[A-Z]{4}[0-9]{16}", + XK: "XK[0-9]{2}[0-9]{4}[0-9]{10}[0-9]{2}" + }; + var e = ["AT", "BE", "BG", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GI", "GR", "HR", "HU", "IE", "IS", "IT", "LI", "LT", "LU", "LV", "MC", "MT", "NL", "NO", "PL", "PT", "RO", "SE", "SI", "SK", "SM"]; + return { + validate: function validate(s) { + if (s.value === "") { + return { + valid: true + }; + } + + var t = Object.assign({}, { + message: "" + }, s.options); + var a = s.value.replace(/[^a-zA-Z0-9]/g, "").toUpperCase(); + var r = t.country || a.substr(0, 2); + + if (!Z[r]) { + return { + message: t.message, + valid: false + }; + } + + if (t.sepa !== undefined) { + var _A = e.indexOf(r) !== -1; + + if ((t.sepa === "true" || t.sepa === true) && !_A || (t.sepa === "false" || t.sepa === false) && _A) { + return { + message: t.message, + valid: false + }; + } + } + + var n = r$d(s.l10n ? t.message || s.l10n.iban.country : t.message, s.l10n ? s.l10n.iban.countries[r] : r); + + if (!new RegExp("^".concat(Z[r], "$")).test(s.value)) { + return { + message: n, + valid: false + }; + } + + a = "".concat(a.substr(4)).concat(a.substr(0, 4)); + a = a.split("").map(function (A) { + var Z = A.charCodeAt(0); + return Z >= "A".charCodeAt(0) && Z <= "Z".charCodeAt(0) ? Z - "A".charCodeAt(0) + 10 : A; + }).join(""); + var I = parseInt(a.substr(0, 1), 10); + var L = a.length; + + for (var _A2 = 1; _A2 < L; ++_A2) { + I = (I * 10 + parseInt(a.substr(_A2, 1), 10)) % 97; + } + + return { + message: n, + valid: I === 1 + }; + } + }; + } + + function t$R(t) { + var e = t.replace(/\./g, ""); + return { + meta: {}, + valid: /^\d{7,8}$/.test(e) + }; + } + + function t$Q(t, r) { + if (!/^\d{13}$/.test(t)) { + return false; + } + + var e = parseInt(t.substr(0, 2), 10); + var s = parseInt(t.substr(2, 2), 10); + var n = parseInt(t.substr(7, 2), 10); + var a = parseInt(t.substr(12, 1), 10); + + if (e > 31 || s > 12) { + return false; + } + + var u = 0; + + for (var _r = 0; _r < 6; _r++) { + u += (7 - _r) * (parseInt(t.charAt(_r), 10) + parseInt(t.charAt(_r + 6), 10)); + } + + u = 11 - u % 11; + + if (u === 10 || u === 11) { + u = 0; + } + + if (u !== a) { + return false; + } + + switch (r.toUpperCase()) { + case "BA": + return 10 <= n && n <= 19; + + case "MK": + return 41 <= n && n <= 49; + + case "ME": + return 20 <= n && n <= 29; + + case "RS": + return 70 <= n && n <= 99; + + case "SI": + return 50 <= n && n <= 59; + + default: + return true; + } + } + + function r$a(r) { + return { + meta: {}, + valid: t$Q(r, "BA") + }; + } + + function e$x(e) { + if (!/^\d{10}$/.test(e) && !/^\d{6}\s\d{3}\s\d{1}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var s = e.replace(/\s/g, ""); + var r = parseInt(s.substr(0, 2), 10) + 1900; + var a = parseInt(s.substr(2, 2), 10); + var l = parseInt(s.substr(4, 2), 10); + + if (a > 40) { + r += 100; + a -= 40; + } else if (a > 20) { + r -= 100; + a -= 20; + } + + if (!t$X(r, a, l)) { + return { + meta: {}, + valid: false + }; + } + + var i = 0; + var n = [2, 4, 8, 5, 10, 9, 7, 3, 6]; + + for (var _t = 0; _t < 9; _t++) { + i += parseInt(s.charAt(_t), 10) * n[_t]; + } + + i = i % 11 % 10; + return { + meta: {}, + valid: "".concat(i) === s.substr(9, 1) + }; + } + + function t$P(t) { + var e = t.replace(/\D/g, ""); + + if (!/^\d{11}$/.test(e) || /^1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11}|0{11}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var a = 0; + var r; + + for (r = 0; r < 9; r++) { + a += (10 - r) * parseInt(e.charAt(r), 10); + } + + a = 11 - a % 11; + + if (a === 10 || a === 11) { + a = 0; + } + + if ("".concat(a) !== e.charAt(9)) { + return { + meta: {}, + valid: false + }; + } + + var f = 0; + + for (r = 0; r < 10; r++) { + f += (11 - r) * parseInt(e.charAt(r), 10); + } + + f = 11 - f % 11; + + if (f === 10 || f === 11) { + f = 0; + } + + return { + meta: {}, + valid: "".concat(f) === e.charAt(10) + }; + } + + function t$O(t) { + if (!/^756[.]{0,1}[0-9]{4}[.]{0,1}[0-9]{4}[.]{0,1}[0-9]{2}$/.test(t)) { + return { + meta: {}, + valid: false + }; + } + + var e = t.replace(/\D/g, "").substr(3); + var r = e.length; + var a = r === 8 ? [3, 1] : [1, 3]; + var n = 0; + + for (var _t = 0; _t < r - 1; _t++) { + n += parseInt(e.charAt(_t), 10) * a[_t % 2]; + } + + n = 10 - n % 10; + return { + meta: {}, + valid: "".concat(n) === e.charAt(r - 1) + }; + } + + function e$w(e) { + if (!/^\d{7,8}[-]{0,1}[0-9K]$/i.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var t = e.replace(/-/g, ""); + + while (t.length < 9) { + t = "0".concat(t); + } + + var l = [3, 2, 7, 6, 5, 4, 3, 2]; + var a = 0; + + for (var _e = 0; _e < 8; _e++) { + a += parseInt(t.charAt(_e), 10) * l[_e]; + } + + a = 11 - a % 11; + var r = "".concat(a); + + if (a === 11) { + r = "0"; + } else if (a === 10) { + r = "K"; + } + + return { + meta: {}, + valid: r === t.charAt(8).toUpperCase() + }; + } + + function r$9(r) { + var s = r.trim(); + + if (!/^\d{15}$/.test(s) && !/^\d{17}[\dXx]{1}$/.test(s)) { + return { + meta: {}, + valid: false + }; + } + + var e = { + 11: { + 0: [0], + 1: [[0, 9], [11, 17]], + 2: [0, 28, 29] + }, + 12: { + 0: [0], + 1: [[0, 16]], + 2: [0, 21, 23, 25] + }, + 13: { + 0: [0], + 1: [[0, 5], 7, 8, 21, [23, 33], [81, 85]], + 2: [[0, 5], [7, 9], [23, 25], 27, 29, 30, 81, 83], + 3: [[0, 4], [21, 24]], + 4: [[0, 4], 6, 21, [23, 35], 81], + 5: [[0, 3], [21, 35], 81, 82], + 6: [[0, 4], [21, 38], [81, 84]], + 7: [[0, 3], 5, 6, [21, 33]], + 8: [[0, 4], [21, 28]], + 9: [[0, 3], [21, 30], [81, 84]], + 10: [[0, 3], [22, 26], 28, 81, 82], + 11: [[0, 2], [21, 28], 81, 82] + }, + 14: { + 0: [0], + 1: [0, 1, [5, 10], [21, 23], 81], + 2: [[0, 3], 11, 12, [21, 27]], + 3: [[0, 3], 11, 21, 22], + 4: [[0, 2], 11, 21, [23, 31], 81], + 5: [[0, 2], 21, 22, 24, 25, 81], + 6: [[0, 3], [21, 24]], + 7: [[0, 2], [21, 29], 81], + 8: [[0, 2], [21, 30], 81, 82], + 9: [[0, 2], [21, 32], 81], + 10: [[0, 2], [21, 34], 81, 82], + 11: [[0, 2], [21, 30], 81, 82], + 23: [[0, 3], 22, 23, [25, 30], 32, 33] + }, + 15: { + 0: [0], + 1: [[0, 5], [21, 25]], + 2: [[0, 7], [21, 23]], + 3: [[0, 4]], + 4: [[0, 4], [21, 26], [28, 30]], + 5: [[0, 2], [21, 26], 81], + 6: [[0, 2], [21, 27]], + 7: [[0, 3], [21, 27], [81, 85]], + 8: [[0, 2], [21, 26]], + 9: [[0, 2], [21, 29], 81], + 22: [[0, 2], [21, 24]], + 25: [[0, 2], [22, 31]], + 26: [[0, 2], [24, 27], [29, 32], 34], + 28: [0, 1, [22, 27]], + 29: [0, [21, 23]] + }, + 21: { + 0: [0], + 1: [[0, 6], [11, 14], [22, 24], 81], + 2: [[0, 4], [11, 13], 24, [81, 83]], + 3: [[0, 4], 11, 21, 23, 81], + 4: [[0, 4], 11, [21, 23]], + 5: [[0, 5], 21, 22], + 6: [[0, 4], 24, 81, 82], + 7: [[0, 3], 11, 26, 27, 81, 82], + 8: [[0, 4], 11, 81, 82], + 9: [[0, 5], 11, 21, 22], + 10: [[0, 5], 11, 21, 81], + 11: [[0, 3], 21, 22], + 12: [[0, 2], 4, 21, 23, 24, 81, 82], + 13: [[0, 3], 21, 22, 24, 81, 82], + 14: [[0, 4], 21, 22, 81] + }, + 22: { + 0: [0], + 1: [[0, 6], 12, 22, [81, 83]], + 2: [[0, 4], 11, 21, [81, 84]], + 3: [[0, 3], 22, 23, 81, 82], + 4: [[0, 3], 21, 22], + 5: [[0, 3], 21, 23, 24, 81, 82], + 6: [[0, 2], 4, 5, [21, 23], 25, 81], + 7: [[0, 2], [21, 24], 81], + 8: [[0, 2], 21, 22, 81, 82], + 24: [[0, 6], 24, 26] + }, + 23: { + 0: [0], + 1: [[0, 12], 21, [23, 29], [81, 84]], + 2: [[0, 8], 21, [23, 25], 27, [29, 31], 81], + 3: [[0, 7], 21, 81, 82], + 4: [[0, 7], 21, 22], + 5: [[0, 3], 5, 6, [21, 24]], + 6: [[0, 6], [21, 24]], + 7: [[0, 16], 22, 81], + 8: [[0, 5], 11, 22, 26, 28, 33, 81, 82], + 9: [[0, 4], 21], + 10: [[0, 5], 24, 25, 81, [83, 85]], + 11: [[0, 2], 21, 23, 24, 81, 82], + 12: [[0, 2], [21, 26], [81, 83]], + 27: [[0, 4], [21, 23]] + }, + 31: { + 0: [0], + 1: [0, 1, [3, 10], [12, 20]], + 2: [0, 30] + }, + 32: { + 0: [0], + 1: [[0, 7], 11, [13, 18], 24, 25], + 2: [[0, 6], 11, 81, 82], + 3: [[0, 5], 11, 12, [21, 24], 81, 82], + 4: [[0, 2], 4, 5, 11, 12, 81, 82], + 5: [[0, 9], [81, 85]], + 6: [[0, 2], 11, 12, 21, 23, [81, 84]], + 7: [0, 1, 3, 5, 6, [21, 24]], + 8: [[0, 4], 11, 26, [29, 31]], + 9: [[0, 3], [21, 25], 28, 81, 82], + 10: [[0, 3], 11, 12, 23, 81, 84, 88], + 11: [[0, 2], 11, 12, [81, 83]], + 12: [[0, 4], [81, 84]], + 13: [[0, 2], 11, [21, 24]] + }, + 33: { + 0: [0], + 1: [[0, 6], [8, 10], 22, 27, 82, 83, 85], + 2: [0, 1, [3, 6], 11, 12, 25, 26, [81, 83]], + 3: [[0, 4], 22, 24, [26, 29], 81, 82], + 4: [[0, 2], 11, 21, 24, [81, 83]], + 5: [[0, 3], [21, 23]], + 6: [[0, 2], 21, 24, [81, 83]], + 7: [[0, 3], 23, 26, 27, [81, 84]], + 8: [[0, 3], 22, 24, 25, 81], + 9: [[0, 3], 21, 22], + 10: [[0, 4], [21, 24], 81, 82], + 11: [[0, 2], [21, 27], 81] + }, + 34: { + 0: [0], + 1: [[0, 4], 11, [21, 24], 81], + 2: [[0, 4], 7, 8, [21, 23], 25], + 3: [[0, 4], 11, [21, 23]], + 4: [[0, 6], 21], + 5: [[0, 4], 6, [21, 23]], + 6: [[0, 4], 21], + 7: [[0, 3], 11, 21], + 8: [[0, 3], 11, [22, 28], 81], + 10: [[0, 4], [21, 24]], + 11: [[0, 3], 22, [24, 26], 81, 82], + 12: [[0, 4], 21, 22, 25, 26, 82], + 13: [[0, 2], [21, 24]], + 14: [[0, 2], [21, 24]], + 15: [[0, 3], [21, 25]], + 16: [[0, 2], [21, 23]], + 17: [[0, 2], [21, 23]], + 18: [[0, 2], [21, 25], 81] + }, + 35: { + 0: [0], + 1: [[0, 5], 11, [21, 25], 28, 81, 82], + 2: [[0, 6], [11, 13]], + 3: [[0, 5], 22], + 4: [[0, 3], 21, [23, 30], 81], + 5: [[0, 5], 21, [24, 27], [81, 83]], + 6: [[0, 3], [22, 29], 81], + 7: [[0, 2], [21, 25], [81, 84]], + 8: [[0, 2], [21, 25], 81], + 9: [[0, 2], [21, 26], 81, 82] + }, + 36: { + 0: [0], + 1: [[0, 5], 11, [21, 24]], + 2: [[0, 3], 22, 81], + 3: [[0, 2], 13, [21, 23]], + 4: [[0, 3], 21, [23, 30], 81, 82], + 5: [[0, 2], 21], + 6: [[0, 2], 22, 81], + 7: [[0, 2], [21, 35], 81, 82], + 8: [[0, 3], [21, 30], 81], + 9: [[0, 2], [21, 26], [81, 83]], + 10: [[0, 2], [21, 30]], + 11: [[0, 2], [21, 30], 81] + }, + 37: { + 0: [0], + 1: [[0, 5], 12, 13, [24, 26], 81], + 2: [[0, 3], 5, [11, 14], [81, 85]], + 3: [[0, 6], [21, 23]], + 4: [[0, 6], 81], + 5: [[0, 3], [21, 23]], + 6: [[0, 2], [11, 13], 34, [81, 87]], + 7: [[0, 5], 24, 25, [81, 86]], + 8: [[0, 2], 11, [26, 32], [81, 83]], + 9: [[0, 3], 11, 21, 23, 82, 83], + 10: [[0, 2], [81, 83]], + 11: [[0, 3], 21, 22], + 12: [[0, 3]], + 13: [[0, 2], 11, 12, [21, 29]], + 14: [[0, 2], [21, 28], 81, 82], + 15: [[0, 2], [21, 26], 81], + 16: [[0, 2], [21, 26]], + 17: [[0, 2], [21, 28]] + }, + 41: { + 0: [0], + 1: [[0, 6], 8, 22, [81, 85]], + 2: [[0, 5], 11, [21, 25]], + 3: [[0, 7], 11, [22, 29], 81], + 4: [[0, 4], 11, [21, 23], 25, 81, 82], + 5: [[0, 3], 5, 6, 22, 23, 26, 27, 81], + 6: [[0, 3], 11, 21, 22], + 7: [[0, 4], 11, 21, [24, 28], 81, 82], + 8: [[0, 4], 11, [21, 23], 25, [81, 83]], + 9: [[0, 2], 22, 23, [26, 28]], + 10: [[0, 2], [23, 25], 81, 82], + 11: [[0, 4], [21, 23]], + 12: [[0, 2], 21, 22, 24, 81, 82], + 13: [[0, 3], [21, 30], 81], + 14: [[0, 3], [21, 26], 81], + 15: [[0, 3], [21, 28]], + 16: [[0, 2], [21, 28], 81], + 17: [[0, 2], [21, 29]], + 90: [0, 1] + }, + 42: { + 0: [0], + 1: [[0, 7], [11, 17]], + 2: [[0, 5], 22, 81], + 3: [[0, 3], [21, 25], 81], + 5: [[0, 6], [25, 29], [81, 83]], + 6: [[0, 2], 6, 7, [24, 26], [82, 84]], + 7: [[0, 4]], + 8: [[0, 2], 4, 21, 22, 81], + 9: [[0, 2], [21, 23], 81, 82, 84], + 10: [[0, 3], [22, 24], 81, 83, 87], + 11: [[0, 2], [21, 27], 81, 82], + 12: [[0, 2], [21, 24], 81], + 13: [[0, 3], 21, 81], + 28: [[0, 2], 22, 23, [25, 28]], + 90: [0, [4, 6], 21] + }, + 43: { + 0: [0], + 1: [[0, 5], 11, 12, 21, 22, 24, 81], + 2: [[0, 4], 11, 21, [23, 25], 81], + 3: [[0, 2], 4, 21, 81, 82], + 4: [0, 1, [5, 8], 12, [21, 24], 26, 81, 82], + 5: [[0, 3], 11, [21, 25], [27, 29], 81], + 6: [[0, 3], 11, 21, 23, 24, 26, 81, 82], + 7: [[0, 3], [21, 26], 81], + 8: [[0, 2], 11, 21, 22], + 9: [[0, 3], [21, 23], 81], + 10: [[0, 3], [21, 28], 81], + 11: [[0, 3], [21, 29]], + 12: [[0, 2], [21, 30], 81], + 13: [[0, 2], 21, 22, 81, 82], + 31: [0, 1, [22, 27], 30] + }, + 44: { + 0: [0], + 1: [[0, 7], [11, 16], 83, 84], + 2: [[0, 5], 21, 22, 24, 29, 32, 33, 81, 82], + 3: [0, 1, [3, 8]], + 4: [[0, 4]], + 5: [0, 1, [6, 15], 23, 82, 83], + 6: [0, 1, [4, 8]], + 7: [0, 1, [3, 5], 81, [83, 85]], + 8: [[0, 4], 11, 23, 25, [81, 83]], + 9: [[0, 3], 23, [81, 83]], + 12: [[0, 3], [23, 26], 83, 84], + 13: [[0, 3], [22, 24], 81], + 14: [[0, 2], [21, 24], 26, 27, 81], + 15: [[0, 2], 21, 23, 81], + 16: [[0, 2], [21, 25]], + 17: [[0, 2], 21, 23, 81], + 18: [[0, 3], 21, 23, [25, 27], 81, 82], + 19: [0], + 20: [0], + 51: [[0, 3], 21, 22], + 52: [[0, 3], 21, 22, 24, 81], + 53: [[0, 2], [21, 23], 81] + }, + 45: { + 0: [0], + 1: [[0, 9], [21, 27]], + 2: [[0, 5], [21, 26]], + 3: [[0, 5], 11, 12, [21, 32]], + 4: [0, 1, [3, 6], 11, [21, 23], 81], + 5: [[0, 3], 12, 21], + 6: [[0, 3], 21, 81], + 7: [[0, 3], 21, 22], + 8: [[0, 4], 21, 81], + 9: [[0, 3], [21, 24], 81], + 10: [[0, 2], [21, 31]], + 11: [[0, 2], [21, 23]], + 12: [[0, 2], [21, 29], 81], + 13: [[0, 2], [21, 24], 81], + 14: [[0, 2], [21, 25], 81] + }, + 46: { + 0: [0], + 1: [0, 1, [5, 8]], + 2: [0, 1], + 3: [0, [21, 23]], + 90: [[0, 3], [5, 7], [21, 39]] + }, + 50: { + 0: [0], + 1: [[0, 19]], + 2: [0, [22, 38], [40, 43]], + 3: [0, [81, 84]] + }, + 51: { + 0: [0], + 1: [0, 1, [4, 8], [12, 15], [21, 24], 29, 31, 32, [81, 84]], + 3: [[0, 4], 11, 21, 22], + 4: [[0, 3], 11, 21, 22], + 5: [[0, 4], 21, 22, 24, 25], + 6: [0, 1, 3, 23, 26, [81, 83]], + 7: [0, 1, 3, 4, [22, 27], 81], + 8: [[0, 2], 11, 12, [21, 24]], + 9: [[0, 4], [21, 23]], + 10: [[0, 2], 11, 24, 25, 28], + 11: [[0, 2], [11, 13], 23, 24, 26, 29, 32, 33, 81], + 13: [[0, 4], [21, 25], 81], + 14: [[0, 2], [21, 25]], + 15: [[0, 3], [21, 29]], + 16: [[0, 3], [21, 23], 81], + 17: [[0, 3], [21, 25], 81], + 18: [[0, 3], [21, 27]], + 19: [[0, 3], [21, 23]], + 20: [[0, 2], 21, 22, 81], + 32: [0, [21, 33]], + 33: [0, [21, 38]], + 34: [0, 1, [22, 37]] + }, + 52: { + 0: [0], + 1: [[0, 3], [11, 15], [21, 23], 81], + 2: [0, 1, 3, 21, 22], + 3: [[0, 3], [21, 30], 81, 82], + 4: [[0, 2], [21, 25]], + 5: [[0, 2], [21, 27]], + 6: [[0, 3], [21, 28]], + 22: [0, 1, [22, 30]], + 23: [0, 1, [22, 28]], + 24: [0, 1, [22, 28]], + 26: [0, 1, [22, 36]], + 27: [[0, 2], 22, 23, [25, 32]] + }, + 53: { + 0: [0], + 1: [[0, 3], [11, 14], 21, 22, [24, 29], 81], + 3: [[0, 2], [21, 26], 28, 81], + 4: [[0, 2], [21, 28]], + 5: [[0, 2], [21, 24]], + 6: [[0, 2], [21, 30]], + 7: [[0, 2], [21, 24]], + 8: [[0, 2], [21, 29]], + 9: [[0, 2], [21, 27]], + 23: [0, 1, [22, 29], 31], + 25: [[0, 4], [22, 32]], + 26: [0, 1, [21, 28]], + 27: [0, 1, [22, 30]], + 28: [0, 1, 22, 23], + 29: [0, 1, [22, 32]], + 31: [0, 2, 3, [22, 24]], + 34: [0, [21, 23]], + 33: [0, 21, [23, 25]], + 35: [0, [21, 28]] + }, + 54: { + 0: [0], + 1: [[0, 2], [21, 27]], + 21: [0, [21, 29], 32, 33], + 22: [0, [21, 29], [31, 33]], + 23: [0, 1, [22, 38]], + 24: [0, [21, 31]], + 25: [0, [21, 27]], + 26: [0, [21, 27]] + }, + 61: { + 0: [0], + 1: [[0, 4], [11, 16], 22, [24, 26]], + 2: [[0, 4], 22], + 3: [[0, 4], [21, 24], [26, 31]], + 4: [[0, 4], [22, 31], 81], + 5: [[0, 2], [21, 28], 81, 82], + 6: [[0, 2], [21, 32]], + 7: [[0, 2], [21, 30]], + 8: [[0, 2], [21, 31]], + 9: [[0, 2], [21, 29]], + 10: [[0, 2], [21, 26]] + }, + 62: { + 0: [0], + 1: [[0, 5], 11, [21, 23]], + 2: [0, 1], + 3: [[0, 2], 21], + 4: [[0, 3], [21, 23]], + 5: [[0, 3], [21, 25]], + 6: [[0, 2], [21, 23]], + 7: [[0, 2], [21, 25]], + 8: [[0, 2], [21, 26]], + 9: [[0, 2], [21, 24], 81, 82], + 10: [[0, 2], [21, 27]], + 11: [[0, 2], [21, 26]], + 12: [[0, 2], [21, 28]], + 24: [0, 21, [24, 29]], + 26: [0, 21, [23, 30]], + 29: [0, 1, [21, 27]], + 30: [0, 1, [21, 27]] + }, + 63: { + 0: [0], + 1: [[0, 5], [21, 23]], + 2: [0, 2, [21, 25]], + 21: [0, [21, 23], [26, 28]], + 22: [0, [21, 24]], + 23: [0, [21, 24]], + 25: [0, [21, 25]], + 26: [0, [21, 26]], + 27: [0, 1, [21, 26]], + 28: [[0, 2], [21, 23]] + }, + 64: { + 0: [0], + 1: [0, 1, [4, 6], 21, 22, 81], + 2: [[0, 3], 5, [21, 23]], + 3: [[0, 3], [21, 24], 81], + 4: [[0, 2], [21, 25]], + 5: [[0, 2], 21, 22] + }, + 65: { + 0: [0], + 1: [[0, 9], 21], + 2: [[0, 5]], + 21: [0, 1, 22, 23], + 22: [0, 1, 22, 23], + 23: [[0, 3], [23, 25], 27, 28], + 28: [0, 1, [22, 29]], + 29: [0, 1, [22, 29]], + 30: [0, 1, [22, 24]], + 31: [0, 1, [21, 31]], + 32: [0, 1, [21, 27]], + 40: [0, 2, 3, [21, 28]], + 42: [[0, 2], 21, [23, 26]], + 43: [0, 1, [21, 26]], + 90: [[0, 4]], + 27: [[0, 2], 22, 23] + }, + 71: { + 0: [0] + }, + 81: { + 0: [0] + }, + 82: { + 0: [0] + } + }; + var a = parseInt(s.substr(0, 2), 10); + var n = parseInt(s.substr(2, 2), 10); + var l = parseInt(s.substr(4, 2), 10); + + if (!e[a] || !e[a][n]) { + return { + meta: {}, + valid: false + }; + } + + var i = false; + var u = e[a][n]; + var o; + + for (o = 0; o < u.length; o++) { + if (Array.isArray(u[o]) && u[o][0] <= l && l <= u[o][1] || !Array.isArray(u[o]) && l === u[o]) { + i = true; + break; + } + } + + if (!i) { + return { + meta: {}, + valid: false + }; + } + + var f; + + if (s.length === 18) { + f = s.substr(6, 8); + } else { + f = "19".concat(s.substr(6, 6)); + } + + var c = parseInt(f.substr(0, 4), 10); + var p = parseInt(f.substr(4, 2), 10); + var d = parseInt(f.substr(6, 2), 10); + + if (!t$X(c, p, d)) { + return { + meta: {}, + valid: false + }; + } + + if (s.length === 18) { + var _t = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2]; + var _r = 0; + + for (o = 0; o < 17; o++) { + _r += parseInt(s.charAt(o), 10) * _t[o]; + } + + _r = (12 - _r % 11) % 11; + + var _e = s.charAt(17).toUpperCase() !== "X" ? parseInt(s.charAt(17), 10) : 10; + + return { + meta: {}, + valid: _e === _r + }; + } + + return { + meta: {}, + valid: true + }; + } + + function t$N(t) { + var e = t.replace(/\./g, "").replace("-", ""); + + if (!/^\d{8,16}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = e.length; + var a = [3, 7, 13, 17, 19, 23, 29, 37, 41, 43, 47, 53, 59, 67, 71]; + var l = 0; + + for (var _t = r - 2; _t >= 0; _t--) { + l += parseInt(e.charAt(_t), 10) * a[_t]; + } + + l = l % 11; + + if (l >= 2) { + l = 11 - l; + } + + return { + meta: {}, + valid: "".concat(l) === e.substr(r - 1) + }; + } + + function e$v(e) { + if (!/^\d{9,10}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = 1900 + parseInt(e.substr(0, 2), 10); + var s = parseInt(e.substr(2, 2), 10) % 50 % 20; + var a = parseInt(e.substr(4, 2), 10); + + if (e.length === 9) { + if (r >= 1980) { + r -= 100; + } + + if (r > 1953) { + return { + meta: {}, + valid: false + }; + } + } else if (r < 1954) { + r += 100; + } + + if (!t$X(r, s, a)) { + return { + meta: {}, + valid: false + }; + } + + if (e.length === 10) { + var _t = parseInt(e.substr(0, 9), 10) % 11; + + if (r < 1985) { + _t = _t % 10; + } + + return { + meta: {}, + valid: "".concat(_t) === e.substr(9, 1) + }; + } + + return { + meta: {}, + valid: true + }; + } + + function e$u(e) { + if (!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var a = e.replace(/-/g, ""); + var r = parseInt(a.substr(0, 2), 10); + var s = parseInt(a.substr(2, 2), 10); + var n = parseInt(a.substr(4, 2), 10); + + switch (true) { + case "5678".indexOf(a.charAt(6)) !== -1 && n >= 58: + n += 1800; + break; + + case "0123".indexOf(a.charAt(6)) !== -1: + case "49".indexOf(a.charAt(6)) !== -1 && n >= 37: + n += 1900; + break; + + default: + n += 2e3; + break; + } + + return { + meta: {}, + valid: t$X(n, s, r) + }; + } + + function t$M(t) { + var e = /^[0-9]{8}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(t); + var s = /^[XYZ][-]{0,1}[0-9]{7}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(t); + var n = /^[A-HNPQS][-]{0,1}[0-9]{7}[-]{0,1}[0-9A-J]$/.test(t); + + if (!e && !s && !n) { + return { + meta: {}, + valid: false + }; + } + + var r = t.replace(/-/g, ""); + var l; + var a; + var f = true; + + if (e || s) { + a = "DNI"; + + var _t = "XYZ".indexOf(r.charAt(0)); + + if (_t !== -1) { + r = _t + r.substr(1) + ""; + a = "NIE"; + } + + l = parseInt(r.substr(0, 8), 10); + l = "TRWAGMYFPDXBNJZSQVHLCKE"[l % 23]; + return { + meta: { + type: a + }, + valid: l === r.substr(8, 1) + }; + } else { + l = r.substr(1, 7); + a = "CIF"; + var _t2 = r[0]; + + var _e = r.substr(-1); + + var _s = 0; + + for (var _t3 = 0; _t3 < l.length; _t3++) { + if (_t3 % 2 !== 0) { + _s += parseInt(l[_t3], 10); + } else { + var _e2 = "" + parseInt(l[_t3], 10) * 2; + + _s += parseInt(_e2[0], 10); + + if (_e2.length === 2) { + _s += parseInt(_e2[1], 10); + } + } + } + + var _n = _s - Math.floor(_s / 10) * 10; + + if (_n !== 0) { + _n = 10 - _n; + } + + if ("KQS".indexOf(_t2) !== -1) { + f = _e === "JABCDEFGHI"[_n]; + } else if ("ABEH".indexOf(_t2) !== -1) { + f = _e === "" + _n; + } else { + f = _e === "" + _n || _e === "JABCDEFGHI"[_n]; + } + + return { + meta: { + type: a + }, + valid: f + }; + } + } + + function s$7(s) { + if (!/^[0-9]{6}[-+A][0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/.test(s)) { + return { + meta: {}, + valid: false + }; + } + + var r = parseInt(s.substr(0, 2), 10); + var a = parseInt(s.substr(2, 2), 10); + var e = parseInt(s.substr(4, 2), 10); + var n = { + "+": 1800, + "-": 1900, + A: 2e3 + }; + e = n[s.charAt(6)] + e; + + if (!t$X(e, a, r)) { + return { + meta: {}, + valid: false + }; + } + + var u = parseInt(s.substr(7, 3), 10); + + if (u < 2) { + return { + meta: {}, + valid: false + }; + } + + var i = parseInt(s.substr(0, 6) + s.substr(7, 3) + "", 10); + return { + meta: {}, + valid: "0123456789ABCDEFHJKLMNPRSTUVWXY".charAt(i % 31) === s.charAt(10) + }; + } + + function t$L(t) { + var s = t.toUpperCase(); + + if (!/^(1|2)\d{2}\d{2}(\d{2}|\d[A-Z]|\d{3})\d{2,3}\d{3}\d{2}$/.test(s)) { + return { + meta: {}, + valid: false + }; + } + + var e = s.substr(5, 2); + + switch (true) { + case /^\d{2}$/.test(e): + s = t; + break; + + case e === "2A": + s = "".concat(t.substr(0, 5), "19").concat(t.substr(7)); + break; + + case e === "2B": + s = "".concat(t.substr(0, 5), "18").concat(t.substr(7)); + break; + + default: + return { + meta: {}, + valid: false + }; + } + + var r = 97 - parseInt(s.substr(0, 13), 10) % 97; + var a = r < 10 ? "0".concat(r) : "".concat(r); + return { + meta: {}, + valid: a === s.substr(13) + }; + } + + function t$K(t) { + var e = t.toUpperCase(); + + if (!/^[A-MP-Z]{1,2}[0-9]{6}[0-9A]$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var s = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + var n = e.charAt(0); + var r = e.charAt(1); + var a = 0; + var c = e; + + if (/^[A-Z]$/.test(r)) { + a += 9 * (10 + s.indexOf(n)); + a += 8 * (10 + s.indexOf(r)); + c = e.substr(2); + } else { + a += 9 * 36; + a += 8 * (10 + s.indexOf(n)); + c = e.substr(1); + } + + var o = c.length; + + for (var _t = 0; _t < o - 1; _t++) { + a += (7 - _t) * parseInt(c.charAt(_t), 10); + } + + var f = a % 11; + var l = f === 0 ? "0" : 11 - f === 10 ? "A" : "".concat(11 - f); + return { + meta: {}, + valid: l === c.charAt(o - 1) + }; + } + + function o$1(o) { + return { + meta: {}, + valid: /^[0-9]{11}$/.test(o) && t$13(o) + }; + } + + function e$t(e) { + if (!/^[2-9]\d{11}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = e.split("").map(function (t) { + return parseInt(t, 10); + }); + return { + meta: {}, + valid: t$11(r) + }; + } + + function t$J(t) { + if (!/^\d{7}[A-W][AHWTX]?$/.test(t)) { + return { + meta: {}, + valid: false + }; + } + + var r = function r(t) { + var r = t; + + while (r.length < 7) { + r = "0".concat(r); + } + + var e = "WABCDEFGHIJKLMNOPQRSTUV"; + var s = 0; + + for (var _t = 0; _t < 7; _t++) { + s += parseInt(r.charAt(_t), 10) * (8 - _t); + } + + s += 9 * e.indexOf(r.substr(7)); + return e[s % 23]; + }; + + var e = t.length === 9 && ("A" === t.charAt(8) || "H" === t.charAt(8)) ? t.charAt(7) === r(t.substr(0, 7) + t.substr(8) + "") : t.charAt(7) === r(t.substr(0, 7)); + return { + meta: {}, + valid: e + }; + } + + function e$s(e) { + if (!/^\d{1,9}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + return { + meta: {}, + valid: t$14(e) + }; + } + + function e$r(e) { + if (!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = e.replace(/-/g, ""); + var s = parseInt(r.substr(0, 2), 10); + var a = parseInt(r.substr(2, 2), 10); + var n = parseInt(r.substr(4, 2), 10); + var l = parseInt(r.charAt(9), 10); + n = l === 9 ? 1900 + n : (20 + l) * 100 + n; + + if (!t$X(n, a, s, true)) { + return { + meta: {}, + valid: false + }; + } + + var c = [3, 2, 7, 6, 5, 4, 3, 2]; + var i = 0; + + for (var _t = 0; _t < 8; _t++) { + i += parseInt(r.charAt(_t), 10) * c[_t]; + } + + i = 11 - i % 11; + return { + meta: {}, + valid: "".concat(i) === r.charAt(8) + }; + } + + function e$q(e) { + var a = e.replace("-", ""); + + if (!/^\d{13}$/.test(a)) { + return { + meta: {}, + valid: false + }; + } + + var s = a.charAt(6); + var r = parseInt(a.substr(0, 2), 10); + var c = parseInt(a.substr(2, 2), 10); + var n = parseInt(a.substr(4, 2), 10); + + switch (s) { + case "1": + case "2": + case "5": + case "6": + r += 1900; + break; + + case "3": + case "4": + case "7": + case "8": + r += 2e3; + break; + + default: + r += 1800; + break; + } + + if (!t$X(r, c, n)) { + return { + meta: {}, + valid: false + }; + } + + var l = [2, 3, 4, 5, 6, 7, 8, 9, 2, 3, 4, 5]; + var o = a.length; + var i = 0; + + for (var _t = 0; _t < o - 1; _t++) { + i += l[_t] * parseInt(a.charAt(_t), 10); + } + + var u = (11 - i % 11) % 10; + return { + meta: {}, + valid: "".concat(u) === a.charAt(o - 1) + }; + } + + function r$8(r) { + if (!/^[0-9]{11}$/.test(r)) { + return { + meta: {}, + valid: false + }; + } + + var e = parseInt(r.charAt(0), 10); + var a = parseInt(r.substr(1, 2), 10); + var s = parseInt(r.substr(3, 2), 10); + var n = parseInt(r.substr(5, 2), 10); + var i = e % 2 === 0 ? 17 + e / 2 : 17 + (e + 1) / 2; + a = i * 100 + a; + + if (!t$X(a, s, n, true)) { + return { + meta: {}, + valid: false + }; + } + + var l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 1]; + var f = 0; + var u; + + for (u = 0; u < 10; u++) { + f += parseInt(r.charAt(u), 10) * l[u]; + } + + f = f % 11; + + if (f !== 10) { + return { + meta: {}, + valid: "".concat(f) === r.charAt(10) + }; + } + + f = 0; + l = [3, 4, 5, 6, 7, 8, 9, 1, 2, 3]; + + for (u = 0; u < 10; u++) { + f += parseInt(r.charAt(u), 10) * l[u]; + } + + f = f % 11; + + if (f === 10) { + f = 0; + } + + return { + meta: {}, + valid: "".concat(f) === r.charAt(10) + }; + } + + function e$p(e) { + if (!/^[0-9]{6}[-]{0,1}[0-9]{5}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = e.replace(/\D/g, ""); + var a = parseInt(r.substr(0, 2), 10); + var s = parseInt(r.substr(2, 2), 10); + var n = parseInt(r.substr(4, 2), 10); + n = n + 1800 + parseInt(r.charAt(6), 10) * 100; + + if (!t$X(n, s, a, true)) { + return { + meta: {}, + valid: false + }; + } + + var l = 0; + var i = [10, 5, 8, 4, 2, 1, 6, 3, 7, 9]; + + for (var _t = 0; _t < 10; _t++) { + l += parseInt(r.charAt(_t), 10) * i[_t]; + } + + l = (l + 1) % 11 % 10; + return { + meta: {}, + valid: "".concat(l) === r.charAt(10) + }; + } + + function r$7(r) { + return { + meta: {}, + valid: t$Q(r, "ME") + }; + } + + function r$6(r) { + return { + meta: {}, + valid: t$Q(r, "MK") + }; + } + + function O(O) { + var t = O.toUpperCase(); + + if (!/^[A-Z]{4}\d{6}[A-Z]{6}[0-9A-Z]\d$/.test(t)) { + return { + meta: {}, + valid: false + }; + } + + var C = ["BACA", "BAKA", "BUEI", "BUEY", "CACA", "CACO", "CAGA", "CAGO", "CAKA", "CAKO", "COGE", "COGI", "COJA", "COJE", "COJI", "COJO", "COLA", "CULO", "FALO", "FETO", "GETA", "GUEI", "GUEY", "JETA", "JOTO", "KACA", "KACO", "KAGA", "KAGO", "KAKA", "KAKO", "KOGE", "KOGI", "KOJA", "KOJE", "KOJI", "KOJO", "KOLA", "KULO", "LILO", "LOCA", "LOCO", "LOKA", "LOKO", "MAME", "MAMO", "MEAR", "MEAS", "MEON", "MIAR", "MION", "MOCO", "MOKO", "MULA", "MULO", "NACA", "NACO", "PEDA", "PEDO", "PENE", "PIPI", "PITO", "POPO", "PUTA", "PUTO", "QULO", "RATA", "ROBA", "ROBE", "ROBO", "RUIN", "SENO", "TETA", "VACA", "VAGA", "VAGO", "VAKA", "VUEI", "VUEY", "WUEI", "WUEY"]; + var e = t.substr(0, 4); + + if (C.indexOf(e) >= 0) { + return { + meta: {}, + valid: false + }; + } + + var s = parseInt(t.substr(4, 2), 10); + var r = parseInt(t.substr(6, 2), 10); + var a = parseInt(t.substr(6, 2), 10); + + if (/^[0-9]$/.test(t.charAt(16))) { + s += 1900; + } else { + s += 2e3; + } + + if (!t$X(s, r, a)) { + return { + meta: {}, + valid: false + }; + } + + var E = t.charAt(10); + + if (E !== "H" && E !== "M") { + return { + meta: {}, + valid: false + }; + } + + var n = t.substr(11, 2); + var K = ["AS", "BC", "BS", "CC", "CH", "CL", "CM", "CS", "DF", "DG", "GR", "GT", "HG", "JC", "MC", "MN", "MS", "NE", "NL", "NT", "OC", "PL", "QR", "QT", "SL", "SP", "SR", "TC", "TL", "TS", "VZ", "YN", "ZS"]; + + if (K.indexOf(n) === -1) { + return { + meta: {}, + valid: false + }; + } + + var i = "0123456789ABCDEFGHIJKLMN&OPQRSTUVWXYZ"; + var L = 0; + var l = t.length; + + for (var _A = 0; _A < l - 1; _A++) { + L += (18 - _A) * i.indexOf(t.charAt(_A)); + } + + L = (10 - L % 10) % 10; + return { + meta: {}, + valid: "".concat(L) === t.charAt(l - 1) + }; + } + + function s$6(s) { + if (!/^\d{12}$/.test(s)) { + return { + meta: {}, + valid: false + }; + } + + var e = parseInt(s.substr(0, 2), 10); + var r = parseInt(s.substr(2, 2), 10); + var a = parseInt(s.substr(4, 2), 10); + + if (!t$X(e + 1900, r, a) && !t$X(e + 2e3, r, a)) { + return { + meta: {}, + valid: false + }; + } + + var n = s.substr(6, 2); + var i = ["17", "18", "19", "20", "69", "70", "73", "80", "81", "94", "95", "96", "97"]; + return { + meta: {}, + valid: i.indexOf(n) === -1 + }; + } + + function e$o(e) { + if (e.length < 8) { + return { + meta: {}, + valid: false + }; + } + + var t = e; + + if (t.length === 8) { + t = "0".concat(t); + } + + if (!/^[0-9]{4}[.]{0,1}[0-9]{2}[.]{0,1}[0-9]{3}$/.test(t)) { + return { + meta: {}, + valid: false + }; + } + + t = t.replace(/\./g, ""); + + if (parseInt(t, 10) === 0) { + return { + meta: {}, + valid: false + }; + } + + var a = 0; + var l = t.length; + + for (var _e = 0; _e < l - 1; _e++) { + a += (9 - _e) * parseInt(t.charAt(_e), 10); + } + + a = a % 11; + + if (a === 10) { + a = 0; + } + + return { + meta: {}, + valid: "".concat(a) === t.charAt(l - 1) + }; + } + + function t$I(t) { + if (!/^\d{11}$/.test(t)) { + return { + meta: {}, + valid: false + }; + } + + var r = function r(t) { + var r = [3, 7, 6, 1, 8, 9, 4, 5, 2]; + var e = 0; + + for (var n = 0; n < 9; n++) { + e += r[n] * parseInt(t.charAt(n), 10); + } + + return 11 - e % 11; + }; + + var e = function e(t) { + var r = [5, 4, 3, 2, 7, 6, 5, 4, 3, 2]; + var e = 0; + + for (var n = 0; n < 10; n++) { + e += r[n] * parseInt(t.charAt(n), 10); + } + + return 11 - e % 11; + }; + + return { + meta: {}, + valid: "".concat(r(t)) === t.substr(-2, 1) && "".concat(e(t)) === t.substr(-1) + }; + } + + function t$H(t) { + if (!/^\d{8}[0-9A-Z]*$/.test(t)) { + return { + meta: {}, + valid: false + }; + } + + if (t.length === 8) { + return { + meta: {}, + valid: true + }; + } + + var e = [3, 2, 7, 6, 5, 4, 3, 2]; + var r = 0; + + for (var _a = 0; _a < 8; _a++) { + r += e[_a] * parseInt(t.charAt(_a), 10); + } + + var a = r % 11; + var n = [6, 5, 4, 3, 2, 1, 1, 0, 9, 8, 7][a]; + var c = "KJIHGFEDCBA".charAt(a); + return { + meta: {}, + valid: t.charAt(8) === "".concat(n) || t.charAt(8) === c + }; + } + + function t$G(t) { + if (!/^[0-9]{11}$/.test(t)) { + return { + meta: {}, + valid: false + }; + } + + var e = 0; + var a = t.length; + var r = [1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7]; + + for (var n = 0; n < a - 1; n++) { + e += r[n] * parseInt(t.charAt(n), 10); + } + + e = e % 10; + + if (e === 0) { + e = 10; + } + + e = 10 - e; + return { + meta: {}, + valid: "".concat(e) === t.charAt(a - 1) + }; + } + + function e$n(e) { + if (!/^[0-9]{13}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var a = parseInt(e.charAt(0), 10); + + if (a === 0 || a === 7 || a === 8) { + return { + meta: {}, + valid: false + }; + } + + var r = parseInt(e.substr(1, 2), 10); + var s = parseInt(e.substr(3, 2), 10); + var n = parseInt(e.substr(5, 2), 10); + var i = { + 1: 1900, + 2: 1900, + 3: 1800, + 4: 1800, + 5: 2e3, + 6: 2e3 + }; + + if (n > 31 && s > 12) { + return { + meta: {}, + valid: false + }; + } + + if (a !== 9) { + r = i[a + ""] + r; + + if (!t$X(r, s, n)) { + return { + meta: {}, + valid: false + }; + } + } + + var l = 0; + var f = [2, 7, 9, 1, 4, 6, 3, 5, 8, 2, 7, 9]; + var o = e.length; + + for (var _t = 0; _t < o - 1; _t++) { + l += parseInt(e.charAt(_t), 10) * f[_t]; + } + + l = l % 11; + + if (l === 10) { + l = 1; + } + + return { + meta: {}, + valid: "".concat(l) === e.charAt(o - 1) + }; + } + + function r$5(r) { + return { + meta: {}, + valid: t$Q(r, "RS") + }; + } + + function r$4(r) { + if (!/^[0-9]{10}$/.test(r) && !/^[0-9]{6}[-|+][0-9]{4}$/.test(r)) { + return { + meta: {}, + valid: false + }; + } + + var e = r.replace(/[^0-9]/g, ""); + var a = parseInt(e.substr(0, 2), 10) + 1900; + var n = parseInt(e.substr(2, 2), 10); + var i = parseInt(e.substr(4, 2), 10); + + if (!t$X(a, n, i)) { + return { + meta: {}, + valid: false + }; + } + + return { + meta: {}, + valid: t$14(e) + }; + } + + function r$3(r) { + return { + meta: {}, + valid: t$Q(r, "SI") + }; + } + + function t$F(t) { + return { + meta: {}, + valid: /^\d{5}$/.test(t) + }; + } + + function t$E(t) { + if (t.length !== 13) { + return { + meta: {}, + valid: false + }; + } + + var e = 0; + + for (var a = 0; a < 12; a++) { + e += parseInt(t.charAt(a), 10) * (13 - a); + } + + return { + meta: {}, + valid: (11 - e % 11) % 10 === parseInt(t.charAt(12), 10) + }; + } + + function t$D(t) { + if (t.length !== 11) { + return { + meta: {}, + valid: false + }; + } + + var e = 0; + + for (var a = 0; a < 10; a++) { + e += parseInt(t.charAt(a), 10); + } + + return { + meta: {}, + valid: e % 10 === parseInt(t.charAt(10), 10) + }; + } + + function t$C(t) { + var e = t.toUpperCase(); + + if (!/^[A-Z][12][0-9]{8}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var a = e.length; + var n = "ABCDEFGHJKLMNPQRSTUVXYWZIO"; + var r = n.indexOf(e.charAt(0)) + 10; + var o = Math.floor(r / 10) + r % 10 * (a - 1); + var s = 0; + + for (var _t = 1; _t < a - 1; _t++) { + s += parseInt(e.charAt(_t), 10) * (a - 1 - _t); + } + + return { + meta: {}, + valid: (o + s + parseInt(e.charAt(a - 1), 10)) % 10 === 0 + }; + } + + function t$B(t) { + if (!/^\d{8}$/.test(t)) { + return { + meta: {}, + valid: false + }; + } + + var e = [2, 9, 8, 7, 6, 3, 4]; + var a = 0; + + for (var r = 0; r < 7; r++) { + a += parseInt(t.charAt(r), 10) * e[r]; + } + + a = a % 10; + + if (a > 0) { + a = 10 - a; + } + + return { + meta: {}, + valid: "".concat(a) === t.charAt(7) + }; + } + + function r$2(r) { + if (!/^[0-9]{10}[0|1][8|9][0-9]$/.test(r)) { + return { + meta: {}, + valid: false + }; + } + + var s = parseInt(r.substr(0, 2), 10); + var a = new Date().getFullYear() % 100; + var l = parseInt(r.substr(2, 2), 10); + var n = parseInt(r.substr(4, 2), 10); + s = s >= a ? s + 1900 : s + 2e3; + + if (!t$X(s, l, n)) { + return { + meta: {}, + valid: false + }; + } + + return { + meta: {}, + valid: t$14(r) + }; + } + + function F() { + var F = ["AR", "BA", "BG", "BR", "CH", "CL", "CN", "CO", "CZ", "DK", "EE", "ES", "FI", "FR", "HK", "HR", "ID", "IE", "IL", "IS", "KR", "LT", "LV", "ME", "MK", "MX", "MY", "NL", "NO", "PE", "PL", "RO", "RS", "SE", "SI", "SK", "SM", "TH", "TR", "TW", "UY", "ZA"]; + return { + validate: function validate(P) { + if (P.value === "") { + return { + valid: true + }; + } + + var Y = Object.assign({}, { + message: "" + }, P.options); + var Z = P.value.substr(0, 2); + + if ("function" === typeof Y.country) { + Z = Y.country.call(this); + } else { + Z = Y.country; + } + + if (F.indexOf(Z) === -1) { + return { + valid: true + }; + } + + var G = { + meta: {}, + valid: true + }; + + switch (Z.toLowerCase()) { + case "ar": + G = t$R(P.value); + break; + + case "ba": + G = r$a(P.value); + break; + + case "bg": + G = e$x(P.value); + break; + + case "br": + G = t$P(P.value); + break; + + case "ch": + G = t$O(P.value); + break; + + case "cl": + G = e$w(P.value); + break; + + case "cn": + G = r$9(P.value); + break; + + case "co": + G = t$N(P.value); + break; + + case "cz": + G = e$v(P.value); + break; + + case "dk": + G = e$u(P.value); + break; + + case "ee": + G = r$8(P.value); + break; + + case "es": + G = t$M(P.value); + break; + + case "fi": + G = s$7(P.value); + break; + + case "fr": + G = t$L(P.value); + break; + + case "hk": + G = t$K(P.value); + break; + + case "hr": + G = o$1(P.value); + break; + + case "id": + G = e$t(P.value); + break; + + case "ie": + G = t$J(P.value); + break; + + case "il": + G = e$s(P.value); + break; + + case "is": + G = e$r(P.value); + break; + + case "kr": + G = e$q(P.value); + break; + + case "lt": + G = r$8(P.value); + break; + + case "lv": + G = e$p(P.value); + break; + + case "me": + G = r$7(P.value); + break; + + case "mk": + G = r$6(P.value); + break; + + case "mx": + G = O(P.value); + break; + + case "my": + G = s$6(P.value); + break; + + case "nl": + G = e$o(P.value); + break; + + case "no": + G = t$I(P.value); + break; + + case "pe": + G = t$H(P.value); + break; + + case "pl": + G = t$G(P.value); + break; + + case "ro": + G = e$n(P.value); + break; + + case "rs": + G = r$5(P.value); + break; + + case "se": + G = r$4(P.value); + break; + + case "si": + G = r$3(P.value); + break; + + case "sk": + G = e$v(P.value); + break; + + case "sm": + G = t$F(P.value); + break; + + case "th": + G = t$E(P.value); + break; + + case "tr": + G = t$D(P.value); + break; + + case "tw": + G = t$C(P.value); + break; + + case "uy": + G = t$B(P.value); + break; + + case "za": + G = r$2(P.value); + break; + } + + var V = r$d(P.l10n && P.l10n.id ? Y.message || P.l10n.id.country : Y.message, P.l10n && P.l10n.id && P.l10n.id.countries ? P.l10n.id.countries[Z.toUpperCase()] : Z.toUpperCase()); + return Object.assign({}, { + message: V + }, G); + } + }; + } + + function t$A() { + return { + validate: function validate(t) { + if (t.value === "") { + return { + valid: true + }; + } + + switch (true) { + case /^\d{15}$/.test(t.value): + case /^\d{2}-\d{6}-\d{6}-\d{1}$/.test(t.value): + case /^\d{2}\s\d{6}\s\d{6}\s\d{1}$/.test(t.value): + return { + valid: t$14(t.value.replace(/[^0-9]/g, "")) + }; + + case /^\d{14}$/.test(t.value): + case /^\d{16}$/.test(t.value): + case /^\d{2}-\d{6}-\d{6}(|-\d{2})$/.test(t.value): + case /^\d{2}\s\d{6}\s\d{6}(|\s\d{2})$/.test(t.value): + return { + valid: true + }; + + default: + return { + valid: false + }; + } + } + }; + } + + function e$m() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + if (!/^IMO \d{7}$/i.test(e.value)) { + return { + valid: false + }; + } + + var t = e.value.replace(/^.*(\d{7})$/, "$1"); + var r = 0; + + for (var _e = 6; _e >= 1; _e--) { + r += parseInt(t.slice(6 - _e, -_e), 10) * (_e + 1); + } + + return { + valid: r % 10 === parseInt(t.charAt(6), 10) + }; + } + }; + } + + function e$l() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + meta: { + type: null + }, + valid: true + }; + } + + var t; + + switch (true) { + case /^\d{9}[\dX]$/.test(e.value): + case e.value.length === 13 && /^(\d+)-(\d+)-(\d+)-([\dX])$/.test(e.value): + case e.value.length === 13 && /^(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(e.value): + t = "ISBN10"; + break; + + case /^(978|979)\d{9}[\dX]$/.test(e.value): + case e.value.length === 17 && /^(978|979)-(\d+)-(\d+)-(\d+)-([\dX])$/.test(e.value): + case e.value.length === 17 && /^(978|979)\s(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(e.value): + t = "ISBN13"; + break; + + default: + return { + meta: { + type: null + }, + valid: false + }; + } + + var a = e.value.replace(/[^0-9X]/gi, "").split(""); + var l = a.length; + var s = 0; + var d; + var u; + + switch (t) { + case "ISBN10": + s = 0; + + for (d = 0; d < l - 1; d++) { + s += parseInt(a[d], 10) * (10 - d); + } + + u = 11 - s % 11; + + if (u === 11) { + u = 0; + } else if (u === 10) { + u = "X"; + } + + return { + meta: { + type: t + }, + valid: "".concat(u) === a[l - 1] + }; + + case "ISBN13": + s = 0; + + for (d = 0; d < l - 1; d++) { + s += d % 2 === 0 ? parseInt(a[d], 10) : parseInt(a[d], 10) * 3; + } + + u = 10 - s % 10; + + if (u === 10) { + u = "0"; + } + + return { + meta: { + type: t + }, + valid: "".concat(u) === a[l - 1] + }; + } + } + }; + } + + function M() { + var M = "AF|AX|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BQ|BA|BW|" + "BV|BR|IO|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CG|CD|CK|CR|CI|HR|CU|CW|CY|CZ|DK|DJ|DM|DO|EC|EG|" + "SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|GF|PF|TF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GP|GU|GT|GG|GN|GW|GY|HT|HM|VA|HN|HK|HU|IS|" + "IN|ID|IR|IQ|IE|IM|IL|IT|JM|JP|JE|JO|KZ|KE|KI|KP|KR|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|" + "MH|MQ|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|NC|NZ|NI|NE|NG|NU|NF|MP|NO|OM|PK|PW|PS|PA|PG|PY|PE|" + "PH|PN|PL|PT|PR|QA|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|GS|SS|ES|LK|" + "SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TL|TG|TK|TO|TT|TN|TR|TM|TC|TV|UG|UA|AE|GB|US|UM|UY|UZ|VU|VE|VN|VG|VI|WF|EH|" + "YE|ZM|ZW"; + return { + validate: function validate(t) { + if (t.value === "") { + return { + valid: true + }; + } + + var S = t.value.toUpperCase(); + var A = new RegExp("^(" + M + ")[0-9A-Z]{10}$"); + + if (!A.test(t.value)) { + return { + valid: false + }; + } + + var G = S.length; + var C = ""; + var T; + + for (T = 0; T < G - 1; T++) { + var _M = S.charCodeAt(T); + + C += _M > 57 ? (_M - 55).toString() : S.charAt(T); + } + + var e = ""; + var B = C.length; + var E = B % 2 !== 0 ? 0 : 1; + + for (T = 0; T < B; T++) { + e += parseInt(C[T], 10) * (T % 2 === E ? 2 : 1) + ""; + } + + var N = 0; + + for (T = 0; T < e.length; T++) { + N += parseInt(e.charAt(T), 10); + } + + N = (10 - N % 10) % 10; + return { + valid: "".concat(N) === S.charAt(G - 1) + }; + } + }; + } + + function e$k() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + meta: null, + valid: true + }; + } + + var t; + + switch (true) { + case /^M\d{9}$/.test(e.value): + case /^M-\d{4}-\d{4}-\d{1}$/.test(e.value): + case /^M\s\d{4}\s\d{4}\s\d{1}$/.test(e.value): + t = "ISMN10"; + break; + + case /^9790\d{9}$/.test(e.value): + case /^979-0-\d{4}-\d{4}-\d{1}$/.test(e.value): + case /^979\s0\s\d{4}\s\d{4}\s\d{1}$/.test(e.value): + t = "ISMN13"; + break; + + default: + return { + meta: null, + valid: false + }; + } + + var a = e.value; + + if ("ISMN10" === t) { + a = "9790".concat(a.substr(1)); + } + + a = a.replace(/[^0-9]/gi, ""); + var s = 0; + var l = a.length; + var d = [1, 3]; + + for (var _e = 0; _e < l - 1; _e++) { + s += parseInt(a.charAt(_e), 10) * d[_e % 2]; + } + + s = (10 - s % 10) % 10; + return { + meta: { + type: t + }, + valid: "".concat(s) === a.charAt(l - 1) + }; + } + }; + } + + function e$j() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + if (!/^\d{4}-\d{3}[\dX]$/.test(e.value)) { + return { + valid: false + }; + } + + var t = e.value.replace(/[^0-9X]/gi, "").split(""); + var l = t.length; + var r = 0; + + if (t[7] === "X") { + t[7] = "10"; + } + + for (var _e = 0; _e < l; _e++) { + r += parseInt(t[_e], 10) * (8 - _e); + } + + return { + valid: r % 11 === 0 + }; + } + }; + } + + function a$1() { + return { + validate: function validate(a) { + return { + valid: a.value === "" || /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/.test(a.value) || /^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/.test(a.value) + }; + } + }; + } + + function e$i() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + var r = e.value; + + if (/^[0-9A-F]{15}$/i.test(r) || /^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}[- ][0-9A-F]$/i.test(r) || /^\d{19}$/.test(r) || /^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}[- ]\d$/.test(r)) { + var _e = r.charAt(r.length - 1).toUpperCase(); + + r = r.replace(/[- ]/g, ""); + + if (r.match(/^\d*$/i)) { + return { + valid: t$14(r) + }; + } + + r = r.slice(0, -1); + var a = ""; + var i; + + for (i = 1; i <= 13; i += 2) { + a += (parseInt(r.charAt(i), 16) * 2).toString(16); + } + + var l = 0; + + for (i = 0; i < a.length; i++) { + l += parseInt(a.charAt(i), 16); + } + + return { + valid: l % 10 === 0 ? _e === "0" : _e === ((Math.floor((l + 10) / 10) * 10 - l) * 2).toString(16).toUpperCase() + }; + } + + if (/^[0-9A-F]{14}$/i.test(r) || /^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}$/i.test(r) || /^\d{18}$/.test(r) || /^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}$/.test(r)) { + return { + valid: true + }; + } + + return { + valid: false + }; + } + }; + } + + function e$h() { + var e = ["AE", "BG", "BR", "CN", "CZ", "DE", "DK", "ES", "FR", "GB", "IN", "MA", "NL", "PK", "RO", "RU", "SK", "TH", "US", "VE"]; + return { + validate: function validate(t) { + if (t.value === "") { + return { + valid: true + }; + } + + var a = Object.assign({}, { + message: "" + }, t.options); + var d = t.value.trim(); + var r = d.substr(0, 2); + + if ("function" === typeof a.country) { + r = a.country.call(this); + } else { + r = a.country; + } + + if (!r || e.indexOf(r.toUpperCase()) === -1) { + return { + valid: true + }; + } + + var c = true; + + switch (r.toUpperCase()) { + case "AE": + c = /^(((\+|00)?971[\s.-]?(\(0\)[\s.-]?)?|0)(\(5(0|2|5|6)\)|5(0|2|5|6)|2|3|4|6|7|9)|60)([\s.-]?[0-9]){7}$/.test(d); + break; + + case "BG": + c = /^(0|359|00)(((700|900)[0-9]{5}|((800)[0-9]{5}|(800)[0-9]{4}))|(87|88|89)([0-9]{7})|((2[0-9]{7})|(([3-9][0-9])(([0-9]{6})|([0-9]{5})))))$/.test(d.replace(/\+|\s|-|\/|\(|\)/gi, "")); + break; + + case "BR": + c = /^(([\d]{4}[-.\s]{1}[\d]{2,3}[-.\s]{1}[\d]{2}[-.\s]{1}[\d]{2})|([\d]{4}[-.\s]{1}[\d]{3}[-.\s]{1}[\d]{4})|((\(?\+?[0-9]{2}\)?\s?)?(\(?\d{2}\)?\s?)?\d{4,5}[-.\s]?\d{4}))$/.test(d); + break; + + case "CN": + c = /^((00|\+)?(86(?:-| )))?((\d{11})|(\d{3}[- ]{1}\d{4}[- ]{1}\d{4})|((\d{2,4}[- ]){1}(\d{7,8}|(\d{3,4}[- ]{1}\d{4}))([- ]{1}\d{1,4})?))$/.test(d); + break; + + case "CZ": + c = /^(((00)([- ]?)|\+)(420)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(d); + break; + + case "DE": + c = /^(((((((00|\+)49[ \-/]?)|0)[1-9][0-9]{1,4})[ \-/]?)|((((00|\+)49\()|\(0)[1-9][0-9]{1,4}\)[ \-/]?))[0-9]{1,7}([ \-/]?[0-9]{1,5})?)$/.test(d); + break; + + case "DK": + c = /^(\+45|0045|\(45\))?\s?[2-9](\s?\d){7}$/.test(d); + break; + + case "ES": + c = /^(?:(?:(?:\+|00)34\D?))?(?:5|6|7|8|9)(?:\d\D?){8}$/.test(d); + break; + + case "FR": + c = /^(?:(?:(?:\+|00)33[ ]?(?:\(0\)[ ]?)?)|0){1}[1-9]{1}([ .-]?)(?:\d{2}\1?){3}\d{2}$/.test(d); + break; + + case "GB": + c = /^\(?(?:(?:0(?:0|11)\)?[\s-]?\(?|\+)44\)?[\s-]?\(?(?:0\)?[\s-]?\(?)?|0)(?:\d{2}\)?[\s-]?\d{4}[\s-]?\d{4}|\d{3}\)?[\s-]?\d{3}[\s-]?\d{3,4}|\d{4}\)?[\s-]?(?:\d{5}|\d{3}[\s-]?\d{3})|\d{5}\)?[\s-]?\d{4,5}|8(?:00[\s-]?11[\s-]?11|45[\s-]?46[\s-]?4\d))(?:(?:[\s-]?(?:x|ext\.?\s?|#)\d+)?)$/.test(d); + break; + + case "IN": + c = /((\+?)((0[ -]+)*|(91 )*)(\d{12}|\d{10}))|\d{5}([- ]*)\d{6}/.test(d); + break; + + case "MA": + c = /^(?:(?:(?:\+|00)212[\s]?(?:[\s]?\(0\)[\s]?)?)|0){1}(?:5[\s.-]?[2-3]|6[\s.-]?[13-9]){1}[0-9]{1}(?:[\s.-]?\d{2}){3}$/.test(d); + break; + + case "NL": + c = /^((\+|00(\s|\s?-\s?)?)31(\s|\s?-\s?)?(\(0\)[-\s]?)?|0)[1-9]((\s|\s?-\s?)?[0-9])((\s|\s?-\s?)?[0-9])((\s|\s?-\s?)?[0-9])\s?[0-9]\s?[0-9]\s?[0-9]\s?[0-9]\s?[0-9]$/gm.test(d); + break; + + case "PK": + c = /^0?3[0-9]{2}[0-9]{7}$/.test(d); + break; + + case "RO": + c = /^(\+4|)?(07[0-8]{1}[0-9]{1}|02[0-9]{2}|03[0-9]{2}){1}?(\s|\.|-)?([0-9]{3}(\s|\.|-|)){2}$/g.test(d); + break; + + case "RU": + c = /^((8|\+7|007)[-./ ]?)?([(/.]?\d{3}[)/.]?[-./ ]?)?[\d\-./ ]{7,10}$/g.test(d); + break; + + case "SK": + c = /^(((00)([- ]?)|\+)(421)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(d); + break; + + case "TH": + c = /^0\(?([6|8-9]{2})*-([0-9]{3})*-([0-9]{4})$/.test(d); + break; + + case "VE": + c = /^0(?:2(?:12|4[0-9]|5[1-9]|6[0-9]|7[0-8]|8[1-35-8]|9[1-5]|3[45789])|4(?:1[246]|2[46]))\d{7}$/.test(d); + break; + + case "US": + default: + c = /^(?:(1-?)|(\+1 ?))?\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}$/.test(d); + break; + } + + return { + message: r$d(t.l10n && t.l10n.phone ? a.message || t.l10n.phone.country : a.message, t.l10n && t.l10n.phone && t.l10n.phone.countries ? t.l10n.phone.countries[r] : r), + valid: c + }; + } + }; + } + + function e$g() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + if (!/^\d{9}$/.test(e.value)) { + return { + valid: false + }; + } + + var t = 0; + + for (var a = 0; a < e.value.length; a += 3) { + t += parseInt(e.value.charAt(a), 10) * 3 + parseInt(e.value.charAt(a + 1), 10) * 7 + parseInt(e.value.charAt(a + 2), 10); + } + + return { + valid: t !== 0 && t % 10 === 0 + }; + } + }; + } + + function t$z() { + return { + validate: function validate(t) { + if (t.value === "") { + return { + valid: true + }; + } + + var e = t.value.toUpperCase(); + + if (!/^[0-9A-Z]{7}$/.test(e)) { + return { + valid: false + }; + } + + var r = [1, 3, 1, 7, 3, 9, 1]; + var a = e.length; + var l = 0; + + for (var _t = 0; _t < a - 1; _t++) { + l += r[_t] * parseInt(e.charAt(_t), 36); + } + + l = (10 - l % 10) % 10; + return { + valid: "".concat(l) === e.charAt(a - 1) + }; + } + }; + } + + function e$f() { + return { + validate: function validate(e) { + return { + valid: e.value === "" || /^\d{9}$/.test(e.value) && t$14(e.value) + }; + } + }; + } + + function e$e() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + var t = e.value.length; + var l = 0; + var r; + + for (var a = 0; a < t; a++) { + r = parseInt(e.value.charAt(a), 10); + + if (a % 2 === 0) { + r = r * 2; + + if (r > 9) { + r -= 9; + } + } + + l += r; + } + + return { + valid: l % 10 === 0 + }; + } + }; + } + + function e$d() { + var e = function e(t, _e) { + var s = Math.pow(10, _e); + var a = t * s; + var n; + + switch (true) { + case a === 0: + n = 0; + break; + + case a > 0: + n = 1; + break; + + case a < 0: + n = -1; + break; + } + + var r = a % 1 === .5 * n; + return r ? (Math.floor(a) + (n > 0 ? 1 : 0)) / s : Math.round(a) / s; + }; + + var s = function s(t, _s) { + if (_s === 0) { + return 1; + } + + var a = "".concat(t).split("."); + var n = "".concat(_s).split("."); + var r = (a.length === 1 ? 0 : a[1].length) + (n.length === 1 ? 0 : n[1].length); + return e(t - _s * Math.floor(t / _s), r); + }; + + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + var a = parseFloat(e.value); + + if (isNaN(a) || !isFinite(a)) { + return { + valid: false + }; + } + + var n = Object.assign({}, { + baseValue: 0, + message: "", + step: 1 + }, e.options); + var r = s(a - n.baseValue, n.step); + return { + message: r$d(e.l10n ? n.message || e.l10n.step["default"] : n.message, "".concat(n.step)), + valid: r === 0 || r === n.step + }; + } + }; + } + + function s$5() { + return { + validate: function validate(s) { + if (s.value === "") { + return { + valid: true + }; + } + + var A = Object.assign({}, { + message: "" + }, s.options); + var i = { + 3: /^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i, + 4: /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i, + 5: /^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i, + all: /^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i + }; + var n = A.version ? "".concat(A.version) : "all"; + return { + message: A.version ? r$d(s.l10n ? A.message || s.l10n.uuid.version : A.message, A.version) : s.l10n ? s.l10n.uuid["default"] : A.message, + valid: null === i[n] ? true : i[n].test(s.value) + }; + } + }; + } + + function t$y(t) { + var e = t.replace("-", ""); + + if (/^AR[0-9]{11}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{11}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = [5, 4, 3, 2, 7, 6, 5, 4, 3, 2]; + var a = 0; + + for (var _t = 0; _t < 10; _t++) { + a += parseInt(e.charAt(_t), 10) * r[_t]; + } + + a = 11 - a % 11; + + if (a === 11) { + a = 0; + } + + return { + meta: {}, + valid: "".concat(a) === e.substr(10) + }; + } + + function t$x(t) { + var e = t; + + if (/^ATU[0-9]{8}$/.test(e)) { + e = e.substr(2); + } + + if (!/^U[0-9]{8}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + e = e.substr(1); + var r = [1, 2, 1, 2, 1, 2, 1]; + var s = 0; + var a = 0; + + for (var _t = 0; _t < 7; _t++) { + a = parseInt(e.charAt(_t), 10) * r[_t]; + + if (a > 9) { + a = Math.floor(a / 10) + a % 10; + } + + s += a; + } + + s = 10 - (s + 4) % 10; + + if (s === 10) { + s = 0; + } + + return { + meta: {}, + valid: "".concat(s) === e.substr(7, 1) + }; + } + + function t$w(t) { + var e = t; + + if (/^BE[0]?[0-9]{9}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0]?[0-9]{9}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + if (e.length === 9) { + e = "0".concat(e); + } + + if (e.substr(1, 1) === "0") { + return { + meta: {}, + valid: false + }; + } + + var s = parseInt(e.substr(0, 8), 10) + parseInt(e.substr(8, 2), 10); + return { + meta: {}, + valid: s % 97 === 0 + }; + } + + function r$1(r) { + var e = r; + + if (/^BG[0-9]{9,10}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{9,10}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var s = 0; + var n = 0; + + if (e.length === 9) { + for (n = 0; n < 8; n++) { + s += parseInt(e.charAt(n), 10) * (n + 1); + } + + s = s % 11; + + if (s === 10) { + s = 0; + + for (n = 0; n < 8; n++) { + s += parseInt(e.charAt(n), 10) * (n + 3); + } + + s = s % 11; + } + + s = s % 10; + return { + meta: {}, + valid: "".concat(s) === e.substr(8) + }; + } else { + var _r = function _r(r) { + var e = parseInt(r.substr(0, 2), 10) + 1900; + var s = parseInt(r.substr(2, 2), 10); + var n = parseInt(r.substr(4, 2), 10); + + if (s > 40) { + e += 100; + s -= 40; + } else if (s > 20) { + e -= 100; + s -= 20; + } + + if (!t$X(e, s, n)) { + return false; + } + + var a = [2, 4, 8, 5, 10, 9, 7, 3, 6]; + var l = 0; + + for (var _t = 0; _t < 9; _t++) { + l += parseInt(r.charAt(_t), 10) * a[_t]; + } + + l = l % 11 % 10; + return "".concat(l) === r.substr(9, 1); + }; + + var _s = function _s(t) { + var r = [21, 19, 17, 13, 11, 9, 7, 3, 1]; + var e = 0; + + for (var _s2 = 0; _s2 < 9; _s2++) { + e += parseInt(t.charAt(_s2), 10) * r[_s2]; + } + + e = e % 10; + return "".concat(e) === t.substr(9, 1); + }; + + var _n = function _n(t) { + var r = [4, 3, 2, 7, 6, 5, 4, 3, 2]; + var e = 0; + + for (var _s3 = 0; _s3 < 9; _s3++) { + e += parseInt(t.charAt(_s3), 10) * r[_s3]; + } + + e = 11 - e % 11; + + if (e === 10) { + return false; + } + + if (e === 11) { + e = 0; + } + + return "".concat(e) === t.substr(9, 1); + }; + + return { + meta: {}, + valid: _r(e) || _s(e) || _n(e) + }; + } + } + + function t$v(t) { + if (t === "") { + return { + meta: {}, + valid: true + }; + } + + var e = t.replace(/[^\d]+/g, ""); + + if (e === "" || e.length !== 14) { + return { + meta: {}, + valid: false + }; + } + + if (e === "00000000000000" || e === "11111111111111" || e === "22222222222222" || e === "33333333333333" || e === "44444444444444" || e === "55555555555555" || e === "66666666666666" || e === "77777777777777" || e === "88888888888888" || e === "99999999999999") { + return { + meta: {}, + valid: false + }; + } + + var r = e.length - 2; + var a = e.substring(0, r); + var l = e.substring(r); + var n = 0; + var i = r - 7; + var s; + + for (s = r; s >= 1; s--) { + n += parseInt(a.charAt(r - s), 10) * i--; + + if (i < 2) { + i = 9; + } + } + + var f = n % 11 < 2 ? 0 : 11 - n % 11; + + if (f !== parseInt(l.charAt(0), 10)) { + return { + meta: {}, + valid: false + }; + } + + r = r + 1; + a = e.substring(0, r); + n = 0; + i = r - 7; + + for (s = r; s >= 1; s--) { + n += parseInt(a.charAt(r - s), 10) * i--; + + if (i < 2) { + i = 9; + } + } + + f = n % 11 < 2 ? 0 : 11 - n % 11; + return { + meta: {}, + valid: f === parseInt(l.charAt(1), 10) + }; + } + + function t$u(t) { + var e = t; + + if (/^CHE[0-9]{9}(MWST|TVA|IVA|TPV)?$/.test(e)) { + e = e.substr(2); + } + + if (!/^E[0-9]{9}(MWST|TVA|IVA|TPV)?$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + e = e.substr(1); + var r = [5, 4, 3, 2, 7, 6, 5, 4]; + var s = 0; + + for (var _t = 0; _t < 8; _t++) { + s += parseInt(e.charAt(_t), 10) * r[_t]; + } + + s = 11 - s % 11; + + if (s === 10) { + return { + meta: {}, + valid: false + }; + } + + if (s === 11) { + s = 0; + } + + return { + meta: {}, + valid: "".concat(s) === e.substr(8, 1) + }; + } + + function t$t(t) { + var e = t; + + if (/^CY[0-5|9][0-9]{7}[A-Z]$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-5|9][0-9]{7}[A-Z]$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + if (e.substr(0, 2) === "12") { + return { + meta: {}, + valid: false + }; + } + + var r = 0; + var s = { + 0: 1, + 1: 0, + 2: 5, + 3: 7, + 4: 9, + 5: 13, + 6: 15, + 7: 17, + 8: 19, + 9: 21 + }; + + for (var _t = 0; _t < 8; _t++) { + var a = parseInt(e.charAt(_t), 10); + + if (_t % 2 === 0) { + a = s["".concat(a)]; + } + + r += a; + } + + return { + meta: {}, + valid: "".concat("ABCDEFGHIJKLMNOPQRSTUVWXYZ"[r % 26]) === e.substr(8, 1) + }; + } + + function e$c(e) { + var r = e; + + if (/^CZ[0-9]{8,10}$/.test(r)) { + r = r.substr(2); + } + + if (!/^[0-9]{8,10}$/.test(r)) { + return { + meta: {}, + valid: false + }; + } + + var a = 0; + var s = 0; + + if (r.length === 8) { + if ("".concat(r.charAt(0)) === "9") { + return { + meta: {}, + valid: false + }; + } + + a = 0; + + for (s = 0; s < 7; s++) { + a += parseInt(r.charAt(s), 10) * (8 - s); + } + + a = 11 - a % 11; + + if (a === 10) { + a = 0; + } + + if (a === 11) { + a = 1; + } + + return { + meta: {}, + valid: "".concat(a) === r.substr(7, 1) + }; + } else if (r.length === 9 && "".concat(r.charAt(0)) === "6") { + a = 0; + + for (s = 0; s < 7; s++) { + a += parseInt(r.charAt(s + 1), 10) * (8 - s); + } + + a = 11 - a % 11; + + if (a === 10) { + a = 0; + } + + if (a === 11) { + a = 1; + } + + a = [8, 7, 6, 5, 4, 3, 2, 1, 0, 9, 10][a - 1]; + return { + meta: {}, + valid: "".concat(a) === r.substr(8, 1) + }; + } else if (r.length === 9 || r.length === 10) { + var _e = 1900 + parseInt(r.substr(0, 2), 10); + + var _a = parseInt(r.substr(2, 2), 10) % 50 % 20; + + var _s = parseInt(r.substr(4, 2), 10); + + if (r.length === 9) { + if (_e >= 1980) { + _e -= 100; + } + + if (_e > 1953) { + return { + meta: {}, + valid: false + }; + } + } else if (_e < 1954) { + _e += 100; + } + + if (!t$X(_e, _a, _s)) { + return { + meta: {}, + valid: false + }; + } + + if (r.length === 10) { + var _t = parseInt(r.substr(0, 9), 10) % 11; + + if (_e < 1985) { + _t = _t % 10; + } + + return { + meta: {}, + valid: "".concat(_t) === r.substr(9, 1) + }; + } + + return { + meta: {}, + valid: true + }; + } + + return { + meta: {}, + valid: false + }; + } + + function e$b(e) { + var r = e; + + if (/^DE[0-9]{9}$/.test(r)) { + r = r.substr(2); + } + + if (!/^[0-9]{9}$/.test(r)) { + return { + meta: {}, + valid: false + }; + } + + return { + meta: {}, + valid: t$13(r) + }; + } + + function t$s(t) { + var e = t; + + if (/^DK[0-9]{8}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{8}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = 0; + var a = [2, 7, 6, 5, 4, 3, 2, 1]; + + for (var _t = 0; _t < 8; _t++) { + r += parseInt(e.charAt(_t), 10) * a[_t]; + } + + return { + meta: {}, + valid: r % 11 === 0 + }; + } + + function t$r(t) { + var e = t; + + if (/^EE[0-9]{9}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{9}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = 0; + var a = [3, 7, 1, 3, 7, 1, 3, 7, 1]; + + for (var _t = 0; _t < 9; _t++) { + r += parseInt(e.charAt(_t), 10) * a[_t]; + } + + return { + meta: {}, + valid: r % 10 === 0 + }; + } + + function t$q(t) { + var e = t; + + if (/^ES[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var s = function s(t) { + var e = parseInt(t.substr(0, 8), 10); + return "".concat("TRWAGMYFPDXBNJZSQVHLCKE"[e % 23]) === t.substr(8, 1); + }; + + var r = function r(t) { + var e = ["XYZ".indexOf(t.charAt(0)), t.substr(1)].join(""); + var s = "TRWAGMYFPDXBNJZSQVHLCKE"[parseInt(e, 10) % 23]; + return "".concat(s) === t.substr(8, 1); + }; + + var n = function n(t) { + var e = t.charAt(0); + var s; + + if ("KLM".indexOf(e) !== -1) { + s = parseInt(t.substr(1, 8), 10); + s = "TRWAGMYFPDXBNJZSQVHLCKE"[s % 23]; + return "".concat(s) === t.substr(8, 1); + } else if ("ABCDEFGHJNPQRSUVW".indexOf(e) !== -1) { + var _e = [2, 1, 2, 1, 2, 1, 2]; + var _s = 0; + var _r = 0; + + for (var _n = 0; _n < 7; _n++) { + _r = parseInt(t.charAt(_n + 1), 10) * _e[_n]; + + if (_r > 9) { + _r = Math.floor(_r / 10) + _r % 10; + } + + _s += _r; + } + + _s = 10 - _s % 10; + + if (_s === 10) { + _s = 0; + } + + return "".concat(_s) === t.substr(8, 1) || "JABCDEFGHI"[_s] === t.substr(8, 1); + } + + return false; + }; + + var a = e.charAt(0); + + if (/^[0-9]$/.test(a)) { + return { + meta: { + type: "DNI" + }, + valid: s(e) + }; + } else if (/^[XYZ]$/.test(a)) { + return { + meta: { + type: "NIE" + }, + valid: r(e) + }; + } else { + return { + meta: { + type: "CIF" + }, + valid: n(e) + }; + } + } + + function t$p(t) { + var e = t; + + if (/^FI[0-9]{8}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{8}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = [7, 9, 10, 5, 8, 4, 2, 1]; + var a = 0; + + for (var _t = 0; _t < 8; _t++) { + a += parseInt(e.charAt(_t), 10) * r[_t]; + } + + return { + meta: {}, + valid: a % 11 === 0 + }; + } + + function e$a(e) { + var r = e; + + if (/^FR[0-9A-Z]{2}[0-9]{9}$/.test(r)) { + r = r.substr(2); + } + + if (!/^[0-9A-Z]{2}[0-9]{9}$/.test(r)) { + return { + meta: {}, + valid: false + }; + } + + if (r.substr(2, 4) !== "000") { + return { + meta: {}, + valid: t$14(r.substr(2)) + }; + } + + if (/^[0-9]{2}$/.test(r.substr(0, 2))) { + return { + meta: {}, + valid: r.substr(0, 2) === "".concat(parseInt(r.substr(2) + "12", 10) % 97) + }; + } else { + var _t = "0123456789ABCDEFGHJKLMNPQRSTUVWXYZ"; + + var _e; + + if (/^[0-9]$/.test(r.charAt(0))) { + _e = _t.indexOf(r.charAt(0)) * 24 + _t.indexOf(r.charAt(1)) - 10; + } else { + _e = _t.indexOf(r.charAt(0)) * 34 + _t.indexOf(r.charAt(1)) - 100; + } + + return { + meta: {}, + valid: (parseInt(r.substr(2), 10) + 1 + Math.floor(_e / 11)) % 11 === _e % 11 + }; + } + } + + function t$o(t) { + var s = t; + + if (/^GB[0-9]{9}$/.test(s) || /^GB[0-9]{12}$/.test(s) || /^GBGD[0-9]{3}$/.test(s) || /^GBHA[0-9]{3}$/.test(s) || /^GB(GD|HA)8888[0-9]{5}$/.test(s)) { + s = s.substr(2); + } + + if (!/^[0-9]{9}$/.test(s) && !/^[0-9]{12}$/.test(s) && !/^GD[0-9]{3}$/.test(s) && !/^HA[0-9]{3}$/.test(s) && !/^(GD|HA)8888[0-9]{5}$/.test(s)) { + return { + meta: {}, + valid: false + }; + } + + var e = s.length; + + if (e === 5) { + var _t = s.substr(0, 2); + + var _e = parseInt(s.substr(2), 10); + + return { + meta: {}, + valid: "GD" === _t && _e < 500 || "HA" === _t && _e >= 500 + }; + } else if (e === 11 && ("GD8888" === s.substr(0, 6) || "HA8888" === s.substr(0, 6))) { + if ("GD" === s.substr(0, 2) && parseInt(s.substr(6, 3), 10) >= 500 || "HA" === s.substr(0, 2) && parseInt(s.substr(6, 3), 10) < 500) { + return { + meta: {}, + valid: false + }; + } + + return { + meta: {}, + valid: parseInt(s.substr(6, 3), 10) % 97 === parseInt(s.substr(9, 2), 10) + }; + } else if (e === 9 || e === 12) { + var _t2 = [8, 7, 6, 5, 4, 3, 2, 10, 1]; + var _e2 = 0; + + for (var _r = 0; _r < 9; _r++) { + _e2 += parseInt(s.charAt(_r), 10) * _t2[_r]; + } + + _e2 = _e2 % 97; + var r = parseInt(s.substr(0, 3), 10) >= 100 ? _e2 === 0 || _e2 === 42 || _e2 === 55 : _e2 === 0; + return { + meta: {}, + valid: r + }; + } + + return { + meta: {}, + valid: true + }; + } + + function t$n(t) { + var e = t; + + if (/^(GR|EL)[0-9]{9}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{9}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + if (e.length === 8) { + e = "0".concat(e); + } + + var r = [256, 128, 64, 32, 16, 8, 4, 2]; + var s = 0; + + for (var _t = 0; _t < 8; _t++) { + s += parseInt(e.charAt(_t), 10) * r[_t]; + } + + s = s % 11 % 10; + return { + meta: {}, + valid: "".concat(s) === e.substr(8, 1) + }; + } + + function e$9(e) { + var r = e; + + if (/^HR[0-9]{11}$/.test(r)) { + r = r.substr(2); + } + + if (!/^[0-9]{11}$/.test(r)) { + return { + meta: {}, + valid: false + }; + } + + return { + meta: {}, + valid: t$13(r) + }; + } + + function t$m(t) { + var e = t; + + if (/^HU[0-9]{8}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{8}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = [9, 7, 3, 1, 9, 7, 3, 1]; + var a = 0; + + for (var _t = 0; _t < 8; _t++) { + a += parseInt(e.charAt(_t), 10) * r[_t]; + } + + return { + meta: {}, + valid: a % 10 === 0 + }; + } + + function t$l(t) { + var e = t; + + if (/^IE[0-9][0-9A-Z*+][0-9]{5}[A-Z]{1,2}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9][0-9A-Z*+][0-9]{5}[A-Z]{1,2}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = function r(t) { + var e = t; + + while (e.length < 7) { + e = "0".concat(e); + } + + var r = "WABCDEFGHIJKLMNOPQRSTUV"; + var s = 0; + + for (var _t = 0; _t < 7; _t++) { + s += parseInt(e.charAt(_t), 10) * (8 - _t); + } + + s += 9 * r.indexOf(e.substr(7)); + return r[s % 23]; + }; + + if (/^[0-9]+$/.test(e.substr(0, 7))) { + return { + meta: {}, + valid: e.charAt(7) === r("".concat(e.substr(0, 7)).concat(e.substr(8))) + }; + } else if ("ABCDEFGHIJKLMNOPQRSTUVWXYZ+*".indexOf(e.charAt(1)) !== -1) { + return { + meta: {}, + valid: e.charAt(7) === r("".concat(e.substr(2, 5)).concat(e.substr(0, 1))) + }; + } + + return { + meta: {}, + valid: true + }; + } + + function t$k(t) { + var e = t; + + if (/^IS[0-9]{5,6}$/.test(e)) { + e = e.substr(2); + } + + return { + meta: {}, + valid: /^[0-9]{5,6}$/.test(e) + }; + } + + function e$8(e) { + var r = e; + + if (/^IT[0-9]{11}$/.test(r)) { + r = r.substr(2); + } + + if (!/^[0-9]{11}$/.test(r)) { + return { + meta: {}, + valid: false + }; + } + + if (parseInt(r.substr(0, 7), 10) === 0) { + return { + meta: {}, + valid: false + }; + } + + var a = parseInt(r.substr(7, 3), 10); + + if (a < 1 || a > 201 && a !== 999 && a !== 888) { + return { + meta: {}, + valid: false + }; + } + + return { + meta: {}, + valid: t$14(r) + }; + } + + function t$j(t) { + var e = t; + + if (/^LT([0-9]{7}1[0-9]|[0-9]{10}1[0-9])$/.test(e)) { + e = e.substr(2); + } + + if (!/^([0-9]{7}1[0-9]|[0-9]{10}1[0-9])$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = e.length; + var a = 0; + var l; + + for (l = 0; l < r - 1; l++) { + a += parseInt(e.charAt(l), 10) * (1 + l % 9); + } + + var f = a % 11; + + if (f === 10) { + a = 0; + + for (l = 0; l < r - 1; l++) { + a += parseInt(e.charAt(l), 10) * (1 + (l + 2) % 9); + } + } + + f = f % 11 % 10; + return { + meta: {}, + valid: "".concat(f) === e.charAt(r - 1) + }; + } + + function t$i(t) { + var e = t; + + if (/^LU[0-9]{8}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{8}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + return { + meta: {}, + valid: "".concat(parseInt(e.substr(0, 6), 10) % 89) === e.substr(6, 2) + }; + } + + function e$7(e) { + var r = e; + + if (/^LV[0-9]{11}$/.test(r)) { + r = r.substr(2); + } + + if (!/^[0-9]{11}$/.test(r)) { + return { + meta: {}, + valid: false + }; + } + + var s = parseInt(r.charAt(0), 10); + var a = r.length; + var n = 0; + var l = []; + var i; + + if (s > 3) { + n = 0; + l = [9, 1, 4, 8, 3, 10, 2, 5, 7, 6, 1]; + + for (i = 0; i < a; i++) { + n += parseInt(r.charAt(i), 10) * l[i]; + } + + n = n % 11; + return { + meta: {}, + valid: n === 3 + }; + } else { + var _e = parseInt(r.substr(0, 2), 10); + + var _s = parseInt(r.substr(2, 2), 10); + + var f = parseInt(r.substr(4, 2), 10); + f = f + 1800 + parseInt(r.charAt(6), 10) * 100; + + if (!t$X(f, _s, _e)) { + return { + meta: {}, + valid: false + }; + } + + n = 0; + l = [10, 5, 8, 4, 2, 1, 6, 3, 7, 9]; + + for (i = 0; i < a - 1; i++) { + n += parseInt(r.charAt(i), 10) * l[i]; + } + + n = (n + 1) % 11 % 10; + return { + meta: {}, + valid: "".concat(n) === r.charAt(a - 1) + }; + } + } + + function t$h(t) { + var e = t; + + if (/^MT[0-9]{8}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{8}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = [3, 4, 6, 7, 8, 9, 10, 1]; + var a = 0; + + for (var _t = 0; _t < 8; _t++) { + a += parseInt(e.charAt(_t), 10) * r[_t]; + } + + return { + meta: {}, + valid: a % 37 === 0 + }; + } + + function t$g(t) { + return t.split("").map(function (t) { + var n = t.charCodeAt(0); + return n >= 65 && n <= 90 ? n - 55 : t; + }).join("").split("").map(function (t) { + return parseInt(t, 10); + }); + } + + function n(n) { + var e = t$g(n); + var r = 0; + var o = e.length; + + for (var _t = 0; _t < o - 1; ++_t) { + r = (r + e[_t]) * 10 % 97; + } + + r += e[o - 1]; + return r % 97 === 1; + } + + function e$6(e) { + var i = e; + + if (/^NL[0-9]{9}B[0-9]{2}$/.test(i)) { + i = i.substr(2); + } + + if (!/^[0-9]{9}B[0-9]{2}$/.test(i)) { + return { + meta: {}, + valid: false + }; + } + + var o = i.substr(0, 9); + return { + meta: {}, + valid: e$o(o).valid || n("NL".concat(i)) + }; + } + + function t$f(t) { + var e = t; + + if (/^NO[0-9]{9}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{9}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = [3, 2, 7, 6, 5, 4, 3, 2]; + var s = 0; + + for (var _t = 0; _t < 8; _t++) { + s += parseInt(e.charAt(_t), 10) * r[_t]; + } + + s = 11 - s % 11; + + if (s === 11) { + s = 0; + } + + return { + meta: {}, + valid: "".concat(s) === e.substr(8, 1) + }; + } + + function t$e(t) { + var e = t; + + if (/^PL[0-9]{10}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{10}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = [6, 5, 7, 2, 3, 4, 5, 6, 7, -1]; + var a = 0; + + for (var _t = 0; _t < 10; _t++) { + a += parseInt(e.charAt(_t), 10) * r[_t]; + } + + return { + meta: {}, + valid: a % 11 === 0 + }; + } + + function t$d(t) { + var e = t; + + if (/^PT[0-9]{9}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{9}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = [9, 8, 7, 6, 5, 4, 3, 2]; + var s = 0; + + for (var _t = 0; _t < 8; _t++) { + s += parseInt(e.charAt(_t), 10) * r[_t]; + } + + s = 11 - s % 11; + + if (s > 9) { + s = 0; + } + + return { + meta: {}, + valid: "".concat(s) === e.substr(8, 1) + }; + } + + function t$c(t) { + var e = t; + + if (/^RO[1-9][0-9]{1,9}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[1-9][0-9]{1,9}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var s = e.length; + var r = [7, 5, 3, 2, 1, 7, 5, 3, 2].slice(10 - s); + var l = 0; + + for (var _t = 0; _t < s - 1; _t++) { + l += parseInt(e.charAt(_t), 10) * r[_t]; + } + + l = 10 * l % 11 % 10; + return { + meta: {}, + valid: "".concat(l) === e.substr(s - 1, 1) + }; + } + + function t$b(t) { + var e = t; + + if (/^RS[0-9]{9}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[0-9]{9}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = 10; + var a = 0; + + for (var _t = 0; _t < 8; _t++) { + a = (parseInt(e.charAt(_t), 10) + r) % 10; + + if (a === 0) { + a = 10; + } + + r = 2 * a % 11; + } + + return { + meta: {}, + valid: (r + parseInt(e.substr(8, 1), 10)) % 10 === 1 + }; + } + + function t$a(t) { + var e = t; + + if (/^RU([0-9]{10}|[0-9]{12})$/.test(e)) { + e = e.substr(2); + } + + if (!/^([0-9]{10}|[0-9]{12})$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = 0; + + if (e.length === 10) { + var _t = [2, 4, 10, 3, 5, 9, 4, 6, 8, 0]; + var s = 0; + + for (r = 0; r < 10; r++) { + s += parseInt(e.charAt(r), 10) * _t[r]; + } + + s = s % 11; + + if (s > 9) { + s = s % 10; + } + + return { + meta: {}, + valid: "".concat(s) === e.substr(9, 1) + }; + } else if (e.length === 12) { + var _t2 = [7, 2, 4, 10, 3, 5, 9, 4, 6, 8, 0]; + var _s = [3, 7, 2, 4, 10, 3, 5, 9, 4, 6, 8, 0]; + var a = 0; + var l = 0; + + for (r = 0; r < 11; r++) { + a += parseInt(e.charAt(r), 10) * _t2[r]; + l += parseInt(e.charAt(r), 10) * _s[r]; + } + + a = a % 11; + + if (a > 9) { + a = a % 10; + } + + l = l % 11; + + if (l > 9) { + l = l % 10; + } + + return { + meta: {}, + valid: "".concat(a) === e.substr(10, 1) && "".concat(l) === e.substr(11, 1) + }; + } + + return { + meta: {}, + valid: true + }; + } + + function e$5(e) { + var r = e; + + if (/^SE[0-9]{10}01$/.test(r)) { + r = r.substr(2); + } + + if (!/^[0-9]{10}01$/.test(r)) { + return { + meta: {}, + valid: false + }; + } + + r = r.substr(0, 10); + return { + meta: {}, + valid: t$14(r) + }; + } + + function t$9(t) { + var e = t.match(/^(SI)?([1-9][0-9]{7})$/); + + if (!e) { + return { + meta: {}, + valid: false + }; + } + + var r = e[1] ? t.substr(2) : t; + var a = [8, 7, 6, 5, 4, 3, 2]; + var s = 0; + + for (var _t = 0; _t < 7; _t++) { + s += parseInt(r.charAt(_t), 10) * a[_t]; + } + + s = 11 - s % 11; + + if (s === 10) { + s = 0; + } + + return { + meta: {}, + valid: "".concat(s) === r.substr(7, 1) + }; + } + + function t$8(t) { + var e = t; + + if (/^SK[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + return { + meta: {}, + valid: parseInt(e, 10) % 11 === 0 + }; + } + + function t$7(t) { + var e = t; + + if (/^VE[VEJPG][0-9]{9}$/.test(e)) { + e = e.substr(2); + } + + if (!/^[VEJPG][0-9]{9}$/.test(e)) { + return { + meta: {}, + valid: false + }; + } + + var r = { + E: 8, + G: 20, + J: 12, + P: 16, + V: 4 + }; + var s = [3, 2, 7, 6, 5, 4, 3, 2]; + var a = r[e.charAt(0)]; + + for (var _t = 0; _t < 8; _t++) { + a += parseInt(e.charAt(_t + 1), 10) * s[_t]; + } + + a = 11 - a % 11; + + if (a === 11 || a === 10) { + a = 0; + } + + return { + meta: {}, + valid: "".concat(a) === e.substr(9, 1) + }; + } + + function t$6(t) { + var e = t; + + if (/^ZA4[0-9]{9}$/.test(e)) { + e = e.substr(2); + } + + return { + meta: {}, + valid: /^4[0-9]{9}$/.test(e) + }; + } + + function x() { + var x = ["AR", "AT", "BE", "BG", "BR", "CH", "CY", "CZ", "DE", "DK", "EE", "EL", "ES", "FI", "FR", "GB", "GR", "HR", "HU", "IE", "IS", "IT", "LT", "LU", "LV", "MT", "NL", "NO", "PL", "PT", "RO", "RU", "RS", "SE", "SK", "SI", "VE", "ZA"]; + return { + validate: function validate(D) { + var F = D.value; + + if (F === "") { + return { + valid: true + }; + } + + var K = Object.assign({}, { + message: "" + }, D.options); + var N = F.substr(0, 2); + + if ("function" === typeof K.country) { + N = K.country.call(this); + } else { + N = K.country; + } + + if (x.indexOf(N) === -1) { + return { + valid: true + }; + } + + var P = { + meta: {}, + valid: true + }; + + switch (N.toLowerCase()) { + case "ar": + P = t$y(F); + break; + + case "at": + P = t$x(F); + break; + + case "be": + P = t$w(F); + break; + + case "bg": + P = r$1(F); + break; + + case "br": + P = t$v(F); + break; + + case "ch": + P = t$u(F); + break; + + case "cy": + P = t$t(F); + break; + + case "cz": + P = e$c(F); + break; + + case "de": + P = e$b(F); + break; + + case "dk": + P = t$s(F); + break; + + case "ee": + P = t$r(F); + break; + + case "el": + P = t$n(F); + break; + + case "es": + P = t$q(F); + break; + + case "fi": + P = t$p(F); + break; + + case "fr": + P = e$a(F); + break; + + case "gb": + P = t$o(F); + break; + + case "gr": + P = t$n(F); + break; + + case "hr": + P = e$9(F); + break; + + case "hu": + P = t$m(F); + break; + + case "ie": + P = t$l(F); + break; + + case "is": + P = t$k(F); + break; + + case "it": + P = e$8(F); + break; + + case "lt": + P = t$j(F); + break; + + case "lu": + P = t$i(F); + break; + + case "lv": + P = e$7(F); + break; + + case "mt": + P = t$h(F); + break; + + case "nl": + P = e$6(F); + break; + + case "no": + P = t$f(F); + break; + + case "pl": + P = t$e(F); + break; + + case "pt": + P = t$d(F); + break; + + case "ro": + P = t$c(F); + break; + + case "rs": + P = t$b(F); + break; + + case "ru": + P = t$a(F); + break; + + case "se": + P = e$5(F); + break; + + case "si": + P = t$9(F); + break; + + case "sk": + P = t$8(F); + break; + + case "ve": + P = t$7(F); + break; + + case "za": + P = t$6(F); + break; + } + + var Z = r$d(D.l10n && D.l10n.vat ? K.message || D.l10n.vat.country : K.message, D.l10n && D.l10n.vat && D.l10n.vat.countries ? D.l10n.vat.countries[N.toUpperCase()] : N.toUpperCase()); + return Object.assign({}, { + message: Z + }, P); + } + }; + } + + function t$5() { + return { + validate: function validate(t) { + if (t.value === "") { + return { + valid: true + }; + } + + if (!/^[a-hj-npr-z0-9]{8}[0-9xX][a-hj-npr-z0-9]{8}$/i.test(t.value)) { + return { + valid: false + }; + } + + var e = t.value.toUpperCase(); + var r = { + A: 1, + B: 2, + C: 3, + D: 4, + E: 5, + F: 6, + G: 7, + H: 8, + J: 1, + K: 2, + L: 3, + M: 4, + N: 5, + P: 7, + R: 9, + S: 2, + T: 3, + U: 4, + V: 5, + W: 6, + X: 7, + Y: 8, + Z: 9, + 0: 0, + 1: 1, + 2: 2, + 3: 3, + 4: 4, + 5: 5, + 6: 6, + 7: 7, + 8: 8, + 9: 9 + }; + var a = [8, 7, 6, 5, 4, 3, 2, 10, 0, 9, 8, 7, 6, 5, 4, 3, 2]; + var l = e.length; + var n = 0; + + for (var _t = 0; _t < l; _t++) { + n += r["".concat(e.charAt(_t))] * a[_t]; + } + + var u = "".concat(n % 11); + + if (u === "10") { + u = "X"; + } + + return { + valid: u === e.charAt(8) + }; + } + }; + } + + function s$4() { + var s = ["AT", "BG", "BR", "CA", "CH", "CZ", "DE", "DK", "ES", "FR", "GB", "IE", "IN", "IT", "MA", "NL", "PL", "PT", "RO", "RU", "SE", "SG", "SK", "US"]; + + var a = function a(e) { + var s = "[ABCDEFGHIJKLMNOPRSTUWYZ]"; + var a = "[ABCDEFGHKLMNOPQRSTUVWXY]"; + var t = "[ABCDEFGHJKPMNRSTUVWXY]"; + var r = "[ABEHMNPRVWXY]"; + var u = "[ABDEFGHJLNPQRSTUWXYZ]"; + var c = [new RegExp("^(".concat(s, "{1}").concat(a, "?[0-9]{1,2})(\\s*)([0-9]{1}").concat(u, "{2})$"), "i"), new RegExp("^(".concat(s, "{1}[0-9]{1}").concat(t, "{1})(\\s*)([0-9]{1}").concat(u, "{2})$"), "i"), new RegExp("^(".concat(s, "{1}").concat(a, "{1}?[0-9]{1}").concat(r, "{1})(\\s*)([0-9]{1}").concat(u, "{2})$"), "i"), new RegExp("^(BF1)(\\s*)([0-6]{1}[ABDEFGHJLNPQRST]{1}[ABDEFGHJLNPQRSTUWZYZ]{1})$", "i"), /^(GIR)(\s*)(0AA)$/i, /^(BFPO)(\s*)([0-9]{1,4})$/i, /^(BFPO)(\s*)(c\/o\s*[0-9]{1,3})$/i, /^([A-Z]{4})(\s*)(1ZZ)$/i, /^(AI-2640)$/i]; + + for (var _i = 0, _c = c; _i < _c.length; _i++) { + var _s = _c[_i]; + + if (_s.test(e)) { + return true; + } + } + + return false; + }; + + return { + validate: function validate(t) { + var r = Object.assign({}, { + message: "" + }, t.options); + + if (t.value === "" || !r.country) { + return { + valid: true + }; + } + + var u = t.value.substr(0, 2); + + if ("function" === typeof r.country) { + u = r.country.call(this); + } else { + u = r.country; + } + + if (!u || s.indexOf(u.toUpperCase()) === -1) { + return { + valid: true + }; + } + + var c = false; + u = u.toUpperCase(); + + switch (u) { + case "AT": + c = /^([1-9]{1})(\d{3})$/.test(t.value); + break; + + case "BG": + c = /^([1-9]{1}[0-9]{3})$/.test(t.value); + break; + + case "BR": + c = /^(\d{2})([.]?)(\d{3})([-]?)(\d{3})$/.test(t.value); + break; + + case "CA": + c = /^(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|X|Y){1}[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}\s?[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}[0-9]{1}$/i.test(t.value); + break; + + case "CH": + c = /^([1-9]{1})(\d{3})$/.test(t.value); + break; + + case "CZ": + c = /^(\d{3})([ ]?)(\d{2})$/.test(t.value); + break; + + case "DE": + c = /^(?!01000|99999)(0[1-9]\d{3}|[1-9]\d{4})$/.test(t.value); + break; + + case "DK": + c = /^(DK(-|\s)?)?\d{4}$/i.test(t.value); + break; + + case "ES": + c = /^(?:0[1-9]|[1-4][0-9]|5[0-2])\d{3}$/.test(t.value); + break; + + case "FR": + c = /^[0-9]{5}$/i.test(t.value); + break; + + case "GB": + c = a(t.value); + break; + + case "IN": + c = /^\d{3}\s?\d{3}$/.test(t.value); + break; + + case "IE": + c = /^(D6W|[ACDEFHKNPRTVWXY]\d{2})\s[0-9ACDEFHKNPRTVWXY]{4}$/.test(t.value); + break; + + case "IT": + c = /^(I-|IT-)?\d{5}$/i.test(t.value); + break; + + case "MA": + c = /^[1-9][0-9]{4}$/i.test(t.value); + break; + + case "NL": + c = /^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i.test(t.value); + break; + + case "PL": + c = /^[0-9]{2}-[0-9]{3}$/.test(t.value); + break; + + case "PT": + c = /^[1-9]\d{3}-\d{3}$/.test(t.value); + break; + + case "RO": + c = /^(0[1-8]{1}|[1-9]{1}[0-5]{1})?[0-9]{4}$/i.test(t.value); + break; + + case "RU": + c = /^[0-9]{6}$/i.test(t.value); + break; + + case "SE": + c = /^(S-)?\d{3}\s?\d{2}$/i.test(t.value); + break; + + case "SG": + c = /^([0][1-9]|[1-6][0-9]|[7]([0-3]|[5-9])|[8][0-2])(\d{4})$/i.test(t.value); + break; + + case "SK": + c = /^(\d{3})([ ]?)(\d{2})$/.test(t.value); + break; + + case "US": + default: + c = /^\d{4,5}([-]?\d{4})?$/.test(t.value); + break; + } + + return { + message: r$d(t.l10n && t.l10n.zipCode ? r.message || t.l10n.zipCode.country : r.message, t.l10n && t.l10n.zipCode && t.l10n.zipCode.countries ? t.l10n.zipCode.countries[u] : u), + valid: c + }; + } + }; + } + + var s$3 = { + between: s$9, + blank: t$$, + callback: o$4, + choice: t$Z, + creditCard: l$2, + date: n$1, + different: o$3, + digits: e$G, + emailAddress: t$W, + file: e$F, + greaterThan: a$7, + identical: o$2, + integer: a$6, + ip: d, + lessThan: s$8, + notEmpty: t$V, + numeric: a$5, + promise: r$c, + regexp: e$E, + remote: a$4, + stringCase: e$C, + stringLength: t$U, + uri: t$T, + base64: a$3, + bic: a$2, + color: e$B, + cusip: t$S, + ean: e$A, + ein: e$z, + grid: r$b, + hex: e$y, + iban: Z, + id: F, + imei: t$A, + imo: e$m, + isbn: e$l, + isin: M, + ismn: e$k, + issn: e$j, + mac: a$1, + meid: e$i, + phone: e$h, + rtn: e$g, + sedol: t$z, + siren: e$f, + siret: e$e, + step: e$d, + uuid: s$5, + vat: x, + vin: t$5, + zipCode: s$4 + }; + + var l$1 = /*#__PURE__*/function () { + function l(i, s) { + _classCallCheck(this, l); + + this.elements = {}; + this.ee = s$a(); + this.filter = t$10(); + this.plugins = {}; + this.results = new Map(); + this.validators = {}; + this.form = i; + this.fields = s; + } + + _createClass(l, [{ + key: "on", + value: function on(e, t) { + this.ee.on(e, t); + return this; + } + }, { + key: "off", + value: function off(e, t) { + this.ee.off(e, t); + return this; + } + }, { + key: "emit", + value: function emit(e) { + var _this$ee; + + for (var _len = arguments.length, t = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + t[_key - 1] = arguments[_key]; + } + + (_this$ee = this.ee).emit.apply(_this$ee, [e].concat(t)); + + return this; + } + }, { + key: "registerPlugin", + value: function registerPlugin(e, t) { + if (this.plugins[e]) { + throw new Error("The plguin ".concat(e, " is registered")); + } + + t.setCore(this); + t.install(); + this.plugins[e] = t; + return this; + } + }, { + key: "deregisterPlugin", + value: function deregisterPlugin(e) { + var t = this.plugins[e]; + + if (t) { + t.uninstall(); + } + + delete this.plugins[e]; + return this; + } + }, { + key: "registerValidator", + value: function registerValidator(e, t) { + if (this.validators[e]) { + throw new Error("The validator ".concat(e, " is registered")); + } + + this.validators[e] = t; + return this; + } + }, { + key: "registerFilter", + value: function registerFilter(e, t) { + this.filter.add(e, t); + return this; + } + }, { + key: "deregisterFilter", + value: function deregisterFilter(e, t) { + this.filter.remove(e, t); + return this; + } + }, { + key: "executeFilter", + value: function executeFilter(e, t, i) { + return this.filter.execute(e, t, i); + } + }, { + key: "addField", + value: function addField(e, t) { + var i = Object.assign({}, { + selector: "", + validators: {} + }, t); + this.fields[e] = this.fields[e] ? { + selector: i.selector || this.fields[e].selector, + validators: Object.assign({}, this.fields[e].validators, i.validators) + } : i; + this.elements[e] = this.queryElements(e); + this.emit("core.field.added", { + elements: this.elements[e], + field: e, + options: this.fields[e] + }); + return this; + } + }, { + key: "removeField", + value: function removeField(e) { + if (!this.fields[e]) { + throw new Error("The field ".concat(e, " validators are not defined. Please ensure the field is added first")); + } + + var t = this.elements[e]; + var i = this.fields[e]; + delete this.elements[e]; + delete this.fields[e]; + this.emit("core.field.removed", { + elements: t, + field: e, + options: i + }); + return this; + } + }, { + key: "validate", + value: function validate() { + var _this = this; + + this.emit("core.form.validating", { + formValidation: this + }); + return this.filter.execute("validate-pre", Promise.resolve(), []).then(function () { + return Promise.all(Object.keys(_this.fields).map(function (e) { + return _this.validateField(e); + })).then(function (e) { + switch (true) { + case e.indexOf("Invalid") !== -1: + _this.emit("core.form.invalid", { + formValidation: _this + }); + + return Promise.resolve("Invalid"); + + case e.indexOf("NotValidated") !== -1: + _this.emit("core.form.notvalidated", { + formValidation: _this + }); + + return Promise.resolve("NotValidated"); + + default: + _this.emit("core.form.valid", { + formValidation: _this + }); + + return Promise.resolve("Valid"); + } + }); + }); + } + }, { + key: "validateField", + value: function validateField(e) { + var _this2 = this; + + var t = this.results.get(e); + + if (t === "Valid" || t === "Invalid") { + return Promise.resolve(t); + } + + this.emit("core.field.validating", e); + var i = this.elements[e]; + + if (i.length === 0) { + this.emit("core.field.valid", e); + return Promise.resolve("Valid"); + } + + var s = i[0].getAttribute("type"); + + if ("radio" === s || "checkbox" === s || i.length === 1) { + return this.validateElement(e, i[0]); + } else { + return Promise.all(i.map(function (t) { + return _this2.validateElement(e, t); + })).then(function (t) { + switch (true) { + case t.indexOf("Invalid") !== -1: + _this2.emit("core.field.invalid", e); + + _this2.results.set(e, "Invalid"); + + return Promise.resolve("Invalid"); + + case t.indexOf("NotValidated") !== -1: + _this2.emit("core.field.notvalidated", e); + + _this2.results["delete"](e); + + return Promise.resolve("NotValidated"); + + default: + _this2.emit("core.field.valid", e); + + _this2.results.set(e, "Valid"); + + return Promise.resolve("Valid"); + } + }); + } + } + }, { + key: "validateElement", + value: function validateElement(e, t) { + var _this3 = this; + + this.results["delete"](e); + var i = this.elements[e]; + var s = this.filter.execute("element-ignored", false, [e, t, i]); + + if (s) { + this.emit("core.element.ignored", { + element: t, + elements: i, + field: e + }); + return Promise.resolve("Ignored"); + } + + var _l = this.fields[e].validators; + this.emit("core.element.validating", { + element: t, + elements: i, + field: e + }); + var r = Object.keys(_l).map(function (i) { + return function () { + return _this3.executeValidator(e, t, i, _l[i]); + }; + }); + return this.waterfall(r).then(function (s) { + var _l2 = s.indexOf("Invalid") === -1; + + _this3.emit("core.element.validated", { + element: t, + elements: i, + field: e, + valid: _l2 + }); + + var r = t.getAttribute("type"); + + if ("radio" === r || "checkbox" === r || i.length === 1) { + _this3.emit(_l2 ? "core.field.valid" : "core.field.invalid", e); + } + + return Promise.resolve(_l2 ? "Valid" : "Invalid"); + })["catch"](function (s) { + _this3.emit("core.element.notvalidated", { + element: t, + elements: i, + field: e + }); + + return Promise.resolve(s); + }); + } + }, { + key: "executeValidator", + value: function executeValidator(e, t, i, s) { + var _this4 = this; + + var _l3 = this.elements[e]; + var r = this.filter.execute("validator-name", i, [i, e]); + s.message = this.filter.execute("validator-message", s.message, [this.locale, e, r]); + + if (!this.validators[r] || s.enabled === false) { + this.emit("core.validator.validated", { + element: t, + elements: _l3, + field: e, + result: this.normalizeResult(e, r, { + valid: true + }), + validator: r + }); + return Promise.resolve("Valid"); + } + + var a = this.validators[r]; + var d = this.getElementValue(e, t, r); + var o = this.filter.execute("field-should-validate", true, [e, t, d, i]); + + if (!o) { + this.emit("core.validator.notvalidated", { + element: t, + elements: _l3, + field: e, + validator: i + }); + return Promise.resolve("NotValidated"); + } + + this.emit("core.validator.validating", { + element: t, + elements: _l3, + field: e, + validator: i + }); + var n = a().validate({ + element: t, + elements: _l3, + field: e, + l10n: this.localization, + options: s, + value: d + }); + var h = "function" === typeof n["then"]; + + if (h) { + return n.then(function (s) { + var r = _this4.normalizeResult(e, i, s); + + _this4.emit("core.validator.validated", { + element: t, + elements: _l3, + field: e, + result: r, + validator: i + }); + + return r.valid ? "Valid" : "Invalid"; + }); + } else { + var _s = this.normalizeResult(e, i, n); + + this.emit("core.validator.validated", { + element: t, + elements: _l3, + field: e, + result: _s, + validator: i + }); + return Promise.resolve(_s.valid ? "Valid" : "Invalid"); + } + } + }, { + key: "getElementValue", + value: function getElementValue(e, t, s) { + var _l4 = e$H(this.form, e, t, this.elements[e]); + + return this.filter.execute("field-value", _l4, [_l4, e, t, s]); + } + }, { + key: "getElements", + value: function getElements(e) { + return this.elements[e]; + } + }, { + key: "getFields", + value: function getFields() { + return this.fields; + } + }, { + key: "getFormElement", + value: function getFormElement() { + return this.form; + } + }, { + key: "getLocale", + value: function getLocale() { + return this.locale; + } + }, { + key: "getPlugin", + value: function getPlugin(e) { + return this.plugins[e]; + } + }, { + key: "updateFieldStatus", + value: function updateFieldStatus(e, t, i) { + var _this5 = this; + + var s = this.elements[e]; + + var _l5 = s[0].getAttribute("type"); + + var r = "radio" === _l5 || "checkbox" === _l5 ? [s[0]] : s; + r.forEach(function (s) { + return _this5.updateElementStatus(e, s, t, i); + }); + + if (!i) { + switch (t) { + case "NotValidated": + this.emit("core.field.notvalidated", e); + this.results["delete"](e); + break; + + case "Validating": + this.emit("core.field.validating", e); + this.results["delete"](e); + break; + + case "Valid": + this.emit("core.field.valid", e); + this.results.set(e, "Valid"); + break; + + case "Invalid": + this.emit("core.field.invalid", e); + this.results.set(e, "Invalid"); + break; + } + } + + return this; + } + }, { + key: "updateElementStatus", + value: function updateElementStatus(e, t, i, s) { + var _this6 = this; + + var _l6 = this.elements[e]; + var r = this.fields[e].validators; + var a = s ? [s] : Object.keys(r); + + switch (i) { + case "NotValidated": + a.forEach(function (i) { + return _this6.emit("core.validator.notvalidated", { + element: t, + elements: _l6, + field: e, + validator: i + }); + }); + this.emit("core.element.notvalidated", { + element: t, + elements: _l6, + field: e + }); + break; + + case "Validating": + a.forEach(function (i) { + return _this6.emit("core.validator.validating", { + element: t, + elements: _l6, + field: e, + validator: i + }); + }); + this.emit("core.element.validating", { + element: t, + elements: _l6, + field: e + }); + break; + + case "Valid": + a.forEach(function (i) { + return _this6.emit("core.validator.validated", { + element: t, + elements: _l6, + field: e, + result: { + message: r[i].message, + valid: true + }, + validator: i + }); + }); + this.emit("core.element.validated", { + element: t, + elements: _l6, + field: e, + valid: true + }); + break; + + case "Invalid": + a.forEach(function (i) { + return _this6.emit("core.validator.validated", { + element: t, + elements: _l6, + field: e, + result: { + message: r[i].message, + valid: false + }, + validator: i + }); + }); + this.emit("core.element.validated", { + element: t, + elements: _l6, + field: e, + valid: false + }); + break; + } + + return this; + } + }, { + key: "resetForm", + value: function resetForm(e) { + var _this7 = this; + + Object.keys(this.fields).forEach(function (t) { + return _this7.resetField(t, e); + }); + this.emit("core.form.reset", { + formValidation: this, + reset: e + }); + return this; + } + }, { + key: "resetField", + value: function resetField(e, t) { + if (t) { + var _t = this.elements[e]; + + var _i = _t[0].getAttribute("type"); + + _t.forEach(function (e) { + if ("radio" === _i || "checkbox" === _i) { + e.removeAttribute("selected"); + e.removeAttribute("checked"); + e.checked = false; + } else { + e.setAttribute("value", ""); + + if (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement) { + e.value = ""; + } + } + }); + } + + this.updateFieldStatus(e, "NotValidated"); + this.emit("core.field.reset", { + field: e, + reset: t + }); + return this; + } + }, { + key: "revalidateField", + value: function revalidateField(e) { + this.updateFieldStatus(e, "NotValidated"); + return this.validateField(e); + } + }, { + key: "disableValidator", + value: function disableValidator(e, t) { + return this.toggleValidator(false, e, t); + } + }, { + key: "enableValidator", + value: function enableValidator(e, t) { + return this.toggleValidator(true, e, t); + } + }, { + key: "updateValidatorOption", + value: function updateValidatorOption(e, t, i, s) { + if (this.fields[e] && this.fields[e].validators && this.fields[e].validators[t]) { + this.fields[e].validators[t][i] = s; + } + + return this; + } + }, { + key: "setFieldOptions", + value: function setFieldOptions(e, t) { + this.fields[e] = t; + return this; + } + }, { + key: "destroy", + value: function destroy() { + var _this8 = this; + + Object.keys(this.plugins).forEach(function (e) { + return _this8.plugins[e].uninstall(); + }); + this.ee.clear(); + this.filter.clear(); + this.results.clear(); + this.plugins = {}; + return this; + } + }, { + key: "setLocale", + value: function setLocale(e, t) { + this.locale = e; + this.localization = t; + return this; + } + }, { + key: "waterfall", + value: function waterfall(e) { + return e.reduce(function (e, t) { + return e.then(function (e) { + return t().then(function (t) { + e.push(t); + return e; + }); + }); + }, Promise.resolve([])); + } + }, { + key: "queryElements", + value: function queryElements(e) { + var t = this.fields[e].selector ? "#" === this.fields[e].selector.charAt(0) ? "[id=\"".concat(this.fields[e].selector.substring(1), "\"]") : this.fields[e].selector : "[name=\"".concat(e, "\"]"); + return [].slice.call(this.form.querySelectorAll(t)); + } + }, { + key: "normalizeResult", + value: function normalizeResult(e, t, i) { + var s = this.fields[e].validators[t]; + return Object.assign({}, i, { + message: i.message || (s ? s.message : "") || (this.localization && this.localization[t] && this.localization[t]["default"] ? this.localization[t]["default"] : "") || "The field ".concat(e, " is not valid") + }); + } + }, { + key: "toggleValidator", + value: function toggleValidator(e, t, i) { + var _this9 = this; + + var s = this.fields[t].validators; + + if (i && s && s[i]) { + this.fields[t].validators[i].enabled = e; + } else if (!i) { + Object.keys(s).forEach(function (i) { + return _this9.fields[t].validators[i].enabled = e; + }); + } + + return this.updateFieldStatus(t, "NotValidated", i); + } + }]); + + return l; + }(); + + function r(e, t) { + var i = Object.assign({}, { + fields: {}, + locale: "en_US", + plugins: {}, + init: function init(e) {} + }, t); + var r = new l$1(e, i.fields); + r.setLocale(i.locale, i.localization); + Object.keys(i.plugins).forEach(function (e) { + return r.registerPlugin(e, i.plugins[e]); + }); + Object.keys(s$3).forEach(function (e) { + return r.registerValidator(e, s$3[e]); + }); + i.init(r); + Object.keys(i.fields).forEach(function (e) { + return r.addField(e, i.fields[e]); + }); + return r; + } + + var t$4 = /*#__PURE__*/function () { + function t(_t) { + _classCallCheck(this, t); + + this.opts = _t; + } + + _createClass(t, [{ + key: "setCore", + value: function setCore(_t2) { + this.core = _t2; + return this; + } + }, { + key: "install", + value: function install() {} + }, { + key: "uninstall", + value: function uninstall() {} + }]); + + return t; + }(); + + var index$2 = { + getFieldValue: e$H + }; + + var e$4 = /*#__PURE__*/function (_t) { + _inherits(e, _t); + + var _super = _createSuper(e); + + function e(t) { + var _this; + + _classCallCheck(this, e); + + _this = _super.call(this, t); + _this.opts = t || {}; + _this.validatorNameFilter = _this.getValidatorName.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(e, [{ + key: "install", + value: function install() { + this.core.registerFilter("validator-name", this.validatorNameFilter); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.deregisterFilter("validator-name", this.validatorNameFilter); + } + }, { + key: "getValidatorName", + value: function getValidatorName(t, _e) { + return this.opts[t] || t; + } + }]); + + return e; + }(t$4); + + var i$3 = /*#__PURE__*/function (_e) { + _inherits(i, _e); + + var _super = _createSuper(i); + + function i() { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, {}); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.fieldValidHandler = _this.onFieldValid.bind(_assertThisInitialized(_this)); + _this.fieldInvalidHandler = _this.onFieldInvalid.bind(_assertThisInitialized(_this)); + _this.messageDisplayedHandler = _this.onMessageDisplayed.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + this.core.on("core.field.valid", this.fieldValidHandler).on("core.field.invalid", this.fieldInvalidHandler).on("core.element.validated", this.elementValidatedHandler).on("plugins.message.displayed", this.messageDisplayedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.off("core.field.valid", this.fieldValidHandler).off("core.field.invalid", this.fieldInvalidHandler).off("core.element.validated", this.elementValidatedHandler).off("plugins.message.displayed", this.messageDisplayedHandler); + } + }, { + key: "onElementValidated", + value: function onElementValidated(e) { + if (e.valid) { + e.element.setAttribute("aria-invalid", "false"); + e.element.removeAttribute("aria-describedby"); + } + } + }, { + key: "onFieldValid", + value: function onFieldValid(e) { + var _i = this.core.getElements(e); + + if (_i) { + _i.forEach(function (e) { + e.setAttribute("aria-invalid", "false"); + e.removeAttribute("aria-describedby"); + }); + } + } + }, { + key: "onFieldInvalid", + value: function onFieldInvalid(e) { + var _i2 = this.core.getElements(e); + + if (_i2) { + _i2.forEach(function (e) { + return e.setAttribute("aria-invalid", "true"); + }); + } + } + }, { + key: "onMessageDisplayed", + value: function onMessageDisplayed(e) { + e.messageElement.setAttribute("role", "alert"); + e.messageElement.setAttribute("aria-hidden", "false"); + + var _i3 = this.core.getElements(e.field); + + var t = _i3.indexOf(e.element); + + var l = "js-fv-".concat(e.field, "-").concat(t, "-").concat(Date.now(), "-message"); + e.messageElement.setAttribute("id", l); + e.element.setAttribute("aria-describedby", l); + var a = e.element.getAttribute("type"); + + if ("radio" === a || "checkbox" === a) { + _i3.forEach(function (e) { + return e.setAttribute("aria-describedby", l); + }); + } + } + }]); + + return i; + }(t$4); + + var t$3 = /*#__PURE__*/function (_e) { + _inherits(t, _e); + + var _super = _createSuper(t); + + function t(e) { + var _this; + + _classCallCheck(this, t); + + _this = _super.call(this, e); + _this.addedFields = new Map(); + _this.opts = Object.assign({}, { + html5Input: false, + pluginPrefix: "data-fvp-", + prefix: "data-fv-" + }, e); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(t, [{ + key: "install", + value: function install() { + var _this2 = this; + + this.parsePlugins(); + var e = this.parseOptions(); + Object.keys(e).forEach(function (_t) { + if (!_this2.addedFields.has(_t)) { + _this2.addedFields.set(_t, true); + } + + _this2.core.addField(_t, e[_t]); + }); + this.core.on("core.field.added", this.fieldAddedHandler).on("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.addedFields.clear(); + this.core.off("core.field.added", this.fieldAddedHandler).off("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + var _this3 = this; + + var _t2 = e.elements; + + if (!_t2 || _t2.length === 0 || this.addedFields.has(e.field)) { + return; + } + + this.addedFields.set(e.field, true); + + _t2.forEach(function (_t3) { + var s = _this3.parseElement(_t3); + + if (!_this3.isEmptyOption(s)) { + var _t12 = { + selector: e.options.selector, + validators: Object.assign({}, e.options.validators || {}, s.validators) + }; + + _this3.core.setFieldOptions(e.field, _t12); + } + }); + } + }, { + key: "onFieldRemoved", + value: function onFieldRemoved(e) { + if (e.field && this.addedFields.has(e.field)) { + this.addedFields["delete"](e.field); + } + } + }, { + key: "parseOptions", + value: function parseOptions() { + var _this4 = this; + + var e = this.opts.prefix; + var _t5 = {}; + var s = this.core.getFields(); + var a = this.core.getFormElement(); + var i = [].slice.call(a.querySelectorAll("[name], [".concat(e, "field]"))); + i.forEach(function (s) { + var a = _this4.parseElement(s); + + if (!_this4.isEmptyOption(a)) { + var _i = s.getAttribute("name") || s.getAttribute("".concat(e, "field")); + + _t5[_i] = Object.assign({}, _t5[_i], a); + } + }); + Object.keys(_t5).forEach(function (e) { + Object.keys(_t5[e].validators).forEach(function (a) { + _t5[e].validators[a].enabled = _t5[e].validators[a].enabled || false; + + if (s[e] && s[e].validators && s[e].validators[a]) { + Object.assign(_t5[e].validators[a], s[e].validators[a]); + } + }); + }); + return Object.assign({}, s, _t5); + } + }, { + key: "createPluginInstance", + value: function createPluginInstance(e, _t6) { + var s = e.split("."); + var a = window || this; + + for (var _e2 = 0, _t13 = s.length; _e2 < _t13; _e2++) { + a = a[s[_e2]]; + } + + if (typeof a !== "function") { + throw new Error("the plugin ".concat(e, " doesn't exist")); + } + + return new a(_t6); + } + }, { + key: "parsePlugins", + value: function parsePlugins() { + var _this5 = this; + + var e = this.core.getFormElement(); + + var _t8 = new RegExp("^".concat(this.opts.pluginPrefix, "([a-z0-9-]+)(___)*([a-z0-9-]+)*$")); + + var s = e.attributes.length; + var a = {}; + + for (var i = 0; i < s; i++) { + var _s = e.attributes[i].name; + var n = e.attributes[i].value; + + var r = _t8.exec(_s); + + if (r && r.length === 4) { + var _e3 = this.toCamelCase(r[1]); + + a[_e3] = Object.assign({}, r[3] ? _defineProperty({}, this.toCamelCase(r[3]), n) : { + enabled: "" === n || "true" === n + }, a[_e3]); + } + } + + Object.keys(a).forEach(function (e) { + var _t9 = a[e]; + var s = _t9["enabled"]; + var i = _t9["class"]; + + if (s && i) { + delete _t9["enabled"]; + delete _t9["clazz"]; + + var _s2 = _this5.createPluginInstance(i, _t9); + + _this5.core.registerPlugin(e, _s2); + } + }); + } + }, { + key: "isEmptyOption", + value: function isEmptyOption(e) { + var _t10 = e.validators; + return Object.keys(_t10).length === 0 && _t10.constructor === Object; + } + }, { + key: "parseElement", + value: function parseElement(e) { + var _t11 = new RegExp("^".concat(this.opts.prefix, "([a-z0-9-]+)(___)*([a-z0-9-]+)*$")); + + var s = e.attributes.length; + var a = {}; + var i = e.getAttribute("type"); + + for (var n = 0; n < s; n++) { + var _s3 = e.attributes[n].name; + var r = e.attributes[n].value; + + if (this.opts.html5Input) { + switch (true) { + case "minlength" === _s3: + a["stringLength"] = Object.assign({}, { + enabled: true, + min: parseInt(r, 10) + }, a["stringLength"]); + break; + + case "maxlength" === _s3: + a["stringLength"] = Object.assign({}, { + enabled: true, + max: parseInt(r, 10) + }, a["stringLength"]); + break; + + case "pattern" === _s3: + a["regexp"] = Object.assign({}, { + enabled: true, + regexp: r + }, a["regexp"]); + break; + + case "required" === _s3: + a["notEmpty"] = Object.assign({}, { + enabled: true + }, a["notEmpty"]); + break; + + case "type" === _s3 && "color" === r: + a["color"] = Object.assign({}, { + enabled: true, + type: "hex" + }, a["color"]); + break; + + case "type" === _s3 && "email" === r: + a["emailAddress"] = Object.assign({}, { + enabled: true + }, a["emailAddress"]); + break; + + case "type" === _s3 && "url" === r: + a["uri"] = Object.assign({}, { + enabled: true + }, a["uri"]); + break; + + case "type" === _s3 && "range" === r: + a["between"] = Object.assign({}, { + enabled: true, + max: parseFloat(e.getAttribute("max")), + min: parseFloat(e.getAttribute("min")) + }, a["between"]); + break; + + case "min" === _s3 && i !== "date" && i !== "range": + a["greaterThan"] = Object.assign({}, { + enabled: true, + min: parseFloat(r) + }, a["greaterThan"]); + break; + + case "max" === _s3 && i !== "date" && i !== "range": + a["lessThan"] = Object.assign({}, { + enabled: true, + max: parseFloat(r) + }, a["lessThan"]); + break; + } + } + + var l = _t11.exec(_s3); + + if (l && l.length === 4) { + var _e4 = this.toCamelCase(l[1]); + + a[_e4] = Object.assign({}, l[3] ? _defineProperty({}, this.toCamelCase(l[3]), this.normalizeValue(r)) : { + enabled: "" === r || "true" === r + }, a[_e4]); + } + } + + return { + validators: a + }; + } + }, { + key: "normalizeValue", + value: function normalizeValue(e) { + return e === "true" ? true : e === "false" ? false : e; + } + }, { + key: "toUpperCase", + value: function toUpperCase(e) { + return e.charAt(1).toUpperCase(); + } + }, { + key: "toCamelCase", + value: function toCamelCase(e) { + return e.replace(/-./g, this.toUpperCase); + } + }]); + + return t; + }(t$4); + + var o = /*#__PURE__*/function (_t) { + _inherits(o, _t); + + var _super = _createSuper(o); + + function o() { + var _this; + + _classCallCheck(this, o); + + _this = _super.call(this, {}); + _this.onValidHandler = _this.onFormValid.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(o, [{ + key: "install", + value: function install() { + var t = this.core.getFormElement(); + + if (t.querySelectorAll('[type="submit"][name="submit"]').length) { + throw new Error("Do not use `submit` for the name attribute of submit button"); + } + + this.core.on("core.form.valid", this.onValidHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.off("core.form.valid", this.onValidHandler); + } + }, { + key: "onFormValid", + value: function onFormValid() { + var t = this.core.getFormElement(); + + if (t instanceof HTMLFormElement) { + t.submit(); + } + } + }]); + + return o; + }(t$4); + + var e$3 = /*#__PURE__*/function (_t) { + _inherits(e, _t); + + var _super = _createSuper(e); + + function e(t) { + var _this; + + _classCallCheck(this, e); + + _this = _super.call(this, t); + _this.opts = t || {}; + _this.triggerExecutedHandler = _this.onTriggerExecuted.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(e, [{ + key: "install", + value: function install() { + this.core.on("plugins.trigger.executed", this.triggerExecutedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.off("plugins.trigger.executed", this.triggerExecutedHandler); + } + }, { + key: "onTriggerExecuted", + value: function onTriggerExecuted(t) { + if (this.opts[t.field]) { + var _e3 = this.opts[t.field].split(" "); + + var _iterator = _createForOfIteratorHelper(_e3), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _t2 = _step.value; + + var _e4 = _t2.trim(); + + if (this.opts[_e4]) { + this.core.revalidateField(_e4); + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + } + }]); + + return e; + }(t$4); + + var e$2 = /*#__PURE__*/function (_t) { + _inherits(e, _t); + + var _super = _createSuper(e); + + function e(t) { + var _this; + + _classCallCheck(this, e); + + _this = _super.call(this, t); + _this.opts = Object.assign({}, { + excluded: e.defaultIgnore + }, t); + _this.ignoreValidationFilter = _this.ignoreValidation.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(e, [{ + key: "install", + value: function install() { + this.core.registerFilter("element-ignored", this.ignoreValidationFilter); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.deregisterFilter("element-ignored", this.ignoreValidationFilter); + } + }, { + key: "ignoreValidation", + value: function ignoreValidation(t, _e2, i) { + return this.opts.excluded.apply(this, [t, _e2, i]); + } + }], [{ + key: "defaultIgnore", + value: function defaultIgnore(t, _e, i) { + var r = !!(_e.offsetWidth || _e.offsetHeight || _e.getClientRects().length); + + var n = _e.getAttribute("disabled"); + + return n === "" || n === "disabled" || _e.getAttribute("type") === "hidden" || !r; + } + }]); + + return e; + }(t$4); + + var t$2 = /*#__PURE__*/function (_e) { + _inherits(t, _e); + + var _super = _createSuper(t); + + function t(e) { + var _this; + + _classCallCheck(this, t); + + _this = _super.call(this, e); + _this.statuses = new Map(); + _this.opts = Object.assign({}, { + onStatusChanged: function onStatusChanged() {} + }, e); + _this.elementValidatingHandler = _this.onElementValidating.bind(_assertThisInitialized(_this)); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_assertThisInitialized(_this)); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_assertThisInitialized(_this)); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(t, [{ + key: "install", + value: function install() { + this.core.on("core.element.validating", this.elementValidatingHandler).on("core.element.validated", this.elementValidatedHandler).on("core.element.notvalidated", this.elementNotValidatedHandler).on("core.element.ignored", this.elementIgnoredHandler).on("core.field.added", this.fieldAddedHandler).on("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.statuses.clear(); + this.core.off("core.element.validating", this.elementValidatingHandler).off("core.element.validated", this.elementValidatedHandler).off("core.element.notvalidated", this.elementNotValidatedHandler).off("core.element.ignored", this.elementIgnoredHandler).off("core.field.added", this.fieldAddedHandler).off("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "areFieldsValid", + value: function areFieldsValid() { + return Array.from(this.statuses.values()).every(function (e) { + return e === "Valid" || e === "NotValidated" || e === "Ignored"; + }); + } + }, { + key: "getStatuses", + value: function getStatuses() { + return this.statuses; + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + this.statuses.set(e.field, "NotValidated"); + } + }, { + key: "onFieldRemoved", + value: function onFieldRemoved(e) { + if (this.statuses.has(e.field)) { + this.statuses["delete"](e.field); + } + + this.opts.onStatusChanged(this.areFieldsValid()); + } + }, { + key: "onElementValidating", + value: function onElementValidating(e) { + this.statuses.set(e.field, "Validating"); + this.opts.onStatusChanged(false); + } + }, { + key: "onElementValidated", + value: function onElementValidated(e) { + this.statuses.set(e.field, e.valid ? "Valid" : "Invalid"); + + if (e.valid) { + this.opts.onStatusChanged(this.areFieldsValid()); + } else { + this.opts.onStatusChanged(false); + } + } + }, { + key: "onElementNotValidated", + value: function onElementNotValidated(e) { + this.statuses.set(e.field, "NotValidated"); + this.opts.onStatusChanged(false); + } + }, { + key: "onElementIgnored", + value: function onElementIgnored(e) { + this.statuses.set(e.field, "Ignored"); + this.opts.onStatusChanged(this.areFieldsValid()); + } + }]); + + return t; + }(t$4); + + function s$2(s, a) { + a.split(" ").forEach(function (a) { + if (s.classList) { + s.classList.add(a); + } else if (" ".concat(s.className, " ").indexOf(" ".concat(a, " "))) { + s.className += " ".concat(a); + } + }); + } + + function a(s, a) { + a.split(" ").forEach(function (a) { + s.classList ? s.classList.remove(a) : s.className = s.className.replace(a, ""); + }); + } + + function c(c, e) { + var t = []; + var f = []; + Object.keys(e).forEach(function (s) { + if (s) { + e[s] ? t.push(s) : f.push(s); + } + }); + f.forEach(function (s) { + return a(c, s); + }); + t.forEach(function (a) { + return s$2(c, a); + }); + } + + function e$1(e, t) { + var l = e.matches || e.webkitMatchesSelector || e["mozMatchesSelector"] || e["msMatchesSelector"]; + + if (l) { + return l.call(e, t); + } + + var c = [].slice.call(e.parentElement.querySelectorAll(t)); + return c.indexOf(e) >= 0; + } + + function t$1(t, l) { + var c = t; + + while (c) { + if (e$1(c, l)) { + break; + } + + c = c.parentElement; + } + + return c; + } + + var s$1 = /*#__PURE__*/function (_e) { + _inherits(s, _e); + + var _super = _createSuper(s); + + function s(e) { + var _this; + + _classCallCheck(this, s); + + _this = _super.call(this, e); + _this.messages = new Map(); + _this.defaultContainer = document.createElement("div"); + _this.opts = Object.assign({}, { + container: function container(e, t) { + return _this.defaultContainer; + } + }, e); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_assertThisInitialized(_this)); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_assertThisInitialized(_this)); + _this.validatorValidatedHandler = _this.onValidatorValidated.bind(_assertThisInitialized(_this)); + _this.validatorNotValidatedHandler = _this.onValidatorNotValidated.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(s, [{ + key: "install", + value: function install() { + this.core.getFormElement().appendChild(this.defaultContainer); + this.core.on("core.element.ignored", this.elementIgnoredHandler).on("core.field.added", this.fieldAddedHandler).on("core.field.removed", this.fieldRemovedHandler).on("core.validator.validated", this.validatorValidatedHandler).on("core.validator.notvalidated", this.validatorNotValidatedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.getFormElement().removeChild(this.defaultContainer); + this.messages.forEach(function (e) { + return e.parentNode.removeChild(e); + }); + this.messages.clear(); + this.core.off("core.element.ignored", this.elementIgnoredHandler).off("core.field.added", this.fieldAddedHandler).off("core.field.removed", this.fieldRemovedHandler).off("core.validator.validated", this.validatorValidatedHandler).off("core.validator.notvalidated", this.validatorNotValidatedHandler); + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + var _this2 = this; + + var t = e.elements; + + if (t) { + t.forEach(function (e) { + var t = _this2.messages.get(e); + + if (t) { + t.parentNode.removeChild(t); + + _this2.messages["delete"](e); + } + }); + this.prepareFieldContainer(e.field, t); + } + } + }, { + key: "onFieldRemoved", + value: function onFieldRemoved(e) { + var _this3 = this; + + if (!e.elements.length || !e.field) { + return; + } + + var t = e.elements[0].getAttribute("type"); + + var _s2 = "radio" === t || "checkbox" === t ? [e.elements[0]] : e.elements; + + _s2.forEach(function (e) { + if (_this3.messages.has(e)) { + var _t = _this3.messages.get(e); + + _t.parentNode.removeChild(_t); + + _this3.messages["delete"](e); + } + }); + } + }, { + key: "prepareFieldContainer", + value: function prepareFieldContainer(e, t) { + var _this4 = this; + + if (t.length) { + var _s12 = t[0].getAttribute("type"); + + if ("radio" === _s12 || "checkbox" === _s12) { + this.prepareElementContainer(e, t[0], t); + } else { + t.forEach(function (_s4) { + return _this4.prepareElementContainer(e, _s4, t); + }); + } + } + } + }, { + key: "prepareElementContainer", + value: function prepareElementContainer(e, _s5, i) { + var a; + + if ("string" === typeof this.opts.container) { + var _e2 = "#" === this.opts.container.charAt(0) ? "[id=\"".concat(this.opts.container.substring(1), "\"]") : this.opts.container; + + a = this.core.getFormElement().querySelector(_e2); + } else { + a = this.opts.container(e, _s5); + } + + var l = document.createElement("div"); + a.appendChild(l); + c(l, { + "fv-plugins-message-container": true + }); + this.core.emit("plugins.message.placed", { + element: _s5, + elements: i, + field: e, + messageElement: l + }); + this.messages.set(_s5, l); + } + }, { + key: "getMessage", + value: function getMessage(e) { + return typeof e.message === "string" ? e.message : e.message[this.core.getLocale()]; + } + }, { + key: "onValidatorValidated", + value: function onValidatorValidated(e) { + var _s6 = e.elements; + var i = e.element.getAttribute("type"); + var a = ("radio" === i || "checkbox" === i) && _s6.length > 0 ? _s6[0] : e.element; + + if (this.messages.has(a)) { + var _s13 = this.messages.get(a); + + var _i = _s13.querySelector("[data-field=\"".concat(e.field, "\"][data-validator=\"").concat(e.validator, "\"]")); + + if (!_i && !e.result.valid) { + var _i2 = document.createElement("div"); + + _i2.innerHTML = this.getMessage(e.result); + + _i2.setAttribute("data-field", e.field); + + _i2.setAttribute("data-validator", e.validator); + + if (this.opts.clazz) { + c(_i2, _defineProperty({}, this.opts.clazz, true)); + } + + _s13.appendChild(_i2); + + this.core.emit("plugins.message.displayed", { + element: e.element, + field: e.field, + message: e.result.message, + messageElement: _i2, + meta: e.result.meta, + validator: e.validator + }); + } else if (_i && !e.result.valid) { + _i.innerHTML = this.getMessage(e.result); + this.core.emit("plugins.message.displayed", { + element: e.element, + field: e.field, + message: e.result.message, + messageElement: _i, + meta: e.result.meta, + validator: e.validator + }); + } else if (_i && e.result.valid) { + _s13.removeChild(_i); + } + } + } + }, { + key: "onValidatorNotValidated", + value: function onValidatorNotValidated(e) { + var t = e.elements; + + var _s8 = e.element.getAttribute("type"); + + var i = "radio" === _s8 || "checkbox" === _s8 ? t[0] : e.element; + + if (this.messages.has(i)) { + var _t3 = this.messages.get(i); + + var _s14 = _t3.querySelector("[data-field=\"".concat(e.field, "\"][data-validator=\"").concat(e.validator, "\"]")); + + if (_s14) { + _t3.removeChild(_s14); + } + } + } + }, { + key: "onElementIgnored", + value: function onElementIgnored(e) { + var t = e.elements; + + var _s10 = e.element.getAttribute("type"); + + var i = "radio" === _s10 || "checkbox" === _s10 ? t[0] : e.element; + + if (this.messages.has(i)) { + var _t4 = this.messages.get(i); + + var _s15 = [].slice.call(_t4.querySelectorAll("[data-field=\"".concat(e.field, "\"]"))); + + _s15.forEach(function (e) { + _t4.removeChild(e); + }); + } + } + }], [{ + key: "getClosestContainer", + value: function getClosestContainer(e, t, _s) { + var i = e; + + while (i) { + if (i === t) { + break; + } + + i = i.parentElement; + + if (_s.test(i.className)) { + break; + } + } + + return i; + } + }]); + + return s; + }(t$4); + + var l = /*#__PURE__*/function (_e) { + _inherits(l, _e); + + var _super = _createSuper(l); + + function l(e) { + var _this; + + _classCallCheck(this, l); + + _this = _super.call(this, e); + _this.results = new Map(); + _this.containers = new Map(); + _this.opts = Object.assign({}, { + defaultMessageContainer: true, + eleInvalidClass: "", + eleValidClass: "", + rowClasses: "", + rowValidatingClass: "" + }, e); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_assertThisInitialized(_this)); + _this.elementValidatingHandler = _this.onElementValidating.bind(_assertThisInitialized(_this)); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_assertThisInitialized(_this)); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_assertThisInitialized(_this)); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_assertThisInitialized(_this)); + _this.messagePlacedHandler = _this.onMessagePlaced.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(l, [{ + key: "install", + value: function install() { + var _t, + _this2 = this; + + c(this.core.getFormElement(), (_t = {}, _defineProperty(_t, this.opts.formClass, true), _defineProperty(_t, "fv-plugins-framework", true), _t)); + this.core.on("core.element.ignored", this.elementIgnoredHandler).on("core.element.validating", this.elementValidatingHandler).on("core.element.validated", this.elementValidatedHandler).on("core.element.notvalidated", this.elementNotValidatedHandler).on("plugins.icon.placed", this.iconPlacedHandler).on("core.field.added", this.fieldAddedHandler).on("core.field.removed", this.fieldRemovedHandler); + + if (this.opts.defaultMessageContainer) { + this.core.registerPlugin("___frameworkMessage", new s$1({ + clazz: this.opts.messageClass, + container: function container(e, t) { + var _l = "string" === typeof _this2.opts.rowSelector ? _this2.opts.rowSelector : _this2.opts.rowSelector(e, t); + + var a = t$1(t, _l); + return s$1.getClosestContainer(t, a, _this2.opts.rowPattern); + } + })); + this.core.on("plugins.message.placed", this.messagePlacedHandler); + } + } + }, { + key: "uninstall", + value: function uninstall() { + var _t2; + + this.results.clear(); + this.containers.clear(); + c(this.core.getFormElement(), (_t2 = {}, _defineProperty(_t2, this.opts.formClass, false), _defineProperty(_t2, "fv-plugins-framework", false), _t2)); + this.core.off("core.element.ignored", this.elementIgnoredHandler).off("core.element.validating", this.elementValidatingHandler).off("core.element.validated", this.elementValidatedHandler).off("core.element.notvalidated", this.elementNotValidatedHandler).off("plugins.icon.placed", this.iconPlacedHandler).off("core.field.added", this.fieldAddedHandler).off("core.field.removed", this.fieldRemovedHandler); + + if (this.opts.defaultMessageContainer) { + this.core.off("plugins.message.placed", this.messagePlacedHandler); + } + } + }, { + key: "onIconPlaced", + value: function onIconPlaced(e) {} + }, { + key: "onMessagePlaced", + value: function onMessagePlaced(e) {} + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + var _this3 = this; + + var s = e.elements; + + if (s) { + s.forEach(function (e) { + var s = _this3.containers.get(e); + + if (s) { + var _t3; + + c(s, (_t3 = {}, _defineProperty(_t3, _this3.opts.rowInvalidClass, false), _defineProperty(_t3, _this3.opts.rowValidatingClass, false), _defineProperty(_t3, _this3.opts.rowValidClass, false), _defineProperty(_t3, "fv-plugins-icon-container", false), _t3)); + + _this3.containers["delete"](e); + } + }); + this.prepareFieldContainer(e.field, s); + } + } + }, { + key: "onFieldRemoved", + value: function onFieldRemoved(e) { + var _this4 = this; + + e.elements.forEach(function (e) { + var s = _this4.containers.get(e); + + if (s) { + var _t4; + + c(s, (_t4 = {}, _defineProperty(_t4, _this4.opts.rowInvalidClass, false), _defineProperty(_t4, _this4.opts.rowValidatingClass, false), _defineProperty(_t4, _this4.opts.rowValidClass, false), _t4)); + } + }); + } + }, { + key: "prepareFieldContainer", + value: function prepareFieldContainer(e, t) { + var _this5 = this; + + if (t.length) { + var _s = t[0].getAttribute("type"); + + if ("radio" === _s || "checkbox" === _s) { + this.prepareElementContainer(e, t[0]); + } else { + t.forEach(function (t) { + return _this5.prepareElementContainer(e, t); + }); + } + } + } + }, { + key: "prepareElementContainer", + value: function prepareElementContainer(e, i) { + var _l2 = "string" === typeof this.opts.rowSelector ? this.opts.rowSelector : this.opts.rowSelector(e, i); + + var a = t$1(i, _l2); + + if (a !== i) { + var _t5; + + c(a, (_t5 = {}, _defineProperty(_t5, this.opts.rowClasses, true), _defineProperty(_t5, "fv-plugins-icon-container", true), _t5)); + this.containers.set(i, a); + } + } + }, { + key: "onElementValidating", + value: function onElementValidating(e) { + var s = e.elements; + var i = e.element.getAttribute("type"); + + var _l3 = "radio" === i || "checkbox" === i ? s[0] : e.element; + + var a = this.containers.get(_l3); + + if (a) { + var _t6; + + c(a, (_t6 = {}, _defineProperty(_t6, this.opts.rowInvalidClass, false), _defineProperty(_t6, this.opts.rowValidatingClass, true), _defineProperty(_t6, this.opts.rowValidClass, false), _t6)); + } + } + }, { + key: "onElementNotValidated", + value: function onElementNotValidated(e) { + this.removeClasses(e.element, e.elements); + } + }, { + key: "onElementIgnored", + value: function onElementIgnored(e) { + this.removeClasses(e.element, e.elements); + } + }, { + key: "removeClasses", + value: function removeClasses(e, s) { + var _this6 = this; + + var i = e.getAttribute("type"); + + var _l4 = "radio" === i || "checkbox" === i ? s[0] : e; + + s.forEach(function (e) { + var _t7; + + c(e, (_t7 = {}, _defineProperty(_t7, _this6.opts.eleValidClass, false), _defineProperty(_t7, _this6.opts.eleInvalidClass, false), _t7)); + }); + var a = this.containers.get(_l4); + + if (a) { + var _t8; + + c(a, (_t8 = {}, _defineProperty(_t8, this.opts.rowInvalidClass, false), _defineProperty(_t8, this.opts.rowValidatingClass, false), _defineProperty(_t8, this.opts.rowValidClass, false), _t8)); + } + } + }, { + key: "onElementValidated", + value: function onElementValidated(e) { + var _this7 = this; + + var s = e.elements; + var i = e.element.getAttribute("type"); + + var _l5 = "radio" === i || "checkbox" === i ? s[0] : e.element; + + s.forEach(function (s) { + var _t9; + + c(s, (_t9 = {}, _defineProperty(_t9, _this7.opts.eleValidClass, e.valid), _defineProperty(_t9, _this7.opts.eleInvalidClass, !e.valid), _t9)); + }); + var a = this.containers.get(_l5); + + if (a) { + if (!e.valid) { + var _t10; + + this.results.set(_l5, false); + c(a, (_t10 = {}, _defineProperty(_t10, this.opts.rowInvalidClass, true), _defineProperty(_t10, this.opts.rowValidatingClass, false), _defineProperty(_t10, this.opts.rowValidClass, false), _t10)); + } else { + this.results["delete"](_l5); + var _e2 = true; + this.containers.forEach(function (t, s) { + if (t === a && _this7.results.get(s) === false) { + _e2 = false; + } + }); + + if (_e2) { + var _t11; + + c(a, (_t11 = {}, _defineProperty(_t11, this.opts.rowInvalidClass, false), _defineProperty(_t11, this.opts.rowValidatingClass, false), _defineProperty(_t11, this.opts.rowValidClass, true), _t11)); + } + } + } + } + }]); + + return l; + }(t$4); + + var i$2 = /*#__PURE__*/function (_e) { + _inherits(i, _e); + + var _super = _createSuper(i); + + function i(e) { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, e); + _this.icons = new Map(); + _this.opts = Object.assign({}, { + invalid: "fv-plugins-icon--invalid", + onPlaced: function onPlaced() {}, + onSet: function onSet() {}, + valid: "fv-plugins-icon--valid", + validating: "fv-plugins-icon--validating" + }, e); + _this.elementValidatingHandler = _this.onElementValidating.bind(_assertThisInitialized(_this)); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_assertThisInitialized(_this)); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_assertThisInitialized(_this)); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + this.core.on("core.element.validating", this.elementValidatingHandler).on("core.element.validated", this.elementValidatedHandler).on("core.element.notvalidated", this.elementNotValidatedHandler).on("core.element.ignored", this.elementIgnoredHandler).on("core.field.added", this.fieldAddedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.icons.forEach(function (e) { + return e.parentNode.removeChild(e); + }); + this.icons.clear(); + this.core.off("core.element.validating", this.elementValidatingHandler).off("core.element.validated", this.elementValidatedHandler).off("core.element.notvalidated", this.elementNotValidatedHandler).off("core.element.ignored", this.elementIgnoredHandler).off("core.field.added", this.fieldAddedHandler); + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + var _this2 = this; + + var t = e.elements; + + if (t) { + t.forEach(function (e) { + var t = _this2.icons.get(e); + + if (t) { + t.parentNode.removeChild(t); + + _this2.icons["delete"](e); + } + }); + this.prepareFieldIcon(e.field, t); + } + } + }, { + key: "prepareFieldIcon", + value: function prepareFieldIcon(e, t) { + var _this3 = this; + + if (t.length) { + var _i8 = t[0].getAttribute("type"); + + if ("radio" === _i8 || "checkbox" === _i8) { + this.prepareElementIcon(e, t[0]); + } else { + t.forEach(function (t) { + return _this3.prepareElementIcon(e, t); + }); + } + } + } + }, { + key: "prepareElementIcon", + value: function prepareElementIcon(e, _i2) { + var n = document.createElement("i"); + n.setAttribute("data-field", e); + + _i2.parentNode.insertBefore(n, _i2.nextSibling); + + c(n, { + "fv-plugins-icon": true + }); + var l = { + classes: { + invalid: this.opts.invalid, + valid: this.opts.valid, + validating: this.opts.validating + }, + element: _i2, + field: e, + iconElement: n + }; + this.core.emit("plugins.icon.placed", l); + this.opts.onPlaced(l); + this.icons.set(_i2, n); + } + }, { + key: "onElementValidating", + value: function onElementValidating(e) { + var _this$setClasses; + + var t = this.setClasses(e.field, e.element, e.elements, (_this$setClasses = {}, _defineProperty(_this$setClasses, this.opts.invalid, false), _defineProperty(_this$setClasses, this.opts.valid, false), _defineProperty(_this$setClasses, this.opts.validating, true), _this$setClasses)); + var _i3 = { + element: e.element, + field: e.field, + iconElement: t, + status: "Validating" + }; + this.core.emit("plugins.icon.set", _i3); + this.opts.onSet(_i3); + } + }, { + key: "onElementValidated", + value: function onElementValidated(e) { + var _this$setClasses2; + + var t = this.setClasses(e.field, e.element, e.elements, (_this$setClasses2 = {}, _defineProperty(_this$setClasses2, this.opts.invalid, !e.valid), _defineProperty(_this$setClasses2, this.opts.valid, e.valid), _defineProperty(_this$setClasses2, this.opts.validating, false), _this$setClasses2)); + var _i4 = { + element: e.element, + field: e.field, + iconElement: t, + status: e.valid ? "Valid" : "Invalid" + }; + this.core.emit("plugins.icon.set", _i4); + this.opts.onSet(_i4); + } + }, { + key: "onElementNotValidated", + value: function onElementNotValidated(e) { + var _this$setClasses3; + + var t = this.setClasses(e.field, e.element, e.elements, (_this$setClasses3 = {}, _defineProperty(_this$setClasses3, this.opts.invalid, false), _defineProperty(_this$setClasses3, this.opts.valid, false), _defineProperty(_this$setClasses3, this.opts.validating, false), _this$setClasses3)); + var _i5 = { + element: e.element, + field: e.field, + iconElement: t, + status: "NotValidated" + }; + this.core.emit("plugins.icon.set", _i5); + this.opts.onSet(_i5); + } + }, { + key: "onElementIgnored", + value: function onElementIgnored(e) { + var _this$setClasses4; + + var t = this.setClasses(e.field, e.element, e.elements, (_this$setClasses4 = {}, _defineProperty(_this$setClasses4, this.opts.invalid, false), _defineProperty(_this$setClasses4, this.opts.valid, false), _defineProperty(_this$setClasses4, this.opts.validating, false), _this$setClasses4)); + var _i6 = { + element: e.element, + field: e.field, + iconElement: t, + status: "Ignored" + }; + this.core.emit("plugins.icon.set", _i6); + this.opts.onSet(_i6); + } + }, { + key: "setClasses", + value: function setClasses(e, _i7, n, l) { + var s = _i7.getAttribute("type"); + + var d = "radio" === s || "checkbox" === s ? n[0] : _i7; + + if (this.icons.has(d)) { + var _e2 = this.icons.get(d); + + c(_e2, l); + return _e2; + } else { + return null; + } + } + }]); + + return i; + }(t$4); + + var i$1 = /*#__PURE__*/function (_e) { + _inherits(i, _e); + + var _super = _createSuper(i); + + function i(e) { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, e); + _this.invalidFields = new Map(); + _this.opts = Object.assign({}, { + enabled: true + }, e); + _this.validatorHandler = _this.onValidatorValidated.bind(_assertThisInitialized(_this)); + _this.shouldValidateFilter = _this.shouldValidate.bind(_assertThisInitialized(_this)); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_assertThisInitialized(_this)); + _this.elementValidatingHandler = _this.onElementValidating.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + this.core.on("core.validator.validated", this.validatorHandler).on("core.field.added", this.fieldAddedHandler).on("core.element.notvalidated", this.elementNotValidatedHandler).on("core.element.validating", this.elementValidatingHandler).registerFilter("field-should-validate", this.shouldValidateFilter); + } + }, { + key: "uninstall", + value: function uninstall() { + this.invalidFields.clear(); + this.core.off("core.validator.validated", this.validatorHandler).off("core.field.added", this.fieldAddedHandler).off("core.element.notvalidated", this.elementNotValidatedHandler).off("core.element.validating", this.elementValidatingHandler).deregisterFilter("field-should-validate", this.shouldValidateFilter); + } + }, { + key: "shouldValidate", + value: function shouldValidate(e, _i, t, l) { + var d = (this.opts.enabled === true || this.opts.enabled[e] === true) && this.invalidFields.has(_i) && !!this.invalidFields.get(_i).length && this.invalidFields.get(_i).indexOf(l) === -1; + return !d; + } + }, { + key: "onValidatorValidated", + value: function onValidatorValidated(e) { + var _i2 = this.invalidFields.has(e.element) ? this.invalidFields.get(e.element) : []; + + var t = _i2.indexOf(e.validator); + + if (e.result.valid && t >= 0) { + _i2.splice(t, 1); + } else if (!e.result.valid && t === -1) { + _i2.push(e.validator); + } + + this.invalidFields.set(e.element, _i2); + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + if (e.elements) { + this.clearInvalidFields(e.elements); + } + } + }, { + key: "onElementNotValidated", + value: function onElementNotValidated(e) { + this.clearInvalidFields(e.elements); + } + }, { + key: "onElementValidating", + value: function onElementValidating(e) { + this.clearInvalidFields(e.elements); + } + }, { + key: "clearInvalidFields", + value: function clearInvalidFields(e) { + var _this2 = this; + + e.forEach(function (e) { + return _this2.invalidFields["delete"](e); + }); + } + }]); + + return i; + }(t$4); + + var e = /*#__PURE__*/function (_t) { + _inherits(e, _t); + + var _super = _createSuper(e); + + function e(t) { + var _this; + + _classCallCheck(this, e); + + _this = _super.call(this, t); + _this.isFormValid = false; + _this.opts = Object.assign({}, { + aspNetButton: false, + buttons: function buttons(t) { + return [].slice.call(t.querySelectorAll('[type="submit"]:not([formnovalidate])')); + } + }, t); + _this.submitHandler = _this.handleSubmitEvent.bind(_assertThisInitialized(_this)); + _this.buttonClickHandler = _this.handleClickEvent.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(e, [{ + key: "install", + value: function install() { + var _this2 = this; + + if (!(this.core.getFormElement() instanceof HTMLFormElement)) { + return; + } + + var t = this.core.getFormElement(); + this.submitButtons = this.opts.buttons(t); + t.setAttribute("novalidate", "novalidate"); + t.addEventListener("submit", this.submitHandler); + this.hiddenClickedEle = document.createElement("input"); + this.hiddenClickedEle.setAttribute("type", "hidden"); + t.appendChild(this.hiddenClickedEle); + this.submitButtons.forEach(function (t) { + t.addEventListener("click", _this2.buttonClickHandler); + }); + } + }, { + key: "uninstall", + value: function uninstall() { + var _this3 = this; + + var t = this.core.getFormElement(); + + if (t instanceof HTMLFormElement) { + t.removeEventListener("submit", this.submitHandler); + } + + this.submitButtons.forEach(function (t) { + t.removeEventListener("click", _this3.buttonClickHandler); + }); + this.hiddenClickedEle.parentElement.removeChild(this.hiddenClickedEle); + } + }, { + key: "handleSubmitEvent", + value: function handleSubmitEvent(t) { + this.validateForm(t); + } + }, { + key: "handleClickEvent", + value: function handleClickEvent(t) { + var _e = t.currentTarget; + + if (_e instanceof HTMLElement) { + if (this.opts.aspNetButton && this.isFormValid === true) ; else { + var _e3 = this.core.getFormElement(); + + _e3.removeEventListener("submit", this.submitHandler); + + this.clickedButton = t.target; + var i = this.clickedButton.getAttribute("name"); + var s = this.clickedButton.getAttribute("value"); + + if (i && s) { + this.hiddenClickedEle.setAttribute("name", i); + this.hiddenClickedEle.setAttribute("value", s); + } + + this.validateForm(t); + } + } + } + }, { + key: "validateForm", + value: function validateForm(t) { + var _this4 = this; + + t.preventDefault(); + this.core.validate().then(function (t) { + if (t === "Valid" && _this4.opts.aspNetButton && !_this4.isFormValid && _this4.clickedButton) { + _this4.isFormValid = true; + + _this4.clickedButton.removeEventListener("click", _this4.buttonClickHandler); + + _this4.clickedButton.click(); + } + }); + } + }]); + + return e; + }(t$4); + + var i = /*#__PURE__*/function (_t) { + _inherits(i, _t); + + var _super = _createSuper(i); + + function i(t) { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, t); + _this.messages = new Map(); + _this.opts = Object.assign({}, { + placement: "top", + trigger: "click" + }, t); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_assertThisInitialized(_this)); + _this.validatorValidatedHandler = _this.onValidatorValidated.bind(_assertThisInitialized(_this)); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.documentClickHandler = _this.onDocumentClicked.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + this.tip = document.createElement("div"); + c(this.tip, _defineProperty({ + "fv-plugins-tooltip": true + }, "fv-plugins-tooltip--".concat(this.opts.placement), true)); + document.body.appendChild(this.tip); + this.core.on("plugins.icon.placed", this.iconPlacedHandler).on("core.validator.validated", this.validatorValidatedHandler).on("core.element.validated", this.elementValidatedHandler); + + if ("click" === this.opts.trigger) { + document.addEventListener("click", this.documentClickHandler); + } + } + }, { + key: "uninstall", + value: function uninstall() { + this.messages.clear(); + document.body.removeChild(this.tip); + this.core.off("plugins.icon.placed", this.iconPlacedHandler).off("core.validator.validated", this.validatorValidatedHandler).off("core.element.validated", this.elementValidatedHandler); + + if ("click" === this.opts.trigger) { + document.removeEventListener("click", this.documentClickHandler); + } + } + }, { + key: "onIconPlaced", + value: function onIconPlaced(t) { + var _this2 = this; + + c(t.iconElement, { + "fv-plugins-tooltip-icon": true + }); + + switch (this.opts.trigger) { + case "hover": + t.iconElement.addEventListener("mouseenter", function (e) { + return _this2.show(t.element, e); + }); + t.iconElement.addEventListener("mouseleave", function (t) { + return _this2.hide(); + }); + break; + + case "click": + default: + t.iconElement.addEventListener("click", function (e) { + return _this2.show(t.element, e); + }); + break; + } + } + }, { + key: "onValidatorValidated", + value: function onValidatorValidated(t) { + if (!t.result.valid) { + var _e2 = t.elements; + + var _i4 = t.element.getAttribute("type"); + + var s = "radio" === _i4 || "checkbox" === _i4 ? _e2[0] : t.element; + var o = typeof t.result.message === "string" ? t.result.message : t.result.message[this.core.getLocale()]; + this.messages.set(s, o); + } + } + }, { + key: "onElementValidated", + value: function onElementValidated(t) { + if (t.valid) { + var _e3 = t.elements; + + var _i5 = t.element.getAttribute("type"); + + var s = "radio" === _i5 || "checkbox" === _i5 ? _e3[0] : t.element; + this.messages["delete"](s); + } + } + }, { + key: "onDocumentClicked", + value: function onDocumentClicked(t) { + this.hide(); + } + }, { + key: "show", + value: function show(t, _i3) { + _i3.preventDefault(); + + _i3.stopPropagation(); + + if (!this.messages.has(t)) { + return; + } + + c(this.tip, { + "fv-plugins-tooltip--hide": false + }); + this.tip.innerHTML = "
      ".concat(this.messages.get(t), "
      "); + var s = _i3.target; + var o = s.getBoundingClientRect(); + + var _this$tip$getBounding = this.tip.getBoundingClientRect(), + l = _this$tip$getBounding.height, + n = _this$tip$getBounding.width; + + var a = 0; + var d = 0; + + switch (this.opts.placement) { + case "bottom": + a = o.top + o.height; + d = o.left + o.width / 2 - n / 2; + break; + + case "bottom-left": + a = o.top + o.height; + d = o.left; + break; + + case "bottom-right": + a = o.top + o.height; + d = o.left + o.width - n; + break; + + case "left": + a = o.top + o.height / 2 - l / 2; + d = o.left - n; + break; + + case "right": + a = o.top + o.height / 2 - l / 2; + d = o.left + o.width; + break; + + case "top-left": + a = o.top - l; + d = o.left; + break; + + case "top-right": + a = o.top - l; + d = o.left + o.width - n; + break; + + case "top": + default: + a = o.top - l; + d = o.left + o.width / 2 - n / 2; + break; + } + + var c$1 = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0; + var r = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0; + a = a + c$1; + d = d + r; + this.tip.setAttribute("style", "top: ".concat(a, "px; left: ").concat(d, "px")); + } + }, { + key: "hide", + value: function hide() { + c(this.tip, { + "fv-plugins-tooltip--hide": true + }); + } + }]); + + return i; + }(t$4); + + var t = /*#__PURE__*/function (_e) { + _inherits(t, _e); + + var _super = _createSuper(t); + + function t(e) { + var _this; + + _classCallCheck(this, t); + + _this = _super.call(this, e); + _this.handlers = []; + _this.timers = new Map(); + + var _t = document.createElement("div"); + + _this.defaultEvent = !("oninput" in _t) ? "keyup" : "input"; + _this.opts = Object.assign({}, { + delay: 0, + event: _this.defaultEvent, + threshold: 0 + }, e); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(t, [{ + key: "install", + value: function install() { + this.core.on("core.field.added", this.fieldAddedHandler).on("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.handlers.forEach(function (e) { + return e.element.removeEventListener(e.event, e.handler); + }); + this.handlers = []; + this.timers.forEach(function (e) { + return window.clearTimeout(e); + }); + this.timers.clear(); + this.core.off("core.field.added", this.fieldAddedHandler).off("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "prepareHandler", + value: function prepareHandler(e, _t2) { + var _this2 = this; + + _t2.forEach(function (_t3) { + var i = []; + + if (!!_this2.opts.event && _this2.opts.event[e] === false) { + i = []; + } else if (!!_this2.opts.event && !!_this2.opts.event[e]) { + i = _this2.opts.event[e].split(" "); + } else if ("string" === typeof _this2.opts.event && _this2.opts.event !== _this2.defaultEvent) { + i = _this2.opts.event.split(" "); + } else { + var _e2 = _t3.getAttribute("type"); + + var s = _t3.tagName.toLowerCase(); + + var n = "radio" === _e2 || "checkbox" === _e2 || "file" === _e2 || "select" === s ? "change" : _this2.ieVersion >= 10 && _t3.getAttribute("placeholder") ? "keyup" : _this2.defaultEvent; + i = [n]; + } + + i.forEach(function (i) { + var s = function s(i) { + return _this2.handleEvent(i, e, _t3); + }; + + _this2.handlers.push({ + element: _t3, + event: i, + field: e, + handler: s + }); + + _t3.addEventListener(i, s); + }); + }); + } + }, { + key: "handleEvent", + value: function handleEvent(e, _t4, i) { + var _this3 = this; + + if (this.exceedThreshold(_t4, i) && this.core.executeFilter("plugins-trigger-should-validate", true, [_t4, i])) { + var s = function s() { + return _this3.core.validateElement(_t4, i).then(function (s) { + _this3.core.emit("plugins.trigger.executed", { + element: i, + event: e, + field: _t4 + }); + }); + }; + + var n = this.opts.delay[_t4] || this.opts.delay; + + if (n === 0) { + s(); + } else { + var _e3 = this.timers.get(i); + + if (_e3) { + window.clearTimeout(_e3); + } + + this.timers.set(i, window.setTimeout(s, n * 1e3)); + } + } + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + this.handlers.filter(function (_t5) { + return _t5.field === e.field; + }).forEach(function (e) { + return e.element.removeEventListener(e.event, e.handler); + }); + this.prepareHandler(e.field, e.elements); + } + }, { + key: "onFieldRemoved", + value: function onFieldRemoved(e) { + this.handlers.filter(function (_t6) { + return _t6.field === e.field && e.elements.indexOf(_t6.element) >= 0; + }).forEach(function (e) { + return e.element.removeEventListener(e.event, e.handler); + }); + } + }, { + key: "exceedThreshold", + value: function exceedThreshold(e, _t7) { + var i = this.opts.threshold[e] === 0 || this.opts.threshold === 0 ? false : this.opts.threshold[e] || this.opts.threshold; + + if (!i) { + return true; + } + + var s = _t7.getAttribute("type"); + + if (["button", "checkbox", "file", "hidden", "image", "radio", "reset", "submit"].indexOf(s) !== -1) { + return true; + } + + var n = this.core.getElementValue(e, _t7); + return n.length >= i; + } + }]); + + return t; + }(t$4); + + var index$1 = { + Alias: e$4, + Aria: i$3, + Declarative: t$3, + DefaultSubmit: o, + Dependency: e$3, + Excluded: e$2, + FieldStatus: t$2, + Framework: l, + Icon: i$2, + Message: s$1, + Sequence: i$1, + SubmitButton: e, + Tooltip: i, + Trigger: t + }; + + function s(s, t) { + return s.classList ? s.classList.contains(t) : new RegExp("(^| )".concat(t, "( |$)"), "gi").test(s.className); + } + + var index = { + call: t$_, + classSet: c, + closest: t$1, + fetch: e$D, + format: r$d, + hasClass: s, + isValidDate: t$X + }; + + var p = {}; + + exports.Plugin = t$4; + exports.algorithms = index$3; + exports.filters = index$2; + exports.formValidation = r; + exports.locales = p; + exports.plugins = index$1; + exports.utils = index; + exports.validators = s$3; + + Object.defineProperty(exports, '__esModule', { value: true }); + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.full.min.js b/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.full.min.js new file mode 100644 index 0000000..81e616e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.full.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports):typeof define==="function"&&define.amd?define(["exports"],factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,factory(global.FormValidation={}))})(this,(function(exports){"use strict";function t$14(t){var e=t.length;var l=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]];var n=0;var r=0;while(e--){r+=l[n][parseInt(t.charAt(e),10)];n=1-n}return r%10===0&&r>0}function t$13(t){var e=t.length;var n=5;for(var r=0;r1&&arguments[1]!==undefined?arguments[1]:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var n=t.length;var o=e.length;var l=Math.floor(o/2);for(var r=0;rarr.length)len=arr.length;for(var i=0,arr2=new Array(len);i=o.length)return{done:true};return{done:false,value:o[i++]}},e:function(e){throw e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function(){it=it.call(o)},n:function(){var step=it.next();normalCompletion=step.done;return step},e:function(e){didErr=true;err=e},f:function(){try{if(!normalCompletion&&it.return!=null)it.return()}finally{if(didErr)throw err}}}}function s$a(){return{fns:{},clear:function clear(){this.fns={}},emit:function emit(s){for(var _len=arguments.length,f=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){f[_key-1]=arguments[_key]}(this.fns[s]||[]).map((function(s){return s.apply(s,f)}))},off:function off(s,f){if(this.fns[s]){var n=this.fns[s].indexOf(f);if(n>=0){this.fns[s].splice(n,1)}}},on:function on(s,f){(this.fns[s]=this.fns[s]||[]).push(f)}}}function t$10(){return{filters:{},add:function add(t,e){(this.filters[t]=this.filters[t]||[]).push(e)},clear:function clear(){this.filters={}},execute:function execute(t,e,i){if(!this.filters[t]||!this.filters[t].length){return e}var s=e;var r=this.filters[t];var l=r.length;for(var _t=0;_t=0?_e.options.item(_t).value:""}if(c==="input"){if("radio"===o||"checkbox"===o){var _e2=n.filter((function(e){return e.checked})).length;return _e2===0?"":_e2+""}else{return r.value}}return""}function r$d(r,e){var t=Array.isArray(e)?e:[e];var a=r;t.forEach((function(r){a=a.replace("%s",r)}));return a}function s$9(){var s=function s(e){return parseFloat("".concat(e).replace(",","."))};return{validate:function validate(a){var t=a.value;if(t===""){return{valid:true}}var n=Object.assign({},{inclusive:true,message:""},a.options);var l=s(n.min);var o=s(n.max);return n.inclusive?{message:r$d(a.l10n?n.message||a.l10n.between["default"]:n.message,["".concat(l),"".concat(o)]),valid:parseFloat(t)>=l&&parseFloat(t)<=o}:{message:r$d(a.l10n?n.message||a.l10n.between.notInclusive:n.message,["".concat(l),"".concat(o)]),valid:parseFloat(t)>l&&parseFloat(t)parseInt(n,10));switch(true){case!!s&&!!n:a=r$d(t.l10n?t.l10n.choice.between:t.options.message,[s,n]);break;case!!s:a=r$d(t.l10n?t.l10n.choice.more:t.options.message,s);break;case!!n:a=r$d(t.l10n?t.l10n.choice.less:t.options.message,n);break}return{message:a,valid:l}}}}var t$Y={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DANKORT:{length:[16],prefix:["5019"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},ELO:{length:[16],prefix:["4011","4312","4389","4514","4573","4576","5041","5066","5067","509","6277","6362","6363","650","6516","6550"]},FORBRUGSFORENINGEN:{length:[16],prefix:["600722"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","5868","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]},VISA_ELECTRON:{length:[16],prefix:["4026","417500","4405","4508","4844","4913","4917"]}};function l$2(){return{validate:function validate(l){if(l.value===""){return{meta:{type:null},valid:true}}if(/[^0-9-\s]+/.test(l.value)){return{meta:{type:null},valid:false}}var r=l.value.replace(/\D/g,"");if(!t$14(r)){return{meta:{type:null},valid:false}}for(var _i=0,_Object$keys=Object.keys(t$Y);_i<_Object$keys.length;_i++){var _e=_Object$keys[_i];for(var n in t$Y[_e].prefix){if(l.value.substr(0,t$Y[_e].prefix[n].length)===t$Y[_e].prefix[n]&&t$Y[_e].length.indexOf(r.length)!==-1){return{meta:{type:_e},valid:true}}}}return{meta:{type:null},valid:false}}}}function t$X(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)){return false}if(t<1e3||t>9999||e<=0||e>12){return false}var s=[31,t%400===0||t%100!==0&&t%4===0?29:28,31,30,31,30,31,31,30,31,30,31];if(n<=0||n>s[e-1]){return false}if(r===true){var _r=new Date;var _s=_r.getFullYear();var a=_r.getMonth();var u=_r.getDate();return t<_s||t===_s&&e-11){var _t=o[1].split(":");c.setHours(_t.length>0?parseInt(_t[0],10):0);c.setMinutes(_t.length>1?parseInt(_t[1],10):0);c.setSeconds(_t.length>2?parseInt(_t[2],10):0)}return c};var s=function s(t,e){var n=e.replace(/Y/g,"y").replace(/M/g,"m").replace(/D/g,"d").replace(/:m/g,":M").replace(/:mm/g,":MM").replace(/:S/,":s").replace(/:SS/,":ss");var s=t.getDate();var a=s<10?"0".concat(s):s;var l=t.getMonth()+1;var o=l<10?"0".concat(l):l;var r="".concat(t.getFullYear()).substr(2);var c=t.getFullYear();var i=t.getHours()%12||12;var g=i<10?"0".concat(i):i;var u=t.getHours();var m=u<10?"0".concat(u):u;var d=t.getMinutes();var f=d<10?"0".concat(d):d;var p=t.getSeconds();var h=p<10?"0".concat(p):p;var $={H:"".concat(u),HH:"".concat(m),M:"".concat(d),MM:"".concat(f),d:"".concat(s),dd:"".concat(a),h:"".concat(i),hh:"".concat(g),m:"".concat(l),mm:"".concat(o),s:"".concat(p),ss:"".concat(h),yy:"".concat(r),yyyy:"".concat(c)};return n.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMs])\1?|"[^"]*"|'[^']*'/g,(function(t){return $[t]?$[t]:t.slice(1,t.length-1)}))};return{validate:function validate(a){if(a.value===""){return{meta:{date:null},valid:true}}var l=Object.assign({},{format:a.element&&a.element.getAttribute("type")==="date"?"YYYY-MM-DD":"MM/DD/YYYY",message:""},a.options);var o=a.l10n?a.l10n.date["default"]:l.message;var r={message:"".concat(o),meta:{date:null},valid:false};var c=l.format.split(" ");var i=c.length>1?c[1]:null;var g=c.length>2?c[2]:null;var u=a.value.split(" ");var m=u[0];var d=u.length>1?u[1]:null;if(c.length!==u.length){return r}var f=l.separator||(m.indexOf("/")!==-1?"/":m.indexOf("-")!==-1?"-":m.indexOf(".")!==-1?".":"/");if(f===null||m.indexOf(f)===-1){return r}var p=m.split(f);var h=c[0].split(f);if(p.length!==h.length){return r}var $=p[h.indexOf("YYYY")];var M=p[h.indexOf("MM")];var Y=p[h.indexOf("DD")];if(!/^\d+$/.test($)||!/^\d+$/.test(M)||!/^\d+$/.test(Y)||$.length>4||M.length>2||Y.length>2){return r}var D=parseInt($,10);var x=parseInt(M,10);var y=parseInt(Y,10);if(!t$X(D,x,y)){return r}var I=new Date(D,x-1,y);if(i){var _t2=d.split(":");if(i.split(":").length!==_t2.length){return r}var _e=_t2.length>0?_t2[0].length<=2&&/^\d+$/.test(_t2[0])?parseInt(_t2[0],10):-1:0;var _n2=_t2.length>1?_t2[1].length<=2&&/^\d+$/.test(_t2[1])?parseInt(_t2[1],10):-1:0;var _s=_t2.length>2?_t2[2].length<=2&&/^\d+$/.test(_t2[2])?parseInt(_t2[2],10):-1:0;if(_e===-1||_n2===-1||_s===-1){return r}if(_s<0||_s>60){return r}if(_e<0||_e>=24||g&&_e>12){return r}if(_n2<0||_n2>59){return r}I.setHours(_e);I.setMinutes(_n2);I.setSeconds(_s)}var O=typeof l.min==="function"?l.min():l.min;var v=O instanceof Date?O:O?n(O,h,f):I;var H=typeof l.max==="function"?l.max():l.max;var T=H instanceof Date?H:H?n(H,h,f):I;var S=O instanceof Date?s(v,l.format):O;var b=H instanceof Date?s(T,l.format):H;switch(true){case!!S&&!b:return{message:r$d(a.l10n?a.l10n.date.min:o,S),meta:{date:I},valid:I.getTime()>=v.getTime()};case!!b&&!S:return{message:r$d(a.l10n?a.l10n.date.max:o,b),meta:{date:I},valid:I.getTime()<=T.getTime()};case!!b&&!!S:return{message:r$d(a.l10n?a.l10n.date.range:o,[S,b]),meta:{date:I},valid:I.getTime()<=T.getTime()&&I.getTime()>=v.getTime()};default:return{message:"".concat(o),meta:{date:I},valid:true}}}}}function o$3(){return{validate:function validate(o){var t="function"===typeof o.options.compare?o.options.compare.call(this):o.options.compare;return{valid:t===""||o.value!==t}}}}function e$G(){return{validate:function validate(e){return{valid:e.value===""||/^\d+$/.test(e.value)}}}}function t$W(){var t=function t(_t3,e){var s=_t3.split(/"/);var l=s.length;var n=[];var r="";for(var _t=0;_t()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;var n=s.multiple===true||"".concat(s.multiple)==="true";if(n){var _n=s.separator||/[,;]/;var r=t(e.value,_n);var a=r.length;for(var _t4=0;_t4parseInt("".concat(e.options.maxFiles),10)){return{meta:{error:"INVALID_MAX_FILES"},valid:false}}if(e.options.minFiles&&oparseInt("".concat(e.options.maxSize),10)){return{meta:Object.assign({},{error:"INVALID_MAX_SIZE"},r),valid:false}}if(i&&i.indexOf(t.toLowerCase())===-1){return{meta:Object.assign({},{error:"INVALID_EXTENSION"},r),valid:false}}if(_n[l].type&&s&&s.indexOf(_n[l].type.toLowerCase())===-1){return{meta:Object.assign({},{error:"INVALID_TYPE"},r),valid:false}}}if(e.options.maxTotalSize&&a>parseInt("".concat(e.options.maxTotalSize),10)){return{meta:Object.assign({},{error:"INVALID_MAX_TOTAL_SIZE",totalSize:a},r),valid:false}}if(e.options.minTotalSize&&a=t}:{message:r$d(a.l10n?s.message||a.l10n.greaterThan.notInclusive:s.message,"".concat(t)),valid:parseFloat(a.value)>t}}}}function o$2(){return{validate:function validate(o){var t="function"===typeof o.options.compare?o.options.compare.call(this):o.options.compare;return{valid:t===""||o.value===t}}}}function a$6(){return{validate:function validate(a){if(a.value===""){return{valid:true}}var e=Object.assign({},{decimalSeparator:".",thousandsSeparator:""},a.options);var t=e.decimalSeparator==="."?"\\.":e.decimalSeparator;var r=e.thousandsSeparator==="."?"\\.":e.thousandsSeparator;var o=new RegExp("^-?[0-9]{1,3}(".concat(r,"[0-9]{3})*(").concat(t,"[0-9]+)?$"));var n=new RegExp(r,"g");var s="".concat(a.value);if(!o.test(s)){return{valid:false}}if(r){s=s.replace(n,"")}if(t){s=s.replace(t,".")}var i=parseFloat(s);return{valid:!isNaN(i)&&isFinite(i)&&Math.floor(i)===i}}}}function d(){return{validate:function validate(d){if(d.value===""){return{valid:true}}var a=Object.assign({},{ipv4:true,ipv6:true},d.options);var e=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/([0-9]|[1-2][0-9]|3[0-2]))?$/;var s=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/(\d|\d\d|1[0-1]\d|12[0-8]))?$/;switch(true){case a.ipv4&&!a.ipv6:return{message:d.l10n?a.message||d.l10n.ip.ipv4:a.message,valid:e.test(d.value)};case!a.ipv4&&a.ipv6:return{message:d.l10n?a.message||d.l10n.ip.ipv6:a.message,valid:s.test(d.value)};case a.ipv4&&a.ipv6:default:return{message:d.l10n?a.message||d.l10n.ip["default"]:a.message,valid:e.test(d.value)||s.test(d.value)}}}}}function s$8(){return{validate:function validate(s){if(s.value===""){return{valid:true}}var a=Object.assign({},{inclusive:true,message:""},s.options);var l=parseFloat("".concat(a.max).replace(",","."));return a.inclusive?{message:r$d(s.l10n?a.message||s.l10n.lessThan["default"]:a.message,"".concat(l)),valid:parseFloat(s.value)<=l}:{message:r$d(s.l10n?a.message||s.l10n.lessThan.notInclusive:a.message,"".concat(l)),valid:parseFloat(s.value)=0;s--){var n=e.charCodeAt(s);if(n>127&&n<=2047){t++}else if(n>2047&&n<=65535){t+=2}if(n>=56320&&n<=57343){s--}}return"".concat(t)};return{validate:function validate(s){var n=Object.assign({},{message:"",trim:false,utf8Bytes:false},s.options);var a=n.trim===true||"".concat(n.trim)==="true"?s.value.trim():s.value;if(a===""){return{valid:true}}var r=n.min?"".concat(n.min):"";var l=n.max?"".concat(n.max):"";var i=n.utf8Bytes?t(a):a.length;var g=true;var m=s.l10n?n.message||s.l10n.stringLength["default"]:n.message;if(r&&iparseInt(l,10)){g=false}switch(true){case!!r&&!!l:m=r$d(s.l10n?n.message||s.l10n.stringLength.between:n.message,[r,l]);break;case!!r:m=r$d(s.l10n?n.message||s.l10n.stringLength.more:n.message,"".concat(parseInt(r,10)));break;case!!l:m=r$d(s.l10n?n.message||s.l10n.stringLength.less:n.message,"".concat(parseInt(l,10)));break}return{message:m,valid:g}}}}function t$T(){var t={allowEmptyProtocol:false,allowLocal:false,protocol:"http, https, ftp"};return{validate:function validate(o){if(o.value===""){return{valid:true}}var a=Object.assign({},t,o.options);var l=a.allowLocal===true||"".concat(a.allowLocal)==="true";var f=a.allowEmptyProtocol===true||"".concat(a.allowEmptyProtocol)==="true";var u=a.protocol.split(",").join("|").replace(/\s/g,"");var e=new RegExp("^"+"(?:(?:"+u+")://)"+(f?"?":"")+"(?:\\S+(?::\\S*)?@)?"+"(?:"+(l?"":"(?!(?:10|127)(?:\\.\\d{1,3}){3})"+"(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})"+"(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})")+"(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])"+"(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}"+"(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))"+"|"+"(?:(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9]+)"+"(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9])*"+"(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))"+(l?"?":"")+")"+"(?::\\d{2,5})?"+"(?:/[^\\s]*)?$","i");return{valid:e.test(o.value)}}}}function a$3(){return{validate:function validate(a){return{valid:a.value===""||/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/.test(a.value)}}}}function a$2(){return{validate:function validate(a){return{valid:a.value===""||/^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$/.test(a.value)}}}}function e$B(){var e=["hex","rgb","rgba","hsl","hsla","keyword"];var a=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","transparent","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"];var r=function r(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)};var l=function l(e){return/^hsl\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(e)};var s=function s(e){return/^hsla\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(e)};var t=function t(e){return a.indexOf(e)>=0};var i=function i(e){return/^rgb\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){2}(\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*)\)$/.test(e)||/^rgb\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(e)};var o=function o(e){return/^rgba\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(e)||/^rgba\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(e)};return{validate:function validate(a){if(a.value===""){return{valid:true}}var n=typeof a.options.type==="string"?a.options.type.toString().replace(/s/g,"").split(","):a.options.type||e;var _iterator=_createForOfIteratorHelper(n),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var d=_step.value;var _n=d.toLowerCase();if(e.indexOf(_n)===-1){continue}var g=true;switch(_n){case"hex":g=r(a.value);break;case"hsl":g=l(a.value);break;case"hsla":g=s(a.value);break;case"keyword":g=t(a.value);break;case"rgb":g=i(a.value);break;case"rgba":g=o(a.value);break}if(g){return{valid:true}}}}catch(err){_iterator.e(err)}finally{_iterator.f()}return{valid:false}}}}function t$S(){return{validate:function validate(t){if(t.value===""){return{valid:true}}var e=t.value.toUpperCase();if(!/^[0123456789ABCDEFGHJKLMNPQRSTUVWXYZ*@#]{9}$/.test(e)){return{valid:false}}var r=e.split("");var a=r.pop();var n=r.map((function(t){var e=t.charCodeAt(0);switch(true){case t==="*":return 36;case t==="@":return 37;case t==="#":return 38;case e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0):return e-"A".charCodeAt(0)+10;default:return parseInt(t,10)}}));var c=n.map((function(t,e){var r=e%2===0?t:2*t;return Math.floor(r/10)+r%10})).reduce((function(t,e){return t+e}),0);var o=(10-c%10)%10;return{valid:a==="".concat(o)}}}}function e$A(){return{validate:function validate(e){if(e.value===""){return{valid:true}}if(!/^(\d{8}|\d{12}|\d{13}|\d{14})$/.test(e.value)){return{valid:false}}var t=e.value.length;var a=0;var l=t===8?[3,1]:[1,3];for(var r=0;r="A".charCodeAt(0)&&Z<="Z".charCodeAt(0)?Z-"A".charCodeAt(0)+10:A})).join("");var I=parseInt(a.substr(0,1),10);var L=a.length;for(var _A2=1;_A231||s>12){return false}var u=0;for(var _r=0;_r<6;_r++){u+=(7-_r)*(parseInt(t.charAt(_r),10)+parseInt(t.charAt(_r+6),10))}u=11-u%11;if(u===10||u===11){u=0}if(u!==a){return false}switch(r.toUpperCase()){case"BA":return 10<=n&&n<=19;case"MK":return 41<=n&&n<=49;case"ME":return 20<=n&&n<=29;case"RS":return 70<=n&&n<=99;case"SI":return 50<=n&&n<=59;default:return true}}function r$a(r){return{meta:{},valid:t$Q(r,"BA")}}function e$x(e){if(!/^\d{10}$/.test(e)&&!/^\d{6}\s\d{3}\s\d{1}$/.test(e)){return{meta:{},valid:false}}var s=e.replace(/\s/g,"");var r=parseInt(s.substr(0,2),10)+1900;var a=parseInt(s.substr(2,2),10);var l=parseInt(s.substr(4,2),10);if(a>40){r+=100;a-=40}else if(a>20){r-=100;a-=20}if(!t$X(r,a,l)){return{meta:{},valid:false}}var i=0;var n=[2,4,8,5,10,9,7,3,6];for(var _t=0;_t<9;_t++){i+=parseInt(s.charAt(_t),10)*n[_t]}i=i%11%10;return{meta:{},valid:"".concat(i)===s.substr(9,1)}}function t$P(t){var e=t.replace(/\D/g,"");if(!/^\d{11}$/.test(e)||/^1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11}|0{11}$/.test(e)){return{meta:{},valid:false}}var a=0;var r;for(r=0;r<9;r++){a+=(10-r)*parseInt(e.charAt(r),10)}a=11-a%11;if(a===10||a===11){a=0}if("".concat(a)!==e.charAt(9)){return{meta:{},valid:false}}var f=0;for(r=0;r<10;r++){f+=(11-r)*parseInt(e.charAt(r),10)}f=11-f%11;if(f===10||f===11){f=0}return{meta:{},valid:"".concat(f)===e.charAt(10)}}function t$O(t){if(!/^756[.]{0,1}[0-9]{4}[.]{0,1}[0-9]{4}[.]{0,1}[0-9]{2}$/.test(t)){return{meta:{},valid:false}}var e=t.replace(/\D/g,"").substr(3);var r=e.length;var a=r===8?[3,1]:[1,3];var n=0;for(var _t=0;_t=0;_t--){l+=parseInt(e.charAt(_t),10)*a[_t]}l=l%11;if(l>=2){l=11-l}return{meta:{},valid:"".concat(l)===e.substr(r-1)}}function e$v(e){if(!/^\d{9,10}$/.test(e)){return{meta:{},valid:false}}var r=1900+parseInt(e.substr(0,2),10);var s=parseInt(e.substr(2,2),10)%50%20;var a=parseInt(e.substr(4,2),10);if(e.length===9){if(r>=1980){r-=100}if(r>1953){return{meta:{},valid:false}}}else if(r<1954){r+=100}if(!t$X(r,s,a)){return{meta:{},valid:false}}if(e.length===10){var _t=parseInt(e.substr(0,9),10)%11;if(r<1985){_t=_t%10}return{meta:{},valid:"".concat(_t)===e.substr(9,1)}}return{meta:{},valid:true}}function e$u(e){if(!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(e)){return{meta:{},valid:false}}var a=e.replace(/-/g,"");var r=parseInt(a.substr(0,2),10);var s=parseInt(a.substr(2,2),10);var n=parseInt(a.substr(4,2),10);switch(true){case"5678".indexOf(a.charAt(6))!==-1&&n>=58:n+=1800;break;case"0123".indexOf(a.charAt(6))!==-1:case"49".indexOf(a.charAt(6))!==-1&&n>=37:n+=1900;break;default:n+=2e3;break}return{meta:{},valid:t$X(n,s,r)}}function t$M(t){var e=/^[0-9]{8}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(t);var s=/^[XYZ][-]{0,1}[0-9]{7}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(t);var n=/^[A-HNPQS][-]{0,1}[0-9]{7}[-]{0,1}[0-9A-J]$/.test(t);if(!e&&!s&&!n){return{meta:{},valid:false}}var r=t.replace(/-/g,"");var l;var a;var f=true;if(e||s){a="DNI";var _t="XYZ".indexOf(r.charAt(0));if(_t!==-1){r=_t+r.substr(1)+"";a="NIE"}l=parseInt(r.substr(0,8),10);l="TRWAGMYFPDXBNJZSQVHLCKE"[l%23];return{meta:{type:a},valid:l===r.substr(8,1)}}else{l=r.substr(1,7);a="CIF";var _t2=r[0];var _e=r.substr(-1);var _s=0;for(var _t3=0;_t3=0){return{meta:{},valid:false}}var s=parseInt(t.substr(4,2),10);var r=parseInt(t.substr(6,2),10);var a=parseInt(t.substr(6,2),10);if(/^[0-9]$/.test(t.charAt(16))){s+=1900}else{s+=2e3}if(!t$X(s,r,a)){return{meta:{},valid:false}}var E=t.charAt(10);if(E!=="H"&&E!=="M"){return{meta:{},valid:false}}var n=t.substr(11,2);var K=["AS","BC","BS","CC","CH","CL","CM","CS","DF","DG","GR","GT","HG","JC","MC","MN","MS","NE","NL","NT","OC","PL","QR","QT","SL","SP","SR","TC","TL","TS","VZ","YN","ZS"];if(K.indexOf(n)===-1){return{meta:{},valid:false}}var i="0123456789ABCDEFGHIJKLMN&OPQRSTUVWXYZ";var L=0;var l=t.length;for(var _A=0;_A31&&s>12){return{meta:{},valid:false}}if(a!==9){r=i[a+""]+r;if(!t$X(r,s,n)){return{meta:{},valid:false}}}var l=0;var f=[2,7,9,1,4,6,3,5,8,2,7,9];var o=e.length;for(var _t=0;_t0){a=10-a}return{meta:{},valid:"".concat(a)===t.charAt(7)}}function r$2(r){if(!/^[0-9]{10}[0|1][8|9][0-9]$/.test(r)){return{meta:{},valid:false}}var s=parseInt(r.substr(0,2),10);var a=(new Date).getFullYear()%100;var l=parseInt(r.substr(2,2),10);var n=parseInt(r.substr(4,2),10);s=s>=a?s+1900:s+2e3;if(!t$X(s,l,n)){return{meta:{},valid:false}}return{meta:{},valid:t$14(r)}}function F(){var F=["AR","BA","BG","BR","CH","CL","CN","CO","CZ","DK","EE","ES","FI","FR","HK","HR","ID","IE","IL","IS","KR","LT","LV","ME","MK","MX","MY","NL","NO","PE","PL","RO","RS","SE","SI","SK","SM","TH","TR","TW","UY","ZA"];return{validate:function validate(P){if(P.value===""){return{valid:true}}var Y=Object.assign({},{message:""},P.options);var Z=P.value.substr(0,2);if("function"===typeof Y.country){Z=Y.country.call(this)}else{Z=Y.country}if(F.indexOf(Z)===-1){return{valid:true}}var G={meta:{},valid:true};switch(Z.toLowerCase()){case"ar":G=t$R(P.value);break;case"ba":G=r$a(P.value);break;case"bg":G=e$x(P.value);break;case"br":G=t$P(P.value);break;case"ch":G=t$O(P.value);break;case"cl":G=e$w(P.value);break;case"cn":G=r$9(P.value);break;case"co":G=t$N(P.value);break;case"cz":G=e$v(P.value);break;case"dk":G=e$u(P.value);break;case"ee":G=r$8(P.value);break;case"es":G=t$M(P.value);break;case"fi":G=s$7(P.value);break;case"fr":G=t$L(P.value);break;case"hk":G=t$K(P.value);break;case"hr":G=o$1(P.value);break;case"id":G=e$t(P.value);break;case"ie":G=t$J(P.value);break;case"il":G=e$s(P.value);break;case"is":G=e$r(P.value);break;case"kr":G=e$q(P.value);break;case"lt":G=r$8(P.value);break;case"lv":G=e$p(P.value);break;case"me":G=r$7(P.value);break;case"mk":G=r$6(P.value);break;case"mx":G=O(P.value);break;case"my":G=s$6(P.value);break;case"nl":G=e$o(P.value);break;case"no":G=t$I(P.value);break;case"pe":G=t$H(P.value);break;case"pl":G=t$G(P.value);break;case"ro":G=e$n(P.value);break;case"rs":G=r$5(P.value);break;case"se":G=r$4(P.value);break;case"si":G=r$3(P.value);break;case"sk":G=e$v(P.value);break;case"sm":G=t$F(P.value);break;case"th":G=t$E(P.value);break;case"tr":G=t$D(P.value);break;case"tw":G=t$C(P.value);break;case"uy":G=t$B(P.value);break;case"za":G=r$2(P.value);break}var V=r$d(P.l10n&&P.l10n.id?Y.message||P.l10n.id.country:Y.message,P.l10n&&P.l10n.id&&P.l10n.id.countries?P.l10n.id.countries[Z.toUpperCase()]:Z.toUpperCase());return Object.assign({},{message:V},G)}}}function t$A(){return{validate:function validate(t){if(t.value===""){return{valid:true}}switch(true){case/^\d{15}$/.test(t.value):case/^\d{2}-\d{6}-\d{6}-\d{1}$/.test(t.value):case/^\d{2}\s\d{6}\s\d{6}\s\d{1}$/.test(t.value):return{valid:t$14(t.value.replace(/[^0-9]/g,""))};case/^\d{14}$/.test(t.value):case/^\d{16}$/.test(t.value):case/^\d{2}-\d{6}-\d{6}(|-\d{2})$/.test(t.value):case/^\d{2}\s\d{6}\s\d{6}(|\s\d{2})$/.test(t.value):return{valid:true};default:return{valid:false}}}}}function e$m(){return{validate:function validate(e){if(e.value===""){return{valid:true}}if(!/^IMO \d{7}$/i.test(e.value)){return{valid:false}}var t=e.value.replace(/^.*(\d{7})$/,"$1");var r=0;for(var _e=6;_e>=1;_e--){r+=parseInt(t.slice(6-_e,-_e),10)*(_e+1)}return{valid:r%10===parseInt(t.charAt(6),10)}}}}function e$l(){return{validate:function validate(e){if(e.value===""){return{meta:{type:null},valid:true}}var t;switch(true){case/^\d{9}[\dX]$/.test(e.value):case e.value.length===13&&/^(\d+)-(\d+)-(\d+)-([\dX])$/.test(e.value):case e.value.length===13&&/^(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(e.value):t="ISBN10";break;case/^(978|979)\d{9}[\dX]$/.test(e.value):case e.value.length===17&&/^(978|979)-(\d+)-(\d+)-(\d+)-([\dX])$/.test(e.value):case e.value.length===17&&/^(978|979)\s(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(e.value):t="ISBN13";break;default:return{meta:{type:null},valid:false}}var a=e.value.replace(/[^0-9X]/gi,"").split("");var l=a.length;var s=0;var d;var u;switch(t){case"ISBN10":s=0;for(d=0;d57?(_M-55).toString():S.charAt(T)}var e="";var B=C.length;var E=B%2!==0?0:1;for(T=0;T9){r-=9}}l+=r}return{valid:l%10===0}}}}function e$d(){var e=function e(t,_e){var s=Math.pow(10,_e);var a=t*s;var n;switch(true){case a===0:n=0;break;case a>0:n=1;break;case a<0:n=-1;break}var r=a%1===.5*n;return r?(Math.floor(a)+(n>0?1:0))/s:Math.round(a)/s};var s=function s(t,_s){if(_s===0){return 1}var a="".concat(t).split(".");var n="".concat(_s).split(".");var r=(a.length===1?0:a[1].length)+(n.length===1?0:n[1].length);return e(t-_s*Math.floor(t/_s),r)};return{validate:function validate(e){if(e.value===""){return{valid:true}}var a=parseFloat(e.value);if(isNaN(a)||!isFinite(a)){return{valid:false}}var n=Object.assign({},{baseValue:0,message:"",step:1},e.options);var r=s(a-n.baseValue,n.step);return{message:r$d(e.l10n?n.message||e.l10n.step["default"]:n.message,"".concat(n.step)),valid:r===0||r===n.step}}}}function s$5(){return{validate:function validate(s){if(s.value===""){return{valid:true}}var A=Object.assign({},{message:""},s.options);var i={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};var n=A.version?"".concat(A.version):"all";return{message:A.version?r$d(s.l10n?A.message||s.l10n.uuid.version:A.message,A.version):s.l10n?s.l10n.uuid["default"]:A.message,valid:null===i[n]?true:i[n].test(s.value)}}}}function t$y(t){var e=t.replace("-","");if(/^AR[0-9]{11}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{11}$/.test(e)){return{meta:{},valid:false}}var r=[5,4,3,2,7,6,5,4,3,2];var a=0;for(var _t=0;_t<10;_t++){a+=parseInt(e.charAt(_t),10)*r[_t]}a=11-a%11;if(a===11){a=0}return{meta:{},valid:"".concat(a)===e.substr(10)}}function t$x(t){var e=t;if(/^ATU[0-9]{8}$/.test(e)){e=e.substr(2)}if(!/^U[0-9]{8}$/.test(e)){return{meta:{},valid:false}}e=e.substr(1);var r=[1,2,1,2,1,2,1];var s=0;var a=0;for(var _t=0;_t<7;_t++){a=parseInt(e.charAt(_t),10)*r[_t];if(a>9){a=Math.floor(a/10)+a%10}s+=a}s=10-(s+4)%10;if(s===10){s=0}return{meta:{},valid:"".concat(s)===e.substr(7,1)}}function t$w(t){var e=t;if(/^BE[0]?[0-9]{9}$/.test(e)){e=e.substr(2)}if(!/^[0]?[0-9]{9}$/.test(e)){return{meta:{},valid:false}}if(e.length===9){e="0".concat(e)}if(e.substr(1,1)==="0"){return{meta:{},valid:false}}var s=parseInt(e.substr(0,8),10)+parseInt(e.substr(8,2),10);return{meta:{},valid:s%97===0}}function r$1(r){var e=r;if(/^BG[0-9]{9,10}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{9,10}$/.test(e)){return{meta:{},valid:false}}var s=0;var n=0;if(e.length===9){for(n=0;n<8;n++){s+=parseInt(e.charAt(n),10)*(n+1)}s=s%11;if(s===10){s=0;for(n=0;n<8;n++){s+=parseInt(e.charAt(n),10)*(n+3)}s=s%11}s=s%10;return{meta:{},valid:"".concat(s)===e.substr(8)}}else{var _r=function _r(r){var e=parseInt(r.substr(0,2),10)+1900;var s=parseInt(r.substr(2,2),10);var n=parseInt(r.substr(4,2),10);if(s>40){e+=100;s-=40}else if(s>20){e-=100;s-=20}if(!t$X(e,s,n)){return false}var a=[2,4,8,5,10,9,7,3,6];var l=0;for(var _t=0;_t<9;_t++){l+=parseInt(r.charAt(_t),10)*a[_t]}l=l%11%10;return"".concat(l)===r.substr(9,1)};var _s=function _s(t){var r=[21,19,17,13,11,9,7,3,1];var e=0;for(var _s2=0;_s2<9;_s2++){e+=parseInt(t.charAt(_s2),10)*r[_s2]}e=e%10;return"".concat(e)===t.substr(9,1)};var _n=function _n(t){var r=[4,3,2,7,6,5,4,3,2];var e=0;for(var _s3=0;_s3<9;_s3++){e+=parseInt(t.charAt(_s3),10)*r[_s3]}e=11-e%11;if(e===10){return false}if(e===11){e=0}return"".concat(e)===t.substr(9,1)};return{meta:{},valid:_r(e)||_s(e)||_n(e)}}}function t$v(t){if(t===""){return{meta:{},valid:true}}var e=t.replace(/[^\d]+/g,"");if(e===""||e.length!==14){return{meta:{},valid:false}}if(e==="00000000000000"||e==="11111111111111"||e==="22222222222222"||e==="33333333333333"||e==="44444444444444"||e==="55555555555555"||e==="66666666666666"||e==="77777777777777"||e==="88888888888888"||e==="99999999999999"){return{meta:{},valid:false}}var r=e.length-2;var a=e.substring(0,r);var l=e.substring(r);var n=0;var i=r-7;var s;for(s=r;s>=1;s--){n+=parseInt(a.charAt(r-s),10)*i--;if(i<2){i=9}}var f=n%11<2?0:11-n%11;if(f!==parseInt(l.charAt(0),10)){return{meta:{},valid:false}}r=r+1;a=e.substring(0,r);n=0;i=r-7;for(s=r;s>=1;s--){n+=parseInt(a.charAt(r-s),10)*i--;if(i<2){i=9}}f=n%11<2?0:11-n%11;return{meta:{},valid:f===parseInt(l.charAt(1),10)}}function t$u(t){var e=t;if(/^CHE[0-9]{9}(MWST|TVA|IVA|TPV)?$/.test(e)){e=e.substr(2)}if(!/^E[0-9]{9}(MWST|TVA|IVA|TPV)?$/.test(e)){return{meta:{},valid:false}}e=e.substr(1);var r=[5,4,3,2,7,6,5,4];var s=0;for(var _t=0;_t<8;_t++){s+=parseInt(e.charAt(_t),10)*r[_t]}s=11-s%11;if(s===10){return{meta:{},valid:false}}if(s===11){s=0}return{meta:{},valid:"".concat(s)===e.substr(8,1)}}function t$t(t){var e=t;if(/^CY[0-5|9][0-9]{7}[A-Z]$/.test(e)){e=e.substr(2)}if(!/^[0-5|9][0-9]{7}[A-Z]$/.test(e)){return{meta:{},valid:false}}if(e.substr(0,2)==="12"){return{meta:{},valid:false}}var r=0;var s={0:1,1:0,2:5,3:7,4:9,5:13,6:15,7:17,8:19,9:21};for(var _t=0;_t<8;_t++){var a=parseInt(e.charAt(_t),10);if(_t%2===0){a=s["".concat(a)]}r+=a}return{meta:{},valid:"".concat("ABCDEFGHIJKLMNOPQRSTUVWXYZ"[r%26])===e.substr(8,1)}}function e$c(e){var r=e;if(/^CZ[0-9]{8,10}$/.test(r)){r=r.substr(2)}if(!/^[0-9]{8,10}$/.test(r)){return{meta:{},valid:false}}var a=0;var s=0;if(r.length===8){if("".concat(r.charAt(0))==="9"){return{meta:{},valid:false}}a=0;for(s=0;s<7;s++){a+=parseInt(r.charAt(s),10)*(8-s)}a=11-a%11;if(a===10){a=0}if(a===11){a=1}return{meta:{},valid:"".concat(a)===r.substr(7,1)}}else if(r.length===9&&"".concat(r.charAt(0))==="6"){a=0;for(s=0;s<7;s++){a+=parseInt(r.charAt(s+1),10)*(8-s)}a=11-a%11;if(a===10){a=0}if(a===11){a=1}a=[8,7,6,5,4,3,2,1,0,9,10][a-1];return{meta:{},valid:"".concat(a)===r.substr(8,1)}}else if(r.length===9||r.length===10){var _e=1900+parseInt(r.substr(0,2),10);var _a=parseInt(r.substr(2,2),10)%50%20;var _s=parseInt(r.substr(4,2),10);if(r.length===9){if(_e>=1980){_e-=100}if(_e>1953){return{meta:{},valid:false}}}else if(_e<1954){_e+=100}if(!t$X(_e,_a,_s)){return{meta:{},valid:false}}if(r.length===10){var _t=parseInt(r.substr(0,9),10)%11;if(_e<1985){_t=_t%10}return{meta:{},valid:"".concat(_t)===r.substr(9,1)}}return{meta:{},valid:true}}return{meta:{},valid:false}}function e$b(e){var r=e;if(/^DE[0-9]{9}$/.test(r)){r=r.substr(2)}if(!/^[0-9]{9}$/.test(r)){return{meta:{},valid:false}}return{meta:{},valid:t$13(r)}}function t$s(t){var e=t;if(/^DK[0-9]{8}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{8}$/.test(e)){return{meta:{},valid:false}}var r=0;var a=[2,7,6,5,4,3,2,1];for(var _t=0;_t<8;_t++){r+=parseInt(e.charAt(_t),10)*a[_t]}return{meta:{},valid:r%11===0}}function t$r(t){var e=t;if(/^EE[0-9]{9}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{9}$/.test(e)){return{meta:{},valid:false}}var r=0;var a=[3,7,1,3,7,1,3,7,1];for(var _t=0;_t<9;_t++){r+=parseInt(e.charAt(_t),10)*a[_t]}return{meta:{},valid:r%10===0}}function t$q(t){var e=t;if(/^ES[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(e)){e=e.substr(2)}if(!/^[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(e)){return{meta:{},valid:false}}var s=function s(t){var e=parseInt(t.substr(0,8),10);return"".concat("TRWAGMYFPDXBNJZSQVHLCKE"[e%23])===t.substr(8,1)};var r=function r(t){var e=["XYZ".indexOf(t.charAt(0)),t.substr(1)].join("");var s="TRWAGMYFPDXBNJZSQVHLCKE"[parseInt(e,10)%23];return"".concat(s)===t.substr(8,1)};var n=function n(t){var e=t.charAt(0);var s;if("KLM".indexOf(e)!==-1){s=parseInt(t.substr(1,8),10);s="TRWAGMYFPDXBNJZSQVHLCKE"[s%23];return"".concat(s)===t.substr(8,1)}else if("ABCDEFGHJNPQRSUVW".indexOf(e)!==-1){var _e=[2,1,2,1,2,1,2];var _s=0;var _r=0;for(var _n=0;_n<7;_n++){_r=parseInt(t.charAt(_n+1),10)*_e[_n];if(_r>9){_r=Math.floor(_r/10)+_r%10}_s+=_r}_s=10-_s%10;if(_s===10){_s=0}return"".concat(_s)===t.substr(8,1)||"JABCDEFGHI"[_s]===t.substr(8,1)}return false};var a=e.charAt(0);if(/^[0-9]$/.test(a)){return{meta:{type:"DNI"},valid:s(e)}}else if(/^[XYZ]$/.test(a)){return{meta:{type:"NIE"},valid:r(e)}}else{return{meta:{type:"CIF"},valid:n(e)}}}function t$p(t){var e=t;if(/^FI[0-9]{8}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{8}$/.test(e)){return{meta:{},valid:false}}var r=[7,9,10,5,8,4,2,1];var a=0;for(var _t=0;_t<8;_t++){a+=parseInt(e.charAt(_t),10)*r[_t]}return{meta:{},valid:a%11===0}}function e$a(e){var r=e;if(/^FR[0-9A-Z]{2}[0-9]{9}$/.test(r)){r=r.substr(2)}if(!/^[0-9A-Z]{2}[0-9]{9}$/.test(r)){return{meta:{},valid:false}}if(r.substr(2,4)!=="000"){return{meta:{},valid:t$14(r.substr(2))}}if(/^[0-9]{2}$/.test(r.substr(0,2))){return{meta:{},valid:r.substr(0,2)==="".concat(parseInt(r.substr(2)+"12",10)%97)}}else{var _t="0123456789ABCDEFGHJKLMNPQRSTUVWXYZ";var _e;if(/^[0-9]$/.test(r.charAt(0))){_e=_t.indexOf(r.charAt(0))*24+_t.indexOf(r.charAt(1))-10}else{_e=_t.indexOf(r.charAt(0))*34+_t.indexOf(r.charAt(1))-100}return{meta:{},valid:(parseInt(r.substr(2),10)+1+Math.floor(_e/11))%11===_e%11}}}function t$o(t){var s=t;if(/^GB[0-9]{9}$/.test(s)||/^GB[0-9]{12}$/.test(s)||/^GBGD[0-9]{3}$/.test(s)||/^GBHA[0-9]{3}$/.test(s)||/^GB(GD|HA)8888[0-9]{5}$/.test(s)){s=s.substr(2)}if(!/^[0-9]{9}$/.test(s)&&!/^[0-9]{12}$/.test(s)&&!/^GD[0-9]{3}$/.test(s)&&!/^HA[0-9]{3}$/.test(s)&&!/^(GD|HA)8888[0-9]{5}$/.test(s)){return{meta:{},valid:false}}var e=s.length;if(e===5){var _t=s.substr(0,2);var _e=parseInt(s.substr(2),10);return{meta:{},valid:"GD"===_t&&_e<500||"HA"===_t&&_e>=500}}else if(e===11&&("GD8888"===s.substr(0,6)||"HA8888"===s.substr(0,6))){if("GD"===s.substr(0,2)&&parseInt(s.substr(6,3),10)>=500||"HA"===s.substr(0,2)&&parseInt(s.substr(6,3),10)<500){return{meta:{},valid:false}}return{meta:{},valid:parseInt(s.substr(6,3),10)%97===parseInt(s.substr(9,2),10)}}else if(e===9||e===12){var _t2=[8,7,6,5,4,3,2,10,1];var _e2=0;for(var _r=0;_r<9;_r++){_e2+=parseInt(s.charAt(_r),10)*_t2[_r]}_e2=_e2%97;var r=parseInt(s.substr(0,3),10)>=100?_e2===0||_e2===42||_e2===55:_e2===0;return{meta:{},valid:r}}return{meta:{},valid:true}}function t$n(t){var e=t;if(/^(GR|EL)[0-9]{9}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{9}$/.test(e)){return{meta:{},valid:false}}if(e.length===8){e="0".concat(e)}var r=[256,128,64,32,16,8,4,2];var s=0;for(var _t=0;_t<8;_t++){s+=parseInt(e.charAt(_t),10)*r[_t]}s=s%11%10;return{meta:{},valid:"".concat(s)===e.substr(8,1)}}function e$9(e){var r=e;if(/^HR[0-9]{11}$/.test(r)){r=r.substr(2)}if(!/^[0-9]{11}$/.test(r)){return{meta:{},valid:false}}return{meta:{},valid:t$13(r)}}function t$m(t){var e=t;if(/^HU[0-9]{8}$/.test(e)){e=e.substr(2)}if(!/^[0-9]{8}$/.test(e)){return{meta:{},valid:false}}var r=[9,7,3,1,9,7,3,1];var a=0;for(var _t=0;_t<8;_t++){a+=parseInt(e.charAt(_t),10)*r[_t]}return{meta:{},valid:a%10===0}}function t$l(t){var e=t;if(/^IE[0-9][0-9A-Z*+][0-9]{5}[A-Z]{1,2}$/.test(e)){e=e.substr(2)}if(!/^[0-9][0-9A-Z*+][0-9]{5}[A-Z]{1,2}$/.test(e)){return{meta:{},valid:false}}var r=function r(t){var e=t;while(e.length<7){e="0".concat(e)}var r="WABCDEFGHIJKLMNOPQRSTUV";var s=0;for(var _t=0;_t<7;_t++){s+=parseInt(e.charAt(_t),10)*(8-_t)}s+=9*r.indexOf(e.substr(7));return r[s%23]};if(/^[0-9]+$/.test(e.substr(0,7))){return{meta:{},valid:e.charAt(7)===r("".concat(e.substr(0,7)).concat(e.substr(8)))}}else if("ABCDEFGHIJKLMNOPQRSTUVWXYZ+*".indexOf(e.charAt(1))!==-1){return{meta:{},valid:e.charAt(7)===r("".concat(e.substr(2,5)).concat(e.substr(0,1)))}}return{meta:{},valid:true}}function t$k(t){var e=t;if(/^IS[0-9]{5,6}$/.test(e)){e=e.substr(2)}return{meta:{},valid:/^[0-9]{5,6}$/.test(e)}}function e$8(e){var r=e;if(/^IT[0-9]{11}$/.test(r)){r=r.substr(2)}if(!/^[0-9]{11}$/.test(r)){return{meta:{},valid:false}}if(parseInt(r.substr(0,7),10)===0){return{meta:{},valid:false}}var a=parseInt(r.substr(7,3),10);if(a<1||a>201&&a!==999&&a!==888){return{meta:{},valid:false}}return{meta:{},valid:t$14(r)}}function t$j(t){var e=t;if(/^LT([0-9]{7}1[0-9]|[0-9]{10}1[0-9])$/.test(e)){e=e.substr(2)}if(!/^([0-9]{7}1[0-9]|[0-9]{10}1[0-9])$/.test(e)){return{meta:{},valid:false}}var r=e.length;var a=0;var l;for(l=0;l3){n=0;l=[9,1,4,8,3,10,2,5,7,6,1];for(i=0;i=65&&n<=90?n-55:t})).join("").split("").map((function(t){return parseInt(t,10)}))}function n(n){var e=t$g(n);var r=0;var o=e.length;for(var _t=0;_t9){s=0}return{meta:{},valid:"".concat(s)===e.substr(8,1)}}function t$c(t){var e=t;if(/^RO[1-9][0-9]{1,9}$/.test(e)){e=e.substr(2)}if(!/^[1-9][0-9]{1,9}$/.test(e)){return{meta:{},valid:false}}var s=e.length;var r=[7,5,3,2,1,7,5,3,2].slice(10-s);var l=0;for(var _t=0;_t9){s=s%10}return{meta:{},valid:"".concat(s)===e.substr(9,1)}}else if(e.length===12){var _t2=[7,2,4,10,3,5,9,4,6,8,0];var _s=[3,7,2,4,10,3,5,9,4,6,8,0];var a=0;var l=0;for(r=0;r<11;r++){a+=parseInt(e.charAt(r),10)*_t2[r];l+=parseInt(e.charAt(r),10)*_s[r]}a=a%11;if(a>9){a=a%10}l=l%11;if(l>9){l=l%10}return{meta:{},valid:"".concat(a)===e.substr(10,1)&&"".concat(l)===e.substr(11,1)}}return{meta:{},valid:true}}function e$5(e){var r=e;if(/^SE[0-9]{10}01$/.test(r)){r=r.substr(2)}if(!/^[0-9]{10}01$/.test(r)){return{meta:{},valid:false}}r=r.substr(0,10);return{meta:{},valid:t$14(r)}}function t$9(t){var e=t.match(/^(SI)?([1-9][0-9]{7})$/);if(!e){return{meta:{},valid:false}}var r=e[1]?t.substr(2):t;var a=[8,7,6,5,4,3,2];var s=0;for(var _t=0;_t<7;_t++){s+=parseInt(r.charAt(_t),10)*a[_t]}s=11-s%11;if(s===10){s=0}return{meta:{},valid:"".concat(s)===r.substr(7,1)}}function t$8(t){var e=t;if(/^SK[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(e)){e=e.substr(2)}if(!/^[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(e)){return{meta:{},valid:false}}return{meta:{},valid:parseInt(e,10)%11===0}}function t$7(t){var e=t;if(/^VE[VEJPG][0-9]{9}$/.test(e)){e=e.substr(2)}if(!/^[VEJPG][0-9]{9}$/.test(e)){return{meta:{},valid:false}}var r={E:8,G:20,J:12,P:16,V:4};var s=[3,2,7,6,5,4,3,2];var a=r[e.charAt(0)];for(var _t=0;_t<8;_t++){a+=parseInt(e.charAt(_t+1),10)*s[_t]}a=11-a%11;if(a===11||a===10){a=0}return{meta:{},valid:"".concat(a)===e.substr(9,1)}}function t$6(t){var e=t;if(/^ZA4[0-9]{9}$/.test(e)){e=e.substr(2)}return{meta:{},valid:/^4[0-9]{9}$/.test(e)}}function x(){var x=["AR","AT","BE","BG","BR","CH","CY","CZ","DE","DK","EE","EL","ES","FI","FR","GB","GR","HR","HU","IE","IS","IT","LT","LU","LV","MT","NL","NO","PL","PT","RO","RU","RS","SE","SK","SI","VE","ZA"];return{validate:function validate(D){var F=D.value;if(F===""){return{valid:true}}var K=Object.assign({},{message:""},D.options);var N=F.substr(0,2);if("function"===typeof K.country){N=K.country.call(this)}else{N=K.country}if(x.indexOf(N)===-1){return{valid:true}}var P={meta:{},valid:true};switch(N.toLowerCase()){case"ar":P=t$y(F);break;case"at":P=t$x(F);break;case"be":P=t$w(F);break;case"bg":P=r$1(F);break;case"br":P=t$v(F);break;case"ch":P=t$u(F);break;case"cy":P=t$t(F);break;case"cz":P=e$c(F);break;case"de":P=e$b(F);break;case"dk":P=t$s(F);break;case"ee":P=t$r(F);break;case"el":P=t$n(F);break;case"es":P=t$q(F);break;case"fi":P=t$p(F);break;case"fr":P=e$a(F);break;case"gb":P=t$o(F);break;case"gr":P=t$n(F);break;case"hr":P=e$9(F);break;case"hu":P=t$m(F);break;case"ie":P=t$l(F);break;case"is":P=t$k(F);break;case"it":P=e$8(F);break;case"lt":P=t$j(F);break;case"lu":P=t$i(F);break;case"lv":P=e$7(F);break;case"mt":P=t$h(F);break;case"nl":P=e$6(F);break;case"no":P=t$f(F);break;case"pl":P=t$e(F);break;case"pt":P=t$d(F);break;case"ro":P=t$c(F);break;case"rs":P=t$b(F);break;case"ru":P=t$a(F);break;case"se":P=e$5(F);break;case"si":P=t$9(F);break;case"sk":P=t$8(F);break;case"ve":P=t$7(F);break;case"za":P=t$6(F);break}var Z=r$d(D.l10n&&D.l10n.vat?K.message||D.l10n.vat.country:K.message,D.l10n&&D.l10n.vat&&D.l10n.vat.countries?D.l10n.vat.countries[N.toUpperCase()]:N.toUpperCase());return Object.assign({},{message:Z},P)}}}function t$5(){return{validate:function validate(t){if(t.value===""){return{valid:true}}if(!/^[a-hj-npr-z0-9]{8}[0-9xX][a-hj-npr-z0-9]{8}$/i.test(t.value)){return{valid:false}}var e=t.value.toUpperCase();var r={A:1,B:2,C:3,D:4,E:5,F:6,G:7,H:8,J:1,K:2,L:3,M:4,N:5,P:7,R:9,S:2,T:3,U:4,V:5,W:6,X:7,Y:8,Z:9,0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};var a=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2];var l=e.length;var n=0;for(var _t=0;_t1?_len-1:0),_key=1;_key<_len;_key++){t[_key-1]=arguments[_key]}(_this$ee=this.ee).emit.apply(_this$ee,[e].concat(t));return this}},{key:"registerPlugin",value:function registerPlugin(e,t){if(this.plugins[e]){throw new Error("The plguin ".concat(e," is registered"))}t.setCore(this);t.install();this.plugins[e]=t;return this}},{key:"deregisterPlugin",value:function deregisterPlugin(e){var t=this.plugins[e];if(t){t.uninstall()}delete this.plugins[e];return this}},{key:"registerValidator",value:function registerValidator(e,t){if(this.validators[e]){throw new Error("The validator ".concat(e," is registered"))}this.validators[e]=t;return this}},{key:"registerFilter",value:function registerFilter(e,t){this.filter.add(e,t);return this}},{key:"deregisterFilter",value:function deregisterFilter(e,t){this.filter.remove(e,t);return this}},{key:"executeFilter",value:function executeFilter(e,t,i){return this.filter.execute(e,t,i)}},{key:"addField",value:function addField(e,t){var i=Object.assign({},{selector:"",validators:{}},t);this.fields[e]=this.fields[e]?{selector:i.selector||this.fields[e].selector,validators:Object.assign({},this.fields[e].validators,i.validators)}:i;this.elements[e]=this.queryElements(e);this.emit("core.field.added",{elements:this.elements[e],field:e,options:this.fields[e]});return this}},{key:"removeField",value:function removeField(e){if(!this.fields[e]){throw new Error("The field ".concat(e," validators are not defined. Please ensure the field is added first"))}var t=this.elements[e];var i=this.fields[e];delete this.elements[e];delete this.fields[e];this.emit("core.field.removed",{elements:t,field:e,options:i});return this}},{key:"validate",value:function validate(){var _this=this;this.emit("core.form.validating",{formValidation:this});return this.filter.execute("validate-pre",Promise.resolve(),[]).then((function(){return Promise.all(Object.keys(_this.fields).map((function(e){return _this.validateField(e)}))).then((function(e){switch(true){case e.indexOf("Invalid")!==-1:_this.emit("core.form.invalid",{formValidation:_this});return Promise.resolve("Invalid");case e.indexOf("NotValidated")!==-1:_this.emit("core.form.notvalidated",{formValidation:_this});return Promise.resolve("NotValidated");default:_this.emit("core.form.valid",{formValidation:_this});return Promise.resolve("Valid")}}))}))}},{key:"validateField",value:function validateField(e){var _this2=this;var t=this.results.get(e);if(t==="Valid"||t==="Invalid"){return Promise.resolve(t)}this.emit("core.field.validating",e);var i=this.elements[e];if(i.length===0){this.emit("core.field.valid",e);return Promise.resolve("Valid")}var s=i[0].getAttribute("type");if("radio"===s||"checkbox"===s||i.length===1){return this.validateElement(e,i[0])}else{return Promise.all(i.map((function(t){return _this2.validateElement(e,t)}))).then((function(t){switch(true){case t.indexOf("Invalid")!==-1:_this2.emit("core.field.invalid",e);_this2.results.set(e,"Invalid");return Promise.resolve("Invalid");case t.indexOf("NotValidated")!==-1:_this2.emit("core.field.notvalidated",e);_this2.results["delete"](e);return Promise.resolve("NotValidated");default:_this2.emit("core.field.valid",e);_this2.results.set(e,"Valid");return Promise.resolve("Valid")}}))}}},{key:"validateElement",value:function validateElement(e,t){var _this3=this;this.results["delete"](e);var i=this.elements[e];var s=this.filter.execute("element-ignored",false,[e,t,i]);if(s){this.emit("core.element.ignored",{element:t,elements:i,field:e});return Promise.resolve("Ignored")}var _l=this.fields[e].validators;this.emit("core.element.validating",{element:t,elements:i,field:e});var r=Object.keys(_l).map((function(i){return function(){return _this3.executeValidator(e,t,i,_l[i])}}));return this.waterfall(r).then((function(s){var _l2=s.indexOf("Invalid")===-1;_this3.emit("core.element.validated",{element:t,elements:i,field:e,valid:_l2});var r=t.getAttribute("type");if("radio"===r||"checkbox"===r||i.length===1){_this3.emit(_l2?"core.field.valid":"core.field.invalid",e)}return Promise.resolve(_l2?"Valid":"Invalid")}))["catch"]((function(s){_this3.emit("core.element.notvalidated",{element:t,elements:i,field:e});return Promise.resolve(s)}))}},{key:"executeValidator",value:function executeValidator(e,t,i,s){var _this4=this;var _l3=this.elements[e];var r=this.filter.execute("validator-name",i,[i,e]);s.message=this.filter.execute("validator-message",s.message,[this.locale,e,r]);if(!this.validators[r]||s.enabled===false){this.emit("core.validator.validated",{element:t,elements:_l3,field:e,result:this.normalizeResult(e,r,{valid:true}),validator:r});return Promise.resolve("Valid")}var a=this.validators[r];var d=this.getElementValue(e,t,r);var o=this.filter.execute("field-should-validate",true,[e,t,d,i]);if(!o){this.emit("core.validator.notvalidated",{element:t,elements:_l3,field:e,validator:i});return Promise.resolve("NotValidated")}this.emit("core.validator.validating",{element:t,elements:_l3,field:e,validator:i});var n=a().validate({element:t,elements:_l3,field:e,l10n:this.localization,options:s,value:d});var h="function"===typeof n["then"];if(h){return n.then((function(s){var r=_this4.normalizeResult(e,i,s);_this4.emit("core.validator.validated",{element:t,elements:_l3,field:e,result:r,validator:i});return r.valid?"Valid":"Invalid"}))}else{var _s=this.normalizeResult(e,i,n);this.emit("core.validator.validated",{element:t,elements:_l3,field:e,result:_s,validator:i});return Promise.resolve(_s.valid?"Valid":"Invalid")}}},{key:"getElementValue",value:function getElementValue(e,t,s){var _l4=e$H(this.form,e,t,this.elements[e]);return this.filter.execute("field-value",_l4,[_l4,e,t,s])}},{key:"getElements",value:function getElements(e){return this.elements[e]}},{key:"getFields",value:function getFields(){return this.fields}},{key:"getFormElement",value:function getFormElement(){return this.form}},{key:"getLocale",value:function getLocale(){return this.locale}},{key:"getPlugin",value:function getPlugin(e){return this.plugins[e]}},{key:"updateFieldStatus",value:function updateFieldStatus(e,t,i){var _this5=this;var s=this.elements[e];var _l5=s[0].getAttribute("type");var r="radio"===_l5||"checkbox"===_l5?[s[0]]:s;r.forEach((function(s){return _this5.updateElementStatus(e,s,t,i)}));if(!i){switch(t){case"NotValidated":this.emit("core.field.notvalidated",e);this.results["delete"](e);break;case"Validating":this.emit("core.field.validating",e);this.results["delete"](e);break;case"Valid":this.emit("core.field.valid",e);this.results.set(e,"Valid");break;case"Invalid":this.emit("core.field.invalid",e);this.results.set(e,"Invalid");break}}return this}},{key:"updateElementStatus",value:function updateElementStatus(e,t,i,s){var _this6=this;var _l6=this.elements[e];var r=this.fields[e].validators;var a=s?[s]:Object.keys(r);switch(i){case"NotValidated":a.forEach((function(i){return _this6.emit("core.validator.notvalidated",{element:t,elements:_l6,field:e,validator:i})}));this.emit("core.element.notvalidated",{element:t,elements:_l6,field:e});break;case"Validating":a.forEach((function(i){return _this6.emit("core.validator.validating",{element:t,elements:_l6,field:e,validator:i})}));this.emit("core.element.validating",{element:t,elements:_l6,field:e});break;case"Valid":a.forEach((function(i){return _this6.emit("core.validator.validated",{element:t,elements:_l6,field:e,result:{message:r[i].message,valid:true},validator:i})}));this.emit("core.element.validated",{element:t,elements:_l6,field:e,valid:true});break;case"Invalid":a.forEach((function(i){return _this6.emit("core.validator.validated",{element:t,elements:_l6,field:e,result:{message:r[i].message,valid:false},validator:i})}));this.emit("core.element.validated",{element:t,elements:_l6,field:e,valid:false});break}return this}},{key:"resetForm",value:function resetForm(e){var _this7=this;Object.keys(this.fields).forEach((function(t){return _this7.resetField(t,e)}));this.emit("core.form.reset",{formValidation:this,reset:e});return this}},{key:"resetField",value:function resetField(e,t){if(t){var _t=this.elements[e];var _i=_t[0].getAttribute("type");_t.forEach((function(e){if("radio"===_i||"checkbox"===_i){e.removeAttribute("selected");e.removeAttribute("checked");e.checked=false}else{e.setAttribute("value","");if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){e.value=""}}}))}this.updateFieldStatus(e,"NotValidated");this.emit("core.field.reset",{field:e,reset:t});return this}},{key:"revalidateField",value:function revalidateField(e){this.updateFieldStatus(e,"NotValidated");return this.validateField(e)}},{key:"disableValidator",value:function disableValidator(e,t){return this.toggleValidator(false,e,t)}},{key:"enableValidator",value:function enableValidator(e,t){return this.toggleValidator(true,e,t)}},{key:"updateValidatorOption",value:function updateValidatorOption(e,t,i,s){if(this.fields[e]&&this.fields[e].validators&&this.fields[e].validators[t]){this.fields[e].validators[t][i]=s}return this}},{key:"setFieldOptions",value:function setFieldOptions(e,t){this.fields[e]=t;return this}},{key:"destroy",value:function destroy(){var _this8=this;Object.keys(this.plugins).forEach((function(e){return _this8.plugins[e].uninstall()}));this.ee.clear();this.filter.clear();this.results.clear();this.plugins={};return this}},{key:"setLocale",value:function setLocale(e,t){this.locale=e;this.localization=t;return this}},{key:"waterfall",value:function waterfall(e){return e.reduce((function(e,t){return e.then((function(e){return t().then((function(t){e.push(t);return e}))}))}),Promise.resolve([]))}},{key:"queryElements",value:function queryElements(e){var t=this.fields[e].selector?"#"===this.fields[e].selector.charAt(0)?'[id="'.concat(this.fields[e].selector.substring(1),'"]'):this.fields[e].selector:'[name="'.concat(e,'"]');return[].slice.call(this.form.querySelectorAll(t))}},{key:"normalizeResult",value:function normalizeResult(e,t,i){var s=this.fields[e].validators[t];return Object.assign({},i,{message:i.message||(s?s.message:"")||(this.localization&&this.localization[t]&&this.localization[t]["default"]?this.localization[t]["default"]:"")||"The field ".concat(e," is not valid")})}},{key:"toggleValidator",value:function toggleValidator(e,t,i){var _this9=this;var s=this.fields[t].validators;if(i&&s&&s[i]){this.fields[t].validators[i].enabled=e}else if(!i){Object.keys(s).forEach((function(i){return _this9.fields[t].validators[i].enabled=e}))}return this.updateFieldStatus(t,"NotValidated",i)}}]);return l}();function r(e,t){var i=Object.assign({},{fields:{},locale:"en_US",plugins:{},init:function init(e){}},t);var r=new l$1(e,i.fields);r.setLocale(i.locale,i.localization);Object.keys(i.plugins).forEach((function(e){return r.registerPlugin(e,i.plugins[e])}));Object.keys(s$3).forEach((function(e){return r.registerValidator(e,s$3[e])}));i.init(r);Object.keys(i.fields).forEach((function(e){return r.addField(e,i.fields[e])}));return r}var t$4=function(){function t(_t){_classCallCheck(this,t);this.opts=_t}_createClass(t,[{key:"setCore",value:function setCore(_t2){this.core=_t2;return this}},{key:"install",value:function install(){}},{key:"uninstall",value:function uninstall(){}}]);return t}();var index$2={getFieldValue:e$H};var e$4=function(_t){_inherits(e,_t);var _super=_createSuper(e);function e(t){var _this;_classCallCheck(this,e);_this=_super.call(this,t);_this.opts=t||{};_this.validatorNameFilter=_this.getValidatorName.bind(_assertThisInitialized(_this));return _this}_createClass(e,[{key:"install",value:function install(){this.core.registerFilter("validator-name",this.validatorNameFilter)}},{key:"uninstall",value:function uninstall(){this.core.deregisterFilter("validator-name",this.validatorNameFilter)}},{key:"getValidatorName",value:function getValidatorName(t,_e){return this.opts[t]||t}}]);return e}(t$4);var i$3=function(_e){_inherits(i,_e);var _super=_createSuper(i);function i(){var _this;_classCallCheck(this,i);_this=_super.call(this,{});_this.elementValidatedHandler=_this.onElementValidated.bind(_assertThisInitialized(_this));_this.fieldValidHandler=_this.onFieldValid.bind(_assertThisInitialized(_this));_this.fieldInvalidHandler=_this.onFieldInvalid.bind(_assertThisInitialized(_this));_this.messageDisplayedHandler=_this.onMessageDisplayed.bind(_assertThisInitialized(_this));return _this}_createClass(i,[{key:"install",value:function install(){this.core.on("core.field.valid",this.fieldValidHandler).on("core.field.invalid",this.fieldInvalidHandler).on("core.element.validated",this.elementValidatedHandler).on("plugins.message.displayed",this.messageDisplayedHandler)}},{key:"uninstall",value:function uninstall(){this.core.off("core.field.valid",this.fieldValidHandler).off("core.field.invalid",this.fieldInvalidHandler).off("core.element.validated",this.elementValidatedHandler).off("plugins.message.displayed",this.messageDisplayedHandler)}},{key:"onElementValidated",value:function onElementValidated(e){if(e.valid){e.element.setAttribute("aria-invalid","false");e.element.removeAttribute("aria-describedby")}}},{key:"onFieldValid",value:function onFieldValid(e){var _i=this.core.getElements(e);if(_i){_i.forEach((function(e){e.setAttribute("aria-invalid","false");e.removeAttribute("aria-describedby")}))}}},{key:"onFieldInvalid",value:function onFieldInvalid(e){var _i2=this.core.getElements(e);if(_i2){_i2.forEach((function(e){return e.setAttribute("aria-invalid","true")}))}}},{key:"onMessageDisplayed",value:function onMessageDisplayed(e){e.messageElement.setAttribute("role","alert");e.messageElement.setAttribute("aria-hidden","false");var _i3=this.core.getElements(e.field);var t=_i3.indexOf(e.element);var l="js-fv-".concat(e.field,"-").concat(t,"-").concat(Date.now(),"-message");e.messageElement.setAttribute("id",l);e.element.setAttribute("aria-describedby",l);var a=e.element.getAttribute("type");if("radio"===a||"checkbox"===a){_i3.forEach((function(e){return e.setAttribute("aria-describedby",l)}))}}}]);return i}(t$4);var t$3=function(_e){_inherits(t,_e);var _super=_createSuper(t);function t(e){var _this;_classCallCheck(this,t);_this=_super.call(this,e);_this.addedFields=new Map;_this.opts=Object.assign({},{html5Input:false,pluginPrefix:"data-fvp-",prefix:"data-fv-"},e);_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));_this.fieldRemovedHandler=_this.onFieldRemoved.bind(_assertThisInitialized(_this));return _this}_createClass(t,[{key:"install",value:function install(){var _this2=this;this.parsePlugins();var e=this.parseOptions();Object.keys(e).forEach((function(_t){if(!_this2.addedFields.has(_t)){_this2.addedFields.set(_t,true)}_this2.core.addField(_t,e[_t])}));this.core.on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler)}},{key:"uninstall",value:function uninstall(){this.addedFields.clear();this.core.off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler)}},{key:"onFieldAdded",value:function onFieldAdded(e){var _this3=this;var _t2=e.elements;if(!_t2||_t2.length===0||this.addedFields.has(e.field)){return}this.addedFields.set(e.field,true);_t2.forEach((function(_t3){var s=_this3.parseElement(_t3);if(!_this3.isEmptyOption(s)){var _t12={selector:e.options.selector,validators:Object.assign({},e.options.validators||{},s.validators)};_this3.core.setFieldOptions(e.field,_t12)}}))}},{key:"onFieldRemoved",value:function onFieldRemoved(e){if(e.field&&this.addedFields.has(e.field)){this.addedFields["delete"](e.field)}}},{key:"parseOptions",value:function parseOptions(){var _this4=this;var e=this.opts.prefix;var _t5={};var s=this.core.getFields();var a=this.core.getFormElement();var i=[].slice.call(a.querySelectorAll("[name], [".concat(e,"field]")));i.forEach((function(s){var a=_this4.parseElement(s);if(!_this4.isEmptyOption(a)){var _i=s.getAttribute("name")||s.getAttribute("".concat(e,"field"));_t5[_i]=Object.assign({},_t5[_i],a)}}));Object.keys(_t5).forEach((function(e){Object.keys(_t5[e].validators).forEach((function(a){_t5[e].validators[a].enabled=_t5[e].validators[a].enabled||false;if(s[e]&&s[e].validators&&s[e].validators[a]){Object.assign(_t5[e].validators[a],s[e].validators[a])}}))}));return Object.assign({},s,_t5)}},{key:"createPluginInstance",value:function createPluginInstance(e,_t6){var s=e.split(".");var a=window||this;for(var _e2=0,_t13=s.length;_e2<_t13;_e2++){a=a[s[_e2]]}if(typeof a!=="function"){throw new Error("the plugin ".concat(e," doesn't exist"))}return new a(_t6)}},{key:"parsePlugins",value:function parsePlugins(){var _this5=this;var e=this.core.getFormElement();var _t8=new RegExp("^".concat(this.opts.pluginPrefix,"([a-z0-9-]+)(___)*([a-z0-9-]+)*$"));var s=e.attributes.length;var a={};for(var i=0;i=0}function t$1(t,l){var c=t;while(c){if(e$1(c,l)){break}c=c.parentElement}return c}var s$1=function(_e){_inherits(s,_e);var _super=_createSuper(s);function s(e){var _this;_classCallCheck(this,s);_this=_super.call(this,e);_this.messages=new Map;_this.defaultContainer=document.createElement("div");_this.opts=Object.assign({},{container:function container(e,t){return _this.defaultContainer}},e);_this.elementIgnoredHandler=_this.onElementIgnored.bind(_assertThisInitialized(_this));_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));_this.fieldRemovedHandler=_this.onFieldRemoved.bind(_assertThisInitialized(_this));_this.validatorValidatedHandler=_this.onValidatorValidated.bind(_assertThisInitialized(_this));_this.validatorNotValidatedHandler=_this.onValidatorNotValidated.bind(_assertThisInitialized(_this));return _this}_createClass(s,[{key:"install",value:function install(){this.core.getFormElement().appendChild(this.defaultContainer);this.core.on("core.element.ignored",this.elementIgnoredHandler).on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler).on("core.validator.validated",this.validatorValidatedHandler).on("core.validator.notvalidated",this.validatorNotValidatedHandler)}},{key:"uninstall",value:function uninstall(){this.core.getFormElement().removeChild(this.defaultContainer);this.messages.forEach((function(e){return e.parentNode.removeChild(e)}));this.messages.clear();this.core.off("core.element.ignored",this.elementIgnoredHandler).off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler).off("core.validator.validated",this.validatorValidatedHandler).off("core.validator.notvalidated",this.validatorNotValidatedHandler)}},{key:"onFieldAdded",value:function onFieldAdded(e){var _this2=this;var t=e.elements;if(t){t.forEach((function(e){var t=_this2.messages.get(e);if(t){t.parentNode.removeChild(t);_this2.messages["delete"](e)}}));this.prepareFieldContainer(e.field,t)}}},{key:"onFieldRemoved",value:function onFieldRemoved(e){var _this3=this;if(!e.elements.length||!e.field){return}var t=e.elements[0].getAttribute("type");var _s2="radio"===t||"checkbox"===t?[e.elements[0]]:e.elements;_s2.forEach((function(e){if(_this3.messages.has(e)){var _t=_this3.messages.get(e);_t.parentNode.removeChild(_t);_this3.messages["delete"](e)}}))}},{key:"prepareFieldContainer",value:function prepareFieldContainer(e,t){var _this4=this;if(t.length){var _s12=t[0].getAttribute("type");if("radio"===_s12||"checkbox"===_s12){this.prepareElementContainer(e,t[0],t)}else{t.forEach((function(_s4){return _this4.prepareElementContainer(e,_s4,t)}))}}}},{key:"prepareElementContainer",value:function prepareElementContainer(e,_s5,i){var a;if("string"===typeof this.opts.container){var _e2="#"===this.opts.container.charAt(0)?'[id="'.concat(this.opts.container.substring(1),'"]'):this.opts.container;a=this.core.getFormElement().querySelector(_e2)}else{a=this.opts.container(e,_s5)}var l=document.createElement("div");a.appendChild(l);c(l,{"fv-plugins-message-container":true});this.core.emit("plugins.message.placed",{element:_s5,elements:i,field:e,messageElement:l});this.messages.set(_s5,l)}},{key:"getMessage",value:function getMessage(e){return typeof e.message==="string"?e.message:e.message[this.core.getLocale()]}},{key:"onValidatorValidated",value:function onValidatorValidated(e){var _s6=e.elements;var i=e.element.getAttribute("type");var a=("radio"===i||"checkbox"===i)&&_s6.length>0?_s6[0]:e.element;if(this.messages.has(a)){var _s13=this.messages.get(a);var _i=_s13.querySelector('[data-field="'.concat(e.field,'"][data-validator="').concat(e.validator,'"]'));if(!_i&&!e.result.valid){var _i2=document.createElement("div");_i2.innerHTML=this.getMessage(e.result);_i2.setAttribute("data-field",e.field);_i2.setAttribute("data-validator",e.validator);if(this.opts.clazz){c(_i2,_defineProperty({},this.opts.clazz,true))}_s13.appendChild(_i2);this.core.emit("plugins.message.displayed",{element:e.element,field:e.field,message:e.result.message,messageElement:_i2,meta:e.result.meta,validator:e.validator})}else if(_i&&!e.result.valid){_i.innerHTML=this.getMessage(e.result);this.core.emit("plugins.message.displayed",{element:e.element,field:e.field,message:e.result.message,messageElement:_i,meta:e.result.meta,validator:e.validator})}else if(_i&&e.result.valid){_s13.removeChild(_i)}}}},{key:"onValidatorNotValidated",value:function onValidatorNotValidated(e){var t=e.elements;var _s8=e.element.getAttribute("type");var i="radio"===_s8||"checkbox"===_s8?t[0]:e.element;if(this.messages.has(i)){var _t3=this.messages.get(i);var _s14=_t3.querySelector('[data-field="'.concat(e.field,'"][data-validator="').concat(e.validator,'"]'));if(_s14){_t3.removeChild(_s14)}}}},{key:"onElementIgnored",value:function onElementIgnored(e){var t=e.elements;var _s10=e.element.getAttribute("type");var i="radio"===_s10||"checkbox"===_s10?t[0]:e.element;if(this.messages.has(i)){var _t4=this.messages.get(i);var _s15=[].slice.call(_t4.querySelectorAll('[data-field="'.concat(e.field,'"]')));_s15.forEach((function(e){_t4.removeChild(e)}))}}}],[{key:"getClosestContainer",value:function getClosestContainer(e,t,_s){var i=e;while(i){if(i===t){break}i=i.parentElement;if(_s.test(i.className)){break}}return i}}]);return s}(t$4);var l=function(_e){_inherits(l,_e);var _super=_createSuper(l);function l(e){var _this;_classCallCheck(this,l);_this=_super.call(this,e);_this.results=new Map;_this.containers=new Map;_this.opts=Object.assign({},{defaultMessageContainer:true,eleInvalidClass:"",eleValidClass:"",rowClasses:"",rowValidatingClass:""},e);_this.elementIgnoredHandler=_this.onElementIgnored.bind(_assertThisInitialized(_this));_this.elementValidatingHandler=_this.onElementValidating.bind(_assertThisInitialized(_this));_this.elementValidatedHandler=_this.onElementValidated.bind(_assertThisInitialized(_this));_this.elementNotValidatedHandler=_this.onElementNotValidated.bind(_assertThisInitialized(_this));_this.iconPlacedHandler=_this.onIconPlaced.bind(_assertThisInitialized(_this));_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));_this.fieldRemovedHandler=_this.onFieldRemoved.bind(_assertThisInitialized(_this));_this.messagePlacedHandler=_this.onMessagePlaced.bind(_assertThisInitialized(_this));return _this}_createClass(l,[{key:"install",value:function install(){var _t,_this2=this;c(this.core.getFormElement(),(_t={},_defineProperty(_t,this.opts.formClass,true),_defineProperty(_t,"fv-plugins-framework",true),_t));this.core.on("core.element.ignored",this.elementIgnoredHandler).on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("plugins.icon.placed",this.iconPlacedHandler).on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler);if(this.opts.defaultMessageContainer){this.core.registerPlugin("___frameworkMessage",new s$1({clazz:this.opts.messageClass,container:function container(e,t){var _l="string"===typeof _this2.opts.rowSelector?_this2.opts.rowSelector:_this2.opts.rowSelector(e,t);var a=t$1(t,_l);return s$1.getClosestContainer(t,a,_this2.opts.rowPattern)}}));this.core.on("plugins.message.placed",this.messagePlacedHandler)}}},{key:"uninstall",value:function uninstall(){var _t2;this.results.clear();this.containers.clear();c(this.core.getFormElement(),(_t2={},_defineProperty(_t2,this.opts.formClass,false),_defineProperty(_t2,"fv-plugins-framework",false),_t2));this.core.off("core.element.ignored",this.elementIgnoredHandler).off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("plugins.icon.placed",this.iconPlacedHandler).off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler);if(this.opts.defaultMessageContainer){this.core.off("plugins.message.placed",this.messagePlacedHandler)}}},{key:"onIconPlaced",value:function onIconPlaced(e){}},{key:"onMessagePlaced",value:function onMessagePlaced(e){}},{key:"onFieldAdded",value:function onFieldAdded(e){var _this3=this;var s=e.elements;if(s){s.forEach((function(e){var s=_this3.containers.get(e);if(s){var _t3;c(s,(_t3={},_defineProperty(_t3,_this3.opts.rowInvalidClass,false),_defineProperty(_t3,_this3.opts.rowValidatingClass,false),_defineProperty(_t3,_this3.opts.rowValidClass,false),_defineProperty(_t3,"fv-plugins-icon-container",false),_t3));_this3.containers["delete"](e)}}));this.prepareFieldContainer(e.field,s)}}},{key:"onFieldRemoved",value:function onFieldRemoved(e){var _this4=this;e.elements.forEach((function(e){var s=_this4.containers.get(e);if(s){var _t4;c(s,(_t4={},_defineProperty(_t4,_this4.opts.rowInvalidClass,false),_defineProperty(_t4,_this4.opts.rowValidatingClass,false),_defineProperty(_t4,_this4.opts.rowValidClass,false),_t4))}}))}},{key:"prepareFieldContainer",value:function prepareFieldContainer(e,t){var _this5=this;if(t.length){var _s=t[0].getAttribute("type");if("radio"===_s||"checkbox"===_s){this.prepareElementContainer(e,t[0])}else{t.forEach((function(t){return _this5.prepareElementContainer(e,t)}))}}}},{key:"prepareElementContainer",value:function prepareElementContainer(e,i){var _l2="string"===typeof this.opts.rowSelector?this.opts.rowSelector:this.opts.rowSelector(e,i);var a=t$1(i,_l2);if(a!==i){var _t5;c(a,(_t5={},_defineProperty(_t5,this.opts.rowClasses,true),_defineProperty(_t5,"fv-plugins-icon-container",true),_t5));this.containers.set(i,a)}}},{key:"onElementValidating",value:function onElementValidating(e){var s=e.elements;var i=e.element.getAttribute("type");var _l3="radio"===i||"checkbox"===i?s[0]:e.element;var a=this.containers.get(_l3);if(a){var _t6;c(a,(_t6={},_defineProperty(_t6,this.opts.rowInvalidClass,false),_defineProperty(_t6,this.opts.rowValidatingClass,true),_defineProperty(_t6,this.opts.rowValidClass,false),_t6))}}},{key:"onElementNotValidated",value:function onElementNotValidated(e){this.removeClasses(e.element,e.elements)}},{key:"onElementIgnored",value:function onElementIgnored(e){this.removeClasses(e.element,e.elements)}},{key:"removeClasses",value:function removeClasses(e,s){var _this6=this;var i=e.getAttribute("type");var _l4="radio"===i||"checkbox"===i?s[0]:e;s.forEach((function(e){var _t7;c(e,(_t7={},_defineProperty(_t7,_this6.opts.eleValidClass,false),_defineProperty(_t7,_this6.opts.eleInvalidClass,false),_t7))}));var a=this.containers.get(_l4);if(a){var _t8;c(a,(_t8={},_defineProperty(_t8,this.opts.rowInvalidClass,false),_defineProperty(_t8,this.opts.rowValidatingClass,false),_defineProperty(_t8,this.opts.rowValidClass,false),_t8))}}},{key:"onElementValidated",value:function onElementValidated(e){var _this7=this;var s=e.elements;var i=e.element.getAttribute("type");var _l5="radio"===i||"checkbox"===i?s[0]:e.element;s.forEach((function(s){var _t9;c(s,(_t9={},_defineProperty(_t9,_this7.opts.eleValidClass,e.valid),_defineProperty(_t9,_this7.opts.eleInvalidClass,!e.valid),_t9))}));var a=this.containers.get(_l5);if(a){if(!e.valid){var _t10;this.results.set(_l5,false);c(a,(_t10={},_defineProperty(_t10,this.opts.rowInvalidClass,true),_defineProperty(_t10,this.opts.rowValidatingClass,false),_defineProperty(_t10,this.opts.rowValidClass,false),_t10))}else{this.results["delete"](_l5);var _e2=true;this.containers.forEach((function(t,s){if(t===a&&_this7.results.get(s)===false){_e2=false}}));if(_e2){var _t11;c(a,(_t11={},_defineProperty(_t11,this.opts.rowInvalidClass,false),_defineProperty(_t11,this.opts.rowValidatingClass,false),_defineProperty(_t11,this.opts.rowValidClass,true),_t11))}}}}}]);return l}(t$4);var i$2=function(_e){_inherits(i,_e);var _super=_createSuper(i);function i(e){var _this;_classCallCheck(this,i);_this=_super.call(this,e);_this.icons=new Map;_this.opts=Object.assign({},{invalid:"fv-plugins-icon--invalid",onPlaced:function onPlaced(){},onSet:function onSet(){},valid:"fv-plugins-icon--valid",validating:"fv-plugins-icon--validating"},e);_this.elementValidatingHandler=_this.onElementValidating.bind(_assertThisInitialized(_this));_this.elementValidatedHandler=_this.onElementValidated.bind(_assertThisInitialized(_this));_this.elementNotValidatedHandler=_this.onElementNotValidated.bind(_assertThisInitialized(_this));_this.elementIgnoredHandler=_this.onElementIgnored.bind(_assertThisInitialized(_this));_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));return _this}_createClass(i,[{key:"install",value:function install(){this.core.on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("core.element.ignored",this.elementIgnoredHandler).on("core.field.added",this.fieldAddedHandler)}},{key:"uninstall",value:function uninstall(){this.icons.forEach((function(e){return e.parentNode.removeChild(e)}));this.icons.clear();this.core.off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("core.element.ignored",this.elementIgnoredHandler).off("core.field.added",this.fieldAddedHandler)}},{key:"onFieldAdded",value:function onFieldAdded(e){var _this2=this;var t=e.elements;if(t){t.forEach((function(e){var t=_this2.icons.get(e);if(t){t.parentNode.removeChild(t);_this2.icons["delete"](e)}}));this.prepareFieldIcon(e.field,t)}}},{key:"prepareFieldIcon",value:function prepareFieldIcon(e,t){var _this3=this;if(t.length){var _i8=t[0].getAttribute("type");if("radio"===_i8||"checkbox"===_i8){this.prepareElementIcon(e,t[0])}else{t.forEach((function(t){return _this3.prepareElementIcon(e,t)}))}}}},{key:"prepareElementIcon",value:function prepareElementIcon(e,_i2){var n=document.createElement("i");n.setAttribute("data-field",e);_i2.parentNode.insertBefore(n,_i2.nextSibling);c(n,{"fv-plugins-icon":true});var l={classes:{invalid:this.opts.invalid,valid:this.opts.valid,validating:this.opts.validating},element:_i2,field:e,iconElement:n};this.core.emit("plugins.icon.placed",l);this.opts.onPlaced(l);this.icons.set(_i2,n)}},{key:"onElementValidating",value:function onElementValidating(e){var _this$setClasses;var t=this.setClasses(e.field,e.element,e.elements,(_this$setClasses={},_defineProperty(_this$setClasses,this.opts.invalid,false),_defineProperty(_this$setClasses,this.opts.valid,false),_defineProperty(_this$setClasses,this.opts.validating,true),_this$setClasses));var _i3={element:e.element,field:e.field,iconElement:t,status:"Validating"};this.core.emit("plugins.icon.set",_i3);this.opts.onSet(_i3)}},{key:"onElementValidated",value:function onElementValidated(e){var _this$setClasses2;var t=this.setClasses(e.field,e.element,e.elements,(_this$setClasses2={},_defineProperty(_this$setClasses2,this.opts.invalid,!e.valid),_defineProperty(_this$setClasses2,this.opts.valid,e.valid),_defineProperty(_this$setClasses2,this.opts.validating,false),_this$setClasses2));var _i4={element:e.element,field:e.field,iconElement:t,status:e.valid?"Valid":"Invalid"};this.core.emit("plugins.icon.set",_i4);this.opts.onSet(_i4)}},{key:"onElementNotValidated",value:function onElementNotValidated(e){var _this$setClasses3;var t=this.setClasses(e.field,e.element,e.elements,(_this$setClasses3={},_defineProperty(_this$setClasses3,this.opts.invalid,false),_defineProperty(_this$setClasses3,this.opts.valid,false),_defineProperty(_this$setClasses3,this.opts.validating,false),_this$setClasses3));var _i5={element:e.element,field:e.field,iconElement:t,status:"NotValidated"};this.core.emit("plugins.icon.set",_i5);this.opts.onSet(_i5)}},{key:"onElementIgnored",value:function onElementIgnored(e){var _this$setClasses4;var t=this.setClasses(e.field,e.element,e.elements,(_this$setClasses4={},_defineProperty(_this$setClasses4,this.opts.invalid,false),_defineProperty(_this$setClasses4,this.opts.valid,false),_defineProperty(_this$setClasses4,this.opts.validating,false),_this$setClasses4));var _i6={element:e.element,field:e.field,iconElement:t,status:"Ignored"};this.core.emit("plugins.icon.set",_i6);this.opts.onSet(_i6)}},{key:"setClasses",value:function setClasses(e,_i7,n,l){var s=_i7.getAttribute("type");var d="radio"===s||"checkbox"===s?n[0]:_i7;if(this.icons.has(d)){var _e2=this.icons.get(d);c(_e2,l);return _e2}else{return null}}}]);return i}(t$4);var i$1=function(_e){_inherits(i,_e);var _super=_createSuper(i);function i(e){var _this;_classCallCheck(this,i);_this=_super.call(this,e);_this.invalidFields=new Map;_this.opts=Object.assign({},{enabled:true},e);_this.validatorHandler=_this.onValidatorValidated.bind(_assertThisInitialized(_this));_this.shouldValidateFilter=_this.shouldValidate.bind(_assertThisInitialized(_this));_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));_this.elementNotValidatedHandler=_this.onElementNotValidated.bind(_assertThisInitialized(_this));_this.elementValidatingHandler=_this.onElementValidating.bind(_assertThisInitialized(_this));return _this}_createClass(i,[{key:"install",value:function install(){this.core.on("core.validator.validated",this.validatorHandler).on("core.field.added",this.fieldAddedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("core.element.validating",this.elementValidatingHandler).registerFilter("field-should-validate",this.shouldValidateFilter)}},{key:"uninstall",value:function uninstall(){this.invalidFields.clear();this.core.off("core.validator.validated",this.validatorHandler).off("core.field.added",this.fieldAddedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("core.element.validating",this.elementValidatingHandler).deregisterFilter("field-should-validate",this.shouldValidateFilter)}},{key:"shouldValidate",value:function shouldValidate(e,_i,t,l){var d=(this.opts.enabled===true||this.opts.enabled[e]===true)&&this.invalidFields.has(_i)&&!!this.invalidFields.get(_i).length&&this.invalidFields.get(_i).indexOf(l)===-1;return!d}},{key:"onValidatorValidated",value:function onValidatorValidated(e){var _i2=this.invalidFields.has(e.element)?this.invalidFields.get(e.element):[];var t=_i2.indexOf(e.validator);if(e.result.valid&&t>=0){_i2.splice(t,1)}else if(!e.result.valid&&t===-1){_i2.push(e.validator)}this.invalidFields.set(e.element,_i2)}},{key:"onFieldAdded",value:function onFieldAdded(e){if(e.elements){this.clearInvalidFields(e.elements)}}},{key:"onElementNotValidated",value:function onElementNotValidated(e){this.clearInvalidFields(e.elements)}},{key:"onElementValidating",value:function onElementValidating(e){this.clearInvalidFields(e.elements)}},{key:"clearInvalidFields",value:function clearInvalidFields(e){var _this2=this;e.forEach((function(e){return _this2.invalidFields["delete"](e)}))}}]);return i}(t$4);var e=function(_t){_inherits(e,_t);var _super=_createSuper(e);function e(t){var _this;_classCallCheck(this,e);_this=_super.call(this,t);_this.isFormValid=false;_this.opts=Object.assign({},{aspNetButton:false,buttons:function buttons(t){return[].slice.call(t.querySelectorAll('[type="submit"]:not([formnovalidate])'))}},t);_this.submitHandler=_this.handleSubmitEvent.bind(_assertThisInitialized(_this));_this.buttonClickHandler=_this.handleClickEvent.bind(_assertThisInitialized(_this));return _this}_createClass(e,[{key:"install",value:function install(){var _this2=this;if(!(this.core.getFormElement()instanceof HTMLFormElement)){return}var t=this.core.getFormElement();this.submitButtons=this.opts.buttons(t);t.setAttribute("novalidate","novalidate");t.addEventListener("submit",this.submitHandler);this.hiddenClickedEle=document.createElement("input");this.hiddenClickedEle.setAttribute("type","hidden");t.appendChild(this.hiddenClickedEle);this.submitButtons.forEach((function(t){t.addEventListener("click",_this2.buttonClickHandler)}))}},{key:"uninstall",value:function uninstall(){var _this3=this;var t=this.core.getFormElement();if(t instanceof HTMLFormElement){t.removeEventListener("submit",this.submitHandler)}this.submitButtons.forEach((function(t){t.removeEventListener("click",_this3.buttonClickHandler)}));this.hiddenClickedEle.parentElement.removeChild(this.hiddenClickedEle)}},{key:"handleSubmitEvent",value:function handleSubmitEvent(t){this.validateForm(t)}},{key:"handleClickEvent",value:function handleClickEvent(t){var _e=t.currentTarget;if(_e instanceof HTMLElement){if(this.opts.aspNetButton&&this.isFormValid===true);else{var _e3=this.core.getFormElement();_e3.removeEventListener("submit",this.submitHandler);this.clickedButton=t.target;var i=this.clickedButton.getAttribute("name");var s=this.clickedButton.getAttribute("value");if(i&&s){this.hiddenClickedEle.setAttribute("name",i);this.hiddenClickedEle.setAttribute("value",s)}this.validateForm(t)}}}},{key:"validateForm",value:function validateForm(t){var _this4=this;t.preventDefault();this.core.validate().then((function(t){if(t==="Valid"&&_this4.opts.aspNetButton&&!_this4.isFormValid&&_this4.clickedButton){_this4.isFormValid=true;_this4.clickedButton.removeEventListener("click",_this4.buttonClickHandler);_this4.clickedButton.click()}}))}}]);return e}(t$4);var i=function(_t){_inherits(i,_t);var _super=_createSuper(i);function i(t){var _this;_classCallCheck(this,i);_this=_super.call(this,t);_this.messages=new Map;_this.opts=Object.assign({},{placement:"top",trigger:"click"},t);_this.iconPlacedHandler=_this.onIconPlaced.bind(_assertThisInitialized(_this));_this.validatorValidatedHandler=_this.onValidatorValidated.bind(_assertThisInitialized(_this));_this.elementValidatedHandler=_this.onElementValidated.bind(_assertThisInitialized(_this));_this.documentClickHandler=_this.onDocumentClicked.bind(_assertThisInitialized(_this));return _this}_createClass(i,[{key:"install",value:function install(){this.tip=document.createElement("div");c(this.tip,_defineProperty({"fv-plugins-tooltip":true},"fv-plugins-tooltip--".concat(this.opts.placement),true));document.body.appendChild(this.tip);this.core.on("plugins.icon.placed",this.iconPlacedHandler).on("core.validator.validated",this.validatorValidatedHandler).on("core.element.validated",this.elementValidatedHandler);if("click"===this.opts.trigger){document.addEventListener("click",this.documentClickHandler)}}},{key:"uninstall",value:function uninstall(){this.messages.clear();document.body.removeChild(this.tip);this.core.off("plugins.icon.placed",this.iconPlacedHandler).off("core.validator.validated",this.validatorValidatedHandler).off("core.element.validated",this.elementValidatedHandler);if("click"===this.opts.trigger){document.removeEventListener("click",this.documentClickHandler)}}},{key:"onIconPlaced",value:function onIconPlaced(t){var _this2=this;c(t.iconElement,{"fv-plugins-tooltip-icon":true});switch(this.opts.trigger){case"hover":t.iconElement.addEventListener("mouseenter",(function(e){return _this2.show(t.element,e)}));t.iconElement.addEventListener("mouseleave",(function(t){return _this2.hide()}));break;case"click":default:t.iconElement.addEventListener("click",(function(e){return _this2.show(t.element,e)}));break}}},{key:"onValidatorValidated",value:function onValidatorValidated(t){if(!t.result.valid){var _e2=t.elements;var _i4=t.element.getAttribute("type");var s="radio"===_i4||"checkbox"===_i4?_e2[0]:t.element;var o=typeof t.result.message==="string"?t.result.message:t.result.message[this.core.getLocale()];this.messages.set(s,o)}}},{key:"onElementValidated",value:function onElementValidated(t){if(t.valid){var _e3=t.elements;var _i5=t.element.getAttribute("type");var s="radio"===_i5||"checkbox"===_i5?_e3[0]:t.element;this.messages["delete"](s)}}},{key:"onDocumentClicked",value:function onDocumentClicked(t){this.hide()}},{key:"show",value:function show(t,_i3){_i3.preventDefault();_i3.stopPropagation();if(!this.messages.has(t)){return}c(this.tip,{"fv-plugins-tooltip--hide":false});this.tip.innerHTML='
      '.concat(this.messages.get(t),"
      ");var s=_i3.target;var o=s.getBoundingClientRect();var _this$tip$getBounding=this.tip.getBoundingClientRect(),l=_this$tip$getBounding.height,n=_this$tip$getBounding.width;var a=0;var d=0;switch(this.opts.placement){case"bottom":a=o.top+o.height;d=o.left+o.width/2-n/2;break;case"bottom-left":a=o.top+o.height;d=o.left;break;case"bottom-right":a=o.top+o.height;d=o.left+o.width-n;break;case"left":a=o.top+o.height/2-l/2;d=o.left-n;break;case"right":a=o.top+o.height/2-l/2;d=o.left+o.width;break;case"top-left":a=o.top-l;d=o.left;break;case"top-right":a=o.top-l;d=o.left+o.width-n;break;case"top":default:a=o.top-l;d=o.left+o.width/2-n/2;break}var c$1=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;var r=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;a=a+c$1;d=d+r;this.tip.setAttribute("style","top: ".concat(a,"px; left: ").concat(d,"px"))}},{key:"hide",value:function hide(){c(this.tip,{"fv-plugins-tooltip--hide":true})}}]);return i}(t$4);var t=function(_e){_inherits(t,_e);var _super=_createSuper(t);function t(e){var _this;_classCallCheck(this,t);_this=_super.call(this,e);_this.handlers=[];_this.timers=new Map;var _t=document.createElement("div");_this.defaultEvent=!("oninput"in _t)?"keyup":"input";_this.opts=Object.assign({},{delay:0,event:_this.defaultEvent,threshold:0},e);_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));_this.fieldRemovedHandler=_this.onFieldRemoved.bind(_assertThisInitialized(_this));return _this}_createClass(t,[{key:"install",value:function install(){this.core.on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler)}},{key:"uninstall",value:function uninstall(){this.handlers.forEach((function(e){return e.element.removeEventListener(e.event,e.handler)}));this.handlers=[];this.timers.forEach((function(e){return window.clearTimeout(e)}));this.timers.clear();this.core.off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler)}},{key:"prepareHandler",value:function prepareHandler(e,_t2){var _this2=this;_t2.forEach((function(_t3){var i=[];if(!!_this2.opts.event&&_this2.opts.event[e]===false){i=[]}else if(!!_this2.opts.event&&!!_this2.opts.event[e]){i=_this2.opts.event[e].split(" ")}else if("string"===typeof _this2.opts.event&&_this2.opts.event!==_this2.defaultEvent){i=_this2.opts.event.split(" ")}else{var _e2=_t3.getAttribute("type");var s=_t3.tagName.toLowerCase();var n="radio"===_e2||"checkbox"===_e2||"file"===_e2||"select"===s?"change":_this2.ieVersion>=10&&_t3.getAttribute("placeholder")?"keyup":_this2.defaultEvent;i=[n]}i.forEach((function(i){var s=function s(i){return _this2.handleEvent(i,e,_t3)};_this2.handlers.push({element:_t3,event:i,field:e,handler:s});_t3.addEventListener(i,s)}))}))}},{key:"handleEvent",value:function handleEvent(e,_t4,i){var _this3=this;if(this.exceedThreshold(_t4,i)&&this.core.executeFilter("plugins-trigger-should-validate",true,[_t4,i])){var s=function s(){return _this3.core.validateElement(_t4,i).then((function(s){_this3.core.emit("plugins.trigger.executed",{element:i,event:e,field:_t4})}))};var n=this.opts.delay[_t4]||this.opts.delay;if(n===0){s()}else{var _e3=this.timers.get(i);if(_e3){window.clearTimeout(_e3)}this.timers.set(i,window.setTimeout(s,n*1e3))}}}},{key:"onFieldAdded",value:function onFieldAdded(e){this.handlers.filter((function(_t5){return _t5.field===e.field})).forEach((function(e){return e.element.removeEventListener(e.event,e.handler)}));this.prepareHandler(e.field,e.elements)}},{key:"onFieldRemoved",value:function onFieldRemoved(e){this.handlers.filter((function(_t6){return _t6.field===e.field&&e.elements.indexOf(_t6.element)>=0})).forEach((function(e){return e.element.removeEventListener(e.event,e.handler)}))}},{key:"exceedThreshold",value:function exceedThreshold(e,_t7){var i=this.opts.threshold[e]===0||this.opts.threshold===0?false:this.opts.threshold[e]||this.opts.threshold;if(!i){return true}var s=_t7.getAttribute("type");if(["button","checkbox","file","hidden","image","radio","reset","submit"].indexOf(s)!==-1){return true}var n=this.core.getElementValue(e,_t7);return n.length>=i}}]);return t}(t$4);var index$1={Alias:e$4,Aria:i$3,Declarative:t$3,DefaultSubmit:o,Dependency:e$3,Excluded:e$2,FieldStatus:t$2,Framework:l,Icon:i$2,Message:s$1,Sequence:i$1,SubmitButton:e,Tooltip:i,Trigger:t};function s(s,t){return s.classList?s.classList.contains(t):new RegExp("(^| )".concat(t,"( |$)"),"gi").test(s.className)}var index={call:t$_,classSet:c,closest:t$1,fetch:e$D,format:r$d,hasClass:s,isValidDate:t$X};var p={};exports.Plugin=t$4;exports.algorithms=index$3;exports.filters=index$2;exports.formValidation=r;exports.locales=p;exports.plugins=index$1;exports.utils=index;exports.validators=s$3;Object.defineProperty(exports,"__esModule",{value:true})})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.js b/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.js new file mode 100644 index 0000000..2f19df1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.js @@ -0,0 +1,4234 @@ +/** + * FormValidation (https://formvalidation.io), v1.9.0 (cbf8fab) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : + typeof define === 'function' && define.amd ? define(['exports'], factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.FormValidation = {})); +})(this, (function (exports) { 'use strict'; + + function t$i(t) { + var e = t.length; + var l = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [0, 2, 4, 6, 8, 1, 3, 5, 7, 9]]; + var n = 0; + var r = 0; + + while (e--) { + r += l[n][parseInt(t.charAt(e), 10)]; + n = 1 - n; + } + + return r % 10 === 0 && r > 0; + } + + function t$h(t) { + var e = t.length; + var n = 5; + + for (var r = 0; r < e; r++) { + n = ((n || 10) * 2 % 11 + parseInt(t.charAt(r), 10)) % 10; + } + + return n === 1; + } + + function t$g(t) { + var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + var n = t.length; + var o = e.length; + var l = Math.floor(o / 2); + + for (var r = 0; r < n; r++) { + l = ((l || o) * 2 % (o + 1) + e.indexOf(t.charAt(r))) % o; + } + + return l === 1; + } + + function t$f(t) { + var e = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 0, 6, 7, 8, 9, 5], [2, 3, 4, 0, 1, 7, 8, 9, 5, 6], [3, 4, 0, 1, 2, 8, 9, 5, 6, 7], [4, 0, 1, 2, 3, 9, 5, 6, 7, 8], [5, 9, 8, 7, 6, 0, 4, 3, 2, 1], [6, 5, 9, 8, 7, 1, 0, 4, 3, 2], [7, 6, 5, 9, 8, 2, 1, 0, 4, 3], [8, 7, 6, 5, 9, 3, 2, 1, 0, 4], [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]]; + var n = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 5, 7, 6, 2, 8, 3, 0, 9, 4], [5, 8, 0, 3, 7, 9, 6, 1, 4, 2], [8, 9, 1, 6, 0, 4, 3, 5, 2, 7], [9, 4, 5, 3, 1, 2, 6, 8, 7, 0], [4, 2, 8, 6, 5, 7, 3, 9, 0, 1], [2, 7, 9, 3, 8, 0, 6, 4, 1, 5], [7, 0, 4, 6, 9, 1, 3, 2, 5, 8]]; + var o = t.reverse(); + var r = 0; + + for (var _t = 0; _t < o.length; _t++) { + r = e[r][n[_t % 8][o[_t]]]; + } + + return r === 0; + } + + var index$3 = { + luhn: t$i, + mod11And10: t$h, + mod37And36: t$g, + verhoeff: t$f + }; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + } + + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + + return arr2; + } + + function _createForOfIteratorHelper(o, allowArrayLike) { + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; + + if (!it) { + if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (it) o = it; + var i = 0; + + var F = function () {}; + + return { + s: F, + n: function () { + if (i >= o.length) return { + done: true + }; + return { + done: false, + value: o[i++] + }; + }, + e: function (e) { + throw e; + }, + f: F + }; + } + + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + var normalCompletion = true, + didErr = false, + err; + return { + s: function () { + it = it.call(o); + }, + n: function () { + var step = it.next(); + normalCompletion = step.done; + return step; + }, + e: function (e) { + didErr = true; + err = e; + }, + f: function () { + try { + if (!normalCompletion && it.return != null) it.return(); + } finally { + if (didErr) throw err; + } + } + }; + } + + function s$6() { + return { + fns: {}, + clear: function clear() { + this.fns = {}; + }, + emit: function emit(s) { + for (var _len = arguments.length, f = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + f[_key - 1] = arguments[_key]; + } + + (this.fns[s] || []).map(function (s) { + return s.apply(s, f); + }); + }, + off: function off(s, f) { + if (this.fns[s]) { + var n = this.fns[s].indexOf(f); + + if (n >= 0) { + this.fns[s].splice(n, 1); + } + } + }, + on: function on(s, f) { + (this.fns[s] = this.fns[s] || []).push(f); + } + }; + } + + function t$e() { + return { + filters: {}, + add: function add(t, e) { + (this.filters[t] = this.filters[t] || []).push(e); + }, + clear: function clear() { + this.filters = {}; + }, + execute: function execute(t, e, i) { + if (!this.filters[t] || !this.filters[t].length) { + return e; + } + + var s = e; + var r = this.filters[t]; + var l = r.length; + + for (var _t = 0; _t < l; _t++) { + s = r[_t].apply(s, i); + } + + return s; + }, + remove: function remove(t, e) { + if (this.filters[t]) { + this.filters[t] = this.filters[t].filter(function (t) { + return t !== e; + }); + } + } + }; + } + + function e$a(e, t, r, n) { + var o = (r.getAttribute("type") || "").toLowerCase(); + var c = r.tagName.toLowerCase(); + + if (c === "textarea") { + return r.value; + } + + if (c === "select") { + var _e = r; + var _t = _e.selectedIndex; + return _t >= 0 ? _e.options.item(_t).value : ""; + } + + if (c === "input") { + if ("radio" === o || "checkbox" === o) { + var _e2 = n.filter(function (e) { + return e.checked; + }).length; + return _e2 === 0 ? "" : _e2 + ""; + } else { + return r.value; + } + } + + return ""; + } + + function r$2(r, e) { + var t = Array.isArray(e) ? e : [e]; + var a = r; + t.forEach(function (r) { + a = a.replace("%s", r); + }); + return a; + } + + function s$5() { + var s = function s(e) { + return parseFloat("".concat(e).replace(",", ".")); + }; + + return { + validate: function validate(a) { + var t = a.value; + + if (t === "") { + return { + valid: true + }; + } + + var n = Object.assign({}, { + inclusive: true, + message: "" + }, a.options); + var l = s(n.min); + var o = s(n.max); + return n.inclusive ? { + message: r$2(a.l10n ? n.message || a.l10n.between["default"] : n.message, ["".concat(l), "".concat(o)]), + valid: parseFloat(t) >= l && parseFloat(t) <= o + } : { + message: r$2(a.l10n ? n.message || a.l10n.between.notInclusive : n.message, ["".concat(l), "".concat(o)]), + valid: parseFloat(t) > l && parseFloat(t) < o + }; + } + }; + } + + function t$d() { + return { + validate: function validate(t) { + return { + valid: true + }; + } + }; + } + + function t$c(t, n) { + if ("function" === typeof t) { + return t.apply(this, n); + } else if ("string" === typeof t) { + var e = t; + + if ("()" === e.substring(e.length - 2)) { + e = e.substring(0, e.length - 2); + } + + var i = e.split("."); + var o = i.pop(); + var f = window; + + var _iterator = _createForOfIteratorHelper(i), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _t = _step.value; + f = f[_t]; + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + return typeof f[o] === "undefined" ? null : f[o].apply(this, n); + } + } + + function o$3() { + return { + validate: function validate(o) { + var l = t$c(o.options.callback, [o]); + return "boolean" === typeof l ? { + valid: l + } : l; + } + }; + } + + function t$b() { + return { + validate: function validate(t) { + var o = "select" === t.element.tagName.toLowerCase() ? t.element.querySelectorAll("option:checked").length : t.elements.filter(function (e) { + return e.checked; + }).length; + var s = t.options.min ? "".concat(t.options.min) : ""; + var n = t.options.max ? "".concat(t.options.max) : ""; + var a = t.l10n ? t.options.message || t.l10n.choice["default"] : t.options.message; + var l = !(s && o < parseInt(s, 10) || n && o > parseInt(n, 10)); + + switch (true) { + case !!s && !!n: + a = r$2(t.l10n ? t.l10n.choice.between : t.options.message, [s, n]); + break; + + case !!s: + a = r$2(t.l10n ? t.l10n.choice.more : t.options.message, s); + break; + + case !!n: + a = r$2(t.l10n ? t.l10n.choice.less : t.options.message, n); + break; + } + + return { + message: a, + valid: l + }; + } + }; + } + + var t$a = { + AMERICAN_EXPRESS: { + length: [15], + prefix: ["34", "37"] + }, + DANKORT: { + length: [16], + prefix: ["5019"] + }, + DINERS_CLUB: { + length: [14], + prefix: ["300", "301", "302", "303", "304", "305", "36"] + }, + DINERS_CLUB_US: { + length: [16], + prefix: ["54", "55"] + }, + DISCOVER: { + length: [16], + prefix: ["6011", "622126", "622127", "622128", "622129", "62213", "62214", "62215", "62216", "62217", "62218", "62219", "6222", "6223", "6224", "6225", "6226", "6227", "6228", "62290", "62291", "622920", "622921", "622922", "622923", "622924", "622925", "644", "645", "646", "647", "648", "649", "65"] + }, + ELO: { + length: [16], + prefix: ["4011", "4312", "4389", "4514", "4573", "4576", "5041", "5066", "5067", "509", "6277", "6362", "6363", "650", "6516", "6550"] + }, + FORBRUGSFORENINGEN: { + length: [16], + prefix: ["600722"] + }, + JCB: { + length: [16], + prefix: ["3528", "3529", "353", "354", "355", "356", "357", "358"] + }, + LASER: { + length: [16, 17, 18, 19], + prefix: ["6304", "6706", "6771", "6709"] + }, + MAESTRO: { + length: [12, 13, 14, 15, 16, 17, 18, 19], + prefix: ["5018", "5020", "5038", "5868", "6304", "6759", "6761", "6762", "6763", "6764", "6765", "6766"] + }, + MASTERCARD: { + length: [16], + prefix: ["51", "52", "53", "54", "55"] + }, + SOLO: { + length: [16, 18, 19], + prefix: ["6334", "6767"] + }, + UNIONPAY: { + length: [16, 17, 18, 19], + prefix: ["622126", "622127", "622128", "622129", "62213", "62214", "62215", "62216", "62217", "62218", "62219", "6222", "6223", "6224", "6225", "6226", "6227", "6228", "62290", "62291", "622920", "622921", "622922", "622923", "622924", "622925"] + }, + VISA: { + length: [16], + prefix: ["4"] + }, + VISA_ELECTRON: { + length: [16], + prefix: ["4026", "417500", "4405", "4508", "4844", "4913", "4917"] + } + }; + function l$2() { + return { + validate: function validate(l) { + if (l.value === "") { + return { + meta: { + type: null + }, + valid: true + }; + } + + if (/[^0-9-\s]+/.test(l.value)) { + return { + meta: { + type: null + }, + valid: false + }; + } + + var r = l.value.replace(/\D/g, ""); + + if (!t$i(r)) { + return { + meta: { + type: null + }, + valid: false + }; + } + + for (var _i = 0, _Object$keys = Object.keys(t$a); _i < _Object$keys.length; _i++) { + var _e = _Object$keys[_i]; + + for (var n in t$a[_e].prefix) { + if (l.value.substr(0, t$a[_e].prefix[n].length) === t$a[_e].prefix[n] && t$a[_e].length.indexOf(r.length) !== -1) { + return { + meta: { + type: _e + }, + valid: true + }; + } + } + } + + return { + meta: { + type: null + }, + valid: false + }; + } + }; + } + + function t$9(t, e, n, r) { + if (isNaN(t) || isNaN(e) || isNaN(n)) { + return false; + } + + if (t < 1e3 || t > 9999 || e <= 0 || e > 12) { + return false; + } + + var s = [31, t % 400 === 0 || t % 100 !== 0 && t % 4 === 0 ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; + + if (n <= 0 || n > s[e - 1]) { + return false; + } + + if (r === true) { + var _r = new Date(); + + var _s = _r.getFullYear(); + + var a = _r.getMonth(); + + var u = _r.getDate(); + + return t < _s || t === _s && e - 1 < a || t === _s && e - 1 === a && n < u; + } + + return true; + } + + function n() { + var n = function n(t, e, _n) { + var s = e.indexOf("YYYY"); + var a = e.indexOf("MM"); + var l = e.indexOf("DD"); + + if (s === -1 || a === -1 || l === -1) { + return null; + } + + var o = t.split(" "); + var r = o[0].split(_n); + + if (r.length < 3) { + return null; + } + + var c = new Date(parseInt(r[s], 10), parseInt(r[a], 10) - 1, parseInt(r[l], 10)); + + if (o.length > 1) { + var _t = o[1].split(":"); + + c.setHours(_t.length > 0 ? parseInt(_t[0], 10) : 0); + c.setMinutes(_t.length > 1 ? parseInt(_t[1], 10) : 0); + c.setSeconds(_t.length > 2 ? parseInt(_t[2], 10) : 0); + } + + return c; + }; + + var s = function s(t, e) { + var n = e.replace(/Y/g, "y").replace(/M/g, "m").replace(/D/g, "d").replace(/:m/g, ":M").replace(/:mm/g, ":MM").replace(/:S/, ":s").replace(/:SS/, ":ss"); + var s = t.getDate(); + var a = s < 10 ? "0".concat(s) : s; + var l = t.getMonth() + 1; + var o = l < 10 ? "0".concat(l) : l; + var r = "".concat(t.getFullYear()).substr(2); + var c = t.getFullYear(); + var i = t.getHours() % 12 || 12; + var g = i < 10 ? "0".concat(i) : i; + var u = t.getHours(); + var m = u < 10 ? "0".concat(u) : u; + var d = t.getMinutes(); + var f = d < 10 ? "0".concat(d) : d; + var p = t.getSeconds(); + var h = p < 10 ? "0".concat(p) : p; + var $ = { + H: "".concat(u), + HH: "".concat(m), + M: "".concat(d), + MM: "".concat(f), + d: "".concat(s), + dd: "".concat(a), + h: "".concat(i), + hh: "".concat(g), + m: "".concat(l), + mm: "".concat(o), + s: "".concat(p), + ss: "".concat(h), + yy: "".concat(r), + yyyy: "".concat(c) + }; + return n.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMs])\1?|"[^"]*"|'[^']*'/g, function (t) { + return $[t] ? $[t] : t.slice(1, t.length - 1); + }); + }; + + return { + validate: function validate(a) { + if (a.value === "") { + return { + meta: { + date: null + }, + valid: true + }; + } + + var l = Object.assign({}, { + format: a.element && a.element.getAttribute("type") === "date" ? "YYYY-MM-DD" : "MM/DD/YYYY", + message: "" + }, a.options); + var o = a.l10n ? a.l10n.date["default"] : l.message; + var r = { + message: "".concat(o), + meta: { + date: null + }, + valid: false + }; + var c = l.format.split(" "); + var i = c.length > 1 ? c[1] : null; + var g = c.length > 2 ? c[2] : null; + var u = a.value.split(" "); + var m = u[0]; + var d = u.length > 1 ? u[1] : null; + + if (c.length !== u.length) { + return r; + } + + var f = l.separator || (m.indexOf("/") !== -1 ? "/" : m.indexOf("-") !== -1 ? "-" : m.indexOf(".") !== -1 ? "." : "/"); + + if (f === null || m.indexOf(f) === -1) { + return r; + } + + var p = m.split(f); + var h = c[0].split(f); + + if (p.length !== h.length) { + return r; + } + + var $ = p[h.indexOf("YYYY")]; + var M = p[h.indexOf("MM")]; + var Y = p[h.indexOf("DD")]; + + if (!/^\d+$/.test($) || !/^\d+$/.test(M) || !/^\d+$/.test(Y) || $.length > 4 || M.length > 2 || Y.length > 2) { + return r; + } + + var D = parseInt($, 10); + var x = parseInt(M, 10); + var y = parseInt(Y, 10); + + if (!t$9(D, x, y)) { + return r; + } + + var I = new Date(D, x - 1, y); + + if (i) { + var _t2 = d.split(":"); + + if (i.split(":").length !== _t2.length) { + return r; + } + + var _e = _t2.length > 0 ? _t2[0].length <= 2 && /^\d+$/.test(_t2[0]) ? parseInt(_t2[0], 10) : -1 : 0; + + var _n2 = _t2.length > 1 ? _t2[1].length <= 2 && /^\d+$/.test(_t2[1]) ? parseInt(_t2[1], 10) : -1 : 0; + + var _s = _t2.length > 2 ? _t2[2].length <= 2 && /^\d+$/.test(_t2[2]) ? parseInt(_t2[2], 10) : -1 : 0; + + if (_e === -1 || _n2 === -1 || _s === -1) { + return r; + } + + if (_s < 0 || _s > 60) { + return r; + } + + if (_e < 0 || _e >= 24 || g && _e > 12) { + return r; + } + + if (_n2 < 0 || _n2 > 59) { + return r; + } + + I.setHours(_e); + I.setMinutes(_n2); + I.setSeconds(_s); + } + + var O = typeof l.min === "function" ? l.min() : l.min; + var v = O instanceof Date ? O : O ? n(O, h, f) : I; + var H = typeof l.max === "function" ? l.max() : l.max; + var T = H instanceof Date ? H : H ? n(H, h, f) : I; + var S = O instanceof Date ? s(v, l.format) : O; + var b = H instanceof Date ? s(T, l.format) : H; + + switch (true) { + case !!S && !b: + return { + message: r$2(a.l10n ? a.l10n.date.min : o, S), + meta: { + date: I + }, + valid: I.getTime() >= v.getTime() + }; + + case !!b && !S: + return { + message: r$2(a.l10n ? a.l10n.date.max : o, b), + meta: { + date: I + }, + valid: I.getTime() <= T.getTime() + }; + + case !!b && !!S: + return { + message: r$2(a.l10n ? a.l10n.date.range : o, [S, b]), + meta: { + date: I + }, + valid: I.getTime() <= T.getTime() && I.getTime() >= v.getTime() + }; + + default: + return { + message: "".concat(o), + meta: { + date: I + }, + valid: true + }; + } + } + }; + } + + function o$2() { + return { + validate: function validate(o) { + var t = "function" === typeof o.options.compare ? o.options.compare.call(this) : o.options.compare; + return { + valid: t === "" || o.value !== t + }; + } + }; + } + + function e$9() { + return { + validate: function validate(e) { + return { + valid: e.value === "" || /^\d+$/.test(e.value) + }; + } + }; + } + + function t$8() { + var t = function t(_t3, e) { + var s = _t3.split(/"/); + + var l = s.length; + var n = []; + var r = ""; + + for (var _t = 0; _t < l; _t++) { + if (_t % 2 === 0) { + var _l = s[_t].split(e); + + var a = _l.length; + + if (a === 1) { + r += _l[0]; + } else { + n.push(r + _l[0]); + + for (var _t2 = 1; _t2 < a - 1; _t2++) { + n.push(_l[_t2]); + } + + r = _l[a - 1]; + } + } else { + r += '"' + s[_t]; + + if (_t < l - 1) { + r += '"'; + } + } + } + + n.push(r); + return n; + }; + + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + var s = Object.assign({}, { + multiple: false, + separator: /[,;]/ + }, e.options); + var l = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/; + var n = s.multiple === true || "".concat(s.multiple) === "true"; + + if (n) { + var _n = s.separator || /[,;]/; + + var r = t(e.value, _n); + var a = r.length; + + for (var _t4 = 0; _t4 < a; _t4++) { + if (!l.test(r[_t4])) { + return { + valid: false + }; + } + } + + return { + valid: true + }; + } else { + return { + valid: l.test(e.value) + }; + } + } + }; + } + + function e$8() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + var t; + var i = e.options.extension ? e.options.extension.toLowerCase().split(",") : null; + var s = e.options.type ? e.options.type.toLowerCase().split(",") : null; + var n = window["File"] && window["FileList"] && window["FileReader"]; + + if (n) { + var _n = e.element.files; + var o = _n.length; + var a = 0; + + if (e.options.maxFiles && o > parseInt("".concat(e.options.maxFiles), 10)) { + return { + meta: { + error: "INVALID_MAX_FILES" + }, + valid: false + }; + } + + if (e.options.minFiles && o < parseInt("".concat(e.options.minFiles), 10)) { + return { + meta: { + error: "INVALID_MIN_FILES" + }, + valid: false + }; + } + + var r = {}; + + for (var l = 0; l < o; l++) { + a += _n[l].size; + t = _n[l].name.substr(_n[l].name.lastIndexOf(".") + 1); + r = { + ext: t, + file: _n[l], + size: _n[l].size, + type: _n[l].type + }; + + if (e.options.minSize && _n[l].size < parseInt("".concat(e.options.minSize), 10)) { + return { + meta: Object.assign({}, { + error: "INVALID_MIN_SIZE" + }, r), + valid: false + }; + } + + if (e.options.maxSize && _n[l].size > parseInt("".concat(e.options.maxSize), 10)) { + return { + meta: Object.assign({}, { + error: "INVALID_MAX_SIZE" + }, r), + valid: false + }; + } + + if (i && i.indexOf(t.toLowerCase()) === -1) { + return { + meta: Object.assign({}, { + error: "INVALID_EXTENSION" + }, r), + valid: false + }; + } + + if (_n[l].type && s && s.indexOf(_n[l].type.toLowerCase()) === -1) { + return { + meta: Object.assign({}, { + error: "INVALID_TYPE" + }, r), + valid: false + }; + } + } + + if (e.options.maxTotalSize && a > parseInt("".concat(e.options.maxTotalSize), 10)) { + return { + meta: Object.assign({}, { + error: "INVALID_MAX_TOTAL_SIZE", + totalSize: a + }, r), + valid: false + }; + } + + if (e.options.minTotalSize && a < parseInt("".concat(e.options.minTotalSize), 10)) { + return { + meta: Object.assign({}, { + error: "INVALID_MIN_TOTAL_SIZE", + totalSize: a + }, r), + valid: false + }; + } + } else { + t = e.value.substr(e.value.lastIndexOf(".") + 1); + + if (i && i.indexOf(t.toLowerCase()) === -1) { + return { + meta: { + error: "INVALID_EXTENSION", + ext: t + }, + valid: false + }; + } + } + + return { + valid: true + }; + } + }; + } + + function a$4() { + return { + validate: function validate(a) { + if (a.value === "") { + return { + valid: true + }; + } + + var s = Object.assign({}, { + inclusive: true, + message: "" + }, a.options); + var t = parseFloat("".concat(s.min).replace(",", ".")); + return s.inclusive ? { + message: r$2(a.l10n ? s.message || a.l10n.greaterThan["default"] : s.message, "".concat(t)), + valid: parseFloat(a.value) >= t + } : { + message: r$2(a.l10n ? s.message || a.l10n.greaterThan.notInclusive : s.message, "".concat(t)), + valid: parseFloat(a.value) > t + }; + } + }; + } + + function o$1() { + return { + validate: function validate(o) { + var t = "function" === typeof o.options.compare ? o.options.compare.call(this) : o.options.compare; + return { + valid: t === "" || o.value === t + }; + } + }; + } + + function a$3() { + return { + validate: function validate(a) { + if (a.value === "") { + return { + valid: true + }; + } + + var e = Object.assign({}, { + decimalSeparator: ".", + thousandsSeparator: "" + }, a.options); + var t = e.decimalSeparator === "." ? "\\." : e.decimalSeparator; + var r = e.thousandsSeparator === "." ? "\\." : e.thousandsSeparator; + var o = new RegExp("^-?[0-9]{1,3}(".concat(r, "[0-9]{3})*(").concat(t, "[0-9]+)?$")); + var n = new RegExp(r, "g"); + var s = "".concat(a.value); + + if (!o.test(s)) { + return { + valid: false + }; + } + + if (r) { + s = s.replace(n, ""); + } + + if (t) { + s = s.replace(t, "."); + } + + var i = parseFloat(s); + return { + valid: !isNaN(i) && isFinite(i) && Math.floor(i) === i + }; + } + }; + } + + function d() { + return { + validate: function validate(d) { + if (d.value === "") { + return { + valid: true + }; + } + + var a = Object.assign({}, { + ipv4: true, + ipv6: true + }, d.options); + var e = /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/([0-9]|[1-2][0-9]|3[0-2]))?$/; + var s = /^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/(\d|\d\d|1[0-1]\d|12[0-8]))?$/; + + switch (true) { + case a.ipv4 && !a.ipv6: + return { + message: d.l10n ? a.message || d.l10n.ip.ipv4 : a.message, + valid: e.test(d.value) + }; + + case !a.ipv4 && a.ipv6: + return { + message: d.l10n ? a.message || d.l10n.ip.ipv6 : a.message, + valid: s.test(d.value) + }; + + case a.ipv4 && a.ipv6: + default: + return { + message: d.l10n ? a.message || d.l10n.ip["default"] : a.message, + valid: e.test(d.value) || s.test(d.value) + }; + } + } + }; + } + + function s$4() { + return { + validate: function validate(s) { + if (s.value === "") { + return { + valid: true + }; + } + + var a = Object.assign({}, { + inclusive: true, + message: "" + }, s.options); + var l = parseFloat("".concat(a.max).replace(",", ".")); + return a.inclusive ? { + message: r$2(s.l10n ? a.message || s.l10n.lessThan["default"] : a.message, "".concat(l)), + valid: parseFloat(s.value) <= l + } : { + message: r$2(s.l10n ? a.message || s.l10n.lessThan.notInclusive : a.message, "".concat(l)), + valid: parseFloat(s.value) < l + }; + } + }; + } + + function t$7() { + return { + validate: function validate(t) { + var n = !!t.options && !!t.options.trim; + var o = t.value; + return { + valid: !n && o !== "" || n && o !== "" && o.trim() !== "" + }; + } + }; + } + + function a$2() { + return { + validate: function validate(a) { + if (a.value === "") { + return { + valid: true + }; + } + + var e = Object.assign({}, { + decimalSeparator: ".", + thousandsSeparator: "" + }, a.options); + var t = "".concat(a.value); + + if (t.substr(0, 1) === e.decimalSeparator) { + t = "0".concat(e.decimalSeparator).concat(t.substr(1)); + } else if (t.substr(0, 2) === "-".concat(e.decimalSeparator)) { + t = "-0".concat(e.decimalSeparator).concat(t.substr(2)); + } + + var r = e.decimalSeparator === "." ? "\\." : e.decimalSeparator; + var s = e.thousandsSeparator === "." ? "\\." : e.thousandsSeparator; + var i = new RegExp("^-?[0-9]{1,3}(".concat(s, "[0-9]{3})*(").concat(r, "[0-9]+)?$")); + var o = new RegExp(s, "g"); + + if (!i.test(t)) { + return { + valid: false + }; + } + + if (s) { + t = t.replace(o, ""); + } + + if (r) { + t = t.replace(r, "."); + } + + var l = parseFloat(t); + return { + valid: !isNaN(l) && isFinite(l) + }; + } + }; + } + + function r$1() { + return { + validate: function validate(r) { + return t$c(r.options.promise, [r]); + } + }; + } + + function e$7() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + var t = e.options.regexp; + + if (t instanceof RegExp) { + return { + valid: t.test(e.value) + }; + } else { + var n = t.toString(); + var o = e.options.flags ? new RegExp(n, e.options.flags) : new RegExp(n); + return { + valid: o.test(e.value) + }; + } + } + }; + } + + function e$6(e, t) { + var n = function n(e) { + return Object.keys(e).map(function (t) { + return "".concat(encodeURIComponent(t), "=").concat(encodeURIComponent(e[t])); + }).join("&"); + }; + + return new Promise(function (o, s) { + var d = Object.assign({}, { + crossDomain: false, + headers: {}, + method: "GET", + params: {} + }, t); + var a = Object.keys(d.params).map(function (e) { + return "".concat(encodeURIComponent(e), "=").concat(encodeURIComponent(d.params[e])); + }).join("&"); + var r = e.indexOf("?"); + var c = "GET" === d.method ? "".concat(e).concat(r ? "?" : "&").concat(a) : e; + + if (d.crossDomain) { + var _e = document.createElement("script"); + + var _t = "___fetch".concat(Date.now(), "___"); + + window[_t] = function (e) { + delete window[_t]; + o(e); + }; + + _e.src = "".concat(c).concat(r ? "&" : "?", "callback=").concat(_t); + _e.async = true; + + _e.addEventListener("load", function () { + _e.parentNode.removeChild(_e); + }); + + _e.addEventListener("error", function () { + return s; + }); + + document.head.appendChild(_e); + } else { + var _e2 = new XMLHttpRequest(); + + _e2.open(d.method, c); + + _e2.setRequestHeader("X-Requested-With", "XMLHttpRequest"); + + if ("POST" === d.method) { + _e2.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); + } + + Object.keys(d.headers).forEach(function (t) { + return _e2.setRequestHeader(t, d.headers[t]); + }); + + _e2.addEventListener("load", function () { + o(JSON.parse(this.responseText)); + }); + + _e2.addEventListener("error", function () { + return s; + }); + + _e2.send(n(d.params)); + } + }); + } + + function a$1() { + var a = { + crossDomain: false, + data: {}, + headers: {}, + method: "GET", + validKey: "valid" + }; + return { + validate: function validate(t) { + if (t.value === "") { + return Promise.resolve({ + valid: true + }); + } + + var s = Object.assign({}, a, t.options); + var r = s.data; + + if ("function" === typeof s.data) { + r = s.data.call(this, t); + } + + if ("string" === typeof r) { + r = JSON.parse(r); + } + + r[s.name || t.field] = t.value; + var o = "function" === typeof s.url ? s.url.call(this, t) : s.url; + return e$6(o, { + crossDomain: s.crossDomain, + headers: s.headers, + method: s.method, + params: r + }).then(function (e) { + return Promise.resolve({ + message: e["message"], + meta: e, + valid: "".concat(e[s.validKey]) === "true" + }); + })["catch"](function (e) { + return Promise.reject({ + valid: false + }); + }); + } + }; + } + + function e$5() { + return { + validate: function validate(e) { + if (e.value === "") { + return { + valid: true + }; + } + + var a = Object.assign({}, { + "case": "lower" + }, e.options); + var s = (a["case"] || "lower").toLowerCase(); + return { + message: a.message || (e.l10n ? "upper" === s ? e.l10n.stringCase.upper : e.l10n.stringCase["default"] : a.message), + valid: "upper" === s ? e.value === e.value.toUpperCase() : e.value === e.value.toLowerCase() + }; + } + }; + } + + function t$6() { + var t = function t(e) { + var t = e.length; + + for (var s = e.length - 1; s >= 0; s--) { + var n = e.charCodeAt(s); + + if (n > 127 && n <= 2047) { + t++; + } else if (n > 2047 && n <= 65535) { + t += 2; + } + + if (n >= 56320 && n <= 57343) { + s--; + } + } + + return "".concat(t); + }; + + return { + validate: function validate(s) { + var n = Object.assign({}, { + message: "", + trim: false, + utf8Bytes: false + }, s.options); + var a = n.trim === true || "".concat(n.trim) === "true" ? s.value.trim() : s.value; + + if (a === "") { + return { + valid: true + }; + } + + var r = n.min ? "".concat(n.min) : ""; + var l = n.max ? "".concat(n.max) : ""; + var i = n.utf8Bytes ? t(a) : a.length; + var g = true; + var m = s.l10n ? n.message || s.l10n.stringLength["default"] : n.message; + + if (r && i < parseInt(r, 10) || l && i > parseInt(l, 10)) { + g = false; + } + + switch (true) { + case !!r && !!l: + m = r$2(s.l10n ? n.message || s.l10n.stringLength.between : n.message, [r, l]); + break; + + case !!r: + m = r$2(s.l10n ? n.message || s.l10n.stringLength.more : n.message, "".concat(parseInt(r, 10))); + break; + + case !!l: + m = r$2(s.l10n ? n.message || s.l10n.stringLength.less : n.message, "".concat(parseInt(l, 10))); + break; + } + + return { + message: m, + valid: g + }; + } + }; + } + + function t$5() { + var t = { + allowEmptyProtocol: false, + allowLocal: false, + protocol: "http, https, ftp" + }; + return { + validate: function validate(o) { + if (o.value === "") { + return { + valid: true + }; + } + + var a = Object.assign({}, t, o.options); + var l = a.allowLocal === true || "".concat(a.allowLocal) === "true"; + var f = a.allowEmptyProtocol === true || "".concat(a.allowEmptyProtocol) === "true"; + var u = a.protocol.split(",").join("|").replace(/\s/g, ""); + var e = new RegExp("^" + "(?:(?:" + u + ")://)" + (f ? "?" : "") + "(?:\\S+(?::\\S*)?@)?" + "(?:" + (l ? "" : "(?!(?:10|127)(?:\\.\\d{1,3}){3})" + "(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})" + "(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})") + "(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])" + "(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}" + "(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))" + "|" + "(?:(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9]+)" + "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9])*" + "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))" + (l ? "?" : "") + ")" + "(?::\\d{2,5})?" + "(?:/[^\\s]*)?$", "i"); + return { + valid: e.test(o.value) + }; + } + }; + } + + var s$3 = { + between: s$5, + blank: t$d, + callback: o$3, + choice: t$b, + creditCard: l$2, + date: n, + different: o$2, + digits: e$9, + emailAddress: t$8, + file: e$8, + greaterThan: a$4, + identical: o$1, + integer: a$3, + ip: d, + lessThan: s$4, + notEmpty: t$7, + numeric: a$2, + promise: r$1, + regexp: e$7, + remote: a$1, + stringCase: e$5, + stringLength: t$6, + uri: t$5 + }; + + var l$1 = /*#__PURE__*/function () { + function l(i, s) { + _classCallCheck(this, l); + + this.elements = {}; + this.ee = s$6(); + this.filter = t$e(); + this.plugins = {}; + this.results = new Map(); + this.validators = {}; + this.form = i; + this.fields = s; + } + + _createClass(l, [{ + key: "on", + value: function on(e, t) { + this.ee.on(e, t); + return this; + } + }, { + key: "off", + value: function off(e, t) { + this.ee.off(e, t); + return this; + } + }, { + key: "emit", + value: function emit(e) { + var _this$ee; + + for (var _len = arguments.length, t = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + t[_key - 1] = arguments[_key]; + } + + (_this$ee = this.ee).emit.apply(_this$ee, [e].concat(t)); + + return this; + } + }, { + key: "registerPlugin", + value: function registerPlugin(e, t) { + if (this.plugins[e]) { + throw new Error("The plguin ".concat(e, " is registered")); + } + + t.setCore(this); + t.install(); + this.plugins[e] = t; + return this; + } + }, { + key: "deregisterPlugin", + value: function deregisterPlugin(e) { + var t = this.plugins[e]; + + if (t) { + t.uninstall(); + } + + delete this.plugins[e]; + return this; + } + }, { + key: "registerValidator", + value: function registerValidator(e, t) { + if (this.validators[e]) { + throw new Error("The validator ".concat(e, " is registered")); + } + + this.validators[e] = t; + return this; + } + }, { + key: "registerFilter", + value: function registerFilter(e, t) { + this.filter.add(e, t); + return this; + } + }, { + key: "deregisterFilter", + value: function deregisterFilter(e, t) { + this.filter.remove(e, t); + return this; + } + }, { + key: "executeFilter", + value: function executeFilter(e, t, i) { + return this.filter.execute(e, t, i); + } + }, { + key: "addField", + value: function addField(e, t) { + var i = Object.assign({}, { + selector: "", + validators: {} + }, t); + this.fields[e] = this.fields[e] ? { + selector: i.selector || this.fields[e].selector, + validators: Object.assign({}, this.fields[e].validators, i.validators) + } : i; + this.elements[e] = this.queryElements(e); + this.emit("core.field.added", { + elements: this.elements[e], + field: e, + options: this.fields[e] + }); + return this; + } + }, { + key: "removeField", + value: function removeField(e) { + if (!this.fields[e]) { + throw new Error("The field ".concat(e, " validators are not defined. Please ensure the field is added first")); + } + + var t = this.elements[e]; + var i = this.fields[e]; + delete this.elements[e]; + delete this.fields[e]; + this.emit("core.field.removed", { + elements: t, + field: e, + options: i + }); + return this; + } + }, { + key: "validate", + value: function validate() { + var _this = this; + + this.emit("core.form.validating", { + formValidation: this + }); + return this.filter.execute("validate-pre", Promise.resolve(), []).then(function () { + return Promise.all(Object.keys(_this.fields).map(function (e) { + return _this.validateField(e); + })).then(function (e) { + switch (true) { + case e.indexOf("Invalid") !== -1: + _this.emit("core.form.invalid", { + formValidation: _this + }); + + return Promise.resolve("Invalid"); + + case e.indexOf("NotValidated") !== -1: + _this.emit("core.form.notvalidated", { + formValidation: _this + }); + + return Promise.resolve("NotValidated"); + + default: + _this.emit("core.form.valid", { + formValidation: _this + }); + + return Promise.resolve("Valid"); + } + }); + }); + } + }, { + key: "validateField", + value: function validateField(e) { + var _this2 = this; + + var t = this.results.get(e); + + if (t === "Valid" || t === "Invalid") { + return Promise.resolve(t); + } + + this.emit("core.field.validating", e); + var i = this.elements[e]; + + if (i.length === 0) { + this.emit("core.field.valid", e); + return Promise.resolve("Valid"); + } + + var s = i[0].getAttribute("type"); + + if ("radio" === s || "checkbox" === s || i.length === 1) { + return this.validateElement(e, i[0]); + } else { + return Promise.all(i.map(function (t) { + return _this2.validateElement(e, t); + })).then(function (t) { + switch (true) { + case t.indexOf("Invalid") !== -1: + _this2.emit("core.field.invalid", e); + + _this2.results.set(e, "Invalid"); + + return Promise.resolve("Invalid"); + + case t.indexOf("NotValidated") !== -1: + _this2.emit("core.field.notvalidated", e); + + _this2.results["delete"](e); + + return Promise.resolve("NotValidated"); + + default: + _this2.emit("core.field.valid", e); + + _this2.results.set(e, "Valid"); + + return Promise.resolve("Valid"); + } + }); + } + } + }, { + key: "validateElement", + value: function validateElement(e, t) { + var _this3 = this; + + this.results["delete"](e); + var i = this.elements[e]; + var s = this.filter.execute("element-ignored", false, [e, t, i]); + + if (s) { + this.emit("core.element.ignored", { + element: t, + elements: i, + field: e + }); + return Promise.resolve("Ignored"); + } + + var _l = this.fields[e].validators; + this.emit("core.element.validating", { + element: t, + elements: i, + field: e + }); + var r = Object.keys(_l).map(function (i) { + return function () { + return _this3.executeValidator(e, t, i, _l[i]); + }; + }); + return this.waterfall(r).then(function (s) { + var _l2 = s.indexOf("Invalid") === -1; + + _this3.emit("core.element.validated", { + element: t, + elements: i, + field: e, + valid: _l2 + }); + + var r = t.getAttribute("type"); + + if ("radio" === r || "checkbox" === r || i.length === 1) { + _this3.emit(_l2 ? "core.field.valid" : "core.field.invalid", e); + } + + return Promise.resolve(_l2 ? "Valid" : "Invalid"); + })["catch"](function (s) { + _this3.emit("core.element.notvalidated", { + element: t, + elements: i, + field: e + }); + + return Promise.resolve(s); + }); + } + }, { + key: "executeValidator", + value: function executeValidator(e, t, i, s) { + var _this4 = this; + + var _l3 = this.elements[e]; + var r = this.filter.execute("validator-name", i, [i, e]); + s.message = this.filter.execute("validator-message", s.message, [this.locale, e, r]); + + if (!this.validators[r] || s.enabled === false) { + this.emit("core.validator.validated", { + element: t, + elements: _l3, + field: e, + result: this.normalizeResult(e, r, { + valid: true + }), + validator: r + }); + return Promise.resolve("Valid"); + } + + var a = this.validators[r]; + var d = this.getElementValue(e, t, r); + var o = this.filter.execute("field-should-validate", true, [e, t, d, i]); + + if (!o) { + this.emit("core.validator.notvalidated", { + element: t, + elements: _l3, + field: e, + validator: i + }); + return Promise.resolve("NotValidated"); + } + + this.emit("core.validator.validating", { + element: t, + elements: _l3, + field: e, + validator: i + }); + var n = a().validate({ + element: t, + elements: _l3, + field: e, + l10n: this.localization, + options: s, + value: d + }); + var h = "function" === typeof n["then"]; + + if (h) { + return n.then(function (s) { + var r = _this4.normalizeResult(e, i, s); + + _this4.emit("core.validator.validated", { + element: t, + elements: _l3, + field: e, + result: r, + validator: i + }); + + return r.valid ? "Valid" : "Invalid"; + }); + } else { + var _s = this.normalizeResult(e, i, n); + + this.emit("core.validator.validated", { + element: t, + elements: _l3, + field: e, + result: _s, + validator: i + }); + return Promise.resolve(_s.valid ? "Valid" : "Invalid"); + } + } + }, { + key: "getElementValue", + value: function getElementValue(e, t, s) { + var _l4 = e$a(this.form, e, t, this.elements[e]); + + return this.filter.execute("field-value", _l4, [_l4, e, t, s]); + } + }, { + key: "getElements", + value: function getElements(e) { + return this.elements[e]; + } + }, { + key: "getFields", + value: function getFields() { + return this.fields; + } + }, { + key: "getFormElement", + value: function getFormElement() { + return this.form; + } + }, { + key: "getLocale", + value: function getLocale() { + return this.locale; + } + }, { + key: "getPlugin", + value: function getPlugin(e) { + return this.plugins[e]; + } + }, { + key: "updateFieldStatus", + value: function updateFieldStatus(e, t, i) { + var _this5 = this; + + var s = this.elements[e]; + + var _l5 = s[0].getAttribute("type"); + + var r = "radio" === _l5 || "checkbox" === _l5 ? [s[0]] : s; + r.forEach(function (s) { + return _this5.updateElementStatus(e, s, t, i); + }); + + if (!i) { + switch (t) { + case "NotValidated": + this.emit("core.field.notvalidated", e); + this.results["delete"](e); + break; + + case "Validating": + this.emit("core.field.validating", e); + this.results["delete"](e); + break; + + case "Valid": + this.emit("core.field.valid", e); + this.results.set(e, "Valid"); + break; + + case "Invalid": + this.emit("core.field.invalid", e); + this.results.set(e, "Invalid"); + break; + } + } + + return this; + } + }, { + key: "updateElementStatus", + value: function updateElementStatus(e, t, i, s) { + var _this6 = this; + + var _l6 = this.elements[e]; + var r = this.fields[e].validators; + var a = s ? [s] : Object.keys(r); + + switch (i) { + case "NotValidated": + a.forEach(function (i) { + return _this6.emit("core.validator.notvalidated", { + element: t, + elements: _l6, + field: e, + validator: i + }); + }); + this.emit("core.element.notvalidated", { + element: t, + elements: _l6, + field: e + }); + break; + + case "Validating": + a.forEach(function (i) { + return _this6.emit("core.validator.validating", { + element: t, + elements: _l6, + field: e, + validator: i + }); + }); + this.emit("core.element.validating", { + element: t, + elements: _l6, + field: e + }); + break; + + case "Valid": + a.forEach(function (i) { + return _this6.emit("core.validator.validated", { + element: t, + elements: _l6, + field: e, + result: { + message: r[i].message, + valid: true + }, + validator: i + }); + }); + this.emit("core.element.validated", { + element: t, + elements: _l6, + field: e, + valid: true + }); + break; + + case "Invalid": + a.forEach(function (i) { + return _this6.emit("core.validator.validated", { + element: t, + elements: _l6, + field: e, + result: { + message: r[i].message, + valid: false + }, + validator: i + }); + }); + this.emit("core.element.validated", { + element: t, + elements: _l6, + field: e, + valid: false + }); + break; + } + + return this; + } + }, { + key: "resetForm", + value: function resetForm(e) { + var _this7 = this; + + Object.keys(this.fields).forEach(function (t) { + return _this7.resetField(t, e); + }); + this.emit("core.form.reset", { + formValidation: this, + reset: e + }); + return this; + } + }, { + key: "resetField", + value: function resetField(e, t) { + if (t) { + var _t = this.elements[e]; + + var _i = _t[0].getAttribute("type"); + + _t.forEach(function (e) { + if ("radio" === _i || "checkbox" === _i) { + e.removeAttribute("selected"); + e.removeAttribute("checked"); + e.checked = false; + } else { + e.setAttribute("value", ""); + + if (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement) { + e.value = ""; + } + } + }); + } + + this.updateFieldStatus(e, "NotValidated"); + this.emit("core.field.reset", { + field: e, + reset: t + }); + return this; + } + }, { + key: "revalidateField", + value: function revalidateField(e) { + this.updateFieldStatus(e, "NotValidated"); + return this.validateField(e); + } + }, { + key: "disableValidator", + value: function disableValidator(e, t) { + return this.toggleValidator(false, e, t); + } + }, { + key: "enableValidator", + value: function enableValidator(e, t) { + return this.toggleValidator(true, e, t); + } + }, { + key: "updateValidatorOption", + value: function updateValidatorOption(e, t, i, s) { + if (this.fields[e] && this.fields[e].validators && this.fields[e].validators[t]) { + this.fields[e].validators[t][i] = s; + } + + return this; + } + }, { + key: "setFieldOptions", + value: function setFieldOptions(e, t) { + this.fields[e] = t; + return this; + } + }, { + key: "destroy", + value: function destroy() { + var _this8 = this; + + Object.keys(this.plugins).forEach(function (e) { + return _this8.plugins[e].uninstall(); + }); + this.ee.clear(); + this.filter.clear(); + this.results.clear(); + this.plugins = {}; + return this; + } + }, { + key: "setLocale", + value: function setLocale(e, t) { + this.locale = e; + this.localization = t; + return this; + } + }, { + key: "waterfall", + value: function waterfall(e) { + return e.reduce(function (e, t) { + return e.then(function (e) { + return t().then(function (t) { + e.push(t); + return e; + }); + }); + }, Promise.resolve([])); + } + }, { + key: "queryElements", + value: function queryElements(e) { + var t = this.fields[e].selector ? "#" === this.fields[e].selector.charAt(0) ? "[id=\"".concat(this.fields[e].selector.substring(1), "\"]") : this.fields[e].selector : "[name=\"".concat(e, "\"]"); + return [].slice.call(this.form.querySelectorAll(t)); + } + }, { + key: "normalizeResult", + value: function normalizeResult(e, t, i) { + var s = this.fields[e].validators[t]; + return Object.assign({}, i, { + message: i.message || (s ? s.message : "") || (this.localization && this.localization[t] && this.localization[t]["default"] ? this.localization[t]["default"] : "") || "The field ".concat(e, " is not valid") + }); + } + }, { + key: "toggleValidator", + value: function toggleValidator(e, t, i) { + var _this9 = this; + + var s = this.fields[t].validators; + + if (i && s && s[i]) { + this.fields[t].validators[i].enabled = e; + } else if (!i) { + Object.keys(s).forEach(function (i) { + return _this9.fields[t].validators[i].enabled = e; + }); + } + + return this.updateFieldStatus(t, "NotValidated", i); + } + }]); + + return l; + }(); + + function r(e, t) { + var i = Object.assign({}, { + fields: {}, + locale: "en_US", + plugins: {}, + init: function init(e) {} + }, t); + var r = new l$1(e, i.fields); + r.setLocale(i.locale, i.localization); + Object.keys(i.plugins).forEach(function (e) { + return r.registerPlugin(e, i.plugins[e]); + }); + Object.keys(s$3).forEach(function (e) { + return r.registerValidator(e, s$3[e]); + }); + i.init(r); + Object.keys(i.fields).forEach(function (e) { + return r.addField(e, i.fields[e]); + }); + return r; + } + + var t$4 = /*#__PURE__*/function () { + function t(_t) { + _classCallCheck(this, t); + + this.opts = _t; + } + + _createClass(t, [{ + key: "setCore", + value: function setCore(_t2) { + this.core = _t2; + return this; + } + }, { + key: "install", + value: function install() {} + }, { + key: "uninstall", + value: function uninstall() {} + }]); + + return t; + }(); + + var index$2 = { + getFieldValue: e$a + }; + + var e$4 = /*#__PURE__*/function (_t) { + _inherits(e, _t); + + var _super = _createSuper(e); + + function e(t) { + var _this; + + _classCallCheck(this, e); + + _this = _super.call(this, t); + _this.opts = t || {}; + _this.validatorNameFilter = _this.getValidatorName.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(e, [{ + key: "install", + value: function install() { + this.core.registerFilter("validator-name", this.validatorNameFilter); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.deregisterFilter("validator-name", this.validatorNameFilter); + } + }, { + key: "getValidatorName", + value: function getValidatorName(t, _e) { + return this.opts[t] || t; + } + }]); + + return e; + }(t$4); + + var i$3 = /*#__PURE__*/function (_e) { + _inherits(i, _e); + + var _super = _createSuper(i); + + function i() { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, {}); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.fieldValidHandler = _this.onFieldValid.bind(_assertThisInitialized(_this)); + _this.fieldInvalidHandler = _this.onFieldInvalid.bind(_assertThisInitialized(_this)); + _this.messageDisplayedHandler = _this.onMessageDisplayed.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + this.core.on("core.field.valid", this.fieldValidHandler).on("core.field.invalid", this.fieldInvalidHandler).on("core.element.validated", this.elementValidatedHandler).on("plugins.message.displayed", this.messageDisplayedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.off("core.field.valid", this.fieldValidHandler).off("core.field.invalid", this.fieldInvalidHandler).off("core.element.validated", this.elementValidatedHandler).off("plugins.message.displayed", this.messageDisplayedHandler); + } + }, { + key: "onElementValidated", + value: function onElementValidated(e) { + if (e.valid) { + e.element.setAttribute("aria-invalid", "false"); + e.element.removeAttribute("aria-describedby"); + } + } + }, { + key: "onFieldValid", + value: function onFieldValid(e) { + var _i = this.core.getElements(e); + + if (_i) { + _i.forEach(function (e) { + e.setAttribute("aria-invalid", "false"); + e.removeAttribute("aria-describedby"); + }); + } + } + }, { + key: "onFieldInvalid", + value: function onFieldInvalid(e) { + var _i2 = this.core.getElements(e); + + if (_i2) { + _i2.forEach(function (e) { + return e.setAttribute("aria-invalid", "true"); + }); + } + } + }, { + key: "onMessageDisplayed", + value: function onMessageDisplayed(e) { + e.messageElement.setAttribute("role", "alert"); + e.messageElement.setAttribute("aria-hidden", "false"); + + var _i3 = this.core.getElements(e.field); + + var t = _i3.indexOf(e.element); + + var l = "js-fv-".concat(e.field, "-").concat(t, "-").concat(Date.now(), "-message"); + e.messageElement.setAttribute("id", l); + e.element.setAttribute("aria-describedby", l); + var a = e.element.getAttribute("type"); + + if ("radio" === a || "checkbox" === a) { + _i3.forEach(function (e) { + return e.setAttribute("aria-describedby", l); + }); + } + } + }]); + + return i; + }(t$4); + + var t$3 = /*#__PURE__*/function (_e) { + _inherits(t, _e); + + var _super = _createSuper(t); + + function t(e) { + var _this; + + _classCallCheck(this, t); + + _this = _super.call(this, e); + _this.addedFields = new Map(); + _this.opts = Object.assign({}, { + html5Input: false, + pluginPrefix: "data-fvp-", + prefix: "data-fv-" + }, e); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(t, [{ + key: "install", + value: function install() { + var _this2 = this; + + this.parsePlugins(); + var e = this.parseOptions(); + Object.keys(e).forEach(function (_t) { + if (!_this2.addedFields.has(_t)) { + _this2.addedFields.set(_t, true); + } + + _this2.core.addField(_t, e[_t]); + }); + this.core.on("core.field.added", this.fieldAddedHandler).on("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.addedFields.clear(); + this.core.off("core.field.added", this.fieldAddedHandler).off("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + var _this3 = this; + + var _t2 = e.elements; + + if (!_t2 || _t2.length === 0 || this.addedFields.has(e.field)) { + return; + } + + this.addedFields.set(e.field, true); + + _t2.forEach(function (_t3) { + var s = _this3.parseElement(_t3); + + if (!_this3.isEmptyOption(s)) { + var _t12 = { + selector: e.options.selector, + validators: Object.assign({}, e.options.validators || {}, s.validators) + }; + + _this3.core.setFieldOptions(e.field, _t12); + } + }); + } + }, { + key: "onFieldRemoved", + value: function onFieldRemoved(e) { + if (e.field && this.addedFields.has(e.field)) { + this.addedFields["delete"](e.field); + } + } + }, { + key: "parseOptions", + value: function parseOptions() { + var _this4 = this; + + var e = this.opts.prefix; + var _t5 = {}; + var s = this.core.getFields(); + var a = this.core.getFormElement(); + var i = [].slice.call(a.querySelectorAll("[name], [".concat(e, "field]"))); + i.forEach(function (s) { + var a = _this4.parseElement(s); + + if (!_this4.isEmptyOption(a)) { + var _i = s.getAttribute("name") || s.getAttribute("".concat(e, "field")); + + _t5[_i] = Object.assign({}, _t5[_i], a); + } + }); + Object.keys(_t5).forEach(function (e) { + Object.keys(_t5[e].validators).forEach(function (a) { + _t5[e].validators[a].enabled = _t5[e].validators[a].enabled || false; + + if (s[e] && s[e].validators && s[e].validators[a]) { + Object.assign(_t5[e].validators[a], s[e].validators[a]); + } + }); + }); + return Object.assign({}, s, _t5); + } + }, { + key: "createPluginInstance", + value: function createPluginInstance(e, _t6) { + var s = e.split("."); + var a = window || this; + + for (var _e2 = 0, _t13 = s.length; _e2 < _t13; _e2++) { + a = a[s[_e2]]; + } + + if (typeof a !== "function") { + throw new Error("the plugin ".concat(e, " doesn't exist")); + } + + return new a(_t6); + } + }, { + key: "parsePlugins", + value: function parsePlugins() { + var _this5 = this; + + var e = this.core.getFormElement(); + + var _t8 = new RegExp("^".concat(this.opts.pluginPrefix, "([a-z0-9-]+)(___)*([a-z0-9-]+)*$")); + + var s = e.attributes.length; + var a = {}; + + for (var i = 0; i < s; i++) { + var _s = e.attributes[i].name; + var n = e.attributes[i].value; + + var r = _t8.exec(_s); + + if (r && r.length === 4) { + var _e3 = this.toCamelCase(r[1]); + + a[_e3] = Object.assign({}, r[3] ? _defineProperty({}, this.toCamelCase(r[3]), n) : { + enabled: "" === n || "true" === n + }, a[_e3]); + } + } + + Object.keys(a).forEach(function (e) { + var _t9 = a[e]; + var s = _t9["enabled"]; + var i = _t9["class"]; + + if (s && i) { + delete _t9["enabled"]; + delete _t9["clazz"]; + + var _s2 = _this5.createPluginInstance(i, _t9); + + _this5.core.registerPlugin(e, _s2); + } + }); + } + }, { + key: "isEmptyOption", + value: function isEmptyOption(e) { + var _t10 = e.validators; + return Object.keys(_t10).length === 0 && _t10.constructor === Object; + } + }, { + key: "parseElement", + value: function parseElement(e) { + var _t11 = new RegExp("^".concat(this.opts.prefix, "([a-z0-9-]+)(___)*([a-z0-9-]+)*$")); + + var s = e.attributes.length; + var a = {}; + var i = e.getAttribute("type"); + + for (var n = 0; n < s; n++) { + var _s3 = e.attributes[n].name; + var r = e.attributes[n].value; + + if (this.opts.html5Input) { + switch (true) { + case "minlength" === _s3: + a["stringLength"] = Object.assign({}, { + enabled: true, + min: parseInt(r, 10) + }, a["stringLength"]); + break; + + case "maxlength" === _s3: + a["stringLength"] = Object.assign({}, { + enabled: true, + max: parseInt(r, 10) + }, a["stringLength"]); + break; + + case "pattern" === _s3: + a["regexp"] = Object.assign({}, { + enabled: true, + regexp: r + }, a["regexp"]); + break; + + case "required" === _s3: + a["notEmpty"] = Object.assign({}, { + enabled: true + }, a["notEmpty"]); + break; + + case "type" === _s3 && "color" === r: + a["color"] = Object.assign({}, { + enabled: true, + type: "hex" + }, a["color"]); + break; + + case "type" === _s3 && "email" === r: + a["emailAddress"] = Object.assign({}, { + enabled: true + }, a["emailAddress"]); + break; + + case "type" === _s3 && "url" === r: + a["uri"] = Object.assign({}, { + enabled: true + }, a["uri"]); + break; + + case "type" === _s3 && "range" === r: + a["between"] = Object.assign({}, { + enabled: true, + max: parseFloat(e.getAttribute("max")), + min: parseFloat(e.getAttribute("min")) + }, a["between"]); + break; + + case "min" === _s3 && i !== "date" && i !== "range": + a["greaterThan"] = Object.assign({}, { + enabled: true, + min: parseFloat(r) + }, a["greaterThan"]); + break; + + case "max" === _s3 && i !== "date" && i !== "range": + a["lessThan"] = Object.assign({}, { + enabled: true, + max: parseFloat(r) + }, a["lessThan"]); + break; + } + } + + var l = _t11.exec(_s3); + + if (l && l.length === 4) { + var _e4 = this.toCamelCase(l[1]); + + a[_e4] = Object.assign({}, l[3] ? _defineProperty({}, this.toCamelCase(l[3]), this.normalizeValue(r)) : { + enabled: "" === r || "true" === r + }, a[_e4]); + } + } + + return { + validators: a + }; + } + }, { + key: "normalizeValue", + value: function normalizeValue(e) { + return e === "true" ? true : e === "false" ? false : e; + } + }, { + key: "toUpperCase", + value: function toUpperCase(e) { + return e.charAt(1).toUpperCase(); + } + }, { + key: "toCamelCase", + value: function toCamelCase(e) { + return e.replace(/-./g, this.toUpperCase); + } + }]); + + return t; + }(t$4); + + var o = /*#__PURE__*/function (_t) { + _inherits(o, _t); + + var _super = _createSuper(o); + + function o() { + var _this; + + _classCallCheck(this, o); + + _this = _super.call(this, {}); + _this.onValidHandler = _this.onFormValid.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(o, [{ + key: "install", + value: function install() { + var t = this.core.getFormElement(); + + if (t.querySelectorAll('[type="submit"][name="submit"]').length) { + throw new Error("Do not use `submit` for the name attribute of submit button"); + } + + this.core.on("core.form.valid", this.onValidHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.off("core.form.valid", this.onValidHandler); + } + }, { + key: "onFormValid", + value: function onFormValid() { + var t = this.core.getFormElement(); + + if (t instanceof HTMLFormElement) { + t.submit(); + } + } + }]); + + return o; + }(t$4); + + var e$3 = /*#__PURE__*/function (_t) { + _inherits(e, _t); + + var _super = _createSuper(e); + + function e(t) { + var _this; + + _classCallCheck(this, e); + + _this = _super.call(this, t); + _this.opts = t || {}; + _this.triggerExecutedHandler = _this.onTriggerExecuted.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(e, [{ + key: "install", + value: function install() { + this.core.on("plugins.trigger.executed", this.triggerExecutedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.off("plugins.trigger.executed", this.triggerExecutedHandler); + } + }, { + key: "onTriggerExecuted", + value: function onTriggerExecuted(t) { + if (this.opts[t.field]) { + var _e3 = this.opts[t.field].split(" "); + + var _iterator = _createForOfIteratorHelper(_e3), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _t2 = _step.value; + + var _e4 = _t2.trim(); + + if (this.opts[_e4]) { + this.core.revalidateField(_e4); + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + } + }]); + + return e; + }(t$4); + + var e$2 = /*#__PURE__*/function (_t) { + _inherits(e, _t); + + var _super = _createSuper(e); + + function e(t) { + var _this; + + _classCallCheck(this, e); + + _this = _super.call(this, t); + _this.opts = Object.assign({}, { + excluded: e.defaultIgnore + }, t); + _this.ignoreValidationFilter = _this.ignoreValidation.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(e, [{ + key: "install", + value: function install() { + this.core.registerFilter("element-ignored", this.ignoreValidationFilter); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.deregisterFilter("element-ignored", this.ignoreValidationFilter); + } + }, { + key: "ignoreValidation", + value: function ignoreValidation(t, _e2, i) { + return this.opts.excluded.apply(this, [t, _e2, i]); + } + }], [{ + key: "defaultIgnore", + value: function defaultIgnore(t, _e, i) { + var r = !!(_e.offsetWidth || _e.offsetHeight || _e.getClientRects().length); + + var n = _e.getAttribute("disabled"); + + return n === "" || n === "disabled" || _e.getAttribute("type") === "hidden" || !r; + } + }]); + + return e; + }(t$4); + + var t$2 = /*#__PURE__*/function (_e) { + _inherits(t, _e); + + var _super = _createSuper(t); + + function t(e) { + var _this; + + _classCallCheck(this, t); + + _this = _super.call(this, e); + _this.statuses = new Map(); + _this.opts = Object.assign({}, { + onStatusChanged: function onStatusChanged() {} + }, e); + _this.elementValidatingHandler = _this.onElementValidating.bind(_assertThisInitialized(_this)); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_assertThisInitialized(_this)); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_assertThisInitialized(_this)); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(t, [{ + key: "install", + value: function install() { + this.core.on("core.element.validating", this.elementValidatingHandler).on("core.element.validated", this.elementValidatedHandler).on("core.element.notvalidated", this.elementNotValidatedHandler).on("core.element.ignored", this.elementIgnoredHandler).on("core.field.added", this.fieldAddedHandler).on("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.statuses.clear(); + this.core.off("core.element.validating", this.elementValidatingHandler).off("core.element.validated", this.elementValidatedHandler).off("core.element.notvalidated", this.elementNotValidatedHandler).off("core.element.ignored", this.elementIgnoredHandler).off("core.field.added", this.fieldAddedHandler).off("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "areFieldsValid", + value: function areFieldsValid() { + return Array.from(this.statuses.values()).every(function (e) { + return e === "Valid" || e === "NotValidated" || e === "Ignored"; + }); + } + }, { + key: "getStatuses", + value: function getStatuses() { + return this.statuses; + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + this.statuses.set(e.field, "NotValidated"); + } + }, { + key: "onFieldRemoved", + value: function onFieldRemoved(e) { + if (this.statuses.has(e.field)) { + this.statuses["delete"](e.field); + } + + this.opts.onStatusChanged(this.areFieldsValid()); + } + }, { + key: "onElementValidating", + value: function onElementValidating(e) { + this.statuses.set(e.field, "Validating"); + this.opts.onStatusChanged(false); + } + }, { + key: "onElementValidated", + value: function onElementValidated(e) { + this.statuses.set(e.field, e.valid ? "Valid" : "Invalid"); + + if (e.valid) { + this.opts.onStatusChanged(this.areFieldsValid()); + } else { + this.opts.onStatusChanged(false); + } + } + }, { + key: "onElementNotValidated", + value: function onElementNotValidated(e) { + this.statuses.set(e.field, "NotValidated"); + this.opts.onStatusChanged(false); + } + }, { + key: "onElementIgnored", + value: function onElementIgnored(e) { + this.statuses.set(e.field, "Ignored"); + this.opts.onStatusChanged(this.areFieldsValid()); + } + }]); + + return t; + }(t$4); + + function s$2(s, a) { + a.split(" ").forEach(function (a) { + if (s.classList) { + s.classList.add(a); + } else if (" ".concat(s.className, " ").indexOf(" ".concat(a, " "))) { + s.className += " ".concat(a); + } + }); + } + + function a(s, a) { + a.split(" ").forEach(function (a) { + s.classList ? s.classList.remove(a) : s.className = s.className.replace(a, ""); + }); + } + + function c(c, e) { + var t = []; + var f = []; + Object.keys(e).forEach(function (s) { + if (s) { + e[s] ? t.push(s) : f.push(s); + } + }); + f.forEach(function (s) { + return a(c, s); + }); + t.forEach(function (a) { + return s$2(c, a); + }); + } + + function e$1(e, t) { + var l = e.matches || e.webkitMatchesSelector || e["mozMatchesSelector"] || e["msMatchesSelector"]; + + if (l) { + return l.call(e, t); + } + + var c = [].slice.call(e.parentElement.querySelectorAll(t)); + return c.indexOf(e) >= 0; + } + + function t$1(t, l) { + var c = t; + + while (c) { + if (e$1(c, l)) { + break; + } + + c = c.parentElement; + } + + return c; + } + + var s$1 = /*#__PURE__*/function (_e) { + _inherits(s, _e); + + var _super = _createSuper(s); + + function s(e) { + var _this; + + _classCallCheck(this, s); + + _this = _super.call(this, e); + _this.messages = new Map(); + _this.defaultContainer = document.createElement("div"); + _this.opts = Object.assign({}, { + container: function container(e, t) { + return _this.defaultContainer; + } + }, e); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_assertThisInitialized(_this)); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_assertThisInitialized(_this)); + _this.validatorValidatedHandler = _this.onValidatorValidated.bind(_assertThisInitialized(_this)); + _this.validatorNotValidatedHandler = _this.onValidatorNotValidated.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(s, [{ + key: "install", + value: function install() { + this.core.getFormElement().appendChild(this.defaultContainer); + this.core.on("core.element.ignored", this.elementIgnoredHandler).on("core.field.added", this.fieldAddedHandler).on("core.field.removed", this.fieldRemovedHandler).on("core.validator.validated", this.validatorValidatedHandler).on("core.validator.notvalidated", this.validatorNotValidatedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.getFormElement().removeChild(this.defaultContainer); + this.messages.forEach(function (e) { + return e.parentNode.removeChild(e); + }); + this.messages.clear(); + this.core.off("core.element.ignored", this.elementIgnoredHandler).off("core.field.added", this.fieldAddedHandler).off("core.field.removed", this.fieldRemovedHandler).off("core.validator.validated", this.validatorValidatedHandler).off("core.validator.notvalidated", this.validatorNotValidatedHandler); + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + var _this2 = this; + + var t = e.elements; + + if (t) { + t.forEach(function (e) { + var t = _this2.messages.get(e); + + if (t) { + t.parentNode.removeChild(t); + + _this2.messages["delete"](e); + } + }); + this.prepareFieldContainer(e.field, t); + } + } + }, { + key: "onFieldRemoved", + value: function onFieldRemoved(e) { + var _this3 = this; + + if (!e.elements.length || !e.field) { + return; + } + + var t = e.elements[0].getAttribute("type"); + + var _s2 = "radio" === t || "checkbox" === t ? [e.elements[0]] : e.elements; + + _s2.forEach(function (e) { + if (_this3.messages.has(e)) { + var _t = _this3.messages.get(e); + + _t.parentNode.removeChild(_t); + + _this3.messages["delete"](e); + } + }); + } + }, { + key: "prepareFieldContainer", + value: function prepareFieldContainer(e, t) { + var _this4 = this; + + if (t.length) { + var _s12 = t[0].getAttribute("type"); + + if ("radio" === _s12 || "checkbox" === _s12) { + this.prepareElementContainer(e, t[0], t); + } else { + t.forEach(function (_s4) { + return _this4.prepareElementContainer(e, _s4, t); + }); + } + } + } + }, { + key: "prepareElementContainer", + value: function prepareElementContainer(e, _s5, i) { + var a; + + if ("string" === typeof this.opts.container) { + var _e2 = "#" === this.opts.container.charAt(0) ? "[id=\"".concat(this.opts.container.substring(1), "\"]") : this.opts.container; + + a = this.core.getFormElement().querySelector(_e2); + } else { + a = this.opts.container(e, _s5); + } + + var l = document.createElement("div"); + a.appendChild(l); + c(l, { + "fv-plugins-message-container": true + }); + this.core.emit("plugins.message.placed", { + element: _s5, + elements: i, + field: e, + messageElement: l + }); + this.messages.set(_s5, l); + } + }, { + key: "getMessage", + value: function getMessage(e) { + return typeof e.message === "string" ? e.message : e.message[this.core.getLocale()]; + } + }, { + key: "onValidatorValidated", + value: function onValidatorValidated(e) { + var _s6 = e.elements; + var i = e.element.getAttribute("type"); + var a = ("radio" === i || "checkbox" === i) && _s6.length > 0 ? _s6[0] : e.element; + + if (this.messages.has(a)) { + var _s13 = this.messages.get(a); + + var _i = _s13.querySelector("[data-field=\"".concat(e.field, "\"][data-validator=\"").concat(e.validator, "\"]")); + + if (!_i && !e.result.valid) { + var _i2 = document.createElement("div"); + + _i2.innerHTML = this.getMessage(e.result); + + _i2.setAttribute("data-field", e.field); + + _i2.setAttribute("data-validator", e.validator); + + if (this.opts.clazz) { + c(_i2, _defineProperty({}, this.opts.clazz, true)); + } + + _s13.appendChild(_i2); + + this.core.emit("plugins.message.displayed", { + element: e.element, + field: e.field, + message: e.result.message, + messageElement: _i2, + meta: e.result.meta, + validator: e.validator + }); + } else if (_i && !e.result.valid) { + _i.innerHTML = this.getMessage(e.result); + this.core.emit("plugins.message.displayed", { + element: e.element, + field: e.field, + message: e.result.message, + messageElement: _i, + meta: e.result.meta, + validator: e.validator + }); + } else if (_i && e.result.valid) { + _s13.removeChild(_i); + } + } + } + }, { + key: "onValidatorNotValidated", + value: function onValidatorNotValidated(e) { + var t = e.elements; + + var _s8 = e.element.getAttribute("type"); + + var i = "radio" === _s8 || "checkbox" === _s8 ? t[0] : e.element; + + if (this.messages.has(i)) { + var _t3 = this.messages.get(i); + + var _s14 = _t3.querySelector("[data-field=\"".concat(e.field, "\"][data-validator=\"").concat(e.validator, "\"]")); + + if (_s14) { + _t3.removeChild(_s14); + } + } + } + }, { + key: "onElementIgnored", + value: function onElementIgnored(e) { + var t = e.elements; + + var _s10 = e.element.getAttribute("type"); + + var i = "radio" === _s10 || "checkbox" === _s10 ? t[0] : e.element; + + if (this.messages.has(i)) { + var _t4 = this.messages.get(i); + + var _s15 = [].slice.call(_t4.querySelectorAll("[data-field=\"".concat(e.field, "\"]"))); + + _s15.forEach(function (e) { + _t4.removeChild(e); + }); + } + } + }], [{ + key: "getClosestContainer", + value: function getClosestContainer(e, t, _s) { + var i = e; + + while (i) { + if (i === t) { + break; + } + + i = i.parentElement; + + if (_s.test(i.className)) { + break; + } + } + + return i; + } + }]); + + return s; + }(t$4); + + var l = /*#__PURE__*/function (_e) { + _inherits(l, _e); + + var _super = _createSuper(l); + + function l(e) { + var _this; + + _classCallCheck(this, l); + + _this = _super.call(this, e); + _this.results = new Map(); + _this.containers = new Map(); + _this.opts = Object.assign({}, { + defaultMessageContainer: true, + eleInvalidClass: "", + eleValidClass: "", + rowClasses: "", + rowValidatingClass: "" + }, e); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_assertThisInitialized(_this)); + _this.elementValidatingHandler = _this.onElementValidating.bind(_assertThisInitialized(_this)); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_assertThisInitialized(_this)); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_assertThisInitialized(_this)); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_assertThisInitialized(_this)); + _this.messagePlacedHandler = _this.onMessagePlaced.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(l, [{ + key: "install", + value: function install() { + var _t, + _this2 = this; + + c(this.core.getFormElement(), (_t = {}, _defineProperty(_t, this.opts.formClass, true), _defineProperty(_t, "fv-plugins-framework", true), _t)); + this.core.on("core.element.ignored", this.elementIgnoredHandler).on("core.element.validating", this.elementValidatingHandler).on("core.element.validated", this.elementValidatedHandler).on("core.element.notvalidated", this.elementNotValidatedHandler).on("plugins.icon.placed", this.iconPlacedHandler).on("core.field.added", this.fieldAddedHandler).on("core.field.removed", this.fieldRemovedHandler); + + if (this.opts.defaultMessageContainer) { + this.core.registerPlugin("___frameworkMessage", new s$1({ + clazz: this.opts.messageClass, + container: function container(e, t) { + var _l = "string" === typeof _this2.opts.rowSelector ? _this2.opts.rowSelector : _this2.opts.rowSelector(e, t); + + var a = t$1(t, _l); + return s$1.getClosestContainer(t, a, _this2.opts.rowPattern); + } + })); + this.core.on("plugins.message.placed", this.messagePlacedHandler); + } + } + }, { + key: "uninstall", + value: function uninstall() { + var _t2; + + this.results.clear(); + this.containers.clear(); + c(this.core.getFormElement(), (_t2 = {}, _defineProperty(_t2, this.opts.formClass, false), _defineProperty(_t2, "fv-plugins-framework", false), _t2)); + this.core.off("core.element.ignored", this.elementIgnoredHandler).off("core.element.validating", this.elementValidatingHandler).off("core.element.validated", this.elementValidatedHandler).off("core.element.notvalidated", this.elementNotValidatedHandler).off("plugins.icon.placed", this.iconPlacedHandler).off("core.field.added", this.fieldAddedHandler).off("core.field.removed", this.fieldRemovedHandler); + + if (this.opts.defaultMessageContainer) { + this.core.off("plugins.message.placed", this.messagePlacedHandler); + } + } + }, { + key: "onIconPlaced", + value: function onIconPlaced(e) {} + }, { + key: "onMessagePlaced", + value: function onMessagePlaced(e) {} + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + var _this3 = this; + + var s = e.elements; + + if (s) { + s.forEach(function (e) { + var s = _this3.containers.get(e); + + if (s) { + var _t3; + + c(s, (_t3 = {}, _defineProperty(_t3, _this3.opts.rowInvalidClass, false), _defineProperty(_t3, _this3.opts.rowValidatingClass, false), _defineProperty(_t3, _this3.opts.rowValidClass, false), _defineProperty(_t3, "fv-plugins-icon-container", false), _t3)); + + _this3.containers["delete"](e); + } + }); + this.prepareFieldContainer(e.field, s); + } + } + }, { + key: "onFieldRemoved", + value: function onFieldRemoved(e) { + var _this4 = this; + + e.elements.forEach(function (e) { + var s = _this4.containers.get(e); + + if (s) { + var _t4; + + c(s, (_t4 = {}, _defineProperty(_t4, _this4.opts.rowInvalidClass, false), _defineProperty(_t4, _this4.opts.rowValidatingClass, false), _defineProperty(_t4, _this4.opts.rowValidClass, false), _t4)); + } + }); + } + }, { + key: "prepareFieldContainer", + value: function prepareFieldContainer(e, t) { + var _this5 = this; + + if (t.length) { + var _s = t[0].getAttribute("type"); + + if ("radio" === _s || "checkbox" === _s) { + this.prepareElementContainer(e, t[0]); + } else { + t.forEach(function (t) { + return _this5.prepareElementContainer(e, t); + }); + } + } + } + }, { + key: "prepareElementContainer", + value: function prepareElementContainer(e, i) { + var _l2 = "string" === typeof this.opts.rowSelector ? this.opts.rowSelector : this.opts.rowSelector(e, i); + + var a = t$1(i, _l2); + + if (a !== i) { + var _t5; + + c(a, (_t5 = {}, _defineProperty(_t5, this.opts.rowClasses, true), _defineProperty(_t5, "fv-plugins-icon-container", true), _t5)); + this.containers.set(i, a); + } + } + }, { + key: "onElementValidating", + value: function onElementValidating(e) { + var s = e.elements; + var i = e.element.getAttribute("type"); + + var _l3 = "radio" === i || "checkbox" === i ? s[0] : e.element; + + var a = this.containers.get(_l3); + + if (a) { + var _t6; + + c(a, (_t6 = {}, _defineProperty(_t6, this.opts.rowInvalidClass, false), _defineProperty(_t6, this.opts.rowValidatingClass, true), _defineProperty(_t6, this.opts.rowValidClass, false), _t6)); + } + } + }, { + key: "onElementNotValidated", + value: function onElementNotValidated(e) { + this.removeClasses(e.element, e.elements); + } + }, { + key: "onElementIgnored", + value: function onElementIgnored(e) { + this.removeClasses(e.element, e.elements); + } + }, { + key: "removeClasses", + value: function removeClasses(e, s) { + var _this6 = this; + + var i = e.getAttribute("type"); + + var _l4 = "radio" === i || "checkbox" === i ? s[0] : e; + + s.forEach(function (e) { + var _t7; + + c(e, (_t7 = {}, _defineProperty(_t7, _this6.opts.eleValidClass, false), _defineProperty(_t7, _this6.opts.eleInvalidClass, false), _t7)); + }); + var a = this.containers.get(_l4); + + if (a) { + var _t8; + + c(a, (_t8 = {}, _defineProperty(_t8, this.opts.rowInvalidClass, false), _defineProperty(_t8, this.opts.rowValidatingClass, false), _defineProperty(_t8, this.opts.rowValidClass, false), _t8)); + } + } + }, { + key: "onElementValidated", + value: function onElementValidated(e) { + var _this7 = this; + + var s = e.elements; + var i = e.element.getAttribute("type"); + + var _l5 = "radio" === i || "checkbox" === i ? s[0] : e.element; + + s.forEach(function (s) { + var _t9; + + c(s, (_t9 = {}, _defineProperty(_t9, _this7.opts.eleValidClass, e.valid), _defineProperty(_t9, _this7.opts.eleInvalidClass, !e.valid), _t9)); + }); + var a = this.containers.get(_l5); + + if (a) { + if (!e.valid) { + var _t10; + + this.results.set(_l5, false); + c(a, (_t10 = {}, _defineProperty(_t10, this.opts.rowInvalidClass, true), _defineProperty(_t10, this.opts.rowValidatingClass, false), _defineProperty(_t10, this.opts.rowValidClass, false), _t10)); + } else { + this.results["delete"](_l5); + var _e2 = true; + this.containers.forEach(function (t, s) { + if (t === a && _this7.results.get(s) === false) { + _e2 = false; + } + }); + + if (_e2) { + var _t11; + + c(a, (_t11 = {}, _defineProperty(_t11, this.opts.rowInvalidClass, false), _defineProperty(_t11, this.opts.rowValidatingClass, false), _defineProperty(_t11, this.opts.rowValidClass, true), _t11)); + } + } + } + } + }]); + + return l; + }(t$4); + + var i$2 = /*#__PURE__*/function (_e) { + _inherits(i, _e); + + var _super = _createSuper(i); + + function i(e) { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, e); + _this.icons = new Map(); + _this.opts = Object.assign({}, { + invalid: "fv-plugins-icon--invalid", + onPlaced: function onPlaced() {}, + onSet: function onSet() {}, + valid: "fv-plugins-icon--valid", + validating: "fv-plugins-icon--validating" + }, e); + _this.elementValidatingHandler = _this.onElementValidating.bind(_assertThisInitialized(_this)); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_assertThisInitialized(_this)); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_assertThisInitialized(_this)); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + this.core.on("core.element.validating", this.elementValidatingHandler).on("core.element.validated", this.elementValidatedHandler).on("core.element.notvalidated", this.elementNotValidatedHandler).on("core.element.ignored", this.elementIgnoredHandler).on("core.field.added", this.fieldAddedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.icons.forEach(function (e) { + return e.parentNode.removeChild(e); + }); + this.icons.clear(); + this.core.off("core.element.validating", this.elementValidatingHandler).off("core.element.validated", this.elementValidatedHandler).off("core.element.notvalidated", this.elementNotValidatedHandler).off("core.element.ignored", this.elementIgnoredHandler).off("core.field.added", this.fieldAddedHandler); + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + var _this2 = this; + + var t = e.elements; + + if (t) { + t.forEach(function (e) { + var t = _this2.icons.get(e); + + if (t) { + t.parentNode.removeChild(t); + + _this2.icons["delete"](e); + } + }); + this.prepareFieldIcon(e.field, t); + } + } + }, { + key: "prepareFieldIcon", + value: function prepareFieldIcon(e, t) { + var _this3 = this; + + if (t.length) { + var _i8 = t[0].getAttribute("type"); + + if ("radio" === _i8 || "checkbox" === _i8) { + this.prepareElementIcon(e, t[0]); + } else { + t.forEach(function (t) { + return _this3.prepareElementIcon(e, t); + }); + } + } + } + }, { + key: "prepareElementIcon", + value: function prepareElementIcon(e, _i2) { + var n = document.createElement("i"); + n.setAttribute("data-field", e); + + _i2.parentNode.insertBefore(n, _i2.nextSibling); + + c(n, { + "fv-plugins-icon": true + }); + var l = { + classes: { + invalid: this.opts.invalid, + valid: this.opts.valid, + validating: this.opts.validating + }, + element: _i2, + field: e, + iconElement: n + }; + this.core.emit("plugins.icon.placed", l); + this.opts.onPlaced(l); + this.icons.set(_i2, n); + } + }, { + key: "onElementValidating", + value: function onElementValidating(e) { + var _this$setClasses; + + var t = this.setClasses(e.field, e.element, e.elements, (_this$setClasses = {}, _defineProperty(_this$setClasses, this.opts.invalid, false), _defineProperty(_this$setClasses, this.opts.valid, false), _defineProperty(_this$setClasses, this.opts.validating, true), _this$setClasses)); + var _i3 = { + element: e.element, + field: e.field, + iconElement: t, + status: "Validating" + }; + this.core.emit("plugins.icon.set", _i3); + this.opts.onSet(_i3); + } + }, { + key: "onElementValidated", + value: function onElementValidated(e) { + var _this$setClasses2; + + var t = this.setClasses(e.field, e.element, e.elements, (_this$setClasses2 = {}, _defineProperty(_this$setClasses2, this.opts.invalid, !e.valid), _defineProperty(_this$setClasses2, this.opts.valid, e.valid), _defineProperty(_this$setClasses2, this.opts.validating, false), _this$setClasses2)); + var _i4 = { + element: e.element, + field: e.field, + iconElement: t, + status: e.valid ? "Valid" : "Invalid" + }; + this.core.emit("plugins.icon.set", _i4); + this.opts.onSet(_i4); + } + }, { + key: "onElementNotValidated", + value: function onElementNotValidated(e) { + var _this$setClasses3; + + var t = this.setClasses(e.field, e.element, e.elements, (_this$setClasses3 = {}, _defineProperty(_this$setClasses3, this.opts.invalid, false), _defineProperty(_this$setClasses3, this.opts.valid, false), _defineProperty(_this$setClasses3, this.opts.validating, false), _this$setClasses3)); + var _i5 = { + element: e.element, + field: e.field, + iconElement: t, + status: "NotValidated" + }; + this.core.emit("plugins.icon.set", _i5); + this.opts.onSet(_i5); + } + }, { + key: "onElementIgnored", + value: function onElementIgnored(e) { + var _this$setClasses4; + + var t = this.setClasses(e.field, e.element, e.elements, (_this$setClasses4 = {}, _defineProperty(_this$setClasses4, this.opts.invalid, false), _defineProperty(_this$setClasses4, this.opts.valid, false), _defineProperty(_this$setClasses4, this.opts.validating, false), _this$setClasses4)); + var _i6 = { + element: e.element, + field: e.field, + iconElement: t, + status: "Ignored" + }; + this.core.emit("plugins.icon.set", _i6); + this.opts.onSet(_i6); + } + }, { + key: "setClasses", + value: function setClasses(e, _i7, n, l) { + var s = _i7.getAttribute("type"); + + var d = "radio" === s || "checkbox" === s ? n[0] : _i7; + + if (this.icons.has(d)) { + var _e2 = this.icons.get(d); + + c(_e2, l); + return _e2; + } else { + return null; + } + } + }]); + + return i; + }(t$4); + + var i$1 = /*#__PURE__*/function (_e) { + _inherits(i, _e); + + var _super = _createSuper(i); + + function i(e) { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, e); + _this.invalidFields = new Map(); + _this.opts = Object.assign({}, { + enabled: true + }, e); + _this.validatorHandler = _this.onValidatorValidated.bind(_assertThisInitialized(_this)); + _this.shouldValidateFilter = _this.shouldValidate.bind(_assertThisInitialized(_this)); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_assertThisInitialized(_this)); + _this.elementValidatingHandler = _this.onElementValidating.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + this.core.on("core.validator.validated", this.validatorHandler).on("core.field.added", this.fieldAddedHandler).on("core.element.notvalidated", this.elementNotValidatedHandler).on("core.element.validating", this.elementValidatingHandler).registerFilter("field-should-validate", this.shouldValidateFilter); + } + }, { + key: "uninstall", + value: function uninstall() { + this.invalidFields.clear(); + this.core.off("core.validator.validated", this.validatorHandler).off("core.field.added", this.fieldAddedHandler).off("core.element.notvalidated", this.elementNotValidatedHandler).off("core.element.validating", this.elementValidatingHandler).deregisterFilter("field-should-validate", this.shouldValidateFilter); + } + }, { + key: "shouldValidate", + value: function shouldValidate(e, _i, t, l) { + var d = (this.opts.enabled === true || this.opts.enabled[e] === true) && this.invalidFields.has(_i) && !!this.invalidFields.get(_i).length && this.invalidFields.get(_i).indexOf(l) === -1; + return !d; + } + }, { + key: "onValidatorValidated", + value: function onValidatorValidated(e) { + var _i2 = this.invalidFields.has(e.element) ? this.invalidFields.get(e.element) : []; + + var t = _i2.indexOf(e.validator); + + if (e.result.valid && t >= 0) { + _i2.splice(t, 1); + } else if (!e.result.valid && t === -1) { + _i2.push(e.validator); + } + + this.invalidFields.set(e.element, _i2); + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + if (e.elements) { + this.clearInvalidFields(e.elements); + } + } + }, { + key: "onElementNotValidated", + value: function onElementNotValidated(e) { + this.clearInvalidFields(e.elements); + } + }, { + key: "onElementValidating", + value: function onElementValidating(e) { + this.clearInvalidFields(e.elements); + } + }, { + key: "clearInvalidFields", + value: function clearInvalidFields(e) { + var _this2 = this; + + e.forEach(function (e) { + return _this2.invalidFields["delete"](e); + }); + } + }]); + + return i; + }(t$4); + + var e = /*#__PURE__*/function (_t) { + _inherits(e, _t); + + var _super = _createSuper(e); + + function e(t) { + var _this; + + _classCallCheck(this, e); + + _this = _super.call(this, t); + _this.isFormValid = false; + _this.opts = Object.assign({}, { + aspNetButton: false, + buttons: function buttons(t) { + return [].slice.call(t.querySelectorAll('[type="submit"]:not([formnovalidate])')); + } + }, t); + _this.submitHandler = _this.handleSubmitEvent.bind(_assertThisInitialized(_this)); + _this.buttonClickHandler = _this.handleClickEvent.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(e, [{ + key: "install", + value: function install() { + var _this2 = this; + + if (!(this.core.getFormElement() instanceof HTMLFormElement)) { + return; + } + + var t = this.core.getFormElement(); + this.submitButtons = this.opts.buttons(t); + t.setAttribute("novalidate", "novalidate"); + t.addEventListener("submit", this.submitHandler); + this.hiddenClickedEle = document.createElement("input"); + this.hiddenClickedEle.setAttribute("type", "hidden"); + t.appendChild(this.hiddenClickedEle); + this.submitButtons.forEach(function (t) { + t.addEventListener("click", _this2.buttonClickHandler); + }); + } + }, { + key: "uninstall", + value: function uninstall() { + var _this3 = this; + + var t = this.core.getFormElement(); + + if (t instanceof HTMLFormElement) { + t.removeEventListener("submit", this.submitHandler); + } + + this.submitButtons.forEach(function (t) { + t.removeEventListener("click", _this3.buttonClickHandler); + }); + this.hiddenClickedEle.parentElement.removeChild(this.hiddenClickedEle); + } + }, { + key: "handleSubmitEvent", + value: function handleSubmitEvent(t) { + this.validateForm(t); + } + }, { + key: "handleClickEvent", + value: function handleClickEvent(t) { + var _e = t.currentTarget; + + if (_e instanceof HTMLElement) { + if (this.opts.aspNetButton && this.isFormValid === true) ; else { + var _e3 = this.core.getFormElement(); + + _e3.removeEventListener("submit", this.submitHandler); + + this.clickedButton = t.target; + var i = this.clickedButton.getAttribute("name"); + var s = this.clickedButton.getAttribute("value"); + + if (i && s) { + this.hiddenClickedEle.setAttribute("name", i); + this.hiddenClickedEle.setAttribute("value", s); + } + + this.validateForm(t); + } + } + } + }, { + key: "validateForm", + value: function validateForm(t) { + var _this4 = this; + + t.preventDefault(); + this.core.validate().then(function (t) { + if (t === "Valid" && _this4.opts.aspNetButton && !_this4.isFormValid && _this4.clickedButton) { + _this4.isFormValid = true; + + _this4.clickedButton.removeEventListener("click", _this4.buttonClickHandler); + + _this4.clickedButton.click(); + } + }); + } + }]); + + return e; + }(t$4); + + var i = /*#__PURE__*/function (_t) { + _inherits(i, _t); + + var _super = _createSuper(i); + + function i(t) { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, t); + _this.messages = new Map(); + _this.opts = Object.assign({}, { + placement: "top", + trigger: "click" + }, t); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_assertThisInitialized(_this)); + _this.validatorValidatedHandler = _this.onValidatorValidated.bind(_assertThisInitialized(_this)); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.documentClickHandler = _this.onDocumentClicked.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + this.tip = document.createElement("div"); + c(this.tip, _defineProperty({ + "fv-plugins-tooltip": true + }, "fv-plugins-tooltip--".concat(this.opts.placement), true)); + document.body.appendChild(this.tip); + this.core.on("plugins.icon.placed", this.iconPlacedHandler).on("core.validator.validated", this.validatorValidatedHandler).on("core.element.validated", this.elementValidatedHandler); + + if ("click" === this.opts.trigger) { + document.addEventListener("click", this.documentClickHandler); + } + } + }, { + key: "uninstall", + value: function uninstall() { + this.messages.clear(); + document.body.removeChild(this.tip); + this.core.off("plugins.icon.placed", this.iconPlacedHandler).off("core.validator.validated", this.validatorValidatedHandler).off("core.element.validated", this.elementValidatedHandler); + + if ("click" === this.opts.trigger) { + document.removeEventListener("click", this.documentClickHandler); + } + } + }, { + key: "onIconPlaced", + value: function onIconPlaced(t) { + var _this2 = this; + + c(t.iconElement, { + "fv-plugins-tooltip-icon": true + }); + + switch (this.opts.trigger) { + case "hover": + t.iconElement.addEventListener("mouseenter", function (e) { + return _this2.show(t.element, e); + }); + t.iconElement.addEventListener("mouseleave", function (t) { + return _this2.hide(); + }); + break; + + case "click": + default: + t.iconElement.addEventListener("click", function (e) { + return _this2.show(t.element, e); + }); + break; + } + } + }, { + key: "onValidatorValidated", + value: function onValidatorValidated(t) { + if (!t.result.valid) { + var _e2 = t.elements; + + var _i4 = t.element.getAttribute("type"); + + var s = "radio" === _i4 || "checkbox" === _i4 ? _e2[0] : t.element; + var o = typeof t.result.message === "string" ? t.result.message : t.result.message[this.core.getLocale()]; + this.messages.set(s, o); + } + } + }, { + key: "onElementValidated", + value: function onElementValidated(t) { + if (t.valid) { + var _e3 = t.elements; + + var _i5 = t.element.getAttribute("type"); + + var s = "radio" === _i5 || "checkbox" === _i5 ? _e3[0] : t.element; + this.messages["delete"](s); + } + } + }, { + key: "onDocumentClicked", + value: function onDocumentClicked(t) { + this.hide(); + } + }, { + key: "show", + value: function show(t, _i3) { + _i3.preventDefault(); + + _i3.stopPropagation(); + + if (!this.messages.has(t)) { + return; + } + + c(this.tip, { + "fv-plugins-tooltip--hide": false + }); + this.tip.innerHTML = "
      ".concat(this.messages.get(t), "
      "); + var s = _i3.target; + var o = s.getBoundingClientRect(); + + var _this$tip$getBounding = this.tip.getBoundingClientRect(), + l = _this$tip$getBounding.height, + n = _this$tip$getBounding.width; + + var a = 0; + var d = 0; + + switch (this.opts.placement) { + case "bottom": + a = o.top + o.height; + d = o.left + o.width / 2 - n / 2; + break; + + case "bottom-left": + a = o.top + o.height; + d = o.left; + break; + + case "bottom-right": + a = o.top + o.height; + d = o.left + o.width - n; + break; + + case "left": + a = o.top + o.height / 2 - l / 2; + d = o.left - n; + break; + + case "right": + a = o.top + o.height / 2 - l / 2; + d = o.left + o.width; + break; + + case "top-left": + a = o.top - l; + d = o.left; + break; + + case "top-right": + a = o.top - l; + d = o.left + o.width - n; + break; + + case "top": + default: + a = o.top - l; + d = o.left + o.width / 2 - n / 2; + break; + } + + var c$1 = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0; + var r = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0; + a = a + c$1; + d = d + r; + this.tip.setAttribute("style", "top: ".concat(a, "px; left: ").concat(d, "px")); + } + }, { + key: "hide", + value: function hide() { + c(this.tip, { + "fv-plugins-tooltip--hide": true + }); + } + }]); + + return i; + }(t$4); + + var t = /*#__PURE__*/function (_e) { + _inherits(t, _e); + + var _super = _createSuper(t); + + function t(e) { + var _this; + + _classCallCheck(this, t); + + _this = _super.call(this, e); + _this.handlers = []; + _this.timers = new Map(); + + var _t = document.createElement("div"); + + _this.defaultEvent = !("oninput" in _t) ? "keyup" : "input"; + _this.opts = Object.assign({}, { + delay: 0, + event: _this.defaultEvent, + threshold: 0 + }, e); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(t, [{ + key: "install", + value: function install() { + this.core.on("core.field.added", this.fieldAddedHandler).on("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.handlers.forEach(function (e) { + return e.element.removeEventListener(e.event, e.handler); + }); + this.handlers = []; + this.timers.forEach(function (e) { + return window.clearTimeout(e); + }); + this.timers.clear(); + this.core.off("core.field.added", this.fieldAddedHandler).off("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "prepareHandler", + value: function prepareHandler(e, _t2) { + var _this2 = this; + + _t2.forEach(function (_t3) { + var i = []; + + if (!!_this2.opts.event && _this2.opts.event[e] === false) { + i = []; + } else if (!!_this2.opts.event && !!_this2.opts.event[e]) { + i = _this2.opts.event[e].split(" "); + } else if ("string" === typeof _this2.opts.event && _this2.opts.event !== _this2.defaultEvent) { + i = _this2.opts.event.split(" "); + } else { + var _e2 = _t3.getAttribute("type"); + + var s = _t3.tagName.toLowerCase(); + + var n = "radio" === _e2 || "checkbox" === _e2 || "file" === _e2 || "select" === s ? "change" : _this2.ieVersion >= 10 && _t3.getAttribute("placeholder") ? "keyup" : _this2.defaultEvent; + i = [n]; + } + + i.forEach(function (i) { + var s = function s(i) { + return _this2.handleEvent(i, e, _t3); + }; + + _this2.handlers.push({ + element: _t3, + event: i, + field: e, + handler: s + }); + + _t3.addEventListener(i, s); + }); + }); + } + }, { + key: "handleEvent", + value: function handleEvent(e, _t4, i) { + var _this3 = this; + + if (this.exceedThreshold(_t4, i) && this.core.executeFilter("plugins-trigger-should-validate", true, [_t4, i])) { + var s = function s() { + return _this3.core.validateElement(_t4, i).then(function (s) { + _this3.core.emit("plugins.trigger.executed", { + element: i, + event: e, + field: _t4 + }); + }); + }; + + var n = this.opts.delay[_t4] || this.opts.delay; + + if (n === 0) { + s(); + } else { + var _e3 = this.timers.get(i); + + if (_e3) { + window.clearTimeout(_e3); + } + + this.timers.set(i, window.setTimeout(s, n * 1e3)); + } + } + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + this.handlers.filter(function (_t5) { + return _t5.field === e.field; + }).forEach(function (e) { + return e.element.removeEventListener(e.event, e.handler); + }); + this.prepareHandler(e.field, e.elements); + } + }, { + key: "onFieldRemoved", + value: function onFieldRemoved(e) { + this.handlers.filter(function (_t6) { + return _t6.field === e.field && e.elements.indexOf(_t6.element) >= 0; + }).forEach(function (e) { + return e.element.removeEventListener(e.event, e.handler); + }); + } + }, { + key: "exceedThreshold", + value: function exceedThreshold(e, _t7) { + var i = this.opts.threshold[e] === 0 || this.opts.threshold === 0 ? false : this.opts.threshold[e] || this.opts.threshold; + + if (!i) { + return true; + } + + var s = _t7.getAttribute("type"); + + if (["button", "checkbox", "file", "hidden", "image", "radio", "reset", "submit"].indexOf(s) !== -1) { + return true; + } + + var n = this.core.getElementValue(e, _t7); + return n.length >= i; + } + }]); + + return t; + }(t$4); + + var index$1 = { + Alias: e$4, + Aria: i$3, + Declarative: t$3, + DefaultSubmit: o, + Dependency: e$3, + Excluded: e$2, + FieldStatus: t$2, + Framework: l, + Icon: i$2, + Message: s$1, + Sequence: i$1, + SubmitButton: e, + Tooltip: i, + Trigger: t + }; + + function s(s, t) { + return s.classList ? s.classList.contains(t) : new RegExp("(^| )".concat(t, "( |$)"), "gi").test(s.className); + } + + var index = { + call: t$c, + classSet: c, + closest: t$1, + fetch: e$6, + format: r$2, + hasClass: s, + isValidDate: t$9 + }; + + var p = {}; + + exports.Plugin = t$4; + exports.algorithms = index$3; + exports.filters = index$2; + exports.formValidation = r; + exports.locales = p; + exports.plugins = index$1; + exports.utils = index; + exports.validators = s$3; + + Object.defineProperty(exports, '__esModule', { value: true }); + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.min.js b/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.min.js new file mode 100644 index 0000000..3163eb0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/FormValidation.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports):typeof define==="function"&&define.amd?define(["exports"],factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,factory(global.FormValidation={}))})(this,(function(exports){"use strict";function t$i(t){var e=t.length;var l=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]];var n=0;var r=0;while(e--){r+=l[n][parseInt(t.charAt(e),10)];n=1-n}return r%10===0&&r>0}function t$h(t){var e=t.length;var n=5;for(var r=0;r1&&arguments[1]!==undefined?arguments[1]:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var n=t.length;var o=e.length;var l=Math.floor(o/2);for(var r=0;rarr.length)len=arr.length;for(var i=0,arr2=new Array(len);i=o.length)return{done:true};return{done:false,value:o[i++]}},e:function(e){throw e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function(){it=it.call(o)},n:function(){var step=it.next();normalCompletion=step.done;return step},e:function(e){didErr=true;err=e},f:function(){try{if(!normalCompletion&&it.return!=null)it.return()}finally{if(didErr)throw err}}}}function s$6(){return{fns:{},clear:function clear(){this.fns={}},emit:function emit(s){for(var _len=arguments.length,f=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){f[_key-1]=arguments[_key]}(this.fns[s]||[]).map((function(s){return s.apply(s,f)}))},off:function off(s,f){if(this.fns[s]){var n=this.fns[s].indexOf(f);if(n>=0){this.fns[s].splice(n,1)}}},on:function on(s,f){(this.fns[s]=this.fns[s]||[]).push(f)}}}function t$e(){return{filters:{},add:function add(t,e){(this.filters[t]=this.filters[t]||[]).push(e)},clear:function clear(){this.filters={}},execute:function execute(t,e,i){if(!this.filters[t]||!this.filters[t].length){return e}var s=e;var r=this.filters[t];var l=r.length;for(var _t=0;_t=0?_e.options.item(_t).value:""}if(c==="input"){if("radio"===o||"checkbox"===o){var _e2=n.filter((function(e){return e.checked})).length;return _e2===0?"":_e2+""}else{return r.value}}return""}function r$2(r,e){var t=Array.isArray(e)?e:[e];var a=r;t.forEach((function(r){a=a.replace("%s",r)}));return a}function s$5(){var s=function s(e){return parseFloat("".concat(e).replace(",","."))};return{validate:function validate(a){var t=a.value;if(t===""){return{valid:true}}var n=Object.assign({},{inclusive:true,message:""},a.options);var l=s(n.min);var o=s(n.max);return n.inclusive?{message:r$2(a.l10n?n.message||a.l10n.between["default"]:n.message,["".concat(l),"".concat(o)]),valid:parseFloat(t)>=l&&parseFloat(t)<=o}:{message:r$2(a.l10n?n.message||a.l10n.between.notInclusive:n.message,["".concat(l),"".concat(o)]),valid:parseFloat(t)>l&&parseFloat(t)parseInt(n,10));switch(true){case!!s&&!!n:a=r$2(t.l10n?t.l10n.choice.between:t.options.message,[s,n]);break;case!!s:a=r$2(t.l10n?t.l10n.choice.more:t.options.message,s);break;case!!n:a=r$2(t.l10n?t.l10n.choice.less:t.options.message,n);break}return{message:a,valid:l}}}}var t$a={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DANKORT:{length:[16],prefix:["5019"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},ELO:{length:[16],prefix:["4011","4312","4389","4514","4573","4576","5041","5066","5067","509","6277","6362","6363","650","6516","6550"]},FORBRUGSFORENINGEN:{length:[16],prefix:["600722"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","5868","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]},VISA_ELECTRON:{length:[16],prefix:["4026","417500","4405","4508","4844","4913","4917"]}};function l$2(){return{validate:function validate(l){if(l.value===""){return{meta:{type:null},valid:true}}if(/[^0-9-\s]+/.test(l.value)){return{meta:{type:null},valid:false}}var r=l.value.replace(/\D/g,"");if(!t$i(r)){return{meta:{type:null},valid:false}}for(var _i=0,_Object$keys=Object.keys(t$a);_i<_Object$keys.length;_i++){var _e=_Object$keys[_i];for(var n in t$a[_e].prefix){if(l.value.substr(0,t$a[_e].prefix[n].length)===t$a[_e].prefix[n]&&t$a[_e].length.indexOf(r.length)!==-1){return{meta:{type:_e},valid:true}}}}return{meta:{type:null},valid:false}}}}function t$9(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)){return false}if(t<1e3||t>9999||e<=0||e>12){return false}var s=[31,t%400===0||t%100!==0&&t%4===0?29:28,31,30,31,30,31,31,30,31,30,31];if(n<=0||n>s[e-1]){return false}if(r===true){var _r=new Date;var _s=_r.getFullYear();var a=_r.getMonth();var u=_r.getDate();return t<_s||t===_s&&e-11){var _t=o[1].split(":");c.setHours(_t.length>0?parseInt(_t[0],10):0);c.setMinutes(_t.length>1?parseInt(_t[1],10):0);c.setSeconds(_t.length>2?parseInt(_t[2],10):0)}return c};var s=function s(t,e){var n=e.replace(/Y/g,"y").replace(/M/g,"m").replace(/D/g,"d").replace(/:m/g,":M").replace(/:mm/g,":MM").replace(/:S/,":s").replace(/:SS/,":ss");var s=t.getDate();var a=s<10?"0".concat(s):s;var l=t.getMonth()+1;var o=l<10?"0".concat(l):l;var r="".concat(t.getFullYear()).substr(2);var c=t.getFullYear();var i=t.getHours()%12||12;var g=i<10?"0".concat(i):i;var u=t.getHours();var m=u<10?"0".concat(u):u;var d=t.getMinutes();var f=d<10?"0".concat(d):d;var p=t.getSeconds();var h=p<10?"0".concat(p):p;var $={H:"".concat(u),HH:"".concat(m),M:"".concat(d),MM:"".concat(f),d:"".concat(s),dd:"".concat(a),h:"".concat(i),hh:"".concat(g),m:"".concat(l),mm:"".concat(o),s:"".concat(p),ss:"".concat(h),yy:"".concat(r),yyyy:"".concat(c)};return n.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMs])\1?|"[^"]*"|'[^']*'/g,(function(t){return $[t]?$[t]:t.slice(1,t.length-1)}))};return{validate:function validate(a){if(a.value===""){return{meta:{date:null},valid:true}}var l=Object.assign({},{format:a.element&&a.element.getAttribute("type")==="date"?"YYYY-MM-DD":"MM/DD/YYYY",message:""},a.options);var o=a.l10n?a.l10n.date["default"]:l.message;var r={message:"".concat(o),meta:{date:null},valid:false};var c=l.format.split(" ");var i=c.length>1?c[1]:null;var g=c.length>2?c[2]:null;var u=a.value.split(" ");var m=u[0];var d=u.length>1?u[1]:null;if(c.length!==u.length){return r}var f=l.separator||(m.indexOf("/")!==-1?"/":m.indexOf("-")!==-1?"-":m.indexOf(".")!==-1?".":"/");if(f===null||m.indexOf(f)===-1){return r}var p=m.split(f);var h=c[0].split(f);if(p.length!==h.length){return r}var $=p[h.indexOf("YYYY")];var M=p[h.indexOf("MM")];var Y=p[h.indexOf("DD")];if(!/^\d+$/.test($)||!/^\d+$/.test(M)||!/^\d+$/.test(Y)||$.length>4||M.length>2||Y.length>2){return r}var D=parseInt($,10);var x=parseInt(M,10);var y=parseInt(Y,10);if(!t$9(D,x,y)){return r}var I=new Date(D,x-1,y);if(i){var _t2=d.split(":");if(i.split(":").length!==_t2.length){return r}var _e=_t2.length>0?_t2[0].length<=2&&/^\d+$/.test(_t2[0])?parseInt(_t2[0],10):-1:0;var _n2=_t2.length>1?_t2[1].length<=2&&/^\d+$/.test(_t2[1])?parseInt(_t2[1],10):-1:0;var _s=_t2.length>2?_t2[2].length<=2&&/^\d+$/.test(_t2[2])?parseInt(_t2[2],10):-1:0;if(_e===-1||_n2===-1||_s===-1){return r}if(_s<0||_s>60){return r}if(_e<0||_e>=24||g&&_e>12){return r}if(_n2<0||_n2>59){return r}I.setHours(_e);I.setMinutes(_n2);I.setSeconds(_s)}var O=typeof l.min==="function"?l.min():l.min;var v=O instanceof Date?O:O?n(O,h,f):I;var H=typeof l.max==="function"?l.max():l.max;var T=H instanceof Date?H:H?n(H,h,f):I;var S=O instanceof Date?s(v,l.format):O;var b=H instanceof Date?s(T,l.format):H;switch(true){case!!S&&!b:return{message:r$2(a.l10n?a.l10n.date.min:o,S),meta:{date:I},valid:I.getTime()>=v.getTime()};case!!b&&!S:return{message:r$2(a.l10n?a.l10n.date.max:o,b),meta:{date:I},valid:I.getTime()<=T.getTime()};case!!b&&!!S:return{message:r$2(a.l10n?a.l10n.date.range:o,[S,b]),meta:{date:I},valid:I.getTime()<=T.getTime()&&I.getTime()>=v.getTime()};default:return{message:"".concat(o),meta:{date:I},valid:true}}}}}function o$2(){return{validate:function validate(o){var t="function"===typeof o.options.compare?o.options.compare.call(this):o.options.compare;return{valid:t===""||o.value!==t}}}}function e$9(){return{validate:function validate(e){return{valid:e.value===""||/^\d+$/.test(e.value)}}}}function t$8(){var t=function t(_t3,e){var s=_t3.split(/"/);var l=s.length;var n=[];var r="";for(var _t=0;_t()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;var n=s.multiple===true||"".concat(s.multiple)==="true";if(n){var _n=s.separator||/[,;]/;var r=t(e.value,_n);var a=r.length;for(var _t4=0;_t4parseInt("".concat(e.options.maxFiles),10)){return{meta:{error:"INVALID_MAX_FILES"},valid:false}}if(e.options.minFiles&&oparseInt("".concat(e.options.maxSize),10)){return{meta:Object.assign({},{error:"INVALID_MAX_SIZE"},r),valid:false}}if(i&&i.indexOf(t.toLowerCase())===-1){return{meta:Object.assign({},{error:"INVALID_EXTENSION"},r),valid:false}}if(_n[l].type&&s&&s.indexOf(_n[l].type.toLowerCase())===-1){return{meta:Object.assign({},{error:"INVALID_TYPE"},r),valid:false}}}if(e.options.maxTotalSize&&a>parseInt("".concat(e.options.maxTotalSize),10)){return{meta:Object.assign({},{error:"INVALID_MAX_TOTAL_SIZE",totalSize:a},r),valid:false}}if(e.options.minTotalSize&&a=t}:{message:r$2(a.l10n?s.message||a.l10n.greaterThan.notInclusive:s.message,"".concat(t)),valid:parseFloat(a.value)>t}}}}function o$1(){return{validate:function validate(o){var t="function"===typeof o.options.compare?o.options.compare.call(this):o.options.compare;return{valid:t===""||o.value===t}}}}function a$3(){return{validate:function validate(a){if(a.value===""){return{valid:true}}var e=Object.assign({},{decimalSeparator:".",thousandsSeparator:""},a.options);var t=e.decimalSeparator==="."?"\\.":e.decimalSeparator;var r=e.thousandsSeparator==="."?"\\.":e.thousandsSeparator;var o=new RegExp("^-?[0-9]{1,3}(".concat(r,"[0-9]{3})*(").concat(t,"[0-9]+)?$"));var n=new RegExp(r,"g");var s="".concat(a.value);if(!o.test(s)){return{valid:false}}if(r){s=s.replace(n,"")}if(t){s=s.replace(t,".")}var i=parseFloat(s);return{valid:!isNaN(i)&&isFinite(i)&&Math.floor(i)===i}}}}function d(){return{validate:function validate(d){if(d.value===""){return{valid:true}}var a=Object.assign({},{ipv4:true,ipv6:true},d.options);var e=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/([0-9]|[1-2][0-9]|3[0-2]))?$/;var s=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/(\d|\d\d|1[0-1]\d|12[0-8]))?$/;switch(true){case a.ipv4&&!a.ipv6:return{message:d.l10n?a.message||d.l10n.ip.ipv4:a.message,valid:e.test(d.value)};case!a.ipv4&&a.ipv6:return{message:d.l10n?a.message||d.l10n.ip.ipv6:a.message,valid:s.test(d.value)};case a.ipv4&&a.ipv6:default:return{message:d.l10n?a.message||d.l10n.ip["default"]:a.message,valid:e.test(d.value)||s.test(d.value)}}}}}function s$4(){return{validate:function validate(s){if(s.value===""){return{valid:true}}var a=Object.assign({},{inclusive:true,message:""},s.options);var l=parseFloat("".concat(a.max).replace(",","."));return a.inclusive?{message:r$2(s.l10n?a.message||s.l10n.lessThan["default"]:a.message,"".concat(l)),valid:parseFloat(s.value)<=l}:{message:r$2(s.l10n?a.message||s.l10n.lessThan.notInclusive:a.message,"".concat(l)),valid:parseFloat(s.value)=0;s--){var n=e.charCodeAt(s);if(n>127&&n<=2047){t++}else if(n>2047&&n<=65535){t+=2}if(n>=56320&&n<=57343){s--}}return"".concat(t)};return{validate:function validate(s){var n=Object.assign({},{message:"",trim:false,utf8Bytes:false},s.options);var a=n.trim===true||"".concat(n.trim)==="true"?s.value.trim():s.value;if(a===""){return{valid:true}}var r=n.min?"".concat(n.min):"";var l=n.max?"".concat(n.max):"";var i=n.utf8Bytes?t(a):a.length;var g=true;var m=s.l10n?n.message||s.l10n.stringLength["default"]:n.message;if(r&&iparseInt(l,10)){g=false}switch(true){case!!r&&!!l:m=r$2(s.l10n?n.message||s.l10n.stringLength.between:n.message,[r,l]);break;case!!r:m=r$2(s.l10n?n.message||s.l10n.stringLength.more:n.message,"".concat(parseInt(r,10)));break;case!!l:m=r$2(s.l10n?n.message||s.l10n.stringLength.less:n.message,"".concat(parseInt(l,10)));break}return{message:m,valid:g}}}}function t$5(){var t={allowEmptyProtocol:false,allowLocal:false,protocol:"http, https, ftp"};return{validate:function validate(o){if(o.value===""){return{valid:true}}var a=Object.assign({},t,o.options);var l=a.allowLocal===true||"".concat(a.allowLocal)==="true";var f=a.allowEmptyProtocol===true||"".concat(a.allowEmptyProtocol)==="true";var u=a.protocol.split(",").join("|").replace(/\s/g,"");var e=new RegExp("^"+"(?:(?:"+u+")://)"+(f?"?":"")+"(?:\\S+(?::\\S*)?@)?"+"(?:"+(l?"":"(?!(?:10|127)(?:\\.\\d{1,3}){3})"+"(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})"+"(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})")+"(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])"+"(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}"+"(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))"+"|"+"(?:(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9]+)"+"(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9])*"+"(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))"+(l?"?":"")+")"+"(?::\\d{2,5})?"+"(?:/[^\\s]*)?$","i");return{valid:e.test(o.value)}}}}var s$3={between:s$5,blank:t$d,callback:o$3,choice:t$b,creditCard:l$2,date:n,different:o$2,digits:e$9,emailAddress:t$8,file:e$8,greaterThan:a$4,identical:o$1,integer:a$3,ip:d,lessThan:s$4,notEmpty:t$7,numeric:a$2,promise:r$1,regexp:e$7,remote:a$1,stringCase:e$5,stringLength:t$6,uri:t$5};var l$1=function(){function l(i,s){_classCallCheck(this,l);this.elements={};this.ee=s$6();this.filter=t$e();this.plugins={};this.results=new Map;this.validators={};this.form=i;this.fields=s}_createClass(l,[{key:"on",value:function on(e,t){this.ee.on(e,t);return this}},{key:"off",value:function off(e,t){this.ee.off(e,t);return this}},{key:"emit",value:function emit(e){var _this$ee;for(var _len=arguments.length,t=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){t[_key-1]=arguments[_key]}(_this$ee=this.ee).emit.apply(_this$ee,[e].concat(t));return this}},{key:"registerPlugin",value:function registerPlugin(e,t){if(this.plugins[e]){throw new Error("The plguin ".concat(e," is registered"))}t.setCore(this);t.install();this.plugins[e]=t;return this}},{key:"deregisterPlugin",value:function deregisterPlugin(e){var t=this.plugins[e];if(t){t.uninstall()}delete this.plugins[e];return this}},{key:"registerValidator",value:function registerValidator(e,t){if(this.validators[e]){throw new Error("The validator ".concat(e," is registered"))}this.validators[e]=t;return this}},{key:"registerFilter",value:function registerFilter(e,t){this.filter.add(e,t);return this}},{key:"deregisterFilter",value:function deregisterFilter(e,t){this.filter.remove(e,t);return this}},{key:"executeFilter",value:function executeFilter(e,t,i){return this.filter.execute(e,t,i)}},{key:"addField",value:function addField(e,t){var i=Object.assign({},{selector:"",validators:{}},t);this.fields[e]=this.fields[e]?{selector:i.selector||this.fields[e].selector,validators:Object.assign({},this.fields[e].validators,i.validators)}:i;this.elements[e]=this.queryElements(e);this.emit("core.field.added",{elements:this.elements[e],field:e,options:this.fields[e]});return this}},{key:"removeField",value:function removeField(e){if(!this.fields[e]){throw new Error("The field ".concat(e," validators are not defined. Please ensure the field is added first"))}var t=this.elements[e];var i=this.fields[e];delete this.elements[e];delete this.fields[e];this.emit("core.field.removed",{elements:t,field:e,options:i});return this}},{key:"validate",value:function validate(){var _this=this;this.emit("core.form.validating",{formValidation:this});return this.filter.execute("validate-pre",Promise.resolve(),[]).then((function(){return Promise.all(Object.keys(_this.fields).map((function(e){return _this.validateField(e)}))).then((function(e){switch(true){case e.indexOf("Invalid")!==-1:_this.emit("core.form.invalid",{formValidation:_this});return Promise.resolve("Invalid");case e.indexOf("NotValidated")!==-1:_this.emit("core.form.notvalidated",{formValidation:_this});return Promise.resolve("NotValidated");default:_this.emit("core.form.valid",{formValidation:_this});return Promise.resolve("Valid")}}))}))}},{key:"validateField",value:function validateField(e){var _this2=this;var t=this.results.get(e);if(t==="Valid"||t==="Invalid"){return Promise.resolve(t)}this.emit("core.field.validating",e);var i=this.elements[e];if(i.length===0){this.emit("core.field.valid",e);return Promise.resolve("Valid")}var s=i[0].getAttribute("type");if("radio"===s||"checkbox"===s||i.length===1){return this.validateElement(e,i[0])}else{return Promise.all(i.map((function(t){return _this2.validateElement(e,t)}))).then((function(t){switch(true){case t.indexOf("Invalid")!==-1:_this2.emit("core.field.invalid",e);_this2.results.set(e,"Invalid");return Promise.resolve("Invalid");case t.indexOf("NotValidated")!==-1:_this2.emit("core.field.notvalidated",e);_this2.results["delete"](e);return Promise.resolve("NotValidated");default:_this2.emit("core.field.valid",e);_this2.results.set(e,"Valid");return Promise.resolve("Valid")}}))}}},{key:"validateElement",value:function validateElement(e,t){var _this3=this;this.results["delete"](e);var i=this.elements[e];var s=this.filter.execute("element-ignored",false,[e,t,i]);if(s){this.emit("core.element.ignored",{element:t,elements:i,field:e});return Promise.resolve("Ignored")}var _l=this.fields[e].validators;this.emit("core.element.validating",{element:t,elements:i,field:e});var r=Object.keys(_l).map((function(i){return function(){return _this3.executeValidator(e,t,i,_l[i])}}));return this.waterfall(r).then((function(s){var _l2=s.indexOf("Invalid")===-1;_this3.emit("core.element.validated",{element:t,elements:i,field:e,valid:_l2});var r=t.getAttribute("type");if("radio"===r||"checkbox"===r||i.length===1){_this3.emit(_l2?"core.field.valid":"core.field.invalid",e)}return Promise.resolve(_l2?"Valid":"Invalid")}))["catch"]((function(s){_this3.emit("core.element.notvalidated",{element:t,elements:i,field:e});return Promise.resolve(s)}))}},{key:"executeValidator",value:function executeValidator(e,t,i,s){var _this4=this;var _l3=this.elements[e];var r=this.filter.execute("validator-name",i,[i,e]);s.message=this.filter.execute("validator-message",s.message,[this.locale,e,r]);if(!this.validators[r]||s.enabled===false){this.emit("core.validator.validated",{element:t,elements:_l3,field:e,result:this.normalizeResult(e,r,{valid:true}),validator:r});return Promise.resolve("Valid")}var a=this.validators[r];var d=this.getElementValue(e,t,r);var o=this.filter.execute("field-should-validate",true,[e,t,d,i]);if(!o){this.emit("core.validator.notvalidated",{element:t,elements:_l3,field:e,validator:i});return Promise.resolve("NotValidated")}this.emit("core.validator.validating",{element:t,elements:_l3,field:e,validator:i});var n=a().validate({element:t,elements:_l3,field:e,l10n:this.localization,options:s,value:d});var h="function"===typeof n["then"];if(h){return n.then((function(s){var r=_this4.normalizeResult(e,i,s);_this4.emit("core.validator.validated",{element:t,elements:_l3,field:e,result:r,validator:i});return r.valid?"Valid":"Invalid"}))}else{var _s=this.normalizeResult(e,i,n);this.emit("core.validator.validated",{element:t,elements:_l3,field:e,result:_s,validator:i});return Promise.resolve(_s.valid?"Valid":"Invalid")}}},{key:"getElementValue",value:function getElementValue(e,t,s){var _l4=e$a(this.form,e,t,this.elements[e]);return this.filter.execute("field-value",_l4,[_l4,e,t,s])}},{key:"getElements",value:function getElements(e){return this.elements[e]}},{key:"getFields",value:function getFields(){return this.fields}},{key:"getFormElement",value:function getFormElement(){return this.form}},{key:"getLocale",value:function getLocale(){return this.locale}},{key:"getPlugin",value:function getPlugin(e){return this.plugins[e]}},{key:"updateFieldStatus",value:function updateFieldStatus(e,t,i){var _this5=this;var s=this.elements[e];var _l5=s[0].getAttribute("type");var r="radio"===_l5||"checkbox"===_l5?[s[0]]:s;r.forEach((function(s){return _this5.updateElementStatus(e,s,t,i)}));if(!i){switch(t){case"NotValidated":this.emit("core.field.notvalidated",e);this.results["delete"](e);break;case"Validating":this.emit("core.field.validating",e);this.results["delete"](e);break;case"Valid":this.emit("core.field.valid",e);this.results.set(e,"Valid");break;case"Invalid":this.emit("core.field.invalid",e);this.results.set(e,"Invalid");break}}return this}},{key:"updateElementStatus",value:function updateElementStatus(e,t,i,s){var _this6=this;var _l6=this.elements[e];var r=this.fields[e].validators;var a=s?[s]:Object.keys(r);switch(i){case"NotValidated":a.forEach((function(i){return _this6.emit("core.validator.notvalidated",{element:t,elements:_l6,field:e,validator:i})}));this.emit("core.element.notvalidated",{element:t,elements:_l6,field:e});break;case"Validating":a.forEach((function(i){return _this6.emit("core.validator.validating",{element:t,elements:_l6,field:e,validator:i})}));this.emit("core.element.validating",{element:t,elements:_l6,field:e});break;case"Valid":a.forEach((function(i){return _this6.emit("core.validator.validated",{element:t,elements:_l6,field:e,result:{message:r[i].message,valid:true},validator:i})}));this.emit("core.element.validated",{element:t,elements:_l6,field:e,valid:true});break;case"Invalid":a.forEach((function(i){return _this6.emit("core.validator.validated",{element:t,elements:_l6,field:e,result:{message:r[i].message,valid:false},validator:i})}));this.emit("core.element.validated",{element:t,elements:_l6,field:e,valid:false});break}return this}},{key:"resetForm",value:function resetForm(e){var _this7=this;Object.keys(this.fields).forEach((function(t){return _this7.resetField(t,e)}));this.emit("core.form.reset",{formValidation:this,reset:e});return this}},{key:"resetField",value:function resetField(e,t){if(t){var _t=this.elements[e];var _i=_t[0].getAttribute("type");_t.forEach((function(e){if("radio"===_i||"checkbox"===_i){e.removeAttribute("selected");e.removeAttribute("checked");e.checked=false}else{e.setAttribute("value","");if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){e.value=""}}}))}this.updateFieldStatus(e,"NotValidated");this.emit("core.field.reset",{field:e,reset:t});return this}},{key:"revalidateField",value:function revalidateField(e){this.updateFieldStatus(e,"NotValidated");return this.validateField(e)}},{key:"disableValidator",value:function disableValidator(e,t){return this.toggleValidator(false,e,t)}},{key:"enableValidator",value:function enableValidator(e,t){return this.toggleValidator(true,e,t)}},{key:"updateValidatorOption",value:function updateValidatorOption(e,t,i,s){if(this.fields[e]&&this.fields[e].validators&&this.fields[e].validators[t]){this.fields[e].validators[t][i]=s}return this}},{key:"setFieldOptions",value:function setFieldOptions(e,t){this.fields[e]=t;return this}},{key:"destroy",value:function destroy(){var _this8=this;Object.keys(this.plugins).forEach((function(e){return _this8.plugins[e].uninstall()}));this.ee.clear();this.filter.clear();this.results.clear();this.plugins={};return this}},{key:"setLocale",value:function setLocale(e,t){this.locale=e;this.localization=t;return this}},{key:"waterfall",value:function waterfall(e){return e.reduce((function(e,t){return e.then((function(e){return t().then((function(t){e.push(t);return e}))}))}),Promise.resolve([]))}},{key:"queryElements",value:function queryElements(e){var t=this.fields[e].selector?"#"===this.fields[e].selector.charAt(0)?'[id="'.concat(this.fields[e].selector.substring(1),'"]'):this.fields[e].selector:'[name="'.concat(e,'"]');return[].slice.call(this.form.querySelectorAll(t))}},{key:"normalizeResult",value:function normalizeResult(e,t,i){var s=this.fields[e].validators[t];return Object.assign({},i,{message:i.message||(s?s.message:"")||(this.localization&&this.localization[t]&&this.localization[t]["default"]?this.localization[t]["default"]:"")||"The field ".concat(e," is not valid")})}},{key:"toggleValidator",value:function toggleValidator(e,t,i){var _this9=this;var s=this.fields[t].validators;if(i&&s&&s[i]){this.fields[t].validators[i].enabled=e}else if(!i){Object.keys(s).forEach((function(i){return _this9.fields[t].validators[i].enabled=e}))}return this.updateFieldStatus(t,"NotValidated",i)}}]);return l}();function r(e,t){var i=Object.assign({},{fields:{},locale:"en_US",plugins:{},init:function init(e){}},t);var r=new l$1(e,i.fields);r.setLocale(i.locale,i.localization);Object.keys(i.plugins).forEach((function(e){return r.registerPlugin(e,i.plugins[e])}));Object.keys(s$3).forEach((function(e){return r.registerValidator(e,s$3[e])}));i.init(r);Object.keys(i.fields).forEach((function(e){return r.addField(e,i.fields[e])}));return r}var t$4=function(){function t(_t){_classCallCheck(this,t);this.opts=_t}_createClass(t,[{key:"setCore",value:function setCore(_t2){this.core=_t2;return this}},{key:"install",value:function install(){}},{key:"uninstall",value:function uninstall(){}}]);return t}();var index$2={getFieldValue:e$a};var e$4=function(_t){_inherits(e,_t);var _super=_createSuper(e);function e(t){var _this;_classCallCheck(this,e);_this=_super.call(this,t);_this.opts=t||{};_this.validatorNameFilter=_this.getValidatorName.bind(_assertThisInitialized(_this));return _this}_createClass(e,[{key:"install",value:function install(){this.core.registerFilter("validator-name",this.validatorNameFilter)}},{key:"uninstall",value:function uninstall(){this.core.deregisterFilter("validator-name",this.validatorNameFilter)}},{key:"getValidatorName",value:function getValidatorName(t,_e){return this.opts[t]||t}}]);return e}(t$4);var i$3=function(_e){_inherits(i,_e);var _super=_createSuper(i);function i(){var _this;_classCallCheck(this,i);_this=_super.call(this,{});_this.elementValidatedHandler=_this.onElementValidated.bind(_assertThisInitialized(_this));_this.fieldValidHandler=_this.onFieldValid.bind(_assertThisInitialized(_this));_this.fieldInvalidHandler=_this.onFieldInvalid.bind(_assertThisInitialized(_this));_this.messageDisplayedHandler=_this.onMessageDisplayed.bind(_assertThisInitialized(_this));return _this}_createClass(i,[{key:"install",value:function install(){this.core.on("core.field.valid",this.fieldValidHandler).on("core.field.invalid",this.fieldInvalidHandler).on("core.element.validated",this.elementValidatedHandler).on("plugins.message.displayed",this.messageDisplayedHandler)}},{key:"uninstall",value:function uninstall(){this.core.off("core.field.valid",this.fieldValidHandler).off("core.field.invalid",this.fieldInvalidHandler).off("core.element.validated",this.elementValidatedHandler).off("plugins.message.displayed",this.messageDisplayedHandler)}},{key:"onElementValidated",value:function onElementValidated(e){if(e.valid){e.element.setAttribute("aria-invalid","false");e.element.removeAttribute("aria-describedby")}}},{key:"onFieldValid",value:function onFieldValid(e){var _i=this.core.getElements(e);if(_i){_i.forEach((function(e){e.setAttribute("aria-invalid","false");e.removeAttribute("aria-describedby")}))}}},{key:"onFieldInvalid",value:function onFieldInvalid(e){var _i2=this.core.getElements(e);if(_i2){_i2.forEach((function(e){return e.setAttribute("aria-invalid","true")}))}}},{key:"onMessageDisplayed",value:function onMessageDisplayed(e){e.messageElement.setAttribute("role","alert");e.messageElement.setAttribute("aria-hidden","false");var _i3=this.core.getElements(e.field);var t=_i3.indexOf(e.element);var l="js-fv-".concat(e.field,"-").concat(t,"-").concat(Date.now(),"-message");e.messageElement.setAttribute("id",l);e.element.setAttribute("aria-describedby",l);var a=e.element.getAttribute("type");if("radio"===a||"checkbox"===a){_i3.forEach((function(e){return e.setAttribute("aria-describedby",l)}))}}}]);return i}(t$4);var t$3=function(_e){_inherits(t,_e);var _super=_createSuper(t);function t(e){var _this;_classCallCheck(this,t);_this=_super.call(this,e);_this.addedFields=new Map;_this.opts=Object.assign({},{html5Input:false,pluginPrefix:"data-fvp-",prefix:"data-fv-"},e);_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));_this.fieldRemovedHandler=_this.onFieldRemoved.bind(_assertThisInitialized(_this));return _this}_createClass(t,[{key:"install",value:function install(){var _this2=this;this.parsePlugins();var e=this.parseOptions();Object.keys(e).forEach((function(_t){if(!_this2.addedFields.has(_t)){_this2.addedFields.set(_t,true)}_this2.core.addField(_t,e[_t])}));this.core.on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler)}},{key:"uninstall",value:function uninstall(){this.addedFields.clear();this.core.off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler)}},{key:"onFieldAdded",value:function onFieldAdded(e){var _this3=this;var _t2=e.elements;if(!_t2||_t2.length===0||this.addedFields.has(e.field)){return}this.addedFields.set(e.field,true);_t2.forEach((function(_t3){var s=_this3.parseElement(_t3);if(!_this3.isEmptyOption(s)){var _t12={selector:e.options.selector,validators:Object.assign({},e.options.validators||{},s.validators)};_this3.core.setFieldOptions(e.field,_t12)}}))}},{key:"onFieldRemoved",value:function onFieldRemoved(e){if(e.field&&this.addedFields.has(e.field)){this.addedFields["delete"](e.field)}}},{key:"parseOptions",value:function parseOptions(){var _this4=this;var e=this.opts.prefix;var _t5={};var s=this.core.getFields();var a=this.core.getFormElement();var i=[].slice.call(a.querySelectorAll("[name], [".concat(e,"field]")));i.forEach((function(s){var a=_this4.parseElement(s);if(!_this4.isEmptyOption(a)){var _i=s.getAttribute("name")||s.getAttribute("".concat(e,"field"));_t5[_i]=Object.assign({},_t5[_i],a)}}));Object.keys(_t5).forEach((function(e){Object.keys(_t5[e].validators).forEach((function(a){_t5[e].validators[a].enabled=_t5[e].validators[a].enabled||false;if(s[e]&&s[e].validators&&s[e].validators[a]){Object.assign(_t5[e].validators[a],s[e].validators[a])}}))}));return Object.assign({},s,_t5)}},{key:"createPluginInstance",value:function createPluginInstance(e,_t6){var s=e.split(".");var a=window||this;for(var _e2=0,_t13=s.length;_e2<_t13;_e2++){a=a[s[_e2]]}if(typeof a!=="function"){throw new Error("the plugin ".concat(e," doesn't exist"))}return new a(_t6)}},{key:"parsePlugins",value:function parsePlugins(){var _this5=this;var e=this.core.getFormElement();var _t8=new RegExp("^".concat(this.opts.pluginPrefix,"([a-z0-9-]+)(___)*([a-z0-9-]+)*$"));var s=e.attributes.length;var a={};for(var i=0;i=0}function t$1(t,l){var c=t;while(c){if(e$1(c,l)){break}c=c.parentElement}return c}var s$1=function(_e){_inherits(s,_e);var _super=_createSuper(s);function s(e){var _this;_classCallCheck(this,s);_this=_super.call(this,e);_this.messages=new Map;_this.defaultContainer=document.createElement("div");_this.opts=Object.assign({},{container:function container(e,t){return _this.defaultContainer}},e);_this.elementIgnoredHandler=_this.onElementIgnored.bind(_assertThisInitialized(_this));_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));_this.fieldRemovedHandler=_this.onFieldRemoved.bind(_assertThisInitialized(_this));_this.validatorValidatedHandler=_this.onValidatorValidated.bind(_assertThisInitialized(_this));_this.validatorNotValidatedHandler=_this.onValidatorNotValidated.bind(_assertThisInitialized(_this));return _this}_createClass(s,[{key:"install",value:function install(){this.core.getFormElement().appendChild(this.defaultContainer);this.core.on("core.element.ignored",this.elementIgnoredHandler).on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler).on("core.validator.validated",this.validatorValidatedHandler).on("core.validator.notvalidated",this.validatorNotValidatedHandler)}},{key:"uninstall",value:function uninstall(){this.core.getFormElement().removeChild(this.defaultContainer);this.messages.forEach((function(e){return e.parentNode.removeChild(e)}));this.messages.clear();this.core.off("core.element.ignored",this.elementIgnoredHandler).off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler).off("core.validator.validated",this.validatorValidatedHandler).off("core.validator.notvalidated",this.validatorNotValidatedHandler)}},{key:"onFieldAdded",value:function onFieldAdded(e){var _this2=this;var t=e.elements;if(t){t.forEach((function(e){var t=_this2.messages.get(e);if(t){t.parentNode.removeChild(t);_this2.messages["delete"](e)}}));this.prepareFieldContainer(e.field,t)}}},{key:"onFieldRemoved",value:function onFieldRemoved(e){var _this3=this;if(!e.elements.length||!e.field){return}var t=e.elements[0].getAttribute("type");var _s2="radio"===t||"checkbox"===t?[e.elements[0]]:e.elements;_s2.forEach((function(e){if(_this3.messages.has(e)){var _t=_this3.messages.get(e);_t.parentNode.removeChild(_t);_this3.messages["delete"](e)}}))}},{key:"prepareFieldContainer",value:function prepareFieldContainer(e,t){var _this4=this;if(t.length){var _s12=t[0].getAttribute("type");if("radio"===_s12||"checkbox"===_s12){this.prepareElementContainer(e,t[0],t)}else{t.forEach((function(_s4){return _this4.prepareElementContainer(e,_s4,t)}))}}}},{key:"prepareElementContainer",value:function prepareElementContainer(e,_s5,i){var a;if("string"===typeof this.opts.container){var _e2="#"===this.opts.container.charAt(0)?'[id="'.concat(this.opts.container.substring(1),'"]'):this.opts.container;a=this.core.getFormElement().querySelector(_e2)}else{a=this.opts.container(e,_s5)}var l=document.createElement("div");a.appendChild(l);c(l,{"fv-plugins-message-container":true});this.core.emit("plugins.message.placed",{element:_s5,elements:i,field:e,messageElement:l});this.messages.set(_s5,l)}},{key:"getMessage",value:function getMessage(e){return typeof e.message==="string"?e.message:e.message[this.core.getLocale()]}},{key:"onValidatorValidated",value:function onValidatorValidated(e){var _s6=e.elements;var i=e.element.getAttribute("type");var a=("radio"===i||"checkbox"===i)&&_s6.length>0?_s6[0]:e.element;if(this.messages.has(a)){var _s13=this.messages.get(a);var _i=_s13.querySelector('[data-field="'.concat(e.field,'"][data-validator="').concat(e.validator,'"]'));if(!_i&&!e.result.valid){var _i2=document.createElement("div");_i2.innerHTML=this.getMessage(e.result);_i2.setAttribute("data-field",e.field);_i2.setAttribute("data-validator",e.validator);if(this.opts.clazz){c(_i2,_defineProperty({},this.opts.clazz,true))}_s13.appendChild(_i2);this.core.emit("plugins.message.displayed",{element:e.element,field:e.field,message:e.result.message,messageElement:_i2,meta:e.result.meta,validator:e.validator})}else if(_i&&!e.result.valid){_i.innerHTML=this.getMessage(e.result);this.core.emit("plugins.message.displayed",{element:e.element,field:e.field,message:e.result.message,messageElement:_i,meta:e.result.meta,validator:e.validator})}else if(_i&&e.result.valid){_s13.removeChild(_i)}}}},{key:"onValidatorNotValidated",value:function onValidatorNotValidated(e){var t=e.elements;var _s8=e.element.getAttribute("type");var i="radio"===_s8||"checkbox"===_s8?t[0]:e.element;if(this.messages.has(i)){var _t3=this.messages.get(i);var _s14=_t3.querySelector('[data-field="'.concat(e.field,'"][data-validator="').concat(e.validator,'"]'));if(_s14){_t3.removeChild(_s14)}}}},{key:"onElementIgnored",value:function onElementIgnored(e){var t=e.elements;var _s10=e.element.getAttribute("type");var i="radio"===_s10||"checkbox"===_s10?t[0]:e.element;if(this.messages.has(i)){var _t4=this.messages.get(i);var _s15=[].slice.call(_t4.querySelectorAll('[data-field="'.concat(e.field,'"]')));_s15.forEach((function(e){_t4.removeChild(e)}))}}}],[{key:"getClosestContainer",value:function getClosestContainer(e,t,_s){var i=e;while(i){if(i===t){break}i=i.parentElement;if(_s.test(i.className)){break}}return i}}]);return s}(t$4);var l=function(_e){_inherits(l,_e);var _super=_createSuper(l);function l(e){var _this;_classCallCheck(this,l);_this=_super.call(this,e);_this.results=new Map;_this.containers=new Map;_this.opts=Object.assign({},{defaultMessageContainer:true,eleInvalidClass:"",eleValidClass:"",rowClasses:"",rowValidatingClass:""},e);_this.elementIgnoredHandler=_this.onElementIgnored.bind(_assertThisInitialized(_this));_this.elementValidatingHandler=_this.onElementValidating.bind(_assertThisInitialized(_this));_this.elementValidatedHandler=_this.onElementValidated.bind(_assertThisInitialized(_this));_this.elementNotValidatedHandler=_this.onElementNotValidated.bind(_assertThisInitialized(_this));_this.iconPlacedHandler=_this.onIconPlaced.bind(_assertThisInitialized(_this));_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));_this.fieldRemovedHandler=_this.onFieldRemoved.bind(_assertThisInitialized(_this));_this.messagePlacedHandler=_this.onMessagePlaced.bind(_assertThisInitialized(_this));return _this}_createClass(l,[{key:"install",value:function install(){var _t,_this2=this;c(this.core.getFormElement(),(_t={},_defineProperty(_t,this.opts.formClass,true),_defineProperty(_t,"fv-plugins-framework",true),_t));this.core.on("core.element.ignored",this.elementIgnoredHandler).on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("plugins.icon.placed",this.iconPlacedHandler).on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler);if(this.opts.defaultMessageContainer){this.core.registerPlugin("___frameworkMessage",new s$1({clazz:this.opts.messageClass,container:function container(e,t){var _l="string"===typeof _this2.opts.rowSelector?_this2.opts.rowSelector:_this2.opts.rowSelector(e,t);var a=t$1(t,_l);return s$1.getClosestContainer(t,a,_this2.opts.rowPattern)}}));this.core.on("plugins.message.placed",this.messagePlacedHandler)}}},{key:"uninstall",value:function uninstall(){var _t2;this.results.clear();this.containers.clear();c(this.core.getFormElement(),(_t2={},_defineProperty(_t2,this.opts.formClass,false),_defineProperty(_t2,"fv-plugins-framework",false),_t2));this.core.off("core.element.ignored",this.elementIgnoredHandler).off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("plugins.icon.placed",this.iconPlacedHandler).off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler);if(this.opts.defaultMessageContainer){this.core.off("plugins.message.placed",this.messagePlacedHandler)}}},{key:"onIconPlaced",value:function onIconPlaced(e){}},{key:"onMessagePlaced",value:function onMessagePlaced(e){}},{key:"onFieldAdded",value:function onFieldAdded(e){var _this3=this;var s=e.elements;if(s){s.forEach((function(e){var s=_this3.containers.get(e);if(s){var _t3;c(s,(_t3={},_defineProperty(_t3,_this3.opts.rowInvalidClass,false),_defineProperty(_t3,_this3.opts.rowValidatingClass,false),_defineProperty(_t3,_this3.opts.rowValidClass,false),_defineProperty(_t3,"fv-plugins-icon-container",false),_t3));_this3.containers["delete"](e)}}));this.prepareFieldContainer(e.field,s)}}},{key:"onFieldRemoved",value:function onFieldRemoved(e){var _this4=this;e.elements.forEach((function(e){var s=_this4.containers.get(e);if(s){var _t4;c(s,(_t4={},_defineProperty(_t4,_this4.opts.rowInvalidClass,false),_defineProperty(_t4,_this4.opts.rowValidatingClass,false),_defineProperty(_t4,_this4.opts.rowValidClass,false),_t4))}}))}},{key:"prepareFieldContainer",value:function prepareFieldContainer(e,t){var _this5=this;if(t.length){var _s=t[0].getAttribute("type");if("radio"===_s||"checkbox"===_s){this.prepareElementContainer(e,t[0])}else{t.forEach((function(t){return _this5.prepareElementContainer(e,t)}))}}}},{key:"prepareElementContainer",value:function prepareElementContainer(e,i){var _l2="string"===typeof this.opts.rowSelector?this.opts.rowSelector:this.opts.rowSelector(e,i);var a=t$1(i,_l2);if(a!==i){var _t5;c(a,(_t5={},_defineProperty(_t5,this.opts.rowClasses,true),_defineProperty(_t5,"fv-plugins-icon-container",true),_t5));this.containers.set(i,a)}}},{key:"onElementValidating",value:function onElementValidating(e){var s=e.elements;var i=e.element.getAttribute("type");var _l3="radio"===i||"checkbox"===i?s[0]:e.element;var a=this.containers.get(_l3);if(a){var _t6;c(a,(_t6={},_defineProperty(_t6,this.opts.rowInvalidClass,false),_defineProperty(_t6,this.opts.rowValidatingClass,true),_defineProperty(_t6,this.opts.rowValidClass,false),_t6))}}},{key:"onElementNotValidated",value:function onElementNotValidated(e){this.removeClasses(e.element,e.elements)}},{key:"onElementIgnored",value:function onElementIgnored(e){this.removeClasses(e.element,e.elements)}},{key:"removeClasses",value:function removeClasses(e,s){var _this6=this;var i=e.getAttribute("type");var _l4="radio"===i||"checkbox"===i?s[0]:e;s.forEach((function(e){var _t7;c(e,(_t7={},_defineProperty(_t7,_this6.opts.eleValidClass,false),_defineProperty(_t7,_this6.opts.eleInvalidClass,false),_t7))}));var a=this.containers.get(_l4);if(a){var _t8;c(a,(_t8={},_defineProperty(_t8,this.opts.rowInvalidClass,false),_defineProperty(_t8,this.opts.rowValidatingClass,false),_defineProperty(_t8,this.opts.rowValidClass,false),_t8))}}},{key:"onElementValidated",value:function onElementValidated(e){var _this7=this;var s=e.elements;var i=e.element.getAttribute("type");var _l5="radio"===i||"checkbox"===i?s[0]:e.element;s.forEach((function(s){var _t9;c(s,(_t9={},_defineProperty(_t9,_this7.opts.eleValidClass,e.valid),_defineProperty(_t9,_this7.opts.eleInvalidClass,!e.valid),_t9))}));var a=this.containers.get(_l5);if(a){if(!e.valid){var _t10;this.results.set(_l5,false);c(a,(_t10={},_defineProperty(_t10,this.opts.rowInvalidClass,true),_defineProperty(_t10,this.opts.rowValidatingClass,false),_defineProperty(_t10,this.opts.rowValidClass,false),_t10))}else{this.results["delete"](_l5);var _e2=true;this.containers.forEach((function(t,s){if(t===a&&_this7.results.get(s)===false){_e2=false}}));if(_e2){var _t11;c(a,(_t11={},_defineProperty(_t11,this.opts.rowInvalidClass,false),_defineProperty(_t11,this.opts.rowValidatingClass,false),_defineProperty(_t11,this.opts.rowValidClass,true),_t11))}}}}}]);return l}(t$4);var i$2=function(_e){_inherits(i,_e);var _super=_createSuper(i);function i(e){var _this;_classCallCheck(this,i);_this=_super.call(this,e);_this.icons=new Map;_this.opts=Object.assign({},{invalid:"fv-plugins-icon--invalid",onPlaced:function onPlaced(){},onSet:function onSet(){},valid:"fv-plugins-icon--valid",validating:"fv-plugins-icon--validating"},e);_this.elementValidatingHandler=_this.onElementValidating.bind(_assertThisInitialized(_this));_this.elementValidatedHandler=_this.onElementValidated.bind(_assertThisInitialized(_this));_this.elementNotValidatedHandler=_this.onElementNotValidated.bind(_assertThisInitialized(_this));_this.elementIgnoredHandler=_this.onElementIgnored.bind(_assertThisInitialized(_this));_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));return _this}_createClass(i,[{key:"install",value:function install(){this.core.on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("core.element.ignored",this.elementIgnoredHandler).on("core.field.added",this.fieldAddedHandler)}},{key:"uninstall",value:function uninstall(){this.icons.forEach((function(e){return e.parentNode.removeChild(e)}));this.icons.clear();this.core.off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("core.element.ignored",this.elementIgnoredHandler).off("core.field.added",this.fieldAddedHandler)}},{key:"onFieldAdded",value:function onFieldAdded(e){var _this2=this;var t=e.elements;if(t){t.forEach((function(e){var t=_this2.icons.get(e);if(t){t.parentNode.removeChild(t);_this2.icons["delete"](e)}}));this.prepareFieldIcon(e.field,t)}}},{key:"prepareFieldIcon",value:function prepareFieldIcon(e,t){var _this3=this;if(t.length){var _i8=t[0].getAttribute("type");if("radio"===_i8||"checkbox"===_i8){this.prepareElementIcon(e,t[0])}else{t.forEach((function(t){return _this3.prepareElementIcon(e,t)}))}}}},{key:"prepareElementIcon",value:function prepareElementIcon(e,_i2){var n=document.createElement("i");n.setAttribute("data-field",e);_i2.parentNode.insertBefore(n,_i2.nextSibling);c(n,{"fv-plugins-icon":true});var l={classes:{invalid:this.opts.invalid,valid:this.opts.valid,validating:this.opts.validating},element:_i2,field:e,iconElement:n};this.core.emit("plugins.icon.placed",l);this.opts.onPlaced(l);this.icons.set(_i2,n)}},{key:"onElementValidating",value:function onElementValidating(e){var _this$setClasses;var t=this.setClasses(e.field,e.element,e.elements,(_this$setClasses={},_defineProperty(_this$setClasses,this.opts.invalid,false),_defineProperty(_this$setClasses,this.opts.valid,false),_defineProperty(_this$setClasses,this.opts.validating,true),_this$setClasses));var _i3={element:e.element,field:e.field,iconElement:t,status:"Validating"};this.core.emit("plugins.icon.set",_i3);this.opts.onSet(_i3)}},{key:"onElementValidated",value:function onElementValidated(e){var _this$setClasses2;var t=this.setClasses(e.field,e.element,e.elements,(_this$setClasses2={},_defineProperty(_this$setClasses2,this.opts.invalid,!e.valid),_defineProperty(_this$setClasses2,this.opts.valid,e.valid),_defineProperty(_this$setClasses2,this.opts.validating,false),_this$setClasses2));var _i4={element:e.element,field:e.field,iconElement:t,status:e.valid?"Valid":"Invalid"};this.core.emit("plugins.icon.set",_i4);this.opts.onSet(_i4)}},{key:"onElementNotValidated",value:function onElementNotValidated(e){var _this$setClasses3;var t=this.setClasses(e.field,e.element,e.elements,(_this$setClasses3={},_defineProperty(_this$setClasses3,this.opts.invalid,false),_defineProperty(_this$setClasses3,this.opts.valid,false),_defineProperty(_this$setClasses3,this.opts.validating,false),_this$setClasses3));var _i5={element:e.element,field:e.field,iconElement:t,status:"NotValidated"};this.core.emit("plugins.icon.set",_i5);this.opts.onSet(_i5)}},{key:"onElementIgnored",value:function onElementIgnored(e){var _this$setClasses4;var t=this.setClasses(e.field,e.element,e.elements,(_this$setClasses4={},_defineProperty(_this$setClasses4,this.opts.invalid,false),_defineProperty(_this$setClasses4,this.opts.valid,false),_defineProperty(_this$setClasses4,this.opts.validating,false),_this$setClasses4));var _i6={element:e.element,field:e.field,iconElement:t,status:"Ignored"};this.core.emit("plugins.icon.set",_i6);this.opts.onSet(_i6)}},{key:"setClasses",value:function setClasses(e,_i7,n,l){var s=_i7.getAttribute("type");var d="radio"===s||"checkbox"===s?n[0]:_i7;if(this.icons.has(d)){var _e2=this.icons.get(d);c(_e2,l);return _e2}else{return null}}}]);return i}(t$4);var i$1=function(_e){_inherits(i,_e);var _super=_createSuper(i);function i(e){var _this;_classCallCheck(this,i);_this=_super.call(this,e);_this.invalidFields=new Map;_this.opts=Object.assign({},{enabled:true},e);_this.validatorHandler=_this.onValidatorValidated.bind(_assertThisInitialized(_this));_this.shouldValidateFilter=_this.shouldValidate.bind(_assertThisInitialized(_this));_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));_this.elementNotValidatedHandler=_this.onElementNotValidated.bind(_assertThisInitialized(_this));_this.elementValidatingHandler=_this.onElementValidating.bind(_assertThisInitialized(_this));return _this}_createClass(i,[{key:"install",value:function install(){this.core.on("core.validator.validated",this.validatorHandler).on("core.field.added",this.fieldAddedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("core.element.validating",this.elementValidatingHandler).registerFilter("field-should-validate",this.shouldValidateFilter)}},{key:"uninstall",value:function uninstall(){this.invalidFields.clear();this.core.off("core.validator.validated",this.validatorHandler).off("core.field.added",this.fieldAddedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("core.element.validating",this.elementValidatingHandler).deregisterFilter("field-should-validate",this.shouldValidateFilter)}},{key:"shouldValidate",value:function shouldValidate(e,_i,t,l){var d=(this.opts.enabled===true||this.opts.enabled[e]===true)&&this.invalidFields.has(_i)&&!!this.invalidFields.get(_i).length&&this.invalidFields.get(_i).indexOf(l)===-1;return!d}},{key:"onValidatorValidated",value:function onValidatorValidated(e){var _i2=this.invalidFields.has(e.element)?this.invalidFields.get(e.element):[];var t=_i2.indexOf(e.validator);if(e.result.valid&&t>=0){_i2.splice(t,1)}else if(!e.result.valid&&t===-1){_i2.push(e.validator)}this.invalidFields.set(e.element,_i2)}},{key:"onFieldAdded",value:function onFieldAdded(e){if(e.elements){this.clearInvalidFields(e.elements)}}},{key:"onElementNotValidated",value:function onElementNotValidated(e){this.clearInvalidFields(e.elements)}},{key:"onElementValidating",value:function onElementValidating(e){this.clearInvalidFields(e.elements)}},{key:"clearInvalidFields",value:function clearInvalidFields(e){var _this2=this;e.forEach((function(e){return _this2.invalidFields["delete"](e)}))}}]);return i}(t$4);var e=function(_t){_inherits(e,_t);var _super=_createSuper(e);function e(t){var _this;_classCallCheck(this,e);_this=_super.call(this,t);_this.isFormValid=false;_this.opts=Object.assign({},{aspNetButton:false,buttons:function buttons(t){return[].slice.call(t.querySelectorAll('[type="submit"]:not([formnovalidate])'))}},t);_this.submitHandler=_this.handleSubmitEvent.bind(_assertThisInitialized(_this));_this.buttonClickHandler=_this.handleClickEvent.bind(_assertThisInitialized(_this));return _this}_createClass(e,[{key:"install",value:function install(){var _this2=this;if(!(this.core.getFormElement()instanceof HTMLFormElement)){return}var t=this.core.getFormElement();this.submitButtons=this.opts.buttons(t);t.setAttribute("novalidate","novalidate");t.addEventListener("submit",this.submitHandler);this.hiddenClickedEle=document.createElement("input");this.hiddenClickedEle.setAttribute("type","hidden");t.appendChild(this.hiddenClickedEle);this.submitButtons.forEach((function(t){t.addEventListener("click",_this2.buttonClickHandler)}))}},{key:"uninstall",value:function uninstall(){var _this3=this;var t=this.core.getFormElement();if(t instanceof HTMLFormElement){t.removeEventListener("submit",this.submitHandler)}this.submitButtons.forEach((function(t){t.removeEventListener("click",_this3.buttonClickHandler)}));this.hiddenClickedEle.parentElement.removeChild(this.hiddenClickedEle)}},{key:"handleSubmitEvent",value:function handleSubmitEvent(t){this.validateForm(t)}},{key:"handleClickEvent",value:function handleClickEvent(t){var _e=t.currentTarget;if(_e instanceof HTMLElement){if(this.opts.aspNetButton&&this.isFormValid===true);else{var _e3=this.core.getFormElement();_e3.removeEventListener("submit",this.submitHandler);this.clickedButton=t.target;var i=this.clickedButton.getAttribute("name");var s=this.clickedButton.getAttribute("value");if(i&&s){this.hiddenClickedEle.setAttribute("name",i);this.hiddenClickedEle.setAttribute("value",s)}this.validateForm(t)}}}},{key:"validateForm",value:function validateForm(t){var _this4=this;t.preventDefault();this.core.validate().then((function(t){if(t==="Valid"&&_this4.opts.aspNetButton&&!_this4.isFormValid&&_this4.clickedButton){_this4.isFormValid=true;_this4.clickedButton.removeEventListener("click",_this4.buttonClickHandler);_this4.clickedButton.click()}}))}}]);return e}(t$4);var i=function(_t){_inherits(i,_t);var _super=_createSuper(i);function i(t){var _this;_classCallCheck(this,i);_this=_super.call(this,t);_this.messages=new Map;_this.opts=Object.assign({},{placement:"top",trigger:"click"},t);_this.iconPlacedHandler=_this.onIconPlaced.bind(_assertThisInitialized(_this));_this.validatorValidatedHandler=_this.onValidatorValidated.bind(_assertThisInitialized(_this));_this.elementValidatedHandler=_this.onElementValidated.bind(_assertThisInitialized(_this));_this.documentClickHandler=_this.onDocumentClicked.bind(_assertThisInitialized(_this));return _this}_createClass(i,[{key:"install",value:function install(){this.tip=document.createElement("div");c(this.tip,_defineProperty({"fv-plugins-tooltip":true},"fv-plugins-tooltip--".concat(this.opts.placement),true));document.body.appendChild(this.tip);this.core.on("plugins.icon.placed",this.iconPlacedHandler).on("core.validator.validated",this.validatorValidatedHandler).on("core.element.validated",this.elementValidatedHandler);if("click"===this.opts.trigger){document.addEventListener("click",this.documentClickHandler)}}},{key:"uninstall",value:function uninstall(){this.messages.clear();document.body.removeChild(this.tip);this.core.off("plugins.icon.placed",this.iconPlacedHandler).off("core.validator.validated",this.validatorValidatedHandler).off("core.element.validated",this.elementValidatedHandler);if("click"===this.opts.trigger){document.removeEventListener("click",this.documentClickHandler)}}},{key:"onIconPlaced",value:function onIconPlaced(t){var _this2=this;c(t.iconElement,{"fv-plugins-tooltip-icon":true});switch(this.opts.trigger){case"hover":t.iconElement.addEventListener("mouseenter",(function(e){return _this2.show(t.element,e)}));t.iconElement.addEventListener("mouseleave",(function(t){return _this2.hide()}));break;case"click":default:t.iconElement.addEventListener("click",(function(e){return _this2.show(t.element,e)}));break}}},{key:"onValidatorValidated",value:function onValidatorValidated(t){if(!t.result.valid){var _e2=t.elements;var _i4=t.element.getAttribute("type");var s="radio"===_i4||"checkbox"===_i4?_e2[0]:t.element;var o=typeof t.result.message==="string"?t.result.message:t.result.message[this.core.getLocale()];this.messages.set(s,o)}}},{key:"onElementValidated",value:function onElementValidated(t){if(t.valid){var _e3=t.elements;var _i5=t.element.getAttribute("type");var s="radio"===_i5||"checkbox"===_i5?_e3[0]:t.element;this.messages["delete"](s)}}},{key:"onDocumentClicked",value:function onDocumentClicked(t){this.hide()}},{key:"show",value:function show(t,_i3){_i3.preventDefault();_i3.stopPropagation();if(!this.messages.has(t)){return}c(this.tip,{"fv-plugins-tooltip--hide":false});this.tip.innerHTML='
      '.concat(this.messages.get(t),"
      ");var s=_i3.target;var o=s.getBoundingClientRect();var _this$tip$getBounding=this.tip.getBoundingClientRect(),l=_this$tip$getBounding.height,n=_this$tip$getBounding.width;var a=0;var d=0;switch(this.opts.placement){case"bottom":a=o.top+o.height;d=o.left+o.width/2-n/2;break;case"bottom-left":a=o.top+o.height;d=o.left;break;case"bottom-right":a=o.top+o.height;d=o.left+o.width-n;break;case"left":a=o.top+o.height/2-l/2;d=o.left-n;break;case"right":a=o.top+o.height/2-l/2;d=o.left+o.width;break;case"top-left":a=o.top-l;d=o.left;break;case"top-right":a=o.top-l;d=o.left+o.width-n;break;case"top":default:a=o.top-l;d=o.left+o.width/2-n/2;break}var c$1=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;var r=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;a=a+c$1;d=d+r;this.tip.setAttribute("style","top: ".concat(a,"px; left: ").concat(d,"px"))}},{key:"hide",value:function hide(){c(this.tip,{"fv-plugins-tooltip--hide":true})}}]);return i}(t$4);var t=function(_e){_inherits(t,_e);var _super=_createSuper(t);function t(e){var _this;_classCallCheck(this,t);_this=_super.call(this,e);_this.handlers=[];_this.timers=new Map;var _t=document.createElement("div");_this.defaultEvent=!("oninput"in _t)?"keyup":"input";_this.opts=Object.assign({},{delay:0,event:_this.defaultEvent,threshold:0},e);_this.fieldAddedHandler=_this.onFieldAdded.bind(_assertThisInitialized(_this));_this.fieldRemovedHandler=_this.onFieldRemoved.bind(_assertThisInitialized(_this));return _this}_createClass(t,[{key:"install",value:function install(){this.core.on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler)}},{key:"uninstall",value:function uninstall(){this.handlers.forEach((function(e){return e.element.removeEventListener(e.event,e.handler)}));this.handlers=[];this.timers.forEach((function(e){return window.clearTimeout(e)}));this.timers.clear();this.core.off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler)}},{key:"prepareHandler",value:function prepareHandler(e,_t2){var _this2=this;_t2.forEach((function(_t3){var i=[];if(!!_this2.opts.event&&_this2.opts.event[e]===false){i=[]}else if(!!_this2.opts.event&&!!_this2.opts.event[e]){i=_this2.opts.event[e].split(" ")}else if("string"===typeof _this2.opts.event&&_this2.opts.event!==_this2.defaultEvent){i=_this2.opts.event.split(" ")}else{var _e2=_t3.getAttribute("type");var s=_t3.tagName.toLowerCase();var n="radio"===_e2||"checkbox"===_e2||"file"===_e2||"select"===s?"change":_this2.ieVersion>=10&&_t3.getAttribute("placeholder")?"keyup":_this2.defaultEvent;i=[n]}i.forEach((function(i){var s=function s(i){return _this2.handleEvent(i,e,_t3)};_this2.handlers.push({element:_t3,event:i,field:e,handler:s});_t3.addEventListener(i,s)}))}))}},{key:"handleEvent",value:function handleEvent(e,_t4,i){var _this3=this;if(this.exceedThreshold(_t4,i)&&this.core.executeFilter("plugins-trigger-should-validate",true,[_t4,i])){var s=function s(){return _this3.core.validateElement(_t4,i).then((function(s){_this3.core.emit("plugins.trigger.executed",{element:i,event:e,field:_t4})}))};var n=this.opts.delay[_t4]||this.opts.delay;if(n===0){s()}else{var _e3=this.timers.get(i);if(_e3){window.clearTimeout(_e3)}this.timers.set(i,window.setTimeout(s,n*1e3))}}}},{key:"onFieldAdded",value:function onFieldAdded(e){this.handlers.filter((function(_t5){return _t5.field===e.field})).forEach((function(e){return e.element.removeEventListener(e.event,e.handler)}));this.prepareHandler(e.field,e.elements)}},{key:"onFieldRemoved",value:function onFieldRemoved(e){this.handlers.filter((function(_t6){return _t6.field===e.field&&e.elements.indexOf(_t6.element)>=0})).forEach((function(e){return e.element.removeEventListener(e.event,e.handler)}))}},{key:"exceedThreshold",value:function exceedThreshold(e,_t7){var i=this.opts.threshold[e]===0||this.opts.threshold===0?false:this.opts.threshold[e]||this.opts.threshold;if(!i){return true}var s=_t7.getAttribute("type");if(["button","checkbox","file","hidden","image","radio","reset","submit"].indexOf(s)!==-1){return true}var n=this.core.getElementValue(e,_t7);return n.length>=i}}]);return t}(t$4);var index$1={Alias:e$4,Aria:i$3,Declarative:t$3,DefaultSubmit:o,Dependency:e$3,Excluded:e$2,FieldStatus:t$2,Framework:l,Icon:i$2,Message:s$1,Sequence:i$1,SubmitButton:e,Tooltip:i,Trigger:t};function s(s,t){return s.classList?s.classList.contains(t):new RegExp("(^| )".concat(t,"( |$)"),"gi").test(s.className)}var index={call:t$c,classSet:c,closest:t$1,fetch:e$6,format:r$2,hasClass:s,isValidDate:t$9};var p={};exports.Plugin=t$4;exports.algorithms=index$3;exports.filters=index$2;exports.formValidation=r;exports.locales=p;exports.plugins=index$1;exports.utils=index;exports.validators=s$3;Object.defineProperty(exports,"__esModule",{value:true})})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ar_MA.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ar_MA.js new file mode 100644 index 0000000..2832dd9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ar_MA.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ar_MA = factory())); +})(this, (function () { 'use strict'; + + /** + * Arabic language package + * Translated by @Arkni + */ + + var ar_MA = { + base64: { + default: 'الرجاء إدخال قيمة مشفرة طبقا للقاعدة 64.', + }, + between: { + default: 'الرجاء إدخال قيمة بين %s و %s .', + notInclusive: 'الرجاء إدخال قيمة بين %s و %s بدقة.', + }, + bic: { + default: 'الرجاء إدخال رقم BIC صالح.', + }, + callback: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + choice: { + between: 'الرجاء إختيار %s-%s خيارات.', + default: 'الرجاء إدخال قيمة صالحة.', + less: 'الرجاء اختيار %s خيارات كحد أدنى.', + more: 'الرجاء اختيار %s خيارات كحد أقصى.', + }, + color: { + default: 'الرجاء إدخال رمز لون صالح.', + }, + creditCard: { + default: 'الرجاء إدخال رقم بطاقة إئتمان صحيح.', + }, + cusip: { + default: 'الرجاء إدخال رقم CUSIP صالح.', + }, + date: { + default: 'الرجاء إدخال تاريخ صالح.', + max: 'الرجاء إدخال تاريخ قبل %s.', + min: 'الرجاء إدخال تاريخ بعد %s.', + range: 'الرجاء إدخال تاريخ في المجال %s - %s.', + }, + different: { + default: 'الرجاء إدخال قيمة مختلفة.', + }, + digits: { + default: 'الرجاء إدخال الأرقام فقط.', + }, + ean: { + default: 'الرجاء إدخال رقم EAN صالح.', + }, + ein: { + default: 'الرجاء إدخال رقم EIN صالح.', + }, + emailAddress: { + default: 'الرجاء إدخال بريد إلكتروني صحيح.', + }, + file: { + default: 'الرجاء إختيار ملف صالح.', + }, + greaterThan: { + default: 'الرجاء إدخال قيمة أكبر من أو تساوي %s.', + notInclusive: 'الرجاء إدخال قيمة أكبر من %s.', + }, + grid: { + default: 'الرجاء إدخال رقم GRid صالح.', + }, + hex: { + default: 'الرجاء إدخال رقم ست عشري صالح.', + }, + iban: { + countries: { + AD: 'أندورا', + AE: 'الإمارات العربية المتحدة', + AL: 'ألبانيا', + AO: 'أنغولا', + AT: 'النمسا', + AZ: 'أذربيجان', + BA: 'البوسنة والهرسك', + BE: 'بلجيكا', + BF: 'بوركينا فاسو', + BG: 'بلغاريا', + BH: 'البحرين', + BI: 'بوروندي', + BJ: 'بنين', + BR: 'البرازيل', + CH: 'سويسرا', + CI: 'ساحل العاج', + CM: 'الكاميرون', + CR: 'كوستاريكا', + CV: 'الرأس الأخضر', + CY: 'قبرص', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + DO: 'جمهورية الدومينيكان', + DZ: 'الجزائر', + EE: 'إستونيا', + ES: 'إسبانيا', + FI: 'فنلندا', + FO: 'جزر فارو', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + GE: 'جورجيا', + GI: 'جبل طارق', + GL: 'جرينلاند', + GR: 'اليونان', + GT: 'غواتيمالا', + HR: 'كرواتيا', + HU: 'المجر', + IE: 'أيرلندا', + IL: 'إسرائيل', + IR: 'إيران', + IS: 'آيسلندا', + IT: 'إيطاليا', + JO: 'الأردن', + KW: 'الكويت', + KZ: 'كازاخستان', + LB: 'لبنان', + LI: 'ليختنشتاين', + LT: 'ليتوانيا', + LU: 'لوكسمبورغ', + LV: 'لاتفيا', + MC: 'موناكو', + MD: 'مولدوفا', + ME: 'الجبل الأسود', + MG: 'مدغشقر', + MK: 'جمهورية مقدونيا', + ML: 'مالي', + MR: 'موريتانيا', + MT: 'مالطا', + MU: 'موريشيوس', + MZ: 'موزمبيق', + NL: 'هولندا', + NO: 'النرويج', + PK: 'باكستان', + PL: 'بولندا', + PS: 'فلسطين', + PT: 'البرتغال', + QA: 'قطر', + RO: 'رومانيا', + RS: 'صربيا', + SA: 'المملكة العربية السعودية', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + SM: 'سان مارينو', + SN: 'السنغال', + TL: 'تيمور الشرقية', + TN: 'تونس', + TR: 'تركيا', + VG: 'جزر العذراء البريطانية', + XK: 'جمهورية كوسوفو', + }, + country: 'الرجاء إدخال رقم IBAN صالح في %s.', + default: 'الرجاء إدخال رقم IBAN صالح.', + }, + id: { + countries: { + BA: 'البوسنة والهرسك', + BG: 'بلغاريا', + BR: 'البرازيل', + CH: 'سويسرا', + CL: 'تشيلي', + CN: 'الصين', + CZ: 'التشيك', + DK: 'الدنمارك', + EE: 'إستونيا', + ES: 'إسبانيا', + FI: 'فنلندا', + HR: 'كرواتيا', + IE: 'أيرلندا', + IS: 'آيسلندا', + LT: 'ليتوانيا', + LV: 'لاتفيا', + ME: 'الجبل الأسود', + MK: 'جمهورية مقدونيا', + NL: 'هولندا', + PL: 'بولندا', + RO: 'رومانيا', + RS: 'صربيا', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + SM: 'سان مارينو', + TH: 'تايلاند', + TR: 'تركيا', + ZA: 'جنوب أفريقيا', + }, + country: 'الرجاء إدخال رقم تعريف صالح في %s.', + default: 'الرجاء إدخال رقم هوية صالحة.', + }, + identical: { + default: 'الرجاء إدخال نفس القيمة.', + }, + imei: { + default: 'الرجاء إدخال رقم IMEI صالح.', + }, + imo: { + default: 'الرجاء إدخال رقم IMO صالح.', + }, + integer: { + default: 'الرجاء إدخال رقم صحيح.', + }, + ip: { + default: 'الرجاء إدخال عنوان IP صالح.', + ipv4: 'الرجاء إدخال عنوان IPv4 صالح.', + ipv6: 'الرجاء إدخال عنوان IPv6 صالح.', + }, + isbn: { + default: 'الرجاء إدخال رقم ISBN صالح.', + }, + isin: { + default: 'الرجاء إدخال رقم ISIN صالح.', + }, + ismn: { + default: 'الرجاء إدخال رقم ISMN صالح.', + }, + issn: { + default: 'الرجاء إدخال رقم ISSN صالح.', + }, + lessThan: { + default: 'الرجاء إدخال قيمة أصغر من أو تساوي %s.', + notInclusive: 'الرجاء إدخال قيمة أصغر من %s.', + }, + mac: { + default: 'يرجى إدخال عنوان MAC صالح.', + }, + meid: { + default: 'الرجاء إدخال رقم MEID صالح.', + }, + notEmpty: { + default: 'الرجاء إدخال قيمة.', + }, + numeric: { + default: 'الرجاء إدخال عدد عشري صالح.', + }, + phone: { + countries: { + AE: 'الإمارات العربية المتحدة', + BG: 'بلغاريا', + BR: 'البرازيل', + CN: 'الصين', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + ES: 'إسبانيا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + IN: 'الهند', + MA: 'المغرب', + NL: 'هولندا', + PK: 'باكستان', + RO: 'رومانيا', + RU: 'روسيا', + SK: 'سلوفاكيا', + TH: 'تايلاند', + US: 'الولايات المتحدة', + VE: 'فنزويلا', + }, + country: 'الرجاء إدخال رقم هاتف صالح في %s.', + default: 'الرجاء إدخال رقم هاتف صحيح.', + }, + promise: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + regexp: { + default: 'الرجاء إدخال قيمة مطابقة للنمط.', + }, + remote: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + rtn: { + default: 'الرجاء إدخال رقم RTN صالح.', + }, + sedol: { + default: 'الرجاء إدخال رقم SEDOL صالح.', + }, + siren: { + default: 'الرجاء إدخال رقم SIREN صالح.', + }, + siret: { + default: 'الرجاء إدخال رقم SIRET صالح.', + }, + step: { + default: 'الرجاء إدخال قيمة من مضاعفات %s .', + }, + stringCase: { + default: 'الرجاء إدخال أحرف صغيرة فقط.', + upper: 'الرجاء إدخال أحرف كبيرة فقط.', + }, + stringLength: { + between: 'الرجاء إدخال قيمة ذات عدد حروف بين %s و %s حرفا.', + default: 'الرجاء إدخال قيمة ذات طول صحيح.', + less: 'الرجاء إدخال أقل من %s حرفا.', + more: 'الرجاء إدخال أكتر من %s حرفا.', + }, + uri: { + default: 'الرجاء إدخال URI صالح.', + }, + uuid: { + default: 'الرجاء إدخال رقم UUID صالح.', + version: 'الرجاء إدخال رقم UUID صالح إصدار %s.', + }, + vat: { + countries: { + AT: 'النمسا', + BE: 'بلجيكا', + BG: 'بلغاريا', + BR: 'البرازيل', + CH: 'سويسرا', + CY: 'قبرص', + CZ: 'التشيك', + DE: 'جورجيا', + DK: 'الدنمارك', + EE: 'إستونيا', + EL: 'اليونان', + ES: 'إسبانيا', + FI: 'فنلندا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + GR: 'اليونان', + HR: 'كرواتيا', + HU: 'المجر', + IE: 'أيرلندا', + IS: 'آيسلندا', + IT: 'إيطاليا', + LT: 'ليتوانيا', + LU: 'لوكسمبورغ', + LV: 'لاتفيا', + MT: 'مالطا', + NL: 'هولندا', + NO: 'النرويج', + PL: 'بولندا', + PT: 'البرتغال', + RO: 'رومانيا', + RS: 'صربيا', + RU: 'روسيا', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + VE: 'فنزويلا', + ZA: 'جنوب أفريقيا', + }, + country: 'الرجاء إدخال رقم VAT صالح في %s.', + default: 'الرجاء إدخال رقم VAT صالح.', + }, + vin: { + default: 'الرجاء إدخال رقم VIN صالح.', + }, + zipCode: { + countries: { + AT: 'النمسا', + BG: 'بلغاريا', + BR: 'البرازيل', + CA: 'كندا', + CH: 'سويسرا', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + ES: 'إسبانيا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + IE: 'أيرلندا', + IN: 'الهند', + IT: 'إيطاليا', + MA: 'المغرب', + NL: 'هولندا', + PL: 'بولندا', + PT: 'البرتغال', + RO: 'رومانيا', + RU: 'روسيا', + SE: 'السويد', + SG: 'سنغافورة', + SK: 'سلوفاكيا', + US: 'الولايات المتحدة', + }, + country: 'الرجاء إدخال رمز بريدي صالح في %s.', + default: 'الرجاء إدخال رمز بريدي صالح.', + }, + }; + + return ar_MA; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ar_MA.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ar_MA.min.js new file mode 100644 index 0000000..57aaba9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ar_MA.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ar_MA=factory())})(this,(function(){"use strict";var ar_MA={base64:{default:"الرجاء إدخال قيمة مشفرة طبقا للقاعدة 64."},between:{default:"الرجاء إدخال قيمة بين %s و %s .",notInclusive:"الرجاء إدخال قيمة بين %s و %s بدقة."},bic:{default:"الرجاء إدخال رقم BIC صالح."},callback:{default:"الرجاء إدخال قيمة صالحة."},choice:{between:"الرجاء إختيار %s-%s خيارات.",default:"الرجاء إدخال قيمة صالحة.",less:"الرجاء اختيار %s خيارات كحد أدنى.",more:"الرجاء اختيار %s خيارات كحد أقصى."},color:{default:"الرجاء إدخال رمز لون صالح."},creditCard:{default:"الرجاء إدخال رقم بطاقة إئتمان صحيح."},cusip:{default:"الرجاء إدخال رقم CUSIP صالح."},date:{default:"الرجاء إدخال تاريخ صالح.",max:"الرجاء إدخال تاريخ قبل %s.",min:"الرجاء إدخال تاريخ بعد %s.",range:"الرجاء إدخال تاريخ في المجال %s - %s."},different:{default:"الرجاء إدخال قيمة مختلفة."},digits:{default:"الرجاء إدخال الأرقام فقط."},ean:{default:"الرجاء إدخال رقم EAN صالح."},ein:{default:"الرجاء إدخال رقم EIN صالح."},emailAddress:{default:"الرجاء إدخال بريد إلكتروني صحيح."},file:{default:"الرجاء إختيار ملف صالح."},greaterThan:{default:"الرجاء إدخال قيمة أكبر من أو تساوي %s.",notInclusive:"الرجاء إدخال قيمة أكبر من %s."},grid:{default:"الرجاء إدخال رقم GRid صالح."},hex:{default:"الرجاء إدخال رقم ست عشري صالح."},iban:{countries:{AD:"أندورا",AE:"الإمارات العربية المتحدة",AL:"ألبانيا",AO:"أنغولا",AT:"النمسا",AZ:"أذربيجان",BA:"البوسنة والهرسك",BE:"بلجيكا",BF:"بوركينا فاسو",BG:"بلغاريا",BH:"البحرين",BI:"بوروندي",BJ:"بنين",BR:"البرازيل",CH:"سويسرا",CI:"ساحل العاج",CM:"الكاميرون",CR:"كوستاريكا",CV:"الرأس الأخضر",CY:"قبرص",CZ:"التشيك",DE:"ألمانيا",DK:"الدنمارك",DO:"جمهورية الدومينيكان",DZ:"الجزائر",EE:"إستونيا",ES:"إسبانيا",FI:"فنلندا",FO:"جزر فارو",FR:"فرنسا",GB:"المملكة المتحدة",GE:"جورجيا",GI:"جبل طارق",GL:"جرينلاند",GR:"اليونان",GT:"غواتيمالا",HR:"كرواتيا",HU:"المجر",IE:"أيرلندا",IL:"إسرائيل",IR:"إيران",IS:"آيسلندا",IT:"إيطاليا",JO:"الأردن",KW:"الكويت",KZ:"كازاخستان",LB:"لبنان",LI:"ليختنشتاين",LT:"ليتوانيا",LU:"لوكسمبورغ",LV:"لاتفيا",MC:"موناكو",MD:"مولدوفا",ME:"الجبل الأسود",MG:"مدغشقر",MK:"جمهورية مقدونيا",ML:"مالي",MR:"موريتانيا",MT:"مالطا",MU:"موريشيوس",MZ:"موزمبيق",NL:"هولندا",NO:"النرويج",PK:"باكستان",PL:"بولندا",PS:"فلسطين",PT:"البرتغال",QA:"قطر",RO:"رومانيا",RS:"صربيا",SA:"المملكة العربية السعودية",SE:"السويد",SI:"سلوفينيا",SK:"سلوفاكيا",SM:"سان مارينو",SN:"السنغال",TL:"تيمور الشرقية",TN:"تونس",TR:"تركيا",VG:"جزر العذراء البريطانية",XK:"جمهورية كوسوفو"},country:"الرجاء إدخال رقم IBAN صالح في %s.",default:"الرجاء إدخال رقم IBAN صالح."},id:{countries:{BA:"البوسنة والهرسك",BG:"بلغاريا",BR:"البرازيل",CH:"سويسرا",CL:"تشيلي",CN:"الصين",CZ:"التشيك",DK:"الدنمارك",EE:"إستونيا",ES:"إسبانيا",FI:"فنلندا",HR:"كرواتيا",IE:"أيرلندا",IS:"آيسلندا",LT:"ليتوانيا",LV:"لاتفيا",ME:"الجبل الأسود",MK:"جمهورية مقدونيا",NL:"هولندا",PL:"بولندا",RO:"رومانيا",RS:"صربيا",SE:"السويد",SI:"سلوفينيا",SK:"سلوفاكيا",SM:"سان مارينو",TH:"تايلاند",TR:"تركيا",ZA:"جنوب أفريقيا"},country:"الرجاء إدخال رقم تعريف صالح في %s.",default:"الرجاء إدخال رقم هوية صالحة."},identical:{default:"الرجاء إدخال نفس القيمة."},imei:{default:"الرجاء إدخال رقم IMEI صالح."},imo:{default:"الرجاء إدخال رقم IMO صالح."},integer:{default:"الرجاء إدخال رقم صحيح."},ip:{default:"الرجاء إدخال عنوان IP صالح.",ipv4:"الرجاء إدخال عنوان IPv4 صالح.",ipv6:"الرجاء إدخال عنوان IPv6 صالح."},isbn:{default:"الرجاء إدخال رقم ISBN صالح."},isin:{default:"الرجاء إدخال رقم ISIN صالح."},ismn:{default:"الرجاء إدخال رقم ISMN صالح."},issn:{default:"الرجاء إدخال رقم ISSN صالح."},lessThan:{default:"الرجاء إدخال قيمة أصغر من أو تساوي %s.",notInclusive:"الرجاء إدخال قيمة أصغر من %s."},mac:{default:"يرجى إدخال عنوان MAC صالح."},meid:{default:"الرجاء إدخال رقم MEID صالح."},notEmpty:{default:"الرجاء إدخال قيمة."},numeric:{default:"الرجاء إدخال عدد عشري صالح."},phone:{countries:{AE:"الإمارات العربية المتحدة",BG:"بلغاريا",BR:"البرازيل",CN:"الصين",CZ:"التشيك",DE:"ألمانيا",DK:"الدنمارك",ES:"إسبانيا",FR:"فرنسا",GB:"المملكة المتحدة",IN:"الهند",MA:"المغرب",NL:"هولندا",PK:"باكستان",RO:"رومانيا",RU:"روسيا",SK:"سلوفاكيا",TH:"تايلاند",US:"الولايات المتحدة",VE:"فنزويلا"},country:"الرجاء إدخال رقم هاتف صالح في %s.",default:"الرجاء إدخال رقم هاتف صحيح."},promise:{default:"الرجاء إدخال قيمة صالحة."},regexp:{default:"الرجاء إدخال قيمة مطابقة للنمط."},remote:{default:"الرجاء إدخال قيمة صالحة."},rtn:{default:"الرجاء إدخال رقم RTN صالح."},sedol:{default:"الرجاء إدخال رقم SEDOL صالح."},siren:{default:"الرجاء إدخال رقم SIREN صالح."},siret:{default:"الرجاء إدخال رقم SIRET صالح."},step:{default:"الرجاء إدخال قيمة من مضاعفات %s ."},stringCase:{default:"الرجاء إدخال أحرف صغيرة فقط.",upper:"الرجاء إدخال أحرف كبيرة فقط."},stringLength:{between:"الرجاء إدخال قيمة ذات عدد حروف بين %s و %s حرفا.",default:"الرجاء إدخال قيمة ذات طول صحيح.",less:"الرجاء إدخال أقل من %s حرفا.",more:"الرجاء إدخال أكتر من %s حرفا."},uri:{default:"الرجاء إدخال URI صالح."},uuid:{default:"الرجاء إدخال رقم UUID صالح.",version:"الرجاء إدخال رقم UUID صالح إصدار %s."},vat:{countries:{AT:"النمسا",BE:"بلجيكا",BG:"بلغاريا",BR:"البرازيل",CH:"سويسرا",CY:"قبرص",CZ:"التشيك",DE:"جورجيا",DK:"الدنمارك",EE:"إستونيا",EL:"اليونان",ES:"إسبانيا",FI:"فنلندا",FR:"فرنسا",GB:"المملكة المتحدة",GR:"اليونان",HR:"كرواتيا",HU:"المجر",IE:"أيرلندا",IS:"آيسلندا",IT:"إيطاليا",LT:"ليتوانيا",LU:"لوكسمبورغ",LV:"لاتفيا",MT:"مالطا",NL:"هولندا",NO:"النرويج",PL:"بولندا",PT:"البرتغال",RO:"رومانيا",RS:"صربيا",RU:"روسيا",SE:"السويد",SI:"سلوفينيا",SK:"سلوفاكيا",VE:"فنزويلا",ZA:"جنوب أفريقيا"},country:"الرجاء إدخال رقم VAT صالح في %s.",default:"الرجاء إدخال رقم VAT صالح."},vin:{default:"الرجاء إدخال رقم VIN صالح."},zipCode:{countries:{AT:"النمسا",BG:"بلغاريا",BR:"البرازيل",CA:"كندا",CH:"سويسرا",CZ:"التشيك",DE:"ألمانيا",DK:"الدنمارك",ES:"إسبانيا",FR:"فرنسا",GB:"المملكة المتحدة",IE:"أيرلندا",IN:"الهند",IT:"إيطاليا",MA:"المغرب",NL:"هولندا",PL:"بولندا",PT:"البرتغال",RO:"رومانيا",RU:"روسيا",SE:"السويد",SG:"سنغافورة",SK:"سلوفاكيا",US:"الولايات المتحدة"},country:"الرجاء إدخال رمز بريدي صالح في %s.",default:"الرجاء إدخال رمز بريدي صالح."}};return ar_MA})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/bg_BG.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/bg_BG.js new file mode 100644 index 0000000..7ee1366 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/bg_BG.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.bg_BG = factory())); +})(this, (function () { 'use strict'; + + /** + * Bulgarian language package + * Translated by @mraiur + */ + + var bg_BG = { + base64: { + default: 'Моля, въведете валиден base 64 кодиран', + }, + between: { + default: 'Моля, въведете стойност между %s и %s', + notInclusive: 'Моля, въведете стойност точно между %s и %s', + }, + bic: { + default: 'Моля, въведете валиден BIC номер', + }, + callback: { + default: 'Моля, въведете валидна стойност', + }, + choice: { + between: 'Моля изберете от %s до %s стойност', + default: 'Моля, въведете валидна стойност', + less: 'Моля изберете минимална стойност %s', + more: 'Моля изберете максимална стойност %s', + }, + color: { + default: 'Моля, въведете валиден цвят', + }, + creditCard: { + default: 'Моля, въведете валиден номер на кредитна карта', + }, + cusip: { + default: 'Моля, въведете валиден CUSIP номер', + }, + date: { + default: 'Моля, въведете валидна дата', + max: 'Моля въведете дата преди %s', + min: 'Моля въведете дата след %s', + range: 'Моля въведете дата между %s и %s', + }, + different: { + default: 'Моля, въведете различна стойност', + }, + digits: { + default: 'Моля, въведете само цифри', + }, + ean: { + default: 'Моля, въведете валиден EAN номер', + }, + ein: { + default: 'Моля, въведете валиден EIN номер', + }, + emailAddress: { + default: 'Моля, въведете валиден имейл адрес', + }, + file: { + default: 'Моля, изберете валиден файл', + }, + greaterThan: { + default: 'Моля, въведете стойност по-голяма от или равна на %s', + notInclusive: 'Моля, въведете стойност по-голяма от %s', + }, + grid: { + default: 'Моля, изберете валиден GRId номер', + }, + hex: { + default: 'Моля, въведете валиден шестнадесетичен номер', + }, + iban: { + countries: { + AD: 'Андора', + AE: 'Обединени арабски емирства', + AL: 'Албания', + AO: 'Ангола', + AT: 'Австрия', + AZ: 'Азербайджан', + BA: 'Босна и Херцеговина', + BE: 'Белгия', + BF: 'Буркина Фасо', + BG: 'България', + BH: 'Бахрейн', + BI: 'Бурунди', + BJ: 'Бенин', + BR: 'Бразилия', + CH: 'Швейцария', + CI: 'Ivory Coast', + CM: 'Камерун', + CR: 'Коста Рика', + CV: 'Cape Verde', + CY: 'Кипър', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + DO: 'Доминиканска република', + DZ: 'Алжир', + EE: 'Естония', + ES: 'Испания', + FI: 'Финландия', + FO: 'Фарьорските острови', + FR: 'Франция', + GB: 'Обединеното кралство', + GE: 'Грузия', + GI: 'Гибралтар', + GL: 'Гренландия', + GR: 'Гърция', + GT: 'Гватемала', + HR: 'Хърватия', + HU: 'Унгария', + IE: 'Ирландия', + IL: 'Израел', + IR: 'Иран', + IS: 'Исландия', + IT: 'Италия', + JO: 'Йордания', + KW: 'Кувейт', + KZ: 'Казахстан', + LB: 'Ливан', + LI: 'Лихтенщайн', + LT: 'Литва', + LU: 'Люксембург', + LV: 'Латвия', + MC: 'Монако', + MD: 'Молдова', + ME: 'Черна гора', + MG: 'Мадагаскар', + MK: 'Македония', + ML: 'Мали', + MR: 'Мавритания', + MT: 'Малта', + MU: 'Мавриций', + MZ: 'Мозамбик', + NL: 'Нидерландия', + NO: 'Норвегия', + PK: 'Пакистан', + PL: 'Полша', + PS: 'палестинска', + PT: 'Португалия', + QA: 'Катар', + RO: 'Румъния', + RS: 'Сърбия', + SA: 'Саудитска Арабия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + SM: 'San Marino', + SN: 'Сенегал', + TL: 'Източен Тимор', + TN: 'Тунис', + TR: 'Турция', + VG: 'Британски Вирджински острови', + XK: 'Република Косово', + }, + country: 'Моля, въведете валиден номер на IBAN в %s', + default: 'Моля, въведете валиден IBAN номер', + }, + id: { + countries: { + BA: 'Босна и Херцеговина', + BG: 'България', + BR: 'Бразилия', + CH: 'Швейцария', + CL: 'Чили', + CN: 'Китай', + CZ: 'Чешката република', + DK: 'Дания', + EE: 'Естония', + ES: 'Испания', + FI: 'Финландия', + HR: 'Хърватия', + IE: 'Ирландия', + IS: 'Исландия', + LT: 'Литва', + LV: 'Латвия', + ME: 'Черна гора', + MK: 'Македония', + NL: 'Холандия', + PL: 'Полша', + RO: 'Румъния', + RS: 'Сърбия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + SM: 'San Marino', + TH: 'Тайланд', + TR: 'Турция', + ZA: 'Южна Африка', + }, + country: 'Моля, въведете валиден идентификационен номер в %s', + default: 'Моля, въведете валиден идентификационен номер', + }, + identical: { + default: 'Моля, въведете една и съща стойност', + }, + imei: { + default: 'Моля, въведете валиден IMEI номер', + }, + imo: { + default: 'Моля, въведете валиден IMO номер', + }, + integer: { + default: 'Моля, въведете валиден номер', + }, + ip: { + default: 'Моля, въведете валиден IP адрес', + ipv4: 'Моля, въведете валиден IPv4 адрес', + ipv6: 'Моля, въведете валиден IPv6 адрес', + }, + isbn: { + default: 'Моля, въведете валиден ISBN номер', + }, + isin: { + default: 'Моля, въведете валиден ISIN номер', + }, + ismn: { + default: 'Моля, въведете валиден ISMN номер', + }, + issn: { + default: 'Моля, въведете валиден ISSN номер', + }, + lessThan: { + default: 'Моля, въведете стойност по-малка или равна на %s', + notInclusive: 'Моля, въведете стойност по-малко от %s', + }, + mac: { + default: 'Моля, въведете валиден MAC адрес', + }, + meid: { + default: 'Моля, въведете валиден MEID номер', + }, + notEmpty: { + default: 'Моля, въведете стойност', + }, + numeric: { + default: 'Моля, въведете валидно число с плаваща запетая', + }, + phone: { + countries: { + AE: 'Обединени арабски емирства', + BG: 'България', + BR: 'Бразилия', + CN: 'Китай', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + ES: 'Испания', + FR: 'Франция', + GB: 'Обединеното кралство', + IN: 'Индия', + MA: 'Мароко', + NL: 'Нидерландия', + PK: 'Пакистан', + RO: 'Румъния', + RU: 'Русия', + SK: 'Словакия', + TH: 'Тайланд', + US: 'САЩ', + VE: 'Венецуела', + }, + country: 'Моля, въведете валиден телефонен номер в %s', + default: 'Моля, въведете валиден телефонен номер', + }, + promise: { + default: 'Моля, въведете валидна стойност', + }, + regexp: { + default: 'Моля, въведете стойност, отговаряща на модела', + }, + remote: { + default: 'Моля, въведете валидна стойност', + }, + rtn: { + default: 'Моля, въведете валиде RTN номер', + }, + sedol: { + default: 'Моля, въведете валиден SEDOL номер', + }, + siren: { + default: 'Моля, въведете валиден SIREN номер', + }, + siret: { + default: 'Моля, въведете валиден SIRET номер', + }, + step: { + default: 'Моля, въведете валиденa стъпка от %s', + }, + stringCase: { + default: 'Моля, въведете само с малки букви', + upper: 'Моля въведете само главни букви', + }, + stringLength: { + between: 'Моля, въведете стойност между %s и %s знака', + default: 'Моля, въведете стойност с валидни дължина', + less: 'Моля, въведете по-малко от %s знака', + more: 'Моля въведете повече от %s знака', + }, + uri: { + default: 'Моля, въведете валиден URI', + }, + uuid: { + default: 'Моля, въведете валиден UUID номер', + version: 'Моля, въведете валиден UUID номер с версия %s', + }, + vat: { + countries: { + AT: 'Австрия', + BE: 'Белгия', + BG: 'България', + BR: 'Бразилия', + CH: 'Швейцария', + CY: 'Кипър', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + EE: 'Естония', + EL: 'Гърция', + ES: 'Испания', + FI: 'Финландия', + FR: 'Франция', + GB: 'Обединеното кралство', + GR: 'Гърция', + HR: 'Ирландия', + HU: 'Унгария', + IE: 'Ирландски', + IS: 'Исландия', + IT: 'Италия', + LT: 'Литва', + LU: 'Люксембург', + LV: 'Латвия', + MT: 'Малта', + NL: 'Холандия', + NO: 'Норвегия', + PL: 'Полша', + PT: 'Португалия', + RO: 'Румъния', + RS: 'Сърбия', + RU: 'Русия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + VE: 'Венецуела', + ZA: 'Южна Африка', + }, + country: 'Моля, въведете валиден ДДС в %s', + default: 'Моля, въведете валиден ДДС', + }, + vin: { + default: 'Моля, въведете валиден номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрия', + BG: 'България', + BR: 'Бразилия', + CA: 'Канада', + CH: 'Швейцария', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + ES: 'Испания', + FR: 'Франция', + GB: 'Обединеното кралство', + IE: 'Ирландски', + IN: 'Индия', + IT: 'Италия', + MA: 'Мароко', + NL: 'Холандия', + PL: 'Полша', + PT: 'Португалия', + RO: 'Румъния', + RU: 'Русия', + SE: 'Швеция', + SG: 'Сингапур', + SK: 'Словакия', + US: 'САЩ', + }, + country: 'Моля, въведете валиден пощенски код в %s', + default: 'Моля, въведете валиден пощенски код', + }, + }; + + return bg_BG; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/bg_BG.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/bg_BG.min.js new file mode 100644 index 0000000..e71a8da --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/bg_BG.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.bg_BG=factory())})(this,(function(){"use strict";var bg_BG={base64:{default:"Моля, въведете валиден base 64 кодиран"},between:{default:"Моля, въведете стойност между %s и %s",notInclusive:"Моля, въведете стойност точно между %s и %s"},bic:{default:"Моля, въведете валиден BIC номер"},callback:{default:"Моля, въведете валидна стойност"},choice:{between:"Моля изберете от %s до %s стойност",default:"Моля, въведете валидна стойност",less:"Моля изберете минимална стойност %s",more:"Моля изберете максимална стойност %s"},color:{default:"Моля, въведете валиден цвят"},creditCard:{default:"Моля, въведете валиден номер на кредитна карта"},cusip:{default:"Моля, въведете валиден CUSIP номер"},date:{default:"Моля, въведете валидна дата",max:"Моля въведете дата преди %s",min:"Моля въведете дата след %s",range:"Моля въведете дата между %s и %s"},different:{default:"Моля, въведете различна стойност"},digits:{default:"Моля, въведете само цифри"},ean:{default:"Моля, въведете валиден EAN номер"},ein:{default:"Моля, въведете валиден EIN номер"},emailAddress:{default:"Моля, въведете валиден имейл адрес"},file:{default:"Моля, изберете валиден файл"},greaterThan:{default:"Моля, въведете стойност по-голяма от или равна на %s",notInclusive:"Моля, въведете стойност по-голяма от %s"},grid:{default:"Моля, изберете валиден GRId номер"},hex:{default:"Моля, въведете валиден шестнадесетичен номер"},iban:{countries:{AD:"Андора",AE:"Обединени арабски емирства",AL:"Албания",AO:"Ангола",AT:"Австрия",AZ:"Азербайджан",BA:"Босна и Херцеговина",BE:"Белгия",BF:"Буркина Фасо",BG:"България",BH:"Бахрейн",BI:"Бурунди",BJ:"Бенин",BR:"Бразилия",CH:"Швейцария",CI:"Ivory Coast",CM:"Камерун",CR:"Коста Рика",CV:"Cape Verde",CY:"Кипър",CZ:"Чешката република",DE:"Германия",DK:"Дания",DO:"Доминиканска република",DZ:"Алжир",EE:"Естония",ES:"Испания",FI:"Финландия",FO:"Фарьорските острови",FR:"Франция",GB:"Обединеното кралство",GE:"Грузия",GI:"Гибралтар",GL:"Гренландия",GR:"Гърция",GT:"Гватемала",HR:"Хърватия",HU:"Унгария",IE:"Ирландия",IL:"Израел",IR:"Иран",IS:"Исландия",IT:"Италия",JO:"Йордания",KW:"Кувейт",KZ:"Казахстан",LB:"Ливан",LI:"Лихтенщайн",LT:"Литва",LU:"Люксембург",LV:"Латвия",MC:"Монако",MD:"Молдова",ME:"Черна гора",MG:"Мадагаскар",MK:"Македония",ML:"Мали",MR:"Мавритания",MT:"Малта",MU:"Мавриций",MZ:"Мозамбик",NL:"Нидерландия",NO:"Норвегия",PK:"Пакистан",PL:"Полша",PS:"палестинска",PT:"Португалия",QA:"Катар",RO:"Румъния",RS:"Сърбия",SA:"Саудитска Арабия",SE:"Швеция",SI:"Словения",SK:"Словакия",SM:"San Marino",SN:"Сенегал",TL:"Източен Тимор",TN:"Тунис",TR:"Турция",VG:"Британски Вирджински острови",XK:"Република Косово"},country:"Моля, въведете валиден номер на IBAN в %s",default:"Моля, въведете валиден IBAN номер"},id:{countries:{BA:"Босна и Херцеговина",BG:"България",BR:"Бразилия",CH:"Швейцария",CL:"Чили",CN:"Китай",CZ:"Чешката република",DK:"Дания",EE:"Естония",ES:"Испания",FI:"Финландия",HR:"Хърватия",IE:"Ирландия",IS:"Исландия",LT:"Литва",LV:"Латвия",ME:"Черна гора",MK:"Македония",NL:"Холандия",PL:"Полша",RO:"Румъния",RS:"Сърбия",SE:"Швеция",SI:"Словения",SK:"Словакия",SM:"San Marino",TH:"Тайланд",TR:"Турция",ZA:"Южна Африка"},country:"Моля, въведете валиден идентификационен номер в %s",default:"Моля, въведете валиден идентификационен номер"},identical:{default:"Моля, въведете една и съща стойност"},imei:{default:"Моля, въведете валиден IMEI номер"},imo:{default:"Моля, въведете валиден IMO номер"},integer:{default:"Моля, въведете валиден номер"},ip:{default:"Моля, въведете валиден IP адрес",ipv4:"Моля, въведете валиден IPv4 адрес",ipv6:"Моля, въведете валиден IPv6 адрес"},isbn:{default:"Моля, въведете валиден ISBN номер"},isin:{default:"Моля, въведете валиден ISIN номер"},ismn:{default:"Моля, въведете валиден ISMN номер"},issn:{default:"Моля, въведете валиден ISSN номер"},lessThan:{default:"Моля, въведете стойност по-малка или равна на %s",notInclusive:"Моля, въведете стойност по-малко от %s"},mac:{default:"Моля, въведете валиден MAC адрес"},meid:{default:"Моля, въведете валиден MEID номер"},notEmpty:{default:"Моля, въведете стойност"},numeric:{default:"Моля, въведете валидно число с плаваща запетая"},phone:{countries:{AE:"Обединени арабски емирства",BG:"България",BR:"Бразилия",CN:"Китай",CZ:"Чешката република",DE:"Германия",DK:"Дания",ES:"Испания",FR:"Франция",GB:"Обединеното кралство",IN:"Индия",MA:"Мароко",NL:"Нидерландия",PK:"Пакистан",RO:"Румъния",RU:"Русия",SK:"Словакия",TH:"Тайланд",US:"САЩ",VE:"Венецуела"},country:"Моля, въведете валиден телефонен номер в %s",default:"Моля, въведете валиден телефонен номер"},promise:{default:"Моля, въведете валидна стойност"},regexp:{default:"Моля, въведете стойност, отговаряща на модела"},remote:{default:"Моля, въведете валидна стойност"},rtn:{default:"Моля, въведете валиде RTN номер"},sedol:{default:"Моля, въведете валиден SEDOL номер"},siren:{default:"Моля, въведете валиден SIREN номер"},siret:{default:"Моля, въведете валиден SIRET номер"},step:{default:"Моля, въведете валиденa стъпка от %s"},stringCase:{default:"Моля, въведете само с малки букви",upper:"Моля въведете само главни букви"},stringLength:{between:"Моля, въведете стойност между %s и %s знака",default:"Моля, въведете стойност с валидни дължина",less:"Моля, въведете по-малко от %s знака",more:"Моля въведете повече от %s знака"},uri:{default:"Моля, въведете валиден URI"},uuid:{default:"Моля, въведете валиден UUID номер",version:"Моля, въведете валиден UUID номер с версия %s"},vat:{countries:{AT:"Австрия",BE:"Белгия",BG:"България",BR:"Бразилия",CH:"Швейцария",CY:"Кипър",CZ:"Чешката република",DE:"Германия",DK:"Дания",EE:"Естония",EL:"Гърция",ES:"Испания",FI:"Финландия",FR:"Франция",GB:"Обединеното кралство",GR:"Гърция",HR:"Ирландия",HU:"Унгария",IE:"Ирландски",IS:"Исландия",IT:"Италия",LT:"Литва",LU:"Люксембург",LV:"Латвия",MT:"Малта",NL:"Холандия",NO:"Норвегия",PL:"Полша",PT:"Португалия",RO:"Румъния",RS:"Сърбия",RU:"Русия",SE:"Швеция",SI:"Словения",SK:"Словакия",VE:"Венецуела",ZA:"Южна Африка"},country:"Моля, въведете валиден ДДС в %s",default:"Моля, въведете валиден ДДС"},vin:{default:"Моля, въведете валиден номер VIN"},zipCode:{countries:{AT:"Австрия",BG:"България",BR:"Бразилия",CA:"Канада",CH:"Швейцария",CZ:"Чешката република",DE:"Германия",DK:"Дания",ES:"Испания",FR:"Франция",GB:"Обединеното кралство",IE:"Ирландски",IN:"Индия",IT:"Италия",MA:"Мароко",NL:"Холандия",PL:"Полша",PT:"Португалия",RO:"Румъния",RU:"Русия",SE:"Швеция",SG:"Сингапур",SK:"Словакия",US:"САЩ"},country:"Моля, въведете валиден пощенски код в %s",default:"Моля, въведете валиден пощенски код"}};return bg_BG})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ca_ES.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ca_ES.js new file mode 100644 index 0000000..4a0e938 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ca_ES.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ca_ES = factory())); +})(this, (function () { 'use strict'; + + /** + * Catalan language package + * Translated by @ArnauAregall + */ + + var ca_ES = { + base64: { + default: 'Si us plau introdueix un valor vàlid en base 64', + }, + between: { + default: 'Si us plau introdueix un valor entre %s i %s', + notInclusive: 'Si us plau introdueix un valor comprès entre %s i %s', + }, + bic: { + default: 'Si us plau introdueix un nombre BIC vàlid', + }, + callback: { + default: 'Si us plau introdueix un valor vàlid', + }, + choice: { + between: 'Si us plau escull entre %s i %s opcions', + default: 'Si us plau introdueix un valor vàlid', + less: 'Si us plau escull %s opcions com a mínim', + more: 'Si us plau escull %s opcions com a màxim', + }, + color: { + default: 'Si us plau introdueix un color vàlid', + }, + creditCard: { + default: 'Si us plau introdueix un nombre vàlid de targeta de crèdit', + }, + cusip: { + default: 'Si us plau introdueix un nombre CUSIP vàlid', + }, + date: { + default: 'Si us plau introdueix una data vàlida', + max: 'Si us plau introdueix una data anterior %s', + min: 'Si us plau introdueix una data posterior a %s', + range: 'Si us plau introdueix una data compresa entre %s i %s', + }, + different: { + default: 'Si us plau introdueix un valor diferent', + }, + digits: { + default: 'Si us plau introdueix només dígits', + }, + ean: { + default: 'Si us plau introdueix un nombre EAN vàlid', + }, + ein: { + default: 'Si us plau introdueix un nombre EIN vàlid', + }, + emailAddress: { + default: 'Si us plau introdueix una adreça electrònica vàlida', + }, + file: { + default: 'Si us plau selecciona un arxiu vàlid', + }, + greaterThan: { + default: 'Si us plau introdueix un valor més gran o igual a %s', + notInclusive: 'Si us plau introdueix un valor més gran que %s', + }, + grid: { + default: 'Si us plau introdueix un nombre GRId vàlid', + }, + hex: { + default: 'Si us plau introdueix un valor hexadecimal vàlid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirats Àrabs Units', + AL: 'Albània', + AO: 'Angola', + AT: 'Àustria', + AZ: 'Azerbaidjan', + BA: 'Bòsnia i Hercegovina', + BE: 'Bèlgica', + BF: 'Burkina Faso', + BG: 'Bulgària', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suïssa', + CI: "Costa d'Ivori", + CM: 'Camerun', + CR: 'Costa Rica', + CV: 'Cap Verd', + CY: 'Xipre', + CZ: 'República Txeca', + DE: 'Alemanya', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Algèria', + EE: 'Estònia', + ES: 'Espanya', + FI: 'Finlàndia', + FO: 'Illes Fèroe', + FR: 'França', + GB: 'Regne Unit', + GE: 'Geòrgia', + GI: 'Gibraltar', + GL: 'Grenlàndia', + GR: 'Grècia', + GT: 'Guatemala', + HR: 'Croàcia', + HU: 'Hongria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islàndia', + IT: 'Itàlia', + JO: 'Jordània', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líban', + LI: 'Liechtenstein', + LT: 'Lituània', + LU: 'Luxemburg', + LV: 'Letònia', + MC: 'Mònaco', + MD: 'Moldàvia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedònia', + ML: 'Malo', + MR: 'Mauritània', + MT: 'Malta', + MU: 'Maurici', + MZ: 'Moçambic', + NL: 'Països Baixos', + NO: 'Noruega', + PK: 'Pakistan', + PL: 'Polònia', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Sèrbia', + SA: 'Aràbia Saudita', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Illes Verges Britàniques', + XK: 'República de Kosovo', + }, + country: 'Si us plau introdueix un nombre IBAN vàlid a %s', + default: 'Si us plau introdueix un nombre IBAN vàlid', + }, + id: { + countries: { + BA: 'Bòsnia i Hercegovina', + BG: 'Bulgària', + BR: 'Brasil', + CH: 'Suïssa', + CL: 'Xile', + CN: 'Xina', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estònia', + ES: 'Espanya', + FI: 'Finlpandia', + HR: 'Cropàcia', + IE: 'Irlanda', + IS: 'Islàndia', + LT: 'Lituania', + LV: 'Letònia', + ME: 'Montenegro', + MK: 'Macedònia', + NL: 'Països Baixos', + PL: 'Polònia', + RO: 'Romania', + RS: 'Sèrbia', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + SM: 'San Marino', + TH: 'Tailàndia', + TR: 'Turquia', + ZA: 'Sud-àfrica', + }, + country: "Si us plau introdueix un nombre d'identificació vàlid a %s", + default: "Si us plau introdueix un nombre d'identificació vàlid", + }, + identical: { + default: 'Si us plau introdueix exactament el mateix valor', + }, + imei: { + default: 'Si us plau introdueix un nombre IMEI vàlid', + }, + imo: { + default: 'Si us plau introdueix un nombre IMO vàlid', + }, + integer: { + default: 'Si us plau introdueix un nombre vàlid', + }, + ip: { + default: 'Si us plau introdueix una direcció IP vàlida', + ipv4: 'Si us plau introdueix una direcció IPV4 vàlida', + ipv6: 'Si us plau introdueix una direcció IPV6 vàlida', + }, + isbn: { + default: 'Si us plau introdueix un nombre ISBN vàlid', + }, + isin: { + default: 'Si us plau introdueix un nombre ISIN vàlid', + }, + ismn: { + default: 'Si us plau introdueix un nombre ISMN vàlid', + }, + issn: { + default: 'Si us plau introdueix un nombre ISSN vàlid', + }, + lessThan: { + default: 'Si us plau introdueix un valor menor o igual a %s', + notInclusive: 'Si us plau introdueix un valor menor que %s', + }, + mac: { + default: 'Si us plau introdueix una adreça MAC vàlida', + }, + meid: { + default: 'Si us plau introdueix nombre MEID vàlid', + }, + notEmpty: { + default: 'Si us plau introdueix un valor', + }, + numeric: { + default: 'Si us plau introdueix un nombre decimal vàlid', + }, + phone: { + countries: { + AE: 'Emirats Àrabs Units', + BG: 'Bulgària', + BR: 'Brasil', + CN: 'Xina', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + ES: 'Espanya', + FR: 'França', + GB: 'Regne Unit', + IN: 'Índia', + MA: 'Marroc', + NL: 'Països Baixos', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Rússia', + SK: 'Eslovàquia', + TH: 'Tailàndia', + US: 'Estats Units', + VE: 'Veneçuela', + }, + country: 'Si us plau introdueix un telèfon vàlid a %s', + default: 'Si us plau introdueix un telèfon vàlid', + }, + promise: { + default: 'Si us plau introdueix un valor vàlid', + }, + regexp: { + default: 'Si us plau introdueix un valor que coincideixi amb el patró', + }, + remote: { + default: 'Si us plau introdueix un valor vàlid', + }, + rtn: { + default: 'Si us plau introdueix un nombre RTN vàlid', + }, + sedol: { + default: 'Si us plau introdueix un nombre SEDOL vàlid', + }, + siren: { + default: 'Si us plau introdueix un nombre SIREN vàlid', + }, + siret: { + default: 'Si us plau introdueix un nombre SIRET vàlid', + }, + step: { + default: 'Si us plau introdueix un pas vàlid de %s', + }, + stringCase: { + default: 'Si us plau introdueix només caràcters en minúscula', + upper: 'Si us plau introdueix només caràcters en majúscula', + }, + stringLength: { + between: 'Si us plau introdueix un valor amb una longitud compresa entre %s i %s caràcters', + default: 'Si us plau introdueix un valor amb una longitud vàlida', + less: 'Si us plau introdueix menys de %s caràcters', + more: 'Si us plau introdueix més de %s caràcters', + }, + uri: { + default: 'Si us plau introdueix una URI vàlida', + }, + uuid: { + default: 'Si us plau introdueix un nom UUID vàlid', + version: 'Si us plau introdueix una versió UUID vàlida per %s', + }, + vat: { + countries: { + AT: 'Àustria', + BE: 'Bèlgica', + BG: 'Bulgària', + BR: 'Brasil', + CH: 'Suïssa', + CY: 'Xipre', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + EE: 'Estònia', + EL: 'Grècia', + ES: 'Espanya', + FI: 'Finlàndia', + FR: 'França', + GB: 'Regne Unit', + GR: 'Grècia', + HR: 'Croàcia', + HU: 'Hongria', + IE: 'Irlanda', + IS: 'Islàndia', + IT: 'Itàlia', + LT: 'Lituània', + LU: 'Luxemburg', + LV: 'Letònia', + MT: 'Malta', + NL: 'Països Baixos', + NO: 'Noruega', + PL: 'Polònia', + PT: 'Portugal', + RO: 'Romania', + RS: 'Sèrbia', + RU: 'Rússia', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + VE: 'Veneçuela', + ZA: 'Sud-àfrica', + }, + country: "Si us plau introdueix una quantitat d' IVA vàlida a %s", + default: "Si us plau introdueix una quantitat d'IVA vàlida", + }, + vin: { + default: 'Si us plau introdueix un nombre VIN vàlid', + }, + zipCode: { + countries: { + AT: 'Àustria', + BG: 'Bulgària', + BR: 'Brasil', + CA: 'Canadà', + CH: 'Suïssa', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + ES: 'Espanya', + FR: 'França', + GB: 'Rege Unit', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itàlia', + MA: 'Marroc', + NL: 'Països Baixos', + PL: 'Polònia', + PT: 'Portugal', + RO: 'Romania', + RU: 'Rússia', + SE: 'Suècia', + SG: 'Singapur', + SK: 'Eslovàquia', + US: 'Estats Units', + }, + country: 'Si us plau introdueix un codi postal vàlid a %s', + default: 'Si us plau introdueix un codi postal vàlid', + }, + }; + + return ca_ES; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ca_ES.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ca_ES.min.js new file mode 100644 index 0000000..188a436 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ca_ES.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ca_ES=factory())})(this,(function(){"use strict";var ca_ES={base64:{default:"Si us plau introdueix un valor vàlid en base 64"},between:{default:"Si us plau introdueix un valor entre %s i %s",notInclusive:"Si us plau introdueix un valor comprès entre %s i %s"},bic:{default:"Si us plau introdueix un nombre BIC vàlid"},callback:{default:"Si us plau introdueix un valor vàlid"},choice:{between:"Si us plau escull entre %s i %s opcions",default:"Si us plau introdueix un valor vàlid",less:"Si us plau escull %s opcions com a mínim",more:"Si us plau escull %s opcions com a màxim"},color:{default:"Si us plau introdueix un color vàlid"},creditCard:{default:"Si us plau introdueix un nombre vàlid de targeta de crèdit"},cusip:{default:"Si us plau introdueix un nombre CUSIP vàlid"},date:{default:"Si us plau introdueix una data vàlida",max:"Si us plau introdueix una data anterior %s",min:"Si us plau introdueix una data posterior a %s",range:"Si us plau introdueix una data compresa entre %s i %s"},different:{default:"Si us plau introdueix un valor diferent"},digits:{default:"Si us plau introdueix només dígits"},ean:{default:"Si us plau introdueix un nombre EAN vàlid"},ein:{default:"Si us plau introdueix un nombre EIN vàlid"},emailAddress:{default:"Si us plau introdueix una adreça electrònica vàlida"},file:{default:"Si us plau selecciona un arxiu vàlid"},greaterThan:{default:"Si us plau introdueix un valor més gran o igual a %s",notInclusive:"Si us plau introdueix un valor més gran que %s"},grid:{default:"Si us plau introdueix un nombre GRId vàlid"},hex:{default:"Si us plau introdueix un valor hexadecimal vàlid"},iban:{countries:{AD:"Andorra",AE:"Emirats Àrabs Units",AL:"Albània",AO:"Angola",AT:"Àustria",AZ:"Azerbaidjan",BA:"Bòsnia i Hercegovina",BE:"Bèlgica",BF:"Burkina Faso",BG:"Bulgària",BH:"Bahrain",BI:"Burundi",BJ:"Benín",BR:"Brasil",CH:"Suïssa",CI:"Costa d'Ivori",CM:"Camerun",CR:"Costa Rica",CV:"Cap Verd",CY:"Xipre",CZ:"República Txeca",DE:"Alemanya",DK:"Dinamarca",DO:"República Dominicana",DZ:"Algèria",EE:"Estònia",ES:"Espanya",FI:"Finlàndia",FO:"Illes Fèroe",FR:"França",GB:"Regne Unit",GE:"Geòrgia",GI:"Gibraltar",GL:"Grenlàndia",GR:"Grècia",GT:"Guatemala",HR:"Croàcia",HU:"Hongria",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islàndia",IT:"Itàlia",JO:"Jordània",KW:"Kuwait",KZ:"Kazajistán",LB:"Líban",LI:"Liechtenstein",LT:"Lituània",LU:"Luxemburg",LV:"Letònia",MC:"Mònaco",MD:"Moldàvia",ME:"Montenegro",MG:"Madagascar",MK:"Macedònia",ML:"Malo",MR:"Mauritània",MT:"Malta",MU:"Maurici",MZ:"Moçambic",NL:"Països Baixos",NO:"Noruega",PK:"Pakistan",PL:"Polònia",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Sèrbia",SA:"Aràbia Saudita",SE:"Suècia",SI:"Eslovènia",SK:"Eslovàquia",SM:"San Marino",SN:"Senegal",TL:"Timor Oriental",TN:"Tunísia",TR:"Turquia",VG:"Illes Verges Britàniques",XK:"República de Kosovo"},country:"Si us plau introdueix un nombre IBAN vàlid a %s",default:"Si us plau introdueix un nombre IBAN vàlid"},id:{countries:{BA:"Bòsnia i Hercegovina",BG:"Bulgària",BR:"Brasil",CH:"Suïssa",CL:"Xile",CN:"Xina",CZ:"República Checa",DK:"Dinamarca",EE:"Estònia",ES:"Espanya",FI:"Finlpandia",HR:"Cropàcia",IE:"Irlanda",IS:"Islàndia",LT:"Lituania",LV:"Letònia",ME:"Montenegro",MK:"Macedònia",NL:"Països Baixos",PL:"Polònia",RO:"Romania",RS:"Sèrbia",SE:"Suècia",SI:"Eslovènia",SK:"Eslovàquia",SM:"San Marino",TH:"Tailàndia",TR:"Turquia",ZA:"Sud-àfrica"},country:"Si us plau introdueix un nombre d'identificació vàlid a %s",default:"Si us plau introdueix un nombre d'identificació vàlid"},identical:{default:"Si us plau introdueix exactament el mateix valor"},imei:{default:"Si us plau introdueix un nombre IMEI vàlid"},imo:{default:"Si us plau introdueix un nombre IMO vàlid"},integer:{default:"Si us plau introdueix un nombre vàlid"},ip:{default:"Si us plau introdueix una direcció IP vàlida",ipv4:"Si us plau introdueix una direcció IPV4 vàlida",ipv6:"Si us plau introdueix una direcció IPV6 vàlida"},isbn:{default:"Si us plau introdueix un nombre ISBN vàlid"},isin:{default:"Si us plau introdueix un nombre ISIN vàlid"},ismn:{default:"Si us plau introdueix un nombre ISMN vàlid"},issn:{default:"Si us plau introdueix un nombre ISSN vàlid"},lessThan:{default:"Si us plau introdueix un valor menor o igual a %s",notInclusive:"Si us plau introdueix un valor menor que %s"},mac:{default:"Si us plau introdueix una adreça MAC vàlida"},meid:{default:"Si us plau introdueix nombre MEID vàlid"},notEmpty:{default:"Si us plau introdueix un valor"},numeric:{default:"Si us plau introdueix un nombre decimal vàlid"},phone:{countries:{AE:"Emirats Àrabs Units",BG:"Bulgària",BR:"Brasil",CN:"Xina",CZ:"República Checa",DE:"Alemanya",DK:"Dinamarca",ES:"Espanya",FR:"França",GB:"Regne Unit",IN:"Índia",MA:"Marroc",NL:"Països Baixos",PK:"Pakistan",RO:"Romania",RU:"Rússia",SK:"Eslovàquia",TH:"Tailàndia",US:"Estats Units",VE:"Veneçuela"},country:"Si us plau introdueix un telèfon vàlid a %s",default:"Si us plau introdueix un telèfon vàlid"},promise:{default:"Si us plau introdueix un valor vàlid"},regexp:{default:"Si us plau introdueix un valor que coincideixi amb el patró"},remote:{default:"Si us plau introdueix un valor vàlid"},rtn:{default:"Si us plau introdueix un nombre RTN vàlid"},sedol:{default:"Si us plau introdueix un nombre SEDOL vàlid"},siren:{default:"Si us plau introdueix un nombre SIREN vàlid"},siret:{default:"Si us plau introdueix un nombre SIRET vàlid"},step:{default:"Si us plau introdueix un pas vàlid de %s"},stringCase:{default:"Si us plau introdueix només caràcters en minúscula",upper:"Si us plau introdueix només caràcters en majúscula"},stringLength:{between:"Si us plau introdueix un valor amb una longitud compresa entre %s i %s caràcters",default:"Si us plau introdueix un valor amb una longitud vàlida",less:"Si us plau introdueix menys de %s caràcters",more:"Si us plau introdueix més de %s caràcters"},uri:{default:"Si us plau introdueix una URI vàlida"},uuid:{default:"Si us plau introdueix un nom UUID vàlid",version:"Si us plau introdueix una versió UUID vàlida per %s"},vat:{countries:{AT:"Àustria",BE:"Bèlgica",BG:"Bulgària",BR:"Brasil",CH:"Suïssa",CY:"Xipre",CZ:"República Checa",DE:"Alemanya",DK:"Dinamarca",EE:"Estònia",EL:"Grècia",ES:"Espanya",FI:"Finlàndia",FR:"França",GB:"Regne Unit",GR:"Grècia",HR:"Croàcia",HU:"Hongria",IE:"Irlanda",IS:"Islàndia",IT:"Itàlia",LT:"Lituània",LU:"Luxemburg",LV:"Letònia",MT:"Malta",NL:"Països Baixos",NO:"Noruega",PL:"Polònia",PT:"Portugal",RO:"Romania",RS:"Sèrbia",RU:"Rússia",SE:"Suècia",SI:"Eslovènia",SK:"Eslovàquia",VE:"Veneçuela",ZA:"Sud-àfrica"},country:"Si us plau introdueix una quantitat d' IVA vàlida a %s",default:"Si us plau introdueix una quantitat d'IVA vàlida"},vin:{default:"Si us plau introdueix un nombre VIN vàlid"},zipCode:{countries:{AT:"Àustria",BG:"Bulgària",BR:"Brasil",CA:"Canadà",CH:"Suïssa",CZ:"República Checa",DE:"Alemanya",DK:"Dinamarca",ES:"Espanya",FR:"França",GB:"Rege Unit",IE:"Irlanda",IN:"Índia",IT:"Itàlia",MA:"Marroc",NL:"Països Baixos",PL:"Polònia",PT:"Portugal",RO:"Romania",RU:"Rússia",SE:"Suècia",SG:"Singapur",SK:"Eslovàquia",US:"Estats Units"},country:"Si us plau introdueix un codi postal vàlid a %s",default:"Si us plau introdueix un codi postal vàlid"}};return ca_ES})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/cs_CZ.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/cs_CZ.js new file mode 100644 index 0000000..853238a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/cs_CZ.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.cs_CZ = factory())); +})(this, (function () { 'use strict'; + + /** + * Czech language package + * Translated by @AdwinTrave. Improved by @cuchac, @budik21 + */ + + var cs_CZ = { + base64: { + default: 'Prosím zadejte správný base64', + }, + between: { + default: 'Prosím zadejte hodnotu mezi %s a %s', + notInclusive: 'Prosím zadejte hodnotu mezi %s a %s (včetně těchto čísel)', + }, + bic: { + default: 'Prosím zadejte správné BIC číslo', + }, + callback: { + default: 'Prosím zadejte správnou hodnotu', + }, + choice: { + between: 'Prosím vyberte mezi %s a %s', + default: 'Prosím vyberte správnou hodnotu', + less: 'Hodnota musí být minimálně %s', + more: 'Hodnota nesmí být více jak %s', + }, + color: { + default: 'Prosím zadejte správnou barvu', + }, + creditCard: { + default: 'Prosím zadejte správné číslo kreditní karty', + }, + cusip: { + default: 'Prosím zadejte správné CUSIP číslo', + }, + date: { + default: 'Prosím zadejte správné datum', + max: 'Prosím zadejte datum po %s', + min: 'Prosím zadejte datum před %s', + range: 'Prosím zadejte datum v rozmezí %s až %s', + }, + different: { + default: 'Prosím zadejte jinou hodnotu', + }, + digits: { + default: 'Toto pole může obsahovat pouze čísla', + }, + ean: { + default: 'Prosím zadejte správné EAN číslo', + }, + ein: { + default: 'Prosím zadejte správné EIN číslo', + }, + emailAddress: { + default: 'Prosím zadejte správnou emailovou adresu', + }, + file: { + default: 'Prosím vyberte soubor', + }, + greaterThan: { + default: 'Prosím zadejte hodnotu větší nebo rovnu %s', + notInclusive: 'Prosím zadejte hodnotu větší než %s', + }, + grid: { + default: 'Prosím zadejte správné GRId číslo', + }, + hex: { + default: 'Prosím zadejte správné hexadecimální číslo', + }, + iban: { + countries: { + AD: 'Andorru', + AE: 'Spojené arabské emiráty', + AL: 'Albanii', + AO: 'Angolu', + AT: 'Rakousko', + AZ: 'Ázerbajdžán', + BA: 'Bosnu a Herzegovinu', + BE: 'Belgii', + BF: 'Burkinu Faso', + BG: 'Bulharsko', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazílii', + CH: 'Švýcarsko', + CI: 'Pobřeží slonoviny', + CM: 'Kamerun', + CR: 'Kostariku', + CV: 'Cape Verde', + CY: 'Kypr', + CZ: 'Českou republiku', + DE: 'Německo', + DK: 'Dánsko', + DO: 'Dominikánskou republiku', + DZ: 'Alžírsko', + EE: 'Estonsko', + ES: 'Španělsko', + FI: 'Finsko', + FO: 'Faerské ostrovy', + FR: 'Francie', + GB: 'Velkou Británii', + GE: 'Gruzii', + GI: 'Gibraltar', + GL: 'Grónsko', + GR: 'Řecko', + GT: 'Guatemalu', + HR: 'Chorvatsko', + HU: 'Maďarsko', + IE: 'Irsko', + IL: 'Israel', + IR: 'Irán', + IS: 'Island', + IT: 'Itálii', + JO: 'Jordansko', + KW: 'Kuwait', + KZ: 'Kazachstán', + LB: 'Libanon', + LI: 'Lichtenštejnsko', + LT: 'Litvu', + LU: 'Lucembursko', + LV: 'Lotyšsko', + MC: 'Monaco', + MD: 'Moldavsko', + ME: 'Černou Horu', + MG: 'Madagaskar', + MK: 'Makedonii', + ML: 'Mali', + MR: 'Mauritánii', + MT: 'Maltu', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Nizozemsko', + NO: 'Norsko', + PK: 'Pakistán', + PL: 'Polsko', + PS: 'Palestinu', + PT: 'Portugalsko', + QA: 'Katar', + RO: 'Rumunsko', + RS: 'Srbsko', + SA: 'Saudskou Arábii', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Východní Timor', + TN: 'Tunisko', + TR: 'Turecko', + VG: 'Britské Panenské ostrovy', + XK: 'Republic of Kosovo', + }, + country: 'Prosím zadejte správné IBAN číslo pro %s', + default: 'Prosím zadejte správné IBAN číslo', + }, + id: { + countries: { + BA: 'Bosnu a Hercegovinu', + BG: 'Bulharsko', + BR: 'Brazílii', + CH: 'Švýcarsko', + CL: 'Chile', + CN: 'Čínu', + CZ: 'Českou Republiku', + DK: 'Dánsko', + EE: 'Estonsko', + ES: 'Španělsko', + FI: 'Finsko', + HR: 'Chorvatsko', + IE: 'Irsko', + IS: 'Island', + LT: 'Litvu', + LV: 'Lotyšsko', + ME: 'Černou horu', + MK: 'Makedonii', + NL: 'Nizozemí', + PL: 'Polsko', + RO: 'Rumunsko', + RS: 'Srbsko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + TH: 'Thajsko', + TR: 'Turecko', + ZA: 'Jižní Afriku', + }, + country: 'Prosím zadejte správné rodné číslo pro %s', + default: 'Prosím zadejte správné rodné číslo', + }, + identical: { + default: 'Prosím zadejte stejnou hodnotu', + }, + imei: { + default: 'Prosím zadejte správné IMEI číslo', + }, + imo: { + default: 'Prosím zadejte správné IMO číslo', + }, + integer: { + default: 'Prosím zadejte celé číslo', + }, + ip: { + default: 'Prosím zadejte správnou IP adresu', + ipv4: 'Prosím zadejte správnou IPv4 adresu', + ipv6: 'Prosím zadejte správnou IPv6 adresu', + }, + isbn: { + default: 'Prosím zadejte správné ISBN číslo', + }, + isin: { + default: 'Prosím zadejte správné ISIN číslo', + }, + ismn: { + default: 'Prosím zadejte správné ISMN číslo', + }, + issn: { + default: 'Prosím zadejte správné ISSN číslo', + }, + lessThan: { + default: 'Prosím zadejte hodnotu menší nebo rovno %s', + notInclusive: 'Prosím zadejte hodnotu menčí než %s', + }, + mac: { + default: 'Prosím zadejte správnou MAC adresu', + }, + meid: { + default: 'Prosím zadejte správné MEID číslo', + }, + notEmpty: { + default: 'Toto pole nesmí být prázdné', + }, + numeric: { + default: 'Prosím zadejte číselnou hodnotu', + }, + phone: { + countries: { + AE: 'Spojené arabské emiráty', + BG: 'Bulharsko', + BR: 'Brazílii', + CN: 'Čínu', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + ES: 'Španělsko', + FR: 'Francii', + GB: 'Velkou Británii', + IN: 'Indie', + MA: 'Maroko', + NL: 'Nizozemsko', + PK: 'Pákistán', + RO: 'Rumunsko', + RU: 'Rusko', + SK: 'Slovensko', + TH: 'Thajsko', + US: 'Spojené Státy Americké', + VE: 'Venezuelu', + }, + country: 'Prosím zadejte správné telefoní číslo pro %s', + default: 'Prosím zadejte správné telefoní číslo', + }, + promise: { + default: 'Prosím zadejte správnou hodnotu', + }, + regexp: { + default: 'Prosím zadejte hodnotu splňující zadání', + }, + remote: { + default: 'Prosím zadejte správnou hodnotu', + }, + rtn: { + default: 'Prosím zadejte správné RTN číslo', + }, + sedol: { + default: 'Prosím zadejte správné SEDOL číslo', + }, + siren: { + default: 'Prosím zadejte správné SIREN číslo', + }, + siret: { + default: 'Prosím zadejte správné SIRET číslo', + }, + step: { + default: 'Prosím zadejte správný krok %s', + }, + stringCase: { + default: 'Pouze malá písmena jsou povoleny v tomto poli', + upper: 'Pouze velké písmena jsou povoleny v tomto poli', + }, + stringLength: { + between: 'Prosím zadejte hodnotu mezi %s a %s znaky', + default: 'Toto pole nesmí být prázdné', + less: 'Prosím zadejte hodnotu menší než %s znaků', + more: 'Prosím zadajte hodnotu dlhšiu ako %s znakov', + }, + uri: { + default: 'Prosím zadejte správnou URI', + }, + uuid: { + default: 'Prosím zadejte správné UUID číslo', + version: 'Prosím zadejte správné UUID verze %s', + }, + vat: { + countries: { + AT: 'Rakousko', + BE: 'Belgii', + BG: 'Bulharsko', + BR: 'Brazílii', + CH: 'Švýcarsko', + CY: 'Kypr', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + EE: 'Estonsko', + EL: 'Řecko', + ES: 'Španělsko', + FI: 'Finsko', + FR: 'Francii', + GB: 'Velkou Británii', + GR: 'Řecko', + HR: 'Chorvatsko', + HU: 'Maďarsko', + IE: 'Irsko', + IS: 'Island', + IT: 'Itálii', + LT: 'Litvu', + LU: 'Lucembursko', + LV: 'Lotyšsko', + MT: 'Maltu', + NL: 'Nizozemí', + NO: 'Norsko', + PL: 'Polsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RS: 'Srbsko', + RU: 'Rusko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + VE: 'Venezuelu', + ZA: 'Jižní Afriku', + }, + country: 'Prosím zadejte správné VAT číslo pro %s', + default: 'Prosím zadejte správné VAT číslo', + }, + vin: { + default: 'Prosím zadejte správné VIN číslo', + }, + zipCode: { + countries: { + AT: 'Rakousko', + BG: 'Bulharsko', + BR: 'Brazílie', + CA: 'Kanadu', + CH: 'Švýcarsko', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + ES: 'Španělsko', + FR: 'Francii', + GB: 'Velkou Británii', + IE: 'Irsko', + IN: 'Indie', + IT: 'Itálii', + MA: 'Maroko', + NL: 'Nizozemí', + PL: 'Polsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RU: 'Rusko', + SE: 'Švédsko', + SG: 'Singapur', + SK: 'Slovensko', + US: 'Spojené Státy Americké', + }, + country: 'Prosím zadejte správné PSČ pro %s', + default: 'Prosím zadejte správné PSČ', + }, + }; + + return cs_CZ; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/cs_CZ.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/cs_CZ.min.js new file mode 100644 index 0000000..94b6da5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/cs_CZ.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.cs_CZ=factory())})(this,(function(){"use strict";var cs_CZ={base64:{default:"Prosím zadejte správný base64"},between:{default:"Prosím zadejte hodnotu mezi %s a %s",notInclusive:"Prosím zadejte hodnotu mezi %s a %s (včetně těchto čísel)"},bic:{default:"Prosím zadejte správné BIC číslo"},callback:{default:"Prosím zadejte správnou hodnotu"},choice:{between:"Prosím vyberte mezi %s a %s",default:"Prosím vyberte správnou hodnotu",less:"Hodnota musí být minimálně %s",more:"Hodnota nesmí být více jak %s"},color:{default:"Prosím zadejte správnou barvu"},creditCard:{default:"Prosím zadejte správné číslo kreditní karty"},cusip:{default:"Prosím zadejte správné CUSIP číslo"},date:{default:"Prosím zadejte správné datum",max:"Prosím zadejte datum po %s",min:"Prosím zadejte datum před %s",range:"Prosím zadejte datum v rozmezí %s až %s"},different:{default:"Prosím zadejte jinou hodnotu"},digits:{default:"Toto pole může obsahovat pouze čísla"},ean:{default:"Prosím zadejte správné EAN číslo"},ein:{default:"Prosím zadejte správné EIN číslo"},emailAddress:{default:"Prosím zadejte správnou emailovou adresu"},file:{default:"Prosím vyberte soubor"},greaterThan:{default:"Prosím zadejte hodnotu větší nebo rovnu %s",notInclusive:"Prosím zadejte hodnotu větší než %s"},grid:{default:"Prosím zadejte správné GRId číslo"},hex:{default:"Prosím zadejte správné hexadecimální číslo"},iban:{countries:{AD:"Andorru",AE:"Spojené arabské emiráty",AL:"Albanii",AO:"Angolu",AT:"Rakousko",AZ:"Ázerbajdžán",BA:"Bosnu a Herzegovinu",BE:"Belgii",BF:"Burkinu Faso",BG:"Bulharsko",BH:"Bahrajn",BI:"Burundi",BJ:"Benin",BR:"Brazílii",CH:"Švýcarsko",CI:"Pobřeží slonoviny",CM:"Kamerun",CR:"Kostariku",CV:"Cape Verde",CY:"Kypr",CZ:"Českou republiku",DE:"Německo",DK:"Dánsko",DO:"Dominikánskou republiku",DZ:"Alžírsko",EE:"Estonsko",ES:"Španělsko",FI:"Finsko",FO:"Faerské ostrovy",FR:"Francie",GB:"Velkou Británii",GE:"Gruzii",GI:"Gibraltar",GL:"Grónsko",GR:"Řecko",GT:"Guatemalu",HR:"Chorvatsko",HU:"Maďarsko",IE:"Irsko",IL:"Israel",IR:"Irán",IS:"Island",IT:"Itálii",JO:"Jordansko",KW:"Kuwait",KZ:"Kazachstán",LB:"Libanon",LI:"Lichtenštejnsko",LT:"Litvu",LU:"Lucembursko",LV:"Lotyšsko",MC:"Monaco",MD:"Moldavsko",ME:"Černou Horu",MG:"Madagaskar",MK:"Makedonii",ML:"Mali",MR:"Mauritánii",MT:"Maltu",MU:"Mauritius",MZ:"Mosambik",NL:"Nizozemsko",NO:"Norsko",PK:"Pakistán",PL:"Polsko",PS:"Palestinu",PT:"Portugalsko",QA:"Katar",RO:"Rumunsko",RS:"Srbsko",SA:"Saudskou Arábii",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",SN:"Senegal",TL:"Východní Timor",TN:"Tunisko",TR:"Turecko",VG:"Britské Panenské ostrovy",XK:"Republic of Kosovo"},country:"Prosím zadejte správné IBAN číslo pro %s",default:"Prosím zadejte správné IBAN číslo"},id:{countries:{BA:"Bosnu a Hercegovinu",BG:"Bulharsko",BR:"Brazílii",CH:"Švýcarsko",CL:"Chile",CN:"Čínu",CZ:"Českou Republiku",DK:"Dánsko",EE:"Estonsko",ES:"Španělsko",FI:"Finsko",HR:"Chorvatsko",IE:"Irsko",IS:"Island",LT:"Litvu",LV:"Lotyšsko",ME:"Černou horu",MK:"Makedonii",NL:"Nizozemí",PL:"Polsko",RO:"Rumunsko",RS:"Srbsko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",TH:"Thajsko",TR:"Turecko",ZA:"Jižní Afriku"},country:"Prosím zadejte správné rodné číslo pro %s",default:"Prosím zadejte správné rodné číslo"},identical:{default:"Prosím zadejte stejnou hodnotu"},imei:{default:"Prosím zadejte správné IMEI číslo"},imo:{default:"Prosím zadejte správné IMO číslo"},integer:{default:"Prosím zadejte celé číslo"},ip:{default:"Prosím zadejte správnou IP adresu",ipv4:"Prosím zadejte správnou IPv4 adresu",ipv6:"Prosím zadejte správnou IPv6 adresu"},isbn:{default:"Prosím zadejte správné ISBN číslo"},isin:{default:"Prosím zadejte správné ISIN číslo"},ismn:{default:"Prosím zadejte správné ISMN číslo"},issn:{default:"Prosím zadejte správné ISSN číslo"},lessThan:{default:"Prosím zadejte hodnotu menší nebo rovno %s",notInclusive:"Prosím zadejte hodnotu menčí než %s"},mac:{default:"Prosím zadejte správnou MAC adresu"},meid:{default:"Prosím zadejte správné MEID číslo"},notEmpty:{default:"Toto pole nesmí být prázdné"},numeric:{default:"Prosím zadejte číselnou hodnotu"},phone:{countries:{AE:"Spojené arabské emiráty",BG:"Bulharsko",BR:"Brazílii",CN:"Čínu",CZ:"Českou Republiku",DE:"Německo",DK:"Dánsko",ES:"Španělsko",FR:"Francii",GB:"Velkou Británii",IN:"Indie",MA:"Maroko",NL:"Nizozemsko",PK:"Pákistán",RO:"Rumunsko",RU:"Rusko",SK:"Slovensko",TH:"Thajsko",US:"Spojené Státy Americké",VE:"Venezuelu"},country:"Prosím zadejte správné telefoní číslo pro %s",default:"Prosím zadejte správné telefoní číslo"},promise:{default:"Prosím zadejte správnou hodnotu"},regexp:{default:"Prosím zadejte hodnotu splňující zadání"},remote:{default:"Prosím zadejte správnou hodnotu"},rtn:{default:"Prosím zadejte správné RTN číslo"},sedol:{default:"Prosím zadejte správné SEDOL číslo"},siren:{default:"Prosím zadejte správné SIREN číslo"},siret:{default:"Prosím zadejte správné SIRET číslo"},step:{default:"Prosím zadejte správný krok %s"},stringCase:{default:"Pouze malá písmena jsou povoleny v tomto poli",upper:"Pouze velké písmena jsou povoleny v tomto poli"},stringLength:{between:"Prosím zadejte hodnotu mezi %s a %s znaky",default:"Toto pole nesmí být prázdné",less:"Prosím zadejte hodnotu menší než %s znaků",more:"Prosím zadajte hodnotu dlhšiu ako %s znakov"},uri:{default:"Prosím zadejte správnou URI"},uuid:{default:"Prosím zadejte správné UUID číslo",version:"Prosím zadejte správné UUID verze %s"},vat:{countries:{AT:"Rakousko",BE:"Belgii",BG:"Bulharsko",BR:"Brazílii",CH:"Švýcarsko",CY:"Kypr",CZ:"Českou Republiku",DE:"Německo",DK:"Dánsko",EE:"Estonsko",EL:"Řecko",ES:"Španělsko",FI:"Finsko",FR:"Francii",GB:"Velkou Británii",GR:"Řecko",HR:"Chorvatsko",HU:"Maďarsko",IE:"Irsko",IS:"Island",IT:"Itálii",LT:"Litvu",LU:"Lucembursko",LV:"Lotyšsko",MT:"Maltu",NL:"Nizozemí",NO:"Norsko",PL:"Polsko",PT:"Portugalsko",RO:"Rumunsko",RS:"Srbsko",RU:"Rusko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",VE:"Venezuelu",ZA:"Jižní Afriku"},country:"Prosím zadejte správné VAT číslo pro %s",default:"Prosím zadejte správné VAT číslo"},vin:{default:"Prosím zadejte správné VIN číslo"},zipCode:{countries:{AT:"Rakousko",BG:"Bulharsko",BR:"Brazílie",CA:"Kanadu",CH:"Švýcarsko",CZ:"Českou Republiku",DE:"Německo",DK:"Dánsko",ES:"Španělsko",FR:"Francii",GB:"Velkou Británii",IE:"Irsko",IN:"Indie",IT:"Itálii",MA:"Maroko",NL:"Nizozemí",PL:"Polsko",PT:"Portugalsko",RO:"Rumunsko",RU:"Rusko",SE:"Švédsko",SG:"Singapur",SK:"Slovensko",US:"Spojené Státy Americké"},country:"Prosím zadejte správné PSČ pro %s",default:"Prosím zadejte správné PSČ"}};return cs_CZ})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/da_DK.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/da_DK.js new file mode 100644 index 0000000..73af662 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/da_DK.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.da_DK = factory())); +})(this, (function () { 'use strict'; + + /** + * Danish language package + * Translated by @Djarnis + */ + + var da_DK = { + base64: { + default: 'Udfyld venligst dette felt med en gyldig base64-kodet værdi', + }, + between: { + default: 'Udfyld venligst dette felt med en værdi mellem %s og %s', + notInclusive: 'Indtast venligst kun en værdi mellem %s og %s', + }, + bic: { + default: 'Udfyld venligst dette felt med et gyldigt BIC-nummer', + }, + callback: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + choice: { + between: 'Vælg venligst %s - %s valgmuligheder', + default: 'Udfyld venligst dette felt med en gyldig værdi', + less: 'Vælg venligst mindst %s valgmuligheder', + more: 'Vælg venligst højst %s valgmuligheder', + }, + color: { + default: 'Udfyld venligst dette felt med en gyldig farve', + }, + creditCard: { + default: 'Udfyld venligst dette felt med et gyldigt kreditkort-nummer', + }, + cusip: { + default: 'Udfyld venligst dette felt med et gyldigt CUSIP-nummer', + }, + date: { + default: 'Udfyld venligst dette felt med en gyldig dato', + max: 'Angiv venligst en dato før %s', + min: 'Angiv venligst en dato efter %s', + range: 'Angiv venligst en dato mellem %s - %s', + }, + different: { + default: 'Udfyld venligst dette felt med en anden værdi', + }, + digits: { + default: 'Indtast venligst kun cifre', + }, + ean: { + default: 'Udfyld venligst dette felt med et gyldigt EAN-nummer', + }, + ein: { + default: 'Udfyld venligst dette felt med et gyldigt EIN-nummer', + }, + emailAddress: { + default: 'Udfyld venligst dette felt med en gyldig e-mail-adresse', + }, + file: { + default: 'Vælg venligst en gyldig fil', + }, + greaterThan: { + default: 'Udfyld venligst dette felt med en værdi større eller lig med %s', + notInclusive: 'Udfyld venligst dette felt med en værdi større end %s', + }, + grid: { + default: 'Udfyld venligst dette felt med et gyldigt GRId-nummer', + }, + hex: { + default: 'Udfyld venligst dette felt med et gyldigt hexadecimal-nummer', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'De Forenede Arabiske Emirater', + AL: 'Albanien', + AO: 'Angola', + AT: 'Østrig', + AZ: 'Aserbajdsjan', + BA: 'Bosnien-Hercegovina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbenskysten', + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Kap Verde', + CY: 'Cypern', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Den Dominikanske Republik', + DZ: 'Algeriet', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + FO: 'Færøerne', + FR: 'Frankrig', + GB: 'Storbritannien', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grønland', + GR: 'Grækenland', + GT: 'Guatemala', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kasakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Holland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palæstina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Rumænien', + RS: 'Serbien', + SA: 'Saudi-Arabien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Østtimor', + TN: 'Tunesien', + TR: 'Tyrkiet', + VG: 'Britiske Jomfruøer', + XK: 'Kosovo', + }, + country: 'Udfyld venligst dette felt med et gyldigt IBAN-nummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien-Hercegovina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tjekkiet', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Makedonien', + NL: 'Holland', + PL: 'Polen', + RO: 'Rumænien', + RS: 'Serbien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Tyrkiet', + ZA: 'Sydafrika', + }, + country: 'Udfyld venligst dette felt med et gyldigt identifikations-nummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt identifikations-nummer', + }, + identical: { + default: 'Udfyld venligst dette felt med den samme værdi', + }, + imei: { + default: 'Udfyld venligst dette felt med et gyldigt IMEI-nummer', + }, + imo: { + default: 'Udfyld venligst dette felt med et gyldigt IMO-nummer', + }, + integer: { + default: 'Udfyld venligst dette felt med et gyldigt tal', + }, + ip: { + default: 'Udfyld venligst dette felt med en gyldig IP adresse', + ipv4: 'Udfyld venligst dette felt med en gyldig IPv4 adresse', + ipv6: 'Udfyld venligst dette felt med en gyldig IPv6 adresse', + }, + isbn: { + default: 'Udfyld venligst dette felt med et gyldigt ISBN-nummer', + }, + isin: { + default: 'Udfyld venligst dette felt med et gyldigt ISIN-nummer', + }, + ismn: { + default: 'Udfyld venligst dette felt med et gyldigt ISMN-nummer', + }, + issn: { + default: 'Udfyld venligst dette felt med et gyldigt ISSN-nummer', + }, + lessThan: { + default: 'Udfyld venligst dette felt med en værdi mindre eller lig med %s', + notInclusive: 'Udfyld venligst dette felt med en værdi mindre end %s', + }, + mac: { + default: 'Udfyld venligst dette felt med en gyldig MAC adresse', + }, + meid: { + default: 'Udfyld venligst dette felt med et gyldigt MEID-nummer', + }, + notEmpty: { + default: 'Udfyld venligst dette felt', + }, + numeric: { + default: 'Udfyld venligst dette felt med et gyldigt flydende decimaltal', + }, + phone: { + countries: { + AE: 'De Forenede Arabiske Emirater', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'Kina', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrig', + GB: 'Storbritannien', + IN: 'Indien', + MA: 'Marokko', + NL: 'Holland', + PK: 'Pakistan', + RO: 'Rumænien', + RU: 'Rusland', + SK: 'Slovakiet', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Udfyld venligst dette felt med et gyldigt telefonnummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt telefonnummer', + }, + promise: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + regexp: { + default: 'Udfyld venligst dette felt med en værdi der matcher mønsteret', + }, + remote: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + rtn: { + default: 'Udfyld venligst dette felt med et gyldigt RTN-nummer', + }, + sedol: { + default: 'Udfyld venligst dette felt med et gyldigt SEDOL-nummer', + }, + siren: { + default: 'Udfyld venligst dette felt med et gyldigt SIREN-nummer', + }, + siret: { + default: 'Udfyld venligst dette felt med et gyldigt SIRET-nummer', + }, + step: { + default: 'Udfyld venligst dette felt med et gyldigt trin af %s', + }, + stringCase: { + default: 'Udfyld venligst kun dette felt med små bogstaver', + upper: 'Udfyld venligst kun dette felt med store bogstaver', + }, + stringLength: { + between: 'Udfyld venligst dette felt med en værdi mellem %s og %s tegn', + default: 'Udfyld venligst dette felt med en værdi af gyldig længde', + less: 'Udfyld venligst dette felt med mindre end %s tegn', + more: 'Udfyld venligst dette felt med mere end %s tegn', + }, + uri: { + default: 'Udfyld venligst dette felt med en gyldig URI', + }, + uuid: { + default: 'Udfyld venligst dette felt med et gyldigt UUID-nummer', + version: 'Udfyld venligst dette felt med en gyldig UUID version %s-nummer', + }, + vat: { + countries: { + AT: 'Østrig', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Grækenland', + ES: 'Spanien', + FI: 'Finland', + FR: 'Frankrig', + GB: 'Storbritannien', + GR: 'Grækenland', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Letland', + MT: 'Malta', + NL: 'Holland', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumænien', + RS: 'Serbien', + RU: 'Rusland', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + VE: 'Venezuela', + ZA: 'Sydafrika', + }, + country: 'Udfyld venligst dette felt med et gyldigt moms-nummer i %s', + default: 'Udfyld venligst dette felt med et gyldig moms-nummer', + }, + vin: { + default: 'Udfyld venligst dette felt med et gyldigt VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Østrig', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Canada', + CH: 'Schweiz', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrig', + GB: 'Storbritannien', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marokko', + NL: 'Holland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumænien', + RU: 'Rusland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakiet', + US: 'USA', + }, + country: 'Udfyld venligst dette felt med et gyldigt postnummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt postnummer', + }, + }; + + return da_DK; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/da_DK.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/da_DK.min.js new file mode 100644 index 0000000..ce97a7a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/da_DK.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.da_DK=factory())})(this,(function(){"use strict";var da_DK={base64:{default:"Udfyld venligst dette felt med en gyldig base64-kodet værdi"},between:{default:"Udfyld venligst dette felt med en værdi mellem %s og %s",notInclusive:"Indtast venligst kun en værdi mellem %s og %s"},bic:{default:"Udfyld venligst dette felt med et gyldigt BIC-nummer"},callback:{default:"Udfyld venligst dette felt med en gyldig værdi"},choice:{between:"Vælg venligst %s - %s valgmuligheder",default:"Udfyld venligst dette felt med en gyldig værdi",less:"Vælg venligst mindst %s valgmuligheder",more:"Vælg venligst højst %s valgmuligheder"},color:{default:"Udfyld venligst dette felt med en gyldig farve"},creditCard:{default:"Udfyld venligst dette felt med et gyldigt kreditkort-nummer"},cusip:{default:"Udfyld venligst dette felt med et gyldigt CUSIP-nummer"},date:{default:"Udfyld venligst dette felt med en gyldig dato",max:"Angiv venligst en dato før %s",min:"Angiv venligst en dato efter %s",range:"Angiv venligst en dato mellem %s - %s"},different:{default:"Udfyld venligst dette felt med en anden værdi"},digits:{default:"Indtast venligst kun cifre"},ean:{default:"Udfyld venligst dette felt med et gyldigt EAN-nummer"},ein:{default:"Udfyld venligst dette felt med et gyldigt EIN-nummer"},emailAddress:{default:"Udfyld venligst dette felt med en gyldig e-mail-adresse"},file:{default:"Vælg venligst en gyldig fil"},greaterThan:{default:"Udfyld venligst dette felt med en værdi større eller lig med %s",notInclusive:"Udfyld venligst dette felt med en værdi større end %s"},grid:{default:"Udfyld venligst dette felt med et gyldigt GRId-nummer"},hex:{default:"Udfyld venligst dette felt med et gyldigt hexadecimal-nummer"},iban:{countries:{AD:"Andorra",AE:"De Forenede Arabiske Emirater",AL:"Albanien",AO:"Angola",AT:"Østrig",AZ:"Aserbajdsjan",BA:"Bosnien-Hercegovina",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasilien",CH:"Schweiz",CI:"Elfenbenskysten",CM:"Cameroun",CR:"Costa Rica",CV:"Kap Verde",CY:"Cypern",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",DO:"Den Dominikanske Republik",DZ:"Algeriet",EE:"Estland",ES:"Spanien",FI:"Finland",FO:"Færøerne",FR:"Frankrig",GB:"Storbritannien",GE:"Georgien",GI:"Gibraltar",GL:"Grønland",GR:"Grækenland",GT:"Guatemala",HR:"Kroatien",HU:"Ungarn",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italien",JO:"Jordan",KW:"Kuwait",KZ:"Kasakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litauen",LU:"Luxembourg",LV:"Letland",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagaskar",MK:"Makedonien",ML:"Mali",MR:"Mauretanien",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Holland",NO:"Norge",PK:"Pakistan",PL:"Polen",PS:"Palæstina",PT:"Portugal",QA:"Qatar",RO:"Rumænien",RS:"Serbien",SA:"Saudi-Arabien",SE:"Sverige",SI:"Slovenien",SK:"Slovakiet",SM:"San Marino",SN:"Senegal",TL:"Østtimor",TN:"Tunesien",TR:"Tyrkiet",VG:"Britiske Jomfruøer",XK:"Kosovo"},country:"Udfyld venligst dette felt med et gyldigt IBAN-nummer i %s",default:"Udfyld venligst dette felt med et gyldigt IBAN-nummer"},id:{countries:{BA:"Bosnien-Hercegovina",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CL:"Chile",CN:"Kina",CZ:"Tjekkiet",DK:"Danmark",EE:"Estland",ES:"Spanien",FI:"Finland",HR:"Kroatien",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Letland",ME:"Montenegro",MK:"Makedonien",NL:"Holland",PL:"Polen",RO:"Rumænien",RS:"Serbien",SE:"Sverige",SI:"Slovenien",SK:"Slovakiet",SM:"San Marino",TH:"Thailand",TR:"Tyrkiet",ZA:"Sydafrika"},country:"Udfyld venligst dette felt med et gyldigt identifikations-nummer i %s",default:"Udfyld venligst dette felt med et gyldigt identifikations-nummer"},identical:{default:"Udfyld venligst dette felt med den samme værdi"},imei:{default:"Udfyld venligst dette felt med et gyldigt IMEI-nummer"},imo:{default:"Udfyld venligst dette felt med et gyldigt IMO-nummer"},integer:{default:"Udfyld venligst dette felt med et gyldigt tal"},ip:{default:"Udfyld venligst dette felt med en gyldig IP adresse",ipv4:"Udfyld venligst dette felt med en gyldig IPv4 adresse",ipv6:"Udfyld venligst dette felt med en gyldig IPv6 adresse"},isbn:{default:"Udfyld venligst dette felt med et gyldigt ISBN-nummer"},isin:{default:"Udfyld venligst dette felt med et gyldigt ISIN-nummer"},ismn:{default:"Udfyld venligst dette felt med et gyldigt ISMN-nummer"},issn:{default:"Udfyld venligst dette felt med et gyldigt ISSN-nummer"},lessThan:{default:"Udfyld venligst dette felt med en værdi mindre eller lig med %s",notInclusive:"Udfyld venligst dette felt med en værdi mindre end %s"},mac:{default:"Udfyld venligst dette felt med en gyldig MAC adresse"},meid:{default:"Udfyld venligst dette felt med et gyldigt MEID-nummer"},notEmpty:{default:"Udfyld venligst dette felt"},numeric:{default:"Udfyld venligst dette felt med et gyldigt flydende decimaltal"},phone:{countries:{AE:"De Forenede Arabiske Emirater",BG:"Bulgarien",BR:"Brasilien",CN:"Kina",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrig",GB:"Storbritannien",IN:"Indien",MA:"Marokko",NL:"Holland",PK:"Pakistan",RO:"Rumænien",RU:"Rusland",SK:"Slovakiet",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Udfyld venligst dette felt med et gyldigt telefonnummer i %s",default:"Udfyld venligst dette felt med et gyldigt telefonnummer"},promise:{default:"Udfyld venligst dette felt med en gyldig værdi"},regexp:{default:"Udfyld venligst dette felt med en værdi der matcher mønsteret"},remote:{default:"Udfyld venligst dette felt med en gyldig værdi"},rtn:{default:"Udfyld venligst dette felt med et gyldigt RTN-nummer"},sedol:{default:"Udfyld venligst dette felt med et gyldigt SEDOL-nummer"},siren:{default:"Udfyld venligst dette felt med et gyldigt SIREN-nummer"},siret:{default:"Udfyld venligst dette felt med et gyldigt SIRET-nummer"},step:{default:"Udfyld venligst dette felt med et gyldigt trin af %s"},stringCase:{default:"Udfyld venligst kun dette felt med små bogstaver",upper:"Udfyld venligst kun dette felt med store bogstaver"},stringLength:{between:"Udfyld venligst dette felt med en værdi mellem %s og %s tegn",default:"Udfyld venligst dette felt med en værdi af gyldig længde",less:"Udfyld venligst dette felt med mindre end %s tegn",more:"Udfyld venligst dette felt med mere end %s tegn"},uri:{default:"Udfyld venligst dette felt med en gyldig URI"},uuid:{default:"Udfyld venligst dette felt med et gyldigt UUID-nummer",version:"Udfyld venligst dette felt med en gyldig UUID version %s-nummer"},vat:{countries:{AT:"Østrig",BE:"Belgien",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CY:"Cypern",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",EE:"Estland",EL:"Grækenland",ES:"Spanien",FI:"Finland",FR:"Frankrig",GB:"Storbritannien",GR:"Grækenland",HR:"Kroatien",HU:"Ungarn",IE:"Irland",IS:"Island",IT:"Italien",LT:"Litauen",LU:"Luxembourg",LV:"Letland",MT:"Malta",NL:"Holland",NO:"Norge",PL:"Polen",PT:"Portugal",RO:"Rumænien",RS:"Serbien",RU:"Rusland",SE:"Sverige",SI:"Slovenien",SK:"Slovakiet",VE:"Venezuela",ZA:"Sydafrika"},country:"Udfyld venligst dette felt med et gyldigt moms-nummer i %s",default:"Udfyld venligst dette felt med et gyldig moms-nummer"},vin:{default:"Udfyld venligst dette felt med et gyldigt VIN-nummer"},zipCode:{countries:{AT:"Østrig",BG:"Bulgarien",BR:"Brasilien",CA:"Canada",CH:"Schweiz",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrig",GB:"Storbritannien",IE:"Irland",IN:"Indien",IT:"Italien",MA:"Marokko",NL:"Holland",PL:"Polen",PT:"Portugal",RO:"Rumænien",RU:"Rusland",SE:"Sverige",SG:"Singapore",SK:"Slovakiet",US:"USA"},country:"Udfyld venligst dette felt med et gyldigt postnummer i %s",default:"Udfyld venligst dette felt med et gyldigt postnummer"}};return da_DK})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/de_DE.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/de_DE.js new file mode 100644 index 0000000..84f5526 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/de_DE.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.de_DE = factory())); +})(this, (function () { 'use strict'; + + /** + * German language package + * Translated by @logemann + */ + + var de_DE = { + base64: { + default: 'Bitte eine Base64 Kodierung eingeben', + }, + between: { + default: 'Bitte einen Wert zwischen %s und %s eingeben', + notInclusive: 'Bitte einen Wert zwischen %s und %s (strictly) eingeben', + }, + bic: { + default: 'Bitte gültige BIC Nummer eingeben', + }, + callback: { + default: 'Bitte einen gültigen Wert eingeben', + }, + choice: { + between: 'Zwischen %s - %s Werten wählen', + default: 'Bitte einen gültigen Wert eingeben', + less: 'Bitte mindestens %s Werte eingeben', + more: 'Bitte maximal %s Werte eingeben', + }, + color: { + default: 'Bitte gültige Farbe eingeben', + }, + creditCard: { + default: 'Bitte gültige Kreditkartennr. eingeben', + }, + cusip: { + default: 'Bitte gültige CUSIP Nummer eingeben', + }, + date: { + default: 'Bitte gültiges Datum eingeben', + max: 'Bitte gültiges Datum vor %s', + min: 'Bitte gültiges Datum nach %s', + range: 'Bitte gültiges Datum im zwischen %s - %s', + }, + different: { + default: 'Bitte anderen Wert eingeben', + }, + digits: { + default: 'Bitte Zahlen eingeben', + }, + ean: { + default: 'Bitte gültige EAN Nummer eingeben', + }, + ein: { + default: 'Bitte gültige EIN Nummer eingeben', + }, + emailAddress: { + default: 'Bitte gültige Emailadresse eingeben', + }, + file: { + default: 'Bitte gültiges File eingeben', + }, + greaterThan: { + default: 'Bitte Wert größer gleich %s eingeben', + notInclusive: 'Bitte Wert größer als %s eingeben', + }, + grid: { + default: 'Bitte gültige GRId Nummer eingeben', + }, + hex: { + default: 'Bitte gültigen Hexadezimalwert eingeben', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Vereinigte Arabische Emirate', + AL: 'Albanien', + AO: 'Angola', + AT: 'Österreich', + AZ: 'Aserbaidschan', + BA: 'Bosnien und Herzegowina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbeinküste', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Kap Verde', + CY: 'Zypern', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + DO: 'Dominikanische Republik', + DZ: 'Algerien', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finnland', + FO: 'Färöer-Inseln', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grönland', + GR: 'Griechenland', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordanien', + KW: 'Kuwait', + KZ: 'Kasachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MC: 'Monaco', + MD: 'Moldawien', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Mazedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Niederlande', + NO: 'Norwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palästina', + PT: 'Portugal', + QA: 'Katar', + RO: 'Rumänien', + RS: 'Serbien', + SA: 'Saudi-Arabien', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Ost-Timor', + TN: 'Tunesien', + TR: 'Türkei', + VG: 'Jungferninseln', + XK: 'Republik Kosovo', + }, + country: 'Bitte eine gültige IBAN Nummer für %s eingeben', + default: 'Bitte eine gültige IBAN Nummer eingeben', + }, + id: { + countries: { + BA: 'Bosnien und Herzegowina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'China', + CZ: 'Tschechische', + DK: 'Dänemark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finnland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Lettland', + ME: 'Montenegro', + MK: 'Mazedonien', + NL: 'Niederlande', + PL: 'Polen', + RO: 'Rumänien', + RS: 'Serbien', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Türkei', + ZA: 'Südafrika', + }, + country: 'Bitte gültige Identifikationsnummer für %s eingeben', + default: 'Bitte gültige Identifikationsnnummer eingeben', + }, + identical: { + default: 'Bitte gleichen Wert eingeben', + }, + imei: { + default: 'Bitte gültige IMEI Nummer eingeben', + }, + imo: { + default: 'Bitte gültige IMO Nummer eingeben', + }, + integer: { + default: 'Bitte Zahl eingeben', + }, + ip: { + default: 'Bitte gültige IP-Adresse eingeben', + ipv4: 'Bitte gültige IPv4 Adresse eingeben', + ipv6: 'Bitte gültige IPv6 Adresse eingeben', + }, + isbn: { + default: 'Bitte gültige ISBN Nummer eingeben', + }, + isin: { + default: 'Bitte gültige ISIN Nummer eingeben', + }, + ismn: { + default: 'Bitte gültige ISMN Nummer eingeben', + }, + issn: { + default: 'Bitte gültige ISSN Nummer eingeben', + }, + lessThan: { + default: 'Bitte Wert kleiner gleich %s eingeben', + notInclusive: 'Bitte Wert kleiner als %s eingeben', + }, + mac: { + default: 'Bitte gültige MAC Adresse eingeben', + }, + meid: { + default: 'Bitte gültige MEID Nummer eingeben', + }, + notEmpty: { + default: 'Bitte Wert eingeben', + }, + numeric: { + default: 'Bitte Nummer eingeben', + }, + phone: { + countries: { + AE: 'Vereinigte Arabische Emirate', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'China', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + ES: 'Spanien', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + IN: 'Indien', + MA: 'Marokko', + NL: 'Niederlande', + PK: 'Pakistan', + RO: 'Rumänien', + RU: 'Russland', + SK: 'Slowakei', + TH: 'Thailand', + US: 'Vereinigte Staaten von Amerika', + VE: 'Venezuela', + }, + country: 'Bitte valide Telefonnummer für %s eingeben', + default: 'Bitte gültige Telefonnummer eingeben', + }, + promise: { + default: 'Bitte einen gültigen Wert eingeben', + }, + regexp: { + default: 'Bitte Wert eingeben, der der Maske entspricht', + }, + remote: { + default: 'Bitte einen gültigen Wert eingeben', + }, + rtn: { + default: 'Bitte gültige RTN Nummer eingeben', + }, + sedol: { + default: 'Bitte gültige SEDOL Nummer eingeben', + }, + siren: { + default: 'Bitte gültige SIREN Nummer eingeben', + }, + siret: { + default: 'Bitte gültige SIRET Nummer eingeben', + }, + step: { + default: 'Bitte einen gültigen Schritt von %s eingeben', + }, + stringCase: { + default: 'Bitte nur Kleinbuchstaben eingeben', + upper: 'Bitte nur Großbuchstaben eingeben', + }, + stringLength: { + between: 'Bitte Wert zwischen %s und %s Zeichen eingeben', + default: 'Bitte Wert mit gültiger Länge eingeben', + less: 'Bitte weniger als %s Zeichen eingeben', + more: 'Bitte mehr als %s Zeichen eingeben', + }, + uri: { + default: 'Bitte gültige URI eingeben', + }, + uuid: { + default: 'Bitte gültige UUID Nummer eingeben', + version: 'Bitte gültige UUID Version %s eingeben', + }, + vat: { + countries: { + AT: 'Österreich', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Zypern', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + EE: 'Estland', + EL: 'Griechenland', + ES: 'Spanisch', + FI: 'Finnland', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + GR: 'Griechenland', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MT: 'Malta', + NL: 'Niederlande', + NO: 'Norwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RS: 'Serbien', + RU: 'Russland', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + VE: 'Venezuela', + ZA: 'Südafrika', + }, + country: 'Bitte gültige VAT Nummer für %s eingeben', + default: 'Bitte gültige VAT Nummer eingeben', + }, + vin: { + default: 'Bitte gültige VIN Nummer eingeben', + }, + zipCode: { + countries: { + AT: 'Österreich', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Kanada', + CH: 'Schweiz', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + ES: 'Spanien', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marokko', + NL: 'Niederlande', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RU: 'Russland', + SE: 'Schweden', + SG: 'Singapur', + SK: 'Slowakei', + US: 'Vereinigte Staaten von Amerika', + }, + country: 'Bitte gültige Postleitzahl für %s eingeben', + default: 'Bitte gültige PLZ eingeben', + }, + }; + + return de_DE; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/de_DE.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/de_DE.min.js new file mode 100644 index 0000000..1fc5489 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/de_DE.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.de_DE=factory())})(this,(function(){"use strict";var de_DE={base64:{default:"Bitte eine Base64 Kodierung eingeben"},between:{default:"Bitte einen Wert zwischen %s und %s eingeben",notInclusive:"Bitte einen Wert zwischen %s und %s (strictly) eingeben"},bic:{default:"Bitte gültige BIC Nummer eingeben"},callback:{default:"Bitte einen gültigen Wert eingeben"},choice:{between:"Zwischen %s - %s Werten wählen",default:"Bitte einen gültigen Wert eingeben",less:"Bitte mindestens %s Werte eingeben",more:"Bitte maximal %s Werte eingeben"},color:{default:"Bitte gültige Farbe eingeben"},creditCard:{default:"Bitte gültige Kreditkartennr. eingeben"},cusip:{default:"Bitte gültige CUSIP Nummer eingeben"},date:{default:"Bitte gültiges Datum eingeben",max:"Bitte gültiges Datum vor %s",min:"Bitte gültiges Datum nach %s",range:"Bitte gültiges Datum im zwischen %s - %s"},different:{default:"Bitte anderen Wert eingeben"},digits:{default:"Bitte Zahlen eingeben"},ean:{default:"Bitte gültige EAN Nummer eingeben"},ein:{default:"Bitte gültige EIN Nummer eingeben"},emailAddress:{default:"Bitte gültige Emailadresse eingeben"},file:{default:"Bitte gültiges File eingeben"},greaterThan:{default:"Bitte Wert größer gleich %s eingeben",notInclusive:"Bitte Wert größer als %s eingeben"},grid:{default:"Bitte gültige GRId Nummer eingeben"},hex:{default:"Bitte gültigen Hexadezimalwert eingeben"},iban:{countries:{AD:"Andorra",AE:"Vereinigte Arabische Emirate",AL:"Albanien",AO:"Angola",AT:"Österreich",AZ:"Aserbaidschan",BA:"Bosnien und Herzegowina",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brasilien",CH:"Schweiz",CI:"Elfenbeinküste",CM:"Kamerun",CR:"Costa Rica",CV:"Kap Verde",CY:"Zypern",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",DO:"Dominikanische Republik",DZ:"Algerien",EE:"Estland",ES:"Spanien",FI:"Finnland",FO:"Färöer-Inseln",FR:"Frankreich",GB:"Vereinigtes Königreich",GE:"Georgien",GI:"Gibraltar",GL:"Grönland",GR:"Griechenland",GT:"Guatemala",HR:"Croatia",HU:"Ungarn",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italien",JO:"Jordanien",KW:"Kuwait",KZ:"Kasachstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MC:"Monaco",MD:"Moldawien",ME:"Montenegro",MG:"Madagaskar",MK:"Mazedonien",ML:"Mali",MR:"Mauretanien",MT:"Malta",MU:"Mauritius",MZ:"Mosambik",NL:"Niederlande",NO:"Norwegen",PK:"Pakistan",PL:"Polen",PS:"Palästina",PT:"Portugal",QA:"Katar",RO:"Rumänien",RS:"Serbien",SA:"Saudi-Arabien",SE:"Schweden",SI:"Slowenien",SK:"Slowakei",SM:"San Marino",SN:"Senegal",TL:"Ost-Timor",TN:"Tunesien",TR:"Türkei",VG:"Jungferninseln",XK:"Republik Kosovo"},country:"Bitte eine gültige IBAN Nummer für %s eingeben",default:"Bitte eine gültige IBAN Nummer eingeben"},id:{countries:{BA:"Bosnien und Herzegowina",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CL:"Chile",CN:"China",CZ:"Tschechische",DK:"Dänemark",EE:"Estland",ES:"Spanien",FI:"Finnland",HR:"Kroatien",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Lettland",ME:"Montenegro",MK:"Mazedonien",NL:"Niederlande",PL:"Polen",RO:"Rumänien",RS:"Serbien",SE:"Schweden",SI:"Slowenien",SK:"Slowakei",SM:"San Marino",TH:"Thailand",TR:"Türkei",ZA:"Südafrika"},country:"Bitte gültige Identifikationsnummer für %s eingeben",default:"Bitte gültige Identifikationsnnummer eingeben"},identical:{default:"Bitte gleichen Wert eingeben"},imei:{default:"Bitte gültige IMEI Nummer eingeben"},imo:{default:"Bitte gültige IMO Nummer eingeben"},integer:{default:"Bitte Zahl eingeben"},ip:{default:"Bitte gültige IP-Adresse eingeben",ipv4:"Bitte gültige IPv4 Adresse eingeben",ipv6:"Bitte gültige IPv6 Adresse eingeben"},isbn:{default:"Bitte gültige ISBN Nummer eingeben"},isin:{default:"Bitte gültige ISIN Nummer eingeben"},ismn:{default:"Bitte gültige ISMN Nummer eingeben"},issn:{default:"Bitte gültige ISSN Nummer eingeben"},lessThan:{default:"Bitte Wert kleiner gleich %s eingeben",notInclusive:"Bitte Wert kleiner als %s eingeben"},mac:{default:"Bitte gültige MAC Adresse eingeben"},meid:{default:"Bitte gültige MEID Nummer eingeben"},notEmpty:{default:"Bitte Wert eingeben"},numeric:{default:"Bitte Nummer eingeben"},phone:{countries:{AE:"Vereinigte Arabische Emirate",BG:"Bulgarien",BR:"Brasilien",CN:"China",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",ES:"Spanien",FR:"Frankreich",GB:"Vereinigtes Königreich",IN:"Indien",MA:"Marokko",NL:"Niederlande",PK:"Pakistan",RO:"Rumänien",RU:"Russland",SK:"Slowakei",TH:"Thailand",US:"Vereinigte Staaten von Amerika",VE:"Venezuela"},country:"Bitte valide Telefonnummer für %s eingeben",default:"Bitte gültige Telefonnummer eingeben"},promise:{default:"Bitte einen gültigen Wert eingeben"},regexp:{default:"Bitte Wert eingeben, der der Maske entspricht"},remote:{default:"Bitte einen gültigen Wert eingeben"},rtn:{default:"Bitte gültige RTN Nummer eingeben"},sedol:{default:"Bitte gültige SEDOL Nummer eingeben"},siren:{default:"Bitte gültige SIREN Nummer eingeben"},siret:{default:"Bitte gültige SIRET Nummer eingeben"},step:{default:"Bitte einen gültigen Schritt von %s eingeben"},stringCase:{default:"Bitte nur Kleinbuchstaben eingeben",upper:"Bitte nur Großbuchstaben eingeben"},stringLength:{between:"Bitte Wert zwischen %s und %s Zeichen eingeben",default:"Bitte Wert mit gültiger Länge eingeben",less:"Bitte weniger als %s Zeichen eingeben",more:"Bitte mehr als %s Zeichen eingeben"},uri:{default:"Bitte gültige URI eingeben"},uuid:{default:"Bitte gültige UUID Nummer eingeben",version:"Bitte gültige UUID Version %s eingeben"},vat:{countries:{AT:"Österreich",BE:"Belgien",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CY:"Zypern",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",EE:"Estland",EL:"Griechenland",ES:"Spanisch",FI:"Finnland",FR:"Frankreich",GB:"Vereinigtes Königreich",GR:"Griechenland",HR:"Kroatien",HU:"Ungarn",IE:"Irland",IS:"Island",IT:"Italien",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MT:"Malta",NL:"Niederlande",NO:"Norwegen",PL:"Polen",PT:"Portugal",RO:"Rumänien",RS:"Serbien",RU:"Russland",SE:"Schweden",SI:"Slowenien",SK:"Slowakei",VE:"Venezuela",ZA:"Südafrika"},country:"Bitte gültige VAT Nummer für %s eingeben",default:"Bitte gültige VAT Nummer eingeben"},vin:{default:"Bitte gültige VIN Nummer eingeben"},zipCode:{countries:{AT:"Österreich",BG:"Bulgarien",BR:"Brasilien",CA:"Kanada",CH:"Schweiz",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",ES:"Spanien",FR:"Frankreich",GB:"Vereinigtes Königreich",IE:"Irland",IN:"Indien",IT:"Italien",MA:"Marokko",NL:"Niederlande",PL:"Polen",PT:"Portugal",RO:"Rumänien",RU:"Russland",SE:"Schweden",SG:"Singapur",SK:"Slowakei",US:"Vereinigte Staaten von Amerika"},country:"Bitte gültige Postleitzahl für %s eingeben",default:"Bitte gültige PLZ eingeben"}};return de_DE})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/el_GR.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/el_GR.js new file mode 100644 index 0000000..d2add09 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/el_GR.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.el_GR = factory())); +})(this, (function () { 'use strict'; + + /** + * Greek language package + * Translated by @pRieStaKos + */ + + var el_GR = { + base64: { + default: 'Παρακαλώ εισάγετε μια έγκυρη κωδικοποίηση base 64', + }, + between: { + default: 'Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s αυστηρά', + }, + bic: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό BIC', + }, + callback: { + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + }, + choice: { + between: 'Παρακαλώ επιλέξτε %s - %s επιλογές', + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + less: 'Παρακαλώ επιλέξτε %s επιλογές στο ελάχιστο', + more: 'Παρακαλώ επιλέξτε %s επιλογές στο μέγιστο', + }, + color: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο χρώμα', + }, + creditCard: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό πιστωτικής κάρτας', + }, + cusip: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό CUSIP', + }, + date: { + default: 'Παρακαλώ εισάγετε μια έγκυρη ημερομηνία', + max: 'Παρακαλώ εισάγετε ημερομηνία πριν από %s', + min: 'Παρακαλώ εισάγετε ημερομηνία μετά από %s', + range: 'Παρακαλώ εισάγετε ημερομηνία μεταξύ %s - %s', + }, + different: { + default: 'Παρακαλώ εισάγετε μια διαφορετική τιμή', + }, + digits: { + default: 'Παρακαλώ εισάγετε μόνο ψηφία', + }, + ean: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό EAN', + }, + ein: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό EIN', + }, + emailAddress: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο email', + }, + file: { + default: 'Παρακαλώ επιλέξτε ένα έγκυρο αρχείο', + }, + greaterThan: { + default: 'Παρακαλώ εισάγετε μια τιμή μεγαλύτερη ή ίση με %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μεγαλύτερη από %s', + }, + grid: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό GRId', + }, + hex: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο δεκαεξαδικό αριθμό', + }, + iban: { + countries: { + AD: 'Ανδόρα', + AE: 'Ηνωμένα Αραβικά Εμιράτα', + AL: 'Αλβανία', + AO: 'Αγκόλα', + AT: 'Αυστρία', + AZ: 'Αζερμπαϊτζάν', + BA: 'Βοσνία και Ερζεγοβίνη', + BE: 'Βέλγιο', + BF: 'Μπουρκίνα Φάσο', + BG: 'Βουλγαρία', + BH: 'Μπαχρέιν', + BI: 'Μπουρούντι', + BJ: 'Μπενίν', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CI: 'Ακτή Ελεφαντοστού', + CM: 'Καμερούν', + CR: 'Κόστα Ρίκα', + CV: 'Cape Verde', + CY: 'Κύπρος', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + DO: 'Δομινικανή Δημοκρατία', + DZ: 'Αλγερία', + EE: 'Εσθονία', + ES: 'Ισπανία', + FI: 'Φινλανδία', + FO: 'Νησιά Φερόε', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + GE: 'Γεωργία', + GI: 'Γιβραλτάρ', + GL: 'Γροιλανδία', + GR: 'Ελλάδα', + GT: 'Γουατεμάλα', + HR: 'Κροατία', + HU: 'Ουγγαρία', + IE: 'Ιρλανδία', + IL: 'Ισραήλ', + IR: 'Ιράν', + IS: 'Ισλανδία', + IT: 'Ιταλία', + JO: 'Ιορδανία', + KW: 'Κουβέιτ', + KZ: 'Καζακστάν', + LB: 'Λίβανος', + LI: 'Λιχτενστάιν', + LT: 'Λιθουανία', + LU: 'Λουξεμβούργο', + LV: 'Λετονία', + MC: 'Μονακό', + MD: 'Μολδαβία', + ME: 'Μαυροβούνιο', + MG: 'Μαδαγασκάρη', + MK: 'πΓΔΜ', + ML: 'Μάλι', + MR: 'Μαυριτανία', + MT: 'Μάλτα', + MU: 'Μαυρίκιος', + MZ: 'Μοζαμβίκη', + NL: 'Ολλανδία', + NO: 'Νορβηγία', + PK: 'Πακιστάν', + PL: 'Πολωνία', + PS: 'Παλαιστίνη', + PT: 'Πορτογαλία', + QA: 'Κατάρ', + RO: 'Ρουμανία', + RS: 'Σερβία', + SA: 'Σαουδική Αραβία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + SM: 'Σαν Μαρίνο', + SN: 'Σενεγάλη', + TL: 'Ανατολικό Τιμόρ', + TN: 'Τυνησία', + TR: 'Τουρκία', + VG: 'Βρετανικές Παρθένοι Νήσοι', + XK: 'Δημοκρατία του Κοσσυφοπεδίου', + }, + country: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN στην %s', + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN', + }, + id: { + countries: { + BA: 'Βοσνία και Ερζεγοβίνη', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CL: 'Χιλή', + CN: 'Κίνα', + CZ: 'Δημοκρατία της Τσεχίας', + DK: 'Δανία', + EE: 'Εσθονία', + ES: 'Ισπανία', + FI: 'Φινλανδία', + HR: 'Κροατία', + IE: 'Ιρλανδία', + IS: 'Ισλανδία', + LT: 'Λιθουανία', + LV: 'Λετονία', + ME: 'Μαυροβούνιο', + MK: 'Μακεδονία', + NL: 'Ολλανδία', + PL: 'Πολωνία', + RO: 'Ρουμανία', + RS: 'Σερβία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + SM: 'Σαν Μαρίνο', + TH: 'Ταϊλάνδη', + TR: 'Τουρκία', + ZA: 'Νότια Αφρική', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας', + }, + identical: { + default: 'Παρακαλώ εισάγετε την ίδια τιμή', + }, + imei: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMEI', + }, + imo: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMO', + }, + integer: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό', + }, + ip: { + default: 'Παρακαλώ εισάγετε μία έγκυρη IP διεύθυνση', + ipv4: 'Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv4', + ipv6: 'Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv6', + }, + isbn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISBN', + }, + isin: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISIN', + }, + ismn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISMN', + }, + issn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISSN', + }, + lessThan: { + default: 'Παρακαλώ εισάγετε μια τιμή μικρότερη ή ίση με %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μικρότερη από %s', + }, + mac: { + default: 'Παρακαλώ εισάγετε μία έγκυρη MAC διεύθυνση', + }, + meid: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό MEID', + }, + notEmpty: { + default: 'Παρακαλώ εισάγετε μια τιμή', + }, + numeric: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο δεκαδικό αριθμό', + }, + phone: { + countries: { + AE: 'Ηνωμένα Αραβικά Εμιράτα', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CN: 'Κίνα', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + ES: 'Ισπανία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + IN: 'Ινδία', + MA: 'Μαρόκο', + NL: 'Ολλανδία', + PK: 'Πακιστάν', + RO: 'Ρουμανία', + RU: 'Ρωσία', + SK: 'Σλοβακία', + TH: 'Ταϊλάνδη', + US: 'ΗΠΑ', + VE: 'Βενεζουέλα', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου', + }, + promise: { + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + }, + regexp: { + default: 'Παρακαλώ εισάγετε μια τιμή όπου ταιριάζει στο υπόδειγμα', + }, + remote: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό', + }, + rtn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό RTN', + }, + sedol: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SEDOL', + }, + siren: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIREN', + }, + siret: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIRET', + }, + step: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο βήμα από %s', + }, + stringCase: { + default: 'Παρακαλώ εισάγετε μόνο πεζούς χαρακτήρες', + upper: 'Παρακαλώ εισάγετε μόνο κεφαλαία γράμματα', + }, + stringLength: { + between: 'Παρακαλούμε, εισάγετε τιμή μεταξύ %s και %s μήκος χαρακτήρων', + default: 'Παρακαλώ εισάγετε μια τιμή με έγκυρο μήκος', + less: 'Παρακαλούμε εισάγετε λιγότερο από %s χαρακτήρες', + more: 'Παρακαλούμε εισάγετε περισσότερο από %s χαρακτήρες', + }, + uri: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο URI', + }, + uuid: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό UUID', + version: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό έκδοσης %s', + }, + vat: { + countries: { + AT: 'Αυστρία', + BE: 'Βέλγιο', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CY: 'Κύπρος', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + EE: 'Εσθονία', + EL: 'Ελλάδα', + ES: 'Ισπανία', + FI: 'Φινλανδία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + GR: 'Ελλάδα', + HR: 'Κροατία', + HU: 'Ουγγαρία', + IE: 'Ιρλανδία', + IS: 'Ισλανδία', + IT: 'Ιταλία', + LT: 'Λιθουανία', + LU: 'Λουξεμβούργο', + LV: 'Λετονία', + MT: 'Μάλτα', + NL: 'Ολλανδία', + NO: 'Νορβηγία', + PL: 'Πολωνία', + PT: 'Πορτογαλία', + RO: 'Ρουμανία', + RS: 'Σερβία', + RU: 'Ρωσία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + VE: 'Βενεζουέλα', + ZA: 'Νότια Αφρική', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ', + }, + vin: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό VIN', + }, + zipCode: { + countries: { + AT: 'Αυστρία', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CA: 'Καναδάς', + CH: 'Ελβετία', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + ES: 'Ισπανία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + IE: 'Ιρλανδία', + IN: 'Ινδία', + IT: 'Ιταλία', + MA: 'Μαρόκο', + NL: 'Ολλανδία', + PL: 'Πολωνία', + PT: 'Πορτογαλία', + RO: 'Ρουμανία', + RU: 'Ρωσία', + SE: 'Σουηδία', + SG: 'Σιγκαπούρη', + SK: 'Σλοβακία', + US: 'ΗΠΑ', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα', + }, + }; + + return el_GR; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/el_GR.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/el_GR.min.js new file mode 100644 index 0000000..4b1a3bf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/el_GR.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.el_GR=factory())})(this,(function(){"use strict";var el_GR={base64:{default:"Παρακαλώ εισάγετε μια έγκυρη κωδικοποίηση base 64"},between:{default:"Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s",notInclusive:"Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s αυστηρά"},bic:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό BIC"},callback:{default:"Παρακαλώ εισάγετε μια έγκυρη τιμή"},choice:{between:"Παρακαλώ επιλέξτε %s - %s επιλογές",default:"Παρακαλώ εισάγετε μια έγκυρη τιμή",less:"Παρακαλώ επιλέξτε %s επιλογές στο ελάχιστο",more:"Παρακαλώ επιλέξτε %s επιλογές στο μέγιστο"},color:{default:"Παρακαλώ εισάγετε ένα έγκυρο χρώμα"},creditCard:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό πιστωτικής κάρτας"},cusip:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό CUSIP"},date:{default:"Παρακαλώ εισάγετε μια έγκυρη ημερομηνία",max:"Παρακαλώ εισάγετε ημερομηνία πριν από %s",min:"Παρακαλώ εισάγετε ημερομηνία μετά από %s",range:"Παρακαλώ εισάγετε ημερομηνία μεταξύ %s - %s"},different:{default:"Παρακαλώ εισάγετε μια διαφορετική τιμή"},digits:{default:"Παρακαλώ εισάγετε μόνο ψηφία"},ean:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό EAN"},ein:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό EIN"},emailAddress:{default:"Παρακαλώ εισάγετε ένα έγκυρο email"},file:{default:"Παρακαλώ επιλέξτε ένα έγκυρο αρχείο"},greaterThan:{default:"Παρακαλώ εισάγετε μια τιμή μεγαλύτερη ή ίση με %s",notInclusive:"Παρακαλώ εισάγετε μια τιμή μεγαλύτερη από %s"},grid:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό GRId"},hex:{default:"Παρακαλώ εισάγετε έναν έγκυρο δεκαεξαδικό αριθμό"},iban:{countries:{AD:"Ανδόρα",AE:"Ηνωμένα Αραβικά Εμιράτα",AL:"Αλβανία",AO:"Αγκόλα",AT:"Αυστρία",AZ:"Αζερμπαϊτζάν",BA:"Βοσνία και Ερζεγοβίνη",BE:"Βέλγιο",BF:"Μπουρκίνα Φάσο",BG:"Βουλγαρία",BH:"Μπαχρέιν",BI:"Μπουρούντι",BJ:"Μπενίν",BR:"Βραζιλία",CH:"Ελβετία",CI:"Ακτή Ελεφαντοστού",CM:"Καμερούν",CR:"Κόστα Ρίκα",CV:"Cape Verde",CY:"Κύπρος",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",DO:"Δομινικανή Δημοκρατία",DZ:"Αλγερία",EE:"Εσθονία",ES:"Ισπανία",FI:"Φινλανδία",FO:"Νησιά Φερόε",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",GE:"Γεωργία",GI:"Γιβραλτάρ",GL:"Γροιλανδία",GR:"Ελλάδα",GT:"Γουατεμάλα",HR:"Κροατία",HU:"Ουγγαρία",IE:"Ιρλανδία",IL:"Ισραήλ",IR:"Ιράν",IS:"Ισλανδία",IT:"Ιταλία",JO:"Ιορδανία",KW:"Κουβέιτ",KZ:"Καζακστάν",LB:"Λίβανος",LI:"Λιχτενστάιν",LT:"Λιθουανία",LU:"Λουξεμβούργο",LV:"Λετονία",MC:"Μονακό",MD:"Μολδαβία",ME:"Μαυροβούνιο",MG:"Μαδαγασκάρη",MK:"πΓΔΜ",ML:"Μάλι",MR:"Μαυριτανία",MT:"Μάλτα",MU:"Μαυρίκιος",MZ:"Μοζαμβίκη",NL:"Ολλανδία",NO:"Νορβηγία",PK:"Πακιστάν",PL:"Πολωνία",PS:"Παλαιστίνη",PT:"Πορτογαλία",QA:"Κατάρ",RO:"Ρουμανία",RS:"Σερβία",SA:"Σαουδική Αραβία",SE:"Σουηδία",SI:"Σλοβενία",SK:"Σλοβακία",SM:"Σαν Μαρίνο",SN:"Σενεγάλη",TL:"Ανατολικό Τιμόρ",TN:"Τυνησία",TR:"Τουρκία",VG:"Βρετανικές Παρθένοι Νήσοι",XK:"Δημοκρατία του Κοσσυφοπεδίου"},country:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN στην %s",default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN"},id:{countries:{BA:"Βοσνία και Ερζεγοβίνη",BG:"Βουλγαρία",BR:"Βραζιλία",CH:"Ελβετία",CL:"Χιλή",CN:"Κίνα",CZ:"Δημοκρατία της Τσεχίας",DK:"Δανία",EE:"Εσθονία",ES:"Ισπανία",FI:"Φινλανδία",HR:"Κροατία",IE:"Ιρλανδία",IS:"Ισλανδία",LT:"Λιθουανία",LV:"Λετονία",ME:"Μαυροβούνιο",MK:"Μακεδονία",NL:"Ολλανδία",PL:"Πολωνία",RO:"Ρουμανία",RS:"Σερβία",SE:"Σουηδία",SI:"Σλοβενία",SK:"Σλοβακία",SM:"Σαν Μαρίνο",TH:"Ταϊλάνδη",TR:"Τουρκία",ZA:"Νότια Αφρική"},country:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας"},identical:{default:"Παρακαλώ εισάγετε την ίδια τιμή"},imei:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMEI"},imo:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMO"},integer:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό"},ip:{default:"Παρακαλώ εισάγετε μία έγκυρη IP διεύθυνση",ipv4:"Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv4",ipv6:"Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv6"},isbn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISBN"},isin:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISIN"},ismn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISMN"},issn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISSN"},lessThan:{default:"Παρακαλώ εισάγετε μια τιμή μικρότερη ή ίση με %s",notInclusive:"Παρακαλώ εισάγετε μια τιμή μικρότερη από %s"},mac:{default:"Παρακαλώ εισάγετε μία έγκυρη MAC διεύθυνση"},meid:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό MEID"},notEmpty:{default:"Παρακαλώ εισάγετε μια τιμή"},numeric:{default:"Παρακαλώ εισάγετε ένα έγκυρο δεκαδικό αριθμό"},phone:{countries:{AE:"Ηνωμένα Αραβικά Εμιράτα",BG:"Βουλγαρία",BR:"Βραζιλία",CN:"Κίνα",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",ES:"Ισπανία",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",IN:"Ινδία",MA:"Μαρόκο",NL:"Ολλανδία",PK:"Πακιστάν",RO:"Ρουμανία",RU:"Ρωσία",SK:"Σλοβακία",TH:"Ταϊλάνδη",US:"ΗΠΑ",VE:"Βενεζουέλα"},country:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου"},promise:{default:"Παρακαλώ εισάγετε μια έγκυρη τιμή"},regexp:{default:"Παρακαλώ εισάγετε μια τιμή όπου ταιριάζει στο υπόδειγμα"},remote:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό"},rtn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό RTN"},sedol:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό SEDOL"},siren:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIREN"},siret:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIRET"},step:{default:"Παρακαλώ εισάγετε ένα έγκυρο βήμα από %s"},stringCase:{default:"Παρακαλώ εισάγετε μόνο πεζούς χαρακτήρες",upper:"Παρακαλώ εισάγετε μόνο κεφαλαία γράμματα"},stringLength:{between:"Παρακαλούμε, εισάγετε τιμή μεταξύ %s και %s μήκος χαρακτήρων",default:"Παρακαλώ εισάγετε μια τιμή με έγκυρο μήκος",less:"Παρακαλούμε εισάγετε λιγότερο από %s χαρακτήρες",more:"Παρακαλούμε εισάγετε περισσότερο από %s χαρακτήρες"},uri:{default:"Παρακαλώ εισάγετε ένα έγκυρο URI"},uuid:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό UUID",version:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό έκδοσης %s"},vat:{countries:{AT:"Αυστρία",BE:"Βέλγιο",BG:"Βουλγαρία",BR:"Βραζιλία",CH:"Ελβετία",CY:"Κύπρος",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",EE:"Εσθονία",EL:"Ελλάδα",ES:"Ισπανία",FI:"Φινλανδία",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",GR:"Ελλάδα",HR:"Κροατία",HU:"Ουγγαρία",IE:"Ιρλανδία",IS:"Ισλανδία",IT:"Ιταλία",LT:"Λιθουανία",LU:"Λουξεμβούργο",LV:"Λετονία",MT:"Μάλτα",NL:"Ολλανδία",NO:"Νορβηγία",PL:"Πολωνία",PT:"Πορτογαλία",RO:"Ρουμανία",RS:"Σερβία",RU:"Ρωσία",SE:"Σουηδία",SI:"Σλοβενία",SK:"Σλοβακία",VE:"Βενεζουέλα",ZA:"Νότια Αφρική"},country:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ"},vin:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό VIN"},zipCode:{countries:{AT:"Αυστρία",BG:"Βουλγαρία",BR:"Βραζιλία",CA:"Καναδάς",CH:"Ελβετία",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",ES:"Ισπανία",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",IE:"Ιρλανδία",IN:"Ινδία",IT:"Ιταλία",MA:"Μαρόκο",NL:"Ολλανδία",PL:"Πολωνία",PT:"Πορτογαλία",RO:"Ρουμανία",RU:"Ρωσία",SE:"Σουηδία",SG:"Σιγκαπούρη",SK:"Σλοβακία",US:"ΗΠΑ"},country:"Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα"}};return el_GR})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/en_US.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/en_US.js new file mode 100644 index 0000000..6509a6c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/en_US.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.en_US = factory())); +})(this, (function () { 'use strict'; + + /** + * English language package + * Translated by @nghuuphuoc + */ + + var en_US = { + base64: { + default: 'Please enter a valid base 64 encoded', + }, + between: { + default: 'Please enter a value between %s and %s', + notInclusive: 'Please enter a value between %s and %s strictly', + }, + bic: { + default: 'Please enter a valid BIC number', + }, + callback: { + default: 'Please enter a valid value', + }, + choice: { + between: 'Please choose %s - %s options', + default: 'Please enter a valid value', + less: 'Please choose %s options at minimum', + more: 'Please choose %s options at maximum', + }, + color: { + default: 'Please enter a valid color', + }, + creditCard: { + default: 'Please enter a valid credit card number', + }, + cusip: { + default: 'Please enter a valid CUSIP number', + }, + date: { + default: 'Please enter a valid date', + max: 'Please enter a date before %s', + min: 'Please enter a date after %s', + range: 'Please enter a date in the range %s - %s', + }, + different: { + default: 'Please enter a different value', + }, + digits: { + default: 'Please enter only digits', + }, + ean: { + default: 'Please enter a valid EAN number', + }, + ein: { + default: 'Please enter a valid EIN number', + }, + emailAddress: { + default: 'Please enter a valid email address', + }, + file: { + default: 'Please choose a valid file', + }, + greaterThan: { + default: 'Please enter a value greater than or equal to %s', + notInclusive: 'Please enter a value greater than %s', + }, + grid: { + default: 'Please enter a valid GRId number', + }, + hex: { + default: 'Please enter a valid hexadecimal number', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'United Arab Emirates', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia and Herzegovina', + BE: 'Belgium', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Switzerland', + CI: 'Ivory Coast', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + DO: 'Dominican Republic', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spain', + FI: 'Finland', + FO: 'Faroe Islands', + FR: 'France', + GB: 'United Kingdom', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Greece', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Italy', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Netherlands', + NO: 'Norway', + PK: 'Pakistan', + PL: 'Poland', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'East Timor', + TN: 'Tunisia', + TR: 'Turkey', + VG: 'Virgin Islands, British', + XK: 'Republic of Kosovo', + }, + country: 'Please enter a valid IBAN number in %s', + default: 'Please enter a valid IBAN number', + }, + id: { + countries: { + BA: 'Bosnia and Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CL: 'Chile', + CN: 'China', + CZ: 'Czech Republic', + DK: 'Denmark', + EE: 'Estonia', + ES: 'Spain', + FI: 'Finland', + HR: 'Croatia', + IE: 'Ireland', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Netherlands', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkey', + ZA: 'South Africa', + }, + country: 'Please enter a valid identification number in %s', + default: 'Please enter a valid identification number', + }, + identical: { + default: 'Please enter the same value', + }, + imei: { + default: 'Please enter a valid IMEI number', + }, + imo: { + default: 'Please enter a valid IMO number', + }, + integer: { + default: 'Please enter a valid number', + }, + ip: { + default: 'Please enter a valid IP address', + ipv4: 'Please enter a valid IPv4 address', + ipv6: 'Please enter a valid IPv6 address', + }, + isbn: { + default: 'Please enter a valid ISBN number', + }, + isin: { + default: 'Please enter a valid ISIN number', + }, + ismn: { + default: 'Please enter a valid ISMN number', + }, + issn: { + default: 'Please enter a valid ISSN number', + }, + lessThan: { + default: 'Please enter a value less than or equal to %s', + notInclusive: 'Please enter a value less than %s', + }, + mac: { + default: 'Please enter a valid MAC address', + }, + meid: { + default: 'Please enter a valid MEID number', + }, + notEmpty: { + default: 'Please enter a value', + }, + numeric: { + default: 'Please enter a valid float number', + }, + phone: { + countries: { + AE: 'United Arab Emirates', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'China', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + ES: 'Spain', + FR: 'France', + GB: 'United Kingdom', + IN: 'India', + MA: 'Morocco', + NL: 'Netherlands', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovakia', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Please enter a valid phone number in %s', + default: 'Please enter a valid phone number', + }, + promise: { + default: 'Please enter a valid value', + }, + regexp: { + default: 'Please enter a value matching the pattern', + }, + remote: { + default: 'Please enter a valid value', + }, + rtn: { + default: 'Please enter a valid RTN number', + }, + sedol: { + default: 'Please enter a valid SEDOL number', + }, + siren: { + default: 'Please enter a valid SIREN number', + }, + siret: { + default: 'Please enter a valid SIRET number', + }, + step: { + default: 'Please enter a valid step of %s', + }, + stringCase: { + default: 'Please enter only lowercase characters', + upper: 'Please enter only uppercase characters', + }, + stringLength: { + between: 'Please enter value between %s and %s characters long', + default: 'Please enter a value with valid length', + less: 'Please enter less than %s characters', + more: 'Please enter more than %s characters', + }, + uri: { + default: 'Please enter a valid URI', + }, + uuid: { + default: 'Please enter a valid UUID number', + version: 'Please enter a valid UUID version %s number', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgium', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CY: 'Cyprus', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + EE: 'Estonia', + EL: 'Greece', + ES: 'Spain', + FI: 'Finland', + FR: 'France', + GB: 'United Kingdom', + GR: 'Greece', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IS: 'Iceland', + IT: 'Italy', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Netherlands', + NO: 'Norway', + PL: 'Poland', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'South Africa', + }, + country: 'Please enter a valid VAT number in %s', + default: 'Please enter a valid VAT number', + }, + vin: { + default: 'Please enter a valid VIN number', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Canada', + CH: 'Switzerland', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + ES: 'Spain', + FR: 'France', + GB: 'United Kingdom', + IE: 'Ireland', + IN: 'India', + IT: 'Italy', + MA: 'Morocco', + NL: 'Netherlands', + PL: 'Poland', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russia', + SE: 'Sweden', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Please enter a valid postal code in %s', + default: 'Please enter a valid postal code', + }, + }; + + return en_US; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/en_US.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/en_US.min.js new file mode 100644 index 0000000..74ead6d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/en_US.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.en_US=factory())})(this,(function(){"use strict";var en_US={base64:{default:"Please enter a valid base 64 encoded"},between:{default:"Please enter a value between %s and %s",notInclusive:"Please enter a value between %s and %s strictly"},bic:{default:"Please enter a valid BIC number"},callback:{default:"Please enter a valid value"},choice:{between:"Please choose %s - %s options",default:"Please enter a valid value",less:"Please choose %s options at minimum",more:"Please choose %s options at maximum"},color:{default:"Please enter a valid color"},creditCard:{default:"Please enter a valid credit card number"},cusip:{default:"Please enter a valid CUSIP number"},date:{default:"Please enter a valid date",max:"Please enter a date before %s",min:"Please enter a date after %s",range:"Please enter a date in the range %s - %s"},different:{default:"Please enter a different value"},digits:{default:"Please enter only digits"},ean:{default:"Please enter a valid EAN number"},ein:{default:"Please enter a valid EIN number"},emailAddress:{default:"Please enter a valid email address"},file:{default:"Please choose a valid file"},greaterThan:{default:"Please enter a value greater than or equal to %s",notInclusive:"Please enter a value greater than %s"},grid:{default:"Please enter a valid GRId number"},hex:{default:"Please enter a valid hexadecimal number"},iban:{countries:{AD:"Andorra",AE:"United Arab Emirates",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Switzerland",CI:"Ivory Coast",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DO:"Dominican Republic",DZ:"Algeria",EE:"Estonia",ES:"Spain",FI:"Finland",FO:"Faroe Islands",FR:"France",GB:"United Kingdom",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Greece",GT:"Guatemala",HR:"Croatia",HU:"Hungary",IE:"Ireland",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Italy",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Netherlands",NO:"Norway",PK:"Pakistan",PL:"Poland",PS:"Palestine",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"East Timor",TN:"Tunisia",TR:"Turkey",VG:"Virgin Islands, British",XK:"Republic of Kosovo"},country:"Please enter a valid IBAN number in %s",default:"Please enter a valid IBAN number"},id:{countries:{BA:"Bosnia and Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CL:"Chile",CN:"China",CZ:"Czech Republic",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",HR:"Croatia",IE:"Ireland",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Netherlands",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",TR:"Turkey",ZA:"South Africa"},country:"Please enter a valid identification number in %s",default:"Please enter a valid identification number"},identical:{default:"Please enter the same value"},imei:{default:"Please enter a valid IMEI number"},imo:{default:"Please enter a valid IMO number"},integer:{default:"Please enter a valid number"},ip:{default:"Please enter a valid IP address",ipv4:"Please enter a valid IPv4 address",ipv6:"Please enter a valid IPv6 address"},isbn:{default:"Please enter a valid ISBN number"},isin:{default:"Please enter a valid ISIN number"},ismn:{default:"Please enter a valid ISMN number"},issn:{default:"Please enter a valid ISSN number"},lessThan:{default:"Please enter a value less than or equal to %s",notInclusive:"Please enter a value less than %s"},mac:{default:"Please enter a valid MAC address"},meid:{default:"Please enter a valid MEID number"},notEmpty:{default:"Please enter a value"},numeric:{default:"Please enter a valid float number"},phone:{countries:{AE:"United Arab Emirates",BG:"Bulgaria",BR:"Brazil",CN:"China",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",IN:"India",MA:"Morocco",NL:"Netherlands",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovakia",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Please enter a valid phone number in %s",default:"Please enter a valid phone number"},promise:{default:"Please enter a valid value"},regexp:{default:"Please enter a value matching the pattern"},remote:{default:"Please enter a valid value"},rtn:{default:"Please enter a valid RTN number"},sedol:{default:"Please enter a valid SEDOL number"},siren:{default:"Please enter a valid SIREN number"},siret:{default:"Please enter a valid SIRET number"},step:{default:"Please enter a valid step of %s"},stringCase:{default:"Please enter only lowercase characters",upper:"Please enter only uppercase characters"},stringLength:{between:"Please enter value between %s and %s characters long",default:"Please enter a value with valid length",less:"Please enter less than %s characters",more:"Please enter more than %s characters"},uri:{default:"Please enter a valid URI"},uuid:{default:"Please enter a valid UUID number",version:"Please enter a valid UUID version %s number"},vat:{countries:{AT:"Austria",BE:"Belgium",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",EE:"Estonia",EL:"Greece",ES:"Spain",FI:"Finland",FR:"France",GB:"United Kingdom",GR:"Greece",HR:"Croatia",HU:"Hungary",IE:"Ireland",IS:"Iceland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Netherlands",NO:"Norway",PL:"Poland",PT:"Portugal",RO:"Romania",RS:"Serbia",RU:"Russia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"South Africa"},country:"Please enter a valid VAT number in %s",default:"Please enter a valid VAT number"},vin:{default:"Please enter a valid VIN number"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brazil",CA:"Canada",CH:"Switzerland",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",IE:"Ireland",IN:"India",IT:"Italy",MA:"Morocco",NL:"Netherlands",PL:"Poland",PT:"Portugal",RO:"Romania",RU:"Russia",SE:"Sweden",SG:"Singapore",SK:"Slovakia",US:"USA"},country:"Please enter a valid postal code in %s",default:"Please enter a valid postal code"}};return en_US})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/es_CL.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/es_CL.js new file mode 100644 index 0000000..9dca1ec --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/es_CL.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.es_CL = factory())); +})(this, (function () { 'use strict'; + + /** + * Chilean Spanish language package + * Translated by @marceloampuerop6 + */ + + var es_CL = { + base64: { + default: 'Por favor ingrese un valor válido en base 64', + }, + between: { + default: 'Por favor ingrese un valor entre %s y %s', + notInclusive: 'Por favor ingrese un valor sólo entre %s and %s', + }, + bic: { + default: 'Por favor ingrese un número BIC válido', + }, + callback: { + default: 'Por favor ingrese un valor válido', + }, + choice: { + between: 'Por favor elija de %s a %s opciones', + default: 'Por favor ingrese un valor válido', + less: 'Por favor elija %s opciones como mínimo', + more: 'Por favor elija %s optiones como máximo', + }, + color: { + default: 'Por favor ingrese un color válido', + }, + creditCard: { + default: 'Por favor ingrese un número válido de tarjeta de crédito', + }, + cusip: { + default: 'Por favor ingrese un número CUSIP válido', + }, + date: { + default: 'Por favor ingrese una fecha válida', + max: 'Por favor ingrese una fecha anterior a %s', + min: 'Por favor ingrese una fecha posterior a %s', + range: 'Por favor ingrese una fecha en el rango %s - %s', + }, + different: { + default: 'Por favor ingrese un valor distinto', + }, + digits: { + default: 'Por favor ingrese sólo dígitos', + }, + ean: { + default: 'Por favor ingrese un número EAN válido', + }, + ein: { + default: 'Por favor ingrese un número EIN válido', + }, + emailAddress: { + default: 'Por favor ingrese un email válido', + }, + file: { + default: 'Por favor elija un archivo válido', + }, + greaterThan: { + default: 'Por favor ingrese un valor mayor o igual a %s', + notInclusive: 'Por favor ingrese un valor mayor que %s', + }, + grid: { + default: 'Por favor ingrese un número GRId válido', + }, + hex: { + default: 'Por favor ingrese un valor hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratos Árabes Unidos', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaiyán', + BA: 'Bosnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suiza', + CI: 'Costa de Marfil', + CM: 'Camerún', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argelia', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + FO: 'Islas Feroe', + FR: 'Francia', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Mónaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Malí', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauricio', + MZ: 'Mozambique', + NL: 'Países Bajos', + NO: 'Noruega', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Rumania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Túnez', + TR: 'Turquía', + VG: 'Islas Vírgenes Británicas', + XK: 'República de Kosovo', + }, + country: 'Por favor ingrese un número IBAN válido en %s', + default: 'Por favor ingrese un número IBAN válido', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + HR: 'Croacia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Países Bajos', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turquía', + ZA: 'Sudáfrica', + }, + country: 'Por favor ingrese un número de identificación válido en %s', + default: 'Por favor ingrese un número de identificación válido', + }, + identical: { + default: 'Por favor ingrese el mismo valor', + }, + imei: { + default: 'Por favor ingrese un número IMEI válido', + }, + imo: { + default: 'Por favor ingrese un número IMO válido', + }, + integer: { + default: 'Por favor ingrese un número válido', + }, + ip: { + default: 'Por favor ingrese una dirección IP válida', + ipv4: 'Por favor ingrese una dirección IPv4 válida', + ipv6: 'Por favor ingrese una dirección IPv6 válida', + }, + isbn: { + default: 'Por favor ingrese un número ISBN válido', + }, + isin: { + default: 'Por favor ingrese un número ISIN válido', + }, + ismn: { + default: 'Por favor ingrese un número ISMN válido', + }, + issn: { + default: 'Por favor ingrese un número ISSN válido', + }, + lessThan: { + default: 'Por favor ingrese un valor menor o igual a %s', + notInclusive: 'Por favor ingrese un valor menor que %s', + }, + mac: { + default: 'Por favor ingrese una dirección MAC válida', + }, + meid: { + default: 'Por favor ingrese un número MEID válido', + }, + notEmpty: { + default: 'Por favor ingrese un valor', + }, + numeric: { + default: 'Por favor ingrese un número decimal válido', + }, + phone: { + countries: { + AE: 'Emiratos Árabes Unidos', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IN: 'India', + MA: 'Marruecos', + NL: 'Países Bajos', + PK: 'Pakistán', + RO: 'Rumania', + RU: 'Rusa', + SK: 'Eslovaquia', + TH: 'Tailandia', + US: 'Estados Unidos', + VE: 'Venezuela', + }, + country: 'Por favor ingrese un número válido de teléfono en %s', + default: 'Por favor ingrese un número válido de teléfono', + }, + promise: { + default: 'Por favor ingrese un valor válido', + }, + regexp: { + default: 'Por favor ingrese un valor que coincida con el patrón', + }, + remote: { + default: 'Por favor ingrese un valor válido', + }, + rtn: { + default: 'Por favor ingrese un número RTN válido', + }, + sedol: { + default: 'Por favor ingrese un número SEDOL válido', + }, + siren: { + default: 'Por favor ingrese un número SIREN válido', + }, + siret: { + default: 'Por favor ingrese un número SIRET válido', + }, + step: { + default: 'Por favor ingrese un paso válido de %s', + }, + stringCase: { + default: 'Por favor ingrese sólo caracteres en minúscula', + upper: 'Por favor ingrese sólo caracteres en mayúscula', + }, + stringLength: { + between: 'Por favor ingrese un valor con una longitud entre %s y %s caracteres', + default: 'Por favor ingrese un valor con una longitud válida', + less: 'Por favor ingrese menos de %s caracteres', + more: 'Por favor ingrese más de %s caracteres', + }, + uri: { + default: 'Por favor ingresese una URI válida', + }, + uuid: { + default: 'Por favor ingrese un número UUID válido', + version: 'Por favor ingrese una versión UUID válida para %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Bélgica', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'España', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Reino Unido', + GR: 'Grecia', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Países Bajos', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Rumanía', + RS: 'Serbia', + RU: 'Rusa', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + VE: 'Venezuela', + ZA: 'Sudáfrica', + }, + country: 'Por favor ingrese un número VAT válido en %s', + default: 'Por favor ingrese un número VAT válido', + }, + vin: { + default: 'Por favor ingrese un número VIN válido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suiza', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marruecos', + NL: 'Países Bajos', + PL: 'Poland', + PT: 'Portugal', + RO: 'Rumanía', + RU: 'Rusia', + SE: 'Suecia', + SG: 'Singapur', + SK: 'Eslovaquia', + US: 'Estados Unidos', + }, + country: 'Por favor ingrese un código postal válido en %s', + default: 'Por favor ingrese un código postal válido', + }, + }; + + return es_CL; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/es_CL.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/es_CL.min.js new file mode 100644 index 0000000..487c35a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/es_CL.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.es_CL=factory())})(this,(function(){"use strict";var es_CL={base64:{default:"Por favor ingrese un valor válido en base 64"},between:{default:"Por favor ingrese un valor entre %s y %s",notInclusive:"Por favor ingrese un valor sólo entre %s and %s"},bic:{default:"Por favor ingrese un número BIC válido"},callback:{default:"Por favor ingrese un valor válido"},choice:{between:"Por favor elija de %s a %s opciones",default:"Por favor ingrese un valor válido",less:"Por favor elija %s opciones como mínimo",more:"Por favor elija %s optiones como máximo"},color:{default:"Por favor ingrese un color válido"},creditCard:{default:"Por favor ingrese un número válido de tarjeta de crédito"},cusip:{default:"Por favor ingrese un número CUSIP válido"},date:{default:"Por favor ingrese una fecha válida",max:"Por favor ingrese una fecha anterior a %s",min:"Por favor ingrese una fecha posterior a %s",range:"Por favor ingrese una fecha en el rango %s - %s"},different:{default:"Por favor ingrese un valor distinto"},digits:{default:"Por favor ingrese sólo dígitos"},ean:{default:"Por favor ingrese un número EAN válido"},ein:{default:"Por favor ingrese un número EIN válido"},emailAddress:{default:"Por favor ingrese un email válido"},file:{default:"Por favor elija un archivo válido"},greaterThan:{default:"Por favor ingrese un valor mayor o igual a %s",notInclusive:"Por favor ingrese un valor mayor que %s"},grid:{default:"Por favor ingrese un número GRId válido"},hex:{default:"Por favor ingrese un valor hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emiratos Árabes Unidos",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaiyán",BA:"Bosnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgaria",BH:"Baréin",BI:"Burundi",BJ:"Benín",BR:"Brasil",CH:"Suiza",CI:"Costa de Marfil",CM:"Camerún",CR:"Costa Rica",CV:"Cabo Verde",CY:"Cyprus",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argelia",EE:"Estonia",ES:"España",FI:"Finlandia",FO:"Islas Feroe",FR:"Francia",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlandia",GR:"Grecia",GT:"Guatemala",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islandia",IT:"Italia",JO:"Jordania",KW:"Kuwait",KZ:"Kazajistán",LB:"Líbano",LI:"Liechtenstein",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MC:"Mónaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Malí",MR:"Mauritania",MT:"Malta",MU:"Mauricio",MZ:"Mozambique",NL:"Países Bajos",NO:"Noruega",PK:"Pakistán",PL:"Poland",PS:"Palestina",PT:"Portugal",QA:"Catar",RO:"Rumania",RS:"Serbia",SA:"Arabia Saudita",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",SN:"Senegal",TL:"Timor Oriental",TN:"Túnez",TR:"Turquía",VG:"Islas Vírgenes Británicas",XK:"República de Kosovo"},country:"Por favor ingrese un número IBAN válido en %s",default:"Por favor ingrese un número IBAN válido"},id:{countries:{BA:"Bosnia Herzegovina",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estonia",ES:"España",FI:"Finlandia",HR:"Croacia",IE:"Irlanda",IS:"Islandia",LT:"Lituania",LV:"Letonia",ME:"Montenegro",MK:"Macedonia",NL:"Países Bajos",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",TH:"Tailandia",TR:"Turquía",ZA:"Sudáfrica"},country:"Por favor ingrese un número de identificación válido en %s",default:"Por favor ingrese un número de identificación válido"},identical:{default:"Por favor ingrese el mismo valor"},imei:{default:"Por favor ingrese un número IMEI válido"},imo:{default:"Por favor ingrese un número IMO válido"},integer:{default:"Por favor ingrese un número válido"},ip:{default:"Por favor ingrese una dirección IP válida",ipv4:"Por favor ingrese una dirección IPv4 válida",ipv6:"Por favor ingrese una dirección IPv6 válida"},isbn:{default:"Por favor ingrese un número ISBN válido"},isin:{default:"Por favor ingrese un número ISIN válido"},ismn:{default:"Por favor ingrese un número ISMN válido"},issn:{default:"Por favor ingrese un número ISSN válido"},lessThan:{default:"Por favor ingrese un valor menor o igual a %s",notInclusive:"Por favor ingrese un valor menor que %s"},mac:{default:"Por favor ingrese una dirección MAC válida"},meid:{default:"Por favor ingrese un número MEID válido"},notEmpty:{default:"Por favor ingrese un valor"},numeric:{default:"Por favor ingrese un número decimal válido"},phone:{countries:{AE:"Emiratos Árabes Unidos",BG:"Bulgaria",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IN:"India",MA:"Marruecos",NL:"Países Bajos",PK:"Pakistán",RO:"Rumania",RU:"Rusa",SK:"Eslovaquia",TH:"Tailandia",US:"Estados Unidos",VE:"Venezuela"},country:"Por favor ingrese un número válido de teléfono en %s",default:"Por favor ingrese un número válido de teléfono"},promise:{default:"Por favor ingrese un valor válido"},regexp:{default:"Por favor ingrese un valor que coincida con el patrón"},remote:{default:"Por favor ingrese un valor válido"},rtn:{default:"Por favor ingrese un número RTN válido"},sedol:{default:"Por favor ingrese un número SEDOL válido"},siren:{default:"Por favor ingrese un número SIREN válido"},siret:{default:"Por favor ingrese un número SIRET válido"},step:{default:"Por favor ingrese un paso válido de %s"},stringCase:{default:"Por favor ingrese sólo caracteres en minúscula",upper:"Por favor ingrese sólo caracteres en mayúscula"},stringLength:{between:"Por favor ingrese un valor con una longitud entre %s y %s caracteres",default:"Por favor ingrese un valor con una longitud válida",less:"Por favor ingrese menos de %s caracteres",more:"Por favor ingrese más de %s caracteres"},uri:{default:"Por favor ingresese una URI válida"},uuid:{default:"Por favor ingrese un número UUID válido",version:"Por favor ingrese una versión UUID válida para %s"},vat:{countries:{AT:"Austria",BE:"Bélgica",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CY:"Chipre",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",EE:"Estonia",EL:"Grecia",ES:"España",FI:"Finlandia",FR:"Francia",GB:"Reino Unido",GR:"Grecia",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IS:"Islandia",IT:"Italia",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MT:"Malta",NL:"Países Bajos",NO:"Noruega",PL:"Polonia",PT:"Portugal",RO:"Rumanía",RS:"Serbia",RU:"Rusa",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",VE:"Venezuela",ZA:"Sudáfrica"},country:"Por favor ingrese un número VAT válido en %s",default:"Por favor ingrese un número VAT válido"},vin:{default:"Por favor ingrese un número VIN válido"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasil",CA:"Canadá",CH:"Suiza",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Marruecos",NL:"Países Bajos",PL:"Poland",PT:"Portugal",RO:"Rumanía",RU:"Rusia",SE:"Suecia",SG:"Singapur",SK:"Eslovaquia",US:"Estados Unidos"},country:"Por favor ingrese un código postal válido en %s",default:"Por favor ingrese un código postal válido"}};return es_CL})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/es_ES.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/es_ES.js new file mode 100644 index 0000000..e8fe936 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/es_ES.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.es_ES = factory())); +})(this, (function () { 'use strict'; + + /** + * Spanish language package + * Translated by @vadail + */ + + var es_ES = { + base64: { + default: 'Por favor introduce un valor válido en base 64', + }, + between: { + default: 'Por favor introduce un valor entre %s y %s', + notInclusive: 'Por favor introduce un valor sólo entre %s and %s', + }, + bic: { + default: 'Por favor introduce un número BIC válido', + }, + callback: { + default: 'Por favor introduce un valor válido', + }, + choice: { + between: 'Por favor elija de %s a %s opciones', + default: 'Por favor introduce un valor válido', + less: 'Por favor elija %s opciones como mínimo', + more: 'Por favor elija %s optiones como máximo', + }, + color: { + default: 'Por favor introduce un color válido', + }, + creditCard: { + default: 'Por favor introduce un número válido de tarjeta de crédito', + }, + cusip: { + default: 'Por favor introduce un número CUSIP válido', + }, + date: { + default: 'Por favor introduce una fecha válida', + max: 'Por favor introduce una fecha previa al %s', + min: 'Por favor introduce una fecha posterior al %s', + range: 'Por favor introduce una fecha entre el %s y el %s', + }, + different: { + default: 'Por favor introduce un valor distinto', + }, + digits: { + default: 'Por favor introduce sólo dígitos', + }, + ean: { + default: 'Por favor introduce un número EAN válido', + }, + ein: { + default: 'Por favor introduce un número EIN válido', + }, + emailAddress: { + default: 'Por favor introduce un email válido', + }, + file: { + default: 'Por favor elija un archivo válido', + }, + greaterThan: { + default: 'Por favor introduce un valor mayor o igual a %s', + notInclusive: 'Por favor introduce un valor mayor que %s', + }, + grid: { + default: 'Por favor introduce un número GRId válido', + }, + hex: { + default: 'Por favor introduce un valor hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratos Árabes Unidos', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaiyán', + BA: 'Bosnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suiza', + CI: 'Costa de Marfil', + CM: 'Camerún', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argelia', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + FO: 'Islas Feroe', + FR: 'Francia', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Mónaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Malí', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauricio', + MZ: 'Mozambique', + NL: 'Países Bajos', + NO: 'Noruega', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Rumania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Túnez', + TR: 'Turquía', + VG: 'Islas Vírgenes Británicas', + XK: 'República de Kosovo', + }, + country: 'Por favor introduce un número IBAN válido en %s', + default: 'Por favor introduce un número IBAN válido', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + HR: 'Croacia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Países Bajos', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turquía', + ZA: 'Sudáfrica', + }, + country: 'Por favor introduce un número válido de identificación en %s', + default: 'Por favor introduce un número de identificación válido', + }, + identical: { + default: 'Por favor introduce el mismo valor', + }, + imei: { + default: 'Por favor introduce un número IMEI válido', + }, + imo: { + default: 'Por favor introduce un número IMO válido', + }, + integer: { + default: 'Por favor introduce un número válido', + }, + ip: { + default: 'Por favor introduce una dirección IP válida', + ipv4: 'Por favor introduce una dirección IPv4 válida', + ipv6: 'Por favor introduce una dirección IPv6 válida', + }, + isbn: { + default: 'Por favor introduce un número ISBN válido', + }, + isin: { + default: 'Por favor introduce un número ISIN válido', + }, + ismn: { + default: 'Por favor introduce un número ISMN válido', + }, + issn: { + default: 'Por favor introduce un número ISSN válido', + }, + lessThan: { + default: 'Por favor introduce un valor menor o igual a %s', + notInclusive: 'Por favor introduce un valor menor que %s', + }, + mac: { + default: 'Por favor introduce una dirección MAC válida', + }, + meid: { + default: 'Por favor introduce un número MEID válido', + }, + notEmpty: { + default: 'Por favor introduce un valor', + }, + numeric: { + default: 'Por favor introduce un número decimal válido', + }, + phone: { + countries: { + AE: 'Emiratos Árabes Unidos', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IN: 'India', + MA: 'Marruecos', + NL: 'Países Bajos', + PK: 'Pakistán', + RO: 'Rumania', + RU: 'Rusa', + SK: 'Eslovaquia', + TH: 'Tailandia', + US: 'Estados Unidos', + VE: 'Venezuela', + }, + country: 'Por favor introduce un número válido de teléfono en %s', + default: 'Por favor introduce un número válido de teléfono', + }, + promise: { + default: 'Por favor introduce un valor válido', + }, + regexp: { + default: 'Por favor introduce un valor que coincida con el patrón', + }, + remote: { + default: 'Por favor introduce un valor válido', + }, + rtn: { + default: 'Por favor introduce un número RTN válido', + }, + sedol: { + default: 'Por favor introduce un número SEDOL válido', + }, + siren: { + default: 'Por favor introduce un número SIREN válido', + }, + siret: { + default: 'Por favor introduce un número SIRET válido', + }, + step: { + default: 'Por favor introduce un paso válido de %s', + }, + stringCase: { + default: 'Por favor introduce sólo caracteres en minúscula', + upper: 'Por favor introduce sólo caracteres en mayúscula', + }, + stringLength: { + between: 'Por favor introduce un valor con una longitud entre %s y %s caracteres', + default: 'Por favor introduce un valor con una longitud válida', + less: 'Por favor introduce menos de %s caracteres', + more: 'Por favor introduce más de %s caracteres', + }, + uri: { + default: 'Por favor introduce una URI válida', + }, + uuid: { + default: 'Por favor introduce un número UUID válido', + version: 'Por favor introduce una versión UUID válida para %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Bélgica', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'España', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Reino Unido', + GR: 'Grecia', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Países Bajos', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Rumanía', + RS: 'Serbia', + RU: 'Rusa', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + VE: 'Venezuela', + ZA: 'Sudáfrica', + }, + country: 'Por favor introduce un número IVA válido en %s', + default: 'Por favor introduce un número IVA válido', + }, + vin: { + default: 'Por favor introduce un número VIN válido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suiza', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marruecos', + NL: 'Países Bajos', + PL: 'Poland', + PT: 'Portugal', + RO: 'Rumanía', + RU: 'Rusa', + SE: 'Suecia', + SG: 'Singapur', + SK: 'Eslovaquia', + US: 'Estados Unidos', + }, + country: 'Por favor introduce un código postal válido en %s', + default: 'Por favor introduce un código postal válido', + }, + }; + + return es_ES; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/es_ES.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/es_ES.min.js new file mode 100644 index 0000000..956b9dd --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/es_ES.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.es_ES=factory())})(this,(function(){"use strict";var es_ES={base64:{default:"Por favor introduce un valor válido en base 64"},between:{default:"Por favor introduce un valor entre %s y %s",notInclusive:"Por favor introduce un valor sólo entre %s and %s"},bic:{default:"Por favor introduce un número BIC válido"},callback:{default:"Por favor introduce un valor válido"},choice:{between:"Por favor elija de %s a %s opciones",default:"Por favor introduce un valor válido",less:"Por favor elija %s opciones como mínimo",more:"Por favor elija %s optiones como máximo"},color:{default:"Por favor introduce un color válido"},creditCard:{default:"Por favor introduce un número válido de tarjeta de crédito"},cusip:{default:"Por favor introduce un número CUSIP válido"},date:{default:"Por favor introduce una fecha válida",max:"Por favor introduce una fecha previa al %s",min:"Por favor introduce una fecha posterior al %s",range:"Por favor introduce una fecha entre el %s y el %s"},different:{default:"Por favor introduce un valor distinto"},digits:{default:"Por favor introduce sólo dígitos"},ean:{default:"Por favor introduce un número EAN válido"},ein:{default:"Por favor introduce un número EIN válido"},emailAddress:{default:"Por favor introduce un email válido"},file:{default:"Por favor elija un archivo válido"},greaterThan:{default:"Por favor introduce un valor mayor o igual a %s",notInclusive:"Por favor introduce un valor mayor que %s"},grid:{default:"Por favor introduce un número GRId válido"},hex:{default:"Por favor introduce un valor hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emiratos Árabes Unidos",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaiyán",BA:"Bosnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgaria",BH:"Baréin",BI:"Burundi",BJ:"Benín",BR:"Brasil",CH:"Suiza",CI:"Costa de Marfil",CM:"Camerún",CR:"Costa Rica",CV:"Cabo Verde",CY:"Cyprus",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argelia",EE:"Estonia",ES:"España",FI:"Finlandia",FO:"Islas Feroe",FR:"Francia",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlandia",GR:"Grecia",GT:"Guatemala",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islandia",IT:"Italia",JO:"Jordania",KW:"Kuwait",KZ:"Kazajistán",LB:"Líbano",LI:"Liechtenstein",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MC:"Mónaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Malí",MR:"Mauritania",MT:"Malta",MU:"Mauricio",MZ:"Mozambique",NL:"Países Bajos",NO:"Noruega",PK:"Pakistán",PL:"Poland",PS:"Palestina",PT:"Portugal",QA:"Catar",RO:"Rumania",RS:"Serbia",SA:"Arabia Saudita",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",SN:"Senegal",TL:"Timor Oriental",TN:"Túnez",TR:"Turquía",VG:"Islas Vírgenes Británicas",XK:"República de Kosovo"},country:"Por favor introduce un número IBAN válido en %s",default:"Por favor introduce un número IBAN válido"},id:{countries:{BA:"Bosnia Herzegovina",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estonia",ES:"España",FI:"Finlandia",HR:"Croacia",IE:"Irlanda",IS:"Islandia",LT:"Lituania",LV:"Letonia",ME:"Montenegro",MK:"Macedonia",NL:"Países Bajos",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",TH:"Tailandia",TR:"Turquía",ZA:"Sudáfrica"},country:"Por favor introduce un número válido de identificación en %s",default:"Por favor introduce un número de identificación válido"},identical:{default:"Por favor introduce el mismo valor"},imei:{default:"Por favor introduce un número IMEI válido"},imo:{default:"Por favor introduce un número IMO válido"},integer:{default:"Por favor introduce un número válido"},ip:{default:"Por favor introduce una dirección IP válida",ipv4:"Por favor introduce una dirección IPv4 válida",ipv6:"Por favor introduce una dirección IPv6 válida"},isbn:{default:"Por favor introduce un número ISBN válido"},isin:{default:"Por favor introduce un número ISIN válido"},ismn:{default:"Por favor introduce un número ISMN válido"},issn:{default:"Por favor introduce un número ISSN válido"},lessThan:{default:"Por favor introduce un valor menor o igual a %s",notInclusive:"Por favor introduce un valor menor que %s"},mac:{default:"Por favor introduce una dirección MAC válida"},meid:{default:"Por favor introduce un número MEID válido"},notEmpty:{default:"Por favor introduce un valor"},numeric:{default:"Por favor introduce un número decimal válido"},phone:{countries:{AE:"Emiratos Árabes Unidos",BG:"Bulgaria",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IN:"India",MA:"Marruecos",NL:"Países Bajos",PK:"Pakistán",RO:"Rumania",RU:"Rusa",SK:"Eslovaquia",TH:"Tailandia",US:"Estados Unidos",VE:"Venezuela"},country:"Por favor introduce un número válido de teléfono en %s",default:"Por favor introduce un número válido de teléfono"},promise:{default:"Por favor introduce un valor válido"},regexp:{default:"Por favor introduce un valor que coincida con el patrón"},remote:{default:"Por favor introduce un valor válido"},rtn:{default:"Por favor introduce un número RTN válido"},sedol:{default:"Por favor introduce un número SEDOL válido"},siren:{default:"Por favor introduce un número SIREN válido"},siret:{default:"Por favor introduce un número SIRET válido"},step:{default:"Por favor introduce un paso válido de %s"},stringCase:{default:"Por favor introduce sólo caracteres en minúscula",upper:"Por favor introduce sólo caracteres en mayúscula"},stringLength:{between:"Por favor introduce un valor con una longitud entre %s y %s caracteres",default:"Por favor introduce un valor con una longitud válida",less:"Por favor introduce menos de %s caracteres",more:"Por favor introduce más de %s caracteres"},uri:{default:"Por favor introduce una URI válida"},uuid:{default:"Por favor introduce un número UUID válido",version:"Por favor introduce una versión UUID válida para %s"},vat:{countries:{AT:"Austria",BE:"Bélgica",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CY:"Chipre",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",EE:"Estonia",EL:"Grecia",ES:"España",FI:"Finlandia",FR:"Francia",GB:"Reino Unido",GR:"Grecia",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IS:"Islandia",IT:"Italia",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MT:"Malta",NL:"Países Bajos",NO:"Noruega",PL:"Polonia",PT:"Portugal",RO:"Rumanía",RS:"Serbia",RU:"Rusa",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",VE:"Venezuela",ZA:"Sudáfrica"},country:"Por favor introduce un número IVA válido en %s",default:"Por favor introduce un número IVA válido"},vin:{default:"Por favor introduce un número VIN válido"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasil",CA:"Canadá",CH:"Suiza",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Marruecos",NL:"Países Bajos",PL:"Poland",PT:"Portugal",RO:"Rumanía",RU:"Rusa",SE:"Suecia",SG:"Singapur",SK:"Eslovaquia",US:"Estados Unidos"},country:"Por favor introduce un código postal válido en %s",default:"Por favor introduce un código postal válido"}};return es_ES})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/eu_ES.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/eu_ES.js new file mode 100644 index 0000000..f106b39 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/eu_ES.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.eu_ES = factory())); +})(this, (function () { 'use strict'; + + /** + * Basque language package + * Translated by @xabikip + */ + + var eu_ES = { + base64: { + default: 'Mesedez sartu base 64an balore egoki bat', + }, + between: { + default: 'Mesedez sartu %s eta %s artean balore bat', + notInclusive: 'Mesedez sartu %s eta %s arteko balore bat soilik', + }, + bic: { + default: 'Mesedez sartu BIC zenbaki egoki bat', + }, + callback: { + default: 'Mesedez sartu balore egoki bat', + }, + choice: { + between: 'Mesedez aukeratu %s eta %s arteko aukerak', + default: 'Mesedez sartu balore egoki bat', + less: 'Mesedez aukeraru %s aukera gutxienez', + more: 'Mesedez aukeraru %s aukera gehienez', + }, + color: { + default: 'Mesedezn sartu kolore egoki bat', + }, + creditCard: { + default: 'Mesedez sartu kerditu-txartelaren zenbaki egoki bat', + }, + cusip: { + default: 'Mesedez sartu CUSIP zenbaki egoki bat', + }, + date: { + default: 'Mesedez sartu data egoki bat', + max: 'Mesedez sartu %s baino lehenagoko data bat', + min: 'Mesedez sartu %s baino geroagoko data bat', + range: 'Mesedez sartu %s eta %s arteko data bat', + }, + different: { + default: 'Mesedez sartu balore ezberdin bat', + }, + digits: { + default: 'Mesedez sigituak soilik sartu', + }, + ean: { + default: 'Mesedez EAN zenbaki egoki bat sartu', + }, + ein: { + default: 'Mesedez EIN zenbaki egoki bat sartu', + }, + emailAddress: { + default: 'Mesedez e-posta egoki bat sartu', + }, + file: { + default: 'Mesedez artxibo egoki bat aukeratu', + }, + greaterThan: { + default: 'Mesedez %s baino handiagoa edo berdina den zenbaki bat sartu', + notInclusive: 'Mesedez %s baino handiagoa den zenbaki bat sartu', + }, + grid: { + default: 'Mesedez GRID zenbaki egoki bat sartu', + }, + hex: { + default: 'Mesedez sartu balore hamaseitar egoki bat', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Arabiar Emirerri Batuak', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia-Herzegovina', + BE: 'Belgika', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suitza', + CI: 'Boli Kosta', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + DO: 'Dominikar Errepublika', + DZ: 'Aljeria', + EE: 'Estonia', + ES: 'Espainia', + FI: 'Finlandia', + FO: 'Feroe Irlak', + FR: 'Frantzia', + GB: 'Erresuma Batua', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grezia', + GT: 'Guatemala', + HR: 'Kroazia', + HU: 'Hungaria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Monako', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Mazedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Maurizio', + MZ: 'Mozambike', + NL: 'Herbeherak', + NO: 'Norvegia', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Errumania', + RS: 'Serbia', + SA: 'Arabia Saudi', + SE: 'Suedia', + SI: 'Eslovenia', + SK: 'Eslovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Ekialdeko Timor', + TN: 'Tunisia', + TR: 'Turkia', + VG: 'Birjina Uharte Britainiar', + XK: 'Kosovoko Errepublika', + }, + country: 'Mesedez, sartu IBAN zenbaki egoki bat honako: %s', + default: 'Mesedez, sartu IBAN zenbaki egoki bat', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suitza', + CL: 'Txile', + CN: 'Txina', + CZ: 'Txekiar Errepublika', + DK: 'Danimarka', + EE: 'Estonia', + ES: 'Espainia', + FI: 'Finlandia', + HR: 'Kroazia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Mazedonia', + NL: 'Herbeherak', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovakia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turkia', + ZA: 'Hegoafrika', + }, + country: 'Mesedez baliozko identifikazio-zenbakia sartu honako: %s', + default: 'Mesedez baliozko identifikazio-zenbakia sartu', + }, + identical: { + default: 'Mesedez, balio bera sartu', + }, + imei: { + default: 'Mesedez, IMEI baliozko zenbaki bat sartu', + }, + imo: { + default: 'Mesedez, IMO baliozko zenbaki bat sartu', + }, + integer: { + default: 'Mesedez, baliozko zenbaki bat sartu', + }, + ip: { + default: 'Mesedez, baliozko IP helbide bat sartu', + ipv4: 'Mesedez, baliozko IPv4 helbide bat sartu', + ipv6: 'Mesedez, baliozko IPv6 helbide bat sartu', + }, + isbn: { + default: 'Mesedez, ISBN baliozko zenbaki bat sartu', + }, + isin: { + default: 'Mesedez, ISIN baliozko zenbaki bat sartu', + }, + ismn: { + default: 'Mesedez, ISMM baliozko zenbaki bat sartu', + }, + issn: { + default: 'Mesedez, ISSN baliozko zenbaki bat sartu', + }, + lessThan: { + default: 'Mesedez, %s en balio txikiagoa edo berdina sartu', + notInclusive: 'Mesedez, %s baino balio txikiago sartu', + }, + mac: { + default: 'Mesedez, baliozko MAC helbide bat sartu', + }, + meid: { + default: 'Mesedez, MEID baliozko zenbaki bat sartu', + }, + notEmpty: { + default: 'Mesedez balore bat sartu', + }, + numeric: { + default: 'Mesedez, baliozko zenbaki hamartar bat sartu', + }, + phone: { + countries: { + AE: 'Arabiar Emirerri Batua', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'Txina', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + ES: 'Espainia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + IN: 'India', + MA: 'Maroko', + NL: 'Herbeherak', + PK: 'Pakistan', + RO: 'Errumania', + RU: 'Errusiarra', + SK: 'Eslovakia', + TH: 'Tailandia', + US: 'Estatu Batuak', + VE: 'Venezuela', + }, + country: 'Mesedez baliozko telefono zenbaki bat sartu honako: %s', + default: 'Mesedez baliozko telefono zenbaki bat sartu', + }, + promise: { + default: 'Mesedez sartu balore egoki bat', + }, + regexp: { + default: 'Mesedez, patroiarekin bat datorren balio bat sartu', + }, + remote: { + default: 'Mesedez balore egoki bat sartu', + }, + rtn: { + default: 'Mesedez, RTN baliozko zenbaki bat sartu', + }, + sedol: { + default: 'Mesedez, SEDOL baliozko zenbaki bat sartu', + }, + siren: { + default: 'Mesedez, SIREN baliozko zenbaki bat sartu', + }, + siret: { + default: 'Mesedez, SIRET baliozko zenbaki bat sartu', + }, + step: { + default: 'Mesedez %s -ko pausu egoki bat sartu', + }, + stringCase: { + default: 'Mesedez, minuskulazko karaktereak bakarrik sartu', + upper: 'Mesedez, maiuzkulazko karaktereak bakarrik sartu', + }, + stringLength: { + between: 'Mesedez, %s eta %s arteko luzeera duen balore bat sartu', + default: 'Mesedez, luzeera egoki bateko baloreak bakarrik sartu', + less: 'Mesedez, %s baino karaktere gutxiago sartu', + more: 'Mesedez, %s baino karaktere gehiago sartu', + }, + uri: { + default: 'Mesedez, URI egoki bat sartu.', + }, + uuid: { + default: 'Mesedez, UUID baliozko zenbaki bat sartu', + version: 'Mesedez, UUID bertsio egoki bat sartu honendako: %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgika', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suitza', + CY: 'Txipre', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + EE: 'Estonia', + EL: 'Grezia', + ES: 'Espainia', + FI: 'Finlandia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + GR: 'Grezia', + HR: 'Kroazia', + HU: 'Hungaria', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Herbeherak', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Errumania', + RS: 'Serbia', + RU: 'Errusia', + SE: 'Suedia', + SI: 'Eslovenia', + SK: 'Eslovakia', + VE: 'Venezuela', + ZA: 'Hegoafrika', + }, + country: 'Mesedez, BEZ zenbaki egoki bat sartu herrialde hontarako: %s', + default: 'Mesedez, BEZ zenbaki egoki bat sartu', + }, + vin: { + default: 'Mesedez, baliozko VIN zenbaki bat sartu', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Kanada', + CH: 'Suitza', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + ES: 'Espainia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Maroko', + NL: 'Herbeherak', + PL: 'Poland', + PT: 'Portugal', + RO: 'Errumania', + RU: 'Errusia', + SE: 'Suedia', + SG: 'Singapur', + SK: 'Eslovakia', + US: 'Estatu Batuak', + }, + country: 'Mesedez, baliozko posta kode bat sartu herrialde honetarako: %s', + default: 'Mesedez, baliozko posta kode bat sartu', + }, + }; + + return eu_ES; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/eu_ES.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/eu_ES.min.js new file mode 100644 index 0000000..5bfa171 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/eu_ES.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.eu_ES=factory())})(this,(function(){"use strict";var eu_ES={base64:{default:"Mesedez sartu base 64an balore egoki bat"},between:{default:"Mesedez sartu %s eta %s artean balore bat",notInclusive:"Mesedez sartu %s eta %s arteko balore bat soilik"},bic:{default:"Mesedez sartu BIC zenbaki egoki bat"},callback:{default:"Mesedez sartu balore egoki bat"},choice:{between:"Mesedez aukeratu %s eta %s arteko aukerak",default:"Mesedez sartu balore egoki bat",less:"Mesedez aukeraru %s aukera gutxienez",more:"Mesedez aukeraru %s aukera gehienez"},color:{default:"Mesedezn sartu kolore egoki bat"},creditCard:{default:"Mesedez sartu kerditu-txartelaren zenbaki egoki bat"},cusip:{default:"Mesedez sartu CUSIP zenbaki egoki bat"},date:{default:"Mesedez sartu data egoki bat",max:"Mesedez sartu %s baino lehenagoko data bat",min:"Mesedez sartu %s baino geroagoko data bat",range:"Mesedez sartu %s eta %s arteko data bat"},different:{default:"Mesedez sartu balore ezberdin bat"},digits:{default:"Mesedez sigituak soilik sartu"},ean:{default:"Mesedez EAN zenbaki egoki bat sartu"},ein:{default:"Mesedez EIN zenbaki egoki bat sartu"},emailAddress:{default:"Mesedez e-posta egoki bat sartu"},file:{default:"Mesedez artxibo egoki bat aukeratu"},greaterThan:{default:"Mesedez %s baino handiagoa edo berdina den zenbaki bat sartu",notInclusive:"Mesedez %s baino handiagoa den zenbaki bat sartu"},grid:{default:"Mesedez GRID zenbaki egoki bat sartu"},hex:{default:"Mesedez sartu balore hamaseitar egoki bat"},iban:{countries:{AD:"Andorra",AE:"Arabiar Emirerri Batuak",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia-Herzegovina",BE:"Belgika",BF:"Burkina Faso",BG:"Bulgaria",BH:"Baréin",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Suitza",CI:"Boli Kosta",CM:"Kamerun",CR:"Costa Rica",CV:"Cabo Verde",CY:"Cyprus",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",DO:"Dominikar Errepublika",DZ:"Aljeria",EE:"Estonia",ES:"Espainia",FI:"Finlandia",FO:"Feroe Irlak",FR:"Frantzia",GB:"Erresuma Batua",GE:"Georgia",GI:"Gibraltar",GL:"Groenlandia",GR:"Grezia",GT:"Guatemala",HR:"Kroazia",HU:"Hungaria",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islandia",IT:"Italia",JO:"Jordania",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libano",LI:"Liechtenstein",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MC:"Monako",MD:"Moldavia",ME:"Montenegro",MG:"Madagaskar",MK:"Mazedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Maurizio",MZ:"Mozambike",NL:"Herbeherak",NO:"Norvegia",PK:"Pakistán",PL:"Poland",PS:"Palestina",PT:"Portugal",QA:"Catar",RO:"Errumania",RS:"Serbia",SA:"Arabia Saudi",SE:"Suedia",SI:"Eslovenia",SK:"Eslovakia",SM:"San Marino",SN:"Senegal",TL:"Ekialdeko Timor",TN:"Tunisia",TR:"Turkia",VG:"Birjina Uharte Britainiar",XK:"Kosovoko Errepublika"},country:"Mesedez, sartu IBAN zenbaki egoki bat honako: %s",default:"Mesedez, sartu IBAN zenbaki egoki bat"},id:{countries:{BA:"Bosnia Herzegovina",BG:"Bulgaria",BR:"Brasil",CH:"Suitza",CL:"Txile",CN:"Txina",CZ:"Txekiar Errepublika",DK:"Danimarka",EE:"Estonia",ES:"Espainia",FI:"Finlandia",HR:"Kroazia",IE:"Irlanda",IS:"Islandia",LT:"Lituania",LV:"Letonia",ME:"Montenegro",MK:"Mazedonia",NL:"Herbeherak",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Suecia",SI:"Eslovenia",SK:"Eslovakia",SM:"San Marino",TH:"Tailandia",TR:"Turkia",ZA:"Hegoafrika"},country:"Mesedez baliozko identifikazio-zenbakia sartu honako: %s",default:"Mesedez baliozko identifikazio-zenbakia sartu"},identical:{default:"Mesedez, balio bera sartu"},imei:{default:"Mesedez, IMEI baliozko zenbaki bat sartu"},imo:{default:"Mesedez, IMO baliozko zenbaki bat sartu"},integer:{default:"Mesedez, baliozko zenbaki bat sartu"},ip:{default:"Mesedez, baliozko IP helbide bat sartu",ipv4:"Mesedez, baliozko IPv4 helbide bat sartu",ipv6:"Mesedez, baliozko IPv6 helbide bat sartu"},isbn:{default:"Mesedez, ISBN baliozko zenbaki bat sartu"},isin:{default:"Mesedez, ISIN baliozko zenbaki bat sartu"},ismn:{default:"Mesedez, ISMM baliozko zenbaki bat sartu"},issn:{default:"Mesedez, ISSN baliozko zenbaki bat sartu"},lessThan:{default:"Mesedez, %s en balio txikiagoa edo berdina sartu",notInclusive:"Mesedez, %s baino balio txikiago sartu"},mac:{default:"Mesedez, baliozko MAC helbide bat sartu"},meid:{default:"Mesedez, MEID baliozko zenbaki bat sartu"},notEmpty:{default:"Mesedez balore bat sartu"},numeric:{default:"Mesedez, baliozko zenbaki hamartar bat sartu"},phone:{countries:{AE:"Arabiar Emirerri Batua",BG:"Bulgaria",BR:"Brasil",CN:"Txina",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",ES:"Espainia",FR:"Frantzia",GB:"Erresuma Batuak",IN:"India",MA:"Maroko",NL:"Herbeherak",PK:"Pakistan",RO:"Errumania",RU:"Errusiarra",SK:"Eslovakia",TH:"Tailandia",US:"Estatu Batuak",VE:"Venezuela"},country:"Mesedez baliozko telefono zenbaki bat sartu honako: %s",default:"Mesedez baliozko telefono zenbaki bat sartu"},promise:{default:"Mesedez sartu balore egoki bat"},regexp:{default:"Mesedez, patroiarekin bat datorren balio bat sartu"},remote:{default:"Mesedez balore egoki bat sartu"},rtn:{default:"Mesedez, RTN baliozko zenbaki bat sartu"},sedol:{default:"Mesedez, SEDOL baliozko zenbaki bat sartu"},siren:{default:"Mesedez, SIREN baliozko zenbaki bat sartu"},siret:{default:"Mesedez, SIRET baliozko zenbaki bat sartu"},step:{default:"Mesedez %s -ko pausu egoki bat sartu"},stringCase:{default:"Mesedez, minuskulazko karaktereak bakarrik sartu",upper:"Mesedez, maiuzkulazko karaktereak bakarrik sartu"},stringLength:{between:"Mesedez, %s eta %s arteko luzeera duen balore bat sartu",default:"Mesedez, luzeera egoki bateko baloreak bakarrik sartu",less:"Mesedez, %s baino karaktere gutxiago sartu",more:"Mesedez, %s baino karaktere gehiago sartu"},uri:{default:"Mesedez, URI egoki bat sartu."},uuid:{default:"Mesedez, UUID baliozko zenbaki bat sartu",version:"Mesedez, UUID bertsio egoki bat sartu honendako: %s"},vat:{countries:{AT:"Austria",BE:"Belgika",BG:"Bulgaria",BR:"Brasil",CH:"Suitza",CY:"Txipre",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",EE:"Estonia",EL:"Grezia",ES:"Espainia",FI:"Finlandia",FR:"Frantzia",GB:"Erresuma Batuak",GR:"Grezia",HR:"Kroazia",HU:"Hungaria",IE:"Irlanda",IS:"Islandia",IT:"Italia",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MT:"Malta",NL:"Herbeherak",NO:"Noruega",PL:"Polonia",PT:"Portugal",RO:"Errumania",RS:"Serbia",RU:"Errusia",SE:"Suedia",SI:"Eslovenia",SK:"Eslovakia",VE:"Venezuela",ZA:"Hegoafrika"},country:"Mesedez, BEZ zenbaki egoki bat sartu herrialde hontarako: %s",default:"Mesedez, BEZ zenbaki egoki bat sartu"},vin:{default:"Mesedez, baliozko VIN zenbaki bat sartu"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasil",CA:"Kanada",CH:"Suitza",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",ES:"Espainia",FR:"Frantzia",GB:"Erresuma Batuak",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Maroko",NL:"Herbeherak",PL:"Poland",PT:"Portugal",RO:"Errumania",RU:"Errusia",SE:"Suedia",SG:"Singapur",SK:"Eslovakia",US:"Estatu Batuak"},country:"Mesedez, baliozko posta kode bat sartu herrialde honetarako: %s",default:"Mesedez, baliozko posta kode bat sartu"}};return eu_ES})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/fa_IR.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/fa_IR.js new file mode 100644 index 0000000..ecc0456 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/fa_IR.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.fa_IR = factory())); +})(this, (function () { 'use strict'; + + /** + * Persian (Farsi) Language package. + * Translated by @i0 + */ + + var fa_IR = { + base64: { + default: 'لطفا متن کد گذاری شده base 64 صحیح وارد فرمایید', + }, + between: { + default: 'لطفا یک مقدار بین %s و %s وارد فرمایید', + notInclusive: 'لطفا یک مقدار بین فقط %s و %s وارد فرمایید', + }, + bic: { + default: 'لطفا یک شماره BIC معتبر وارد فرمایید', + }, + callback: { + default: 'لطفا یک مقدار صحیح وارد فرمایید', + }, + choice: { + between: 'لطفا %s - %s گزینه انتخاب فرمایید', + default: 'لطفا یک مقدار صحیح وارد فرمایید', + less: 'لطفا حداقل %s گزینه را انتخاب فرمایید', + more: 'لطفا حداکثر %s گزینه را انتخاب فرمایید', + }, + color: { + default: 'لطفا رنگ صحیح وارد فرمایید', + }, + creditCard: { + default: 'لطفا یک شماره کارت اعتباری معتبر وارد فرمایید', + }, + cusip: { + default: 'لطفا یک شماره CUSIP معتبر وارد فرمایید', + }, + date: { + default: 'لطفا یک تاریخ معتبر وارد فرمایید', + max: 'لطفا یک تاریخ قبل از %s وارد فرمایید', + min: 'لطفا یک تاریخ بعد از %s وارد فرمایید', + range: 'لطفا یک تاریخ در بازه %s - %s وارد فرمایید', + }, + different: { + default: 'لطفا یک مقدار متفاوت وارد فرمایید', + }, + digits: { + default: 'لطفا فقط عدد وارد فرمایید', + }, + ean: { + default: 'لطفا یک شماره EAN معتبر وارد فرمایید', + }, + ein: { + default: 'لطفا یک شماره EIN معتبر وارد فرمایید', + }, + emailAddress: { + default: 'لطفا آدرس ایمیل معتبر وارد فرمایید', + }, + file: { + default: 'لطفا فایل معتبر انتخاب فرمایید', + }, + greaterThan: { + default: 'لطفا مقدار بزرگتر یا مساوی با %s وارد فرمایید', + notInclusive: 'لطفا مقدار بزرگتر از %s وارد فرمایید', + }, + grid: { + default: 'لطفا شماره GRId معتبر وارد فرمایید', + }, + hex: { + default: 'لطفا عدد هگزادسیمال صحیح وارد فرمایید', + }, + iban: { + countries: { + AD: 'آندورا', + AE: 'امارات متحده عربی', + AL: 'آلبانی', + AO: 'آنگولا', + AT: 'اتریش', + AZ: 'آذربایجان', + BA: 'بوسنی و هرزگوین', + BE: 'بلژیک', + BF: 'بورکینا فاسو', + BG: 'بلغارستان', + BH: 'بحرین', + BI: 'بروندی', + BJ: 'بنین', + BR: 'برزیل', + CH: 'سوئیس', + CI: 'ساحل عاج', + CM: 'کامرون', + CR: 'کاستاریکا', + CV: 'کیپ ورد', + CY: 'قبرس', + CZ: 'جمهوری چک', + DE: 'آلمان', + DK: 'دانمارک', + DO: 'جمهوری دومینیکن', + DZ: 'الجزایر', + EE: 'استونی', + ES: 'اسپانیا', + FI: 'فنلاند', + FO: 'جزایر فارو', + FR: 'فرانسه', + GB: 'بریتانیا', + GE: 'گرجستان', + GI: 'جبل الطارق', + GL: 'گرینلند', + GR: 'یونان', + GT: 'گواتمالا', + HR: 'کرواسی', + HU: 'مجارستان', + IE: 'ایرلند', + IL: 'اسرائیل', + IR: 'ایران', + IS: 'ایسلند', + IT: 'ایتالیا', + JO: 'اردن', + KW: 'کویت', + KZ: 'قزاقستان', + LB: 'لبنان', + LI: 'لیختن اشتاین', + LT: 'لیتوانی', + LU: 'لوکزامبورگ', + LV: 'لتونی', + MC: 'موناکو', + MD: 'مولدووا', + ME: 'مونته نگرو', + MG: 'ماداگاسکار', + MK: 'مقدونیه', + ML: 'مالی', + MR: 'موریتانی', + MT: 'مالت', + MU: 'موریس', + MZ: 'موزامبیک', + NL: 'هلند', + NO: 'نروژ', + PK: 'پاکستان', + PL: 'لهستان', + PS: 'فلسطین', + PT: 'پرتغال', + QA: 'قطر', + RO: 'رومانی', + RS: 'صربستان', + SA: 'عربستان سعودی', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + SM: 'سان مارینو', + SN: 'سنگال', + TL: 'تیمور شرق', + TN: 'تونس', + TR: 'ترکیه', + VG: 'جزایر ویرجین، بریتانیا', + XK: 'جمهوری کوزوو', + }, + country: 'لطفا یک شماره IBAN صحیح در %s وارد فرمایید', + default: 'لطفا شماره IBAN معتبر وارد فرمایید', + }, + id: { + countries: { + BA: 'بوسنی و هرزگوین', + BG: 'بلغارستان', + BR: 'برزیل', + CH: 'سوئیس', + CL: 'شیلی', + CN: 'چین', + CZ: 'چک', + DK: 'دانمارک', + EE: 'استونی', + ES: 'اسپانیا', + FI: 'فنلاند', + HR: 'کرواسی', + IE: 'ایرلند', + IS: 'ایسلند', + LT: 'لیتوانی', + LV: 'لتونی', + ME: 'مونته نگرو', + MK: 'مقدونیه', + NL: 'هلند', + PL: 'لهستان', + RO: 'رومانی', + RS: 'صربی', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + SM: 'سان مارینو', + TH: 'تایلند', + TR: 'ترکیه', + ZA: 'آفریقای جنوبی', + }, + country: 'لطفا یک شماره شناسایی معتبر در %s وارد کنید', + default: 'لطفا شماره شناسایی صحیح وارد فرمایید', + }, + identical: { + default: 'لطفا مقدار یکسان وارد فرمایید', + }, + imei: { + default: 'لطفا شماره IMEI معتبر وارد فرمایید', + }, + imo: { + default: 'لطفا شماره IMO معتبر وارد فرمایید', + }, + integer: { + default: 'لطفا یک عدد صحیح وارد فرمایید', + }, + ip: { + default: 'لطفا یک آدرس IP معتبر وارد فرمایید', + ipv4: 'لطفا یک آدرس IPv4 معتبر وارد فرمایید', + ipv6: 'لطفا یک آدرس IPv6 معتبر وارد فرمایید', + }, + isbn: { + default: 'لطفا شماره ISBN معتبر وارد فرمایید', + }, + isin: { + default: 'لطفا شماره ISIN معتبر وارد فرمایید', + }, + ismn: { + default: 'لطفا شماره ISMN معتبر وارد فرمایید', + }, + issn: { + default: 'لطفا شماره ISSN معتبر وارد فرمایید', + }, + lessThan: { + default: 'لطفا مقدار کمتر یا مساوی با %s وارد فرمایید', + notInclusive: 'لطفا مقدار کمتر از %s وارد فرمایید', + }, + mac: { + default: 'لطفا یک MAC address معتبر وارد فرمایید', + }, + meid: { + default: 'لطفا یک شماره MEID معتبر وارد فرمایید', + }, + notEmpty: { + default: 'لطفا یک مقدار وارد فرمایید', + }, + numeric: { + default: 'لطفا یک عدد اعشاری صحیح وارد فرمایید', + }, + phone: { + countries: { + AE: 'امارات متحده عربی', + BG: 'بلغارستان', + BR: 'برزیل', + CN: 'کشور چین', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + ES: 'اسپانیا', + FR: 'فرانسه', + GB: 'بریتانیا', + IN: 'هندوستان', + MA: 'مراکش', + NL: 'هلند', + PK: 'پاکستان', + RO: 'رومانی', + RU: 'روسیه', + SK: 'اسلواکی', + TH: 'تایلند', + US: 'ایالات متحده آمریکا', + VE: 'ونزوئلا', + }, + country: 'لطفا یک شماره تلفن معتبر وارد کنید در %s', + default: 'لطفا یک شماره تلفن صحیح وارد فرمایید', + }, + promise: { + default: 'لطفا یک مقدار صحیح وارد فرمایید', + }, + regexp: { + default: 'لطفا یک مقدار مطابق با الگو وارد فرمایید', + }, + remote: { + default: 'لطفا یک مقدار معتبر وارد فرمایید', + }, + rtn: { + default: 'لطفا یک شماره RTN صحیح وارد فرمایید', + }, + sedol: { + default: 'لطفا یک شماره SEDOL صحیح وارد فرمایید', + }, + siren: { + default: 'لطفا یک شماره SIREN صحیح وارد فرمایید', + }, + siret: { + default: 'لطفا یک شماره SIRET صحیح وارد فرمایید', + }, + step: { + default: 'لطفا یک گام صحیح از %s وارد فرمایید', + }, + stringCase: { + default: 'لطفا فقط حروف کوچک وارد فرمایید', + upper: 'لطفا فقط حروف بزرگ وارد فرمایید', + }, + stringLength: { + between: 'لطفا مقداری بین %s و %s حرف وارد فرمایید', + default: 'لطفا یک مقدار با طول صحیح وارد فرمایید', + less: 'لطفا کمتر از %s حرف وارد فرمایید', + more: 'لطفا بیش از %s حرف وارد فرمایید', + }, + uri: { + default: 'لطفا یک آدرس URI صحیح وارد فرمایید', + }, + uuid: { + default: 'لطفا یک شماره UUID معتبر وارد فرمایید', + version: 'لطفا یک نسخه UUID صحیح %s شماره وارد فرمایید', + }, + vat: { + countries: { + AT: 'اتریش', + BE: 'بلژیک', + BG: 'بلغارستان', + BR: 'برزیل', + CH: 'سوئیس', + CY: 'قبرس', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + EE: 'استونی', + EL: 'یونان', + ES: 'اسپانیا', + FI: 'فنلاند', + FR: 'فرانسه', + GB: 'بریتانیا', + GR: 'یونان', + HR: 'کرواسی', + HU: 'مجارستان', + IE: 'ایرلند', + IS: 'ایسلند', + IT: 'ایتالیا', + LT: 'لیتوانی', + LU: 'لوکزامبورگ', + LV: 'لتونی', + MT: 'مالت', + NL: 'هلند', + NO: 'نروژ', + PL: 'لهستانی', + PT: 'پرتغال', + RO: 'رومانی', + RS: 'صربستان', + RU: 'روسیه', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + VE: 'ونزوئلا', + ZA: 'آفریقای جنوبی', + }, + country: 'لطفا یک شماره VAT معتبر در %s وارد کنید', + default: 'لطفا یک شماره VAT صحیح وارد فرمایید', + }, + vin: { + default: 'لطفا یک شماره VIN صحیح وارد فرمایید', + }, + zipCode: { + countries: { + AT: 'اتریش', + BG: 'بلغارستان', + BR: 'برزیل', + CA: 'کانادا', + CH: 'سوئیس', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + ES: 'اسپانیا', + FR: 'فرانسه', + GB: 'بریتانیا', + IE: 'ایرلند', + IN: 'هندوستان', + IT: 'ایتالیا', + MA: 'مراکش', + NL: 'هلند', + PL: 'لهستان', + PT: 'پرتغال', + RO: 'رومانی', + RU: 'روسیه', + SE: 'سوئد', + SG: 'سنگاپور', + SK: 'اسلواکی', + US: 'ایالات متحده', + }, + country: 'لطفا یک کد پستی معتبر در %s وارد کنید', + default: 'لطفا یک کدپستی صحیح وارد فرمایید', + }, + }; + + return fa_IR; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/fa_IR.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/fa_IR.min.js new file mode 100644 index 0000000..6f802ab --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/fa_IR.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.fa_IR=factory())})(this,(function(){"use strict";var fa_IR={base64:{default:"لطفا متن کد گذاری شده base 64 صحیح وارد فرمایید"},between:{default:"لطفا یک مقدار بین %s و %s وارد فرمایید",notInclusive:"لطفا یک مقدار بین فقط %s و %s وارد فرمایید"},bic:{default:"لطفا یک شماره BIC معتبر وارد فرمایید"},callback:{default:"لطفا یک مقدار صحیح وارد فرمایید"},choice:{between:"لطفا %s - %s گزینه انتخاب فرمایید",default:"لطفا یک مقدار صحیح وارد فرمایید",less:"لطفا حداقل %s گزینه را انتخاب فرمایید",more:"لطفا حداکثر %s گزینه را انتخاب فرمایید"},color:{default:"لطفا رنگ صحیح وارد فرمایید"},creditCard:{default:"لطفا یک شماره کارت اعتباری معتبر وارد فرمایید"},cusip:{default:"لطفا یک شماره CUSIP معتبر وارد فرمایید"},date:{default:"لطفا یک تاریخ معتبر وارد فرمایید",max:"لطفا یک تاریخ قبل از %s وارد فرمایید",min:"لطفا یک تاریخ بعد از %s وارد فرمایید",range:"لطفا یک تاریخ در بازه %s - %s وارد فرمایید"},different:{default:"لطفا یک مقدار متفاوت وارد فرمایید"},digits:{default:"لطفا فقط عدد وارد فرمایید"},ean:{default:"لطفا یک شماره EAN معتبر وارد فرمایید"},ein:{default:"لطفا یک شماره EIN معتبر وارد فرمایید"},emailAddress:{default:"لطفا آدرس ایمیل معتبر وارد فرمایید"},file:{default:"لطفا فایل معتبر انتخاب فرمایید"},greaterThan:{default:"لطفا مقدار بزرگتر یا مساوی با %s وارد فرمایید",notInclusive:"لطفا مقدار بزرگتر از %s وارد فرمایید"},grid:{default:"لطفا شماره GRId معتبر وارد فرمایید"},hex:{default:"لطفا عدد هگزادسیمال صحیح وارد فرمایید"},iban:{countries:{AD:"آندورا",AE:"امارات متحده عربی",AL:"آلبانی",AO:"آنگولا",AT:"اتریش",AZ:"آذربایجان",BA:"بوسنی و هرزگوین",BE:"بلژیک",BF:"بورکینا فاسو",BG:"بلغارستان",BH:"بحرین",BI:"بروندی",BJ:"بنین",BR:"برزیل",CH:"سوئیس",CI:"ساحل عاج",CM:"کامرون",CR:"کاستاریکا",CV:"کیپ ورد",CY:"قبرس",CZ:"جمهوری چک",DE:"آلمان",DK:"دانمارک",DO:"جمهوری دومینیکن",DZ:"الجزایر",EE:"استونی",ES:"اسپانیا",FI:"فنلاند",FO:"جزایر فارو",FR:"فرانسه",GB:"بریتانیا",GE:"گرجستان",GI:"جبل الطارق",GL:"گرینلند",GR:"یونان",GT:"گواتمالا",HR:"کرواسی",HU:"مجارستان",IE:"ایرلند",IL:"اسرائیل",IR:"ایران",IS:"ایسلند",IT:"ایتالیا",JO:"اردن",KW:"کویت",KZ:"قزاقستان",LB:"لبنان",LI:"لیختن اشتاین",LT:"لیتوانی",LU:"لوکزامبورگ",LV:"لتونی",MC:"موناکو",MD:"مولدووا",ME:"مونته نگرو",MG:"ماداگاسکار",MK:"مقدونیه",ML:"مالی",MR:"موریتانی",MT:"مالت",MU:"موریس",MZ:"موزامبیک",NL:"هلند",NO:"نروژ",PK:"پاکستان",PL:"لهستان",PS:"فلسطین",PT:"پرتغال",QA:"قطر",RO:"رومانی",RS:"صربستان",SA:"عربستان سعودی",SE:"سوئد",SI:"اسلوونی",SK:"اسلواکی",SM:"سان مارینو",SN:"سنگال",TL:"تیمور شرق",TN:"تونس",TR:"ترکیه",VG:"جزایر ویرجین، بریتانیا",XK:"جمهوری کوزوو"},country:"لطفا یک شماره IBAN صحیح در %s وارد فرمایید",default:"لطفا شماره IBAN معتبر وارد فرمایید"},id:{countries:{BA:"بوسنی و هرزگوین",BG:"بلغارستان",BR:"برزیل",CH:"سوئیس",CL:"شیلی",CN:"چین",CZ:"چک",DK:"دانمارک",EE:"استونی",ES:"اسپانیا",FI:"فنلاند",HR:"کرواسی",IE:"ایرلند",IS:"ایسلند",LT:"لیتوانی",LV:"لتونی",ME:"مونته نگرو",MK:"مقدونیه",NL:"هلند",PL:"لهستان",RO:"رومانی",RS:"صربی",SE:"سوئد",SI:"اسلوونی",SK:"اسلواکی",SM:"سان مارینو",TH:"تایلند",TR:"ترکیه",ZA:"آفریقای جنوبی"},country:"لطفا یک شماره شناسایی معتبر در %s وارد کنید",default:"لطفا شماره شناسایی صحیح وارد فرمایید"},identical:{default:"لطفا مقدار یکسان وارد فرمایید"},imei:{default:"لطفا شماره IMEI معتبر وارد فرمایید"},imo:{default:"لطفا شماره IMO معتبر وارد فرمایید"},integer:{default:"لطفا یک عدد صحیح وارد فرمایید"},ip:{default:"لطفا یک آدرس IP معتبر وارد فرمایید",ipv4:"لطفا یک آدرس IPv4 معتبر وارد فرمایید",ipv6:"لطفا یک آدرس IPv6 معتبر وارد فرمایید"},isbn:{default:"لطفا شماره ISBN معتبر وارد فرمایید"},isin:{default:"لطفا شماره ISIN معتبر وارد فرمایید"},ismn:{default:"لطفا شماره ISMN معتبر وارد فرمایید"},issn:{default:"لطفا شماره ISSN معتبر وارد فرمایید"},lessThan:{default:"لطفا مقدار کمتر یا مساوی با %s وارد فرمایید",notInclusive:"لطفا مقدار کمتر از %s وارد فرمایید"},mac:{default:"لطفا یک MAC address معتبر وارد فرمایید"},meid:{default:"لطفا یک شماره MEID معتبر وارد فرمایید"},notEmpty:{default:"لطفا یک مقدار وارد فرمایید"},numeric:{default:"لطفا یک عدد اعشاری صحیح وارد فرمایید"},phone:{countries:{AE:"امارات متحده عربی",BG:"بلغارستان",BR:"برزیل",CN:"کشور چین",CZ:"چک",DE:"آلمان",DK:"دانمارک",ES:"اسپانیا",FR:"فرانسه",GB:"بریتانیا",IN:"هندوستان",MA:"مراکش",NL:"هلند",PK:"پاکستان",RO:"رومانی",RU:"روسیه",SK:"اسلواکی",TH:"تایلند",US:"ایالات متحده آمریکا",VE:"ونزوئلا"},country:"لطفا یک شماره تلفن معتبر وارد کنید در %s",default:"لطفا یک شماره تلفن صحیح وارد فرمایید"},promise:{default:"لطفا یک مقدار صحیح وارد فرمایید"},regexp:{default:"لطفا یک مقدار مطابق با الگو وارد فرمایید"},remote:{default:"لطفا یک مقدار معتبر وارد فرمایید"},rtn:{default:"لطفا یک شماره RTN صحیح وارد فرمایید"},sedol:{default:"لطفا یک شماره SEDOL صحیح وارد فرمایید"},siren:{default:"لطفا یک شماره SIREN صحیح وارد فرمایید"},siret:{default:"لطفا یک شماره SIRET صحیح وارد فرمایید"},step:{default:"لطفا یک گام صحیح از %s وارد فرمایید"},stringCase:{default:"لطفا فقط حروف کوچک وارد فرمایید",upper:"لطفا فقط حروف بزرگ وارد فرمایید"},stringLength:{between:"لطفا مقداری بین %s و %s حرف وارد فرمایید",default:"لطفا یک مقدار با طول صحیح وارد فرمایید",less:"لطفا کمتر از %s حرف وارد فرمایید",more:"لطفا بیش از %s حرف وارد فرمایید"},uri:{default:"لطفا یک آدرس URI صحیح وارد فرمایید"},uuid:{default:"لطفا یک شماره UUID معتبر وارد فرمایید",version:"لطفا یک نسخه UUID صحیح %s شماره وارد فرمایید"},vat:{countries:{AT:"اتریش",BE:"بلژیک",BG:"بلغارستان",BR:"برزیل",CH:"سوئیس",CY:"قبرس",CZ:"چک",DE:"آلمان",DK:"دانمارک",EE:"استونی",EL:"یونان",ES:"اسپانیا",FI:"فنلاند",FR:"فرانسه",GB:"بریتانیا",GR:"یونان",HR:"کرواسی",HU:"مجارستان",IE:"ایرلند",IS:"ایسلند",IT:"ایتالیا",LT:"لیتوانی",LU:"لوکزامبورگ",LV:"لتونی",MT:"مالت",NL:"هلند",NO:"نروژ",PL:"لهستانی",PT:"پرتغال",RO:"رومانی",RS:"صربستان",RU:"روسیه",SE:"سوئد",SI:"اسلوونی",SK:"اسلواکی",VE:"ونزوئلا",ZA:"آفریقای جنوبی"},country:"لطفا یک شماره VAT معتبر در %s وارد کنید",default:"لطفا یک شماره VAT صحیح وارد فرمایید"},vin:{default:"لطفا یک شماره VIN صحیح وارد فرمایید"},zipCode:{countries:{AT:"اتریش",BG:"بلغارستان",BR:"برزیل",CA:"کانادا",CH:"سوئیس",CZ:"چک",DE:"آلمان",DK:"دانمارک",ES:"اسپانیا",FR:"فرانسه",GB:"بریتانیا",IE:"ایرلند",IN:"هندوستان",IT:"ایتالیا",MA:"مراکش",NL:"هلند",PL:"لهستان",PT:"پرتغال",RO:"رومانی",RU:"روسیه",SE:"سوئد",SG:"سنگاپور",SK:"اسلواکی",US:"ایالات متحده"},country:"لطفا یک کد پستی معتبر در %s وارد کنید",default:"لطفا یک کدپستی صحیح وارد فرمایید"}};return fa_IR})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/fi_FI.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/fi_FI.js new file mode 100644 index 0000000..4517467 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/fi_FI.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.fi_FI = factory())); +})(this, (function () { 'use strict'; + + /** + * Finnish language package + * Translated by @traone + */ + + var fi_FI = { + base64: { + default: 'Ole hyvä anna kelvollinen base64 koodattu merkkijono', + }, + between: { + default: 'Ole hyvä anna arvo %s ja %s väliltä', + notInclusive: 'Ole hyvä anna arvo %s ja %s väliltä', + }, + bic: { + default: 'Ole hyvä anna kelvollinen BIC numero', + }, + callback: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + choice: { + between: 'Ole hyvä valitse %s - %s valintaa', + default: 'Ole hyvä anna kelvollinen arvo', + less: 'Ole hyvä valitse vähintään %s valintaa', + more: 'Ole hyvä valitse enintään %s valintaa', + }, + color: { + default: 'Ole hyvä anna kelvollinen väriarvo', + }, + creditCard: { + default: 'Ole hyvä anna kelvollinen luottokortin numero', + }, + cusip: { + default: 'Ole hyvä anna kelvollinen CUSIP numero', + }, + date: { + default: 'Ole hyvä anna kelvollinen päiväys', + max: 'Ole hyvä anna %s edeltävä päiväys', + min: 'Ole hyvä anna %s jälkeinen päiväys', + range: 'Ole hyvä anna päiväys %s - %s väliltä', + }, + different: { + default: 'Ole hyvä anna jokin toinen arvo', + }, + digits: { + default: 'Vain numerot sallittuja', + }, + ean: { + default: 'Ole hyvä anna kelvollinen EAN numero', + }, + ein: { + default: 'Ole hyvä anna kelvollinen EIN numero', + }, + emailAddress: { + default: 'Ole hyvä anna kelvollinen sähköpostiosoite', + }, + file: { + default: 'Ole hyvä valitse kelvollinen tiedosto', + }, + greaterThan: { + default: 'Ole hyvä anna arvoksi yhtä suuri kuin, tai suurempi kuin %s', + notInclusive: 'Ole hyvä anna arvoksi suurempi kuin %s', + }, + grid: { + default: 'Ole hyvä anna kelvollinen GRId numero', + }, + hex: { + default: 'Ole hyvä anna kelvollinen heksadesimaali luku', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Yhdistyneet arabiemiirikunnat', + AL: 'Albania', + AO: 'Angola', + AT: 'Itävalta', + AZ: 'Azerbaidžan', + BA: 'Bosnia ja Hertsegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilia', + CH: 'Sveitsi', + CI: 'Norsunluurannikko', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Kypros', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + DO: 'Dominikaaninen tasavalta', + DZ: 'Algeria', + EE: 'Viro', + ES: 'Espanja', + FI: 'Suomi', + FO: 'Färsaaret', + FR: 'Ranska', + GB: 'Yhdistynyt kuningaskunta', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Grönlanti', + GR: 'Kreikka', + GT: 'Guatemala', + HR: 'Kroatia', + HU: 'Unkari', + IE: 'Irlanti', + IL: 'Israel', + IR: 'Iran', + IS: 'Islanti', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Liettua', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Makedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Hollanti', + NO: 'Norja', + PK: 'Pakistan', + PL: 'Puola', + PS: 'Palestiina', + PT: 'Portugali', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Itä-Timor', + TN: 'Tunisia', + TR: 'Turkki', + VG: 'Neitsytsaaret, Brittien', + XK: 'Kosovon tasavallan', + }, + country: 'Ole hyvä anna kelvollinen IBAN numero maassa %s', + default: 'Ole hyvä anna kelvollinen IBAN numero', + }, + id: { + countries: { + BA: 'Bosnia ja Hertsegovina', + BG: 'Bulgaria', + BR: 'Brasilia', + CH: 'Sveitsi', + CL: 'Chile', + CN: 'Kiina', + CZ: 'Tsekin tasavalta', + DK: 'Tanska', + EE: 'Viro', + ES: 'Espanja', + FI: 'Suomi', + HR: 'Kroatia', + IE: 'Irlanti', + IS: 'Islanti', + LT: 'Liettua', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Makedonia', + NL: 'Hollanti', + PL: 'Puola', + RO: 'Romania', + RS: 'Serbia', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thaimaa', + TR: 'Turkki', + ZA: 'Etelä Afrikka', + }, + country: 'Ole hyvä anna kelvollinen henkilötunnus maassa %s', + default: 'Ole hyvä anna kelvollinen henkilötunnus', + }, + identical: { + default: 'Ole hyvä anna sama arvo', + }, + imei: { + default: 'Ole hyvä anna kelvollinen IMEI numero', + }, + imo: { + default: 'Ole hyvä anna kelvollinen IMO numero', + }, + integer: { + default: 'Ole hyvä anna kelvollinen kokonaisluku', + }, + ip: { + default: 'Ole hyvä anna kelvollinen IP osoite', + ipv4: 'Ole hyvä anna kelvollinen IPv4 osoite', + ipv6: 'Ole hyvä anna kelvollinen IPv6 osoite', + }, + isbn: { + default: 'Ole hyvä anna kelvollinen ISBN numero', + }, + isin: { + default: 'Ole hyvä anna kelvollinen ISIN numero', + }, + ismn: { + default: 'Ole hyvä anna kelvollinen ISMN numero', + }, + issn: { + default: 'Ole hyvä anna kelvollinen ISSN numero', + }, + lessThan: { + default: 'Ole hyvä anna arvo joka on vähemmän kuin tai yhtä suuri kuin %s', + notInclusive: 'Ole hyvä anna arvo joka on vähemmän kuin %s', + }, + mac: { + default: 'Ole hyvä anna kelvollinen MAC osoite', + }, + meid: { + default: 'Ole hyvä anna kelvollinen MEID numero', + }, + notEmpty: { + default: 'Pakollinen kenttä, anna jokin arvo', + }, + numeric: { + default: 'Ole hyvä anna kelvollinen liukuluku', + }, + phone: { + countries: { + AE: 'Yhdistyneet arabiemiirikunnat', + BG: 'Bulgaria', + BR: 'Brasilia', + CN: 'Kiina', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + ES: 'Espanja', + FR: 'Ranska', + GB: 'Yhdistynyt kuningaskunta', + IN: 'Intia', + MA: 'Marokko', + NL: 'Hollanti', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Venäjä', + SK: 'Slovakia', + TH: 'Thaimaa', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Ole hyvä anna kelvollinen puhelinnumero maassa %s', + default: 'Ole hyvä anna kelvollinen puhelinnumero', + }, + promise: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + regexp: { + default: 'Ole hyvä anna kaavan mukainen arvo', + }, + remote: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + rtn: { + default: 'Ole hyvä anna kelvollinen RTN numero', + }, + sedol: { + default: 'Ole hyvä anna kelvollinen SEDOL numero', + }, + siren: { + default: 'Ole hyvä anna kelvollinen SIREN numero', + }, + siret: { + default: 'Ole hyvä anna kelvollinen SIRET numero', + }, + step: { + default: 'Ole hyvä anna kelvollinen arvo %s porrastettuna', + }, + stringCase: { + default: 'Ole hyvä anna pelkästään pieniä kirjaimia', + upper: 'Ole hyvä anna pelkästään isoja kirjaimia', + }, + stringLength: { + between: 'Ole hyvä anna arvo joka on vähintään %s ja enintään %s merkkiä pitkä', + default: 'Ole hyvä anna kelvollisen mittainen merkkijono', + less: 'Ole hyvä anna vähemmän kuin %s merkkiä', + more: 'Ole hyvä anna vähintään %s merkkiä', + }, + uri: { + default: 'Ole hyvä anna kelvollinen URI', + }, + uuid: { + default: 'Ole hyvä anna kelvollinen UUID numero', + version: 'Ole hyvä anna kelvollinen UUID versio %s numero', + }, + vat: { + countries: { + AT: 'Itävalta', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brasilia', + CH: 'Sveitsi', + CY: 'Kypros', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + EE: 'Viro', + EL: 'Kreikka', + ES: 'Espanja', + FI: 'Suomi', + FR: 'Ranska', + GB: 'Yhdistyneet kuningaskunnat', + GR: 'Kreikka', + HR: 'Kroatia', + HU: 'Unkari', + IE: 'Irlanti', + IS: 'Islanti', + IT: 'Italia', + LT: 'Liettua', + LU: 'Luxemburg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Hollanti', + NO: 'Norja', + PL: 'Puola', + PT: 'Portugali', + RO: 'Romania', + RS: 'Serbia', + RU: 'Venäjä', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Etelä Afrikka', + }, + country: 'Ole hyvä anna kelvollinen VAT numero maahan: %s', + default: 'Ole hyvä anna kelvollinen VAT numero', + }, + vin: { + default: 'Ole hyvä anna kelvollinen VIN numero', + }, + zipCode: { + countries: { + AT: 'Itävalta', + BG: 'Bulgaria', + BR: 'Brasilia', + CA: 'Kanada', + CH: 'Sveitsi', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + ES: 'Espanja', + FR: 'Ranska', + GB: 'Yhdistyneet kuningaskunnat', + IE: 'Irlanti', + IN: 'Intia', + IT: 'Italia', + MA: 'Marokko', + NL: 'Hollanti', + PL: 'Puola', + PT: 'Portugali', + RO: 'Romania', + RU: 'Venäjä', + SE: 'Ruotsi', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Ole hyvä anna kelvollinen postinumero maassa: %s', + default: 'Ole hyvä anna kelvollinen postinumero', + }, + }; + + return fi_FI; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/fi_FI.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/fi_FI.min.js new file mode 100644 index 0000000..dba8dc9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/fi_FI.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.fi_FI=factory())})(this,(function(){"use strict";var fi_FI={base64:{default:"Ole hyvä anna kelvollinen base64 koodattu merkkijono"},between:{default:"Ole hyvä anna arvo %s ja %s väliltä",notInclusive:"Ole hyvä anna arvo %s ja %s väliltä"},bic:{default:"Ole hyvä anna kelvollinen BIC numero"},callback:{default:"Ole hyvä anna kelvollinen arvo"},choice:{between:"Ole hyvä valitse %s - %s valintaa",default:"Ole hyvä anna kelvollinen arvo",less:"Ole hyvä valitse vähintään %s valintaa",more:"Ole hyvä valitse enintään %s valintaa"},color:{default:"Ole hyvä anna kelvollinen väriarvo"},creditCard:{default:"Ole hyvä anna kelvollinen luottokortin numero"},cusip:{default:"Ole hyvä anna kelvollinen CUSIP numero"},date:{default:"Ole hyvä anna kelvollinen päiväys",max:"Ole hyvä anna %s edeltävä päiväys",min:"Ole hyvä anna %s jälkeinen päiväys",range:"Ole hyvä anna päiväys %s - %s väliltä"},different:{default:"Ole hyvä anna jokin toinen arvo"},digits:{default:"Vain numerot sallittuja"},ean:{default:"Ole hyvä anna kelvollinen EAN numero"},ein:{default:"Ole hyvä anna kelvollinen EIN numero"},emailAddress:{default:"Ole hyvä anna kelvollinen sähköpostiosoite"},file:{default:"Ole hyvä valitse kelvollinen tiedosto"},greaterThan:{default:"Ole hyvä anna arvoksi yhtä suuri kuin, tai suurempi kuin %s",notInclusive:"Ole hyvä anna arvoksi suurempi kuin %s"},grid:{default:"Ole hyvä anna kelvollinen GRId numero"},hex:{default:"Ole hyvä anna kelvollinen heksadesimaali luku"},iban:{countries:{AD:"Andorra",AE:"Yhdistyneet arabiemiirikunnat",AL:"Albania",AO:"Angola",AT:"Itävalta",AZ:"Azerbaidžan",BA:"Bosnia ja Hertsegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasilia",CH:"Sveitsi",CI:"Norsunluurannikko",CM:"Kamerun",CR:"Costa Rica",CV:"Cape Verde",CY:"Kypros",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",DO:"Dominikaaninen tasavalta",DZ:"Algeria",EE:"Viro",ES:"Espanja",FI:"Suomi",FO:"Färsaaret",FR:"Ranska",GB:"Yhdistynyt kuningaskunta",GE:"Georgia",GI:"Gibraltar",GL:"Grönlanti",GR:"Kreikka",GT:"Guatemala",HR:"Kroatia",HU:"Unkari",IE:"Irlanti",IL:"Israel",IR:"Iran",IS:"Islanti",IT:"Italia",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Liettua",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Makedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambik",NL:"Hollanti",NO:"Norja",PK:"Pakistan",PL:"Puola",PS:"Palestiina",PT:"Portugali",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Ruotsi",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"Itä-Timor",TN:"Tunisia",TR:"Turkki",VG:"Neitsytsaaret, Brittien",XK:"Kosovon tasavallan"},country:"Ole hyvä anna kelvollinen IBAN numero maassa %s",default:"Ole hyvä anna kelvollinen IBAN numero"},id:{countries:{BA:"Bosnia ja Hertsegovina",BG:"Bulgaria",BR:"Brasilia",CH:"Sveitsi",CL:"Chile",CN:"Kiina",CZ:"Tsekin tasavalta",DK:"Tanska",EE:"Viro",ES:"Espanja",FI:"Suomi",HR:"Kroatia",IE:"Irlanti",IS:"Islanti",LT:"Liettua",LV:"Latvia",ME:"Montenegro",MK:"Makedonia",NL:"Hollanti",PL:"Puola",RO:"Romania",RS:"Serbia",SE:"Ruotsi",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thaimaa",TR:"Turkki",ZA:"Etelä Afrikka"},country:"Ole hyvä anna kelvollinen henkilötunnus maassa %s",default:"Ole hyvä anna kelvollinen henkilötunnus"},identical:{default:"Ole hyvä anna sama arvo"},imei:{default:"Ole hyvä anna kelvollinen IMEI numero"},imo:{default:"Ole hyvä anna kelvollinen IMO numero"},integer:{default:"Ole hyvä anna kelvollinen kokonaisluku"},ip:{default:"Ole hyvä anna kelvollinen IP osoite",ipv4:"Ole hyvä anna kelvollinen IPv4 osoite",ipv6:"Ole hyvä anna kelvollinen IPv6 osoite"},isbn:{default:"Ole hyvä anna kelvollinen ISBN numero"},isin:{default:"Ole hyvä anna kelvollinen ISIN numero"},ismn:{default:"Ole hyvä anna kelvollinen ISMN numero"},issn:{default:"Ole hyvä anna kelvollinen ISSN numero"},lessThan:{default:"Ole hyvä anna arvo joka on vähemmän kuin tai yhtä suuri kuin %s",notInclusive:"Ole hyvä anna arvo joka on vähemmän kuin %s"},mac:{default:"Ole hyvä anna kelvollinen MAC osoite"},meid:{default:"Ole hyvä anna kelvollinen MEID numero"},notEmpty:{default:"Pakollinen kenttä, anna jokin arvo"},numeric:{default:"Ole hyvä anna kelvollinen liukuluku"},phone:{countries:{AE:"Yhdistyneet arabiemiirikunnat",BG:"Bulgaria",BR:"Brasilia",CN:"Kiina",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",ES:"Espanja",FR:"Ranska",GB:"Yhdistynyt kuningaskunta",IN:"Intia",MA:"Marokko",NL:"Hollanti",PK:"Pakistan",RO:"Romania",RU:"Venäjä",SK:"Slovakia",TH:"Thaimaa",US:"USA",VE:"Venezuela"},country:"Ole hyvä anna kelvollinen puhelinnumero maassa %s",default:"Ole hyvä anna kelvollinen puhelinnumero"},promise:{default:"Ole hyvä anna kelvollinen arvo"},regexp:{default:"Ole hyvä anna kaavan mukainen arvo"},remote:{default:"Ole hyvä anna kelvollinen arvo"},rtn:{default:"Ole hyvä anna kelvollinen RTN numero"},sedol:{default:"Ole hyvä anna kelvollinen SEDOL numero"},siren:{default:"Ole hyvä anna kelvollinen SIREN numero"},siret:{default:"Ole hyvä anna kelvollinen SIRET numero"},step:{default:"Ole hyvä anna kelvollinen arvo %s porrastettuna"},stringCase:{default:"Ole hyvä anna pelkästään pieniä kirjaimia",upper:"Ole hyvä anna pelkästään isoja kirjaimia"},stringLength:{between:"Ole hyvä anna arvo joka on vähintään %s ja enintään %s merkkiä pitkä",default:"Ole hyvä anna kelvollisen mittainen merkkijono",less:"Ole hyvä anna vähemmän kuin %s merkkiä",more:"Ole hyvä anna vähintään %s merkkiä"},uri:{default:"Ole hyvä anna kelvollinen URI"},uuid:{default:"Ole hyvä anna kelvollinen UUID numero",version:"Ole hyvä anna kelvollinen UUID versio %s numero"},vat:{countries:{AT:"Itävalta",BE:"Belgia",BG:"Bulgaria",BR:"Brasilia",CH:"Sveitsi",CY:"Kypros",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",EE:"Viro",EL:"Kreikka",ES:"Espanja",FI:"Suomi",FR:"Ranska",GB:"Yhdistyneet kuningaskunnat",GR:"Kreikka",HR:"Kroatia",HU:"Unkari",IE:"Irlanti",IS:"Islanti",IT:"Italia",LT:"Liettua",LU:"Luxemburg",LV:"Latvia",MT:"Malta",NL:"Hollanti",NO:"Norja",PL:"Puola",PT:"Portugali",RO:"Romania",RS:"Serbia",RU:"Venäjä",SE:"Ruotsi",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Etelä Afrikka"},country:"Ole hyvä anna kelvollinen VAT numero maahan: %s",default:"Ole hyvä anna kelvollinen VAT numero"},vin:{default:"Ole hyvä anna kelvollinen VIN numero"},zipCode:{countries:{AT:"Itävalta",BG:"Bulgaria",BR:"Brasilia",CA:"Kanada",CH:"Sveitsi",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",ES:"Espanja",FR:"Ranska",GB:"Yhdistyneet kuningaskunnat",IE:"Irlanti",IN:"Intia",IT:"Italia",MA:"Marokko",NL:"Hollanti",PL:"Puola",PT:"Portugali",RO:"Romania",RU:"Venäjä",SE:"Ruotsi",SG:"Singapore",SK:"Slovakia",US:"USA"},country:"Ole hyvä anna kelvollinen postinumero maassa: %s",default:"Ole hyvä anna kelvollinen postinumero"}};return fi_FI})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_BE.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_BE.js new file mode 100644 index 0000000..078c3f5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_BE.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.fr_BE = factory())); +})(this, (function () { 'use strict'; + + /** + * Belgium (French) language package + * Translated by @neilime + */ + + var fr_BE = { + base64: { + default: 'Veuillez fournir une donnée correctement encodée en Base64', + }, + between: { + default: 'Veuillez fournir une valeur comprise entre %s et %s', + notInclusive: 'Veuillez fournir une valeur strictement comprise entre %s et %s', + }, + bic: { + default: 'Veuillez fournir un code-barre BIC valide', + }, + callback: { + default: 'Veuillez fournir une valeur valide', + }, + choice: { + between: 'Veuillez choisir de %s à %s options', + default: 'Veuillez fournir une valeur valide', + less: 'Veuillez choisir au minimum %s options', + more: 'Veuillez choisir au maximum %s options', + }, + color: { + default: 'Veuillez fournir une couleur valide', + }, + creditCard: { + default: 'Veuillez fournir un numéro de carte de crédit valide', + }, + cusip: { + default: 'Veuillez fournir un code CUSIP valide', + }, + date: { + default: 'Veuillez fournir une date valide', + max: 'Veuillez fournir une date inférieure à %s', + min: 'Veuillez fournir une date supérieure à %s', + range: 'Veuillez fournir une date comprise entre %s et %s', + }, + different: { + default: 'Veuillez fournir une valeur différente', + }, + digits: { + default: 'Veuillez ne fournir que des chiffres', + }, + ean: { + default: 'Veuillez fournir un code-barre EAN valide', + }, + ein: { + default: 'Veuillez fournir un code-barre EIN valide', + }, + emailAddress: { + default: 'Veuillez fournir une adresse e-mail valide', + }, + file: { + default: 'Veuillez choisir un fichier valide', + }, + greaterThan: { + default: 'Veuillez fournir une valeur supérieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur supérieure à %s', + }, + grid: { + default: 'Veuillez fournir un code GRId valide', + }, + hex: { + default: 'Veuillez fournir un nombre hexadécimal valide', + }, + iban: { + countries: { + AD: 'Andorre', + AE: 'Émirats Arabes Unis', + AL: 'Albanie', + AO: 'Angola', + AT: 'Autriche', + AZ: 'Azerbaïdjan', + BA: 'Bosnie-Herzégovine', + BE: 'Belgique', + BF: 'Burkina Faso', + BG: 'Bulgarie', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Bénin', + BR: 'Brésil', + CH: 'Suisse', + CI: "Côte d'ivoire", + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Cap Vert', + CY: 'Chypre', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + DO: 'République Dominicaine', + DZ: 'Algérie', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + FO: 'Îles Féroé', + FR: 'France', + GB: 'Royaume Uni', + GE: 'Géorgie', + GI: 'Gibraltar', + GL: 'Groënland', + GR: 'Gréce', + GT: 'Guatemala', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IL: 'Israël', + IR: 'Iran', + IS: 'Islande', + IT: 'Italie', + JO: 'Jordanie', + KW: 'Koweït', + KZ: 'Kazakhstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Lithuanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MC: 'Monaco', + MD: 'Moldavie', + ME: 'Monténégro', + MG: 'Madagascar', + MK: 'Macédoine', + ML: 'Mali', + MR: 'Mauritanie', + MT: 'Malte', + MU: 'Maurice', + MZ: 'Mozambique', + NL: 'Pays-Bas', + NO: 'Norvège', + PK: 'Pakistan', + PL: 'Pologne', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Quatar', + RO: 'Roumanie', + RS: 'Serbie', + SA: 'Arabie Saoudite', + SE: 'Suède', + SI: 'Slovènie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + SN: 'Sénégal', + TL: 'Timor oriental', + TN: 'Tunisie', + TR: 'Turquie', + VG: 'Îles Vierges britanniques', + XK: 'République du Kosovo', + }, + country: 'Veuillez fournir un code IBAN valide pour %s', + default: 'Veuillez fournir un code IBAN valide', + }, + id: { + countries: { + BA: 'Bosnie-Herzégovine', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CL: 'Chili', + CN: 'Chine', + CZ: 'Tchèque', + DK: 'Danemark', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + HR: 'Croatie', + IE: 'Irlande', + IS: 'Islande', + LT: 'Lituanie', + LV: 'Lettonie', + ME: 'Monténégro', + MK: 'Macédoine', + NL: 'Pays-Bas', + PL: 'Pologne', + RO: 'Roumanie', + RS: 'Serbie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + TH: 'Thaïlande', + TR: 'Turquie', + ZA: 'Afrique du Sud', + }, + country: "Veuillez fournir un numéro d'identification valide pour %s", + default: "Veuillez fournir un numéro d'identification valide", + }, + identical: { + default: 'Veuillez fournir la même valeur', + }, + imei: { + default: 'Veuillez fournir un code IMEI valide', + }, + imo: { + default: 'Veuillez fournir un code IMO valide', + }, + integer: { + default: 'Veuillez fournir un nombre valide', + }, + ip: { + default: 'Veuillez fournir une adresse IP valide', + ipv4: 'Veuillez fournir une adresse IPv4 valide', + ipv6: 'Veuillez fournir une adresse IPv6 valide', + }, + isbn: { + default: 'Veuillez fournir un code ISBN valide', + }, + isin: { + default: 'Veuillez fournir un code ISIN valide', + }, + ismn: { + default: 'Veuillez fournir un code ISMN valide', + }, + issn: { + default: 'Veuillez fournir un code ISSN valide', + }, + lessThan: { + default: 'Veuillez fournir une valeur inférieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur inférieure à %s', + }, + mac: { + default: 'Veuillez fournir une adresse MAC valide', + }, + meid: { + default: 'Veuillez fournir un code MEID valide', + }, + notEmpty: { + default: 'Veuillez fournir une valeur', + }, + numeric: { + default: 'Veuillez fournir une valeur décimale valide', + }, + phone: { + countries: { + AE: 'Émirats Arabes Unis', + BG: 'Bulgarie', + BR: 'Brésil', + CN: 'Chine', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IN: 'Inde', + MA: 'Maroc', + NL: 'Pays-Bas', + PK: 'Pakistan', + RO: 'Roumanie', + RU: 'Russie', + SK: 'Slovaquie', + TH: 'Thaïlande', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Veuillez fournir un numéro de téléphone valide pour %s', + default: 'Veuillez fournir un numéro de téléphone valide', + }, + promise: { + default: 'Veuillez fournir une valeur valide', + }, + regexp: { + default: 'Veuillez fournir une valeur correspondant au modèle', + }, + remote: { + default: 'Veuillez fournir une valeur valide', + }, + rtn: { + default: 'Veuillez fournir un code RTN valide', + }, + sedol: { + default: 'Veuillez fournir a valid SEDOL number', + }, + siren: { + default: 'Veuillez fournir un numéro SIREN valide', + }, + siret: { + default: 'Veuillez fournir un numéro SIRET valide', + }, + step: { + default: 'Veuillez fournir un écart valide de %s', + }, + stringCase: { + default: 'Veuillez ne fournir que des caractères minuscules', + upper: 'Veuillez ne fournir que des caractères majuscules', + }, + stringLength: { + between: 'Veuillez fournir entre %s et %s caractères', + default: 'Veuillez fournir une valeur de longueur valide', + less: 'Veuillez fournir moins de %s caractères', + more: 'Veuillez fournir plus de %s caractères', + }, + uri: { + default: 'Veuillez fournir un URI valide', + }, + uuid: { + default: 'Veuillez fournir un UUID valide', + version: 'Veuillez fournir un UUID version %s number', + }, + vat: { + countries: { + AT: 'Autriche', + BE: 'Belgique', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CY: 'Chypre', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + EE: 'Estonie', + EL: 'Grèce', + ES: 'Espagne', + FI: 'Finlande', + FR: 'France', + GB: 'Royaume-Uni', + GR: 'Grèce', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IS: 'Islande', + IT: 'Italie', + LT: 'Lituanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MT: 'Malte', + NL: 'Pays-Bas', + NO: 'Norvège', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RS: 'Serbie', + RU: 'Russie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + VE: 'Venezuela', + ZA: 'Afrique du Sud', + }, + country: 'Veuillez fournir un code VAT valide pour %s', + default: 'Veuillez fournir un code VAT valide', + }, + vin: { + default: 'Veuillez fournir un code VIN valide', + }, + zipCode: { + countries: { + AT: 'Autriche', + BG: 'Bulgarie', + BR: 'Brésil', + CA: 'Canada', + CH: 'Suisse', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IE: 'Irlande', + IN: 'Inde', + IT: 'Italie', + MA: 'Maroc', + NL: 'Pays-Bas', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RU: 'Russie', + SE: 'Suède', + SG: 'Singapour', + SK: 'Slovaquie', + US: 'USA', + }, + country: 'Veuillez fournir un code postal valide pour %s', + default: 'Veuillez fournir un code postal valide', + }, + }; + + return fr_BE; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_BE.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_BE.min.js new file mode 100644 index 0000000..8fdcab0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_BE.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.fr_BE=factory())})(this,(function(){"use strict";var fr_BE={base64:{default:"Veuillez fournir une donnée correctement encodée en Base64"},between:{default:"Veuillez fournir une valeur comprise entre %s et %s",notInclusive:"Veuillez fournir une valeur strictement comprise entre %s et %s"},bic:{default:"Veuillez fournir un code-barre BIC valide"},callback:{default:"Veuillez fournir une valeur valide"},choice:{between:"Veuillez choisir de %s à %s options",default:"Veuillez fournir une valeur valide",less:"Veuillez choisir au minimum %s options",more:"Veuillez choisir au maximum %s options"},color:{default:"Veuillez fournir une couleur valide"},creditCard:{default:"Veuillez fournir un numéro de carte de crédit valide"},cusip:{default:"Veuillez fournir un code CUSIP valide"},date:{default:"Veuillez fournir une date valide",max:"Veuillez fournir une date inférieure à %s",min:"Veuillez fournir une date supérieure à %s",range:"Veuillez fournir une date comprise entre %s et %s"},different:{default:"Veuillez fournir une valeur différente"},digits:{default:"Veuillez ne fournir que des chiffres"},ean:{default:"Veuillez fournir un code-barre EAN valide"},ein:{default:"Veuillez fournir un code-barre EIN valide"},emailAddress:{default:"Veuillez fournir une adresse e-mail valide"},file:{default:"Veuillez choisir un fichier valide"},greaterThan:{default:"Veuillez fournir une valeur supérieure ou égale à %s",notInclusive:"Veuillez fournir une valeur supérieure à %s"},grid:{default:"Veuillez fournir un code GRId valide"},hex:{default:"Veuillez fournir un nombre hexadécimal valide"},iban:{countries:{AD:"Andorre",AE:"Émirats Arabes Unis",AL:"Albanie",AO:"Angola",AT:"Autriche",AZ:"Azerbaïdjan",BA:"Bosnie-Herzégovine",BE:"Belgique",BF:"Burkina Faso",BG:"Bulgarie",BH:"Bahrein",BI:"Burundi",BJ:"Bénin",BR:"Brésil",CH:"Suisse",CI:"Côte d'ivoire",CM:"Cameroun",CR:"Costa Rica",CV:"Cap Vert",CY:"Chypre",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",DO:"République Dominicaine",DZ:"Algérie",EE:"Estonie",ES:"Espagne",FI:"Finlande",FO:"Îles Féroé",FR:"France",GB:"Royaume Uni",GE:"Géorgie",GI:"Gibraltar",GL:"Groënland",GR:"Gréce",GT:"Guatemala",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IL:"Israël",IR:"Iran",IS:"Islande",IT:"Italie",JO:"Jordanie",KW:"Koweït",KZ:"Kazakhstan",LB:"Liban",LI:"Liechtenstein",LT:"Lithuanie",LU:"Luxembourg",LV:"Lettonie",MC:"Monaco",MD:"Moldavie",ME:"Monténégro",MG:"Madagascar",MK:"Macédoine",ML:"Mali",MR:"Mauritanie",MT:"Malte",MU:"Maurice",MZ:"Mozambique",NL:"Pays-Bas",NO:"Norvège",PK:"Pakistan",PL:"Pologne",PS:"Palestine",PT:"Portugal",QA:"Quatar",RO:"Roumanie",RS:"Serbie",SA:"Arabie Saoudite",SE:"Suède",SI:"Slovènie",SK:"Slovaquie",SM:"Saint-Marin",SN:"Sénégal",TL:"Timor oriental",TN:"Tunisie",TR:"Turquie",VG:"Îles Vierges britanniques",XK:"République du Kosovo"},country:"Veuillez fournir un code IBAN valide pour %s",default:"Veuillez fournir un code IBAN valide"},id:{countries:{BA:"Bosnie-Herzégovine",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CL:"Chili",CN:"Chine",CZ:"Tchèque",DK:"Danemark",EE:"Estonie",ES:"Espagne",FI:"Finlande",HR:"Croatie",IE:"Irlande",IS:"Islande",LT:"Lituanie",LV:"Lettonie",ME:"Monténégro",MK:"Macédoine",NL:"Pays-Bas",PL:"Pologne",RO:"Roumanie",RS:"Serbie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",SM:"Saint-Marin",TH:"Thaïlande",TR:"Turquie",ZA:"Afrique du Sud"},country:"Veuillez fournir un numéro d'identification valide pour %s",default:"Veuillez fournir un numéro d'identification valide"},identical:{default:"Veuillez fournir la même valeur"},imei:{default:"Veuillez fournir un code IMEI valide"},imo:{default:"Veuillez fournir un code IMO valide"},integer:{default:"Veuillez fournir un nombre valide"},ip:{default:"Veuillez fournir une adresse IP valide",ipv4:"Veuillez fournir une adresse IPv4 valide",ipv6:"Veuillez fournir une adresse IPv6 valide"},isbn:{default:"Veuillez fournir un code ISBN valide"},isin:{default:"Veuillez fournir un code ISIN valide"},ismn:{default:"Veuillez fournir un code ISMN valide"},issn:{default:"Veuillez fournir un code ISSN valide"},lessThan:{default:"Veuillez fournir une valeur inférieure ou égale à %s",notInclusive:"Veuillez fournir une valeur inférieure à %s"},mac:{default:"Veuillez fournir une adresse MAC valide"},meid:{default:"Veuillez fournir un code MEID valide"},notEmpty:{default:"Veuillez fournir une valeur"},numeric:{default:"Veuillez fournir une valeur décimale valide"},phone:{countries:{AE:"Émirats Arabes Unis",BG:"Bulgarie",BR:"Brésil",CN:"Chine",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IN:"Inde",MA:"Maroc",NL:"Pays-Bas",PK:"Pakistan",RO:"Roumanie",RU:"Russie",SK:"Slovaquie",TH:"Thaïlande",US:"USA",VE:"Venezuela"},country:"Veuillez fournir un numéro de téléphone valide pour %s",default:"Veuillez fournir un numéro de téléphone valide"},promise:{default:"Veuillez fournir une valeur valide"},regexp:{default:"Veuillez fournir une valeur correspondant au modèle"},remote:{default:"Veuillez fournir une valeur valide"},rtn:{default:"Veuillez fournir un code RTN valide"},sedol:{default:"Veuillez fournir a valid SEDOL number"},siren:{default:"Veuillez fournir un numéro SIREN valide"},siret:{default:"Veuillez fournir un numéro SIRET valide"},step:{default:"Veuillez fournir un écart valide de %s"},stringCase:{default:"Veuillez ne fournir que des caractères minuscules",upper:"Veuillez ne fournir que des caractères majuscules"},stringLength:{between:"Veuillez fournir entre %s et %s caractères",default:"Veuillez fournir une valeur de longueur valide",less:"Veuillez fournir moins de %s caractères",more:"Veuillez fournir plus de %s caractères"},uri:{default:"Veuillez fournir un URI valide"},uuid:{default:"Veuillez fournir un UUID valide",version:"Veuillez fournir un UUID version %s number"},vat:{countries:{AT:"Autriche",BE:"Belgique",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CY:"Chypre",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",EE:"Estonie",EL:"Grèce",ES:"Espagne",FI:"Finlande",FR:"France",GB:"Royaume-Uni",GR:"Grèce",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IS:"Islande",IT:"Italie",LT:"Lituanie",LU:"Luxembourg",LV:"Lettonie",MT:"Malte",NL:"Pays-Bas",NO:"Norvège",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RS:"Serbie",RU:"Russie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",VE:"Venezuela",ZA:"Afrique du Sud"},country:"Veuillez fournir un code VAT valide pour %s",default:"Veuillez fournir un code VAT valide"},vin:{default:"Veuillez fournir un code VIN valide"},zipCode:{countries:{AT:"Autriche",BG:"Bulgarie",BR:"Brésil",CA:"Canada",CH:"Suisse",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IE:"Irlande",IN:"Inde",IT:"Italie",MA:"Maroc",NL:"Pays-Bas",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RU:"Russie",SE:"Suède",SG:"Singapour",SK:"Slovaquie",US:"USA"},country:"Veuillez fournir un code postal valide pour %s",default:"Veuillez fournir un code postal valide"}};return fr_BE})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_FR.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_FR.js new file mode 100644 index 0000000..4cbd139 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_FR.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.fr_FR = factory())); +})(this, (function () { 'use strict'; + + /** + * French language package + * Translated by @dlucazeau. Updated by @neilime, @jazzzz + */ + + var fr_FR = { + base64: { + default: 'Veuillez fournir une donnée correctement encodée en Base64', + }, + between: { + default: 'Veuillez fournir une valeur comprise entre %s et %s', + notInclusive: 'Veuillez fournir une valeur strictement comprise entre %s et %s', + }, + bic: { + default: 'Veuillez fournir un code-barre BIC valide', + }, + callback: { + default: 'Veuillez fournir une valeur valide', + }, + choice: { + between: 'Veuillez choisir de %s à %s options', + default: 'Veuillez fournir une valeur valide', + less: 'Veuillez choisir au minimum %s options', + more: 'Veuillez choisir au maximum %s options', + }, + color: { + default: 'Veuillez fournir une couleur valide', + }, + creditCard: { + default: 'Veuillez fournir un numéro de carte de crédit valide', + }, + cusip: { + default: 'Veuillez fournir un code CUSIP valide', + }, + date: { + default: 'Veuillez fournir une date valide', + max: 'Veuillez fournir une date inférieure à %s', + min: 'Veuillez fournir une date supérieure à %s', + range: 'Veuillez fournir une date comprise entre %s et %s', + }, + different: { + default: 'Veuillez fournir une valeur différente', + }, + digits: { + default: 'Veuillez ne fournir que des chiffres', + }, + ean: { + default: 'Veuillez fournir un code-barre EAN valide', + }, + ein: { + default: 'Veuillez fournir un code-barre EIN valide', + }, + emailAddress: { + default: 'Veuillez fournir une adresse e-mail valide', + }, + file: { + default: 'Veuillez choisir un fichier valide', + }, + greaterThan: { + default: 'Veuillez fournir une valeur supérieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur supérieure à %s', + }, + grid: { + default: 'Veuillez fournir un code GRId valide', + }, + hex: { + default: 'Veuillez fournir un nombre hexadécimal valide', + }, + iban: { + countries: { + AD: 'Andorre', + AE: 'Émirats Arabes Unis', + AL: 'Albanie', + AO: 'Angola', + AT: 'Autriche', + AZ: 'Azerbaïdjan', + BA: 'Bosnie-Herzégovine', + BE: 'Belgique', + BF: 'Burkina Faso', + BG: 'Bulgarie', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Bénin', + BR: 'Brésil', + CH: 'Suisse', + CI: "Côte d'ivoire", + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Cap Vert', + CY: 'Chypre', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + DO: 'République Dominicaine', + DZ: 'Algérie', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + FO: 'Îles Féroé', + FR: 'France', + GB: 'Royaume Uni', + GE: 'Géorgie', + GI: 'Gibraltar', + GL: 'Groënland', + GR: 'Gréce', + GT: 'Guatemala', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IL: 'Israël', + IR: 'Iran', + IS: 'Islande', + IT: 'Italie', + JO: 'Jordanie', + KW: 'Koweït', + KZ: 'Kazakhstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Lithuanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MC: 'Monaco', + MD: 'Moldavie', + ME: 'Monténégro', + MG: 'Madagascar', + MK: 'Macédoine', + ML: 'Mali', + MR: 'Mauritanie', + MT: 'Malte', + MU: 'Maurice', + MZ: 'Mozambique', + NL: 'Pays-Bas', + NO: 'Norvège', + PK: 'Pakistan', + PL: 'Pologne', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Quatar', + RO: 'Roumanie', + RS: 'Serbie', + SA: 'Arabie Saoudite', + SE: 'Suède', + SI: 'Slovènie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + SN: 'Sénégal', + TL: 'Timor oriental', + TN: 'Tunisie', + TR: 'Turquie', + VG: 'Îles Vierges britanniques', + XK: 'République du Kosovo', + }, + country: 'Veuillez fournir un code IBAN valide pour %s', + default: 'Veuillez fournir un code IBAN valide', + }, + id: { + countries: { + BA: 'Bosnie-Herzégovine', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CL: 'Chili', + CN: 'Chine', + CZ: 'République Tchèque', + DK: 'Danemark', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + HR: 'Croatie', + IE: 'Irlande', + IS: 'Islande', + LT: 'Lituanie', + LV: 'Lettonie', + ME: 'Monténégro', + MK: 'Macédoine', + NL: 'Pays-Bas', + PL: 'Pologne', + RO: 'Roumanie', + RS: 'Serbie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + TH: 'Thaïlande', + TR: 'Turquie', + ZA: 'Afrique du Sud', + }, + country: "Veuillez fournir un numéro d'identification valide pour %s", + default: "Veuillez fournir un numéro d'identification valide", + }, + identical: { + default: 'Veuillez fournir la même valeur', + }, + imei: { + default: 'Veuillez fournir un code IMEI valide', + }, + imo: { + default: 'Veuillez fournir un code IMO valide', + }, + integer: { + default: 'Veuillez fournir un nombre valide', + }, + ip: { + default: 'Veuillez fournir une adresse IP valide', + ipv4: 'Veuillez fournir une adresse IPv4 valide', + ipv6: 'Veuillez fournir une adresse IPv6 valide', + }, + isbn: { + default: 'Veuillez fournir un code ISBN valide', + }, + isin: { + default: 'Veuillez fournir un code ISIN valide', + }, + ismn: { + default: 'Veuillez fournir un code ISMN valide', + }, + issn: { + default: 'Veuillez fournir un code ISSN valide', + }, + lessThan: { + default: 'Veuillez fournir une valeur inférieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur inférieure à %s', + }, + mac: { + default: 'Veuillez fournir une adresse MAC valide', + }, + meid: { + default: 'Veuillez fournir un code MEID valide', + }, + notEmpty: { + default: 'Veuillez fournir une valeur', + }, + numeric: { + default: 'Veuillez fournir une valeur décimale valide', + }, + phone: { + countries: { + AE: 'Émirats Arabes Unis', + BG: 'Bulgarie', + BR: 'Brésil', + CN: 'Chine', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IN: 'Inde', + MA: 'Maroc', + NL: 'Pays-Bas', + PK: 'Pakistan', + RO: 'Roumanie', + RU: 'Russie', + SK: 'Slovaquie', + TH: 'Thaïlande', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Veuillez fournir un numéro de téléphone valide pour %s', + default: 'Veuillez fournir un numéro de téléphone valide', + }, + promise: { + default: 'Veuillez fournir une valeur valide', + }, + regexp: { + default: 'Veuillez fournir une valeur correspondant au modèle', + }, + remote: { + default: 'Veuillez fournir une valeur valide', + }, + rtn: { + default: 'Veuillez fournir un code RTN valide', + }, + sedol: { + default: 'Veuillez fournir a valid SEDOL number', + }, + siren: { + default: 'Veuillez fournir un numéro SIREN valide', + }, + siret: { + default: 'Veuillez fournir un numéro SIRET valide', + }, + step: { + default: 'Veuillez fournir un écart valide de %s', + }, + stringCase: { + default: 'Veuillez ne fournir que des caractères minuscules', + upper: 'Veuillez ne fournir que des caractères majuscules', + }, + stringLength: { + between: 'Veuillez fournir entre %s et %s caractères', + default: 'Veuillez fournir une valeur de longueur valide', + less: 'Veuillez fournir moins de %s caractères', + more: 'Veuillez fournir plus de %s caractères', + }, + uri: { + default: 'Veuillez fournir un URI valide', + }, + uuid: { + default: 'Veuillez fournir un UUID valide', + version: 'Veuillez fournir un UUID version %s number', + }, + vat: { + countries: { + AT: 'Autriche', + BE: 'Belgique', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CY: 'Chypre', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + EE: 'Estonie', + EL: 'Grèce', + ES: 'Espagne', + FI: 'Finlande', + FR: 'France', + GB: 'Royaume-Uni', + GR: 'Grèce', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IS: 'Islande', + IT: 'Italie', + LT: 'Lituanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MT: 'Malte', + NL: 'Pays-Bas', + NO: 'Norvège', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RS: 'Serbie', + RU: 'Russie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + VE: 'Venezuela', + ZA: 'Afrique du Sud', + }, + country: 'Veuillez fournir un code VAT valide pour %s', + default: 'Veuillez fournir un code VAT valide', + }, + vin: { + default: 'Veuillez fournir un code VIN valide', + }, + zipCode: { + countries: { + AT: 'Autriche', + BG: 'Bulgarie', + BR: 'Brésil', + CA: 'Canada', + CH: 'Suisse', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IE: 'Irlande', + IN: 'Inde', + IT: 'Italie', + MA: 'Maroc', + NL: 'Pays-Bas', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RU: 'Russie', + SE: 'Suède', + SG: 'Singapour', + SK: 'Slovaquie', + US: 'USA', + }, + country: 'Veuillez fournir un code postal valide pour %s', + default: 'Veuillez fournir un code postal valide', + }, + }; + + return fr_FR; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_FR.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_FR.min.js new file mode 100644 index 0000000..2d30200 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/fr_FR.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.fr_FR=factory())})(this,(function(){"use strict";var fr_FR={base64:{default:"Veuillez fournir une donnée correctement encodée en Base64"},between:{default:"Veuillez fournir une valeur comprise entre %s et %s",notInclusive:"Veuillez fournir une valeur strictement comprise entre %s et %s"},bic:{default:"Veuillez fournir un code-barre BIC valide"},callback:{default:"Veuillez fournir une valeur valide"},choice:{between:"Veuillez choisir de %s à %s options",default:"Veuillez fournir une valeur valide",less:"Veuillez choisir au minimum %s options",more:"Veuillez choisir au maximum %s options"},color:{default:"Veuillez fournir une couleur valide"},creditCard:{default:"Veuillez fournir un numéro de carte de crédit valide"},cusip:{default:"Veuillez fournir un code CUSIP valide"},date:{default:"Veuillez fournir une date valide",max:"Veuillez fournir une date inférieure à %s",min:"Veuillez fournir une date supérieure à %s",range:"Veuillez fournir une date comprise entre %s et %s"},different:{default:"Veuillez fournir une valeur différente"},digits:{default:"Veuillez ne fournir que des chiffres"},ean:{default:"Veuillez fournir un code-barre EAN valide"},ein:{default:"Veuillez fournir un code-barre EIN valide"},emailAddress:{default:"Veuillez fournir une adresse e-mail valide"},file:{default:"Veuillez choisir un fichier valide"},greaterThan:{default:"Veuillez fournir une valeur supérieure ou égale à %s",notInclusive:"Veuillez fournir une valeur supérieure à %s"},grid:{default:"Veuillez fournir un code GRId valide"},hex:{default:"Veuillez fournir un nombre hexadécimal valide"},iban:{countries:{AD:"Andorre",AE:"Émirats Arabes Unis",AL:"Albanie",AO:"Angola",AT:"Autriche",AZ:"Azerbaïdjan",BA:"Bosnie-Herzégovine",BE:"Belgique",BF:"Burkina Faso",BG:"Bulgarie",BH:"Bahrein",BI:"Burundi",BJ:"Bénin",BR:"Brésil",CH:"Suisse",CI:"Côte d'ivoire",CM:"Cameroun",CR:"Costa Rica",CV:"Cap Vert",CY:"Chypre",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",DO:"République Dominicaine",DZ:"Algérie",EE:"Estonie",ES:"Espagne",FI:"Finlande",FO:"Îles Féroé",FR:"France",GB:"Royaume Uni",GE:"Géorgie",GI:"Gibraltar",GL:"Groënland",GR:"Gréce",GT:"Guatemala",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IL:"Israël",IR:"Iran",IS:"Islande",IT:"Italie",JO:"Jordanie",KW:"Koweït",KZ:"Kazakhstan",LB:"Liban",LI:"Liechtenstein",LT:"Lithuanie",LU:"Luxembourg",LV:"Lettonie",MC:"Monaco",MD:"Moldavie",ME:"Monténégro",MG:"Madagascar",MK:"Macédoine",ML:"Mali",MR:"Mauritanie",MT:"Malte",MU:"Maurice",MZ:"Mozambique",NL:"Pays-Bas",NO:"Norvège",PK:"Pakistan",PL:"Pologne",PS:"Palestine",PT:"Portugal",QA:"Quatar",RO:"Roumanie",RS:"Serbie",SA:"Arabie Saoudite",SE:"Suède",SI:"Slovènie",SK:"Slovaquie",SM:"Saint-Marin",SN:"Sénégal",TL:"Timor oriental",TN:"Tunisie",TR:"Turquie",VG:"Îles Vierges britanniques",XK:"République du Kosovo"},country:"Veuillez fournir un code IBAN valide pour %s",default:"Veuillez fournir un code IBAN valide"},id:{countries:{BA:"Bosnie-Herzégovine",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CL:"Chili",CN:"Chine",CZ:"République Tchèque",DK:"Danemark",EE:"Estonie",ES:"Espagne",FI:"Finlande",HR:"Croatie",IE:"Irlande",IS:"Islande",LT:"Lituanie",LV:"Lettonie",ME:"Monténégro",MK:"Macédoine",NL:"Pays-Bas",PL:"Pologne",RO:"Roumanie",RS:"Serbie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",SM:"Saint-Marin",TH:"Thaïlande",TR:"Turquie",ZA:"Afrique du Sud"},country:"Veuillez fournir un numéro d'identification valide pour %s",default:"Veuillez fournir un numéro d'identification valide"},identical:{default:"Veuillez fournir la même valeur"},imei:{default:"Veuillez fournir un code IMEI valide"},imo:{default:"Veuillez fournir un code IMO valide"},integer:{default:"Veuillez fournir un nombre valide"},ip:{default:"Veuillez fournir une adresse IP valide",ipv4:"Veuillez fournir une adresse IPv4 valide",ipv6:"Veuillez fournir une adresse IPv6 valide"},isbn:{default:"Veuillez fournir un code ISBN valide"},isin:{default:"Veuillez fournir un code ISIN valide"},ismn:{default:"Veuillez fournir un code ISMN valide"},issn:{default:"Veuillez fournir un code ISSN valide"},lessThan:{default:"Veuillez fournir une valeur inférieure ou égale à %s",notInclusive:"Veuillez fournir une valeur inférieure à %s"},mac:{default:"Veuillez fournir une adresse MAC valide"},meid:{default:"Veuillez fournir un code MEID valide"},notEmpty:{default:"Veuillez fournir une valeur"},numeric:{default:"Veuillez fournir une valeur décimale valide"},phone:{countries:{AE:"Émirats Arabes Unis",BG:"Bulgarie",BR:"Brésil",CN:"Chine",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IN:"Inde",MA:"Maroc",NL:"Pays-Bas",PK:"Pakistan",RO:"Roumanie",RU:"Russie",SK:"Slovaquie",TH:"Thaïlande",US:"USA",VE:"Venezuela"},country:"Veuillez fournir un numéro de téléphone valide pour %s",default:"Veuillez fournir un numéro de téléphone valide"},promise:{default:"Veuillez fournir une valeur valide"},regexp:{default:"Veuillez fournir une valeur correspondant au modèle"},remote:{default:"Veuillez fournir une valeur valide"},rtn:{default:"Veuillez fournir un code RTN valide"},sedol:{default:"Veuillez fournir a valid SEDOL number"},siren:{default:"Veuillez fournir un numéro SIREN valide"},siret:{default:"Veuillez fournir un numéro SIRET valide"},step:{default:"Veuillez fournir un écart valide de %s"},stringCase:{default:"Veuillez ne fournir que des caractères minuscules",upper:"Veuillez ne fournir que des caractères majuscules"},stringLength:{between:"Veuillez fournir entre %s et %s caractères",default:"Veuillez fournir une valeur de longueur valide",less:"Veuillez fournir moins de %s caractères",more:"Veuillez fournir plus de %s caractères"},uri:{default:"Veuillez fournir un URI valide"},uuid:{default:"Veuillez fournir un UUID valide",version:"Veuillez fournir un UUID version %s number"},vat:{countries:{AT:"Autriche",BE:"Belgique",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CY:"Chypre",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",EE:"Estonie",EL:"Grèce",ES:"Espagne",FI:"Finlande",FR:"France",GB:"Royaume-Uni",GR:"Grèce",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IS:"Islande",IT:"Italie",LT:"Lituanie",LU:"Luxembourg",LV:"Lettonie",MT:"Malte",NL:"Pays-Bas",NO:"Norvège",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RS:"Serbie",RU:"Russie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",VE:"Venezuela",ZA:"Afrique du Sud"},country:"Veuillez fournir un code VAT valide pour %s",default:"Veuillez fournir un code VAT valide"},vin:{default:"Veuillez fournir un code VIN valide"},zipCode:{countries:{AT:"Autriche",BG:"Bulgarie",BR:"Brésil",CA:"Canada",CH:"Suisse",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IE:"Irlande",IN:"Inde",IT:"Italie",MA:"Maroc",NL:"Pays-Bas",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RU:"Russie",SE:"Suède",SG:"Singapour",SK:"Slovaquie",US:"USA"},country:"Veuillez fournir un code postal valide pour %s",default:"Veuillez fournir un code postal valide"}};return fr_FR})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/he_IL.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/he_IL.js new file mode 100644 index 0000000..41e95d3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/he_IL.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.he_IL = factory())); +})(this, (function () { 'use strict'; + + /** + * Hebrew language package + * Translated by @yakidahan + */ + + var he_IL = { + base64: { + default: 'נא להזין ערך המקודד בבסיס 64', + }, + between: { + default: 'נא להזין ערך בין %s ל-%s', + notInclusive: 'נא להזין ערך בין %s ל-%s בדיוק', + }, + bic: { + default: 'נא להזין מספר BIC תקין', + }, + callback: { + default: 'נא להזין ערך תקין', + }, + choice: { + between: 'נא לבחור %s-%s אפשרויות', + default: 'נא להזין ערך תקין', + less: 'נא לבחור מינימום %s אפשרויות', + more: 'נא לבחור מקסימום %s אפשרויות', + }, + color: { + default: 'נא להזין קוד צבע תקין', + }, + creditCard: { + default: 'נא להזין מספר כרטיס אשראי תקין', + }, + cusip: { + default: 'נא להזין מספר CUSIP תקין', + }, + date: { + default: 'נא להזין תאריך תקין', + max: 'נא להזין תאריך לפני %s', + min: 'נא להזין תאריך אחרי %s', + range: 'נא להזין תאריך בטווח %s - %s', + }, + different: { + default: 'נא להזין ערך שונה', + }, + digits: { + default: 'נא להזין ספרות בלבד', + }, + ean: { + default: 'נא להזין מספר EAN תקין', + }, + ein: { + default: 'נא להזין מספר EIN תקין', + }, + emailAddress: { + default: 'נא להזין כתובת דוא"ל תקינה', + }, + file: { + default: 'נא לבחור קובץ חוקי', + }, + greaterThan: { + default: 'נא להזין ערך גדול או שווה ל-%s', + notInclusive: 'נא להזין ערך גדול מ-%s', + }, + grid: { + default: 'נא להזין מספר GRId תקין', + }, + hex: { + default: 'נא להזין מספר הקסדצימלי תקין', + }, + iban: { + countries: { + AD: 'אנדורה', + AE: 'איחוד האמירויות הערבי', + AL: 'אלבניה', + AO: 'אנגולה', + AT: 'אוסטריה', + AZ: 'אזרבייגאן', + BA: 'בוסניה והרצגובינה', + BE: 'בלגיה', + BF: 'בורקינה פאסו', + BG: 'בולגריה', + BH: 'בחריין', + BI: 'בורונדי', + BJ: 'בנין', + BR: 'ברזיל', + CH: 'שווייץ', + CI: 'חוף השנהב', + CM: 'קמרון', + CR: 'קוסטה ריקה', + CV: 'קייפ ורדה', + CY: 'קפריסין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + DO: 'דומיניקה', + DZ: 'אלגיריה', + EE: 'אסטוניה', + ES: 'ספרד', + FI: 'פינלנד', + FO: 'איי פארו', + FR: 'צרפת', + GB: 'בריטניה', + GE: 'גאורגיה', + GI: 'גיברלטר', + GL: 'גרינלנד', + GR: 'יוון', + GT: 'גואטמלה', + HR: 'קרואטיה', + HU: 'הונגריה', + IE: 'אירלנד', + IL: 'ישראל', + IR: 'איראן', + IS: 'איסלנד', + IT: 'איטליה', + JO: 'ירדן', + KW: 'כווית', + KZ: 'קזחסטן', + LB: 'לבנון', + LI: 'ליכטנשטיין', + LT: 'ליטא', + LU: 'לוקסמבורג', + LV: 'לטביה', + MC: 'מונקו', + MD: 'מולדובה', + ME: 'מונטנגרו', + MG: 'מדגסקר', + MK: 'מקדוניה', + ML: 'מאלי', + MR: 'מאוריטניה', + MT: 'מלטה', + MU: 'מאוריציוס', + MZ: 'מוזמביק', + NL: 'הולנד', + NO: 'נורווגיה', + PK: 'פקיסטן', + PL: 'פולין', + PS: 'פלסטין', + PT: 'פורטוגל', + QA: 'קטאר', + RO: 'רומניה', + RS: 'סרביה', + SA: 'ערב הסעודית', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + SM: 'סן מרינו', + SN: 'סנגל', + TL: 'מזרח טימור', + TN: 'תוניסיה', + TR: 'טורקיה', + VG: 'איי הבתולה, בריטניה', + XK: 'רפובליקה של קוסובו', + }, + country: 'נא להזין מספר IBAN תקני ב%s', + default: 'נא להזין מספר IBAN תקין', + }, + id: { + countries: { + BA: 'בוסניה והרצגובינה', + BG: 'בולגריה', + BR: 'ברזיל', + CH: 'שווייץ', + CL: 'צילה', + CN: 'סין', + CZ: 'צכיה', + DK: 'דנמרק', + EE: 'אסטוניה', + ES: 'ספרד', + FI: 'פינלנד', + HR: 'קרואטיה', + IE: 'אירלנד', + IS: 'איסלנד', + LT: 'ליטא', + LV: 'לטביה', + ME: 'מונטנגרו', + MK: 'מקדוניה', + NL: 'הולנד', + PL: 'פולין', + RO: 'רומניה', + RS: 'סרביה', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + SM: 'סן מרינו', + TH: 'תאילנד', + TR: 'טורקיה', + ZA: 'דרום אפריקה', + }, + country: 'נא להזין מספר זהות תקני ב%s', + default: 'נא להזין מספר זהות תקין', + }, + identical: { + default: 'נא להזין את הערך שנית', + }, + imei: { + default: 'נא להזין מספר IMEI תקין', + }, + imo: { + default: 'נא להזין מספר IMO תקין', + }, + integer: { + default: 'נא להזין מספר תקין', + }, + ip: { + default: 'נא להזין כתובת IP תקינה', + ipv4: 'נא להזין כתובת IPv4 תקינה', + ipv6: 'נא להזין כתובת IPv6 תקינה', + }, + isbn: { + default: 'נא להזין מספר ISBN תקין', + }, + isin: { + default: 'נא להזין מספר ISIN תקין', + }, + ismn: { + default: 'נא להזין מספר ISMN תקין', + }, + issn: { + default: 'נא להזין מספר ISSN תקין', + }, + lessThan: { + default: 'נא להזין ערך קטן או שווה ל-%s', + notInclusive: 'נא להזין ערך קטן מ-%s', + }, + mac: { + default: 'נא להזין מספר MAC תקין', + }, + meid: { + default: 'נא להזין מספר MEID תקין', + }, + notEmpty: { + default: 'נא להזין ערך', + }, + numeric: { + default: 'נא להזין מספר עשרוני חוקי', + }, + phone: { + countries: { + AE: 'איחוד האמירויות הערבי', + BG: 'בולגריה', + BR: 'ברזיל', + CN: 'סין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + ES: 'ספרד', + FR: 'צרפת', + GB: 'בריטניה', + IN: 'הודו', + MA: 'מרוקו', + NL: 'הולנד', + PK: 'פקיסטן', + RO: 'רומניה', + RU: 'רוסיה', + SK: 'סלובקיה', + TH: 'תאילנד', + US: 'ארצות הברית', + VE: 'ונצואלה', + }, + country: 'נא להזין מספר טלפון תקין ב%s', + default: 'נא להין מספר טלפון תקין', + }, + promise: { + default: 'נא להזין ערך תקין', + }, + regexp: { + default: 'נא להזין ערך תואם לתבנית', + }, + remote: { + default: 'נא להזין ערך תקין', + }, + rtn: { + default: 'נא להזין מספר RTN תקין', + }, + sedol: { + default: 'נא להזין מספר SEDOL תקין', + }, + siren: { + default: 'נא להזין מספר SIREN תקין', + }, + siret: { + default: 'נא להזין מספר SIRET תקין', + }, + step: { + default: 'נא להזין שלב תקין מתוך %s', + }, + stringCase: { + default: 'נא להזין אותיות קטנות בלבד', + upper: 'נא להזין אותיות גדולות בלבד', + }, + stringLength: { + between: 'נא להזין ערך בין %s עד %s תווים', + default: 'נא להזין ערך באורך חוקי', + less: 'נא להזין ערך קטן מ-%s תווים', + more: 'נא להזין ערך גדול מ- %s תווים', + }, + uri: { + default: 'נא להזין URI תקין', + }, + uuid: { + default: 'נא להזין מספר UUID תקין', + version: 'נא להזין מספר UUID גרסה %s תקין', + }, + vat: { + countries: { + AT: 'אוסטריה', + BE: 'בלגיה', + BG: 'בולגריה', + BR: 'ברזיל', + CH: 'שווייץ', + CY: 'קפריסין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + EE: 'אסטוניה', + EL: 'יוון', + ES: 'ספרד', + FI: 'פינלנד', + FR: 'צרפת', + GB: 'בריטניה', + GR: 'יוון', + HR: 'קרואטיה', + HU: 'הונגריה', + IE: 'אירלנד', + IS: 'איסלנד', + IT: 'איטליה', + LT: 'ליטא', + LU: 'לוקסמבורג', + LV: 'לטביה', + MT: 'מלטה', + NL: 'הולנד', + NO: 'נורווגיה', + PL: 'פולין', + PT: 'פורטוגל', + RO: 'רומניה', + RS: 'סרביה', + RU: 'רוסיה', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + VE: 'ונצואלה', + ZA: 'דרום אפריקה', + }, + country: 'נא להזין מספר VAT תקין ב%s', + default: 'נא להזין מספר VAT תקין', + }, + vin: { + default: 'נא להזין מספר VIN תקין', + }, + zipCode: { + countries: { + AT: 'אוסטריה', + BG: 'בולגריה', + BR: 'ברזיל', + CA: 'קנדה', + CH: 'שווייץ', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + ES: 'ספרד', + FR: 'צרפת', + GB: 'בריטניה', + IE: 'אירלנד', + IN: 'הודו', + IT: 'איטליה', + MA: 'מרוקו', + NL: 'הולנד', + PL: 'פולין', + PT: 'פורטוגל', + RO: 'רומניה', + RU: 'רוסיה', + SE: 'שוודיה', + SG: 'סינגפור', + SK: 'סלובקיה', + US: 'ארצות הברית', + }, + country: 'נא להזין מיקוד תקין ב%s', + default: 'נא להזין מיקוד תקין', + }, + }; + + return he_IL; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/he_IL.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/he_IL.min.js new file mode 100644 index 0000000..dc69038 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/he_IL.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.he_IL=factory())})(this,(function(){"use strict";var he_IL={base64:{default:"נא להזין ערך המקודד בבסיס 64"},between:{default:"נא להזין ערך בין %s ל-%s",notInclusive:"נא להזין ערך בין %s ל-%s בדיוק"},bic:{default:"נא להזין מספר BIC תקין"},callback:{default:"נא להזין ערך תקין"},choice:{between:"נא לבחור %s-%s אפשרויות",default:"נא להזין ערך תקין",less:"נא לבחור מינימום %s אפשרויות",more:"נא לבחור מקסימום %s אפשרויות"},color:{default:"נא להזין קוד צבע תקין"},creditCard:{default:"נא להזין מספר כרטיס אשראי תקין"},cusip:{default:"נא להזין מספר CUSIP תקין"},date:{default:"נא להזין תאריך תקין",max:"נא להזין תאריך לפני %s",min:"נא להזין תאריך אחרי %s",range:"נא להזין תאריך בטווח %s - %s"},different:{default:"נא להזין ערך שונה"},digits:{default:"נא להזין ספרות בלבד"},ean:{default:"נא להזין מספר EAN תקין"},ein:{default:"נא להזין מספר EIN תקין"},emailAddress:{default:'נא להזין כתובת דוא"ל תקינה'},file:{default:"נא לבחור קובץ חוקי"},greaterThan:{default:"נא להזין ערך גדול או שווה ל-%s",notInclusive:"נא להזין ערך גדול מ-%s"},grid:{default:"נא להזין מספר GRId תקין"},hex:{default:"נא להזין מספר הקסדצימלי תקין"},iban:{countries:{AD:"אנדורה",AE:"איחוד האמירויות הערבי",AL:"אלבניה",AO:"אנגולה",AT:"אוסטריה",AZ:"אזרבייגאן",BA:"בוסניה והרצגובינה",BE:"בלגיה",BF:"בורקינה פאסו",BG:"בולגריה",BH:"בחריין",BI:"בורונדי",BJ:"בנין",BR:"ברזיל",CH:"שווייץ",CI:"חוף השנהב",CM:"קמרון",CR:"קוסטה ריקה",CV:"קייפ ורדה",CY:"קפריסין",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",DO:"דומיניקה",DZ:"אלגיריה",EE:"אסטוניה",ES:"ספרד",FI:"פינלנד",FO:"איי פארו",FR:"צרפת",GB:"בריטניה",GE:"גאורגיה",GI:"גיברלטר",GL:"גרינלנד",GR:"יוון",GT:"גואטמלה",HR:"קרואטיה",HU:"הונגריה",IE:"אירלנד",IL:"ישראל",IR:"איראן",IS:"איסלנד",IT:"איטליה",JO:"ירדן",KW:"כווית",KZ:"קזחסטן",LB:"לבנון",LI:"ליכטנשטיין",LT:"ליטא",LU:"לוקסמבורג",LV:"לטביה",MC:"מונקו",MD:"מולדובה",ME:"מונטנגרו",MG:"מדגסקר",MK:"מקדוניה",ML:"מאלי",MR:"מאוריטניה",MT:"מלטה",MU:"מאוריציוס",MZ:"מוזמביק",NL:"הולנד",NO:"נורווגיה",PK:"פקיסטן",PL:"פולין",PS:"פלסטין",PT:"פורטוגל",QA:"קטאר",RO:"רומניה",RS:"סרביה",SA:"ערב הסעודית",SE:"שוודיה",SI:"סלובניה",SK:"סלובקיה",SM:"סן מרינו",SN:"סנגל",TL:"מזרח טימור",TN:"תוניסיה",TR:"טורקיה",VG:"איי הבתולה, בריטניה",XK:"רפובליקה של קוסובו"},country:"נא להזין מספר IBAN תקני ב%s",default:"נא להזין מספר IBAN תקין"},id:{countries:{BA:"בוסניה והרצגובינה",BG:"בולגריה",BR:"ברזיל",CH:"שווייץ",CL:"צילה",CN:"סין",CZ:"צכיה",DK:"דנמרק",EE:"אסטוניה",ES:"ספרד",FI:"פינלנד",HR:"קרואטיה",IE:"אירלנד",IS:"איסלנד",LT:"ליטא",LV:"לטביה",ME:"מונטנגרו",MK:"מקדוניה",NL:"הולנד",PL:"פולין",RO:"רומניה",RS:"סרביה",SE:"שוודיה",SI:"סלובניה",SK:"סלובקיה",SM:"סן מרינו",TH:"תאילנד",TR:"טורקיה",ZA:"דרום אפריקה"},country:"נא להזין מספר זהות תקני ב%s",default:"נא להזין מספר זהות תקין"},identical:{default:"נא להזין את הערך שנית"},imei:{default:"נא להזין מספר IMEI תקין"},imo:{default:"נא להזין מספר IMO תקין"},integer:{default:"נא להזין מספר תקין"},ip:{default:"נא להזין כתובת IP תקינה",ipv4:"נא להזין כתובת IPv4 תקינה",ipv6:"נא להזין כתובת IPv6 תקינה"},isbn:{default:"נא להזין מספר ISBN תקין"},isin:{default:"נא להזין מספר ISIN תקין"},ismn:{default:"נא להזין מספר ISMN תקין"},issn:{default:"נא להזין מספר ISSN תקין"},lessThan:{default:"נא להזין ערך קטן או שווה ל-%s",notInclusive:"נא להזין ערך קטן מ-%s"},mac:{default:"נא להזין מספר MAC תקין"},meid:{default:"נא להזין מספר MEID תקין"},notEmpty:{default:"נא להזין ערך"},numeric:{default:"נא להזין מספר עשרוני חוקי"},phone:{countries:{AE:"איחוד האמירויות הערבי",BG:"בולגריה",BR:"ברזיל",CN:"סין",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",ES:"ספרד",FR:"צרפת",GB:"בריטניה",IN:"הודו",MA:"מרוקו",NL:"הולנד",PK:"פקיסטן",RO:"רומניה",RU:"רוסיה",SK:"סלובקיה",TH:"תאילנד",US:"ארצות הברית",VE:"ונצואלה"},country:"נא להזין מספר טלפון תקין ב%s",default:"נא להין מספר טלפון תקין"},promise:{default:"נא להזין ערך תקין"},regexp:{default:"נא להזין ערך תואם לתבנית"},remote:{default:"נא להזין ערך תקין"},rtn:{default:"נא להזין מספר RTN תקין"},sedol:{default:"נא להזין מספר SEDOL תקין"},siren:{default:"נא להזין מספר SIREN תקין"},siret:{default:"נא להזין מספר SIRET תקין"},step:{default:"נא להזין שלב תקין מתוך %s"},stringCase:{default:"נא להזין אותיות קטנות בלבד",upper:"נא להזין אותיות גדולות בלבד"},stringLength:{between:"נא להזין ערך בין %s עד %s תווים",default:"נא להזין ערך באורך חוקי",less:"נא להזין ערך קטן מ-%s תווים",more:"נא להזין ערך גדול מ- %s תווים"},uri:{default:"נא להזין URI תקין"},uuid:{default:"נא להזין מספר UUID תקין",version:"נא להזין מספר UUID גרסה %s תקין"},vat:{countries:{AT:"אוסטריה",BE:"בלגיה",BG:"בולגריה",BR:"ברזיל",CH:"שווייץ",CY:"קפריסין",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",EE:"אסטוניה",EL:"יוון",ES:"ספרד",FI:"פינלנד",FR:"צרפת",GB:"בריטניה",GR:"יוון",HR:"קרואטיה",HU:"הונגריה",IE:"אירלנד",IS:"איסלנד",IT:"איטליה",LT:"ליטא",LU:"לוקסמבורג",LV:"לטביה",MT:"מלטה",NL:"הולנד",NO:"נורווגיה",PL:"פולין",PT:"פורטוגל",RO:"רומניה",RS:"סרביה",RU:"רוסיה",SE:"שוודיה",SI:"סלובניה",SK:"סלובקיה",VE:"ונצואלה",ZA:"דרום אפריקה"},country:"נא להזין מספר VAT תקין ב%s",default:"נא להזין מספר VAT תקין"},vin:{default:"נא להזין מספר VIN תקין"},zipCode:{countries:{AT:"אוסטריה",BG:"בולגריה",BR:"ברזיל",CA:"קנדה",CH:"שווייץ",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",ES:"ספרד",FR:"צרפת",GB:"בריטניה",IE:"אירלנד",IN:"הודו",IT:"איטליה",MA:"מרוקו",NL:"הולנד",PL:"פולין",PT:"פורטוגל",RO:"רומניה",RU:"רוסיה",SE:"שוודיה",SG:"סינגפור",SK:"סלובקיה",US:"ארצות הברית"},country:"נא להזין מיקוד תקין ב%s",default:"נא להזין מיקוד תקין"}};return he_IL})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/hi_IN.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/hi_IN.js new file mode 100644 index 0000000..8c34bf5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/hi_IN.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.hi_IN = factory())); +})(this, (function () { 'use strict'; + + /** + * Hindi (India) language package + * Translated by @gladiatorAsh + */ + + var hi_IN = { + base64: { + default: 'कृपया एक वैध 64 इनकोडिंग मूल्यांक प्रविष्ट करें', + }, + between: { + default: 'कृपया %s और %s के बीच एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया सिर्फ़ %s और %s के बीच मूल्यांक प्रविष्ट करें', + }, + bic: { + default: 'कृपया एक वैध BIC संख्या प्रविष्ट करें', + }, + callback: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + choice: { + between: 'कृपया %s और %s के बीच विकल्पों का चयन करें', + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + less: 'कृपया कम से कम %s विकल्पों का चयन करें', + more: 'कृपया अधिकतम %s विकल्पों का चयन करें', + }, + color: { + default: 'कृपया एक वैध रंग प्रविष्ट करें', + }, + creditCard: { + default: 'कृपया एक वैध क्रेडिट कार्ड संख्या प्रविष्ट करें', + }, + cusip: { + default: 'कृपया एक वैध CUSIP संख्या प्रविष्ट करें', + }, + date: { + default: 'कृपया एक वैध दिनांक प्रविष्ट करें', + max: 'कृपया %s के पहले एक वैध दिनांक प्रविष्ट करें', + min: 'कृपया %s के बाद एक वैध दिनांक प्रविष्ट करें', + range: 'कृपया %s से %s के बीच एक वैध दिनांक प्रविष्ट करें', + }, + different: { + default: 'कृपया एक अलग मूल्यांक प्रविष्ट करें', + }, + digits: { + default: 'कृपया केवल अंक प्रविष्ट करें', + }, + ean: { + default: 'कृपया एक वैध EAN संख्या प्रविष्ट करें', + }, + ein: { + default: 'कृपया एक वैध EIN संख्या प्रविष्ट करें', + }, + emailAddress: { + default: 'कृपया एक वैध ईमेल पता प्रविष्ट करें', + }, + file: { + default: 'कृपया एक वैध फ़ाइल का चयन करें', + }, + greaterThan: { + default: 'कृपया %s से अधिक या बराबर एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया %s से अधिक एक मूल्यांक प्रविष्ट करें', + }, + grid: { + default: 'कृपया एक वैध GRID संख्या प्रविष्ट करें', + }, + hex: { + default: 'कृपया एक वैध हेक्साडेसिमल संख्या प्रविष्ट करें', + }, + iban: { + countries: { + AD: 'अंडोरा', + AE: 'संयुक्त अरब अमीरात', + AL: 'अल्बानिया', + AO: 'अंगोला', + AT: 'ऑस्ट्रिया', + AZ: 'अज़रबैजान', + BA: 'बोस्निया और हर्जेगोविना', + BE: 'बेल्जियम', + BF: 'बुर्किना फासो', + BG: 'बुल्गारिया', + BH: 'बहरीन', + BI: 'बुस्र्न्दी', + BJ: 'बेनिन', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CI: 'आइवरी कोस्ट', + CM: 'कैमरून', + CR: 'कोस्टा रिका', + CV: 'केप वर्डे', + CY: 'साइप्रस', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + DO: 'डोमिनिकन गणराज्य', + DZ: 'एलजीरिया', + EE: 'एस्तोनिया', + ES: 'स्पेन', + FI: 'फिनलैंड', + FO: 'फरो आइलैंड्स', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + GE: 'जॉर्जिया', + GI: 'जिब्राल्टर', + GL: 'ग्रीनलैंड', + GR: 'ग्रीस', + GT: 'ग्वाटेमाला', + HR: 'क्रोएशिया', + HU: 'हंगरी', + IE: 'आयरलैंड', + IL: 'इज़राइल', + IR: 'ईरान', + IS: 'आइसलैंड', + IT: 'इटली', + JO: 'जॉर्डन', + KW: 'कुवैत', + KZ: 'कजाखस्तान', + LB: 'लेबनान', + LI: 'लिकटेंस्टीन', + LT: 'लिथुआनिया', + LU: 'लक्समबर्ग', + LV: 'लाटविया', + MC: 'मोनाको', + MD: 'माल्डोवा', + ME: 'मॉन्टेंगरो', + MG: 'मेडागास्कर', + MK: 'मैसेडोनिया', + ML: 'माली', + MR: 'मॉरिटानिया', + MT: 'माल्टा', + MU: 'मॉरीशस', + MZ: 'मोज़ाम्बिक', + NL: 'नीदरलैंड', + NO: 'नॉर्वे', + PK: 'पाकिस्तान', + PL: 'पोलैंड', + PS: 'फिलिस्तीन', + PT: 'पुर्तगाल', + QA: 'क़तर', + RO: 'रोमानिया', + RS: 'सर्बिया', + SA: 'सऊदी अरब', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + SM: 'सैन मैरिनो', + SN: 'सेनेगल', + TL: 'पूर्वी तिमोर', + TN: 'ट्यूनीशिया', + TR: 'तुर्की', + VG: 'वर्जिन आइलैंड्स, ब्रिटिश', + XK: 'कोसोवो गणराज्य', + }, + country: 'कृपया %s में एक वैध IBAN संख्या प्रविष्ट करें', + default: 'कृपया एक वैध IBAN संख्या प्रविष्ट करें', + }, + id: { + countries: { + BA: 'बोस्निया और हर्जेगोविना', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CL: 'चिली', + CN: 'चीन', + CZ: 'चेक रिपब्लिक', + DK: 'डेनमार्क', + EE: 'एस्तोनिया', + ES: 'स्पेन', + FI: 'फिनलैंड', + HR: 'क्रोएशिया', + IE: 'आयरलैंड', + IS: 'आइसलैंड', + LT: 'लिथुआनिया', + LV: 'लाटविया', + ME: 'मोंटेनेग्रो', + MK: 'मैसेडोनिया', + NL: 'नीदरलैंड', + PL: 'पोलैंड', + RO: 'रोमानिया', + RS: 'सर्बिया', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + SM: 'सैन मैरिनो', + TH: 'थाईलैंड', + TR: 'तुर्की', + ZA: 'दक्षिण अफ्रीका', + }, + country: 'कृपया %s में एक वैध पहचान संख्या प्रविष्ट करें', + default: 'कृपया एक वैध पहचान संख्या प्रविष्ट करें', + }, + identical: { + default: 'कृपया वही मूल्यांक दोबारा प्रविष्ट करें', + }, + imei: { + default: 'कृपया एक वैध IMEI संख्या प्रविष्ट करें', + }, + imo: { + default: 'कृपया एक वैध IMO संख्या प्रविष्ट करें', + }, + integer: { + default: 'कृपया एक वैध संख्या प्रविष्ट करें', + }, + ip: { + default: 'कृपया एक वैध IP पता प्रविष्ट करें', + ipv4: 'कृपया एक वैध IPv4 पता प्रविष्ट करें', + ipv6: 'कृपया एक वैध IPv6 पता प्रविष्ट करें', + }, + isbn: { + default: 'कृपया एक वैध ISBN संख्या दर्ज करें', + }, + isin: { + default: 'कृपया एक वैध ISIN संख्या दर्ज करें', + }, + ismn: { + default: 'कृपया एक वैध ISMN संख्या दर्ज करें', + }, + issn: { + default: 'कृपया एक वैध ISSN संख्या दर्ज करें', + }, + lessThan: { + default: 'कृपया %s से कम या बराबर एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया %s से कम एक मूल्यांक प्रविष्ट करें', + }, + mac: { + default: 'कृपया एक वैध MAC पता प्रविष्ट करें', + }, + meid: { + default: 'कृपया एक वैध MEID संख्या प्रविष्ट करें', + }, + notEmpty: { + default: 'कृपया एक मूल्यांक प्रविष्ट करें', + }, + numeric: { + default: 'कृपया एक वैध दशमलव संख्या प्रविष्ट करें', + }, + phone: { + countries: { + AE: 'संयुक्त अरब अमीरात', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CN: 'चीन', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + ES: 'स्पेन', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + IN: 'भारत', + MA: 'मोरक्को', + NL: 'नीदरलैंड', + PK: 'पाकिस्तान', + RO: 'रोमानिया', + RU: 'रुस', + SK: 'स्लोवाकिया', + TH: 'थाईलैंड', + US: 'अमेरीका', + VE: 'वेनेजुएला', + }, + country: 'कृपया %s में एक वैध फ़ोन नंबर प्रविष्ट करें', + default: 'कृपया एक वैध फ़ोन नंबर प्रविष्ट करें', + }, + promise: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + regexp: { + default: 'कृपया पैटर्न से मेल खाते एक मूल्यांक प्रविष्ट करें', + }, + remote: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + rtn: { + default: 'कृपया एक वैध RTN संख्या प्रविष्ट करें', + }, + sedol: { + default: 'कृपया एक वैध SEDOL संख्या प्रविष्ट करें', + }, + siren: { + default: 'कृपया एक वैध SIREN संख्या प्रविष्ट करें', + }, + siret: { + default: 'कृपया एक वैध SIRET संख्या प्रविष्ट करें', + }, + step: { + default: '%s के एक गुणज मूल्यांक प्रविष्ट करें', + }, + stringCase: { + default: 'कृपया केवल छोटे पात्रों का प्रविष्ट करें', + upper: 'कृपया केवल बड़े पात्रों का प्रविष्ट करें', + }, + stringLength: { + between: 'कृपया %s से %s के बीच लंबाई का एक मूल्यांक प्रविष्ट करें', + default: 'कृपया वैध लंबाई का एक मूल्यांक प्रविष्ट करें', + less: 'कृपया %s से कम पात्रों को प्रविष्ट करें', + more: 'कृपया %s से अधिक पात्रों को प्रविष्ट करें', + }, + uri: { + default: 'कृपया एक वैध URI प्रविष्ट करें', + }, + uuid: { + default: 'कृपया एक वैध UUID संख्या प्रविष्ट करें', + version: 'कृपया एक वैध UUID संस्करण %s संख्या प्रविष्ट करें', + }, + vat: { + countries: { + AT: 'ऑस्ट्रिया', + BE: 'बेल्जियम', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CY: 'साइप्रस', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + EE: 'एस्तोनिया', + EL: 'ग्रीस', + ES: 'स्पेन', + FI: 'फिनलैंड', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + GR: 'ग्रीस', + HR: 'क्रोएशिया', + HU: 'हंगरी', + IE: 'आयरलैंड', + IS: 'आइसलैंड', + IT: 'इटली', + LT: 'लिथुआनिया', + LU: 'लक्समबर्ग', + LV: 'लाटविया', + MT: 'माल्टा', + NL: 'नीदरलैंड', + NO: 'नॉर्वे', + PL: 'पोलैंड', + PT: 'पुर्तगाल', + RO: 'रोमानिया', + RS: 'सर्बिया', + RU: 'रुस', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + VE: 'वेनेजुएला', + ZA: 'दक्षिण अफ्रीका', + }, + country: 'कृपया एक वैध VAT संख्या %s मे प्रविष्ट करें', + default: 'कृपया एक वैध VAT संख्या प्रविष्ट करें', + }, + vin: { + default: 'कृपया एक वैध VIN संख्या प्रविष्ट करें', + }, + zipCode: { + countries: { + AT: 'ऑस्ट्रिया', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CA: 'कनाडा', + CH: 'स्विट्जरलैंड', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + ES: 'स्पेन', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + IE: 'आयरलैंड', + IN: 'भारत', + IT: 'इटली', + MA: 'मोरक्को', + NL: 'नीदरलैंड', + PL: 'पोलैंड', + PT: 'पुर्तगाल', + RO: 'रोमानिया', + RU: 'रुस', + SE: 'स्वीडन', + SG: 'सिंगापुर', + SK: 'स्लोवाकिया', + US: 'अमेरीका', + }, + country: 'कृपया एक वैध डाक कोड %s मे प्रविष्ट करें', + default: 'कृपया एक वैध डाक कोड प्रविष्ट करें', + }, + }; + + return hi_IN; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/hi_IN.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/hi_IN.min.js new file mode 100644 index 0000000..aa3646c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/hi_IN.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.hi_IN=factory())})(this,(function(){"use strict";var hi_IN={base64:{default:"कृपया एक वैध 64 इनकोडिंग मूल्यांक प्रविष्ट करें"},between:{default:"कृपया %s और %s के बीच एक मूल्यांक प्रविष्ट करें",notInclusive:"कृपया सिर्फ़ %s और %s के बीच मूल्यांक प्रविष्ट करें"},bic:{default:"कृपया एक वैध BIC संख्या प्रविष्ट करें"},callback:{default:"कृपया एक वैध मूल्यांक प्रविष्ट करें"},choice:{between:"कृपया %s और %s के बीच विकल्पों का चयन करें",default:"कृपया एक वैध मूल्यांक प्रविष्ट करें",less:"कृपया कम से कम %s विकल्पों का चयन करें",more:"कृपया अधिकतम %s विकल्पों का चयन करें"},color:{default:"कृपया एक वैध रंग प्रविष्ट करें"},creditCard:{default:"कृपया एक वैध क्रेडिट कार्ड संख्या प्रविष्ट करें"},cusip:{default:"कृपया एक वैध CUSIP संख्या प्रविष्ट करें"},date:{default:"कृपया एक वैध दिनांक प्रविष्ट करें",max:"कृपया %s के पहले एक वैध दिनांक प्रविष्ट करें",min:"कृपया %s के बाद एक वैध दिनांक प्रविष्ट करें",range:"कृपया %s से %s के बीच एक वैध दिनांक प्रविष्ट करें"},different:{default:"कृपया एक अलग मूल्यांक प्रविष्ट करें"},digits:{default:"कृपया केवल अंक प्रविष्ट करें"},ean:{default:"कृपया एक वैध EAN संख्या प्रविष्ट करें"},ein:{default:"कृपया एक वैध EIN संख्या प्रविष्ट करें"},emailAddress:{default:"कृपया एक वैध ईमेल पता प्रविष्ट करें"},file:{default:"कृपया एक वैध फ़ाइल का चयन करें"},greaterThan:{default:"कृपया %s से अधिक या बराबर एक मूल्यांक प्रविष्ट करें",notInclusive:"कृपया %s से अधिक एक मूल्यांक प्रविष्ट करें"},grid:{default:"कृपया एक वैध GRID संख्या प्रविष्ट करें"},hex:{default:"कृपया एक वैध हेक्साडेसिमल संख्या प्रविष्ट करें"},iban:{countries:{AD:"अंडोरा",AE:"संयुक्त अरब अमीरात",AL:"अल्बानिया",AO:"अंगोला",AT:"ऑस्ट्रिया",AZ:"अज़रबैजान",BA:"बोस्निया और हर्जेगोविना",BE:"बेल्जियम",BF:"बुर्किना फासो",BG:"बुल्गारिया",BH:"बहरीन",BI:"बुस्र्न्दी",BJ:"बेनिन",BR:"ब्राज़िल",CH:"स्विट्जरलैंड",CI:"आइवरी कोस्ट",CM:"कैमरून",CR:"कोस्टा रिका",CV:"केप वर्डे",CY:"साइप्रस",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",DO:"डोमिनिकन गणराज्य",DZ:"एलजीरिया",EE:"एस्तोनिया",ES:"स्पेन",FI:"फिनलैंड",FO:"फरो आइलैंड्स",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",GE:"जॉर्जिया",GI:"जिब्राल्टर",GL:"ग्रीनलैंड",GR:"ग्रीस",GT:"ग्वाटेमाला",HR:"क्रोएशिया",HU:"हंगरी",IE:"आयरलैंड",IL:"इज़राइल",IR:"ईरान",IS:"आइसलैंड",IT:"इटली",JO:"जॉर्डन",KW:"कुवैत",KZ:"कजाखस्तान",LB:"लेबनान",LI:"लिकटेंस्टीन",LT:"लिथुआनिया",LU:"लक्समबर्ग",LV:"लाटविया",MC:"मोनाको",MD:"माल्डोवा",ME:"मॉन्टेंगरो",MG:"मेडागास्कर",MK:"मैसेडोनिया",ML:"माली",MR:"मॉरिटानिया",MT:"माल्टा",MU:"मॉरीशस",MZ:"मोज़ाम्बिक",NL:"नीदरलैंड",NO:"नॉर्वे",PK:"पाकिस्तान",PL:"पोलैंड",PS:"फिलिस्तीन",PT:"पुर्तगाल",QA:"क़तर",RO:"रोमानिया",RS:"सर्बिया",SA:"सऊदी अरब",SE:"स्वीडन",SI:"स्लोवेनिया",SK:"स्लोवाकिया",SM:"सैन मैरिनो",SN:"सेनेगल",TL:"पूर्वी तिमोर",TN:"ट्यूनीशिया",TR:"तुर्की",VG:"वर्जिन आइलैंड्स, ब्रिटिश",XK:"कोसोवो गणराज्य"},country:"कृपया %s में एक वैध IBAN संख्या प्रविष्ट करें",default:"कृपया एक वैध IBAN संख्या प्रविष्ट करें"},id:{countries:{BA:"बोस्निया और हर्जेगोविना",BG:"बुल्गारिया",BR:"ब्राज़िल",CH:"स्विट्जरलैंड",CL:"चिली",CN:"चीन",CZ:"चेक रिपब्लिक",DK:"डेनमार्क",EE:"एस्तोनिया",ES:"स्पेन",FI:"फिनलैंड",HR:"क्रोएशिया",IE:"आयरलैंड",IS:"आइसलैंड",LT:"लिथुआनिया",LV:"लाटविया",ME:"मोंटेनेग्रो",MK:"मैसेडोनिया",NL:"नीदरलैंड",PL:"पोलैंड",RO:"रोमानिया",RS:"सर्बिया",SE:"स्वीडन",SI:"स्लोवेनिया",SK:"स्लोवाकिया",SM:"सैन मैरिनो",TH:"थाईलैंड",TR:"तुर्की",ZA:"दक्षिण अफ्रीका"},country:"कृपया %s में एक वैध पहचान संख्या प्रविष्ट करें",default:"कृपया एक वैध पहचान संख्या प्रविष्ट करें"},identical:{default:"कृपया वही मूल्यांक दोबारा प्रविष्ट करें"},imei:{default:"कृपया एक वैध IMEI संख्या प्रविष्ट करें"},imo:{default:"कृपया एक वैध IMO संख्या प्रविष्ट करें"},integer:{default:"कृपया एक वैध संख्या प्रविष्ट करें"},ip:{default:"कृपया एक वैध IP पता प्रविष्ट करें",ipv4:"कृपया एक वैध IPv4 पता प्रविष्ट करें",ipv6:"कृपया एक वैध IPv6 पता प्रविष्ट करें"},isbn:{default:"कृपया एक वैध ISBN संख्या दर्ज करें"},isin:{default:"कृपया एक वैध ISIN संख्या दर्ज करें"},ismn:{default:"कृपया एक वैध ISMN संख्या दर्ज करें"},issn:{default:"कृपया एक वैध ISSN संख्या दर्ज करें"},lessThan:{default:"कृपया %s से कम या बराबर एक मूल्यांक प्रविष्ट करें",notInclusive:"कृपया %s से कम एक मूल्यांक प्रविष्ट करें"},mac:{default:"कृपया एक वैध MAC पता प्रविष्ट करें"},meid:{default:"कृपया एक वैध MEID संख्या प्रविष्ट करें"},notEmpty:{default:"कृपया एक मूल्यांक प्रविष्ट करें"},numeric:{default:"कृपया एक वैध दशमलव संख्या प्रविष्ट करें"},phone:{countries:{AE:"संयुक्त अरब अमीरात",BG:"बुल्गारिया",BR:"ब्राज़िल",CN:"चीन",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",ES:"स्पेन",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",IN:"भारत",MA:"मोरक्को",NL:"नीदरलैंड",PK:"पाकिस्तान",RO:"रोमानिया",RU:"रुस",SK:"स्लोवाकिया",TH:"थाईलैंड",US:"अमेरीका",VE:"वेनेजुएला"},country:"कृपया %s में एक वैध फ़ोन नंबर प्रविष्ट करें",default:"कृपया एक वैध फ़ोन नंबर प्रविष्ट करें"},promise:{default:"कृपया एक वैध मूल्यांक प्रविष्ट करें"},regexp:{default:"कृपया पैटर्न से मेल खाते एक मूल्यांक प्रविष्ट करें"},remote:{default:"कृपया एक वैध मूल्यांक प्रविष्ट करें"},rtn:{default:"कृपया एक वैध RTN संख्या प्रविष्ट करें"},sedol:{default:"कृपया एक वैध SEDOL संख्या प्रविष्ट करें"},siren:{default:"कृपया एक वैध SIREN संख्या प्रविष्ट करें"},siret:{default:"कृपया एक वैध SIRET संख्या प्रविष्ट करें"},step:{default:"%s के एक गुणज मूल्यांक प्रविष्ट करें"},stringCase:{default:"कृपया केवल छोटे पात्रों का प्रविष्ट करें",upper:"कृपया केवल बड़े पात्रों का प्रविष्ट करें"},stringLength:{between:"कृपया %s से %s के बीच लंबाई का एक मूल्यांक प्रविष्ट करें",default:"कृपया वैध लंबाई का एक मूल्यांक प्रविष्ट करें",less:"कृपया %s से कम पात्रों को प्रविष्ट करें",more:"कृपया %s से अधिक पात्रों को प्रविष्ट करें"},uri:{default:"कृपया एक वैध URI प्रविष्ट करें"},uuid:{default:"कृपया एक वैध UUID संख्या प्रविष्ट करें",version:"कृपया एक वैध UUID संस्करण %s संख्या प्रविष्ट करें"},vat:{countries:{AT:"ऑस्ट्रिया",BE:"बेल्जियम",BG:"बुल्गारिया",BR:"ब्राज़िल",CH:"स्विट्जरलैंड",CY:"साइप्रस",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",EE:"एस्तोनिया",EL:"ग्रीस",ES:"स्पेन",FI:"फिनलैंड",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",GR:"ग्रीस",HR:"क्रोएशिया",HU:"हंगरी",IE:"आयरलैंड",IS:"आइसलैंड",IT:"इटली",LT:"लिथुआनिया",LU:"लक्समबर्ग",LV:"लाटविया",MT:"माल्टा",NL:"नीदरलैंड",NO:"नॉर्वे",PL:"पोलैंड",PT:"पुर्तगाल",RO:"रोमानिया",RS:"सर्बिया",RU:"रुस",SE:"स्वीडन",SI:"स्लोवेनिया",SK:"स्लोवाकिया",VE:"वेनेजुएला",ZA:"दक्षिण अफ्रीका"},country:"कृपया एक वैध VAT संख्या %s मे प्रविष्ट करें",default:"कृपया एक वैध VAT संख्या प्रविष्ट करें"},vin:{default:"कृपया एक वैध VIN संख्या प्रविष्ट करें"},zipCode:{countries:{AT:"ऑस्ट्रिया",BG:"बुल्गारिया",BR:"ब्राज़िल",CA:"कनाडा",CH:"स्विट्जरलैंड",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",ES:"स्पेन",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",IE:"आयरलैंड",IN:"भारत",IT:"इटली",MA:"मोरक्को",NL:"नीदरलैंड",PL:"पोलैंड",PT:"पुर्तगाल",RO:"रोमानिया",RU:"रुस",SE:"स्वीडन",SG:"सिंगापुर",SK:"स्लोवाकिया",US:"अमेरीका"},country:"कृपया एक वैध डाक कोड %s मे प्रविष्ट करें",default:"कृपया एक वैध डाक कोड प्रविष्ट करें"}};return hi_IN})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/hu_HU.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/hu_HU.js new file mode 100644 index 0000000..b508b5f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/hu_HU.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.hu_HU = factory())); +})(this, (function () { 'use strict'; + + /** + * Hungarian language package + * Translated by @blackfyre + */ + + var hu_HU = { + base64: { + default: 'Kérlek, hogy érvényes base 64 karakter láncot adj meg', + }, + between: { + default: 'Kérlek, hogy %s és %s között adj meg értéket', + notInclusive: 'Kérlek, hogy %s és %s között adj meg értéket', + }, + bic: { + default: 'Kérlek, hogy érvényes BIC számot adj meg', + }, + callback: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + choice: { + between: 'Kérlek, hogy válassz %s - %s lehetőséget', + default: 'Kérlek, hogy érvényes értéket adj meg', + less: 'Kérlek, hogy legalább %s lehetőséget válassz ki', + more: 'Kérlek, hogy maximum %s lehetőséget válassz ki', + }, + color: { + default: 'Kérlek, hogy érvényes színt adj meg', + }, + creditCard: { + default: 'Kérlek, hogy érvényes bankkártya számot adj meg', + }, + cusip: { + default: 'Kérlek, hogy érvényes CUSIP számot adj meg', + }, + date: { + default: 'Kérlek, hogy érvényes dátumot adj meg', + max: 'Kérlek, hogy %s -nál korábbi dátumot adj meg', + min: 'Kérlek, hogy %s -nál későbbi dátumot adj meg', + range: 'Kérlek, hogy %s - %s között adj meg dátumot', + }, + different: { + default: 'Kérlek, hogy egy másik értéket adj meg', + }, + digits: { + default: 'Kérlek, hogy csak számot adj meg', + }, + ean: { + default: 'Kérlek, hogy érvényes EAN számot adj meg', + }, + ein: { + default: 'Kérlek, hogy érvényes EIN számot adj meg', + }, + emailAddress: { + default: 'Kérlek, hogy érvényes email címet adj meg', + }, + file: { + default: 'Kérlek, hogy érvényes fájlt válassz', + }, + greaterThan: { + default: 'Kérlek, hogy ezzel (%s) egyenlő vagy nagyobb számot adj meg', + notInclusive: 'Kérlek, hogy ennél (%s) nagyobb számot adj meg', + }, + grid: { + default: 'Kérlek, hogy érvényes GRId számot adj meg', + }, + hex: { + default: 'Kérlek, hogy érvényes hexadecimális számot adj meg', + }, + iban: { + countries: { + AD: 'az Andorrai Fejedelemségben' /* Special case */, + AE: 'az Egyesült Arab Emírségekben' /* Special case */, + AL: 'Albániában', + AO: 'Angolában', + AT: 'Ausztriában', + AZ: 'Azerbadjzsánban', + BA: 'Bosznia-Hercegovinában' /* Special case */, + BE: 'Belgiumban', + BF: 'Burkina Fasoban', + BG: 'Bulgáriában', + BH: 'Bahreinben', + BI: 'Burundiban', + BJ: 'Beninben', + BR: 'Brazíliában', + CH: 'Svájcban', + CI: 'az Elefántcsontparton' /* Special case */, + CM: 'Kamerunban', + CR: 'Costa Ricán' /* Special case */, + CV: 'Zöld-foki Köztársaságban', + CY: 'Cypruson', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + DO: 'Dominikán' /* Special case */, + DZ: 'Algériában', + EE: 'Észtországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + FO: 'a Feröer-szigeteken' /* Special case */, + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban' /* Special case */, + GE: 'Grúziában', + GI: 'Gibraltáron' /* Special case */, + GL: 'Grönlandon' /* Special case */, + GR: 'Görögországban', + GT: 'Guatemalában', + HR: 'Horvátországban', + HU: 'Magyarországon', + IE: 'Írországban' /* Special case */, + IL: 'Izraelben', + IR: 'Iránban' /* Special case */, + IS: 'Izlandon', + IT: 'Olaszországban', + JO: 'Jordániában', + KW: 'Kuvaitban' /* Special case */, + KZ: 'Kazahsztánban', + LB: 'Libanonban', + LI: 'Liechtensteinben', + LT: 'Litvániában', + LU: 'Luxemburgban', + LV: 'Lettországban', + MC: 'Monacóban' /* Special case */, + MD: 'Moldovában' /* Special case */, + ME: 'Montenegróban', + MG: 'Madagaszkáron', + MK: 'Macedóniában', + ML: 'Malin', + MR: 'Mauritániában', + MT: 'Máltán', + MU: 'Mauritiuson', + MZ: 'Mozambikban', + NL: 'Hollandiában', + NO: 'Norvégiában', + PK: 'Pakisztánban', + PL: 'Lengyelországban', + PS: 'Palesztinában', + PT: 'Portugáliában', + QA: 'Katarban' /* Special case */, + RO: 'Romániában', + RS: 'Szerbiában', + SA: 'Szaúd-Arábiában', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + SM: 'San Marinoban', + SN: 'Szenegálban' /* Special case */, + TL: 'Kelet-Timor', + TN: 'Tunéziában' /* Special case */, + TR: 'Törökországban', + VG: 'Britt Virgin szigeteken' /* Special case */, + XK: 'Koszovói Köztársaság', + }, + country: 'Kérlek, hogy %s érvényes IBAN számot adj meg', + default: 'Kérlek, hogy érvényes IBAN számot adj meg', + }, + id: { + countries: { + BA: 'Bosznia-Hercegovinában', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CH: 'Svájcban', + CL: 'Chilében', + CN: 'Kínában', + CZ: 'Csehországban', + DK: 'Dániában', + EE: 'Észtországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + HR: 'Horvátországban', + IE: 'Írországban', + IS: 'Izlandon', + LT: 'Litvániában', + LV: 'Lettországban', + ME: 'Montenegróban', + MK: 'Macedóniában', + NL: 'Hollandiában', + PL: 'Lengyelországban', + RO: 'Romániában', + RS: 'Szerbiában', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + SM: 'San Marinoban', + TH: 'Thaiföldön', + TR: 'Törökországban', + ZA: 'Dél-Afrikában', + }, + country: 'Kérlek, hogy %s érvényes személy azonosító számot adj meg', + default: 'Kérlek, hogy érvényes személy azonosító számot adj meg', + }, + identical: { + default: 'Kérlek, hogy ugyan azt az értéket add meg', + }, + imei: { + default: 'Kérlek, hogy érvényes IMEI számot adj meg', + }, + imo: { + default: 'Kérlek, hogy érvényes IMO számot adj meg', + }, + integer: { + default: 'Kérlek, hogy számot adj meg', + }, + ip: { + default: 'Kérlek, hogy IP címet adj meg', + ipv4: 'Kérlek, hogy érvényes IPv4 címet adj meg', + ipv6: 'Kérlek, hogy érvényes IPv6 címet adj meg', + }, + isbn: { + default: 'Kérlek, hogy érvényes ISBN számot adj meg', + }, + isin: { + default: 'Kérlek, hogy érvényes ISIN számot adj meg', + }, + ismn: { + default: 'Kérlek, hogy érvényes ISMN számot adj meg', + }, + issn: { + default: 'Kérlek, hogy érvényes ISSN számot adj meg', + }, + lessThan: { + default: 'Kérlek, hogy adj meg egy számot ami kisebb vagy egyenlő mint %s', + notInclusive: 'Kérlek, hogy adj meg egy számot ami kisebb mint %s', + }, + mac: { + default: 'Kérlek, hogy érvényes MAC címet adj meg', + }, + meid: { + default: 'Kérlek, hogy érvényes MEID számot adj meg', + }, + notEmpty: { + default: 'Kérlek, hogy adj értéket a mezőnek', + }, + numeric: { + default: 'Please enter a valid float number', + }, + phone: { + countries: { + AE: 'az Egyesült Arab Emírségekben' /* Special case */, + BG: 'Bulgáriában', + BR: 'Brazíliában', + CN: 'Kínában', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + ES: 'Spanyolországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + IN: 'India', + MA: 'Marokkóban', + NL: 'Hollandiában', + PK: 'Pakisztánban', + RO: 'Romániában', + RU: 'Oroszországban', + SK: 'Szlovákiában', + TH: 'Thaiföldön', + US: 'az Egyesült Államokban', + VE: 'Venezuelában' /* Sepcial case */, + }, + country: 'Kérlek, hogy %s érvényes telefonszámot adj meg', + default: 'Kérlek, hogy érvényes telefonszámot adj meg', + }, + promise: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + regexp: { + default: 'Kérlek, hogy a mintának megfelelő értéket adj meg', + }, + remote: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + rtn: { + default: 'Kérlek, hogy érvényes RTN számot adj meg', + }, + sedol: { + default: 'Kérlek, hogy érvényes SEDOL számot adj meg', + }, + siren: { + default: 'Kérlek, hogy érvényes SIREN számot adj meg', + }, + siret: { + default: 'Kérlek, hogy érvényes SIRET számot adj meg', + }, + step: { + default: 'Kérlek, hogy érvényes lépteket adj meg (%s)', + }, + stringCase: { + default: 'Kérlek, hogy csak kisbetüket adj meg', + upper: 'Kérlek, hogy csak nagy betüket adj meg', + }, + stringLength: { + between: 'Kérlek, hogy legalább %s, de maximum %s karaktert adj meg', + default: 'Kérlek, hogy érvényes karakter hosszúsággal adj meg értéket', + less: 'Kérlek, hogy kevesebb mint %s karaktert adj meg', + more: 'Kérlek, hogy több mint %s karaktert adj meg', + }, + uri: { + default: 'Kérlek, hogy helyes URI -t adj meg', + }, + uuid: { + default: 'Kérlek, hogy érvényes UUID számot adj meg', + version: 'Kérlek, hogy érvényes UUID verzió %s számot adj meg', + }, + vat: { + countries: { + AT: 'Ausztriában', + BE: 'Belgiumban', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CH: 'Svájcban', + CY: 'Cipruson', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + EE: 'Észtországban', + EL: 'Görögországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + GR: 'Görögországban', + HR: 'Horvátországban', + HU: 'Magyarországon', + IE: 'Írországban', + IS: 'Izlandon', + IT: 'Olaszországban', + LT: 'Litvániában', + LU: 'Luxemburgban', + LV: 'Lettországban', + MT: 'Máltán', + NL: 'Hollandiában', + NO: 'Norvégiában', + PL: 'Lengyelországban', + PT: 'Portugáliában', + RO: 'Romániában', + RS: 'Szerbiában', + RU: 'Oroszországban', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + VE: 'Venezuelában', + ZA: 'Dél-Afrikában', + }, + country: 'Kérlek, hogy %s helyes adószámot adj meg', + default: 'Kérlek, hogy helyes adó számot adj meg', + }, + vin: { + default: 'Kérlek, hogy érvényes VIN számot adj meg', + }, + zipCode: { + countries: { + AT: 'Ausztriában', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CA: 'Kanadában', + CH: 'Svájcban', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + ES: 'Spanyolországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + IE: 'Írországban', + IN: 'India', + IT: 'Olaszországban', + MA: 'Marokkóban', + NL: 'Hollandiában', + PL: 'Lengyelországban', + PT: 'Portugáliában', + RO: 'Romániában', + RU: 'Oroszországban', + SE: 'Svájcban', + SG: 'Szingapúrban', + SK: 'Szlovákiában', + US: 'Egyesült Államok beli', + }, + country: 'Kérlek, hogy %s érvényes irányítószámot adj meg', + default: 'Kérlek, hogy érvényes irányítószámot adj meg', + }, + }; + + return hu_HU; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/hu_HU.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/hu_HU.min.js new file mode 100644 index 0000000..f0eb5a2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/hu_HU.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.hu_HU=factory())})(this,(function(){"use strict";var hu_HU={base64:{default:"Kérlek, hogy érvényes base 64 karakter láncot adj meg"},between:{default:"Kérlek, hogy %s és %s között adj meg értéket",notInclusive:"Kérlek, hogy %s és %s között adj meg értéket"},bic:{default:"Kérlek, hogy érvényes BIC számot adj meg"},callback:{default:"Kérlek, hogy érvényes értéket adj meg"},choice:{between:"Kérlek, hogy válassz %s - %s lehetőséget",default:"Kérlek, hogy érvényes értéket adj meg",less:"Kérlek, hogy legalább %s lehetőséget válassz ki",more:"Kérlek, hogy maximum %s lehetőséget válassz ki"},color:{default:"Kérlek, hogy érvényes színt adj meg"},creditCard:{default:"Kérlek, hogy érvényes bankkártya számot adj meg"},cusip:{default:"Kérlek, hogy érvényes CUSIP számot adj meg"},date:{default:"Kérlek, hogy érvényes dátumot adj meg",max:"Kérlek, hogy %s -nál korábbi dátumot adj meg",min:"Kérlek, hogy %s -nál későbbi dátumot adj meg",range:"Kérlek, hogy %s - %s között adj meg dátumot"},different:{default:"Kérlek, hogy egy másik értéket adj meg"},digits:{default:"Kérlek, hogy csak számot adj meg"},ean:{default:"Kérlek, hogy érvényes EAN számot adj meg"},ein:{default:"Kérlek, hogy érvényes EIN számot adj meg"},emailAddress:{default:"Kérlek, hogy érvényes email címet adj meg"},file:{default:"Kérlek, hogy érvényes fájlt válassz"},greaterThan:{default:"Kérlek, hogy ezzel (%s) egyenlő vagy nagyobb számot adj meg",notInclusive:"Kérlek, hogy ennél (%s) nagyobb számot adj meg"},grid:{default:"Kérlek, hogy érvényes GRId számot adj meg"},hex:{default:"Kérlek, hogy érvényes hexadecimális számot adj meg"},iban:{countries:{AD:"az Andorrai Fejedelemségben",AE:"az Egyesült Arab Emírségekben",AL:"Albániában",AO:"Angolában",AT:"Ausztriában",AZ:"Azerbadjzsánban",BA:"Bosznia-Hercegovinában",BE:"Belgiumban",BF:"Burkina Fasoban",BG:"Bulgáriában",BH:"Bahreinben",BI:"Burundiban",BJ:"Beninben",BR:"Brazíliában",CH:"Svájcban",CI:"az Elefántcsontparton",CM:"Kamerunban",CR:"Costa Ricán",CV:"Zöld-foki Köztársaságban",CY:"Cypruson",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",DO:"Dominikán",DZ:"Algériában",EE:"Észtországban",ES:"Spanyolországban",FI:"Finnországban",FO:"a Feröer-szigeteken",FR:"Franciaországban",GB:"az Egyesült Királyságban",GE:"Grúziában",GI:"Gibraltáron",GL:"Grönlandon",GR:"Görögországban",GT:"Guatemalában",HR:"Horvátországban",HU:"Magyarországon",IE:"Írországban",IL:"Izraelben",IR:"Iránban",IS:"Izlandon",IT:"Olaszországban",JO:"Jordániában",KW:"Kuvaitban",KZ:"Kazahsztánban",LB:"Libanonban",LI:"Liechtensteinben",LT:"Litvániában",LU:"Luxemburgban",LV:"Lettországban",MC:"Monacóban",MD:"Moldovában",ME:"Montenegróban",MG:"Madagaszkáron",MK:"Macedóniában",ML:"Malin",MR:"Mauritániában",MT:"Máltán",MU:"Mauritiuson",MZ:"Mozambikban",NL:"Hollandiában",NO:"Norvégiában",PK:"Pakisztánban",PL:"Lengyelországban",PS:"Palesztinában",PT:"Portugáliában",QA:"Katarban",RO:"Romániában",RS:"Szerbiában",SA:"Szaúd-Arábiában",SE:"Svédországban",SI:"Szlovéniában",SK:"Szlovákiában",SM:"San Marinoban",SN:"Szenegálban",TL:"Kelet-Timor",TN:"Tunéziában",TR:"Törökországban",VG:"Britt Virgin szigeteken",XK:"Koszovói Köztársaság"},country:"Kérlek, hogy %s érvényes IBAN számot adj meg",default:"Kérlek, hogy érvényes IBAN számot adj meg"},id:{countries:{BA:"Bosznia-Hercegovinában",BG:"Bulgáriában",BR:"Brazíliában",CH:"Svájcban",CL:"Chilében",CN:"Kínában",CZ:"Csehországban",DK:"Dániában",EE:"Észtországban",ES:"Spanyolországban",FI:"Finnországban",HR:"Horvátországban",IE:"Írországban",IS:"Izlandon",LT:"Litvániában",LV:"Lettországban",ME:"Montenegróban",MK:"Macedóniában",NL:"Hollandiában",PL:"Lengyelországban",RO:"Romániában",RS:"Szerbiában",SE:"Svédországban",SI:"Szlovéniában",SK:"Szlovákiában",SM:"San Marinoban",TH:"Thaiföldön",TR:"Törökországban",ZA:"Dél-Afrikában"},country:"Kérlek, hogy %s érvényes személy azonosító számot adj meg",default:"Kérlek, hogy érvényes személy azonosító számot adj meg"},identical:{default:"Kérlek, hogy ugyan azt az értéket add meg"},imei:{default:"Kérlek, hogy érvényes IMEI számot adj meg"},imo:{default:"Kérlek, hogy érvényes IMO számot adj meg"},integer:{default:"Kérlek, hogy számot adj meg"},ip:{default:"Kérlek, hogy IP címet adj meg",ipv4:"Kérlek, hogy érvényes IPv4 címet adj meg",ipv6:"Kérlek, hogy érvényes IPv6 címet adj meg"},isbn:{default:"Kérlek, hogy érvényes ISBN számot adj meg"},isin:{default:"Kérlek, hogy érvényes ISIN számot adj meg"},ismn:{default:"Kérlek, hogy érvényes ISMN számot adj meg"},issn:{default:"Kérlek, hogy érvényes ISSN számot adj meg"},lessThan:{default:"Kérlek, hogy adj meg egy számot ami kisebb vagy egyenlő mint %s",notInclusive:"Kérlek, hogy adj meg egy számot ami kisebb mint %s"},mac:{default:"Kérlek, hogy érvényes MAC címet adj meg"},meid:{default:"Kérlek, hogy érvényes MEID számot adj meg"},notEmpty:{default:"Kérlek, hogy adj értéket a mezőnek"},numeric:{default:"Please enter a valid float number"},phone:{countries:{AE:"az Egyesült Arab Emírségekben",BG:"Bulgáriában",BR:"Brazíliában",CN:"Kínában",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",ES:"Spanyolországban",FR:"Franciaországban",GB:"az Egyesült Királyságban",IN:"India",MA:"Marokkóban",NL:"Hollandiában",PK:"Pakisztánban",RO:"Romániában",RU:"Oroszországban",SK:"Szlovákiában",TH:"Thaiföldön",US:"az Egyesült Államokban",VE:"Venezuelában"},country:"Kérlek, hogy %s érvényes telefonszámot adj meg",default:"Kérlek, hogy érvényes telefonszámot adj meg"},promise:{default:"Kérlek, hogy érvényes értéket adj meg"},regexp:{default:"Kérlek, hogy a mintának megfelelő értéket adj meg"},remote:{default:"Kérlek, hogy érvényes értéket adj meg"},rtn:{default:"Kérlek, hogy érvényes RTN számot adj meg"},sedol:{default:"Kérlek, hogy érvényes SEDOL számot adj meg"},siren:{default:"Kérlek, hogy érvényes SIREN számot adj meg"},siret:{default:"Kérlek, hogy érvényes SIRET számot adj meg"},step:{default:"Kérlek, hogy érvényes lépteket adj meg (%s)"},stringCase:{default:"Kérlek, hogy csak kisbetüket adj meg",upper:"Kérlek, hogy csak nagy betüket adj meg"},stringLength:{between:"Kérlek, hogy legalább %s, de maximum %s karaktert adj meg",default:"Kérlek, hogy érvényes karakter hosszúsággal adj meg értéket",less:"Kérlek, hogy kevesebb mint %s karaktert adj meg",more:"Kérlek, hogy több mint %s karaktert adj meg"},uri:{default:"Kérlek, hogy helyes URI -t adj meg"},uuid:{default:"Kérlek, hogy érvényes UUID számot adj meg",version:"Kérlek, hogy érvényes UUID verzió %s számot adj meg"},vat:{countries:{AT:"Ausztriában",BE:"Belgiumban",BG:"Bulgáriában",BR:"Brazíliában",CH:"Svájcban",CY:"Cipruson",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",EE:"Észtországban",EL:"Görögországban",ES:"Spanyolországban",FI:"Finnországban",FR:"Franciaországban",GB:"az Egyesült Királyságban",GR:"Görögországban",HR:"Horvátországban",HU:"Magyarországon",IE:"Írországban",IS:"Izlandon",IT:"Olaszországban",LT:"Litvániában",LU:"Luxemburgban",LV:"Lettországban",MT:"Máltán",NL:"Hollandiában",NO:"Norvégiában",PL:"Lengyelországban",PT:"Portugáliában",RO:"Romániában",RS:"Szerbiában",RU:"Oroszországban",SE:"Svédországban",SI:"Szlovéniában",SK:"Szlovákiában",VE:"Venezuelában",ZA:"Dél-Afrikában"},country:"Kérlek, hogy %s helyes adószámot adj meg",default:"Kérlek, hogy helyes adó számot adj meg"},vin:{default:"Kérlek, hogy érvényes VIN számot adj meg"},zipCode:{countries:{AT:"Ausztriában",BG:"Bulgáriában",BR:"Brazíliában",CA:"Kanadában",CH:"Svájcban",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",ES:"Spanyolországban",FR:"Franciaországban",GB:"az Egyesült Királyságban",IE:"Írországban",IN:"India",IT:"Olaszországban",MA:"Marokkóban",NL:"Hollandiában",PL:"Lengyelországban",PT:"Portugáliában",RO:"Romániában",RU:"Oroszországban",SE:"Svájcban",SG:"Szingapúrban",SK:"Szlovákiában",US:"Egyesült Államok beli"},country:"Kérlek, hogy %s érvényes irányítószámot adj meg",default:"Kérlek, hogy érvényes irányítószámot adj meg"}};return hu_HU})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/id_ID.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/id_ID.js new file mode 100644 index 0000000..f905ef4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/id_ID.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.id_ID = factory())); +})(this, (function () { 'use strict'; + + /** + * Indonesian language package + * Translated by @egig + */ + + var id_ID = { + base64: { + default: 'Silahkan isi karakter base 64 tersandi yang valid', + }, + between: { + default: 'Silahkan isi nilai antara %s dan %s', + notInclusive: 'Silahkan isi nilai antara %s dan %s, strictly', + }, + bic: { + default: 'Silahkan isi nomor BIC yang valid', + }, + callback: { + default: 'Silahkan isi nilai yang valid', + }, + choice: { + between: 'Silahkan pilih pilihan %s - %s', + default: 'Silahkan isi nilai yang valid', + less: 'Silahkan pilih pilihan %s pada minimum', + more: 'Silahkan pilih pilihan %s pada maksimum', + }, + color: { + default: 'Silahkan isi karakter warna yang valid', + }, + creditCard: { + default: 'Silahkan isi nomor kartu kredit yang valid', + }, + cusip: { + default: 'Silahkan isi nomor CUSIP yang valid', + }, + date: { + default: 'Silahkan isi tanggal yang benar', + max: 'Silahkan isi tanggal sebelum tanggal %s', + min: 'Silahkan isi tanggal setelah tanggal %s', + range: 'Silahkan isi tanggal antara %s - %s', + }, + different: { + default: 'Silahkan isi nilai yang berbeda', + }, + digits: { + default: 'Silahkan isi dengan hanya digit', + }, + ean: { + default: 'Silahkan isi nomor EAN yang valid', + }, + ein: { + default: 'Silahkan isi nomor EIN yang valid', + }, + emailAddress: { + default: 'Silahkan isi alamat email yang valid', + }, + file: { + default: 'Silahkan pilih file yang valid', + }, + greaterThan: { + default: 'Silahkan isi nilai yang lebih besar atau sama dengan %s', + notInclusive: 'Silahkan is nilai yang lebih besar dari %s', + }, + grid: { + default: 'Silahkan nomor GRId yang valid', + }, + hex: { + default: 'Silahkan isi karakter hexadecimal yang valid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Uni Emirat Arab', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia and Herzegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Switzerland', + CI: 'Pantai Gading', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + DO: 'Republik Dominika', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spanyol', + FI: 'Finlandia', + FO: 'Faroe Islands', + FR: 'Francis', + GB: 'Inggris', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Yunani', + GT: 'Guatemala', + HR: 'Kroasia', + HU: 'Hungary', + IE: 'Irlandia', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Netherlands', + NO: 'Norway', + PK: 'Pakistan', + PL: 'Polandia', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Swedia', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Leste', + TN: 'Tunisia', + TR: 'Turki', + VG: 'Virgin Islands, British', + XK: 'Kosovo', + }, + country: 'Silahkan isi nomor IBAN yang valid dalam %s', + default: 'silahkan isi nomor IBAN yang valid', + }, + id: { + countries: { + BA: 'Bosnia and Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CL: 'Chile', + CN: 'Cina', + CZ: 'Czech', + DK: 'Denmark', + EE: 'Estonia', + ES: 'Spanyol', + FI: 'Finlandia', + HR: 'Kroasia', + IE: 'Irlandia', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Netherlands', + PL: 'Polandia', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turki', + ZA: 'Africa Selatan', + }, + country: 'Silahkan isi nomor identitas yang valid dalam %s', + default: 'Silahkan isi nomor identitas yang valid', + }, + identical: { + default: 'Silahkan isi nilai yang sama', + }, + imei: { + default: 'Silahkan isi nomor IMEI yang valid', + }, + imo: { + default: 'Silahkan isi nomor IMO yang valid', + }, + integer: { + default: 'Silahkan isi angka yang valid', + }, + ip: { + default: 'Silahkan isi alamat IP yang valid', + ipv4: 'Silahkan isi alamat IPv4 yang valid', + ipv6: 'Silahkan isi alamat IPv6 yang valid', + }, + isbn: { + default: 'Slilahkan isi nomor ISBN yang valid', + }, + isin: { + default: 'Silahkan isi ISIN yang valid', + }, + ismn: { + default: 'Silahkan isi nomor ISMN yang valid', + }, + issn: { + default: 'Silahkan isi nomor ISSN yang valid', + }, + lessThan: { + default: 'Silahkan isi nilai kurang dari atau sama dengan %s', + notInclusive: 'Silahkan isi nilai kurang dari %s', + }, + mac: { + default: 'Silahkan isi MAC address yang valid', + }, + meid: { + default: 'Silahkan isi nomor MEID yang valid', + }, + notEmpty: { + default: 'Silahkan isi', + }, + numeric: { + default: 'Silahkan isi nomor yang valid', + }, + phone: { + countries: { + AE: 'Uni Emirat Arab', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'Cina', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + ES: 'Spanyol', + FR: 'Francis', + GB: 'Inggris', + IN: 'India', + MA: 'Maroko', + NL: 'Netherlands', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovakia', + TH: 'Thailand', + US: 'Amerika Serikat', + VE: 'Venezuela', + }, + country: 'Silahkan isi nomor telepon yang valid dalam %s', + default: 'Silahkan isi nomor telepon yang valid', + }, + promise: { + default: 'Silahkan isi nilai yang valid', + }, + regexp: { + default: 'Silahkan isi nilai yang cocok dengan pola', + }, + remote: { + default: 'Silahkan isi nilai yang valid', + }, + rtn: { + default: 'Silahkan isi nomor RTN yang valid', + }, + sedol: { + default: 'Silahkan isi nomor SEDOL yang valid', + }, + siren: { + default: 'Silahkan isi nomor SIREN yang valid', + }, + siret: { + default: 'Silahkan isi nomor SIRET yang valid', + }, + step: { + default: 'Silahkan isi langkah yang benar pada %s', + }, + stringCase: { + default: 'Silahkan isi hanya huruf kecil', + upper: 'Silahkan isi hanya huruf besar', + }, + stringLength: { + between: 'Silahkan isi antara %s dan %s panjang karakter', + default: 'Silahkan isi nilai dengan panjang karakter yang benar', + less: 'Silahkan isi kurang dari %s karakter', + more: 'Silahkan isi lebih dari %s karakter', + }, + uri: { + default: 'Silahkan isi URI yang valid', + }, + uuid: { + default: 'Silahkan isi nomor UUID yang valid', + version: 'Silahkan si nomor versi %s UUID yang valid', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgium', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CY: 'Cyprus', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + EE: 'Estonia', + EL: 'Yunani', + ES: 'Spanyol', + FI: 'Finlandia', + FR: 'Francis', + GB: 'Inggris', + GR: 'Yunani', + HR: 'Kroasia', + HU: 'Hungaria', + IE: 'Irlandia', + IS: 'Iceland', + IT: 'Italy', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Belanda', + NO: 'Norway', + PL: 'Polandia', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Afrika Selatan', + }, + country: 'Silahkan nomor VAT yang valid dalam %s', + default: 'Silahkan isi nomor VAT yang valid', + }, + vin: { + default: 'Silahkan isi nomor VIN yang valid', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Kanada', + CH: 'Switzerland', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + ES: 'Spanyol', + FR: 'Francis', + GB: 'Inggris', + IE: 'Irlandia', + IN: 'India', + IT: 'Italia', + MA: 'Maroko', + NL: 'Belanda', + PL: 'Polandia', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russia', + SE: 'Sweden', + SG: 'Singapura', + SK: 'Slovakia', + US: 'Amerika Serikat', + }, + country: 'Silahkan isi kode pos yang valid di %s', + default: 'Silahkan isi kode pos yang valid', + }, + }; + + return id_ID; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/id_ID.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/id_ID.min.js new file mode 100644 index 0000000..4038380 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/id_ID.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.id_ID=factory())})(this,(function(){"use strict";var id_ID={base64:{default:"Silahkan isi karakter base 64 tersandi yang valid"},between:{default:"Silahkan isi nilai antara %s dan %s",notInclusive:"Silahkan isi nilai antara %s dan %s, strictly"},bic:{default:"Silahkan isi nomor BIC yang valid"},callback:{default:"Silahkan isi nilai yang valid"},choice:{between:"Silahkan pilih pilihan %s - %s",default:"Silahkan isi nilai yang valid",less:"Silahkan pilih pilihan %s pada minimum",more:"Silahkan pilih pilihan %s pada maksimum"},color:{default:"Silahkan isi karakter warna yang valid"},creditCard:{default:"Silahkan isi nomor kartu kredit yang valid"},cusip:{default:"Silahkan isi nomor CUSIP yang valid"},date:{default:"Silahkan isi tanggal yang benar",max:"Silahkan isi tanggal sebelum tanggal %s",min:"Silahkan isi tanggal setelah tanggal %s",range:"Silahkan isi tanggal antara %s - %s"},different:{default:"Silahkan isi nilai yang berbeda"},digits:{default:"Silahkan isi dengan hanya digit"},ean:{default:"Silahkan isi nomor EAN yang valid"},ein:{default:"Silahkan isi nomor EIN yang valid"},emailAddress:{default:"Silahkan isi alamat email yang valid"},file:{default:"Silahkan pilih file yang valid"},greaterThan:{default:"Silahkan isi nilai yang lebih besar atau sama dengan %s",notInclusive:"Silahkan is nilai yang lebih besar dari %s"},grid:{default:"Silahkan nomor GRId yang valid"},hex:{default:"Silahkan isi karakter hexadecimal yang valid"},iban:{countries:{AD:"Andorra",AE:"Uni Emirat Arab",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Switzerland",CI:"Pantai Gading",CM:"Kamerun",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech",DE:"Jerman",DK:"Denmark",DO:"Republik Dominika",DZ:"Algeria",EE:"Estonia",ES:"Spanyol",FI:"Finlandia",FO:"Faroe Islands",FR:"Francis",GB:"Inggris",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Yunani",GT:"Guatemala",HR:"Kroasia",HU:"Hungary",IE:"Irlandia",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Italia",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Netherlands",NO:"Norway",PK:"Pakistan",PL:"Polandia",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Swedia",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"Timor Leste",TN:"Tunisia",TR:"Turki",VG:"Virgin Islands, British",XK:"Kosovo"},country:"Silahkan isi nomor IBAN yang valid dalam %s",default:"silahkan isi nomor IBAN yang valid"},id:{countries:{BA:"Bosnia and Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CL:"Chile",CN:"Cina",CZ:"Czech",DK:"Denmark",EE:"Estonia",ES:"Spanyol",FI:"Finlandia",HR:"Kroasia",IE:"Irlandia",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Netherlands",PL:"Polandia",RO:"Romania",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",TR:"Turki",ZA:"Africa Selatan"},country:"Silahkan isi nomor identitas yang valid dalam %s",default:"Silahkan isi nomor identitas yang valid"},identical:{default:"Silahkan isi nilai yang sama"},imei:{default:"Silahkan isi nomor IMEI yang valid"},imo:{default:"Silahkan isi nomor IMO yang valid"},integer:{default:"Silahkan isi angka yang valid"},ip:{default:"Silahkan isi alamat IP yang valid",ipv4:"Silahkan isi alamat IPv4 yang valid",ipv6:"Silahkan isi alamat IPv6 yang valid"},isbn:{default:"Slilahkan isi nomor ISBN yang valid"},isin:{default:"Silahkan isi ISIN yang valid"},ismn:{default:"Silahkan isi nomor ISMN yang valid"},issn:{default:"Silahkan isi nomor ISSN yang valid"},lessThan:{default:"Silahkan isi nilai kurang dari atau sama dengan %s",notInclusive:"Silahkan isi nilai kurang dari %s"},mac:{default:"Silahkan isi MAC address yang valid"},meid:{default:"Silahkan isi nomor MEID yang valid"},notEmpty:{default:"Silahkan isi"},numeric:{default:"Silahkan isi nomor yang valid"},phone:{countries:{AE:"Uni Emirat Arab",BG:"Bulgaria",BR:"Brazil",CN:"Cina",CZ:"Czech",DE:"Jerman",DK:"Denmark",ES:"Spanyol",FR:"Francis",GB:"Inggris",IN:"India",MA:"Maroko",NL:"Netherlands",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovakia",TH:"Thailand",US:"Amerika Serikat",VE:"Venezuela"},country:"Silahkan isi nomor telepon yang valid dalam %s",default:"Silahkan isi nomor telepon yang valid"},promise:{default:"Silahkan isi nilai yang valid"},regexp:{default:"Silahkan isi nilai yang cocok dengan pola"},remote:{default:"Silahkan isi nilai yang valid"},rtn:{default:"Silahkan isi nomor RTN yang valid"},sedol:{default:"Silahkan isi nomor SEDOL yang valid"},siren:{default:"Silahkan isi nomor SIREN yang valid"},siret:{default:"Silahkan isi nomor SIRET yang valid"},step:{default:"Silahkan isi langkah yang benar pada %s"},stringCase:{default:"Silahkan isi hanya huruf kecil",upper:"Silahkan isi hanya huruf besar"},stringLength:{between:"Silahkan isi antara %s dan %s panjang karakter",default:"Silahkan isi nilai dengan panjang karakter yang benar",less:"Silahkan isi kurang dari %s karakter",more:"Silahkan isi lebih dari %s karakter"},uri:{default:"Silahkan isi URI yang valid"},uuid:{default:"Silahkan isi nomor UUID yang valid",version:"Silahkan si nomor versi %s UUID yang valid"},vat:{countries:{AT:"Austria",BE:"Belgium",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CY:"Cyprus",CZ:"Czech",DE:"Jerman",DK:"Denmark",EE:"Estonia",EL:"Yunani",ES:"Spanyol",FI:"Finlandia",FR:"Francis",GB:"Inggris",GR:"Yunani",HR:"Kroasia",HU:"Hungaria",IE:"Irlandia",IS:"Iceland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Belanda",NO:"Norway",PL:"Polandia",PT:"Portugal",RO:"Romania",RS:"Serbia",RU:"Russia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Afrika Selatan"},country:"Silahkan nomor VAT yang valid dalam %s",default:"Silahkan isi nomor VAT yang valid"},vin:{default:"Silahkan isi nomor VIN yang valid"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brazil",CA:"Kanada",CH:"Switzerland",CZ:"Czech",DE:"Jerman",DK:"Denmark",ES:"Spanyol",FR:"Francis",GB:"Inggris",IE:"Irlandia",IN:"India",IT:"Italia",MA:"Maroko",NL:"Belanda",PL:"Polandia",PT:"Portugal",RO:"Romania",RU:"Russia",SE:"Sweden",SG:"Singapura",SK:"Slovakia",US:"Amerika Serikat"},country:"Silahkan isi kode pos yang valid di %s",default:"Silahkan isi kode pos yang valid"}};return id_ID})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/it_IT.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/it_IT.js new file mode 100644 index 0000000..14586b0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/it_IT.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.it_IT = factory())); +})(this, (function () { 'use strict'; + + /** + * Italian language package + * Translated by @maramazza + */ + + var it_IT = { + base64: { + default: 'Si prega di inserire un valore codificato in Base 64', + }, + between: { + default: 'Si prega di inserire un valore tra %s e %s', + notInclusive: 'Si prega di scegliere rigorosamente un valore tra %s e %s', + }, + bic: { + default: 'Si prega di inserire un numero BIC valido', + }, + callback: { + default: 'Si prega di inserire un valore valido', + }, + choice: { + between: "Si prega di scegliere l'opzione tra %s e %s", + default: 'Si prega di inserire un valore valido', + less: "Si prega di scegliere come minimo l'opzione %s", + more: "Si prega di scegliere al massimo l'opzione %s", + }, + color: { + default: 'Si prega di inserire un colore valido', + }, + creditCard: { + default: 'Si prega di inserire un numero di carta di credito valido', + }, + cusip: { + default: 'Si prega di inserire un numero CUSIP valido', + }, + date: { + default: 'Si prega di inserire una data valida', + max: 'Si prega di inserire una data antecedente il %s', + min: 'Si prega di inserire una data successiva al %s', + range: 'Si prega di inserire una data compresa tra %s - %s', + }, + different: { + default: 'Si prega di inserire un valore differente', + }, + digits: { + default: 'Si prega di inserire solo numeri', + }, + ean: { + default: 'Si prega di inserire un numero EAN valido', + }, + ein: { + default: 'Si prega di inserire un numero EIN valido', + }, + emailAddress: { + default: 'Si prega di inserire un indirizzo email valido', + }, + file: { + default: 'Si prega di scegliere un file valido', + }, + greaterThan: { + default: 'Si prega di inserire un numero maggiore o uguale a %s', + notInclusive: 'Si prega di inserire un numero maggiore di %s', + }, + grid: { + default: 'Si prega di inserire un numero GRId valido', + }, + hex: { + default: 'Si prega di inserire un numero esadecimale valido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirati Arabi Uniti', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia-Erzegovina', + BE: 'Belgio', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasile', + CH: 'Svizzera', + CI: "Costa d'Avorio", + CM: 'Cameron', + CR: 'Costa Rica', + CV: 'Capo Verde', + CY: 'Cipro', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + DO: 'Repubblica Domenicana', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spagna', + FI: 'Finlandia', + FO: 'Isole Faroe', + FR: 'Francia', + GB: 'Regno Unito', + GE: 'Georgia', + GI: 'Gibilterra', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croazia', + HU: 'Ungheria', + IE: 'Irlanda', + IL: 'Israele', + IR: 'Iran', + IS: 'Islanda', + IT: 'Italia', + JO: 'Giordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Lussemburgo', + LV: 'Lettonia', + MC: 'Monaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambico', + NL: 'Olanda', + NO: 'Norvegia', + PK: 'Pachistan', + PL: 'Polonia', + PS: 'Palestina', + PT: 'Portogallo', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Est', + TN: 'Tunisia', + TR: 'Turchia', + VG: 'Isole Vergini, Inghilterra', + XK: 'Repubblica del Kosovo', + }, + country: 'Si prega di inserire un numero IBAN valido per %s', + default: 'Si prega di inserire un numero IBAN valido', + }, + id: { + countries: { + BA: 'Bosnia-Erzegovina', + BG: 'Bulgaria', + BR: 'Brasile', + CH: 'Svizzera', + CL: 'Chile', + CN: 'Cina', + CZ: 'Republica Ceca', + DK: 'Danimarca', + EE: 'Estonia', + ES: 'Spagna', + FI: 'Finlandia', + HR: 'Croazia', + IE: 'Irlanda', + IS: 'Islanda', + LT: 'Lituania', + LV: 'Lettonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Paesi Bassi', + PL: 'Polonia', + RO: 'Romania', + RS: 'Serbia', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + SM: 'San Marino', + TH: 'Thailandia', + TR: 'Turchia', + ZA: 'Sudafrica', + }, + country: 'Si prega di inserire un numero di identificazione valido per %s', + default: 'Si prega di inserire un numero di identificazione valido', + }, + identical: { + default: 'Si prega di inserire un valore identico', + }, + imei: { + default: 'Si prega di inserire un numero IMEI valido', + }, + imo: { + default: 'Si prega di inserire un numero IMO valido', + }, + integer: { + default: 'Si prega di inserire un numero valido', + }, + ip: { + default: 'Please enter a valid IP address', + ipv4: 'Si prega di inserire un indirizzo IPv4 valido', + ipv6: 'Si prega di inserire un indirizzo IPv6 valido', + }, + isbn: { + default: 'Si prega di inserire un numero ISBN valido', + }, + isin: { + default: 'Si prega di inserire un numero ISIN valido', + }, + ismn: { + default: 'Si prega di inserire un numero ISMN valido', + }, + issn: { + default: 'Si prega di inserire un numero ISSN valido', + }, + lessThan: { + default: 'Si prega di inserire un valore minore o uguale a %s', + notInclusive: 'Si prega di inserire un valore minore di %s', + }, + mac: { + default: 'Si prega di inserire un valido MAC address', + }, + meid: { + default: 'Si prega di inserire un numero MEID valido', + }, + notEmpty: { + default: 'Si prega di non lasciare il campo vuoto', + }, + numeric: { + default: 'Si prega di inserire un numero con decimali valido', + }, + phone: { + countries: { + AE: 'Emirati Arabi Uniti', + BG: 'Bulgaria', + BR: 'Brasile', + CN: 'Cina', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + ES: 'Spagna', + FR: 'Francia', + GB: 'Regno Unito', + IN: 'India', + MA: 'Marocco', + NL: 'Olanda', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovacchia', + TH: 'Thailandia', + US: "Stati Uniti d'America", + VE: 'Venezuelano', + }, + country: 'Si prega di inserire un numero di telefono valido per %s', + default: 'Si prega di inserire un numero di telefono valido', + }, + promise: { + default: 'Si prega di inserire un valore valido', + }, + regexp: { + default: 'Inserisci un valore che corrisponde al modello', + }, + remote: { + default: 'Si prega di inserire un valore valido', + }, + rtn: { + default: 'Si prega di inserire un numero RTN valido', + }, + sedol: { + default: 'Si prega di inserire un numero SEDOL valido', + }, + siren: { + default: 'Si prega di inserire un numero SIREN valido', + }, + siret: { + default: 'Si prega di inserire un numero SIRET valido', + }, + step: { + default: 'Si prega di inserire uno step valido di %s', + }, + stringCase: { + default: 'Si prega di inserire solo caratteri minuscoli', + upper: 'Si prega di inserire solo caratteri maiuscoli', + }, + stringLength: { + between: 'Si prega di inserire un numero di caratteri compreso tra %s e %s', + default: 'Si prega di inserire un valore con lunghezza valida', + less: 'Si prega di inserire meno di %s caratteri', + more: 'Si prega di inserire piu di %s caratteri', + }, + uri: { + default: 'Si prega di inserire un URI valido', + }, + uuid: { + default: 'Si prega di inserire un numero UUID valido', + version: 'Si prega di inserire un numero di versione UUID %s valido', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgio', + BG: 'Bulgaria', + BR: 'Brasiliano', + CH: 'Svizzera', + CY: 'Cipro', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'Spagna', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Regno Unito', + GR: 'Grecia', + HR: 'Croazia', + HU: 'Ungheria', + IE: 'Irlanda', + IS: 'Islanda', + IT: 'Italia', + LT: 'Lituania', + LU: 'Lussemburgo', + LV: 'Lettonia', + MT: 'Malta', + NL: 'Olanda', + NO: 'Norvegia', + PL: 'Polonia', + PT: 'Portogallo', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + VE: 'Venezuelano', + ZA: 'Sud Africano', + }, + country: 'Si prega di inserire un valore di IVA valido per %s', + default: 'Si prega di inserire un valore di IVA valido', + }, + vin: { + default: 'Si prega di inserire un numero VIN valido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasile', + CA: 'Canada', + CH: 'Svizzera', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + ES: 'Spagna', + FR: 'Francia', + GB: 'Regno Unito', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marocco', + NL: 'Paesi Bassi', + PL: 'Polonia', + PT: 'Portogallo', + RO: 'Romania', + RU: 'Russia', + SE: 'Svezia', + SG: 'Singapore', + SK: 'Slovacchia', + US: "Stati Uniti d'America", + }, + country: 'Si prega di inserire un codice postale valido per %s', + default: 'Si prega di inserire un codice postale valido', + }, + }; + + return it_IT; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/it_IT.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/it_IT.min.js new file mode 100644 index 0000000..8f0967a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/it_IT.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.it_IT=factory())})(this,(function(){"use strict";var it_IT={base64:{default:"Si prega di inserire un valore codificato in Base 64"},between:{default:"Si prega di inserire un valore tra %s e %s",notInclusive:"Si prega di scegliere rigorosamente un valore tra %s e %s"},bic:{default:"Si prega di inserire un numero BIC valido"},callback:{default:"Si prega di inserire un valore valido"},choice:{between:"Si prega di scegliere l'opzione tra %s e %s",default:"Si prega di inserire un valore valido",less:"Si prega di scegliere come minimo l'opzione %s",more:"Si prega di scegliere al massimo l'opzione %s"},color:{default:"Si prega di inserire un colore valido"},creditCard:{default:"Si prega di inserire un numero di carta di credito valido"},cusip:{default:"Si prega di inserire un numero CUSIP valido"},date:{default:"Si prega di inserire una data valida",max:"Si prega di inserire una data antecedente il %s",min:"Si prega di inserire una data successiva al %s",range:"Si prega di inserire una data compresa tra %s - %s"},different:{default:"Si prega di inserire un valore differente"},digits:{default:"Si prega di inserire solo numeri"},ean:{default:"Si prega di inserire un numero EAN valido"},ein:{default:"Si prega di inserire un numero EIN valido"},emailAddress:{default:"Si prega di inserire un indirizzo email valido"},file:{default:"Si prega di scegliere un file valido"},greaterThan:{default:"Si prega di inserire un numero maggiore o uguale a %s",notInclusive:"Si prega di inserire un numero maggiore di %s"},grid:{default:"Si prega di inserire un numero GRId valido"},hex:{default:"Si prega di inserire un numero esadecimale valido"},iban:{countries:{AD:"Andorra",AE:"Emirati Arabi Uniti",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia-Erzegovina",BE:"Belgio",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasile",CH:"Svizzera",CI:"Costa d'Avorio",CM:"Cameron",CR:"Costa Rica",CV:"Capo Verde",CY:"Cipro",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",DO:"Repubblica Domenicana",DZ:"Algeria",EE:"Estonia",ES:"Spagna",FI:"Finlandia",FO:"Isole Faroe",FR:"Francia",GB:"Regno Unito",GE:"Georgia",GI:"Gibilterra",GL:"Groenlandia",GR:"Grecia",GT:"Guatemala",HR:"Croazia",HU:"Ungheria",IE:"Irlanda",IL:"Israele",IR:"Iran",IS:"Islanda",IT:"Italia",JO:"Giordania",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libano",LI:"Liechtenstein",LT:"Lituania",LU:"Lussemburgo",LV:"Lettonia",MC:"Monaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambico",NL:"Olanda",NO:"Norvegia",PK:"Pachistan",PL:"Polonia",PS:"Palestina",PT:"Portogallo",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Arabia Saudita",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",SM:"San Marino",SN:"Senegal",TL:"Timor Est",TN:"Tunisia",TR:"Turchia",VG:"Isole Vergini, Inghilterra",XK:"Repubblica del Kosovo"},country:"Si prega di inserire un numero IBAN valido per %s",default:"Si prega di inserire un numero IBAN valido"},id:{countries:{BA:"Bosnia-Erzegovina",BG:"Bulgaria",BR:"Brasile",CH:"Svizzera",CL:"Chile",CN:"Cina",CZ:"Republica Ceca",DK:"Danimarca",EE:"Estonia",ES:"Spagna",FI:"Finlandia",HR:"Croazia",IE:"Irlanda",IS:"Islanda",LT:"Lituania",LV:"Lettonia",ME:"Montenegro",MK:"Macedonia",NL:"Paesi Bassi",PL:"Polonia",RO:"Romania",RS:"Serbia",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",SM:"San Marino",TH:"Thailandia",TR:"Turchia",ZA:"Sudafrica"},country:"Si prega di inserire un numero di identificazione valido per %s",default:"Si prega di inserire un numero di identificazione valido"},identical:{default:"Si prega di inserire un valore identico"},imei:{default:"Si prega di inserire un numero IMEI valido"},imo:{default:"Si prega di inserire un numero IMO valido"},integer:{default:"Si prega di inserire un numero valido"},ip:{default:"Please enter a valid IP address",ipv4:"Si prega di inserire un indirizzo IPv4 valido",ipv6:"Si prega di inserire un indirizzo IPv6 valido"},isbn:{default:"Si prega di inserire un numero ISBN valido"},isin:{default:"Si prega di inserire un numero ISIN valido"},ismn:{default:"Si prega di inserire un numero ISMN valido"},issn:{default:"Si prega di inserire un numero ISSN valido"},lessThan:{default:"Si prega di inserire un valore minore o uguale a %s",notInclusive:"Si prega di inserire un valore minore di %s"},mac:{default:"Si prega di inserire un valido MAC address"},meid:{default:"Si prega di inserire un numero MEID valido"},notEmpty:{default:"Si prega di non lasciare il campo vuoto"},numeric:{default:"Si prega di inserire un numero con decimali valido"},phone:{countries:{AE:"Emirati Arabi Uniti",BG:"Bulgaria",BR:"Brasile",CN:"Cina",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",ES:"Spagna",FR:"Francia",GB:"Regno Unito",IN:"India",MA:"Marocco",NL:"Olanda",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovacchia",TH:"Thailandia",US:"Stati Uniti d'America",VE:"Venezuelano"},country:"Si prega di inserire un numero di telefono valido per %s",default:"Si prega di inserire un numero di telefono valido"},promise:{default:"Si prega di inserire un valore valido"},regexp:{default:"Inserisci un valore che corrisponde al modello"},remote:{default:"Si prega di inserire un valore valido"},rtn:{default:"Si prega di inserire un numero RTN valido"},sedol:{default:"Si prega di inserire un numero SEDOL valido"},siren:{default:"Si prega di inserire un numero SIREN valido"},siret:{default:"Si prega di inserire un numero SIRET valido"},step:{default:"Si prega di inserire uno step valido di %s"},stringCase:{default:"Si prega di inserire solo caratteri minuscoli",upper:"Si prega di inserire solo caratteri maiuscoli"},stringLength:{between:"Si prega di inserire un numero di caratteri compreso tra %s e %s",default:"Si prega di inserire un valore con lunghezza valida",less:"Si prega di inserire meno di %s caratteri",more:"Si prega di inserire piu di %s caratteri"},uri:{default:"Si prega di inserire un URI valido"},uuid:{default:"Si prega di inserire un numero UUID valido",version:"Si prega di inserire un numero di versione UUID %s valido"},vat:{countries:{AT:"Austria",BE:"Belgio",BG:"Bulgaria",BR:"Brasiliano",CH:"Svizzera",CY:"Cipro",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",EE:"Estonia",EL:"Grecia",ES:"Spagna",FI:"Finlandia",FR:"Francia",GB:"Regno Unito",GR:"Grecia",HR:"Croazia",HU:"Ungheria",IE:"Irlanda",IS:"Islanda",IT:"Italia",LT:"Lituania",LU:"Lussemburgo",LV:"Lettonia",MT:"Malta",NL:"Olanda",NO:"Norvegia",PL:"Polonia",PT:"Portogallo",RO:"Romania",RS:"Serbia",RU:"Russia",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",VE:"Venezuelano",ZA:"Sud Africano"},country:"Si prega di inserire un valore di IVA valido per %s",default:"Si prega di inserire un valore di IVA valido"},vin:{default:"Si prega di inserire un numero VIN valido"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasile",CA:"Canada",CH:"Svizzera",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",ES:"Spagna",FR:"Francia",GB:"Regno Unito",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Marocco",NL:"Paesi Bassi",PL:"Polonia",PT:"Portogallo",RO:"Romania",RU:"Russia",SE:"Svezia",SG:"Singapore",SK:"Slovacchia",US:"Stati Uniti d'America"},country:"Si prega di inserire un codice postale valido per %s",default:"Si prega di inserire un codice postale valido"}};return it_IT})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ja_JP.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ja_JP.js new file mode 100644 index 0000000..a70b47f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ja_JP.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ja_JP = factory())); +})(this, (function () { 'use strict'; + + /** + * Japanese language package + * Translated by @tsuyoshifujii + */ + + var ja_JP = { + base64: { + default: '有効なBase64エンコードを入力してください', + }, + between: { + default: '%sから%sの間で入力してください', + notInclusive: '厳密に%sから%sの間で入力してください', + }, + bic: { + default: '有効なBICコードを入力してください', + }, + callback: { + default: '有効な値を入力してください', + }, + choice: { + between: '%s - %s で選択してください', + default: '有効な値を入力してください', + less: '最低でも%sを選択してください', + more: '最大でも%sを選択してください', + }, + color: { + default: '有効なカラーコードを入力してください', + }, + creditCard: { + default: '有効なクレジットカード番号を入力してください', + }, + cusip: { + default: '有効なCUSIP番号を入力してください', + }, + date: { + default: '有効な日付を入力してください', + max: '%s の前に有効な日付を入力してください', + min: '%s 後に有効な日付を入力してください', + range: '%s - %s の間に有効な日付を入力してください', + }, + different: { + default: '異なる値を入力してください', + }, + digits: { + default: '数字のみで入力してください', + }, + ean: { + default: '有効なEANコードを入力してください', + }, + ein: { + default: '有効なEINコードを入力してください', + }, + emailAddress: { + default: '有効なメールアドレスを入力してください', + }, + file: { + default: '有効なファイルを選択してください', + }, + greaterThan: { + default: '%sより大きい値を入力してください', + notInclusive: '%sより大きい値を入力してください', + }, + grid: { + default: '有効なGRIdコードを入力してください', + }, + hex: { + default: '有効な16進数を入力してください。', + }, + iban: { + countries: { + AD: 'アンドラ', + AE: 'アラブ首長国連邦', + AL: 'アルバニア', + AO: 'アンゴラ', + AT: 'オーストリア', + AZ: 'アゼルバイジャン', + BA: 'ボスニア·ヘルツェゴビナ', + BE: 'ベルギー', + BF: 'ブルキナファソ', + BG: 'ブルガリア', + BH: 'バーレーン', + BI: 'ブルンジ', + BJ: 'ベナン', + BR: 'ブラジル', + CH: 'スイス', + CI: '象牙海岸', + CM: 'カメルーン', + CR: 'コスタリカ', + CV: 'カーボベルデ', + CY: 'キプロス', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + DO: 'ドミニカ共和国', + DZ: 'アルジェリア', + EE: 'エストニア', + ES: 'スペイン', + FI: 'フィンランド', + FO: 'フェロー諸島', + FR: 'フランス', + GB: 'イギリス', + GE: 'グルジア', + GI: 'ジブラルタル', + GL: 'グリーンランド', + GR: 'ギリシャ', + GT: 'グアテマラ', + HR: 'クロアチア', + HU: 'ハンガリー', + IE: 'アイルランド', + IL: 'イスラエル', + IR: 'イラン', + IS: 'アイスランド', + IT: 'イタリア', + JO: 'ヨルダン', + KW: 'クウェート', + KZ: 'カザフスタン', + LB: 'レバノン', + LI: 'リヒテンシュタイン', + LT: 'リトアニア', + LU: 'ルクセンブルグ', + LV: 'ラトビア', + MC: 'モナコ', + MD: 'モルドバ', + ME: 'モンテネグロ', + MG: 'マダガスカル', + MK: 'マケドニア', + ML: 'マリ', + MR: 'モーリタニア', + MT: 'マルタ', + MU: 'モーリシャス', + MZ: 'モザンビーク', + NL: 'オランダ', + NO: 'ノルウェー', + PK: 'パキスタン', + PL: 'ポーランド', + PS: 'パレスチナ', + PT: 'ポルトガル', + QA: 'カタール', + RO: 'ルーマニア', + RS: 'セルビア', + SA: 'サウジアラビア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + SM: 'サン·マリノ', + SN: 'セネガル', + TL: '東チモール', + TN: 'チュニジア', + TR: 'トルコ', + VG: '英領バージン諸島', + XK: 'コソボ共和国', + }, + country: '有効な%sのIBANコードを入力してください', + default: '有効なIBANコードを入力してください', + }, + id: { + countries: { + BA: 'スニア·ヘルツェゴビナ', + BG: 'ブルガリア', + BR: 'ブラジル', + CH: 'スイス', + CL: 'チリ', + CN: 'チャイナ', + CZ: 'チェコ共和国', + DK: 'デンマーク', + EE: 'エストニア', + ES: 'スペイン', + FI: 'フィンランド', + HR: 'クロアチア', + IE: 'アイルランド', + IS: 'アイスランド', + LT: 'リトアニア', + LV: 'ラトビア', + ME: 'モンテネグロ', + MK: 'マケドニア', + NL: 'オランダ', + PL: 'ポーランド', + RO: 'ルーマニア', + RS: 'セルビア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + SM: 'サン·マリノ', + TH: 'タイ国', + TR: 'トルコ', + ZA: '南アフリカ', + }, + country: '有効な%sのIDを入力してください', + default: '有効なIDを入力してください', + }, + identical: { + default: '同じ値を入力してください', + }, + imei: { + default: '有効なIMEIを入力してください', + }, + imo: { + default: '有効なIMOを入力してください', + }, + integer: { + default: '有効な数値を入力してください', + }, + ip: { + default: '有効なIPアドレスを入力してください', + ipv4: '有効なIPv4アドレスを入力してください', + ipv6: '有効なIPv6アドレスを入力してください', + }, + isbn: { + default: '有効なISBN番号を入力してください', + }, + isin: { + default: '有効なISIN番号を入力してください', + }, + ismn: { + default: '有効なISMN番号を入力してください', + }, + issn: { + default: '有効なISSN番号を入力してください', + }, + lessThan: { + default: '%s未満の値を入力してください', + notInclusive: '%s未満の値を入力してください', + }, + mac: { + default: '有効なMACアドレスを入力してください', + }, + meid: { + default: '有効なMEID番号を入力してください', + }, + notEmpty: { + default: '値を入力してください', + }, + numeric: { + default: '有効な浮動小数点数値を入力してください。', + }, + phone: { + countries: { + AE: 'アラブ首長国連邦', + BG: 'ブルガリア', + BR: 'ブラジル', + CN: 'チャイナ', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + ES: 'スペイン', + FR: 'フランス', + GB: 'イギリス', + IN: 'インド', + MA: 'モロッコ', + NL: 'オランダ', + PK: 'パキスタン', + RO: 'ルーマニア', + RU: 'ロシア', + SK: 'スロバキア', + TH: 'タイ国', + US: 'アメリカ', + VE: 'ベネズエラ', + }, + country: '有効な%sの電話番号を入力してください', + default: '有効な電話番号を入力してください', + }, + promise: { + default: '有効な値を入力してください', + }, + regexp: { + default: '正規表現に一致する値を入力してください', + }, + remote: { + default: '有効な値を入力してください。', + }, + rtn: { + default: '有効なRTN番号を入力してください', + }, + sedol: { + default: '有効なSEDOL番号を入力してください', + }, + siren: { + default: '有効なSIREN番号を入力してください', + }, + siret: { + default: '有効なSIRET番号を入力してください', + }, + step: { + default: '%sの有効なステップを入力してください', + }, + stringCase: { + default: '小文字のみで入力してください', + upper: '大文字のみで入力してください', + }, + stringLength: { + between: '%s文字から%s文字の間で入力してください', + default: '有効な長さの値を入力してください', + less: '%s文字未満で入力してください', + more: '%s文字より大きく入力してください', + }, + uri: { + default: '有効なURIを入力してください。', + }, + uuid: { + default: '有効なUUIDを入力してください', + version: '有効なバージョン%s UUIDを入力してください', + }, + vat: { + countries: { + AT: 'オーストリア', + BE: 'ベルギー', + BG: 'ブルガリア', + BR: 'ブラジル', + CH: 'スイス', + CY: 'キプロス等', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + EE: 'エストニア', + EL: 'ギリシャ', + ES: 'スペイン', + FI: 'フィンランド', + FR: 'フランス', + GB: 'イギリス', + GR: 'ギリシャ', + HR: 'クロアチア', + HU: 'ハンガリー', + IE: 'アイルランド', + IS: 'アイスランド', + IT: 'イタリア', + LT: 'リトアニア', + LU: 'ルクセンブルグ', + LV: 'ラトビア', + MT: 'マルタ', + NL: 'オランダ', + NO: 'ノルウェー', + PL: 'ポーランド', + PT: 'ポルトガル', + RO: 'ルーマニア', + RS: 'セルビア', + RU: 'ロシア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + VE: 'ベネズエラ', + ZA: '南アフリカ', + }, + country: '有効な%sのVAT番号を入力してください', + default: '有効なVAT番号を入力してください', + }, + vin: { + default: '有効なVIN番号を入力してください', + }, + zipCode: { + countries: { + AT: 'オーストリア', + BG: 'ブルガリア', + BR: 'ブラジル', + CA: 'カナダ', + CH: 'スイス', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + ES: 'スペイン', + FR: 'フランス', + GB: 'イギリス', + IE: 'アイルランド', + IN: 'インド', + IT: 'イタリア', + MA: 'モロッコ', + NL: 'オランダ', + PL: 'ポーランド', + PT: 'ポルトガル', + RO: 'ルーマニア', + RU: 'ロシア', + SE: 'スウェーデン', + SG: 'シンガポール', + SK: 'スロバキア', + US: 'アメリカ', + }, + country: '有効な%sの郵便番号を入力してください', + default: '有効な郵便番号を入力してください', + }, + }; + + return ja_JP; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ja_JP.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ja_JP.min.js new file mode 100644 index 0000000..3610393 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ja_JP.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ja_JP=factory())})(this,(function(){"use strict";var ja_JP={base64:{default:"有効なBase64エンコードを入力してください"},between:{default:"%sから%sの間で入力してください",notInclusive:"厳密に%sから%sの間で入力してください"},bic:{default:"有効なBICコードを入力してください"},callback:{default:"有効な値を入力してください"},choice:{between:"%s - %s で選択してください",default:"有効な値を入力してください",less:"最低でも%sを選択してください",more:"最大でも%sを選択してください"},color:{default:"有効なカラーコードを入力してください"},creditCard:{default:"有効なクレジットカード番号を入力してください"},cusip:{default:"有効なCUSIP番号を入力してください"},date:{default:"有効な日付を入力してください",max:"%s の前に有効な日付を入力してください",min:"%s 後に有効な日付を入力してください",range:"%s - %s の間に有効な日付を入力してください"},different:{default:"異なる値を入力してください"},digits:{default:"数字のみで入力してください"},ean:{default:"有効なEANコードを入力してください"},ein:{default:"有効なEINコードを入力してください"},emailAddress:{default:"有効なメールアドレスを入力してください"},file:{default:"有効なファイルを選択してください"},greaterThan:{default:"%sより大きい値を入力してください",notInclusive:"%sより大きい値を入力してください"},grid:{default:"有効なGRIdコードを入力してください"},hex:{default:"有効な16進数を入力してください。"},iban:{countries:{AD:"アンドラ",AE:"アラブ首長国連邦",AL:"アルバニア",AO:"アンゴラ",AT:"オーストリア",AZ:"アゼルバイジャン",BA:"ボスニア·ヘルツェゴビナ",BE:"ベルギー",BF:"ブルキナファソ",BG:"ブルガリア",BH:"バーレーン",BI:"ブルンジ",BJ:"ベナン",BR:"ブラジル",CH:"スイス",CI:"象牙海岸",CM:"カメルーン",CR:"コスタリカ",CV:"カーボベルデ",CY:"キプロス",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",DO:"ドミニカ共和国",DZ:"アルジェリア",EE:"エストニア",ES:"スペイン",FI:"フィンランド",FO:"フェロー諸島",FR:"フランス",GB:"イギリス",GE:"グルジア",GI:"ジブラルタル",GL:"グリーンランド",GR:"ギリシャ",GT:"グアテマラ",HR:"クロアチア",HU:"ハンガリー",IE:"アイルランド",IL:"イスラエル",IR:"イラン",IS:"アイスランド",IT:"イタリア",JO:"ヨルダン",KW:"クウェート",KZ:"カザフスタン",LB:"レバノン",LI:"リヒテンシュタイン",LT:"リトアニア",LU:"ルクセンブルグ",LV:"ラトビア",MC:"モナコ",MD:"モルドバ",ME:"モンテネグロ",MG:"マダガスカル",MK:"マケドニア",ML:"マリ",MR:"モーリタニア",MT:"マルタ",MU:"モーリシャス",MZ:"モザンビーク",NL:"オランダ",NO:"ノルウェー",PK:"パキスタン",PL:"ポーランド",PS:"パレスチナ",PT:"ポルトガル",QA:"カタール",RO:"ルーマニア",RS:"セルビア",SA:"サウジアラビア",SE:"スウェーデン",SI:"スロベニア",SK:"スロバキア",SM:"サン·マリノ",SN:"セネガル",TL:"東チモール",TN:"チュニジア",TR:"トルコ",VG:"英領バージン諸島",XK:"コソボ共和国"},country:"有効な%sのIBANコードを入力してください",default:"有効なIBANコードを入力してください"},id:{countries:{BA:"スニア·ヘルツェゴビナ",BG:"ブルガリア",BR:"ブラジル",CH:"スイス",CL:"チリ",CN:"チャイナ",CZ:"チェコ共和国",DK:"デンマーク",EE:"エストニア",ES:"スペイン",FI:"フィンランド",HR:"クロアチア",IE:"アイルランド",IS:"アイスランド",LT:"リトアニア",LV:"ラトビア",ME:"モンテネグロ",MK:"マケドニア",NL:"オランダ",PL:"ポーランド",RO:"ルーマニア",RS:"セルビア",SE:"スウェーデン",SI:"スロベニア",SK:"スロバキア",SM:"サン·マリノ",TH:"タイ国",TR:"トルコ",ZA:"南アフリカ"},country:"有効な%sのIDを入力してください",default:"有効なIDを入力してください"},identical:{default:"同じ値を入力してください"},imei:{default:"有効なIMEIを入力してください"},imo:{default:"有効なIMOを入力してください"},integer:{default:"有効な数値を入力してください"},ip:{default:"有効なIPアドレスを入力してください",ipv4:"有効なIPv4アドレスを入力してください",ipv6:"有効なIPv6アドレスを入力してください"},isbn:{default:"有効なISBN番号を入力してください"},isin:{default:"有効なISIN番号を入力してください"},ismn:{default:"有効なISMN番号を入力してください"},issn:{default:"有効なISSN番号を入力してください"},lessThan:{default:"%s未満の値を入力してください",notInclusive:"%s未満の値を入力してください"},mac:{default:"有効なMACアドレスを入力してください"},meid:{default:"有効なMEID番号を入力してください"},notEmpty:{default:"値を入力してください"},numeric:{default:"有効な浮動小数点数値を入力してください。"},phone:{countries:{AE:"アラブ首長国連邦",BG:"ブルガリア",BR:"ブラジル",CN:"チャイナ",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",ES:"スペイン",FR:"フランス",GB:"イギリス",IN:"インド",MA:"モロッコ",NL:"オランダ",PK:"パキスタン",RO:"ルーマニア",RU:"ロシア",SK:"スロバキア",TH:"タイ国",US:"アメリカ",VE:"ベネズエラ"},country:"有効な%sの電話番号を入力してください",default:"有効な電話番号を入力してください"},promise:{default:"有効な値を入力してください"},regexp:{default:"正規表現に一致する値を入力してください"},remote:{default:"有効な値を入力してください。"},rtn:{default:"有効なRTN番号を入力してください"},sedol:{default:"有効なSEDOL番号を入力してください"},siren:{default:"有効なSIREN番号を入力してください"},siret:{default:"有効なSIRET番号を入力してください"},step:{default:"%sの有効なステップを入力してください"},stringCase:{default:"小文字のみで入力してください",upper:"大文字のみで入力してください"},stringLength:{between:"%s文字から%s文字の間で入力してください",default:"有効な長さの値を入力してください",less:"%s文字未満で入力してください",more:"%s文字より大きく入力してください"},uri:{default:"有効なURIを入力してください。"},uuid:{default:"有効なUUIDを入力してください",version:"有効なバージョン%s UUIDを入力してください"},vat:{countries:{AT:"オーストリア",BE:"ベルギー",BG:"ブルガリア",BR:"ブラジル",CH:"スイス",CY:"キプロス等",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",EE:"エストニア",EL:"ギリシャ",ES:"スペイン",FI:"フィンランド",FR:"フランス",GB:"イギリス",GR:"ギリシャ",HR:"クロアチア",HU:"ハンガリー",IE:"アイルランド",IS:"アイスランド",IT:"イタリア",LT:"リトアニア",LU:"ルクセンブルグ",LV:"ラトビア",MT:"マルタ",NL:"オランダ",NO:"ノルウェー",PL:"ポーランド",PT:"ポルトガル",RO:"ルーマニア",RS:"セルビア",RU:"ロシア",SE:"スウェーデン",SI:"スロベニア",SK:"スロバキア",VE:"ベネズエラ",ZA:"南アフリカ"},country:"有効な%sのVAT番号を入力してください",default:"有効なVAT番号を入力してください"},vin:{default:"有効なVIN番号を入力してください"},zipCode:{countries:{AT:"オーストリア",BG:"ブルガリア",BR:"ブラジル",CA:"カナダ",CH:"スイス",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",ES:"スペイン",FR:"フランス",GB:"イギリス",IE:"アイルランド",IN:"インド",IT:"イタリア",MA:"モロッコ",NL:"オランダ",PL:"ポーランド",PT:"ポルトガル",RO:"ルーマニア",RU:"ロシア",SE:"スウェーデン",SG:"シンガポール",SK:"スロバキア",US:"アメリカ"},country:"有効な%sの郵便番号を入力してください",default:"有効な郵便番号を入力してください"}};return ja_JP})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_BE.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_BE.js new file mode 100644 index 0000000..6005dec --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_BE.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.nl_BE = factory())); +})(this, (function () { 'use strict'; + + /** + * Belgium (Dutch) language package + * Translated by @dokterpasta. Improved by @jdt + */ + + var nl_BE = { + base64: { + default: 'Geef een geldige base 64 geëncodeerde tekst in', + }, + between: { + default: 'Geef een waarde in van %s tot en met %s', + notInclusive: 'Geef een waarde in van %s tot %s', + }, + bic: { + default: 'Geef een geldig BIC-nummer in', + }, + callback: { + default: 'Geef een geldige waarde in', + }, + choice: { + between: 'Kies tussen de %s en %s opties', + default: 'Geef een geldige waarde in', + less: 'Kies minimaal %s opties', + more: 'Kies maximaal %s opties', + }, + color: { + default: 'Geef een geldige kleurcode in', + }, + creditCard: { + default: 'Geef een geldig kredietkaartnummer in', + }, + cusip: { + default: 'Geef een geldig CUSIP-nummer in', + }, + date: { + default: 'Geef een geldige datum in', + max: 'Geef een datum in die voor %s ligt', + min: 'Geef een datum in die na %s ligt', + range: 'Geef een datum in die tussen %s en %s ligt', + }, + different: { + default: 'Geef een andere waarde in', + }, + digits: { + default: 'Geef alleen cijfers in', + }, + ean: { + default: 'Geef een geldig EAN-nummer in', + }, + ein: { + default: 'Geef een geldig EIN-nummer in', + }, + emailAddress: { + default: 'Geef een geldig emailadres op', + }, + file: { + default: 'Kies een geldig bestand', + }, + greaterThan: { + default: 'Geef een waarde in die gelijk is aan of groter is dan %s', + notInclusive: 'Geef een waarde in die groter is dan %s', + }, + grid: { + default: 'Geef een geldig GRID-nummer in', + }, + hex: { + default: 'Geef een geldig hexadecimaal nummer in', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Verenigde Arabische Emiraten', + AL: 'Albania', + AO: 'Angola', + AT: 'Oostenrijk', + AZ: 'Azerbeidzjan', + BA: 'Bosnië en Herzegovina', + BE: 'België', + BF: 'Burkina Faso', + BG: 'Bulgarije"', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilië', + CH: 'Zwitserland', + CI: 'Ivoorkust', + CM: 'Kameroen', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + DO: 'Dominicaanse Republiek', + DZ: 'Algerije', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + FO: 'Faeröer', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenland', + GR: 'Griekenland', + GT: 'Guatemala', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IL: 'Israël', + IR: 'Iran', + IS: 'IJsland', + IT: 'Italië', + JO: 'Jordan', + KW: 'Koeweit', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldavië', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonië', + ML: 'Mali', + MR: 'Mauretanië', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Nederland', + NO: 'Noorwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestijnse', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roemenië', + RS: 'Servië', + SA: 'Saudi-Arabië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Oost-Timor', + TN: 'Tunesië', + TR: 'Turkije', + VG: 'Britse Maagdeneilanden', + XK: 'Republiek Kosovo', + }, + country: 'Geef een geldig IBAN-nummer in uit %s', + default: 'Geef een geldig IBAN-nummer in', + }, + id: { + countries: { + BA: 'Bosnië en Herzegovina', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CL: 'Chili', + CN: 'China', + CZ: 'Tsjechische', + DK: 'Denemarken', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + HR: 'Kroatië', + IE: 'Ierland', + IS: 'IJsland', + LT: 'Litouwen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Macedonië', + NL: 'Nederland', + PL: 'Polen', + RO: 'Roemenië', + RS: 'Servië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkije', + ZA: 'Zuid-Afrika', + }, + country: 'Geef een geldig identificatienummer in uit %s', + default: 'Geef een geldig identificatienummer in', + }, + identical: { + default: 'Geef dezelfde waarde in', + }, + imei: { + default: 'Geef een geldig IMEI-nummer in', + }, + imo: { + default: 'Geef een geldig IMO-nummer in', + }, + integer: { + default: 'Geef een geldig nummer in', + }, + ip: { + default: 'Geef een geldig IP-adres in', + ipv4: 'Geef een geldig IPv4-adres in', + ipv6: 'Geef een geldig IPv6-adres in', + }, + isbn: { + default: 'Geef een geldig ISBN-nummer in', + }, + isin: { + default: 'Geef een geldig ISIN-nummer in', + }, + ismn: { + default: 'Geef een geldig ISMN-nummer in', + }, + issn: { + default: 'Geef een geldig ISSN-nummer in', + }, + lessThan: { + default: 'Geef een waarde in die gelijk is aan of kleiner is dan %s', + notInclusive: 'Geef een waarde in die kleiner is dan %s', + }, + mac: { + default: 'Geef een geldig MAC-adres in', + }, + meid: { + default: 'Geef een geldig MEID-nummer in', + }, + notEmpty: { + default: 'Geef een waarde in', + }, + numeric: { + default: 'Geef een geldig kommagetal in', + }, + phone: { + countries: { + AE: 'Verenigde Arabische Emiraten', + BG: 'Bulgarije', + BR: 'Brazilië', + CN: 'China', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IN: 'Indië', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Roemenië', + RU: 'Rusland', + SK: 'Slowakije', + TH: 'Thailand', + US: 'VS', + VE: 'Venezuela', + }, + country: 'Geef een geldig telefoonnummer in uit %s', + default: 'Geef een geldig telefoonnummer in', + }, + promise: { + default: 'Geef een geldige waarde in', + }, + regexp: { + default: 'Geef een waarde in die overeenkomt met het patroon', + }, + remote: { + default: 'Geef een geldige waarde in', + }, + rtn: { + default: 'Geef een geldig RTN-nummer in', + }, + sedol: { + default: 'Geef een geldig SEDOL-nummer in', + }, + siren: { + default: 'Geef een geldig SIREN-nummer in', + }, + siret: { + default: 'Geef een geldig SIRET-nummer in', + }, + step: { + default: 'Geef een geldig meervoud in van %s', + }, + stringCase: { + default: 'Geef enkel kleine letters in', + upper: 'Geef enkel hoofdletters in', + }, + stringLength: { + between: 'Geef tussen %s en %s karakters in', + default: 'Geef een waarde in met de juiste lengte', + less: 'Geef minder dan %s karakters in', + more: 'Geef meer dan %s karakters in', + }, + uri: { + default: 'Geef een geldige URI in', + }, + uuid: { + default: 'Geef een geldig UUID-nummer in', + version: 'Geef een geldig UUID-nummer (versie %s) in', + }, + vat: { + countries: { + AT: 'Oostenrijk', + BE: 'België', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CY: 'Cyprus', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + EE: 'Estland', + EL: 'Griekenland', + ES: 'Spanje', + FI: 'Finland', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GR: 'Griekenland', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IS: 'IJsland', + IT: 'Italië', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MT: 'Malta', + NL: 'Nederland', + NO: 'Noorwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RS: 'Servië', + RU: 'Rusland', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + VE: 'Venezuela', + ZA: 'Zuid-Afrika', + }, + country: 'Geef een geldig BTW-nummer in uit %s', + default: 'Geef een geldig BTW-nummer in', + }, + vin: { + default: 'Geef een geldig VIN-nummer in', + }, + zipCode: { + countries: { + AT: 'Oostenrijk', + BG: 'Bulgarije', + BR: 'Brazilië', + CA: 'Canada', + CH: 'Zwitserland', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IE: 'Ierland', + IN: 'Indië', + IT: 'Italië', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RU: 'Rusland', + SE: 'Zweden', + SG: 'Singapore', + SK: 'Slowakije', + US: 'VS', + }, + country: 'Geef een geldige postcode in uit %s', + default: 'Geef een geldige postcode in', + }, + }; + + return nl_BE; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_BE.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_BE.min.js new file mode 100644 index 0000000..fa1f118 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_BE.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.nl_BE=factory())})(this,(function(){"use strict";var nl_BE={base64:{default:"Geef een geldige base 64 geëncodeerde tekst in"},between:{default:"Geef een waarde in van %s tot en met %s",notInclusive:"Geef een waarde in van %s tot %s"},bic:{default:"Geef een geldig BIC-nummer in"},callback:{default:"Geef een geldige waarde in"},choice:{between:"Kies tussen de %s en %s opties",default:"Geef een geldige waarde in",less:"Kies minimaal %s opties",more:"Kies maximaal %s opties"},color:{default:"Geef een geldige kleurcode in"},creditCard:{default:"Geef een geldig kredietkaartnummer in"},cusip:{default:"Geef een geldig CUSIP-nummer in"},date:{default:"Geef een geldige datum in",max:"Geef een datum in die voor %s ligt",min:"Geef een datum in die na %s ligt",range:"Geef een datum in die tussen %s en %s ligt"},different:{default:"Geef een andere waarde in"},digits:{default:"Geef alleen cijfers in"},ean:{default:"Geef een geldig EAN-nummer in"},ein:{default:"Geef een geldig EIN-nummer in"},emailAddress:{default:"Geef een geldig emailadres op"},file:{default:"Kies een geldig bestand"},greaterThan:{default:"Geef een waarde in die gelijk is aan of groter is dan %s",notInclusive:"Geef een waarde in die groter is dan %s"},grid:{default:"Geef een geldig GRID-nummer in"},hex:{default:"Geef een geldig hexadecimaal nummer in"},iban:{countries:{AD:"Andorra",AE:"Verenigde Arabische Emiraten",AL:"Albania",AO:"Angola",AT:"Oostenrijk",AZ:"Azerbeidzjan",BA:"Bosnië en Herzegovina",BE:"België",BF:"Burkina Faso",BG:'Bulgarije"',BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brazilië",CH:"Zwitserland",CI:"Ivoorkust",CM:"Kameroen",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",DO:"Dominicaanse Republiek",DZ:"Algerije",EE:"Estland",ES:"Spanje",FI:"Finland",FO:"Faeröer",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GE:"Georgia",GI:"Gibraltar",GL:"Groenland",GR:"Griekenland",GT:"Guatemala",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IL:"Israël",IR:"Iran",IS:"IJsland",IT:"Italië",JO:"Jordan",KW:"Koeweit",KZ:"Kazachstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MC:"Monaco",MD:"Moldavië",ME:"Montenegro",MG:"Madagascar",MK:"Macedonië",ML:"Mali",MR:"Mauretanië",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Nederland",NO:"Noorwegen",PK:"Pakistan",PL:"Polen",PS:"Palestijnse",PT:"Portugal",QA:"Qatar",RO:"Roemenië",RS:"Servië",SA:"Saudi-Arabië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",SN:"Senegal",TL:"Oost-Timor",TN:"Tunesië",TR:"Turkije",VG:"Britse Maagdeneilanden",XK:"Republiek Kosovo"},country:"Geef een geldig IBAN-nummer in uit %s",default:"Geef een geldig IBAN-nummer in"},id:{countries:{BA:"Bosnië en Herzegovina",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CL:"Chili",CN:"China",CZ:"Tsjechische",DK:"Denemarken",EE:"Estland",ES:"Spanje",FI:"Finland",HR:"Kroatië",IE:"Ierland",IS:"IJsland",LT:"Litouwen",LV:"Letland",ME:"Montenegro",MK:"Macedonië",NL:"Nederland",PL:"Polen",RO:"Roemenië",RS:"Servië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",TH:"Thailand",TR:"Turkije",ZA:"Zuid-Afrika"},country:"Geef een geldig identificatienummer in uit %s",default:"Geef een geldig identificatienummer in"},identical:{default:"Geef dezelfde waarde in"},imei:{default:"Geef een geldig IMEI-nummer in"},imo:{default:"Geef een geldig IMO-nummer in"},integer:{default:"Geef een geldig nummer in"},ip:{default:"Geef een geldig IP-adres in",ipv4:"Geef een geldig IPv4-adres in",ipv6:"Geef een geldig IPv6-adres in"},isbn:{default:"Geef een geldig ISBN-nummer in"},isin:{default:"Geef een geldig ISIN-nummer in"},ismn:{default:"Geef een geldig ISMN-nummer in"},issn:{default:"Geef een geldig ISSN-nummer in"},lessThan:{default:"Geef een waarde in die gelijk is aan of kleiner is dan %s",notInclusive:"Geef een waarde in die kleiner is dan %s"},mac:{default:"Geef een geldig MAC-adres in"},meid:{default:"Geef een geldig MEID-nummer in"},notEmpty:{default:"Geef een waarde in"},numeric:{default:"Geef een geldig kommagetal in"},phone:{countries:{AE:"Verenigde Arabische Emiraten",BG:"Bulgarije",BR:"Brazilië",CN:"China",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IN:"Indië",MA:"Marokko",NL:"Nederland",PK:"Pakistan",RO:"Roemenië",RU:"Rusland",SK:"Slowakije",TH:"Thailand",US:"VS",VE:"Venezuela"},country:"Geef een geldig telefoonnummer in uit %s",default:"Geef een geldig telefoonnummer in"},promise:{default:"Geef een geldige waarde in"},regexp:{default:"Geef een waarde in die overeenkomt met het patroon"},remote:{default:"Geef een geldige waarde in"},rtn:{default:"Geef een geldig RTN-nummer in"},sedol:{default:"Geef een geldig SEDOL-nummer in"},siren:{default:"Geef een geldig SIREN-nummer in"},siret:{default:"Geef een geldig SIRET-nummer in"},step:{default:"Geef een geldig meervoud in van %s"},stringCase:{default:"Geef enkel kleine letters in",upper:"Geef enkel hoofdletters in"},stringLength:{between:"Geef tussen %s en %s karakters in",default:"Geef een waarde in met de juiste lengte",less:"Geef minder dan %s karakters in",more:"Geef meer dan %s karakters in"},uri:{default:"Geef een geldige URI in"},uuid:{default:"Geef een geldig UUID-nummer in",version:"Geef een geldig UUID-nummer (versie %s) in"},vat:{countries:{AT:"Oostenrijk",BE:"België",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CY:"Cyprus",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",EE:"Estland",EL:"Griekenland",ES:"Spanje",FI:"Finland",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GR:"Griekenland",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IS:"IJsland",IT:"Italië",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MT:"Malta",NL:"Nederland",NO:"Noorwegen",PL:"Polen",PT:"Portugal",RO:"Roemenië",RS:"Servië",RU:"Rusland",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",VE:"Venezuela",ZA:"Zuid-Afrika"},country:"Geef een geldig BTW-nummer in uit %s",default:"Geef een geldig BTW-nummer in"},vin:{default:"Geef een geldig VIN-nummer in"},zipCode:{countries:{AT:"Oostenrijk",BG:"Bulgarije",BR:"Brazilië",CA:"Canada",CH:"Zwitserland",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IE:"Ierland",IN:"Indië",IT:"Italië",MA:"Marokko",NL:"Nederland",PL:"Polen",PT:"Portugal",RO:"Roemenië",RU:"Rusland",SE:"Zweden",SG:"Singapore",SK:"Slowakije",US:"VS"},country:"Geef een geldige postcode in uit %s",default:"Geef een geldige postcode in"}};return nl_BE})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_NL.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_NL.js new file mode 100644 index 0000000..43c9fcf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_NL.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.nl_NL = factory())); +})(this, (function () { 'use strict'; + + /** + * The Dutch language package + * Translated by @jvanderheide + */ + + var nl_NL = { + base64: { + default: 'Voer een geldige Base64 geëncodeerde tekst in', + }, + between: { + default: 'Voer een waarde in van %s tot en met %s', + notInclusive: 'Voer een waarde die tussen %s en %s ligt', + }, + bic: { + default: 'Voer een geldige BIC-code in', + }, + callback: { + default: 'Voer een geldige waarde in', + }, + choice: { + between: 'Kies tussen de %s - %s opties', + default: 'Voer een geldige waarde in', + less: 'Kies minimaal %s optie(s)', + more: 'Kies maximaal %s opties', + }, + color: { + default: 'Voer een geldige kleurcode in', + }, + creditCard: { + default: 'Voer een geldig creditcardnummer in', + }, + cusip: { + default: 'Voer een geldig CUSIP-nummer in', + }, + date: { + default: 'Voer een geldige datum in', + max: 'Voer een datum in die vóór %s ligt', + min: 'Voer een datum in die na %s ligt', + range: 'Voer een datum in die tussen %s en %s ligt', + }, + different: { + default: 'Voer een andere waarde in', + }, + digits: { + default: 'Voer enkel cijfers in', + }, + ean: { + default: 'Voer een geldige EAN-code in', + }, + ein: { + default: 'Voer een geldige EIN-code in', + }, + emailAddress: { + default: 'Voer een geldig e-mailadres in', + }, + file: { + default: 'Kies een geldig bestand', + }, + greaterThan: { + default: 'Voer een waarde in die gelijk is aan of groter is dan %s', + notInclusive: 'Voer een waarde in die is groter dan %s', + }, + grid: { + default: 'Voer een geldig GRId-nummer in', + }, + hex: { + default: 'Voer een geldig hexadecimaal nummer in', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Verenigde Arabische Emiraten', + AL: 'Albania', + AO: 'Angola', + AT: 'Oostenrijk', + AZ: 'Azerbeidzjan', + BA: 'Bosnië en Herzegovina', + BE: 'België', + BF: 'Burkina Faso', + BG: 'Bulgarije"', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilië', + CH: 'Zwitserland', + CI: 'Ivoorkust', + CM: 'Kameroen', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + DO: 'Dominicaanse Republiek', + DZ: 'Algerije', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + FO: 'Faeröer', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenland', + GR: 'Griekenland', + GT: 'Guatemala', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IL: 'Israël', + IR: 'Iran', + IS: 'IJsland', + IT: 'Italië', + JO: 'Jordan', + KW: 'Koeweit', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldavië', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonië', + ML: 'Mali', + MR: 'Mauretanië', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Nederland', + NO: 'Noorwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestijnse', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roemenië', + RS: 'Servië', + SA: 'Saudi-Arabië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Oost-Timor', + TN: 'Tunesië', + TR: 'Turkije', + VG: 'Britse Maagdeneilanden', + XK: 'Republiek Kosovo', + }, + country: 'Voer een geldig IBAN nummer in uit %s', + default: 'Voer een geldig IBAN nummer in', + }, + id: { + countries: { + BA: 'Bosnië en Herzegovina', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CL: 'Chili', + CN: 'China', + CZ: 'Tsjechische Republiek', + DK: 'Denemarken', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + HR: 'Kroatië', + IE: 'Ierland', + IS: 'IJsland', + LT: 'Litouwen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Macedonië', + NL: 'Nederland', + PL: 'Polen', + RO: 'Roemenië', + RS: 'Servië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkije', + ZA: 'Zuid-Afrika', + }, + country: 'Voer een geldig identificatie nummer in uit %s', + default: 'Voer een geldig identificatie nummer in', + }, + identical: { + default: 'Voer dezelfde waarde in', + }, + imei: { + default: 'Voer een geldig IMEI-nummer in', + }, + imo: { + default: 'Voer een geldig IMO-nummer in', + }, + integer: { + default: 'Voer een geldig getal in', + }, + ip: { + default: 'Voer een geldig IP adres in', + ipv4: 'Voer een geldig IPv4 adres in', + ipv6: 'Voer een geldig IPv6 adres in', + }, + isbn: { + default: 'Voer een geldig ISBN-nummer in', + }, + isin: { + default: 'Voer een geldig ISIN-nummer in', + }, + ismn: { + default: 'Voer een geldig ISMN-nummer in', + }, + issn: { + default: 'Voer een geldig ISSN-nummer in', + }, + lessThan: { + default: 'Voer een waarde in gelijk aan of kleiner dan %s', + notInclusive: 'Voer een waarde in kleiner dan %s', + }, + mac: { + default: 'Voer een geldig MAC adres in', + }, + meid: { + default: 'Voer een geldig MEID-nummer in', + }, + notEmpty: { + default: 'Voer een waarde in', + }, + numeric: { + default: 'Voer een geldig kommagetal in', + }, + phone: { + countries: { + AE: 'Verenigde Arabische Emiraten', + BG: 'Bulgarije', + BR: 'Brazilië', + CN: 'China', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IN: 'Indië', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Roemenië', + RU: 'Rusland', + SK: 'Slowakije', + TH: 'Thailand', + US: 'VS', + VE: 'Venezuela', + }, + country: 'Voer een geldig telefoonnummer in uit %s', + default: 'Voer een geldig telefoonnummer in', + }, + promise: { + default: 'Voer een geldige waarde in', + }, + regexp: { + default: 'Voer een waarde in die overeenkomt met het patroon', + }, + remote: { + default: 'Voer een geldige waarde in', + }, + rtn: { + default: 'Voer een geldig RTN-nummer in', + }, + sedol: { + default: 'Voer een geldig SEDOL-nummer in', + }, + siren: { + default: 'Voer een geldig SIREN-nummer in', + }, + siret: { + default: 'Voer een geldig SIRET-nummer in', + }, + step: { + default: 'Voer een meervoud van %s in', + }, + stringCase: { + default: 'Voer enkel kleine letters in', + upper: 'Voer enkel hoofdletters in', + }, + stringLength: { + between: 'Voer tussen tussen %s en %s karakters in', + default: 'Voer een waarde met de juiste lengte in', + less: 'Voer minder dan %s karakters in', + more: 'Voer meer dan %s karakters in', + }, + uri: { + default: 'Voer een geldige link in', + }, + uuid: { + default: 'Voer een geldige UUID in', + version: 'Voer een geldige UUID (versie %s) in', + }, + vat: { + countries: { + AT: 'Oostenrijk', + BE: 'België', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CY: 'Cyprus', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + EE: 'Estland', + EL: 'Griekenland', + ES: 'Spanje', + FI: 'Finland', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GR: 'Griekenland', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IS: 'IJsland', + IT: 'Italië', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MT: 'Malta', + NL: 'Nederland', + NO: 'Noorwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RS: 'Servië', + RU: 'Rusland', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + VE: 'Venezuela', + ZA: 'Zuid-Afrika', + }, + country: 'Voer een geldig BTW-nummer in uit %s', + default: 'Voer een geldig BTW-nummer in', + }, + vin: { + default: 'Voer een geldig VIN-nummer in', + }, + zipCode: { + countries: { + AT: 'Oostenrijk', + BG: 'Bulgarije', + BR: 'Brazilië', + CA: 'Canada', + CH: 'Zwitserland', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IE: 'Ierland', + IN: 'Indië', + IT: 'Italië', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RU: 'Rusland', + SE: 'Zweden', + SG: 'Singapore', + SK: 'Slowakije', + US: 'VS', + }, + country: 'Voer een geldige postcode in uit %s', + default: 'Voer een geldige postcode in', + }, + }; + + return nl_NL; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_NL.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_NL.min.js new file mode 100644 index 0000000..f04c472 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/nl_NL.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.nl_NL=factory())})(this,(function(){"use strict";var nl_NL={base64:{default:"Voer een geldige Base64 geëncodeerde tekst in"},between:{default:"Voer een waarde in van %s tot en met %s",notInclusive:"Voer een waarde die tussen %s en %s ligt"},bic:{default:"Voer een geldige BIC-code in"},callback:{default:"Voer een geldige waarde in"},choice:{between:"Kies tussen de %s - %s opties",default:"Voer een geldige waarde in",less:"Kies minimaal %s optie(s)",more:"Kies maximaal %s opties"},color:{default:"Voer een geldige kleurcode in"},creditCard:{default:"Voer een geldig creditcardnummer in"},cusip:{default:"Voer een geldig CUSIP-nummer in"},date:{default:"Voer een geldige datum in",max:"Voer een datum in die vóór %s ligt",min:"Voer een datum in die na %s ligt",range:"Voer een datum in die tussen %s en %s ligt"},different:{default:"Voer een andere waarde in"},digits:{default:"Voer enkel cijfers in"},ean:{default:"Voer een geldige EAN-code in"},ein:{default:"Voer een geldige EIN-code in"},emailAddress:{default:"Voer een geldig e-mailadres in"},file:{default:"Kies een geldig bestand"},greaterThan:{default:"Voer een waarde in die gelijk is aan of groter is dan %s",notInclusive:"Voer een waarde in die is groter dan %s"},grid:{default:"Voer een geldig GRId-nummer in"},hex:{default:"Voer een geldig hexadecimaal nummer in"},iban:{countries:{AD:"Andorra",AE:"Verenigde Arabische Emiraten",AL:"Albania",AO:"Angola",AT:"Oostenrijk",AZ:"Azerbeidzjan",BA:"Bosnië en Herzegovina",BE:"België",BF:"Burkina Faso",BG:'Bulgarije"',BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brazilië",CH:"Zwitserland",CI:"Ivoorkust",CM:"Kameroen",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",DO:"Dominicaanse Republiek",DZ:"Algerije",EE:"Estland",ES:"Spanje",FI:"Finland",FO:"Faeröer",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GE:"Georgia",GI:"Gibraltar",GL:"Groenland",GR:"Griekenland",GT:"Guatemala",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IL:"Israël",IR:"Iran",IS:"IJsland",IT:"Italië",JO:"Jordan",KW:"Koeweit",KZ:"Kazachstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MC:"Monaco",MD:"Moldavië",ME:"Montenegro",MG:"Madagascar",MK:"Macedonië",ML:"Mali",MR:"Mauretanië",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Nederland",NO:"Noorwegen",PK:"Pakistan",PL:"Polen",PS:"Palestijnse",PT:"Portugal",QA:"Qatar",RO:"Roemenië",RS:"Servië",SA:"Saudi-Arabië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",SN:"Senegal",TL:"Oost-Timor",TN:"Tunesië",TR:"Turkije",VG:"Britse Maagdeneilanden",XK:"Republiek Kosovo"},country:"Voer een geldig IBAN nummer in uit %s",default:"Voer een geldig IBAN nummer in"},id:{countries:{BA:"Bosnië en Herzegovina",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CL:"Chili",CN:"China",CZ:"Tsjechische Republiek",DK:"Denemarken",EE:"Estland",ES:"Spanje",FI:"Finland",HR:"Kroatië",IE:"Ierland",IS:"IJsland",LT:"Litouwen",LV:"Letland",ME:"Montenegro",MK:"Macedonië",NL:"Nederland",PL:"Polen",RO:"Roemenië",RS:"Servië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",TH:"Thailand",TR:"Turkije",ZA:"Zuid-Afrika"},country:"Voer een geldig identificatie nummer in uit %s",default:"Voer een geldig identificatie nummer in"},identical:{default:"Voer dezelfde waarde in"},imei:{default:"Voer een geldig IMEI-nummer in"},imo:{default:"Voer een geldig IMO-nummer in"},integer:{default:"Voer een geldig getal in"},ip:{default:"Voer een geldig IP adres in",ipv4:"Voer een geldig IPv4 adres in",ipv6:"Voer een geldig IPv6 adres in"},isbn:{default:"Voer een geldig ISBN-nummer in"},isin:{default:"Voer een geldig ISIN-nummer in"},ismn:{default:"Voer een geldig ISMN-nummer in"},issn:{default:"Voer een geldig ISSN-nummer in"},lessThan:{default:"Voer een waarde in gelijk aan of kleiner dan %s",notInclusive:"Voer een waarde in kleiner dan %s"},mac:{default:"Voer een geldig MAC adres in"},meid:{default:"Voer een geldig MEID-nummer in"},notEmpty:{default:"Voer een waarde in"},numeric:{default:"Voer een geldig kommagetal in"},phone:{countries:{AE:"Verenigde Arabische Emiraten",BG:"Bulgarije",BR:"Brazilië",CN:"China",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IN:"Indië",MA:"Marokko",NL:"Nederland",PK:"Pakistan",RO:"Roemenië",RU:"Rusland",SK:"Slowakije",TH:"Thailand",US:"VS",VE:"Venezuela"},country:"Voer een geldig telefoonnummer in uit %s",default:"Voer een geldig telefoonnummer in"},promise:{default:"Voer een geldige waarde in"},regexp:{default:"Voer een waarde in die overeenkomt met het patroon"},remote:{default:"Voer een geldige waarde in"},rtn:{default:"Voer een geldig RTN-nummer in"},sedol:{default:"Voer een geldig SEDOL-nummer in"},siren:{default:"Voer een geldig SIREN-nummer in"},siret:{default:"Voer een geldig SIRET-nummer in"},step:{default:"Voer een meervoud van %s in"},stringCase:{default:"Voer enkel kleine letters in",upper:"Voer enkel hoofdletters in"},stringLength:{between:"Voer tussen tussen %s en %s karakters in",default:"Voer een waarde met de juiste lengte in",less:"Voer minder dan %s karakters in",more:"Voer meer dan %s karakters in"},uri:{default:"Voer een geldige link in"},uuid:{default:"Voer een geldige UUID in",version:"Voer een geldige UUID (versie %s) in"},vat:{countries:{AT:"Oostenrijk",BE:"België",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CY:"Cyprus",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",EE:"Estland",EL:"Griekenland",ES:"Spanje",FI:"Finland",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GR:"Griekenland",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IS:"IJsland",IT:"Italië",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MT:"Malta",NL:"Nederland",NO:"Noorwegen",PL:"Polen",PT:"Portugal",RO:"Roemenië",RS:"Servië",RU:"Rusland",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",VE:"Venezuela",ZA:"Zuid-Afrika"},country:"Voer een geldig BTW-nummer in uit %s",default:"Voer een geldig BTW-nummer in"},vin:{default:"Voer een geldig VIN-nummer in"},zipCode:{countries:{AT:"Oostenrijk",BG:"Bulgarije",BR:"Brazilië",CA:"Canada",CH:"Zwitserland",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IE:"Ierland",IN:"Indië",IT:"Italië",MA:"Marokko",NL:"Nederland",PL:"Polen",PT:"Portugal",RO:"Roemenië",RU:"Rusland",SE:"Zweden",SG:"Singapore",SK:"Slowakije",US:"VS"},country:"Voer een geldige postcode in uit %s",default:"Voer een geldige postcode in"}};return nl_NL})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/no_NO.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/no_NO.js new file mode 100644 index 0000000..e4c2c9e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/no_NO.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.no_NO = factory())); +})(this, (function () { 'use strict'; + + /** + * Norwegian language package + * Translated by @trondulseth + */ + + var no_NO = { + base64: { + default: 'Vennligst fyll ut dette feltet med en gyldig base64-kodet verdi', + }, + between: { + default: 'Vennligst fyll ut dette feltet med en verdi mellom %s og %s', + notInclusive: 'Vennligst tast inn kun en verdi mellom %s og %s', + }, + bic: { + default: 'Vennligst fyll ut dette feltet med et gyldig BIC-nummer', + }, + callback: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + choice: { + between: 'Vennligst velg %s - %s valgmuligheter', + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + less: 'Vennligst velg minst %s valgmuligheter', + more: 'Vennligst velg maks %s valgmuligheter', + }, + color: { + default: 'Vennligst fyll ut dette feltet med en gyldig', + }, + creditCard: { + default: 'Vennligst fyll ut dette feltet med et gyldig kreditkortnummer', + }, + cusip: { + default: 'Vennligst fyll ut dette feltet med et gyldig CUSIP-nummer', + }, + date: { + default: 'Vennligst fyll ut dette feltet med en gyldig dato', + max: 'Vennligst fyll ut dette feltet med en gyldig dato før %s', + min: 'Vennligst fyll ut dette feltet med en gyldig dato etter %s', + range: 'Vennligst fyll ut dette feltet med en gyldig dato mellom %s - %s', + }, + different: { + default: 'Vennligst fyll ut dette feltet med en annen verdi', + }, + digits: { + default: 'Vennligst tast inn kun sifre', + }, + ean: { + default: 'Vennligst fyll ut dette feltet med et gyldig EAN-nummer', + }, + ein: { + default: 'Vennligst fyll ut dette feltet med et gyldig EIN-nummer', + }, + emailAddress: { + default: 'Vennligst fyll ut dette feltet med en gyldig epostadresse', + }, + file: { + default: 'Velg vennligst en gyldig fil', + }, + greaterThan: { + default: 'Vennligst fyll ut dette feltet med en verdi større eller lik %s', + notInclusive: 'Vennligst fyll ut dette feltet med en verdi større enn %s', + }, + grid: { + default: 'Vennligst fyll ut dette feltet med et gyldig GRIDnummer', + }, + hex: { + default: 'Vennligst fyll ut dette feltet med et gyldig hexadecimalt nummer', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'De Forente Arabiske Emirater', + AL: 'Albania', + AO: 'Angola', + AT: 'Østerrike', + AZ: 'Aserbajdsjan', + BA: 'Bosnia-Hercegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Sveits', + CI: 'Elfenbenskysten', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Kapp Verde', + CY: 'Kypros', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Den dominikanske republikk', + DZ: 'Algerie', + EE: 'Estland', + ES: 'Spania', + FI: 'Finland', + FO: 'Færøyene', + FR: 'Frankrike', + GB: 'Storbritannia', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Grønland', + GR: 'Hellas', + GT: 'Guatemala', + HR: 'Kroatia', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kasakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Nederland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi-Arabia', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'øst-Timor', + TN: 'Tunisia', + TR: 'Tyrkia', + VG: 'De Britiske Jomfruøyene', + XK: 'Republikken Kosovo', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig IBAN-nummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien-Hercegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Sveits', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tsjekkia', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spania', + FI: 'Finland', + HR: 'Kroatia', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Makedonia', + NL: 'Nederland', + PL: 'Polen', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Tyrkia', + ZA: 'Sør-Afrika', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer', + }, + identical: { + default: 'Vennligst fyll ut dette feltet med den samme verdi', + }, + imei: { + default: 'Vennligst fyll ut dette feltet med et gyldig IMEI-nummer', + }, + imo: { + default: 'Vennligst fyll ut dette feltet med et gyldig IMO-nummer', + }, + integer: { + default: 'Vennligst fyll ut dette feltet med et gyldig tall', + }, + ip: { + default: 'Vennligst fyll ut dette feltet med en gyldig IP adresse', + ipv4: 'Vennligst fyll ut dette feltet med en gyldig IPv4 adresse', + ipv6: 'Vennligst fyll ut dette feltet med en gyldig IPv6 adresse', + }, + isbn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISBN-nummer', + }, + isin: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISIN-nummer', + }, + ismn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISMN-nummer', + }, + issn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISSN-nummer', + }, + lessThan: { + default: 'Vennligst fyll ut dette feltet med en verdi mindre eller lik %s', + notInclusive: 'Vennligst fyll ut dette feltet med en verdi mindre enn %s', + }, + mac: { + default: 'Vennligst fyll ut dette feltet med en gyldig MAC adresse', + }, + meid: { + default: 'Vennligst fyll ut dette feltet med et gyldig MEID-nummer', + }, + notEmpty: { + default: 'Vennligst fyll ut dette feltet', + }, + numeric: { + default: 'Vennligst fyll ut dette feltet med et gyldig flytende desimaltall', + }, + phone: { + countries: { + AE: 'De Forente Arabiske Emirater', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'Kina', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spania', + FR: 'Frankrike', + GB: 'Storbritannia', + IN: 'India', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Rumenia', + RU: 'Russland', + SK: 'Slovakia', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig telefonnummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig telefonnummer', + }, + promise: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + regexp: { + default: 'Vennligst fyll ut dette feltet med en verdi som matcher mønsteret', + }, + remote: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + rtn: { + default: 'Vennligst fyll ut dette feltet med et gyldig RTN-nummer', + }, + sedol: { + default: 'Vennligst fyll ut dette feltet med et gyldig SEDOL-nummer', + }, + siren: { + default: 'Vennligst fyll ut dette feltet med et gyldig SIREN-nummer', + }, + siret: { + default: 'Vennligst fyll ut dette feltet med et gyldig SIRET-nummer', + }, + step: { + default: 'Vennligst fyll ut dette feltet med et gyldig trinn av %s', + }, + stringCase: { + default: 'Venligst fyll inn dette feltet kun med små bokstaver', + upper: 'Venligst fyll inn dette feltet kun med store bokstaver', + }, + stringLength: { + between: 'Vennligst fyll ut dette feltet med en verdi mellom %s og %s tegn', + default: 'Vennligst fyll ut dette feltet med en verdi av gyldig lengde', + less: 'Vennligst fyll ut dette feltet med mindre enn %s tegn', + more: 'Vennligst fyll ut dette feltet med mer enn %s tegn', + }, + uri: { + default: 'Vennligst fyll ut dette feltet med en gyldig URI', + }, + uuid: { + default: 'Vennligst fyll ut dette feltet med et gyldig UUID-nummer', + version: 'Vennligst fyll ut dette feltet med en gyldig UUID version %s-nummer', + }, + vat: { + countries: { + AT: 'Østerrike', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Hellas', + ES: 'Spania', + FI: 'Finland', + FR: 'Frankrike', + GB: 'Storbritania', + GR: 'Hellas', + HR: 'Kroatia', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italia', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Nederland', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russland', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Sør-Afrika', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig MVA nummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig MVA nummer', + }, + vin: { + default: 'Vennligst fyll ut dette feltet med et gyldig VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Østerrike', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canada', + CH: 'Schweiz', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spania', + FR: 'Frankrike', + GB: 'Storbritannia', + IE: 'Irland', + IN: 'India', + IT: 'Italia', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig postnummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig postnummer', + }, + }; + + return no_NO; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/no_NO.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/no_NO.min.js new file mode 100644 index 0000000..82987ae --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/no_NO.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.no_NO=factory())})(this,(function(){"use strict";var no_NO={base64:{default:"Vennligst fyll ut dette feltet med en gyldig base64-kodet verdi"},between:{default:"Vennligst fyll ut dette feltet med en verdi mellom %s og %s",notInclusive:"Vennligst tast inn kun en verdi mellom %s og %s"},bic:{default:"Vennligst fyll ut dette feltet med et gyldig BIC-nummer"},callback:{default:"Vennligst fyll ut dette feltet med en gyldig verdi"},choice:{between:"Vennligst velg %s - %s valgmuligheter",default:"Vennligst fyll ut dette feltet med en gyldig verdi",less:"Vennligst velg minst %s valgmuligheter",more:"Vennligst velg maks %s valgmuligheter"},color:{default:"Vennligst fyll ut dette feltet med en gyldig"},creditCard:{default:"Vennligst fyll ut dette feltet med et gyldig kreditkortnummer"},cusip:{default:"Vennligst fyll ut dette feltet med et gyldig CUSIP-nummer"},date:{default:"Vennligst fyll ut dette feltet med en gyldig dato",max:"Vennligst fyll ut dette feltet med en gyldig dato før %s",min:"Vennligst fyll ut dette feltet med en gyldig dato etter %s",range:"Vennligst fyll ut dette feltet med en gyldig dato mellom %s - %s"},different:{default:"Vennligst fyll ut dette feltet med en annen verdi"},digits:{default:"Vennligst tast inn kun sifre"},ean:{default:"Vennligst fyll ut dette feltet med et gyldig EAN-nummer"},ein:{default:"Vennligst fyll ut dette feltet med et gyldig EIN-nummer"},emailAddress:{default:"Vennligst fyll ut dette feltet med en gyldig epostadresse"},file:{default:"Velg vennligst en gyldig fil"},greaterThan:{default:"Vennligst fyll ut dette feltet med en verdi større eller lik %s",notInclusive:"Vennligst fyll ut dette feltet med en verdi større enn %s"},grid:{default:"Vennligst fyll ut dette feltet med et gyldig GRIDnummer"},hex:{default:"Vennligst fyll ut dette feltet med et gyldig hexadecimalt nummer"},iban:{countries:{AD:"Andorra",AE:"De Forente Arabiske Emirater",AL:"Albania",AO:"Angola",AT:"Østerrike",AZ:"Aserbajdsjan",BA:"Bosnia-Hercegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Sveits",CI:"Elfenbenskysten",CM:"Kamerun",CR:"Costa Rica",CV:"Kapp Verde",CY:"Kypros",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",DO:"Den dominikanske republikk",DZ:"Algerie",EE:"Estland",ES:"Spania",FI:"Finland",FO:"Færøyene",FR:"Frankrike",GB:"Storbritannia",GE:"Georgia",GI:"Gibraltar",GL:"Grønland",GR:"Hellas",GT:"Guatemala",HR:"Kroatia",HU:"Ungarn",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italia",JO:"Jordan",KW:"Kuwait",KZ:"Kasakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litauen",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagaskar",MK:"Makedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mosambik",NL:"Nederland",NO:"Norge",PK:"Pakistan",PL:"Polen",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi-Arabia",SE:"Sverige",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"øst-Timor",TN:"Tunisia",TR:"Tyrkia",VG:"De Britiske Jomfruøyene",XK:"Republikken Kosovo"},country:"Vennligst fyll ut dette feltet med et gyldig IBAN-nummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig IBAN-nummer"},id:{countries:{BA:"Bosnien-Hercegovina",BG:"Bulgaria",BR:"Brasil",CH:"Sveits",CL:"Chile",CN:"Kina",CZ:"Tsjekkia",DK:"Danmark",EE:"Estland",ES:"Spania",FI:"Finland",HR:"Kroatia",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Latvia",ME:"Montenegro",MK:"Makedonia",NL:"Nederland",PL:"Polen",RO:"Romania",RS:"Serbia",SE:"Sverige",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",TR:"Tyrkia",ZA:"Sør-Afrika"},country:"Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer"},identical:{default:"Vennligst fyll ut dette feltet med den samme verdi"},imei:{default:"Vennligst fyll ut dette feltet med et gyldig IMEI-nummer"},imo:{default:"Vennligst fyll ut dette feltet med et gyldig IMO-nummer"},integer:{default:"Vennligst fyll ut dette feltet med et gyldig tall"},ip:{default:"Vennligst fyll ut dette feltet med en gyldig IP adresse",ipv4:"Vennligst fyll ut dette feltet med en gyldig IPv4 adresse",ipv6:"Vennligst fyll ut dette feltet med en gyldig IPv6 adresse"},isbn:{default:"Vennligst fyll ut dette feltet med ett gyldig ISBN-nummer"},isin:{default:"Vennligst fyll ut dette feltet med ett gyldig ISIN-nummer"},ismn:{default:"Vennligst fyll ut dette feltet med ett gyldig ISMN-nummer"},issn:{default:"Vennligst fyll ut dette feltet med ett gyldig ISSN-nummer"},lessThan:{default:"Vennligst fyll ut dette feltet med en verdi mindre eller lik %s",notInclusive:"Vennligst fyll ut dette feltet med en verdi mindre enn %s"},mac:{default:"Vennligst fyll ut dette feltet med en gyldig MAC adresse"},meid:{default:"Vennligst fyll ut dette feltet med et gyldig MEID-nummer"},notEmpty:{default:"Vennligst fyll ut dette feltet"},numeric:{default:"Vennligst fyll ut dette feltet med et gyldig flytende desimaltall"},phone:{countries:{AE:"De Forente Arabiske Emirater",BG:"Bulgaria",BR:"Brasil",CN:"Kina",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",ES:"Spania",FR:"Frankrike",GB:"Storbritannia",IN:"India",MA:"Marokko",NL:"Nederland",PK:"Pakistan",RO:"Rumenia",RU:"Russland",SK:"Slovakia",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Vennligst fyll ut dette feltet med et gyldig telefonnummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig telefonnummer"},promise:{default:"Vennligst fyll ut dette feltet med en gyldig verdi"},regexp:{default:"Vennligst fyll ut dette feltet med en verdi som matcher mønsteret"},remote:{default:"Vennligst fyll ut dette feltet med en gyldig verdi"},rtn:{default:"Vennligst fyll ut dette feltet med et gyldig RTN-nummer"},sedol:{default:"Vennligst fyll ut dette feltet med et gyldig SEDOL-nummer"},siren:{default:"Vennligst fyll ut dette feltet med et gyldig SIREN-nummer"},siret:{default:"Vennligst fyll ut dette feltet med et gyldig SIRET-nummer"},step:{default:"Vennligst fyll ut dette feltet med et gyldig trinn av %s"},stringCase:{default:"Venligst fyll inn dette feltet kun med små bokstaver",upper:"Venligst fyll inn dette feltet kun med store bokstaver"},stringLength:{between:"Vennligst fyll ut dette feltet med en verdi mellom %s og %s tegn",default:"Vennligst fyll ut dette feltet med en verdi av gyldig lengde",less:"Vennligst fyll ut dette feltet med mindre enn %s tegn",more:"Vennligst fyll ut dette feltet med mer enn %s tegn"},uri:{default:"Vennligst fyll ut dette feltet med en gyldig URI"},uuid:{default:"Vennligst fyll ut dette feltet med et gyldig UUID-nummer",version:"Vennligst fyll ut dette feltet med en gyldig UUID version %s-nummer"},vat:{countries:{AT:"Østerrike",BE:"Belgia",BG:"Bulgaria",BR:"Brasil",CH:"Schweiz",CY:"Cypern",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",EE:"Estland",EL:"Hellas",ES:"Spania",FI:"Finland",FR:"Frankrike",GB:"Storbritania",GR:"Hellas",HR:"Kroatia",HU:"Ungarn",IE:"Irland",IS:"Island",IT:"Italia",LT:"Litauen",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Nederland",NO:"Norge",PL:"Polen",PT:"Portugal",RO:"Romania",RS:"Serbia",RU:"Russland",SE:"Sverige",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Sør-Afrika"},country:"Vennligst fyll ut dette feltet med et gyldig MVA nummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig MVA nummer"},vin:{default:"Vennligst fyll ut dette feltet med et gyldig VIN-nummer"},zipCode:{countries:{AT:"Østerrike",BG:"Bulgaria",BR:"Brasil",CA:"Canada",CH:"Schweiz",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",ES:"Spania",FR:"Frankrike",GB:"Storbritannia",IE:"Irland",IN:"India",IT:"Italia",MA:"Marokko",NL:"Nederland",PL:"Polen",PT:"Portugal",RO:"Romania",RU:"Russland",SE:"Sverige",SG:"Singapore",SK:"Slovakia",US:"USA"},country:"Vennligst fyll ut dette feltet med et gyldig postnummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig postnummer"}};return no_NO})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/pl_PL.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/pl_PL.js new file mode 100644 index 0000000..8e32415 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/pl_PL.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.pl_PL = factory())); +})(this, (function () { 'use strict'; + + /** + * Polish language package + * Translated by @grzesiek + */ + + var pl_PL = { + base64: { + default: 'Wpisz poprawny ciąg znaków zakodowany w base 64', + }, + between: { + default: 'Wprowadź wartość pomiędzy %s i %s', + notInclusive: 'Wprowadź wartość pomiędzy %s i %s (zbiór otwarty)', + }, + bic: { + default: 'Wprowadź poprawny numer BIC', + }, + callback: { + default: 'Wprowadź poprawną wartość', + }, + choice: { + between: 'Wybierz przynajmniej %s i maksymalnie %s opcji', + default: 'Wprowadź poprawną wartość', + less: 'Wybierz przynajmniej %s opcji', + more: 'Wybierz maksymalnie %s opcji', + }, + color: { + default: 'Wprowadź poprawny kolor w formacie', + }, + creditCard: { + default: 'Wprowadź poprawny numer karty kredytowej', + }, + cusip: { + default: 'Wprowadź poprawny numer CUSIP', + }, + date: { + default: 'Wprowadź poprawną datę', + max: 'Wprowadź datę przed %s', + min: 'Wprowadź datę po %s', + range: 'Wprowadź datę pomiędzy %s i %s', + }, + different: { + default: 'Wprowadź inną wartość', + }, + digits: { + default: 'Wprowadź tylko cyfry', + }, + ean: { + default: 'Wprowadź poprawny numer EAN', + }, + ein: { + default: 'Wprowadź poprawny numer EIN', + }, + emailAddress: { + default: 'Wprowadź poprawny adres e-mail', + }, + file: { + default: 'Wybierz prawidłowy plik', + }, + greaterThan: { + default: 'Wprowadź wartość większą bądź równą %s', + notInclusive: 'Wprowadź wartość większą niż %s', + }, + grid: { + default: 'Wprowadź poprawny numer GRId', + }, + hex: { + default: 'Wprowadź poprawną liczbę w formacie heksadecymalnym', + }, + iban: { + countries: { + AD: 'Andora', + AE: 'Zjednoczone Emiraty Arabskie', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbejdżan', + BA: 'Bośnia i Hercegowina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bułgaria', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazylia', + CH: 'Szwajcaria', + CI: 'Wybrzeże Kości Słoniowej', + CM: 'Kamerun', + CR: 'Kostaryka', + CV: 'Republika Zielonego Przylądka', + CY: 'Cypr', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + DO: 'Dominikana', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Hiszpania', + FI: 'Finlandia', + FO: 'Wyspy Owcze', + FR: 'Francja', + GB: 'Wielka Brytania', + GE: 'Gruzja', + GI: 'Gibraltar', + GL: 'Grenlandia', + GR: 'Grecja', + GT: 'Gwatemala', + HR: 'Chorwacja', + HU: 'Węgry', + IE: 'Irlandia', + IL: 'Izrael', + IR: 'Iran', + IS: 'Islandia', + IT: 'Włochy', + JO: 'Jordania', + KW: 'Kuwejt', + KZ: 'Kazahstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Litwa', + LU: 'Luksemburg', + LV: 'Łotwa', + MC: 'Monako', + MD: 'Mołdawia', + ME: 'Czarnogóra', + MG: 'Madagaskar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauretania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Holandia', + NO: 'Norwegia', + PK: 'Pakistan', + PL: 'Polska', + PS: 'Palestyna', + PT: 'Portugalia', + QA: 'Katar', + RO: 'Rumunia', + RS: 'Serbia', + SA: 'Arabia Saudyjska', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Wschodni', + TN: 'Tunezja', + TR: 'Turcja', + VG: 'Brytyjskie Wyspy Dziewicze', + XK: 'Republika Kosowa', + }, + country: 'Wprowadź poprawny numer IBAN w kraju %s', + default: 'Wprowadź poprawny numer IBAN', + }, + id: { + countries: { + BA: 'Bośnia i Hercegowina', + BG: 'Bułgaria', + BR: 'Brazylia', + CH: 'Szwajcaria', + CL: 'Chile', + CN: 'Chiny', + CZ: 'Czechy', + DK: 'Dania', + EE: 'Estonia', + ES: 'Hiszpania', + FI: 'Finlandia', + HR: 'Chorwacja', + IE: 'Irlandia', + IS: 'Islandia', + LT: 'Litwa', + LV: 'Łotwa', + ME: 'Czarnogóra', + MK: 'Macedonia', + NL: 'Holandia', + PL: 'Polska', + RO: 'Rumunia', + RS: 'Serbia', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + SM: 'San Marino', + TH: 'Tajlandia', + TR: 'Turcja', + ZA: 'Republika Południowej Afryki', + }, + country: 'Wprowadź poprawny numer identyfikacyjny w kraju %s', + default: 'Wprowadź poprawny numer identyfikacyjny', + }, + identical: { + default: 'Wprowadź taką samą wartość', + }, + imei: { + default: 'Wprowadź poprawny numer IMEI', + }, + imo: { + default: 'Wprowadź poprawny numer IMO', + }, + integer: { + default: 'Wprowadź poprawną liczbę całkowitą', + }, + ip: { + default: 'Wprowadź poprawny adres IP', + ipv4: 'Wprowadź poprawny adres IPv4', + ipv6: 'Wprowadź poprawny adres IPv6', + }, + isbn: { + default: 'Wprowadź poprawny numer ISBN', + }, + isin: { + default: 'Wprowadź poprawny numer ISIN', + }, + ismn: { + default: 'Wprowadź poprawny numer ISMN', + }, + issn: { + default: 'Wprowadź poprawny numer ISSN', + }, + lessThan: { + default: 'Wprowadź wartość mniejszą bądź równą %s', + notInclusive: 'Wprowadź wartość mniejszą niż %s', + }, + mac: { + default: 'Wprowadź poprawny adres MAC', + }, + meid: { + default: 'Wprowadź poprawny numer MEID', + }, + notEmpty: { + default: 'Wprowadź wartość, pole nie może być puste', + }, + numeric: { + default: 'Wprowadź poprawną liczbę zmiennoprzecinkową', + }, + phone: { + countries: { + AE: 'Zjednoczone Emiraty Arabskie', + BG: 'Bułgaria', + BR: 'Brazylia', + CN: 'Chiny', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + ES: 'Hiszpania', + FR: 'Francja', + GB: 'Wielka Brytania', + IN: 'Indie', + MA: 'Maroko', + NL: 'Holandia', + PK: 'Pakistan', + RO: 'Rumunia', + RU: 'Rosja', + SK: 'Słowacja', + TH: 'Tajlandia', + US: 'USA', + VE: 'Wenezuela', + }, + country: 'Wprowadź poprawny numer telefonu w kraju %s', + default: 'Wprowadź poprawny numer telefonu', + }, + promise: { + default: 'Wprowadź poprawną wartość', + }, + regexp: { + default: 'Wprowadź wartość pasującą do wzoru', + }, + remote: { + default: 'Wprowadź poprawną wartość', + }, + rtn: { + default: 'Wprowadź poprawny numer RTN', + }, + sedol: { + default: 'Wprowadź poprawny numer SEDOL', + }, + siren: { + default: 'Wprowadź poprawny numer SIREN', + }, + siret: { + default: 'Wprowadź poprawny numer SIRET', + }, + step: { + default: 'Wprowadź wielokrotność %s', + }, + stringCase: { + default: 'Wprowadź tekst składającą się tylko z małych liter', + upper: 'Wprowadź tekst składający się tylko z dużych liter', + }, + stringLength: { + between: 'Wprowadź wartość składająca się z min %s i max %s znaków', + default: 'Wprowadź wartość o poprawnej długości', + less: 'Wprowadź mniej niż %s znaków', + more: 'Wprowadź więcej niż %s znaków', + }, + uri: { + default: 'Wprowadź poprawny URI', + }, + uuid: { + default: 'Wprowadź poprawny numer UUID', + version: 'Wprowadź poprawny numer UUID w wersji %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgia', + BG: 'Bułgaria', + BR: 'Brazylia', + CH: 'Szwajcaria', + CY: 'Cypr', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + EE: 'Estonia', + EL: 'Grecja', + ES: 'Hiszpania', + FI: 'Finlandia', + FR: 'Francja', + GB: 'Wielka Brytania', + GR: 'Grecja', + HR: 'Chorwacja', + HU: 'Węgry', + IE: 'Irlandia', + IS: 'Islandia', + IT: 'Włochy', + LT: 'Litwa', + LU: 'Luksemburg', + LV: 'Łotwa', + MT: 'Malta', + NL: 'Holandia', + NO: 'Norwegia', + PL: 'Polska', + PT: 'Portugalia', + RO: 'Rumunia', + RS: 'Serbia', + RU: 'Rosja', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + VE: 'Wenezuela', + ZA: 'Republika Południowej Afryki', + }, + country: 'Wprowadź poprawny numer VAT w kraju %s', + default: 'Wprowadź poprawny numer VAT', + }, + vin: { + default: 'Wprowadź poprawny numer VIN', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bułgaria', + BR: 'Brazylia', + CA: 'Kanada', + CH: 'Szwajcaria', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + ES: 'Hiszpania', + FR: 'Francja', + GB: 'Wielka Brytania', + IE: 'Irlandia', + IN: 'Indie', + IT: 'Włochy', + MA: 'Maroko', + NL: 'Holandia', + PL: 'Polska', + PT: 'Portugalia', + RO: 'Rumunia', + RU: 'Rosja', + SE: 'Szwecja', + SG: 'Singapur', + SK: 'Słowacja', + US: 'USA', + }, + country: 'Wprowadź poprawny kod pocztowy w kraju %s', + default: 'Wprowadź poprawny kod pocztowy', + }, + }; + + return pl_PL; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/pl_PL.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/pl_PL.min.js new file mode 100644 index 0000000..8ac13c2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/pl_PL.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.pl_PL=factory())})(this,(function(){"use strict";var pl_PL={base64:{default:"Wpisz poprawny ciąg znaków zakodowany w base 64"},between:{default:"Wprowadź wartość pomiędzy %s i %s",notInclusive:"Wprowadź wartość pomiędzy %s i %s (zbiór otwarty)"},bic:{default:"Wprowadź poprawny numer BIC"},callback:{default:"Wprowadź poprawną wartość"},choice:{between:"Wybierz przynajmniej %s i maksymalnie %s opcji",default:"Wprowadź poprawną wartość",less:"Wybierz przynajmniej %s opcji",more:"Wybierz maksymalnie %s opcji"},color:{default:"Wprowadź poprawny kolor w formacie"},creditCard:{default:"Wprowadź poprawny numer karty kredytowej"},cusip:{default:"Wprowadź poprawny numer CUSIP"},date:{default:"Wprowadź poprawną datę",max:"Wprowadź datę przed %s",min:"Wprowadź datę po %s",range:"Wprowadź datę pomiędzy %s i %s"},different:{default:"Wprowadź inną wartość"},digits:{default:"Wprowadź tylko cyfry"},ean:{default:"Wprowadź poprawny numer EAN"},ein:{default:"Wprowadź poprawny numer EIN"},emailAddress:{default:"Wprowadź poprawny adres e-mail"},file:{default:"Wybierz prawidłowy plik"},greaterThan:{default:"Wprowadź wartość większą bądź równą %s",notInclusive:"Wprowadź wartość większą niż %s"},grid:{default:"Wprowadź poprawny numer GRId"},hex:{default:"Wprowadź poprawną liczbę w formacie heksadecymalnym"},iban:{countries:{AD:"Andora",AE:"Zjednoczone Emiraty Arabskie",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbejdżan",BA:"Bośnia i Hercegowina",BE:"Belgia",BF:"Burkina Faso",BG:"Bułgaria",BH:"Bahrajn",BI:"Burundi",BJ:"Benin",BR:"Brazylia",CH:"Szwajcaria",CI:"Wybrzeże Kości Słoniowej",CM:"Kamerun",CR:"Kostaryka",CV:"Republika Zielonego Przylądka",CY:"Cypr",CZ:"Czechy",DE:"Niemcy",DK:"Dania",DO:"Dominikana",DZ:"Algeria",EE:"Estonia",ES:"Hiszpania",FI:"Finlandia",FO:"Wyspy Owcze",FR:"Francja",GB:"Wielka Brytania",GE:"Gruzja",GI:"Gibraltar",GL:"Grenlandia",GR:"Grecja",GT:"Gwatemala",HR:"Chorwacja",HU:"Węgry",IE:"Irlandia",IL:"Izrael",IR:"Iran",IS:"Islandia",IT:"Włochy",JO:"Jordania",KW:"Kuwejt",KZ:"Kazahstan",LB:"Liban",LI:"Liechtenstein",LT:"Litwa",LU:"Luksemburg",LV:"Łotwa",MC:"Monako",MD:"Mołdawia",ME:"Czarnogóra",MG:"Madagaskar",MK:"Macedonia",ML:"Mali",MR:"Mauretania",MT:"Malta",MU:"Mauritius",MZ:"Mozambik",NL:"Holandia",NO:"Norwegia",PK:"Pakistan",PL:"Polska",PS:"Palestyna",PT:"Portugalia",QA:"Katar",RO:"Rumunia",RS:"Serbia",SA:"Arabia Saudyjska",SE:"Szwecja",SI:"Słowenia",SK:"Słowacja",SM:"San Marino",SN:"Senegal",TL:"Timor Wschodni",TN:"Tunezja",TR:"Turcja",VG:"Brytyjskie Wyspy Dziewicze",XK:"Republika Kosowa"},country:"Wprowadź poprawny numer IBAN w kraju %s",default:"Wprowadź poprawny numer IBAN"},id:{countries:{BA:"Bośnia i Hercegowina",BG:"Bułgaria",BR:"Brazylia",CH:"Szwajcaria",CL:"Chile",CN:"Chiny",CZ:"Czechy",DK:"Dania",EE:"Estonia",ES:"Hiszpania",FI:"Finlandia",HR:"Chorwacja",IE:"Irlandia",IS:"Islandia",LT:"Litwa",LV:"Łotwa",ME:"Czarnogóra",MK:"Macedonia",NL:"Holandia",PL:"Polska",RO:"Rumunia",RS:"Serbia",SE:"Szwecja",SI:"Słowenia",SK:"Słowacja",SM:"San Marino",TH:"Tajlandia",TR:"Turcja",ZA:"Republika Południowej Afryki"},country:"Wprowadź poprawny numer identyfikacyjny w kraju %s",default:"Wprowadź poprawny numer identyfikacyjny"},identical:{default:"Wprowadź taką samą wartość"},imei:{default:"Wprowadź poprawny numer IMEI"},imo:{default:"Wprowadź poprawny numer IMO"},integer:{default:"Wprowadź poprawną liczbę całkowitą"},ip:{default:"Wprowadź poprawny adres IP",ipv4:"Wprowadź poprawny adres IPv4",ipv6:"Wprowadź poprawny adres IPv6"},isbn:{default:"Wprowadź poprawny numer ISBN"},isin:{default:"Wprowadź poprawny numer ISIN"},ismn:{default:"Wprowadź poprawny numer ISMN"},issn:{default:"Wprowadź poprawny numer ISSN"},lessThan:{default:"Wprowadź wartość mniejszą bądź równą %s",notInclusive:"Wprowadź wartość mniejszą niż %s"},mac:{default:"Wprowadź poprawny adres MAC"},meid:{default:"Wprowadź poprawny numer MEID"},notEmpty:{default:"Wprowadź wartość, pole nie może być puste"},numeric:{default:"Wprowadź poprawną liczbę zmiennoprzecinkową"},phone:{countries:{AE:"Zjednoczone Emiraty Arabskie",BG:"Bułgaria",BR:"Brazylia",CN:"Chiny",CZ:"Czechy",DE:"Niemcy",DK:"Dania",ES:"Hiszpania",FR:"Francja",GB:"Wielka Brytania",IN:"Indie",MA:"Maroko",NL:"Holandia",PK:"Pakistan",RO:"Rumunia",RU:"Rosja",SK:"Słowacja",TH:"Tajlandia",US:"USA",VE:"Wenezuela"},country:"Wprowadź poprawny numer telefonu w kraju %s",default:"Wprowadź poprawny numer telefonu"},promise:{default:"Wprowadź poprawną wartość"},regexp:{default:"Wprowadź wartość pasującą do wzoru"},remote:{default:"Wprowadź poprawną wartość"},rtn:{default:"Wprowadź poprawny numer RTN"},sedol:{default:"Wprowadź poprawny numer SEDOL"},siren:{default:"Wprowadź poprawny numer SIREN"},siret:{default:"Wprowadź poprawny numer SIRET"},step:{default:"Wprowadź wielokrotność %s"},stringCase:{default:"Wprowadź tekst składającą się tylko z małych liter",upper:"Wprowadź tekst składający się tylko z dużych liter"},stringLength:{between:"Wprowadź wartość składająca się z min %s i max %s znaków",default:"Wprowadź wartość o poprawnej długości",less:"Wprowadź mniej niż %s znaków",more:"Wprowadź więcej niż %s znaków"},uri:{default:"Wprowadź poprawny URI"},uuid:{default:"Wprowadź poprawny numer UUID",version:"Wprowadź poprawny numer UUID w wersji %s"},vat:{countries:{AT:"Austria",BE:"Belgia",BG:"Bułgaria",BR:"Brazylia",CH:"Szwajcaria",CY:"Cypr",CZ:"Czechy",DE:"Niemcy",DK:"Dania",EE:"Estonia",EL:"Grecja",ES:"Hiszpania",FI:"Finlandia",FR:"Francja",GB:"Wielka Brytania",GR:"Grecja",HR:"Chorwacja",HU:"Węgry",IE:"Irlandia",IS:"Islandia",IT:"Włochy",LT:"Litwa",LU:"Luksemburg",LV:"Łotwa",MT:"Malta",NL:"Holandia",NO:"Norwegia",PL:"Polska",PT:"Portugalia",RO:"Rumunia",RS:"Serbia",RU:"Rosja",SE:"Szwecja",SI:"Słowenia",SK:"Słowacja",VE:"Wenezuela",ZA:"Republika Południowej Afryki"},country:"Wprowadź poprawny numer VAT w kraju %s",default:"Wprowadź poprawny numer VAT"},vin:{default:"Wprowadź poprawny numer VIN"},zipCode:{countries:{AT:"Austria",BG:"Bułgaria",BR:"Brazylia",CA:"Kanada",CH:"Szwajcaria",CZ:"Czechy",DE:"Niemcy",DK:"Dania",ES:"Hiszpania",FR:"Francja",GB:"Wielka Brytania",IE:"Irlandia",IN:"Indie",IT:"Włochy",MA:"Maroko",NL:"Holandia",PL:"Polska",PT:"Portugalia",RO:"Rumunia",RU:"Rosja",SE:"Szwecja",SG:"Singapur",SK:"Słowacja",US:"USA"},country:"Wprowadź poprawny kod pocztowy w kraju %s",default:"Wprowadź poprawny kod pocztowy"}};return pl_PL})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_BR.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_BR.js new file mode 100644 index 0000000..ed9786a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_BR.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.pt_BR = factory())); +})(this, (function () { 'use strict'; + + /** + * Portuguese (Brazil) language package + * Translated by @marcuscarvalho6. Improved by @dgmike + */ + + var pt_BR = { + base64: { + default: 'Por favor insira um código base 64 válido', + }, + between: { + default: 'Por favor insira um valor entre %s e %s', + notInclusive: 'Por favor insira um valor estritamente entre %s e %s', + }, + bic: { + default: 'Por favor insira um número BIC válido', + }, + callback: { + default: 'Por favor insira um valor válido', + }, + choice: { + between: 'Por favor escolha de %s a %s opções', + default: 'Por favor insira um valor válido', + less: 'Por favor escolha %s opções no mínimo', + more: 'Por favor escolha %s opções no máximo', + }, + color: { + default: 'Por favor insira uma cor válida', + }, + creditCard: { + default: 'Por favor insira um número de cartão de crédito válido', + }, + cusip: { + default: 'Por favor insira um número CUSIP válido', + }, + date: { + default: 'Por favor insira uma data válida', + max: 'Por favor insira uma data anterior a %s', + min: 'Por favor insira uma data posterior a %s', + range: 'Por favor insira uma data entre %s e %s', + }, + different: { + default: 'Por favor insira valores diferentes', + }, + digits: { + default: 'Por favor insira somente dígitos', + }, + ean: { + default: 'Por favor insira um número EAN válido', + }, + ein: { + default: 'Por favor insira um número EIN válido', + }, + emailAddress: { + default: 'Por favor insira um email válido', + }, + file: { + default: 'Por favor escolha um arquivo válido', + }, + greaterThan: { + default: 'Por favor insira um valor maior ou igual a %s', + notInclusive: 'Por favor insira um valor maior do que %s', + }, + grid: { + default: 'Por favor insira uma GRID válida', + }, + hex: { + default: 'Por favor insira um hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirados Árabes', + AL: 'Albânia', + AO: 'Angola', + AT: 'Áustria', + AZ: 'Azerbaijão', + BA: 'Bósnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgária', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suíça', + CM: 'Camarões', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argélia', + EE: 'Estónia', + ES: 'Espanha', + FI: 'Finlândia', + FO: 'Ilhas Faroé', + FR: 'França', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlândia', + GR: 'Grécia', + GT: 'Guatemala', + HR: 'Croácia', + HU: 'Hungria', + IC: 'Costa do Marfim', + IE: 'Ireland', + IL: 'Israel', + IR: 'Irão', + IS: 'Islândia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Cazaquistão', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MC: 'Mônaco', + MD: 'Moldávia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedónia', + ML: 'Mali', + MR: 'Mauritânia', + MT: 'Malta', + MU: 'Maurício', + MZ: 'Moçambique', + NL: 'Países Baixos', + NO: 'Noruega', + PK: 'Paquistão', + PL: 'Polônia', + PS: 'Palestino', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roménia', + RS: 'Sérvia', + SA: 'Arábia Saudita', + SE: 'Suécia', + SI: 'Eslovénia', + SK: 'Eslováquia', + SM: 'San Marino', + SN: 'Senegal', + TI: 'Itália', + TL: 'Timor Leste', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Ilhas Virgens Britânicas', + XK: 'República do Kosovo', + }, + country: 'Por favor insira um número IBAN válido em %s', + default: 'Por favor insira um número IBAN válido', + }, + id: { + countries: { + BA: 'Bósnia e Herzegovina', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estônia', + ES: 'Espanha', + FI: 'Finlândia', + HR: 'Croácia', + IE: 'Irlanda', + IS: 'Islândia', + LT: 'Lituânia', + LV: 'Letónia', + ME: 'Montenegro', + MK: 'Macedónia', + NL: 'Holanda', + PL: 'Polônia', + RO: 'Roménia', + RS: 'Sérvia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + SM: 'San Marino', + TH: 'Tailândia', + TR: 'Turquia', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número de indentificação válido em %s', + default: 'Por favor insira um código de identificação válido', + }, + identical: { + default: 'Por favor, insira o mesmo valor', + }, + imei: { + default: 'Por favor insira um IMEI válido', + }, + imo: { + default: 'Por favor insira um IMO válido', + }, + integer: { + default: 'Por favor insira um número inteiro válido', + }, + ip: { + default: 'Por favor insira um IP válido', + ipv4: 'Por favor insira um endereço de IPv4 válido', + ipv6: 'Por favor insira um endereço de IPv6 válido', + }, + isbn: { + default: 'Por favor insira um ISBN válido', + }, + isin: { + default: 'Por favor insira um ISIN válido', + }, + ismn: { + default: 'Por favor insira um ISMN válido', + }, + issn: { + default: 'Por favor insira um ISSN válido', + }, + lessThan: { + default: 'Por favor insira um valor menor ou igual a %s', + notInclusive: 'Por favor insira um valor menor do que %s', + }, + mac: { + default: 'Por favor insira um endereço MAC válido', + }, + meid: { + default: 'Por favor insira um MEID válido', + }, + notEmpty: { + default: 'Por favor insira um valor', + }, + numeric: { + default: 'Por favor insira um número real válido', + }, + phone: { + countries: { + AE: 'Emirados Árabes', + BG: 'Bulgária', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IN: 'Índia', + MA: 'Marrocos', + NL: 'Países Baixos', + PK: 'Paquistão', + RO: 'Roménia', + RU: 'Rússia', + SK: 'Eslováquia', + TH: 'Tailândia', + US: 'EUA', + VE: 'Venezuela', + }, + country: 'Por favor insira um número de telefone válido em %s', + default: 'Por favor insira um número de telefone válido', + }, + promise: { + default: 'Por favor insira um valor válido', + }, + regexp: { + default: 'Por favor insira um valor correspondente ao padrão', + }, + remote: { + default: 'Por favor insira um valor válido', + }, + rtn: { + default: 'Por favor insira um número válido RTN', + }, + sedol: { + default: 'Por favor insira um número válido SEDOL', + }, + siren: { + default: 'Por favor insira um número válido SIREN', + }, + siret: { + default: 'Por favor insira um número válido SIRET', + }, + step: { + default: 'Por favor insira um passo válido %s', + }, + stringCase: { + default: 'Por favor, digite apenas caracteres minúsculos', + upper: 'Por favor, digite apenas caracteres maiúsculos', + }, + stringLength: { + between: 'Por favor insira um valor entre %s e %s caracteres', + default: 'Por favor insira um valor com comprimento válido', + less: 'Por favor insira menos de %s caracteres', + more: 'Por favor insira mais de %s caracteres', + }, + uri: { + default: 'Por favor insira um URI válido', + }, + uuid: { + default: 'Por favor insira um número válido UUID', + version: 'Por favor insira uma versão %s UUID válida', + }, + vat: { + countries: { + AT: 'Áustria', + BE: 'Bélgica', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + EE: 'Estônia', + EL: 'Grécia', + ES: 'Espanha', + FI: 'Finlândia', + FR: 'França', + GB: 'Reino Unido', + GR: 'Grécia', + HR: 'Croácia', + HU: 'Hungria', + IE: 'Irlanda', + IS: 'Islândia', + IT: 'Itália', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MT: 'Malta', + NL: 'Holanda', + NO: 'Norway', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RS: 'Sérvia', + RU: 'Rússia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + VE: 'Venezuela', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número VAT válido em %s', + default: 'Por favor insira um VAT válido', + }, + vin: { + default: 'Por favor insira um VIN válido', + }, + zipCode: { + countries: { + AT: 'Áustria', + BG: 'Bulgária', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suíça', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itália', + MA: 'Marrocos', + NL: 'Holanda', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RU: 'Rússia', + SE: 'Suécia', + SG: 'Cingapura', + SK: 'Eslováquia', + US: 'EUA', + }, + country: 'Por favor insira um código postal válido em %s', + default: 'Por favor insira um código postal válido', + }, + }; + + return pt_BR; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_BR.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_BR.min.js new file mode 100644 index 0000000..bec2258 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_BR.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.pt_BR=factory())})(this,(function(){"use strict";var pt_BR={base64:{default:"Por favor insira um código base 64 válido"},between:{default:"Por favor insira um valor entre %s e %s",notInclusive:"Por favor insira um valor estritamente entre %s e %s"},bic:{default:"Por favor insira um número BIC válido"},callback:{default:"Por favor insira um valor válido"},choice:{between:"Por favor escolha de %s a %s opções",default:"Por favor insira um valor válido",less:"Por favor escolha %s opções no mínimo",more:"Por favor escolha %s opções no máximo"},color:{default:"Por favor insira uma cor válida"},creditCard:{default:"Por favor insira um número de cartão de crédito válido"},cusip:{default:"Por favor insira um número CUSIP válido"},date:{default:"Por favor insira uma data válida",max:"Por favor insira uma data anterior a %s",min:"Por favor insira uma data posterior a %s",range:"Por favor insira uma data entre %s e %s"},different:{default:"Por favor insira valores diferentes"},digits:{default:"Por favor insira somente dígitos"},ean:{default:"Por favor insira um número EAN válido"},ein:{default:"Por favor insira um número EIN válido"},emailAddress:{default:"Por favor insira um email válido"},file:{default:"Por favor escolha um arquivo válido"},greaterThan:{default:"Por favor insira um valor maior ou igual a %s",notInclusive:"Por favor insira um valor maior do que %s"},grid:{default:"Por favor insira uma GRID válida"},hex:{default:"Por favor insira um hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emirados Árabes",AL:"Albânia",AO:"Angola",AT:"Áustria",AZ:"Azerbaijão",BA:"Bósnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgária",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Suíça",CM:"Camarões",CR:"Costa Rica",CV:"Cabo Verde",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argélia",EE:"Estónia",ES:"Espanha",FI:"Finlândia",FO:"Ilhas Faroé",FR:"França",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlândia",GR:"Grécia",GT:"Guatemala",HR:"Croácia",HU:"Hungria",IC:"Costa do Marfim",IE:"Ireland",IL:"Israel",IR:"Irão",IS:"Islândia",JO:"Jordan",KW:"Kuwait",KZ:"Cazaquistão",LB:"Líbano",LI:"Liechtenstein",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MC:"Mônaco",MD:"Moldávia",ME:"Montenegro",MG:"Madagascar",MK:"Macedónia",ML:"Mali",MR:"Mauritânia",MT:"Malta",MU:"Maurício",MZ:"Moçambique",NL:"Países Baixos",NO:"Noruega",PK:"Paquistão",PL:"Polônia",PS:"Palestino",PT:"Portugal",QA:"Qatar",RO:"Roménia",RS:"Sérvia",SA:"Arábia Saudita",SE:"Suécia",SI:"Eslovénia",SK:"Eslováquia",SM:"San Marino",SN:"Senegal",TI:"Itália",TL:"Timor Leste",TN:"Tunísia",TR:"Turquia",VG:"Ilhas Virgens Britânicas",XK:"República do Kosovo"},country:"Por favor insira um número IBAN válido em %s",default:"Por favor insira um número IBAN válido"},id:{countries:{BA:"Bósnia e Herzegovina",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estônia",ES:"Espanha",FI:"Finlândia",HR:"Croácia",IE:"Irlanda",IS:"Islândia",LT:"Lituânia",LV:"Letónia",ME:"Montenegro",MK:"Macedónia",NL:"Holanda",PL:"Polônia",RO:"Roménia",RS:"Sérvia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",SM:"San Marino",TH:"Tailândia",TR:"Turquia",ZA:"África do Sul"},country:"Por favor insira um número de indentificação válido em %s",default:"Por favor insira um código de identificação válido"},identical:{default:"Por favor, insira o mesmo valor"},imei:{default:"Por favor insira um IMEI válido"},imo:{default:"Por favor insira um IMO válido"},integer:{default:"Por favor insira um número inteiro válido"},ip:{default:"Por favor insira um IP válido",ipv4:"Por favor insira um endereço de IPv4 válido",ipv6:"Por favor insira um endereço de IPv6 válido"},isbn:{default:"Por favor insira um ISBN válido"},isin:{default:"Por favor insira um ISIN válido"},ismn:{default:"Por favor insira um ISMN válido"},issn:{default:"Por favor insira um ISSN válido"},lessThan:{default:"Por favor insira um valor menor ou igual a %s",notInclusive:"Por favor insira um valor menor do que %s"},mac:{default:"Por favor insira um endereço MAC válido"},meid:{default:"Por favor insira um MEID válido"},notEmpty:{default:"Por favor insira um valor"},numeric:{default:"Por favor insira um número real válido"},phone:{countries:{AE:"Emirados Árabes",BG:"Bulgária",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IN:"Índia",MA:"Marrocos",NL:"Países Baixos",PK:"Paquistão",RO:"Roménia",RU:"Rússia",SK:"Eslováquia",TH:"Tailândia",US:"EUA",VE:"Venezuela"},country:"Por favor insira um número de telefone válido em %s",default:"Por favor insira um número de telefone válido"},promise:{default:"Por favor insira um valor válido"},regexp:{default:"Por favor insira um valor correspondente ao padrão"},remote:{default:"Por favor insira um valor válido"},rtn:{default:"Por favor insira um número válido RTN"},sedol:{default:"Por favor insira um número válido SEDOL"},siren:{default:"Por favor insira um número válido SIREN"},siret:{default:"Por favor insira um número válido SIRET"},step:{default:"Por favor insira um passo válido %s"},stringCase:{default:"Por favor, digite apenas caracteres minúsculos",upper:"Por favor, digite apenas caracteres maiúsculos"},stringLength:{between:"Por favor insira um valor entre %s e %s caracteres",default:"Por favor insira um valor com comprimento válido",less:"Por favor insira menos de %s caracteres",more:"Por favor insira mais de %s caracteres"},uri:{default:"Por favor insira um URI válido"},uuid:{default:"Por favor insira um número válido UUID",version:"Por favor insira uma versão %s UUID válida"},vat:{countries:{AT:"Áustria",BE:"Bélgica",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",EE:"Estônia",EL:"Grécia",ES:"Espanha",FI:"Finlândia",FR:"França",GB:"Reino Unido",GR:"Grécia",HR:"Croácia",HU:"Hungria",IE:"Irlanda",IS:"Islândia",IT:"Itália",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MT:"Malta",NL:"Holanda",NO:"Norway",PL:"Polônia",PT:"Portugal",RO:"Roménia",RS:"Sérvia",RU:"Rússia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",VE:"Venezuela",ZA:"África do Sul"},country:"Por favor insira um número VAT válido em %s",default:"Por favor insira um VAT válido"},vin:{default:"Por favor insira um VIN válido"},zipCode:{countries:{AT:"Áustria",BG:"Bulgária",BR:"Brasil",CA:"Canadá",CH:"Suíça",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IE:"Irlanda",IN:"Índia",IT:"Itália",MA:"Marrocos",NL:"Holanda",PL:"Polônia",PT:"Portugal",RO:"Roménia",RU:"Rússia",SE:"Suécia",SG:"Cingapura",SK:"Eslováquia",US:"EUA"},country:"Por favor insira um código postal válido em %s",default:"Por favor insira um código postal válido"}};return pt_BR})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_PT.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_PT.js new file mode 100644 index 0000000..99b3d3f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_PT.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.pt_PT = factory())); +})(this, (function () { 'use strict'; + + /** + * Portuguese (Portugal) language package + * Translated by @rtbfreitas + */ + + var pt_PT = { + base64: { + default: 'Por favor insira um código base 64 válido', + }, + between: { + default: 'Por favor insira um valor entre %s e %s', + notInclusive: 'Por favor insira um valor estritamente entre %s e %s', + }, + bic: { + default: 'Por favor insira um número BIC válido', + }, + callback: { + default: 'Por favor insira um valor válido', + }, + choice: { + between: 'Por favor escolha de %s a %s opções', + default: 'Por favor insira um valor válido', + less: 'Por favor escolha %s opções no mínimo', + more: 'Por favor escolha %s opções no máximo', + }, + color: { + default: 'Por favor insira uma cor válida', + }, + creditCard: { + default: 'Por favor insira um número de cartão de crédito válido', + }, + cusip: { + default: 'Por favor insira um número CUSIP válido', + }, + date: { + default: 'Por favor insira uma data válida', + max: 'Por favor insira uma data anterior a %s', + min: 'Por favor insira uma data posterior a %s', + range: 'Por favor insira uma data entre %s e %s', + }, + different: { + default: 'Por favor insira valores diferentes', + }, + digits: { + default: 'Por favor insira somente dígitos', + }, + ean: { + default: 'Por favor insira um número EAN válido', + }, + ein: { + default: 'Por favor insira um número EIN válido', + }, + emailAddress: { + default: 'Por favor insira um email válido', + }, + file: { + default: 'Por favor escolha um arquivo válido', + }, + greaterThan: { + default: 'Por favor insira um valor maior ou igual a %s', + notInclusive: 'Por favor insira um valor maior do que %s', + }, + grid: { + default: 'Por favor insira uma GRID válida', + }, + hex: { + default: 'Por favor insira um hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirados Árabes', + AL: 'Albânia', + AO: 'Angola', + AT: 'Áustria', + AZ: 'Azerbaijão', + BA: 'Bósnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgária', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suíça', + CM: 'Camarões', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argélia', + EE: 'Estónia', + ES: 'Espanha', + FI: 'Finlândia', + FO: 'Ilhas Faroé', + FR: 'França', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlândia', + GR: 'Grécia', + GT: 'Guatemala', + HR: 'Croácia', + HU: 'Hungria', + IC: 'Costa do Marfim', + IE: 'Ireland', + IL: 'Israel', + IR: 'Irão', + IS: 'Islândia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Cazaquistão', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MC: 'Mônaco', + MD: 'Moldávia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedónia', + ML: 'Mali', + MR: 'Mauritânia', + MT: 'Malta', + MU: 'Maurício', + MZ: 'Moçambique', + NL: 'Países Baixos', + NO: 'Noruega', + PK: 'Paquistão', + PL: 'Polônia', + PS: 'Palestino', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roménia', + RS: 'Sérvia', + SA: 'Arábia Saudita', + SE: 'Suécia', + SI: 'Eslovénia', + SK: 'Eslováquia', + SM: 'San Marino', + SN: 'Senegal', + TI: 'Itália', + TL: 'Timor Leste', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Ilhas Virgens Britânicas', + XK: 'República do Kosovo', + }, + country: 'Por favor insira um número IBAN válido em %s', + default: 'Por favor insira um número IBAN válido', + }, + id: { + countries: { + BA: 'Bósnia e Herzegovina', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estônia', + ES: 'Espanha', + FI: 'Finlândia', + HR: 'Croácia', + IE: 'Irlanda', + IS: 'Islândia', + LT: 'Lituânia', + LV: 'Letónia', + ME: 'Montenegro', + MK: 'Macedónia', + NL: 'Holanda', + PL: 'Polônia', + RO: 'Roménia', + RS: 'Sérvia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + SM: 'San Marino', + TH: 'Tailândia', + TR: 'Turquia', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número de indentificação válido em %s', + default: 'Por favor insira um código de identificação válido', + }, + identical: { + default: 'Por favor, insira o mesmo valor', + }, + imei: { + default: 'Por favor insira um IMEI válido', + }, + imo: { + default: 'Por favor insira um IMO válido', + }, + integer: { + default: 'Por favor insira um número inteiro válido', + }, + ip: { + default: 'Por favor insira um IP válido', + ipv4: 'Por favor insira um endereço de IPv4 válido', + ipv6: 'Por favor insira um endereço de IPv6 válido', + }, + isbn: { + default: 'Por favor insira um ISBN válido', + }, + isin: { + default: 'Por favor insira um ISIN válido', + }, + ismn: { + default: 'Por favor insira um ISMN válido', + }, + issn: { + default: 'Por favor insira um ISSN válido', + }, + lessThan: { + default: 'Por favor insira um valor menor ou igual a %s', + notInclusive: 'Por favor insira um valor menor do que %s', + }, + mac: { + default: 'Por favor insira um endereço MAC válido', + }, + meid: { + default: 'Por favor insira um MEID válido', + }, + notEmpty: { + default: 'Por favor insira um valor', + }, + numeric: { + default: 'Por favor insira um número real válido', + }, + phone: { + countries: { + AE: 'Emirados Árabes', + BG: 'Bulgária', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IN: 'Índia', + MA: 'Marrocos', + NL: 'Países Baixos', + PK: 'Paquistão', + RO: 'Roménia', + RU: 'Rússia', + SK: 'Eslováquia', + TH: 'Tailândia', + US: 'EUA', + VE: 'Venezuela', + }, + country: 'Por favor insira um número de telefone válido em %s', + default: 'Por favor insira um número de telefone válido', + }, + promise: { + default: 'Por favor insira um valor válido', + }, + regexp: { + default: 'Por favor insira um valor correspondente ao padrão', + }, + remote: { + default: 'Por favor insira um valor válido', + }, + rtn: { + default: 'Por favor insira um número válido RTN', + }, + sedol: { + default: 'Por favor insira um número válido SEDOL', + }, + siren: { + default: 'Por favor insira um número válido SIREN', + }, + siret: { + default: 'Por favor insira um número válido SIRET', + }, + step: { + default: 'Por favor insira um passo válido %s', + }, + stringCase: { + default: 'Por favor, digite apenas caracteres minúsculos', + upper: 'Por favor, digite apenas caracteres maiúsculos', + }, + stringLength: { + between: 'Por favor insira um valor entre %s e %s caracteres', + default: 'Por favor insira um valor com comprimento válido', + less: 'Por favor insira menos de %s caracteres', + more: 'Por favor insira mais de %s caracteres', + }, + uri: { + default: 'Por favor insira um URI válido', + }, + uuid: { + default: 'Por favor insira um número válido UUID', + version: 'Por favor insira uma versão %s UUID válida', + }, + vat: { + countries: { + AT: 'Áustria', + BE: 'Bélgica', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + EE: 'Estônia', + EL: 'Grécia', + ES: 'Espanha', + FI: 'Finlândia', + FR: 'França', + GB: 'Reino Unido', + GR: 'Grécia', + HR: 'Croácia', + HU: 'Hungria', + IE: 'Irlanda', + IS: 'Islândia', + IT: 'Itália', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MT: 'Malta', + NL: 'Holanda', + NO: 'Norway', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RS: 'Sérvia', + RU: 'Rússia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + VE: 'Venezuela', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número VAT válido em %s', + default: 'Por favor insira um VAT válido', + }, + vin: { + default: 'Por favor insira um VIN válido', + }, + zipCode: { + countries: { + AT: 'Áustria', + BG: 'Bulgária', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suíça', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itália', + MA: 'Marrocos', + NL: 'Holanda', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RU: 'Rússia', + SE: 'Suécia', + SG: 'Cingapura', + SK: 'Eslováquia', + US: 'EUA', + }, + country: 'Por favor insira um código postal válido em %s', + default: 'Por favor insira um código postal válido', + }, + }; + + return pt_PT; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_PT.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_PT.min.js new file mode 100644 index 0000000..3dd2d4a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/pt_PT.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.pt_PT=factory())})(this,(function(){"use strict";var pt_PT={base64:{default:"Por favor insira um código base 64 válido"},between:{default:"Por favor insira um valor entre %s e %s",notInclusive:"Por favor insira um valor estritamente entre %s e %s"},bic:{default:"Por favor insira um número BIC válido"},callback:{default:"Por favor insira um valor válido"},choice:{between:"Por favor escolha de %s a %s opções",default:"Por favor insira um valor válido",less:"Por favor escolha %s opções no mínimo",more:"Por favor escolha %s opções no máximo"},color:{default:"Por favor insira uma cor válida"},creditCard:{default:"Por favor insira um número de cartão de crédito válido"},cusip:{default:"Por favor insira um número CUSIP válido"},date:{default:"Por favor insira uma data válida",max:"Por favor insira uma data anterior a %s",min:"Por favor insira uma data posterior a %s",range:"Por favor insira uma data entre %s e %s"},different:{default:"Por favor insira valores diferentes"},digits:{default:"Por favor insira somente dígitos"},ean:{default:"Por favor insira um número EAN válido"},ein:{default:"Por favor insira um número EIN válido"},emailAddress:{default:"Por favor insira um email válido"},file:{default:"Por favor escolha um arquivo válido"},greaterThan:{default:"Por favor insira um valor maior ou igual a %s",notInclusive:"Por favor insira um valor maior do que %s"},grid:{default:"Por favor insira uma GRID válida"},hex:{default:"Por favor insira um hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emirados Árabes",AL:"Albânia",AO:"Angola",AT:"Áustria",AZ:"Azerbaijão",BA:"Bósnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgária",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Suíça",CM:"Camarões",CR:"Costa Rica",CV:"Cabo Verde",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argélia",EE:"Estónia",ES:"Espanha",FI:"Finlândia",FO:"Ilhas Faroé",FR:"França",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlândia",GR:"Grécia",GT:"Guatemala",HR:"Croácia",HU:"Hungria",IC:"Costa do Marfim",IE:"Ireland",IL:"Israel",IR:"Irão",IS:"Islândia",JO:"Jordan",KW:"Kuwait",KZ:"Cazaquistão",LB:"Líbano",LI:"Liechtenstein",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MC:"Mônaco",MD:"Moldávia",ME:"Montenegro",MG:"Madagascar",MK:"Macedónia",ML:"Mali",MR:"Mauritânia",MT:"Malta",MU:"Maurício",MZ:"Moçambique",NL:"Países Baixos",NO:"Noruega",PK:"Paquistão",PL:"Polônia",PS:"Palestino",PT:"Portugal",QA:"Qatar",RO:"Roménia",RS:"Sérvia",SA:"Arábia Saudita",SE:"Suécia",SI:"Eslovénia",SK:"Eslováquia",SM:"San Marino",SN:"Senegal",TI:"Itália",TL:"Timor Leste",TN:"Tunísia",TR:"Turquia",VG:"Ilhas Virgens Britânicas",XK:"República do Kosovo"},country:"Por favor insira um número IBAN válido em %s",default:"Por favor insira um número IBAN válido"},id:{countries:{BA:"Bósnia e Herzegovina",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estônia",ES:"Espanha",FI:"Finlândia",HR:"Croácia",IE:"Irlanda",IS:"Islândia",LT:"Lituânia",LV:"Letónia",ME:"Montenegro",MK:"Macedónia",NL:"Holanda",PL:"Polônia",RO:"Roménia",RS:"Sérvia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",SM:"San Marino",TH:"Tailândia",TR:"Turquia",ZA:"África do Sul"},country:"Por favor insira um número de indentificação válido em %s",default:"Por favor insira um código de identificação válido"},identical:{default:"Por favor, insira o mesmo valor"},imei:{default:"Por favor insira um IMEI válido"},imo:{default:"Por favor insira um IMO válido"},integer:{default:"Por favor insira um número inteiro válido"},ip:{default:"Por favor insira um IP válido",ipv4:"Por favor insira um endereço de IPv4 válido",ipv6:"Por favor insira um endereço de IPv6 válido"},isbn:{default:"Por favor insira um ISBN válido"},isin:{default:"Por favor insira um ISIN válido"},ismn:{default:"Por favor insira um ISMN válido"},issn:{default:"Por favor insira um ISSN válido"},lessThan:{default:"Por favor insira um valor menor ou igual a %s",notInclusive:"Por favor insira um valor menor do que %s"},mac:{default:"Por favor insira um endereço MAC válido"},meid:{default:"Por favor insira um MEID válido"},notEmpty:{default:"Por favor insira um valor"},numeric:{default:"Por favor insira um número real válido"},phone:{countries:{AE:"Emirados Árabes",BG:"Bulgária",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IN:"Índia",MA:"Marrocos",NL:"Países Baixos",PK:"Paquistão",RO:"Roménia",RU:"Rússia",SK:"Eslováquia",TH:"Tailândia",US:"EUA",VE:"Venezuela"},country:"Por favor insira um número de telefone válido em %s",default:"Por favor insira um número de telefone válido"},promise:{default:"Por favor insira um valor válido"},regexp:{default:"Por favor insira um valor correspondente ao padrão"},remote:{default:"Por favor insira um valor válido"},rtn:{default:"Por favor insira um número válido RTN"},sedol:{default:"Por favor insira um número válido SEDOL"},siren:{default:"Por favor insira um número válido SIREN"},siret:{default:"Por favor insira um número válido SIRET"},step:{default:"Por favor insira um passo válido %s"},stringCase:{default:"Por favor, digite apenas caracteres minúsculos",upper:"Por favor, digite apenas caracteres maiúsculos"},stringLength:{between:"Por favor insira um valor entre %s e %s caracteres",default:"Por favor insira um valor com comprimento válido",less:"Por favor insira menos de %s caracteres",more:"Por favor insira mais de %s caracteres"},uri:{default:"Por favor insira um URI válido"},uuid:{default:"Por favor insira um número válido UUID",version:"Por favor insira uma versão %s UUID válida"},vat:{countries:{AT:"Áustria",BE:"Bélgica",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",EE:"Estônia",EL:"Grécia",ES:"Espanha",FI:"Finlândia",FR:"França",GB:"Reino Unido",GR:"Grécia",HR:"Croácia",HU:"Hungria",IE:"Irlanda",IS:"Islândia",IT:"Itália",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MT:"Malta",NL:"Holanda",NO:"Norway",PL:"Polônia",PT:"Portugal",RO:"Roménia",RS:"Sérvia",RU:"Rússia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",VE:"Venezuela",ZA:"África do Sul"},country:"Por favor insira um número VAT válido em %s",default:"Por favor insira um VAT válido"},vin:{default:"Por favor insira um VIN válido"},zipCode:{countries:{AT:"Áustria",BG:"Bulgária",BR:"Brasil",CA:"Canadá",CH:"Suíça",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IE:"Irlanda",IN:"Índia",IT:"Itália",MA:"Marrocos",NL:"Holanda",PL:"Polônia",PT:"Portugal",RO:"Roménia",RU:"Rússia",SE:"Suécia",SG:"Cingapura",SK:"Eslováquia",US:"EUA"},country:"Por favor insira um código postal válido em %s",default:"Por favor insira um código postal válido"}};return pt_PT})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ro_RO.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ro_RO.js new file mode 100644 index 0000000..484e327 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ro_RO.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ro_RO = factory())); +})(this, (function () { 'use strict'; + + /** + * Romanian language package + * Translated by @filipac + */ + + var ro_RO = { + base64: { + default: 'Te rog introdu un base64 valid', + }, + between: { + default: 'Te rog introdu o valoare intre %s si %s', + notInclusive: 'Te rog introdu o valoare doar intre %s si %s', + }, + bic: { + default: 'Te rog sa introduci un numar BIC valid', + }, + callback: { + default: 'Te rog introdu o valoare valida', + }, + choice: { + between: 'Te rog alege %s - %s optiuni', + default: 'Te rog introdu o valoare valida', + less: 'Te rog alege minim %s optiuni', + more: 'Te rog alege maxim %s optiuni', + }, + color: { + default: 'Te rog sa introduci o culoare valida', + }, + creditCard: { + default: 'Te rog introdu un numar de card valid', + }, + cusip: { + default: 'Te rog introdu un numar CUSIP valid', + }, + date: { + default: 'Te rog introdu o data valida', + max: 'Te rog sa introduci o data inainte de %s', + min: 'Te rog sa introduci o data dupa %s', + range: 'Te rog sa introduci o data in intervalul %s - %s', + }, + different: { + default: 'Te rog sa introduci o valoare diferita', + }, + digits: { + default: 'Te rog sa introduci doar cifre', + }, + ean: { + default: 'Te rog sa introduci un numar EAN valid', + }, + ein: { + default: 'Te rog sa introduci un numar EIN valid', + }, + emailAddress: { + default: 'Te rog sa introduci o adresa de email valide', + }, + file: { + default: 'Te rog sa introduci un fisier valid', + }, + greaterThan: { + default: 'Te rog sa introduci o valoare mai mare sau egala cu %s', + notInclusive: 'Te rog sa introduci o valoare mai mare ca %s', + }, + grid: { + default: 'Te rog sa introduci un numar GRId valid', + }, + hex: { + default: 'Te rog sa introduci un numar hexadecimal valid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratele Arabe unite', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia si Herzegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilia', + CH: 'Elvetia', + CI: 'Coasta de Fildes', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cipru', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + DO: 'Republica Dominicană', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spania', + FI: 'Finlanda', + FO: 'Insulele Faroe', + FR: 'Franta', + GB: 'Regatul Unit', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlanda', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Ungaria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islanda', + IT: 'Italia', + JO: 'Iordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Muntenegru', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Olanda', + NO: 'Norvegia', + PK: 'Pakistan', + PL: 'Polanda', + PS: 'Palestina', + PT: 'Portugalia', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timorul de Est', + TN: 'Tunisia', + TR: 'Turkey', + VG: 'Insulele Virgin', + XK: 'Republica Kosovo', + }, + country: 'Te rog sa introduci un IBAN valid din %s', + default: 'Te rog sa introduci un IBAN valid', + }, + id: { + countries: { + BA: 'Bosnia si Herzegovina', + BG: 'Bulgaria', + BR: 'Brazilia', + CH: 'Elvetia', + CL: 'Chile', + CN: 'China', + CZ: 'Republica Cehia', + DK: 'Danemarca', + EE: 'Estonia', + ES: 'Spania', + FI: 'Finlanda', + HR: 'Croatia', + IE: 'Irlanda', + IS: 'Islanda', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Muntenegru', + MK: 'Macedonia', + NL: 'Olanda', + PL: 'Polanda', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + SM: 'San Marino', + TH: 'Thailanda', + TR: 'Turkey', + ZA: 'Africa de Sud', + }, + country: 'Te rog sa introduci un numar de identificare valid din %s', + default: 'Te rog sa introduci un numar de identificare valid', + }, + identical: { + default: 'Te rog sa introduci aceeasi valoare', + }, + imei: { + default: 'Te rog sa introduci un numar IMEI valid', + }, + imo: { + default: 'Te rog sa introduci un numar IMO valid', + }, + integer: { + default: 'Te rog sa introduci un numar valid', + }, + ip: { + default: 'Te rog sa introduci o adresa IP valida', + ipv4: 'Te rog sa introduci o adresa IPv4 valida', + ipv6: 'Te rog sa introduci o adresa IPv6 valida', + }, + isbn: { + default: 'Te rog sa introduci un numar ISBN valid', + }, + isin: { + default: 'Te rog sa introduci un numar ISIN valid', + }, + ismn: { + default: 'Te rog sa introduci un numar ISMN valid', + }, + issn: { + default: 'Te rog sa introduci un numar ISSN valid', + }, + lessThan: { + default: 'Te rog sa introduci o valoare mai mica sau egala cu %s', + notInclusive: 'Te rog sa introduci o valoare mai mica decat %s', + }, + mac: { + default: 'Te rog sa introduci o adresa MAC valida', + }, + meid: { + default: 'Te rog sa introduci un numar MEID valid', + }, + notEmpty: { + default: 'Te rog sa introduci o valoare', + }, + numeric: { + default: 'Te rog sa introduci un numar', + }, + phone: { + countries: { + AE: 'Emiratele Arabe unite', + BG: 'Bulgaria', + BR: 'Brazilia', + CN: 'China', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + ES: 'Spania', + FR: 'Franta', + GB: 'Regatul Unit', + IN: 'India', + MA: 'Maroc', + NL: 'Olanda', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Rusia', + SK: 'Slovacia', + TH: 'Thailanda', + US: 'SUA', + VE: 'Venezuela', + }, + country: 'Te rog sa introduci un numar de telefon valid din %s', + default: 'Te rog sa introduci un numar de telefon valid', + }, + promise: { + default: 'Te rog introdu o valoare valida', + }, + regexp: { + default: 'Te rog sa introduci o valoare in formatul', + }, + remote: { + default: 'Te rog sa introduci o valoare valida', + }, + rtn: { + default: 'Te rog sa introduci un numar RTN valid', + }, + sedol: { + default: 'Te rog sa introduci un numar SEDOL valid', + }, + siren: { + default: 'Te rog sa introduci un numar SIREN valid', + }, + siret: { + default: 'Te rog sa introduci un numar SIRET valid', + }, + step: { + default: 'Te rog introdu un pas de %s', + }, + stringCase: { + default: 'Te rog sa introduci doar litere mici', + upper: 'Te rog sa introduci doar litere mari', + }, + stringLength: { + between: 'Te rog sa introduci o valoare cu lungimea intre %s si %s caractere', + default: 'Te rog sa introduci o valoare cu lungimea valida', + less: 'Te rog sa introduci mai putin de %s caractere', + more: 'Te rog sa introduci mai mult de %s caractere', + }, + uri: { + default: 'Te rog sa introduci un URI valid', + }, + uuid: { + default: 'Te rog sa introduci un numar UUID valid', + version: 'Te rog sa introduci un numar UUID versiunea %s valid', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brazilia', + CH: 'Elvetia', + CY: 'Cipru', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'Spania', + FI: 'Finlanda', + FR: 'Franta', + GB: 'Regatul Unit', + GR: 'Grecia', + HR: 'Croatia', + HU: 'Ungaria', + IE: 'Irlanda', + IS: 'Islanda', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Olanda', + NO: 'Norvegia', + PL: 'Polanda', + PT: 'Portugalia', + RO: 'Romania', + RS: 'Serbia', + RU: 'Rusia', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + VE: 'Venezuela', + ZA: 'Africa de Sud', + }, + country: 'Te rog sa introduci un numar TVA valid din %s', + default: 'Te rog sa introduci un numar TVA valid', + }, + vin: { + default: 'Te rog sa introduci un numar VIN valid', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazilia', + CA: 'Canada', + CH: 'Elvetia', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + ES: 'Spania', + FR: 'Franta', + GB: 'Regatul Unit', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Maroc', + NL: 'Olanda', + PL: 'Polanda', + PT: 'Portugalia', + RO: 'Romania', + RU: 'Rusia', + SE: 'Suedia', + SG: 'Singapore', + SK: 'Slovacia', + US: 'SUA', + }, + country: 'Te rog sa introduci un cod postal valid din %s', + default: 'Te rog sa introduci un cod postal valid', + }, + }; + + return ro_RO; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ro_RO.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ro_RO.min.js new file mode 100644 index 0000000..8dc2c0f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ro_RO.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ro_RO=factory())})(this,(function(){"use strict";var ro_RO={base64:{default:"Te rog introdu un base64 valid"},between:{default:"Te rog introdu o valoare intre %s si %s",notInclusive:"Te rog introdu o valoare doar intre %s si %s"},bic:{default:"Te rog sa introduci un numar BIC valid"},callback:{default:"Te rog introdu o valoare valida"},choice:{between:"Te rog alege %s - %s optiuni",default:"Te rog introdu o valoare valida",less:"Te rog alege minim %s optiuni",more:"Te rog alege maxim %s optiuni"},color:{default:"Te rog sa introduci o culoare valida"},creditCard:{default:"Te rog introdu un numar de card valid"},cusip:{default:"Te rog introdu un numar CUSIP valid"},date:{default:"Te rog introdu o data valida",max:"Te rog sa introduci o data inainte de %s",min:"Te rog sa introduci o data dupa %s",range:"Te rog sa introduci o data in intervalul %s - %s"},different:{default:"Te rog sa introduci o valoare diferita"},digits:{default:"Te rog sa introduci doar cifre"},ean:{default:"Te rog sa introduci un numar EAN valid"},ein:{default:"Te rog sa introduci un numar EIN valid"},emailAddress:{default:"Te rog sa introduci o adresa de email valide"},file:{default:"Te rog sa introduci un fisier valid"},greaterThan:{default:"Te rog sa introduci o valoare mai mare sau egala cu %s",notInclusive:"Te rog sa introduci o valoare mai mare ca %s"},grid:{default:"Te rog sa introduci un numar GRId valid"},hex:{default:"Te rog sa introduci un numar hexadecimal valid"},iban:{countries:{AD:"Andorra",AE:"Emiratele Arabe unite",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia si Herzegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazilia",CH:"Elvetia",CI:"Coasta de Fildes",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Cipru",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",DO:"Republica Dominicană",DZ:"Algeria",EE:"Estonia",ES:"Spania",FI:"Finlanda",FO:"Insulele Faroe",FR:"Franta",GB:"Regatul Unit",GE:"Georgia",GI:"Gibraltar",GL:"Groenlanda",GR:"Grecia",GT:"Guatemala",HR:"Croatia",HU:"Ungaria",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islanda",IT:"Italia",JO:"Iordania",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Muntenegru",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Olanda",NO:"Norvegia",PK:"Pakistan",PL:"Polanda",PS:"Palestina",PT:"Portugalia",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Arabia Saudita",SE:"Suedia",SI:"Slovenia",SK:"Slovacia",SM:"San Marino",SN:"Senegal",TL:"Timorul de Est",TN:"Tunisia",TR:"Turkey",VG:"Insulele Virgin",XK:"Republica Kosovo"},country:"Te rog sa introduci un IBAN valid din %s",default:"Te rog sa introduci un IBAN valid"},id:{countries:{BA:"Bosnia si Herzegovina",BG:"Bulgaria",BR:"Brazilia",CH:"Elvetia",CL:"Chile",CN:"China",CZ:"Republica Cehia",DK:"Danemarca",EE:"Estonia",ES:"Spania",FI:"Finlanda",HR:"Croatia",IE:"Irlanda",IS:"Islanda",LT:"Lithuania",LV:"Latvia",ME:"Muntenegru",MK:"Macedonia",NL:"Olanda",PL:"Polanda",RO:"Romania",RS:"Serbia",SE:"Suedia",SI:"Slovenia",SK:"Slovacia",SM:"San Marino",TH:"Thailanda",TR:"Turkey",ZA:"Africa de Sud"},country:"Te rog sa introduci un numar de identificare valid din %s",default:"Te rog sa introduci un numar de identificare valid"},identical:{default:"Te rog sa introduci aceeasi valoare"},imei:{default:"Te rog sa introduci un numar IMEI valid"},imo:{default:"Te rog sa introduci un numar IMO valid"},integer:{default:"Te rog sa introduci un numar valid"},ip:{default:"Te rog sa introduci o adresa IP valida",ipv4:"Te rog sa introduci o adresa IPv4 valida",ipv6:"Te rog sa introduci o adresa IPv6 valida"},isbn:{default:"Te rog sa introduci un numar ISBN valid"},isin:{default:"Te rog sa introduci un numar ISIN valid"},ismn:{default:"Te rog sa introduci un numar ISMN valid"},issn:{default:"Te rog sa introduci un numar ISSN valid"},lessThan:{default:"Te rog sa introduci o valoare mai mica sau egala cu %s",notInclusive:"Te rog sa introduci o valoare mai mica decat %s"},mac:{default:"Te rog sa introduci o adresa MAC valida"},meid:{default:"Te rog sa introduci un numar MEID valid"},notEmpty:{default:"Te rog sa introduci o valoare"},numeric:{default:"Te rog sa introduci un numar"},phone:{countries:{AE:"Emiratele Arabe unite",BG:"Bulgaria",BR:"Brazilia",CN:"China",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",ES:"Spania",FR:"Franta",GB:"Regatul Unit",IN:"India",MA:"Maroc",NL:"Olanda",PK:"Pakistan",RO:"Romania",RU:"Rusia",SK:"Slovacia",TH:"Thailanda",US:"SUA",VE:"Venezuela"},country:"Te rog sa introduci un numar de telefon valid din %s",default:"Te rog sa introduci un numar de telefon valid"},promise:{default:"Te rog introdu o valoare valida"},regexp:{default:"Te rog sa introduci o valoare in formatul"},remote:{default:"Te rog sa introduci o valoare valida"},rtn:{default:"Te rog sa introduci un numar RTN valid"},sedol:{default:"Te rog sa introduci un numar SEDOL valid"},siren:{default:"Te rog sa introduci un numar SIREN valid"},siret:{default:"Te rog sa introduci un numar SIRET valid"},step:{default:"Te rog introdu un pas de %s"},stringCase:{default:"Te rog sa introduci doar litere mici",upper:"Te rog sa introduci doar litere mari"},stringLength:{between:"Te rog sa introduci o valoare cu lungimea intre %s si %s caractere",default:"Te rog sa introduci o valoare cu lungimea valida",less:"Te rog sa introduci mai putin de %s caractere",more:"Te rog sa introduci mai mult de %s caractere"},uri:{default:"Te rog sa introduci un URI valid"},uuid:{default:"Te rog sa introduci un numar UUID valid",version:"Te rog sa introduci un numar UUID versiunea %s valid"},vat:{countries:{AT:"Austria",BE:"Belgia",BG:"Bulgaria",BR:"Brazilia",CH:"Elvetia",CY:"Cipru",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",EE:"Estonia",EL:"Grecia",ES:"Spania",FI:"Finlanda",FR:"Franta",GB:"Regatul Unit",GR:"Grecia",HR:"Croatia",HU:"Ungaria",IE:"Irlanda",IS:"Islanda",IT:"Italia",LT:"Lituania",LU:"Luxemburg",LV:"Latvia",MT:"Malta",NL:"Olanda",NO:"Norvegia",PL:"Polanda",PT:"Portugalia",RO:"Romania",RS:"Serbia",RU:"Rusia",SE:"Suedia",SI:"Slovenia",SK:"Slovacia",VE:"Venezuela",ZA:"Africa de Sud"},country:"Te rog sa introduci un numar TVA valid din %s",default:"Te rog sa introduci un numar TVA valid"},vin:{default:"Te rog sa introduci un numar VIN valid"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brazilia",CA:"Canada",CH:"Elvetia",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",ES:"Spania",FR:"Franta",GB:"Regatul Unit",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Maroc",NL:"Olanda",PL:"Polanda",PT:"Portugalia",RO:"Romania",RU:"Rusia",SE:"Suedia",SG:"Singapore",SK:"Slovacia",US:"SUA"},country:"Te rog sa introduci un cod postal valid din %s",default:"Te rog sa introduci un cod postal valid"}};return ro_RO})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ru_RU.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ru_RU.js new file mode 100644 index 0000000..54b6cec --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ru_RU.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ru_RU = factory())); +})(this, (function () { 'use strict'; + + /** + * Russian language package + * Translated by @cylon-v. Improved by @stepin, @oleg-voloshyn + */ + + var ru_RU = { + base64: { + default: 'Пожалуйста, введите корректную строку base64', + }, + between: { + default: 'Пожалуйста, введите значение от %s до %s', + notInclusive: 'Пожалуйста, введите значение между %s и %s', + }, + bic: { + default: 'Пожалуйста, введите правильный номер BIC', + }, + callback: { + default: 'Пожалуйста, введите корректное значение', + }, + choice: { + between: 'Пожалуйста, выберите %s-%s опций', + default: 'Пожалуйста, введите корректное значение', + less: 'Пожалуйста, выберите хотя бы %s опций', + more: 'Пожалуйста, выберите не больше %s опций', + }, + color: { + default: 'Пожалуйста, введите правильный номер цвета', + }, + creditCard: { + default: 'Пожалуйста, введите правильный номер кредитной карты', + }, + cusip: { + default: 'Пожалуйста, введите правильный номер CUSIP', + }, + date: { + default: 'Пожалуйста, введите правильную дату', + max: 'Пожалуйста, введите дату перед %s', + min: 'Пожалуйста, введите дату после %s', + range: 'Пожалуйста, введите дату в диапазоне %s - %s', + }, + different: { + default: 'Пожалуйста, введите другое значение', + }, + digits: { + default: 'Пожалуйста, введите только цифры', + }, + ean: { + default: 'Пожалуйста, введите правильный номер EAN', + }, + ein: { + default: 'Пожалуйста, введите правильный номер EIN', + }, + emailAddress: { + default: 'Пожалуйста, введите правильный адрес эл. почты', + }, + file: { + default: 'Пожалуйста, выберите файл', + }, + greaterThan: { + default: 'Пожалуйста, введите значение большее или равное %s', + notInclusive: 'Пожалуйста, введите значение больше %s', + }, + grid: { + default: 'Пожалуйста, введите правильный номер GRId', + }, + hex: { + default: 'Пожалуйста, введите правильное шестнадцатиричное число', + }, + iban: { + countries: { + AD: 'Андорре', + AE: 'Объединённых Арабских Эмиратах', + AL: 'Албании', + AO: 'Анголе', + AT: 'Австрии', + AZ: 'Азербайджане', + BA: 'Боснии и Герцеговине', + BE: 'Бельгии', + BF: 'Буркина-Фасо', + BG: 'Болгарии', + BH: 'Бахрейне', + BI: 'Бурунди', + BJ: 'Бенине', + BR: 'Бразилии', + CH: 'Швейцарии', + CI: "Кот-д'Ивуаре", + CM: 'Камеруне', + CR: 'Коста-Рике', + CV: 'Кабо-Верде', + CY: 'Кипре', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + DO: 'Доминикане Республика', + DZ: 'Алжире', + EE: 'Эстонии', + ES: 'Испании', + FI: 'Финляндии', + FO: 'Фарерских островах', + FR: 'Франции', + GB: 'Великобритании', + GE: 'Грузии', + GI: 'Гибралтаре', + GL: 'Гренландии', + GR: 'Греции', + GT: 'Гватемале', + HR: 'Хорватии', + HU: 'Венгрии', + IE: 'Ирландии', + IL: 'Израиле', + IR: 'Иране', + IS: 'Исландии', + IT: 'Италии', + JO: 'Иордании', + KW: 'Кувейте', + KZ: 'Казахстане', + LB: 'Ливане', + LI: 'Лихтенштейне', + LT: 'Литве', + LU: 'Люксембурге', + LV: 'Латвии', + MC: 'Монако', + MD: 'Молдове', + ME: 'Черногории', + MG: 'Мадагаскаре', + MK: 'Македонии', + ML: 'Мали', + MR: 'Мавритании', + MT: 'Мальте', + MU: 'Маврикии', + MZ: 'Мозамбике', + NL: 'Нидерландах', + NO: 'Норвегии', + PK: 'Пакистане', + PL: 'Польше', + PS: 'Палестине', + PT: 'Португалии', + QA: 'Катаре', + RO: 'Румынии', + RS: 'Сербии', + SA: 'Саудовской Аравии', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + SM: 'Сан-Марино', + SN: 'Сенегале', + TL: 'Восточный Тимор', + TN: 'Тунисе', + TR: 'Турции', + VG: 'Британских Виргинских островах', + XK: 'Республика Косово', + }, + country: 'Пожалуйста, введите правильный номер IBAN в %s', + default: 'Пожалуйста, введите правильный номер IBAN', + }, + id: { + countries: { + BA: 'Боснии и Герцеговине', + BG: 'Болгарии', + BR: 'Бразилии', + CH: 'Швейцарии', + CL: 'Чили', + CN: 'Китае', + CZ: 'Чешская республика', + DK: 'Дании', + EE: 'Эстонии', + ES: 'Испании', + FI: 'Финляндии', + HR: 'Хорватии', + IE: 'Ирландии', + IS: 'Исландии', + LT: 'Литве', + LV: 'Латвии', + ME: 'Черногории', + MK: 'Македонии', + NL: 'Нидерландах', + PL: 'Польше', + RO: 'Румынии', + RS: 'Сербии', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + SM: 'Сан-Марино', + TH: 'Тайланде', + TR: 'Турции', + ZA: 'ЮАР', + }, + country: 'Пожалуйста, введите правильный идентификационный номер в %s', + default: 'Пожалуйста, введите правильный идентификационный номер', + }, + identical: { + default: 'Пожалуйста, введите такое же значение', + }, + imei: { + default: 'Пожалуйста, введите правильный номер IMEI', + }, + imo: { + default: 'Пожалуйста, введите правильный номер IMO', + }, + integer: { + default: 'Пожалуйста, введите правильное целое число', + }, + ip: { + default: 'Пожалуйста, введите правильный IP-адрес', + ipv4: 'Пожалуйста, введите правильный IPv4-адрес', + ipv6: 'Пожалуйста, введите правильный IPv6-адрес', + }, + isbn: { + default: 'Пожалуйста, введите правильный номер ISBN', + }, + isin: { + default: 'Пожалуйста, введите правильный номер ISIN', + }, + ismn: { + default: 'Пожалуйста, введите правильный номер ISMN', + }, + issn: { + default: 'Пожалуйста, введите правильный номер ISSN', + }, + lessThan: { + default: 'Пожалуйста, введите значение меньшее или равное %s', + notInclusive: 'Пожалуйста, введите значение меньше %s', + }, + mac: { + default: 'Пожалуйста, введите правильный MAC-адрес', + }, + meid: { + default: 'Пожалуйста, введите правильный номер MEID', + }, + notEmpty: { + default: 'Пожалуйста, введите значение', + }, + numeric: { + default: 'Пожалуйста, введите корректное действительное число', + }, + phone: { + countries: { + AE: 'Объединённых Арабских Эмиратах', + BG: 'Болгарии', + BR: 'Бразилии', + CN: 'Китае', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + ES: 'Испании', + FR: 'Франции', + GB: 'Великобритании', + IN: 'Индия', + MA: 'Марокко', + NL: 'Нидерландах', + PK: 'Пакистане', + RO: 'Румынии', + RU: 'России', + SK: 'Словакии', + TH: 'Тайланде', + US: 'США', + VE: 'Венесуэле', + }, + country: 'Пожалуйста, введите правильный номер телефона в %s', + default: 'Пожалуйста, введите правильный номер телефона', + }, + promise: { + default: 'Пожалуйста, введите корректное значение', + }, + regexp: { + default: 'Пожалуйста, введите значение соответствующее шаблону', + }, + remote: { + default: 'Пожалуйста, введите правильное значение', + }, + rtn: { + default: 'Пожалуйста, введите правильный номер RTN', + }, + sedol: { + default: 'Пожалуйста, введите правильный номер SEDOL', + }, + siren: { + default: 'Пожалуйста, введите правильный номер SIREN', + }, + siret: { + default: 'Пожалуйста, введите правильный номер SIRET', + }, + step: { + default: 'Пожалуйста, введите правильный шаг %s', + }, + stringCase: { + default: 'Пожалуйста, вводите только строчные буквы', + upper: 'Пожалуйста, вводите только заглавные буквы', + }, + stringLength: { + between: 'Пожалуйста, введите строку длиной от %s до %s символов', + default: 'Пожалуйста, введите значение корректной длины', + less: 'Пожалуйста, введите не больше %s символов', + more: 'Пожалуйста, введите не меньше %s символов', + }, + uri: { + default: 'Пожалуйста, введите правильный URI', + }, + uuid: { + default: 'Пожалуйста, введите правильный номер UUID', + version: 'Пожалуйста, введите правильный номер UUID версии %s', + }, + vat: { + countries: { + AT: 'Австрии', + BE: 'Бельгии', + BG: 'Болгарии', + BR: 'Бразилии', + CH: 'Швейцарии', + CY: 'Кипре', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + EE: 'Эстонии', + EL: 'Греции', + ES: 'Испании', + FI: 'Финляндии', + FR: 'Франции', + GB: 'Великобритании', + GR: 'Греции', + HR: 'Хорватии', + HU: 'Венгрии', + IE: 'Ирландии', + IS: 'Исландии', + IT: 'Италии', + LT: 'Литве', + LU: 'Люксембурге', + LV: 'Латвии', + MT: 'Мальте', + NL: 'Нидерландах', + NO: 'Норвегии', + PL: 'Польше', + PT: 'Португалии', + RO: 'Румынии', + RS: 'Сербии', + RU: 'России', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + VE: 'Венесуэле', + ZA: 'ЮАР', + }, + country: 'Пожалуйста, введите правильный номер ИНН (VAT) в %s', + default: 'Пожалуйста, введите правильный номер ИНН', + }, + vin: { + default: 'Пожалуйста, введите правильный номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрии', + BG: 'Болгарии', + BR: 'Бразилии', + CA: 'Канаде', + CH: 'Швейцарии', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + ES: 'Испании', + FR: 'Франции', + GB: 'Великобритании', + IE: 'Ирландии', + IN: 'Индия', + IT: 'Италии', + MA: 'Марокко', + NL: 'Нидерландах', + PL: 'Польше', + PT: 'Португалии', + RO: 'Румынии', + RU: 'России', + SE: 'Швеции', + SG: 'Сингапуре', + SK: 'Словакии', + US: 'США', + }, + country: 'Пожалуйста, введите правильный почтовый индекс в %s', + default: 'Пожалуйста, введите правильный почтовый индекс', + }, + }; + + return ru_RU; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ru_RU.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ru_RU.min.js new file mode 100644 index 0000000..b68330f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ru_RU.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ru_RU=factory())})(this,(function(){"use strict";var ru_RU={base64:{default:"Пожалуйста, введите корректную строку base64"},between:{default:"Пожалуйста, введите значение от %s до %s",notInclusive:"Пожалуйста, введите значение между %s и %s"},bic:{default:"Пожалуйста, введите правильный номер BIC"},callback:{default:"Пожалуйста, введите корректное значение"},choice:{between:"Пожалуйста, выберите %s-%s опций",default:"Пожалуйста, введите корректное значение",less:"Пожалуйста, выберите хотя бы %s опций",more:"Пожалуйста, выберите не больше %s опций"},color:{default:"Пожалуйста, введите правильный номер цвета"},creditCard:{default:"Пожалуйста, введите правильный номер кредитной карты"},cusip:{default:"Пожалуйста, введите правильный номер CUSIP"},date:{default:"Пожалуйста, введите правильную дату",max:"Пожалуйста, введите дату перед %s",min:"Пожалуйста, введите дату после %s",range:"Пожалуйста, введите дату в диапазоне %s - %s"},different:{default:"Пожалуйста, введите другое значение"},digits:{default:"Пожалуйста, введите только цифры"},ean:{default:"Пожалуйста, введите правильный номер EAN"},ein:{default:"Пожалуйста, введите правильный номер EIN"},emailAddress:{default:"Пожалуйста, введите правильный адрес эл. почты"},file:{default:"Пожалуйста, выберите файл"},greaterThan:{default:"Пожалуйста, введите значение большее или равное %s",notInclusive:"Пожалуйста, введите значение больше %s"},grid:{default:"Пожалуйста, введите правильный номер GRId"},hex:{default:"Пожалуйста, введите правильное шестнадцатиричное число"},iban:{countries:{AD:"Андорре",AE:"Объединённых Арабских Эмиратах",AL:"Албании",AO:"Анголе",AT:"Австрии",AZ:"Азербайджане",BA:"Боснии и Герцеговине",BE:"Бельгии",BF:"Буркина-Фасо",BG:"Болгарии",BH:"Бахрейне",BI:"Бурунди",BJ:"Бенине",BR:"Бразилии",CH:"Швейцарии",CI:"Кот-д'Ивуаре",CM:"Камеруне",CR:"Коста-Рике",CV:"Кабо-Верде",CY:"Кипре",CZ:"Чешская республика",DE:"Германии",DK:"Дании",DO:"Доминикане Республика",DZ:"Алжире",EE:"Эстонии",ES:"Испании",FI:"Финляндии",FO:"Фарерских островах",FR:"Франции",GB:"Великобритании",GE:"Грузии",GI:"Гибралтаре",GL:"Гренландии",GR:"Греции",GT:"Гватемале",HR:"Хорватии",HU:"Венгрии",IE:"Ирландии",IL:"Израиле",IR:"Иране",IS:"Исландии",IT:"Италии",JO:"Иордании",KW:"Кувейте",KZ:"Казахстане",LB:"Ливане",LI:"Лихтенштейне",LT:"Литве",LU:"Люксембурге",LV:"Латвии",MC:"Монако",MD:"Молдове",ME:"Черногории",MG:"Мадагаскаре",MK:"Македонии",ML:"Мали",MR:"Мавритании",MT:"Мальте",MU:"Маврикии",MZ:"Мозамбике",NL:"Нидерландах",NO:"Норвегии",PK:"Пакистане",PL:"Польше",PS:"Палестине",PT:"Португалии",QA:"Катаре",RO:"Румынии",RS:"Сербии",SA:"Саудовской Аравии",SE:"Швеции",SI:"Словении",SK:"Словакии",SM:"Сан-Марино",SN:"Сенегале",TL:"Восточный Тимор",TN:"Тунисе",TR:"Турции",VG:"Британских Виргинских островах",XK:"Республика Косово"},country:"Пожалуйста, введите правильный номер IBAN в %s",default:"Пожалуйста, введите правильный номер IBAN"},id:{countries:{BA:"Боснии и Герцеговине",BG:"Болгарии",BR:"Бразилии",CH:"Швейцарии",CL:"Чили",CN:"Китае",CZ:"Чешская республика",DK:"Дании",EE:"Эстонии",ES:"Испании",FI:"Финляндии",HR:"Хорватии",IE:"Ирландии",IS:"Исландии",LT:"Литве",LV:"Латвии",ME:"Черногории",MK:"Македонии",NL:"Нидерландах",PL:"Польше",RO:"Румынии",RS:"Сербии",SE:"Швеции",SI:"Словении",SK:"Словакии",SM:"Сан-Марино",TH:"Тайланде",TR:"Турции",ZA:"ЮАР"},country:"Пожалуйста, введите правильный идентификационный номер в %s",default:"Пожалуйста, введите правильный идентификационный номер"},identical:{default:"Пожалуйста, введите такое же значение"},imei:{default:"Пожалуйста, введите правильный номер IMEI"},imo:{default:"Пожалуйста, введите правильный номер IMO"},integer:{default:"Пожалуйста, введите правильное целое число"},ip:{default:"Пожалуйста, введите правильный IP-адрес",ipv4:"Пожалуйста, введите правильный IPv4-адрес",ipv6:"Пожалуйста, введите правильный IPv6-адрес"},isbn:{default:"Пожалуйста, введите правильный номер ISBN"},isin:{default:"Пожалуйста, введите правильный номер ISIN"},ismn:{default:"Пожалуйста, введите правильный номер ISMN"},issn:{default:"Пожалуйста, введите правильный номер ISSN"},lessThan:{default:"Пожалуйста, введите значение меньшее или равное %s",notInclusive:"Пожалуйста, введите значение меньше %s"},mac:{default:"Пожалуйста, введите правильный MAC-адрес"},meid:{default:"Пожалуйста, введите правильный номер MEID"},notEmpty:{default:"Пожалуйста, введите значение"},numeric:{default:"Пожалуйста, введите корректное действительное число"},phone:{countries:{AE:"Объединённых Арабских Эмиратах",BG:"Болгарии",BR:"Бразилии",CN:"Китае",CZ:"Чешская республика",DE:"Германии",DK:"Дании",ES:"Испании",FR:"Франции",GB:"Великобритании",IN:"Индия",MA:"Марокко",NL:"Нидерландах",PK:"Пакистане",RO:"Румынии",RU:"России",SK:"Словакии",TH:"Тайланде",US:"США",VE:"Венесуэле"},country:"Пожалуйста, введите правильный номер телефона в %s",default:"Пожалуйста, введите правильный номер телефона"},promise:{default:"Пожалуйста, введите корректное значение"},regexp:{default:"Пожалуйста, введите значение соответствующее шаблону"},remote:{default:"Пожалуйста, введите правильное значение"},rtn:{default:"Пожалуйста, введите правильный номер RTN"},sedol:{default:"Пожалуйста, введите правильный номер SEDOL"},siren:{default:"Пожалуйста, введите правильный номер SIREN"},siret:{default:"Пожалуйста, введите правильный номер SIRET"},step:{default:"Пожалуйста, введите правильный шаг %s"},stringCase:{default:"Пожалуйста, вводите только строчные буквы",upper:"Пожалуйста, вводите только заглавные буквы"},stringLength:{between:"Пожалуйста, введите строку длиной от %s до %s символов",default:"Пожалуйста, введите значение корректной длины",less:"Пожалуйста, введите не больше %s символов",more:"Пожалуйста, введите не меньше %s символов"},uri:{default:"Пожалуйста, введите правильный URI"},uuid:{default:"Пожалуйста, введите правильный номер UUID",version:"Пожалуйста, введите правильный номер UUID версии %s"},vat:{countries:{AT:"Австрии",BE:"Бельгии",BG:"Болгарии",BR:"Бразилии",CH:"Швейцарии",CY:"Кипре",CZ:"Чешская республика",DE:"Германии",DK:"Дании",EE:"Эстонии",EL:"Греции",ES:"Испании",FI:"Финляндии",FR:"Франции",GB:"Великобритании",GR:"Греции",HR:"Хорватии",HU:"Венгрии",IE:"Ирландии",IS:"Исландии",IT:"Италии",LT:"Литве",LU:"Люксембурге",LV:"Латвии",MT:"Мальте",NL:"Нидерландах",NO:"Норвегии",PL:"Польше",PT:"Португалии",RO:"Румынии",RS:"Сербии",RU:"России",SE:"Швеции",SI:"Словении",SK:"Словакии",VE:"Венесуэле",ZA:"ЮАР"},country:"Пожалуйста, введите правильный номер ИНН (VAT) в %s",default:"Пожалуйста, введите правильный номер ИНН"},vin:{default:"Пожалуйста, введите правильный номер VIN"},zipCode:{countries:{AT:"Австрии",BG:"Болгарии",BR:"Бразилии",CA:"Канаде",CH:"Швейцарии",CZ:"Чешская республика",DE:"Германии",DK:"Дании",ES:"Испании",FR:"Франции",GB:"Великобритании",IE:"Ирландии",IN:"Индия",IT:"Италии",MA:"Марокко",NL:"Нидерландах",PL:"Польше",PT:"Португалии",RO:"Румынии",RU:"России",SE:"Швеции",SG:"Сингапуре",SK:"Словакии",US:"США"},country:"Пожалуйста, введите правильный почтовый индекс в %s",default:"Пожалуйста, введите правильный почтовый индекс"}};return ru_RU})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/sk_SK.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/sk_SK.js new file mode 100644 index 0000000..ec5fa33 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/sk_SK.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.sk_SK = factory())); +})(this, (function () { 'use strict'; + + /** + * Slovak language package + * Translated by @budik21. Improved by @PatrikGallik + */ + + var sk_SK = { + base64: { + default: 'Prosím zadajte správny base64', + }, + between: { + default: 'Prosím zadajte hodnotu medzi %s a %s', + notInclusive: 'Prosím zadajte hodnotu medzi %s a %s (vrátane týchto čísel)', + }, + bic: { + default: 'Prosím zadajte správne BIC číslo', + }, + callback: { + default: 'Prosím zadajte správnu hodnotu', + }, + choice: { + between: 'Prosím vyberte medzi %s a %s', + default: 'Prosím vyberte správnu hodnotu', + less: 'Hodnota musí byť minimálne %s', + more: 'Hodnota nesmie byť viac ako %s', + }, + color: { + default: 'Prosím zadajte správnu farbu', + }, + creditCard: { + default: 'Prosím zadajte správne číslo kreditnej karty', + }, + cusip: { + default: 'Prosím zadajte správne CUSIP číslo', + }, + date: { + default: 'Prosím zadajte správny dátum', + max: 'Prosím zadajte dátum po %s', + min: 'Prosím zadajte dátum pred %s', + range: 'Prosím zadajte dátum v rozmedzí %s až %s', + }, + different: { + default: 'Prosím zadajte inú hodnotu', + }, + digits: { + default: 'Toto pole môže obsahovať len čísla', + }, + ean: { + default: 'Prosím zadajte správne EAN číslo', + }, + ein: { + default: 'Prosím zadajte správne EIN číslo', + }, + emailAddress: { + default: 'Prosím zadajte správnu emailovú adresu', + }, + file: { + default: 'Prosím vyberte súbor', + }, + greaterThan: { + default: 'Prosím zadajte hodnotu väčšiu alebo rovnú %s', + notInclusive: 'Prosím zadajte hodnotu väčšiu ako %s', + }, + grid: { + default: 'Prosím zadajte správné GRId číslo', + }, + hex: { + default: 'Prosím zadajte správne hexadecimálne číslo', + }, + iban: { + countries: { + AD: 'Andorru', + AE: 'Spojené arabské emiráty', + AL: 'Albánsko', + AO: 'Angolu', + AT: 'Rakúsko', + AZ: 'Ázerbajdžán', + BA: 'Bosnu a Herzegovinu', + BE: 'Belgicko', + BF: 'Burkina Faso', + BG: 'Bulharsko', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CI: 'Pobrežie Slonoviny', + CM: 'Kamerun', + CR: 'Kostariku', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + DO: 'Dominikánsku republiku', + DZ: 'Alžírsko', + EE: 'Estónsko', + ES: 'Španielsko', + FI: 'Fínsko', + FO: 'Faerské ostrovy', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + GE: 'Gruzínsko', + GI: 'Gibraltár', + GL: 'Grónsko', + GR: 'Grécko', + GT: 'Guatemalu', + HR: 'Chorvátsko', + HU: 'Maďarsko', + IE: 'Írsko', + IL: 'Izrael', + IR: 'Irán', + IS: 'Island', + IT: 'Taliansko', + JO: 'Jordánsko', + KW: 'Kuwait', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Lichtenštajnsko', + LT: 'Litvu', + LU: 'Luxemburgsko', + LV: 'Lotyšsko', + MC: 'Monako', + MD: 'Moldavsko', + ME: 'Čiernu horu', + MG: 'Madagaskar', + MK: 'Macedónsko', + ML: 'Mali', + MR: 'Mauritániu', + MT: 'Maltu', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Holandsko', + NO: 'Nórsko', + PK: 'Pakistan', + PL: 'Poľsko', + PS: 'Palestínu', + PT: 'Portugalsko', + QA: 'Katar', + RO: 'Rumunsko', + RS: 'Srbsko', + SA: 'Saudskú Arábiu', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Východný Timor', + TN: 'Tunisko', + TR: 'Turecko', + VG: 'Britské Panenské ostrovy', + XK: 'Republic of Kosovo', + }, + country: 'Prosím zadajte správne IBAN číslo pre %s', + default: 'Prosím zadajte správne IBAN číslo', + }, + id: { + countries: { + BA: 'Bosnu a Hercegovinu', + BG: 'Bulharsko', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CL: 'Chile', + CN: 'Čínu', + CZ: 'Českú Republiku', + DK: 'Dánsko', + EE: 'Estónsko', + ES: 'Španielsko', + FI: 'Fínsko', + HR: 'Chorvátsko', + IE: 'Írsko', + IS: 'Island', + LT: 'Litvu', + LV: 'Lotyšsko', + ME: 'Čiernu horu', + MK: 'Macedónsko', + NL: 'Holandsko', + PL: 'Poľsko', + RO: 'Rumunsko', + RS: 'Srbsko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + TH: 'Thajsko', + TR: 'Turecko', + ZA: 'Južnú Afriku', + }, + country: 'Prosím zadajte správne rodné číslo pre %s', + default: 'Prosím zadajte správne rodné číslo', + }, + identical: { + default: 'Prosím zadajte rovnakú hodnotu', + }, + imei: { + default: 'Prosím zadajte správne IMEI číslo', + }, + imo: { + default: 'Prosím zadajte správne IMO číslo', + }, + integer: { + default: 'Prosím zadajte celé číslo', + }, + ip: { + default: 'Prosím zadajte správnu IP adresu', + ipv4: 'Prosím zadajte správnu IPv4 adresu', + ipv6: 'Prosím zadajte správnu IPv6 adresu', + }, + isbn: { + default: 'Prosím zadajte správne ISBN číslo', + }, + isin: { + default: 'Prosím zadajte správne ISIN číslo', + }, + ismn: { + default: 'Prosím zadajte správne ISMN číslo', + }, + issn: { + default: 'Prosím zadajte správne ISSN číslo', + }, + lessThan: { + default: 'Prosím zadajte hodnotu menšiu alebo rovnú %s', + notInclusive: 'Prosím zadajte hodnotu menšiu ako %s', + }, + mac: { + default: 'Prosím zadajte správnu MAC adresu', + }, + meid: { + default: 'Prosím zadajte správne MEID číslo', + }, + notEmpty: { + default: 'Toto pole nesmie byť prázdne', + }, + numeric: { + default: 'Prosím zadajte číselnú hodnotu', + }, + phone: { + countries: { + AE: 'Spojené arabské emiráty', + BG: 'Bulharsko', + BR: 'Brazíliu', + CN: 'Čínu', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + ES: 'Španielsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + IN: 'Indiu', + MA: 'Maroko', + NL: 'Holandsko', + PK: 'Pakistan', + RO: 'Rumunsko', + RU: 'Rusko', + SK: 'Slovensko', + TH: 'Thajsko', + US: 'Spojené Štáty Americké', + VE: 'Venezuelu', + }, + country: 'Prosím zadajte správne telefónne číslo pre %s', + default: 'Prosím zadajte správne telefónne číslo', + }, + promise: { + default: 'Prosím zadajte správnu hodnotu', + }, + regexp: { + default: 'Prosím zadajte hodnotu spĺňajúcu zadanie', + }, + remote: { + default: 'Prosím zadajte správnu hodnotu', + }, + rtn: { + default: 'Prosím zadajte správne RTN číslo', + }, + sedol: { + default: 'Prosím zadajte správne SEDOL číslo', + }, + siren: { + default: 'Prosím zadajte správne SIREN číslo', + }, + siret: { + default: 'Prosím zadajte správne SIRET číslo', + }, + step: { + default: 'Prosím zadajte správny krok %s', + }, + stringCase: { + default: 'Len malé písmená sú povolené v tomto poli', + upper: 'Len veľké písmená sú povolené v tomto poli', + }, + stringLength: { + between: 'Prosím zadajte hodnotu medzi %s a %s znakov', + default: 'Toto pole nesmie byť prázdne', + less: 'Prosím zadajte hodnotu kratšiu ako %s znakov', + more: 'Prosím zadajte hodnotu dlhú %s znakov a viacej', + }, + uri: { + default: 'Prosím zadajte správnu URI', + }, + uuid: { + default: 'Prosím zadajte správne UUID číslo', + version: 'Prosím zadajte správne UUID vo verzii %s', + }, + vat: { + countries: { + AT: 'Rakúsko', + BE: 'Belgicko', + BG: 'Bulharsko', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CY: 'Cyprus', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + EE: 'Estónsko', + EL: 'Grécko', + ES: 'Španielsko', + FI: 'Fínsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + GR: 'Grécko', + HR: 'Chorvátsko', + HU: 'Maďarsko', + IE: 'Írsko', + IS: 'Island', + IT: 'Taliansko', + LT: 'Litvu', + LU: 'Luxemburgsko', + LV: 'Lotyšsko', + MT: 'Maltu', + NL: 'Holandsko', + NO: 'Norsko', + PL: 'Poľsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RS: 'Srbsko', + RU: 'Rusko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + VE: 'Venezuelu', + ZA: 'Južnú Afriku', + }, + country: 'Prosím zadajte správne VAT číslo pre %s', + default: 'Prosím zadajte správne VAT číslo', + }, + vin: { + default: 'Prosím zadajte správne VIN číslo', + }, + zipCode: { + countries: { + AT: 'Rakúsko', + BG: 'Bulharsko', + BR: 'Brazíliu', + CA: 'Kanadu', + CH: 'Švajčiarsko', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + ES: 'Španielsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + IE: 'Írsko', + IN: 'Indiu', + IT: 'Taliansko', + MA: 'Maroko', + NL: 'Holandsko', + PL: 'Poľsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RU: 'Rusko', + SE: 'Švédsko', + SG: 'Singapur', + SK: 'Slovensko', + US: 'Spojené Štáty Americké', + }, + country: 'Prosím zadajte správne PSČ pre %s', + default: 'Prosím zadajte správne PSČ', + }, + }; + + return sk_SK; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/sk_SK.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/sk_SK.min.js new file mode 100644 index 0000000..b799a60 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/sk_SK.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.sk_SK=factory())})(this,(function(){"use strict";var sk_SK={base64:{default:"Prosím zadajte správny base64"},between:{default:"Prosím zadajte hodnotu medzi %s a %s",notInclusive:"Prosím zadajte hodnotu medzi %s a %s (vrátane týchto čísel)"},bic:{default:"Prosím zadajte správne BIC číslo"},callback:{default:"Prosím zadajte správnu hodnotu"},choice:{between:"Prosím vyberte medzi %s a %s",default:"Prosím vyberte správnu hodnotu",less:"Hodnota musí byť minimálne %s",more:"Hodnota nesmie byť viac ako %s"},color:{default:"Prosím zadajte správnu farbu"},creditCard:{default:"Prosím zadajte správne číslo kreditnej karty"},cusip:{default:"Prosím zadajte správne CUSIP číslo"},date:{default:"Prosím zadajte správny dátum",max:"Prosím zadajte dátum po %s",min:"Prosím zadajte dátum pred %s",range:"Prosím zadajte dátum v rozmedzí %s až %s"},different:{default:"Prosím zadajte inú hodnotu"},digits:{default:"Toto pole môže obsahovať len čísla"},ean:{default:"Prosím zadajte správne EAN číslo"},ein:{default:"Prosím zadajte správne EIN číslo"},emailAddress:{default:"Prosím zadajte správnu emailovú adresu"},file:{default:"Prosím vyberte súbor"},greaterThan:{default:"Prosím zadajte hodnotu väčšiu alebo rovnú %s",notInclusive:"Prosím zadajte hodnotu väčšiu ako %s"},grid:{default:"Prosím zadajte správné GRId číslo"},hex:{default:"Prosím zadajte správne hexadecimálne číslo"},iban:{countries:{AD:"Andorru",AE:"Spojené arabské emiráty",AL:"Albánsko",AO:"Angolu",AT:"Rakúsko",AZ:"Ázerbajdžán",BA:"Bosnu a Herzegovinu",BE:"Belgicko",BF:"Burkina Faso",BG:"Bulharsko",BH:"Bahrajn",BI:"Burundi",BJ:"Benin",BR:"Brazíliu",CH:"Švajčiarsko",CI:"Pobrežie Slonoviny",CM:"Kamerun",CR:"Kostariku",CV:"Cape Verde",CY:"Cyprus",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",DO:"Dominikánsku republiku",DZ:"Alžírsko",EE:"Estónsko",ES:"Španielsko",FI:"Fínsko",FO:"Faerské ostrovy",FR:"Francúzsko",GB:"Veľkú Britániu",GE:"Gruzínsko",GI:"Gibraltár",GL:"Grónsko",GR:"Grécko",GT:"Guatemalu",HR:"Chorvátsko",HU:"Maďarsko",IE:"Írsko",IL:"Izrael",IR:"Irán",IS:"Island",IT:"Taliansko",JO:"Jordánsko",KW:"Kuwait",KZ:"Kazachstan",LB:"Libanon",LI:"Lichtenštajnsko",LT:"Litvu",LU:"Luxemburgsko",LV:"Lotyšsko",MC:"Monako",MD:"Moldavsko",ME:"Čiernu horu",MG:"Madagaskar",MK:"Macedónsko",ML:"Mali",MR:"Mauritániu",MT:"Maltu",MU:"Mauritius",MZ:"Mosambik",NL:"Holandsko",NO:"Nórsko",PK:"Pakistan",PL:"Poľsko",PS:"Palestínu",PT:"Portugalsko",QA:"Katar",RO:"Rumunsko",RS:"Srbsko",SA:"Saudskú Arábiu",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",SN:"Senegal",TL:"Východný Timor",TN:"Tunisko",TR:"Turecko",VG:"Britské Panenské ostrovy",XK:"Republic of Kosovo"},country:"Prosím zadajte správne IBAN číslo pre %s",default:"Prosím zadajte správne IBAN číslo"},id:{countries:{BA:"Bosnu a Hercegovinu",BG:"Bulharsko",BR:"Brazíliu",CH:"Švajčiarsko",CL:"Chile",CN:"Čínu",CZ:"Českú Republiku",DK:"Dánsko",EE:"Estónsko",ES:"Španielsko",FI:"Fínsko",HR:"Chorvátsko",IE:"Írsko",IS:"Island",LT:"Litvu",LV:"Lotyšsko",ME:"Čiernu horu",MK:"Macedónsko",NL:"Holandsko",PL:"Poľsko",RO:"Rumunsko",RS:"Srbsko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",TH:"Thajsko",TR:"Turecko",ZA:"Južnú Afriku"},country:"Prosím zadajte správne rodné číslo pre %s",default:"Prosím zadajte správne rodné číslo"},identical:{default:"Prosím zadajte rovnakú hodnotu"},imei:{default:"Prosím zadajte správne IMEI číslo"},imo:{default:"Prosím zadajte správne IMO číslo"},integer:{default:"Prosím zadajte celé číslo"},ip:{default:"Prosím zadajte správnu IP adresu",ipv4:"Prosím zadajte správnu IPv4 adresu",ipv6:"Prosím zadajte správnu IPv6 adresu"},isbn:{default:"Prosím zadajte správne ISBN číslo"},isin:{default:"Prosím zadajte správne ISIN číslo"},ismn:{default:"Prosím zadajte správne ISMN číslo"},issn:{default:"Prosím zadajte správne ISSN číslo"},lessThan:{default:"Prosím zadajte hodnotu menšiu alebo rovnú %s",notInclusive:"Prosím zadajte hodnotu menšiu ako %s"},mac:{default:"Prosím zadajte správnu MAC adresu"},meid:{default:"Prosím zadajte správne MEID číslo"},notEmpty:{default:"Toto pole nesmie byť prázdne"},numeric:{default:"Prosím zadajte číselnú hodnotu"},phone:{countries:{AE:"Spojené arabské emiráty",BG:"Bulharsko",BR:"Brazíliu",CN:"Čínu",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",ES:"Španielsko",FR:"Francúzsko",GB:"Veľkú Britániu",IN:"Indiu",MA:"Maroko",NL:"Holandsko",PK:"Pakistan",RO:"Rumunsko",RU:"Rusko",SK:"Slovensko",TH:"Thajsko",US:"Spojené Štáty Americké",VE:"Venezuelu"},country:"Prosím zadajte správne telefónne číslo pre %s",default:"Prosím zadajte správne telefónne číslo"},promise:{default:"Prosím zadajte správnu hodnotu"},regexp:{default:"Prosím zadajte hodnotu spĺňajúcu zadanie"},remote:{default:"Prosím zadajte správnu hodnotu"},rtn:{default:"Prosím zadajte správne RTN číslo"},sedol:{default:"Prosím zadajte správne SEDOL číslo"},siren:{default:"Prosím zadajte správne SIREN číslo"},siret:{default:"Prosím zadajte správne SIRET číslo"},step:{default:"Prosím zadajte správny krok %s"},stringCase:{default:"Len malé písmená sú povolené v tomto poli",upper:"Len veľké písmená sú povolené v tomto poli"},stringLength:{between:"Prosím zadajte hodnotu medzi %s a %s znakov",default:"Toto pole nesmie byť prázdne",less:"Prosím zadajte hodnotu kratšiu ako %s znakov",more:"Prosím zadajte hodnotu dlhú %s znakov a viacej"},uri:{default:"Prosím zadajte správnu URI"},uuid:{default:"Prosím zadajte správne UUID číslo",version:"Prosím zadajte správne UUID vo verzii %s"},vat:{countries:{AT:"Rakúsko",BE:"Belgicko",BG:"Bulharsko",BR:"Brazíliu",CH:"Švajčiarsko",CY:"Cyprus",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",EE:"Estónsko",EL:"Grécko",ES:"Španielsko",FI:"Fínsko",FR:"Francúzsko",GB:"Veľkú Britániu",GR:"Grécko",HR:"Chorvátsko",HU:"Maďarsko",IE:"Írsko",IS:"Island",IT:"Taliansko",LT:"Litvu",LU:"Luxemburgsko",LV:"Lotyšsko",MT:"Maltu",NL:"Holandsko",NO:"Norsko",PL:"Poľsko",PT:"Portugalsko",RO:"Rumunsko",RS:"Srbsko",RU:"Rusko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",VE:"Venezuelu",ZA:"Južnú Afriku"},country:"Prosím zadajte správne VAT číslo pre %s",default:"Prosím zadajte správne VAT číslo"},vin:{default:"Prosím zadajte správne VIN číslo"},zipCode:{countries:{AT:"Rakúsko",BG:"Bulharsko",BR:"Brazíliu",CA:"Kanadu",CH:"Švajčiarsko",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",ES:"Španielsko",FR:"Francúzsko",GB:"Veľkú Britániu",IE:"Írsko",IN:"Indiu",IT:"Taliansko",MA:"Maroko",NL:"Holandsko",PL:"Poľsko",PT:"Portugalsko",RO:"Rumunsko",RU:"Rusko",SE:"Švédsko",SG:"Singapur",SK:"Slovensko",US:"Spojené Štáty Americké"},country:"Prosím zadajte správne PSČ pre %s",default:"Prosím zadajte správne PSČ"}};return sk_SK})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/sq_AL.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/sq_AL.js new file mode 100644 index 0000000..7102d08 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/sq_AL.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.sq_AL = factory())); +})(this, (function () { 'use strict'; + + /** + * Albanian language package + * Translated by @desaretiuss + */ + + var sq_AL = { + base64: { + default: 'Ju lutem përdorni sistemin e kodimit Base64', + }, + between: { + default: 'Ju lutem vendosni një vlerë midis %s dhe %s', + notInclusive: 'Ju lutem vendosni një vlerë rreptësisht midis %s dhe %s', + }, + bic: { + default: 'Ju lutem vendosni një numër BIC të vlefshëm', + }, + callback: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + choice: { + between: 'Ju lutem përzgjidhni %s - %s mundësi', + default: 'Ju lutem vendosni një vlerë të vlefshme', + less: 'Ju lutem përzgjidhni së paku %s mundësi', + more: 'Ju lutem përzgjidhni së shumti %s mundësi ', + }, + color: { + default: 'Ju lutem vendosni një ngjyrë të vlefshme', + }, + creditCard: { + default: 'Ju lutem vendosni një numër karte krediti të vlefshëm', + }, + cusip: { + default: 'Ju lutem vendosni një numër CUSIP të vlefshëm', + }, + date: { + default: 'Ju lutem vendosni një datë të saktë', + max: 'Ju lutem vendosni një datë para %s', + min: 'Ju lutem vendosni një datë pas %s', + range: 'Ju lutem vendosni një datë midis %s - %s', + }, + different: { + default: 'Ju lutem vendosni një vlerë tjetër', + }, + digits: { + default: 'Ju lutem vendosni vetëm numra', + }, + ean: { + default: 'Ju lutem vendosni një numër EAN të vlefshëm', + }, + ein: { + default: 'Ju lutem vendosni një numër EIN të vlefshëm', + }, + emailAddress: { + default: 'Ju lutem vendosni një adresë email të vlefshme', + }, + file: { + default: 'Ju lutem përzgjidhni një skedar të vlefshëm', + }, + greaterThan: { + default: 'Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s', + notInclusive: 'Ju lutem vendosni një vlerë më të madhe se %s', + }, + grid: { + default: 'Ju lutem vendosni një numër GRId të vlefshëm', + }, + hex: { + default: 'Ju lutem vendosni një numër të saktë heksadecimal', + }, + iban: { + countries: { + AD: 'Andora', + AE: 'Emiratet e Bashkuara Arabe', + AL: 'Shqipëri', + AO: 'Angola', + AT: 'Austri', + AZ: 'Azerbajxhan', + BA: 'Bosnjë dhe Hercegovinë', + BE: 'Belgjikë', + BF: 'Burkina Faso', + BG: 'Bullgari', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Zvicër', + CI: 'Bregu i fildishtë', + CM: 'Kamerun', + CR: 'Kosta Rika', + CV: 'Kepi i Gjelbër', + CY: 'Qipro', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + DO: 'Dominika', + DZ: 'Algjeri', + EE: 'Estoni', + ES: 'Spanjë', + FI: 'Finlandë', + FO: 'Ishujt Faroe', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + GE: 'Gjeorgji', + GI: 'Gjibraltar', + GL: 'Groenlandë', + GR: 'Greqi', + GT: 'Guatemalë', + HR: 'Kroaci', + HU: 'Hungari', + IE: 'Irlandë', + IL: 'Izrael', + IR: 'Iran', + IS: 'Islandë', + IT: 'Itali', + JO: 'Jordani', + KW: 'Kuvajt', + KZ: 'Kazakistan', + LB: 'Liban', + LI: 'Lihtenshtejn', + LT: 'Lituani', + LU: 'Luksemburg', + LV: 'Letoni', + MC: 'Monako', + MD: 'Moldavi', + ME: 'Mal i Zi', + MG: 'Madagaskar', + MK: 'Maqedoni', + ML: 'Mali', + MR: 'Mauritani', + MT: 'Maltë', + MU: 'Mauricius', + MZ: 'Mozambik', + NL: 'Hollandë', + NO: 'Norvegji', + PK: 'Pakistan', + PL: 'Poloni', + PS: 'Palestinë', + PT: 'Portugali', + QA: 'Katar', + RO: 'Rumani', + RS: 'Serbi', + SA: 'Arabi Saudite', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Sllovaki', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timori Lindor', + TN: 'Tunizi', + TR: 'Turqi', + VG: 'Ishujt Virxhin Britanikë', + XK: 'Republika e Kosovës', + }, + country: 'Ju lutem vendosni një numër IBAN të vlefshëm në %s', + default: 'Ju lutem vendosni një numër IBAN të vlefshëm', + }, + id: { + countries: { + BA: 'Bosnjë dhe Hercegovinë', + BG: 'Bullgari', + BR: 'Brazil', + CH: 'Zvicër', + CL: 'Kili', + CN: 'Kinë', + CZ: 'Republika Çeke', + DK: 'Danimarkë', + EE: 'Estoni', + ES: 'Spanjë', + FI: 'Finlandë', + HR: 'Kroaci', + IE: 'Irlandë', + IS: 'Islandë', + LT: 'Lituani', + LV: 'Letoni', + ME: 'Mal i Zi', + MK: 'Maqedoni', + NL: 'Hollandë', + PL: 'Poloni', + RO: 'Rumani', + RS: 'Serbi', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Slovaki', + SM: 'San Marino', + TH: 'Tajlandë', + TR: 'Turqi', + ZA: 'Afrikë e Jugut', + }, + country: 'Ju lutem vendosni një numër identifikimi të vlefshëm në %s', + default: 'Ju lutem vendosni një numër identifikimi të vlefshëm', + }, + identical: { + default: 'Ju lutem vendosni të njëjtën vlerë', + }, + imei: { + default: 'Ju lutem vendosni numër IMEI të njëjtë', + }, + imo: { + default: 'Ju lutem vendosni numër IMO të vlefshëm', + }, + integer: { + default: 'Ju lutem vendosni një numër të vlefshëm', + }, + ip: { + default: 'Ju lutem vendosni një adresë IP të vlefshme', + ipv4: 'Ju lutem vendosni një adresë IPv4 të vlefshme', + ipv6: 'Ju lutem vendosni një adresë IPv6 të vlefshme', + }, + isbn: { + default: 'Ju lutem vendosni një numër ISBN të vlefshëm', + }, + isin: { + default: 'Ju lutem vendosni një numër ISIN të vlefshëm', + }, + ismn: { + default: 'Ju lutem vendosni një numër ISMN të vlefshëm', + }, + issn: { + default: 'Ju lutem vendosni një numër ISSN të vlefshëm', + }, + lessThan: { + default: 'Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s', + notInclusive: 'Ju lutem vendosni një vlerë më të vogël se %s', + }, + mac: { + default: 'Ju lutem vendosni një adresë MAC të vlefshme', + }, + meid: { + default: 'Ju lutem vendosni një numër MEID të vlefshëm', + }, + notEmpty: { + default: 'Ju lutem vendosni një vlerë', + }, + numeric: { + default: 'Ju lutem vendosni një numër me presje notuese të saktë', + }, + phone: { + countries: { + AE: 'Emiratet e Bashkuara Arabe', + BG: 'Bullgari', + BR: 'Brazil', + CN: 'Kinë', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + ES: 'Spanjë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + IN: 'Indi', + MA: 'Marok', + NL: 'Hollandë', + PK: 'Pakistan', + RO: 'Rumani', + RU: 'Rusi', + SK: 'Sllovaki', + TH: 'Tajlandë', + US: 'SHBA', + VE: 'Venezuelë', + }, + country: 'Ju lutem vendosni një numër telefoni të vlefshëm në %s', + default: 'Ju lutem vendosni një numër telefoni të vlefshëm', + }, + promise: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + regexp: { + default: 'Ju lutem vendosni një vlerë që përputhet me modelin', + }, + remote: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + rtn: { + default: 'Ju lutem vendosni një numër RTN të vlefshëm', + }, + sedol: { + default: 'Ju lutem vendosni një numër SEDOL të vlefshëm', + }, + siren: { + default: 'Ju lutem vendosni një numër SIREN të vlefshëm', + }, + siret: { + default: 'Ju lutem vendosni një numër SIRET të vlefshëm', + }, + step: { + default: 'Ju lutem vendosni një hap të vlefshëm të %s', + }, + stringCase: { + default: 'Ju lutem përdorni vetëm shenja të vogla të shtypit', + upper: 'Ju lutem përdorni vetëm shenja të mëdha të shtypit', + }, + stringLength: { + between: 'Ju lutem vendosni një vlerë me gjatësi midis %s dhe %s simbole', + default: 'Ju lutem vendosni një vlerë me gjatësinë e duhur', + less: 'Ju lutem vendosni më pak se %s simbole', + more: 'Ju lutem vendosni më shumë se %s simbole', + }, + uri: { + default: 'Ju lutem vendosni një URI të vlefshme', + }, + uuid: { + default: 'Ju lutem vendosni një numër UUID të vlefshëm', + version: 'Ju lutem vendosni një numër UUID version %s të vlefshëm', + }, + vat: { + countries: { + AT: 'Austri', + BE: 'Belgjikë', + BG: 'Bullgari', + BR: 'Brazil', + CH: 'Zvicër', + CY: 'Qipro', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + EE: 'Estoni', + EL: 'Greqi', + ES: 'Spanjë', + FI: 'Finlandë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + GR: 'Greqi', + HR: 'Kroaci', + HU: 'Hungari', + IE: 'Irlandë', + IS: 'Iclandë', + IT: 'Itali', + LT: 'Lituani', + LU: 'Luksemburg', + LV: 'Letoni', + MT: 'Maltë', + NL: 'Hollandë', + NO: 'Norvegji', + PL: 'Poloni', + PT: 'Portugali', + RO: 'Rumani', + RS: 'Serbi', + RU: 'Rusi', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Sllovaki', + VE: 'Venezuelë', + ZA: 'Afrikë e Jugut', + }, + country: 'Ju lutem vendosni një numër VAT të vlefshëm në %s', + default: 'Ju lutem vendosni një numër VAT të vlefshëm', + }, + vin: { + default: 'Ju lutem vendosni një numër VIN të vlefshëm', + }, + zipCode: { + countries: { + AT: 'Austri', + BG: 'Bullgari', + BR: 'Brazil', + CA: 'Kanada', + CH: 'Zvicër', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + ES: 'Spanjë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + IE: 'Irlandë', + IN: 'Indi', + IT: 'Itali', + MA: 'Marok', + NL: 'Hollandë', + PL: 'Poloni', + PT: 'Portugali', + RO: 'Rumani', + RU: 'Rusi', + SE: 'Suedi', + SG: 'Singapor', + SK: 'Sllovaki', + US: 'SHBA', + }, + country: 'Ju lutem vendosni një kod postar të vlefshëm në %s', + default: 'Ju lutem vendosni një kod postar të vlefshëm', + }, + }; + + return sq_AL; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/sq_AL.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/sq_AL.min.js new file mode 100644 index 0000000..7f8329e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/sq_AL.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.sq_AL=factory())})(this,(function(){"use strict";var sq_AL={base64:{default:"Ju lutem përdorni sistemin e kodimit Base64"},between:{default:"Ju lutem vendosni një vlerë midis %s dhe %s",notInclusive:"Ju lutem vendosni një vlerë rreptësisht midis %s dhe %s"},bic:{default:"Ju lutem vendosni një numër BIC të vlefshëm"},callback:{default:"Ju lutem vendosni një vlerë të vlefshme"},choice:{between:"Ju lutem përzgjidhni %s - %s mundësi",default:"Ju lutem vendosni një vlerë të vlefshme",less:"Ju lutem përzgjidhni së paku %s mundësi",more:"Ju lutem përzgjidhni së shumti %s mundësi "},color:{default:"Ju lutem vendosni një ngjyrë të vlefshme"},creditCard:{default:"Ju lutem vendosni një numër karte krediti të vlefshëm"},cusip:{default:"Ju lutem vendosni një numër CUSIP të vlefshëm"},date:{default:"Ju lutem vendosni një datë të saktë",max:"Ju lutem vendosni një datë para %s",min:"Ju lutem vendosni një datë pas %s",range:"Ju lutem vendosni një datë midis %s - %s"},different:{default:"Ju lutem vendosni një vlerë tjetër"},digits:{default:"Ju lutem vendosni vetëm numra"},ean:{default:"Ju lutem vendosni një numër EAN të vlefshëm"},ein:{default:"Ju lutem vendosni një numër EIN të vlefshëm"},emailAddress:{default:"Ju lutem vendosni një adresë email të vlefshme"},file:{default:"Ju lutem përzgjidhni një skedar të vlefshëm"},greaterThan:{default:"Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s",notInclusive:"Ju lutem vendosni një vlerë më të madhe se %s"},grid:{default:"Ju lutem vendosni një numër GRId të vlefshëm"},hex:{default:"Ju lutem vendosni një numër të saktë heksadecimal"},iban:{countries:{AD:"Andora",AE:"Emiratet e Bashkuara Arabe",AL:"Shqipëri",AO:"Angola",AT:"Austri",AZ:"Azerbajxhan",BA:"Bosnjë dhe Hercegovinë",BE:"Belgjikë",BF:"Burkina Faso",BG:"Bullgari",BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Zvicër",CI:"Bregu i fildishtë",CM:"Kamerun",CR:"Kosta Rika",CV:"Kepi i Gjelbër",CY:"Qipro",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",DO:"Dominika",DZ:"Algjeri",EE:"Estoni",ES:"Spanjë",FI:"Finlandë",FO:"Ishujt Faroe",FR:"Francë",GB:"Mbretëria e Bashkuar",GE:"Gjeorgji",GI:"Gjibraltar",GL:"Groenlandë",GR:"Greqi",GT:"Guatemalë",HR:"Kroaci",HU:"Hungari",IE:"Irlandë",IL:"Izrael",IR:"Iran",IS:"Islandë",IT:"Itali",JO:"Jordani",KW:"Kuvajt",KZ:"Kazakistan",LB:"Liban",LI:"Lihtenshtejn",LT:"Lituani",LU:"Luksemburg",LV:"Letoni",MC:"Monako",MD:"Moldavi",ME:"Mal i Zi",MG:"Madagaskar",MK:"Maqedoni",ML:"Mali",MR:"Mauritani",MT:"Maltë",MU:"Mauricius",MZ:"Mozambik",NL:"Hollandë",NO:"Norvegji",PK:"Pakistan",PL:"Poloni",PS:"Palestinë",PT:"Portugali",QA:"Katar",RO:"Rumani",RS:"Serbi",SA:"Arabi Saudite",SE:"Suedi",SI:"Slloveni",SK:"Sllovaki",SM:"San Marino",SN:"Senegal",TL:"Timori Lindor",TN:"Tunizi",TR:"Turqi",VG:"Ishujt Virxhin Britanikë",XK:"Republika e Kosovës"},country:"Ju lutem vendosni një numër IBAN të vlefshëm në %s",default:"Ju lutem vendosni një numër IBAN të vlefshëm"},id:{countries:{BA:"Bosnjë dhe Hercegovinë",BG:"Bullgari",BR:"Brazil",CH:"Zvicër",CL:"Kili",CN:"Kinë",CZ:"Republika Çeke",DK:"Danimarkë",EE:"Estoni",ES:"Spanjë",FI:"Finlandë",HR:"Kroaci",IE:"Irlandë",IS:"Islandë",LT:"Lituani",LV:"Letoni",ME:"Mal i Zi",MK:"Maqedoni",NL:"Hollandë",PL:"Poloni",RO:"Rumani",RS:"Serbi",SE:"Suedi",SI:"Slloveni",SK:"Slovaki",SM:"San Marino",TH:"Tajlandë",TR:"Turqi",ZA:"Afrikë e Jugut"},country:"Ju lutem vendosni një numër identifikimi të vlefshëm në %s",default:"Ju lutem vendosni një numër identifikimi të vlefshëm"},identical:{default:"Ju lutem vendosni të njëjtën vlerë"},imei:{default:"Ju lutem vendosni numër IMEI të njëjtë"},imo:{default:"Ju lutem vendosni numër IMO të vlefshëm"},integer:{default:"Ju lutem vendosni një numër të vlefshëm"},ip:{default:"Ju lutem vendosni një adresë IP të vlefshme",ipv4:"Ju lutem vendosni një adresë IPv4 të vlefshme",ipv6:"Ju lutem vendosni një adresë IPv6 të vlefshme"},isbn:{default:"Ju lutem vendosni një numër ISBN të vlefshëm"},isin:{default:"Ju lutem vendosni një numër ISIN të vlefshëm"},ismn:{default:"Ju lutem vendosni një numër ISMN të vlefshëm"},issn:{default:"Ju lutem vendosni një numër ISSN të vlefshëm"},lessThan:{default:"Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s",notInclusive:"Ju lutem vendosni një vlerë më të vogël se %s"},mac:{default:"Ju lutem vendosni një adresë MAC të vlefshme"},meid:{default:"Ju lutem vendosni një numër MEID të vlefshëm"},notEmpty:{default:"Ju lutem vendosni një vlerë"},numeric:{default:"Ju lutem vendosni një numër me presje notuese të saktë"},phone:{countries:{AE:"Emiratet e Bashkuara Arabe",BG:"Bullgari",BR:"Brazil",CN:"Kinë",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",ES:"Spanjë",FR:"Francë",GB:"Mbretëria e Bashkuar",IN:"Indi",MA:"Marok",NL:"Hollandë",PK:"Pakistan",RO:"Rumani",RU:"Rusi",SK:"Sllovaki",TH:"Tajlandë",US:"SHBA",VE:"Venezuelë"},country:"Ju lutem vendosni një numër telefoni të vlefshëm në %s",default:"Ju lutem vendosni një numër telefoni të vlefshëm"},promise:{default:"Ju lutem vendosni një vlerë të vlefshme"},regexp:{default:"Ju lutem vendosni një vlerë që përputhet me modelin"},remote:{default:"Ju lutem vendosni një vlerë të vlefshme"},rtn:{default:"Ju lutem vendosni një numër RTN të vlefshëm"},sedol:{default:"Ju lutem vendosni një numër SEDOL të vlefshëm"},siren:{default:"Ju lutem vendosni një numër SIREN të vlefshëm"},siret:{default:"Ju lutem vendosni një numër SIRET të vlefshëm"},step:{default:"Ju lutem vendosni një hap të vlefshëm të %s"},stringCase:{default:"Ju lutem përdorni vetëm shenja të vogla të shtypit",upper:"Ju lutem përdorni vetëm shenja të mëdha të shtypit"},stringLength:{between:"Ju lutem vendosni një vlerë me gjatësi midis %s dhe %s simbole",default:"Ju lutem vendosni një vlerë me gjatësinë e duhur",less:"Ju lutem vendosni më pak se %s simbole",more:"Ju lutem vendosni më shumë se %s simbole"},uri:{default:"Ju lutem vendosni një URI të vlefshme"},uuid:{default:"Ju lutem vendosni një numër UUID të vlefshëm",version:"Ju lutem vendosni një numër UUID version %s të vlefshëm"},vat:{countries:{AT:"Austri",BE:"Belgjikë",BG:"Bullgari",BR:"Brazil",CH:"Zvicër",CY:"Qipro",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",EE:"Estoni",EL:"Greqi",ES:"Spanjë",FI:"Finlandë",FR:"Francë",GB:"Mbretëria e Bashkuar",GR:"Greqi",HR:"Kroaci",HU:"Hungari",IE:"Irlandë",IS:"Iclandë",IT:"Itali",LT:"Lituani",LU:"Luksemburg",LV:"Letoni",MT:"Maltë",NL:"Hollandë",NO:"Norvegji",PL:"Poloni",PT:"Portugali",RO:"Rumani",RS:"Serbi",RU:"Rusi",SE:"Suedi",SI:"Slloveni",SK:"Sllovaki",VE:"Venezuelë",ZA:"Afrikë e Jugut"},country:"Ju lutem vendosni një numër VAT të vlefshëm në %s",default:"Ju lutem vendosni një numër VAT të vlefshëm"},vin:{default:"Ju lutem vendosni një numër VIN të vlefshëm"},zipCode:{countries:{AT:"Austri",BG:"Bullgari",BR:"Brazil",CA:"Kanada",CH:"Zvicër",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",ES:"Spanjë",FR:"Francë",GB:"Mbretëria e Bashkuar",IE:"Irlandë",IN:"Indi",IT:"Itali",MA:"Marok",NL:"Hollandë",PL:"Poloni",PT:"Portugali",RO:"Rumani",RU:"Rusi",SE:"Suedi",SG:"Singapor",SK:"Sllovaki",US:"SHBA"},country:"Ju lutem vendosni një kod postar të vlefshëm në %s",default:"Ju lutem vendosni një kod postar të vlefshëm"}};return sq_AL})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/sr_RS.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/sr_RS.js new file mode 100644 index 0000000..7234450 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/sr_RS.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.sr_RS = factory())); +})(this, (function () { 'use strict'; + + /** + * Serbian Latin language package + * Translated by @markocrni + */ + + var sr_RS = { + base64: { + default: 'Molimo da unesete važeći base 64 enkodovan', + }, + between: { + default: 'Molimo da unesete vrednost između %s i %s', + notInclusive: 'Molimo da unesete vrednost strogo između %s i %s', + }, + bic: { + default: 'Molimo da unesete ispravan BIC broj', + }, + callback: { + default: 'Molimo da unesete važeću vrednost', + }, + choice: { + between: 'Molimo odaberite %s - %s opcije(a)', + default: 'Molimo da unesete važeću vrednost', + less: 'Molimo da odaberete minimalno %s opciju(a)', + more: 'Molimo da odaberete maksimalno %s opciju(a)', + }, + color: { + default: 'Molimo da unesete ispravnu boju', + }, + creditCard: { + default: 'Molimo da unesete ispravan broj kreditne kartice', + }, + cusip: { + default: 'Molimo da unesete ispravan CUSIP broj', + }, + date: { + default: 'Molimo da unesete ispravan datum', + max: 'Molimo da unesete datum pre %s', + min: 'Molimo da unesete datum posle %s', + range: 'Molimo da unesete datum od %s do %s', + }, + different: { + default: 'Molimo da unesete drugu vrednost', + }, + digits: { + default: 'Molimo da unesete samo cifre', + }, + ean: { + default: 'Molimo da unesete ispravan EAN broj', + }, + ein: { + default: 'Molimo da unesete ispravan EIN broj', + }, + emailAddress: { + default: 'Molimo da unesete važeću e-mail adresu', + }, + file: { + default: 'Molimo da unesete ispravan fajl', + }, + greaterThan: { + default: 'Molimo da unesete vrednost veću ili jednaku od %s', + notInclusive: 'Molimo da unesete vrednost veću od %s', + }, + grid: { + default: 'Molimo da unesete ispravan GRId broj', + }, + hex: { + default: 'Molimo da unesete ispravan heksadecimalan broj', + }, + iban: { + countries: { + AD: 'Andore', + AE: 'Ujedinjenih Arapskih Emirata', + AL: 'Albanije', + AO: 'Angole', + AT: 'Austrije', + AZ: 'Azerbejdžana', + BA: 'Bosne i Hercegovine', + BE: 'Belgije', + BF: 'Burkina Fasa', + BG: 'Bugarske', + BH: 'Bahraina', + BI: 'Burundija', + BJ: 'Benina', + BR: 'Brazila', + CH: 'Švajcarske', + CI: 'Obale slonovače', + CM: 'Kameruna', + CR: 'Kostarike', + CV: 'Zelenorotskih Ostrva', + CY: 'Kipra', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + DO: 'Dominike', + DZ: 'Alžira', + EE: 'Estonije', + ES: 'Španije', + FI: 'Finske', + FO: 'Farskih Ostrva', + FR: 'Francuske', + GB: 'Engleske', + GE: 'Džordžije', + GI: 'Giblartara', + GL: 'Grenlanda', + GR: 'Grčke', + GT: 'Gvatemale', + HR: 'Hrvatske', + HU: 'Mađarske', + IE: 'Irske', + IL: 'Izraela', + IR: 'Irana', + IS: 'Islanda', + IT: 'Italije', + JO: 'Jordana', + KW: 'Kuvajta', + KZ: 'Kazahstana', + LB: 'Libana', + LI: 'Lihtenštajna', + LT: 'Litvanije', + LU: 'Luksemburga', + LV: 'Latvije', + MC: 'Monaka', + MD: 'Moldove', + ME: 'Crne Gore', + MG: 'Madagaskara', + MK: 'Makedonije', + ML: 'Malija', + MR: 'Mauritanije', + MT: 'Malte', + MU: 'Mauricijusa', + MZ: 'Mozambika', + NL: 'Holandije', + NO: 'Norveške', + PK: 'Pakistana', + PL: 'Poljske', + PS: 'Palestine', + PT: 'Portugala', + QA: 'Katara', + RO: 'Rumunije', + RS: 'Srbije', + SA: 'Saudijske Arabije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + SM: 'San Marina', + SN: 'Senegala', + TL: 'Источни Тимор', + TN: 'Tunisa', + TR: 'Turske', + VG: 'Britanskih Devičanskih Ostrva', + XK: 'Република Косово', + }, + country: 'Molimo da unesete ispravan IBAN broj %s', + default: 'Molimo da unesete ispravan IBAN broj', + }, + id: { + countries: { + BA: 'Bosne i Herzegovine', + BG: 'Bugarske', + BR: 'Brazila', + CH: 'Švajcarske', + CL: 'Čilea', + CN: 'Kine', + CZ: 'Češke', + DK: 'Danske', + EE: 'Estonije', + ES: 'Španije', + FI: 'Finske', + HR: 'Hrvatske', + IE: 'Irske', + IS: 'Islanda', + LT: 'Litvanije', + LV: 'Letonije', + ME: 'Crne Gore', + MK: 'Makedonije', + NL: 'Holandije', + PL: 'Poljske', + RO: 'Rumunije', + RS: 'Srbije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + SM: 'San Marina', + TH: 'Tajlanda', + TR: 'Turske', + ZA: 'Južne Afrike', + }, + country: 'Molimo da unesete ispravan identifikacioni broj %s', + default: 'Molimo da unesete ispravan identifikacioni broj', + }, + identical: { + default: 'Molimo da unesete istu vrednost', + }, + imei: { + default: 'Molimo da unesete ispravan IMEI broj', + }, + imo: { + default: 'Molimo da unesete ispravan IMO broj', + }, + integer: { + default: 'Molimo da unesete ispravan broj', + }, + ip: { + default: 'Molimo da unesete ispravnu IP adresu', + ipv4: 'Molimo da unesete ispravnu IPv4 adresu', + ipv6: 'Molimo da unesete ispravnu IPv6 adresu', + }, + isbn: { + default: 'Molimo da unesete ispravan ISBN broj', + }, + isin: { + default: 'Molimo da unesete ispravan ISIN broj', + }, + ismn: { + default: 'Molimo da unesete ispravan ISMN broj', + }, + issn: { + default: 'Molimo da unesete ispravan ISSN broj', + }, + lessThan: { + default: 'Molimo da unesete vrednost manju ili jednaku od %s', + notInclusive: 'Molimo da unesete vrednost manju od %s', + }, + mac: { + default: 'Molimo da unesete ispravnu MAC adresu', + }, + meid: { + default: 'Molimo da unesete ispravan MEID broj', + }, + notEmpty: { + default: 'Molimo da unesete vrednost', + }, + numeric: { + default: 'Molimo da unesete ispravan decimalni broj', + }, + phone: { + countries: { + AE: 'Ujedinjenih Arapskih Emirata', + BG: 'Bugarske', + BR: 'Brazila', + CN: 'Kine', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + ES: 'Španije', + FR: 'Francuske', + GB: 'Engleske', + IN: 'Индија', + MA: 'Maroka', + NL: 'Holandije', + PK: 'Pakistana', + RO: 'Rumunije', + RU: 'Rusije', + SK: 'Slovačke', + TH: 'Tajlanda', + US: 'Amerike', + VE: 'Venecuele', + }, + country: 'Molimo da unesete ispravan broj telefona %s', + default: 'Molimo da unesete ispravan broj telefona', + }, + promise: { + default: 'Molimo da unesete važeću vrednost', + }, + regexp: { + default: 'Molimo da unesete vrednost koja se poklapa sa paternom', + }, + remote: { + default: 'Molimo da unesete ispravnu vrednost', + }, + rtn: { + default: 'Molimo da unesete ispravan RTN broj', + }, + sedol: { + default: 'Molimo da unesete ispravan SEDOL broj', + }, + siren: { + default: 'Molimo da unesete ispravan SIREN broj', + }, + siret: { + default: 'Molimo da unesete ispravan SIRET broj', + }, + step: { + default: 'Molimo da unesete ispravan korak od %s', + }, + stringCase: { + default: 'Molimo da unesete samo mala slova', + upper: 'Molimo da unesete samo velika slova', + }, + stringLength: { + between: 'Molimo da unesete vrednost dužine između %s i %s karaktera', + default: 'Molimo da unesete vrednost sa ispravnom dužinom', + less: 'Molimo da unesete manje od %s karaktera', + more: 'Molimo da unesete više od %s karaktera', + }, + uri: { + default: 'Molimo da unesete ispravan URI', + }, + uuid: { + default: 'Molimo da unesete ispravan UUID broj', + version: 'Molimo da unesete ispravnu verziju UUID %s broja', + }, + vat: { + countries: { + AT: 'Austrije', + BE: 'Belgije', + BG: 'Bugarske', + BR: 'Brazila', + CH: 'Švajcarske', + CY: 'Kipra', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + EE: 'Estonije', + EL: 'Grčke', + ES: 'Španije', + FI: 'Finske', + FR: 'Francuske', + GB: 'Engleske', + GR: 'Grčke', + HR: 'Hrvatske', + HU: 'Mađarske', + IE: 'Irske', + IS: 'Islanda', + IT: 'Italije', + LT: 'Litvanije', + LU: 'Luksemburga', + LV: 'Letonije', + MT: 'Malte', + NL: 'Holandije', + NO: 'Norveške', + PL: 'Poljske', + PT: 'Portugala', + RO: 'Romunje', + RS: 'Srbije', + RU: 'Rusije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + VE: 'Venecuele', + ZA: 'Južne Afrike', + }, + country: 'Molimo da unesete ispravan VAT broj %s', + default: 'Molimo da unesete ispravan VAT broj', + }, + vin: { + default: 'Molimo da unesete ispravan VIN broj', + }, + zipCode: { + countries: { + AT: 'Austrije', + BG: 'Bugarske', + BR: 'Brazila', + CA: 'Kanade', + CH: 'Švajcarske', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + ES: 'Španije', + FR: 'Francuske', + GB: 'Engleske', + IE: 'Irske', + IN: 'Индија', + IT: 'Italije', + MA: 'Maroka', + NL: 'Holandije', + PL: 'Poljske', + PT: 'Portugala', + RO: 'Rumunije', + RU: 'Rusije', + SE: 'Švedske', + SG: 'Singapura', + SK: 'Slovačke', + US: 'Amerike', + }, + country: 'Molimo da unesete ispravan poštanski broj %s', + default: 'Molimo da unesete ispravan poštanski broj', + }, + }; + + return sr_RS; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/sr_RS.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/sr_RS.min.js new file mode 100644 index 0000000..65c485c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/sr_RS.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.sr_RS=factory())})(this,(function(){"use strict";var sr_RS={base64:{default:"Molimo da unesete važeći base 64 enkodovan"},between:{default:"Molimo da unesete vrednost između %s i %s",notInclusive:"Molimo da unesete vrednost strogo između %s i %s"},bic:{default:"Molimo da unesete ispravan BIC broj"},callback:{default:"Molimo da unesete važeću vrednost"},choice:{between:"Molimo odaberite %s - %s opcije(a)",default:"Molimo da unesete važeću vrednost",less:"Molimo da odaberete minimalno %s opciju(a)",more:"Molimo da odaberete maksimalno %s opciju(a)"},color:{default:"Molimo da unesete ispravnu boju"},creditCard:{default:"Molimo da unesete ispravan broj kreditne kartice"},cusip:{default:"Molimo da unesete ispravan CUSIP broj"},date:{default:"Molimo da unesete ispravan datum",max:"Molimo da unesete datum pre %s",min:"Molimo da unesete datum posle %s",range:"Molimo da unesete datum od %s do %s"},different:{default:"Molimo da unesete drugu vrednost"},digits:{default:"Molimo da unesete samo cifre"},ean:{default:"Molimo da unesete ispravan EAN broj"},ein:{default:"Molimo da unesete ispravan EIN broj"},emailAddress:{default:"Molimo da unesete važeću e-mail adresu"},file:{default:"Molimo da unesete ispravan fajl"},greaterThan:{default:"Molimo da unesete vrednost veću ili jednaku od %s",notInclusive:"Molimo da unesete vrednost veću od %s"},grid:{default:"Molimo da unesete ispravan GRId broj"},hex:{default:"Molimo da unesete ispravan heksadecimalan broj"},iban:{countries:{AD:"Andore",AE:"Ujedinjenih Arapskih Emirata",AL:"Albanije",AO:"Angole",AT:"Austrije",AZ:"Azerbejdžana",BA:"Bosne i Hercegovine",BE:"Belgije",BF:"Burkina Fasa",BG:"Bugarske",BH:"Bahraina",BI:"Burundija",BJ:"Benina",BR:"Brazila",CH:"Švajcarske",CI:"Obale slonovače",CM:"Kameruna",CR:"Kostarike",CV:"Zelenorotskih Ostrva",CY:"Kipra",CZ:"Češke",DE:"Nemačke",DK:"Danske",DO:"Dominike",DZ:"Alžira",EE:"Estonije",ES:"Španije",FI:"Finske",FO:"Farskih Ostrva",FR:"Francuske",GB:"Engleske",GE:"Džordžije",GI:"Giblartara",GL:"Grenlanda",GR:"Grčke",GT:"Gvatemale",HR:"Hrvatske",HU:"Mađarske",IE:"Irske",IL:"Izraela",IR:"Irana",IS:"Islanda",IT:"Italije",JO:"Jordana",KW:"Kuvajta",KZ:"Kazahstana",LB:"Libana",LI:"Lihtenštajna",LT:"Litvanije",LU:"Luksemburga",LV:"Latvije",MC:"Monaka",MD:"Moldove",ME:"Crne Gore",MG:"Madagaskara",MK:"Makedonije",ML:"Malija",MR:"Mauritanije",MT:"Malte",MU:"Mauricijusa",MZ:"Mozambika",NL:"Holandije",NO:"Norveške",PK:"Pakistana",PL:"Poljske",PS:"Palestine",PT:"Portugala",QA:"Katara",RO:"Rumunije",RS:"Srbije",SA:"Saudijske Arabije",SE:"Švedske",SI:"Slovenije",SK:"Slovačke",SM:"San Marina",SN:"Senegala",TL:"Источни Тимор",TN:"Tunisa",TR:"Turske",VG:"Britanskih Devičanskih Ostrva",XK:"Република Косово"},country:"Molimo da unesete ispravan IBAN broj %s",default:"Molimo da unesete ispravan IBAN broj"},id:{countries:{BA:"Bosne i Herzegovine",BG:"Bugarske",BR:"Brazila",CH:"Švajcarske",CL:"Čilea",CN:"Kine",CZ:"Češke",DK:"Danske",EE:"Estonije",ES:"Španije",FI:"Finske",HR:"Hrvatske",IE:"Irske",IS:"Islanda",LT:"Litvanije",LV:"Letonije",ME:"Crne Gore",MK:"Makedonije",NL:"Holandije",PL:"Poljske",RO:"Rumunije",RS:"Srbije",SE:"Švedske",SI:"Slovenije",SK:"Slovačke",SM:"San Marina",TH:"Tajlanda",TR:"Turske",ZA:"Južne Afrike"},country:"Molimo da unesete ispravan identifikacioni broj %s",default:"Molimo da unesete ispravan identifikacioni broj"},identical:{default:"Molimo da unesete istu vrednost"},imei:{default:"Molimo da unesete ispravan IMEI broj"},imo:{default:"Molimo da unesete ispravan IMO broj"},integer:{default:"Molimo da unesete ispravan broj"},ip:{default:"Molimo da unesete ispravnu IP adresu",ipv4:"Molimo da unesete ispravnu IPv4 adresu",ipv6:"Molimo da unesete ispravnu IPv6 adresu"},isbn:{default:"Molimo da unesete ispravan ISBN broj"},isin:{default:"Molimo da unesete ispravan ISIN broj"},ismn:{default:"Molimo da unesete ispravan ISMN broj"},issn:{default:"Molimo da unesete ispravan ISSN broj"},lessThan:{default:"Molimo da unesete vrednost manju ili jednaku od %s",notInclusive:"Molimo da unesete vrednost manju od %s"},mac:{default:"Molimo da unesete ispravnu MAC adresu"},meid:{default:"Molimo da unesete ispravan MEID broj"},notEmpty:{default:"Molimo da unesete vrednost"},numeric:{default:"Molimo da unesete ispravan decimalni broj"},phone:{countries:{AE:"Ujedinjenih Arapskih Emirata",BG:"Bugarske",BR:"Brazila",CN:"Kine",CZ:"Češke",DE:"Nemačke",DK:"Danske",ES:"Španije",FR:"Francuske",GB:"Engleske",IN:"Индија",MA:"Maroka",NL:"Holandije",PK:"Pakistana",RO:"Rumunije",RU:"Rusije",SK:"Slovačke",TH:"Tajlanda",US:"Amerike",VE:"Venecuele"},country:"Molimo da unesete ispravan broj telefona %s",default:"Molimo da unesete ispravan broj telefona"},promise:{default:"Molimo da unesete važeću vrednost"},regexp:{default:"Molimo da unesete vrednost koja se poklapa sa paternom"},remote:{default:"Molimo da unesete ispravnu vrednost"},rtn:{default:"Molimo da unesete ispravan RTN broj"},sedol:{default:"Molimo da unesete ispravan SEDOL broj"},siren:{default:"Molimo da unesete ispravan SIREN broj"},siret:{default:"Molimo da unesete ispravan SIRET broj"},step:{default:"Molimo da unesete ispravan korak od %s"},stringCase:{default:"Molimo da unesete samo mala slova",upper:"Molimo da unesete samo velika slova"},stringLength:{between:"Molimo da unesete vrednost dužine između %s i %s karaktera",default:"Molimo da unesete vrednost sa ispravnom dužinom",less:"Molimo da unesete manje od %s karaktera",more:"Molimo da unesete više od %s karaktera"},uri:{default:"Molimo da unesete ispravan URI"},uuid:{default:"Molimo da unesete ispravan UUID broj",version:"Molimo da unesete ispravnu verziju UUID %s broja"},vat:{countries:{AT:"Austrije",BE:"Belgije",BG:"Bugarske",BR:"Brazila",CH:"Švajcarske",CY:"Kipra",CZ:"Češke",DE:"Nemačke",DK:"Danske",EE:"Estonije",EL:"Grčke",ES:"Španije",FI:"Finske",FR:"Francuske",GB:"Engleske",GR:"Grčke",HR:"Hrvatske",HU:"Mađarske",IE:"Irske",IS:"Islanda",IT:"Italije",LT:"Litvanije",LU:"Luksemburga",LV:"Letonije",MT:"Malte",NL:"Holandije",NO:"Norveške",PL:"Poljske",PT:"Portugala",RO:"Romunje",RS:"Srbije",RU:"Rusije",SE:"Švedske",SI:"Slovenije",SK:"Slovačke",VE:"Venecuele",ZA:"Južne Afrike"},country:"Molimo da unesete ispravan VAT broj %s",default:"Molimo da unesete ispravan VAT broj"},vin:{default:"Molimo da unesete ispravan VIN broj"},zipCode:{countries:{AT:"Austrije",BG:"Bugarske",BR:"Brazila",CA:"Kanade",CH:"Švajcarske",CZ:"Češke",DE:"Nemačke",DK:"Danske",ES:"Španije",FR:"Francuske",GB:"Engleske",IE:"Irske",IN:"Индија",IT:"Italije",MA:"Maroka",NL:"Holandije",PL:"Poljske",PT:"Portugala",RO:"Rumunije",RU:"Rusije",SE:"Švedske",SG:"Singapura",SK:"Slovačke",US:"Amerike"},country:"Molimo da unesete ispravan poštanski broj %s",default:"Molimo da unesete ispravan poštanski broj"}};return sr_RS})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/sv_SE.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/sv_SE.js new file mode 100644 index 0000000..09dcd60 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/sv_SE.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.sv_SE = factory())); +})(this, (function () { 'use strict'; + + /** + * Swedish language package + * Translated by @ulsa + */ + + var sv_SE = { + base64: { + default: 'Vänligen mata in ett giltigt Base64-kodat värde', + }, + between: { + default: 'Vänligen mata in ett värde mellan %s och %s', + notInclusive: 'Vänligen mata in ett värde strikt mellan %s och %s', + }, + bic: { + default: 'Vänligen mata in ett giltigt BIC-nummer', + }, + callback: { + default: 'Vänligen mata in ett giltigt värde', + }, + choice: { + between: 'Vänligen välj %s - %s alternativ', + default: 'Vänligen mata in ett giltigt värde', + less: 'Vänligen välj minst %s alternativ', + more: 'Vänligen välj max %s alternativ', + }, + color: { + default: 'Vänligen mata in en giltig färg', + }, + creditCard: { + default: 'Vänligen mata in ett giltigt kredikortsnummer', + }, + cusip: { + default: 'Vänligen mata in ett giltigt CUSIP-nummer', + }, + date: { + default: 'Vänligen mata in ett giltigt datum', + max: 'Vänligen mata in ett datum före %s', + min: 'Vänligen mata in ett datum efter %s', + range: 'Vänligen mata in ett datum i intervallet %s - %s', + }, + different: { + default: 'Vänligen mata in ett annat värde', + }, + digits: { + default: 'Vänligen mata in endast siffror', + }, + ean: { + default: 'Vänligen mata in ett giltigt EAN-nummer', + }, + ein: { + default: 'Vänligen mata in ett giltigt EIN-nummer', + }, + emailAddress: { + default: 'Vänligen mata in en giltig emailadress', + }, + file: { + default: 'Vänligen välj en giltig fil', + }, + greaterThan: { + default: 'Vänligen mata in ett värde större än eller lika med %s', + notInclusive: 'Vänligen mata in ett värde större än %s', + }, + grid: { + default: 'Vänligen mata in ett giltigt GRID-nummer', + }, + hex: { + default: 'Vänligen mata in ett giltigt hexadecimalt tal', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Förenade Arabemiraten', + AL: 'Albanien', + AO: 'Angola', + AT: 'Österrike', + AZ: 'Azerbadjan', + BA: 'Bosnien och Herzegovina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbenskusten', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cypern', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Dominikanska Republiken', + DZ: 'Algeriet', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + FO: 'Färöarna', + FR: 'Frankrike', + GB: 'Storbritannien', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grönland', + GR: 'Greekland', + GT: 'Guatemala', + HR: 'Kroatien', + HU: 'Ungern', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordanien', + KW: 'Kuwait', + KZ: 'Kazakstan', + LB: 'Libanon', + LI: 'Lichtenstein', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MC: 'Monaco', + MD: 'Moldovien', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Holland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Rumänien', + RS: 'Serbien', + SA: 'Saudiarabien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Östtimor', + TN: 'Tunisien', + TR: 'Turkiet', + VG: 'Brittiska Jungfruöarna', + XK: 'Republiken Kosovo', + }, + country: 'Vänligen mata in ett giltigt IBAN-nummer i %s', + default: 'Vänligen mata in ett giltigt IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien och Hercegovina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tjeckien', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Lettland', + ME: 'Montenegro', + MK: 'Makedonien', + NL: 'Nederländerna', + PL: 'Polen', + RO: 'Rumänien', + RS: 'Serbien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkiet', + ZA: 'Sydafrika', + }, + country: 'Vänligen mata in ett giltigt identifikationsnummer i %s', + default: 'Vänligen mata in ett giltigt identifikationsnummer', + }, + identical: { + default: 'Vänligen mata in samma värde', + }, + imei: { + default: 'Vänligen mata in ett giltigt IMEI-nummer', + }, + imo: { + default: 'Vänligen mata in ett giltigt IMO-nummer', + }, + integer: { + default: 'Vänligen mata in ett giltigt heltal', + }, + ip: { + default: 'Vänligen mata in en giltig IP-adress', + ipv4: 'Vänligen mata in en giltig IPv4-adress', + ipv6: 'Vänligen mata in en giltig IPv6-adress', + }, + isbn: { + default: 'Vänligen mata in ett giltigt ISBN-nummer', + }, + isin: { + default: 'Vänligen mata in ett giltigt ISIN-nummer', + }, + ismn: { + default: 'Vänligen mata in ett giltigt ISMN-nummer', + }, + issn: { + default: 'Vänligen mata in ett giltigt ISSN-nummer', + }, + lessThan: { + default: 'Vänligen mata in ett värde mindre än eller lika med %s', + notInclusive: 'Vänligen mata in ett värde mindre än %s', + }, + mac: { + default: 'Vänligen mata in en giltig MAC-adress', + }, + meid: { + default: 'Vänligen mata in ett giltigt MEID-nummer', + }, + notEmpty: { + default: 'Vänligen mata in ett värde', + }, + numeric: { + default: 'Vänligen mata in ett giltigt flyttal', + }, + phone: { + countries: { + AE: 'Förenade Arabemiraten', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'Kina', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrike', + GB: 'Storbritannien', + IN: 'Indien', + MA: 'Marocko', + NL: 'Holland', + PK: 'Pakistan', + RO: 'Rumänien', + RU: 'Ryssland', + SK: 'Slovakien', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Vänligen mata in ett giltigt telefonnummer i %s', + default: 'Vänligen mata in ett giltigt telefonnummer', + }, + promise: { + default: 'Vänligen mata in ett giltigt värde', + }, + regexp: { + default: 'Vänligen mata in ett värde som matchar uttrycket', + }, + remote: { + default: 'Vänligen mata in ett giltigt värde', + }, + rtn: { + default: 'Vänligen mata in ett giltigt RTN-nummer', + }, + sedol: { + default: 'Vänligen mata in ett giltigt SEDOL-nummer', + }, + siren: { + default: 'Vänligen mata in ett giltigt SIREN-nummer', + }, + siret: { + default: 'Vänligen mata in ett giltigt SIRET-nummer', + }, + step: { + default: 'Vänligen mata in ett giltigt steg av %s', + }, + stringCase: { + default: 'Vänligen mata in endast små bokstäver', + upper: 'Vänligen mata in endast stora bokstäver', + }, + stringLength: { + between: 'Vänligen mata in ett värde mellan %s och %s tecken långt', + default: 'Vänligen mata in ett värde med giltig längd', + less: 'Vänligen mata in färre än %s tecken', + more: 'Vänligen mata in fler än %s tecken', + }, + uri: { + default: 'Vänligen mata in en giltig URI', + }, + uuid: { + default: 'Vänligen mata in ett giltigt UUID-nummer', + version: 'Vänligen mata in ett giltigt UUID-nummer av version %s', + }, + vat: { + countries: { + AT: 'Österrike', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Grekland', + ES: 'Spanien', + FI: 'Finland', + FR: 'Frankrike', + GB: 'Förenade Kungariket', + GR: 'Grekland', + HR: 'Kroatien', + HU: 'Ungern', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MT: 'Malta', + NL: 'Nederländerna', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RS: 'Serbien', + RU: 'Ryssland', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + VE: 'Venezuela', + ZA: 'Sydafrika', + }, + country: 'Vänligen mata in ett giltigt momsregistreringsnummer i %s', + default: 'Vänligen mata in ett giltigt momsregistreringsnummer', + }, + vin: { + default: 'Vänligen mata in ett giltigt VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Österrike', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Kanada', + CH: 'Schweiz', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrike', + GB: 'Förenade Kungariket', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marocko', + NL: 'Nederländerna', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RU: 'Ryssland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakien', + US: 'USA', + }, + country: 'Vänligen mata in ett giltigt postnummer i %s', + default: 'Vänligen mata in ett giltigt postnummer', + }, + }; + + return sv_SE; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/sv_SE.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/sv_SE.min.js new file mode 100644 index 0000000..822dd36 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/sv_SE.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.sv_SE=factory())})(this,(function(){"use strict";var sv_SE={base64:{default:"Vänligen mata in ett giltigt Base64-kodat värde"},between:{default:"Vänligen mata in ett värde mellan %s och %s",notInclusive:"Vänligen mata in ett värde strikt mellan %s och %s"},bic:{default:"Vänligen mata in ett giltigt BIC-nummer"},callback:{default:"Vänligen mata in ett giltigt värde"},choice:{between:"Vänligen välj %s - %s alternativ",default:"Vänligen mata in ett giltigt värde",less:"Vänligen välj minst %s alternativ",more:"Vänligen välj max %s alternativ"},color:{default:"Vänligen mata in en giltig färg"},creditCard:{default:"Vänligen mata in ett giltigt kredikortsnummer"},cusip:{default:"Vänligen mata in ett giltigt CUSIP-nummer"},date:{default:"Vänligen mata in ett giltigt datum",max:"Vänligen mata in ett datum före %s",min:"Vänligen mata in ett datum efter %s",range:"Vänligen mata in ett datum i intervallet %s - %s"},different:{default:"Vänligen mata in ett annat värde"},digits:{default:"Vänligen mata in endast siffror"},ean:{default:"Vänligen mata in ett giltigt EAN-nummer"},ein:{default:"Vänligen mata in ett giltigt EIN-nummer"},emailAddress:{default:"Vänligen mata in en giltig emailadress"},file:{default:"Vänligen välj en giltig fil"},greaterThan:{default:"Vänligen mata in ett värde större än eller lika med %s",notInclusive:"Vänligen mata in ett värde större än %s"},grid:{default:"Vänligen mata in ett giltigt GRID-nummer"},hex:{default:"Vänligen mata in ett giltigt hexadecimalt tal"},iban:{countries:{AD:"Andorra",AE:"Förenade Arabemiraten",AL:"Albanien",AO:"Angola",AT:"Österrike",AZ:"Azerbadjan",BA:"Bosnien och Herzegovina",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasilien",CH:"Schweiz",CI:"Elfenbenskusten",CM:"Kamerun",CR:"Costa Rica",CV:"Cape Verde",CY:"Cypern",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",DO:"Dominikanska Republiken",DZ:"Algeriet",EE:"Estland",ES:"Spanien",FI:"Finland",FO:"Färöarna",FR:"Frankrike",GB:"Storbritannien",GE:"Georgien",GI:"Gibraltar",GL:"Grönland",GR:"Greekland",GT:"Guatemala",HR:"Kroatien",HU:"Ungern",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italien",JO:"Jordanien",KW:"Kuwait",KZ:"Kazakstan",LB:"Libanon",LI:"Lichtenstein",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MC:"Monaco",MD:"Moldovien",ME:"Montenegro",MG:"Madagaskar",MK:"Makedonien",ML:"Mali",MR:"Mauretanien",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Holland",NO:"Norge",PK:"Pakistan",PL:"Polen",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Rumänien",RS:"Serbien",SA:"Saudiarabien",SE:"Sverige",SI:"Slovenien",SK:"Slovakien",SM:"San Marino",SN:"Senegal",TL:"Östtimor",TN:"Tunisien",TR:"Turkiet",VG:"Brittiska Jungfruöarna",XK:"Republiken Kosovo"},country:"Vänligen mata in ett giltigt IBAN-nummer i %s",default:"Vänligen mata in ett giltigt IBAN-nummer"},id:{countries:{BA:"Bosnien och Hercegovina",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CL:"Chile",CN:"Kina",CZ:"Tjeckien",DK:"Danmark",EE:"Estland",ES:"Spanien",FI:"Finland",HR:"Kroatien",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Lettland",ME:"Montenegro",MK:"Makedonien",NL:"Nederländerna",PL:"Polen",RO:"Rumänien",RS:"Serbien",SE:"Sverige",SI:"Slovenien",SK:"Slovakien",SM:"San Marino",TH:"Thailand",TR:"Turkiet",ZA:"Sydafrika"},country:"Vänligen mata in ett giltigt identifikationsnummer i %s",default:"Vänligen mata in ett giltigt identifikationsnummer"},identical:{default:"Vänligen mata in samma värde"},imei:{default:"Vänligen mata in ett giltigt IMEI-nummer"},imo:{default:"Vänligen mata in ett giltigt IMO-nummer"},integer:{default:"Vänligen mata in ett giltigt heltal"},ip:{default:"Vänligen mata in en giltig IP-adress",ipv4:"Vänligen mata in en giltig IPv4-adress",ipv6:"Vänligen mata in en giltig IPv6-adress"},isbn:{default:"Vänligen mata in ett giltigt ISBN-nummer"},isin:{default:"Vänligen mata in ett giltigt ISIN-nummer"},ismn:{default:"Vänligen mata in ett giltigt ISMN-nummer"},issn:{default:"Vänligen mata in ett giltigt ISSN-nummer"},lessThan:{default:"Vänligen mata in ett värde mindre än eller lika med %s",notInclusive:"Vänligen mata in ett värde mindre än %s"},mac:{default:"Vänligen mata in en giltig MAC-adress"},meid:{default:"Vänligen mata in ett giltigt MEID-nummer"},notEmpty:{default:"Vänligen mata in ett värde"},numeric:{default:"Vänligen mata in ett giltigt flyttal"},phone:{countries:{AE:"Förenade Arabemiraten",BG:"Bulgarien",BR:"Brasilien",CN:"Kina",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrike",GB:"Storbritannien",IN:"Indien",MA:"Marocko",NL:"Holland",PK:"Pakistan",RO:"Rumänien",RU:"Ryssland",SK:"Slovakien",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Vänligen mata in ett giltigt telefonnummer i %s",default:"Vänligen mata in ett giltigt telefonnummer"},promise:{default:"Vänligen mata in ett giltigt värde"},regexp:{default:"Vänligen mata in ett värde som matchar uttrycket"},remote:{default:"Vänligen mata in ett giltigt värde"},rtn:{default:"Vänligen mata in ett giltigt RTN-nummer"},sedol:{default:"Vänligen mata in ett giltigt SEDOL-nummer"},siren:{default:"Vänligen mata in ett giltigt SIREN-nummer"},siret:{default:"Vänligen mata in ett giltigt SIRET-nummer"},step:{default:"Vänligen mata in ett giltigt steg av %s"},stringCase:{default:"Vänligen mata in endast små bokstäver",upper:"Vänligen mata in endast stora bokstäver"},stringLength:{between:"Vänligen mata in ett värde mellan %s och %s tecken långt",default:"Vänligen mata in ett värde med giltig längd",less:"Vänligen mata in färre än %s tecken",more:"Vänligen mata in fler än %s tecken"},uri:{default:"Vänligen mata in en giltig URI"},uuid:{default:"Vänligen mata in ett giltigt UUID-nummer",version:"Vänligen mata in ett giltigt UUID-nummer av version %s"},vat:{countries:{AT:"Österrike",BE:"Belgien",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CY:"Cypern",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",EE:"Estland",EL:"Grekland",ES:"Spanien",FI:"Finland",FR:"Frankrike",GB:"Förenade Kungariket",GR:"Grekland",HR:"Kroatien",HU:"Ungern",IE:"Irland",IS:"Island",IT:"Italien",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MT:"Malta",NL:"Nederländerna",NO:"Norge",PL:"Polen",PT:"Portugal",RO:"Rumänien",RS:"Serbien",RU:"Ryssland",SE:"Sverige",SI:"Slovenien",SK:"Slovakien",VE:"Venezuela",ZA:"Sydafrika"},country:"Vänligen mata in ett giltigt momsregistreringsnummer i %s",default:"Vänligen mata in ett giltigt momsregistreringsnummer"},vin:{default:"Vänligen mata in ett giltigt VIN-nummer"},zipCode:{countries:{AT:"Österrike",BG:"Bulgarien",BR:"Brasilien",CA:"Kanada",CH:"Schweiz",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrike",GB:"Förenade Kungariket",IE:"Irland",IN:"Indien",IT:"Italien",MA:"Marocko",NL:"Nederländerna",PL:"Polen",PT:"Portugal",RO:"Rumänien",RU:"Ryssland",SE:"Sverige",SG:"Singapore",SK:"Slovakien",US:"USA"},country:"Vänligen mata in ett giltigt postnummer i %s",default:"Vänligen mata in ett giltigt postnummer"}};return sv_SE})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/th_TH.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/th_TH.js new file mode 100644 index 0000000..d98bf2f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/th_TH.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.th_TH = factory())); +})(this, (function () { 'use strict'; + + /** + * Thai language package + * Translated by @figgaro + */ + + var th_TH = { + base64: { + default: 'กรุณาระบุ base 64 encoded ให้ถูกต้อง', + }, + between: { + default: 'กรุณาระบุค่าระหว่าง %s และ %s', + notInclusive: 'กรุณาระบุค่าระหว่าง %s และ %s เท่านั้น', + }, + bic: { + default: 'กรุณาระบุหมายเลข BIC ให้ถูกต้อง', + }, + callback: { + default: 'กรุณาระบุค่าให้ถูก', + }, + choice: { + between: 'กรุณาเลือก %s - %s ที่มีอยู่', + default: 'กรุณาระบุค่าให้ถูกต้อง', + less: 'โปรดเลือกตัวเลือก %s ที่ต่ำสุด', + more: 'โปรดเลือกตัวเลือก %s ที่สูงสุด', + }, + color: { + default: 'กรุณาระบุค่าสี color ให้ถูกต้อง', + }, + creditCard: { + default: 'กรุณาระบุเลขที่บัตรเครดิตให้ถูกต้อง', + }, + cusip: { + default: 'กรุณาระบุหมายเลข CUSIP ให้ถูกต้อง', + }, + date: { + default: 'กรุณาระบุวันที่ให้ถูกต้อง', + max: 'ไม่สามารถระบุวันที่ได้หลังจาก %s', + min: 'ไม่สามารถระบุวันที่ได้ก่อน %s', + range: 'โปรดระบุวันที่ระหว่าง %s - %s', + }, + different: { + default: 'กรุณาระบุค่าอื่นที่แตกต่าง', + }, + digits: { + default: 'กรุณาระบุตัวเลขเท่านั้น', + }, + ean: { + default: 'กรุณาระบุหมายเลข EAN ให้ถูกต้อง', + }, + ein: { + default: 'กรุณาระบุหมายเลข EIN ให้ถูกต้อง', + }, + emailAddress: { + default: 'กรุณาระบุอีเมล์ให้ถูกต้อง', + }, + file: { + default: 'กรุณาเลือกไฟล์', + }, + greaterThan: { + default: 'กรุณาระบุค่ามากกว่าหรือเท่ากับ %s', + notInclusive: 'กรุณาระบุค่ามากกว่า %s', + }, + grid: { + default: 'กรุณาระบุหมายลข GRId ให้ถูกต้อง', + }, + hex: { + default: 'กรุณาระบุเลขฐานสิบหกให้ถูกต้อง', + }, + iban: { + countries: { + AD: 'อันดอร์รา', + AE: 'สหรัฐอาหรับเอมิเรตส์', + AL: 'แอลเบเนีย', + AO: 'แองโกลา', + AT: 'ออสเตรีย', + AZ: 'อาเซอร์ไบจาน', + BA: 'บอสเนียและเฮอร์เซโก', + BE: 'ประเทศเบลเยียม', + BF: 'บูร์กินาฟาโซ', + BG: 'บัลแกเรีย', + BH: 'บาห์เรน', + BI: 'บุรุนดี', + BJ: 'เบนิน', + BR: 'บราซิล', + CH: 'สวิตเซอร์แลนด์', + CI: 'ไอวอรี่โคสต์', + CM: 'แคเมอรูน', + CR: 'คอสตาริกา', + CV: 'เคปเวิร์ด', + CY: 'ไซปรัส', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + DO: 'สาธารณรัฐโดมินิกัน', + DZ: 'แอลจีเรีย', + EE: 'เอสโตเนีย', + ES: 'สเปน', + FI: 'ฟินแลนด์', + FO: 'หมู่เกาะแฟโร', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + GE: 'จอร์เจีย', + GI: 'ยิบรอลตา', + GL: 'กรีนแลนด์', + GR: 'กรีซ', + GT: 'กัวเตมาลา', + HR: 'โครเอเชีย', + HU: 'ฮังการี', + IE: 'ไอร์แลนด์', + IL: 'อิสราเอล', + IR: 'อิหร่าน', + IS: 'ไอซ์', + IT: 'อิตาลี', + JO: 'จอร์แดน', + KW: 'คูเวต', + KZ: 'คาซัคสถาน', + LB: 'เลบานอน', + LI: 'Liechtenstein', + LT: 'ลิทัวเนีย', + LU: 'ลักเซมเบิร์ก', + LV: 'ลัตเวีย', + MC: 'โมนาโก', + MD: 'มอลโดวา', + ME: 'มอนเตเนโก', + MG: 'มาดากัสการ์', + MK: 'มาซิโดเนีย', + ML: 'มาลี', + MR: 'มอริเตเนีย', + MT: 'มอลตา', + MU: 'มอริเชียส', + MZ: 'โมซัมบิก', + NL: 'เนเธอร์แลนด์', + NO: 'นอร์เวย์', + PK: 'ปากีสถาน', + PL: 'โปแลนด์', + PS: 'ปาเลสไตน์', + PT: 'โปรตุเกส', + QA: 'กาตาร์', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + SA: 'ซาอุดิอารเบีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + SM: 'ซานมาริโน', + SN: 'เซเนกัล', + TL: 'ติมอร์ตะวันออก', + TN: 'ตูนิเซีย', + TR: 'ตุรกี', + VG: 'หมู่เกาะบริติชเวอร์จิน', + XK: 'สาธารณรัฐโคโซโว', + }, + country: 'กรุณาระบุหมายเลข IBAN ใน %s', + default: 'กรุณาระบุหมายเลข IBAN ให้ถูกต้อง', + }, + id: { + countries: { + BA: 'บอสเนียและเฮอร์เซโก', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CH: 'วิตเซอร์แลนด์', + CL: 'ชิลี', + CN: 'จีน', + CZ: 'สาธารณรัฐเชค', + DK: 'เดนมาร์ก', + EE: 'เอสโตเนีย', + ES: 'สเปน', + FI: 'ฟินแลนด์', + HR: 'โครเอเชีย', + IE: 'ไอร์แลนด์', + IS: 'ไอซ์', + LT: 'ลิทัวเนีย', + LV: 'ลัตเวีย', + ME: 'มอนเตเนโก', + MK: 'มาซิโดเนีย', + NL: 'เนเธอร์แลนด์', + PL: 'โปแลนด์', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + SM: 'ซานมาริโน', + TH: 'ไทย', + TR: 'ตุรกี', + ZA: 'แอฟริกาใต้', + }, + country: 'โปรดระบุเลขบัตรประจำตัวประชาชนใน %s ให้ถูกต้อง', + default: 'โปรดระบุเลขบัตรประจำตัวประชาชนให้ถูกต้อง', + }, + identical: { + default: 'โปรดระบุค่าให้ตรง', + }, + imei: { + default: 'โปรดระบุหมายเลข IMEI ให้ถูกต้อง', + }, + imo: { + default: 'โปรดระบุหมายเลข IMO ให้ถูกต้อง', + }, + integer: { + default: 'โปรดระบุตัวเลขให้ถูกต้อง', + }, + ip: { + default: 'โปรดระบุ IP address ให้ถูกต้อง', + ipv4: 'โปรดระบุ IPv4 address ให้ถูกต้อง', + ipv6: 'โปรดระบุ IPv6 address ให้ถูกต้อง', + }, + isbn: { + default: 'โปรดระบุหมายเลข ISBN ให้ถูกต้อง', + }, + isin: { + default: 'โปรดระบุหมายเลข ISIN ให้ถูกต้อง', + }, + ismn: { + default: 'โปรดระบุหมายเลข ISMN ให้ถูกต้อง', + }, + issn: { + default: 'โปรดระบุหมายเลข ISSN ให้ถูกต้อง', + }, + lessThan: { + default: 'โปรดระบุค่าน้อยกว่าหรือเท่ากับ %s', + notInclusive: 'โปรดระบุค่าน้อยกว่า %s', + }, + mac: { + default: 'โปรดระบุหมายเลข MAC address ให้ถูกต้อง', + }, + meid: { + default: 'โปรดระบุหมายเลข MEID ให้ถูกต้อง', + }, + notEmpty: { + default: 'โปรดระบุค่า', + }, + numeric: { + default: 'โปรดระบุเลขหน่วยหรือจำนวนทศนิยม ให้ถูกต้อง', + }, + phone: { + countries: { + AE: 'สหรัฐอาหรับเอมิเรตส์', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CN: 'จีน', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + ES: 'สเปน', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + IN: 'อินเดีย', + MA: 'โมร็อกโก', + NL: 'เนเธอร์แลนด์', + PK: 'ปากีสถาน', + RO: 'โรมาเนีย', + RU: 'รัสเซีย', + SK: 'สโลวาเกีย', + TH: 'ไทย', + US: 'สหรัฐอเมริกา', + VE: 'เวเนซูเอลา', + }, + country: 'โปรดระบุหมายเลขโทรศัพท์ใน %s ให้ถูกต้อง', + default: 'โปรดระบุหมายเลขโทรศัพท์ให้ถูกต้อง', + }, + promise: { + default: 'กรุณาระบุค่าให้ถูก', + }, + regexp: { + default: 'โปรดระบุค่าให้ตรงกับรูปแบบที่กำหนด', + }, + remote: { + default: 'โปรดระบุค่าให้ถูกต้อง', + }, + rtn: { + default: 'โปรดระบุหมายเลข RTN ให้ถูกต้อง', + }, + sedol: { + default: 'โปรดระบุหมายเลข SEDOL ให้ถูกต้อง', + }, + siren: { + default: 'โปรดระบุหมายเลข SIREN ให้ถูกต้อง', + }, + siret: { + default: 'โปรดระบุหมายเลข SIRET ให้ถูกต้อง', + }, + step: { + default: 'โปรดระบุลำดับของ %s', + }, + stringCase: { + default: 'โปรดระบุตัวอักษรพิมพ์เล็กเท่านั้น', + upper: 'โปรดระบุตัวอักษรพิมพ์ใหญ่เท่านั้น', + }, + stringLength: { + between: 'โปรดระบุค่าตัวอักษรระหว่าง %s ถึง %s ตัวอักษร', + default: 'ค่าที่ระบุยังไม่ครบตามจำนวนที่กำหนด', + less: 'โปรดระบุค่าตัวอักษรน้อยกว่า %s ตัว', + more: 'โปรดระบุค่าตัวอักษรมากกว่า %s ตัว', + }, + uri: { + default: 'โปรดระบุค่า URI ให้ถูกต้อง', + }, + uuid: { + default: 'โปรดระบุหมายเลข UUID ให้ถูกต้อง', + version: 'โปรดระบุหมายเลข UUID ในเวอร์ชั่น %s', + }, + vat: { + countries: { + AT: 'ออสเตรีย', + BE: 'เบลเยี่ยม', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CH: 'วิตเซอร์แลนด์', + CY: 'ไซปรัส', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมัน', + DK: 'เดนมาร์ก', + EE: 'เอสโตเนีย', + EL: 'กรีซ', + ES: 'สเปน', + FI: 'ฟินแลนด์', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + GR: 'กรีซ', + HR: 'โครเอเชีย', + HU: 'ฮังการี', + IE: 'ไอร์แลนด์', + IS: 'ไอซ์', + IT: 'อิตาลี', + LT: 'ลิทัวเนีย', + LU: 'ลักเซมเบิร์ก', + LV: 'ลัตเวีย', + MT: 'มอลตา', + NL: 'เนเธอร์แลนด์', + NO: 'นอร์เวย์', + PL: 'โปแลนด์', + PT: 'โปรตุเกส', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + RU: 'รัสเซีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + VE: 'เวเนซูเอลา', + ZA: 'แอฟริกาใต้', + }, + country: 'โปรดระบุจำนวนภาษีมูลค่าเพิ่มใน %s', + default: 'โปรดระบุจำนวนภาษีมูลค่าเพิ่ม', + }, + vin: { + default: 'โปรดระบุหมายเลข VIN ให้ถูกต้อง', + }, + zipCode: { + countries: { + AT: 'ออสเตรีย', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CA: 'แคนาดา', + CH: 'วิตเซอร์แลนด์', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + ES: 'สเปน', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + IE: 'ไอร์แลนด์', + IN: 'อินเดีย', + IT: 'อิตาลี', + MA: 'โมร็อกโก', + NL: 'เนเธอร์แลนด์', + PL: 'โปแลนด์', + PT: 'โปรตุเกส', + RO: 'โรมาเนีย', + RU: 'รัสเซีย', + SE: 'สวีเดน', + SG: 'สิงคโปร์', + SK: 'สโลวาเกีย', + US: 'สหรัฐอเมริกา', + }, + country: 'โปรดระบุรหัสไปรษณีย์ให้ถูกต้องใน %s', + default: 'โปรดระบุรหัสไปรษณีย์ให้ถูกต้อง', + }, + }; + + return th_TH; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/th_TH.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/th_TH.min.js new file mode 100644 index 0000000..b3b1c71 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/th_TH.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.th_TH=factory())})(this,(function(){"use strict";var th_TH={base64:{default:"กรุณาระบุ base 64 encoded ให้ถูกต้อง"},between:{default:"กรุณาระบุค่าระหว่าง %s และ %s",notInclusive:"กรุณาระบุค่าระหว่าง %s และ %s เท่านั้น"},bic:{default:"กรุณาระบุหมายเลข BIC ให้ถูกต้อง"},callback:{default:"กรุณาระบุค่าให้ถูก"},choice:{between:"กรุณาเลือก %s - %s ที่มีอยู่",default:"กรุณาระบุค่าให้ถูกต้อง",less:"โปรดเลือกตัวเลือก %s ที่ต่ำสุด",more:"โปรดเลือกตัวเลือก %s ที่สูงสุด"},color:{default:"กรุณาระบุค่าสี color ให้ถูกต้อง"},creditCard:{default:"กรุณาระบุเลขที่บัตรเครดิตให้ถูกต้อง"},cusip:{default:"กรุณาระบุหมายเลข CUSIP ให้ถูกต้อง"},date:{default:"กรุณาระบุวันที่ให้ถูกต้อง",max:"ไม่สามารถระบุวันที่ได้หลังจาก %s",min:"ไม่สามารถระบุวันที่ได้ก่อน %s",range:"โปรดระบุวันที่ระหว่าง %s - %s"},different:{default:"กรุณาระบุค่าอื่นที่แตกต่าง"},digits:{default:"กรุณาระบุตัวเลขเท่านั้น"},ean:{default:"กรุณาระบุหมายเลข EAN ให้ถูกต้อง"},ein:{default:"กรุณาระบุหมายเลข EIN ให้ถูกต้อง"},emailAddress:{default:"กรุณาระบุอีเมล์ให้ถูกต้อง"},file:{default:"กรุณาเลือกไฟล์"},greaterThan:{default:"กรุณาระบุค่ามากกว่าหรือเท่ากับ %s",notInclusive:"กรุณาระบุค่ามากกว่า %s"},grid:{default:"กรุณาระบุหมายลข GRId ให้ถูกต้อง"},hex:{default:"กรุณาระบุเลขฐานสิบหกให้ถูกต้อง"},iban:{countries:{AD:"อันดอร์รา",AE:"สหรัฐอาหรับเอมิเรตส์",AL:"แอลเบเนีย",AO:"แองโกลา",AT:"ออสเตรีย",AZ:"อาเซอร์ไบจาน",BA:"บอสเนียและเฮอร์เซโก",BE:"ประเทศเบลเยียม",BF:"บูร์กินาฟาโซ",BG:"บัลแกเรีย",BH:"บาห์เรน",BI:"บุรุนดี",BJ:"เบนิน",BR:"บราซิล",CH:"สวิตเซอร์แลนด์",CI:"ไอวอรี่โคสต์",CM:"แคเมอรูน",CR:"คอสตาริกา",CV:"เคปเวิร์ด",CY:"ไซปรัส",CZ:"สาธารณรัฐเชค",DE:"เยอรมนี",DK:"เดนมาร์ก",DO:"สาธารณรัฐโดมินิกัน",DZ:"แอลจีเรีย",EE:"เอสโตเนีย",ES:"สเปน",FI:"ฟินแลนด์",FO:"หมู่เกาะแฟโร",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",GE:"จอร์เจีย",GI:"ยิบรอลตา",GL:"กรีนแลนด์",GR:"กรีซ",GT:"กัวเตมาลา",HR:"โครเอเชีย",HU:"ฮังการี",IE:"ไอร์แลนด์",IL:"อิสราเอล",IR:"อิหร่าน",IS:"ไอซ์",IT:"อิตาลี",JO:"จอร์แดน",KW:"คูเวต",KZ:"คาซัคสถาน",LB:"เลบานอน",LI:"Liechtenstein",LT:"ลิทัวเนีย",LU:"ลักเซมเบิร์ก",LV:"ลัตเวีย",MC:"โมนาโก",MD:"มอลโดวา",ME:"มอนเตเนโก",MG:"มาดากัสการ์",MK:"มาซิโดเนีย",ML:"มาลี",MR:"มอริเตเนีย",MT:"มอลตา",MU:"มอริเชียส",MZ:"โมซัมบิก",NL:"เนเธอร์แลนด์",NO:"นอร์เวย์",PK:"ปากีสถาน",PL:"โปแลนด์",PS:"ปาเลสไตน์",PT:"โปรตุเกส",QA:"กาตาร์",RO:"โรมาเนีย",RS:"เซอร์เบีย",SA:"ซาอุดิอารเบีย",SE:"สวีเดน",SI:"สโลวีเนีย",SK:"สโลวาเกีย",SM:"ซานมาริโน",SN:"เซเนกัล",TL:"ติมอร์ตะวันออก",TN:"ตูนิเซีย",TR:"ตุรกี",VG:"หมู่เกาะบริติชเวอร์จิน",XK:"สาธารณรัฐโคโซโว"},country:"กรุณาระบุหมายเลข IBAN ใน %s",default:"กรุณาระบุหมายเลข IBAN ให้ถูกต้อง"},id:{countries:{BA:"บอสเนียและเฮอร์เซโก",BG:"บัลแกเรีย",BR:"บราซิล",CH:"วิตเซอร์แลนด์",CL:"ชิลี",CN:"จีน",CZ:"สาธารณรัฐเชค",DK:"เดนมาร์ก",EE:"เอสโตเนีย",ES:"สเปน",FI:"ฟินแลนด์",HR:"โครเอเชีย",IE:"ไอร์แลนด์",IS:"ไอซ์",LT:"ลิทัวเนีย",LV:"ลัตเวีย",ME:"มอนเตเนโก",MK:"มาซิโดเนีย",NL:"เนเธอร์แลนด์",PL:"โปแลนด์",RO:"โรมาเนีย",RS:"เซอร์เบีย",SE:"สวีเดน",SI:"สโลวีเนีย",SK:"สโลวาเกีย",SM:"ซานมาริโน",TH:"ไทย",TR:"ตุรกี",ZA:"แอฟริกาใต้"},country:"โปรดระบุเลขบัตรประจำตัวประชาชนใน %s ให้ถูกต้อง",default:"โปรดระบุเลขบัตรประจำตัวประชาชนให้ถูกต้อง"},identical:{default:"โปรดระบุค่าให้ตรง"},imei:{default:"โปรดระบุหมายเลข IMEI ให้ถูกต้อง"},imo:{default:"โปรดระบุหมายเลข IMO ให้ถูกต้อง"},integer:{default:"โปรดระบุตัวเลขให้ถูกต้อง"},ip:{default:"โปรดระบุ IP address ให้ถูกต้อง",ipv4:"โปรดระบุ IPv4 address ให้ถูกต้อง",ipv6:"โปรดระบุ IPv6 address ให้ถูกต้อง"},isbn:{default:"โปรดระบุหมายเลข ISBN ให้ถูกต้อง"},isin:{default:"โปรดระบุหมายเลข ISIN ให้ถูกต้อง"},ismn:{default:"โปรดระบุหมายเลข ISMN ให้ถูกต้อง"},issn:{default:"โปรดระบุหมายเลข ISSN ให้ถูกต้อง"},lessThan:{default:"โปรดระบุค่าน้อยกว่าหรือเท่ากับ %s",notInclusive:"โปรดระบุค่าน้อยกว่า %s"},mac:{default:"โปรดระบุหมายเลข MAC address ให้ถูกต้อง"},meid:{default:"โปรดระบุหมายเลข MEID ให้ถูกต้อง"},notEmpty:{default:"โปรดระบุค่า"},numeric:{default:"โปรดระบุเลขหน่วยหรือจำนวนทศนิยม ให้ถูกต้อง"},phone:{countries:{AE:"สหรัฐอาหรับเอมิเรตส์",BG:"บัลแกเรีย",BR:"บราซิล",CN:"จีน",CZ:"สาธารณรัฐเชค",DE:"เยอรมนี",DK:"เดนมาร์ก",ES:"สเปน",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",IN:"อินเดีย",MA:"โมร็อกโก",NL:"เนเธอร์แลนด์",PK:"ปากีสถาน",RO:"โรมาเนีย",RU:"รัสเซีย",SK:"สโลวาเกีย",TH:"ไทย",US:"สหรัฐอเมริกา",VE:"เวเนซูเอลา"},country:"โปรดระบุหมายเลขโทรศัพท์ใน %s ให้ถูกต้อง",default:"โปรดระบุหมายเลขโทรศัพท์ให้ถูกต้อง"},promise:{default:"กรุณาระบุค่าให้ถูก"},regexp:{default:"โปรดระบุค่าให้ตรงกับรูปแบบที่กำหนด"},remote:{default:"โปรดระบุค่าให้ถูกต้อง"},rtn:{default:"โปรดระบุหมายเลข RTN ให้ถูกต้อง"},sedol:{default:"โปรดระบุหมายเลข SEDOL ให้ถูกต้อง"},siren:{default:"โปรดระบุหมายเลข SIREN ให้ถูกต้อง"},siret:{default:"โปรดระบุหมายเลข SIRET ให้ถูกต้อง"},step:{default:"โปรดระบุลำดับของ %s"},stringCase:{default:"โปรดระบุตัวอักษรพิมพ์เล็กเท่านั้น",upper:"โปรดระบุตัวอักษรพิมพ์ใหญ่เท่านั้น"},stringLength:{between:"โปรดระบุค่าตัวอักษรระหว่าง %s ถึง %s ตัวอักษร",default:"ค่าที่ระบุยังไม่ครบตามจำนวนที่กำหนด",less:"โปรดระบุค่าตัวอักษรน้อยกว่า %s ตัว",more:"โปรดระบุค่าตัวอักษรมากกว่า %s ตัว"},uri:{default:"โปรดระบุค่า URI ให้ถูกต้อง"},uuid:{default:"โปรดระบุหมายเลข UUID ให้ถูกต้อง",version:"โปรดระบุหมายเลข UUID ในเวอร์ชั่น %s"},vat:{countries:{AT:"ออสเตรีย",BE:"เบลเยี่ยม",BG:"บัลแกเรีย",BR:"บราซิล",CH:"วิตเซอร์แลนด์",CY:"ไซปรัส",CZ:"สาธารณรัฐเชค",DE:"เยอรมัน",DK:"เดนมาร์ก",EE:"เอสโตเนีย",EL:"กรีซ",ES:"สเปน",FI:"ฟินแลนด์",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",GR:"กรีซ",HR:"โครเอเชีย",HU:"ฮังการี",IE:"ไอร์แลนด์",IS:"ไอซ์",IT:"อิตาลี",LT:"ลิทัวเนีย",LU:"ลักเซมเบิร์ก",LV:"ลัตเวีย",MT:"มอลตา",NL:"เนเธอร์แลนด์",NO:"นอร์เวย์",PL:"โปแลนด์",PT:"โปรตุเกส",RO:"โรมาเนีย",RS:"เซอร์เบีย",RU:"รัสเซีย",SE:"สวีเดน",SI:"สโลวีเนีย",SK:"สโลวาเกีย",VE:"เวเนซูเอลา",ZA:"แอฟริกาใต้"},country:"โปรดระบุจำนวนภาษีมูลค่าเพิ่มใน %s",default:"โปรดระบุจำนวนภาษีมูลค่าเพิ่ม"},vin:{default:"โปรดระบุหมายเลข VIN ให้ถูกต้อง"},zipCode:{countries:{AT:"ออสเตรีย",BG:"บัลแกเรีย",BR:"บราซิล",CA:"แคนาดา",CH:"วิตเซอร์แลนด์",CZ:"สาธารณรัฐเชค",DE:"เยอรมนี",DK:"เดนมาร์ก",ES:"สเปน",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",IE:"ไอร์แลนด์",IN:"อินเดีย",IT:"อิตาลี",MA:"โมร็อกโก",NL:"เนเธอร์แลนด์",PL:"โปแลนด์",PT:"โปรตุเกส",RO:"โรมาเนีย",RU:"รัสเซีย",SE:"สวีเดน",SG:"สิงคโปร์",SK:"สโลวาเกีย",US:"สหรัฐอเมริกา"},country:"โปรดระบุรหัสไปรษณีย์ให้ถูกต้องใน %s",default:"โปรดระบุรหัสไปรษณีย์ให้ถูกต้อง"}};return th_TH})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/tr_TR.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/tr_TR.js new file mode 100644 index 0000000..7e94219 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/tr_TR.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.tr_TR = factory())); +})(this, (function () { 'use strict'; + + /** + * Turkish language package + * Translated By @CeRBeR666 + */ + + var tr_TR = { + base64: { + default: 'Lütfen 64 bit tabanına uygun bir giriş yapınız', + }, + between: { + default: 'Lütfen %s ile %s arasında bir değer giriniz', + notInclusive: 'Lütfen sadece %s ile %s arasında bir değer giriniz', + }, + bic: { + default: 'Lütfen geçerli bir BIC numarası giriniz', + }, + callback: { + default: 'Lütfen geçerli bir değer giriniz', + }, + choice: { + between: 'Lütfen %s - %s arası seçiniz', + default: 'Lütfen geçerli bir değer giriniz', + less: 'Lütfen minimum %s kadar değer giriniz', + more: 'Lütfen maksimum %s kadar değer giriniz', + }, + color: { + default: 'Lütfen geçerli bir codu giriniz', + }, + creditCard: { + default: 'Lütfen geçerli bir kredi kartı numarası giriniz', + }, + cusip: { + default: 'Lütfen geçerli bir CUSIP numarası giriniz', + }, + date: { + default: 'Lütfen geçerli bir tarih giriniz', + max: 'Lütfen %s tarihinden önce bir tarih giriniz', + min: 'Lütfen %s tarihinden sonra bir tarih giriniz', + range: 'Lütfen %s - %s aralığında bir tarih giriniz', + }, + different: { + default: 'Lütfen farklı bir değer giriniz', + }, + digits: { + default: 'Lütfen sadece sayı giriniz', + }, + ean: { + default: 'Lütfen geçerli bir EAN numarası giriniz', + }, + ein: { + default: 'Lütfen geçerli bir EIN numarası giriniz', + }, + emailAddress: { + default: 'Lütfen geçerli bir E-Mail adresi giriniz', + }, + file: { + default: 'Lütfen geçerli bir dosya seçiniz', + }, + greaterThan: { + default: 'Lütfen %s ye eşit veya daha büyük bir değer giriniz', + notInclusive: 'Lütfen %s den büyük bir değer giriniz', + }, + grid: { + default: 'Lütfen geçerli bir GRId numarası giriniz', + }, + hex: { + default: 'Lütfen geçerli bir Hexadecimal sayı giriniz', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Birleşik Arap Emirlikleri', + AL: 'Arnavutluk', + AO: 'Angola', + AT: 'Avusturya', + AZ: 'Azerbaycan', + BA: 'Bosna Hersek', + BE: 'Belçika', + BF: 'Burkina Faso', + BG: 'Bulgaristan', + BH: 'Bahreyn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brezilya', + CH: 'İsviçre', + CI: 'Fildişi Sahili', + CM: 'Kamerun', + CR: 'Kosta Rika', + CV: 'Cape Verde', + CY: 'Kıbrıs', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + DO: 'Dominik Cumhuriyeti', + DZ: 'Cezayir', + EE: 'Estonya', + ES: 'İspanya', + FI: 'Finlandiya', + FO: 'Faroe Adaları', + FR: 'Fransa', + GB: 'İngiltere', + GE: 'Georgia', + GI: 'Cebelitarık', + GL: 'Grönland', + GR: 'Yunansitan', + GT: 'Guatemala', + HR: 'Hırvatistan', + HU: 'Macaristan', + IE: 'İrlanda', + IL: 'İsrail', + IR: 'İran', + IS: 'İzlanda', + IT: 'İtalya', + JO: 'Ürdün', + KW: 'Kuveit', + KZ: 'Kazakistan', + LB: 'Lübnan', + LI: 'Lihtenştayn', + LT: 'Litvanya', + LU: 'Lüksemburg', + LV: 'Letonya', + MC: 'Monako', + MD: 'Moldova', + ME: 'Karadağ', + MG: 'Madagaskar', + MK: 'Makedonya', + ML: 'Mali', + MR: 'Moritanya', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Hollanda', + NO: 'Norveç', + PK: 'Pakistan', + PL: 'Polanya', + PS: 'Filistin', + PT: 'Portekiz', + QA: 'Katar', + RO: 'Romanya', + RS: 'Serbistan', + SA: 'Suudi Arabistan', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Doğu Timor', + TN: 'Tunus', + TR: 'Turkiye', + VG: 'Virgin Adaları, İngiliz', + XK: 'Kosova Cumhuriyeti', + }, + country: 'Lütfen geçerli bir IBAN numarası giriniz içinde %s', + default: 'Lütfen geçerli bir IBAN numarası giriniz', + }, + id: { + countries: { + BA: 'Bosna Hersek', + BG: 'Bulgaristan', + BR: 'Brezilya', + CH: 'İsviçre', + CL: 'Şili', + CN: 'Çin', + CZ: 'Çek Cumhuriyeti', + DK: 'Danimarka', + EE: 'Estonya', + ES: 'İspanya', + FI: 'Finlandiya', + HR: 'Hırvatistan', + IE: 'İrlanda', + IS: 'İzlanda', + LT: 'Litvanya', + LV: 'Letonya', + ME: 'Karadağ', + MK: 'Makedonya', + NL: 'Hollanda', + PL: 'Polanya', + RO: 'Romanya', + RS: 'Sırbistan', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + SM: 'San Marino', + TH: 'Tayland', + TR: 'Turkiye', + ZA: 'Güney Afrika', + }, + country: 'Lütfen geçerli bir kimlik numarası giriniz içinde %s', + default: 'Lütfen geçerli bir tanımlama numarası giriniz', + }, + identical: { + default: 'Lütfen aynı değeri giriniz', + }, + imei: { + default: 'Lütfen geçerli bir IMEI numarası giriniz', + }, + imo: { + default: 'Lütfen geçerli bir IMO numarası giriniz', + }, + integer: { + default: 'Lütfen geçerli bir numara giriniz', + }, + ip: { + default: 'Lütfen geçerli bir IP adresi giriniz', + ipv4: 'Lütfen geçerli bir IPv4 adresi giriniz', + ipv6: 'Lütfen geçerli bri IPv6 adresi giriniz', + }, + isbn: { + default: 'Lütfen geçerli bir ISBN numarası giriniz', + }, + isin: { + default: 'Lütfen geçerli bir ISIN numarası giriniz', + }, + ismn: { + default: 'Lütfen geçerli bir ISMN numarası giriniz', + }, + issn: { + default: 'Lütfen geçerli bir ISSN numarası giriniz', + }, + lessThan: { + default: 'Lütfen %s den düşük veya eşit bir değer giriniz', + notInclusive: 'Lütfen %s den büyük bir değer giriniz', + }, + mac: { + default: 'Lütfen geçerli bir MAC Adresi giriniz', + }, + meid: { + default: 'Lütfen geçerli bir MEID numarası giriniz', + }, + notEmpty: { + default: 'Bir değer giriniz', + }, + numeric: { + default: 'Lütfen geçerli bir float değer giriniz', + }, + phone: { + countries: { + AE: 'Birleşik Arap Emirlikleri', + BG: 'Bulgaristan', + BR: 'Brezilya', + CN: 'Çin', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + ES: 'İspanya', + FR: 'Fransa', + GB: 'İngiltere', + IN: 'Hindistan', + MA: 'Fas', + NL: 'Hollanda', + PK: 'Pakistan', + RO: 'Romanya', + RU: 'Rusya', + SK: 'Slovakya', + TH: 'Tayland', + US: 'Amerika', + VE: 'Venezüella', + }, + country: 'Lütfen geçerli bir telefon numarası giriniz içinde %s', + default: 'Lütfen geçerli bir telefon numarası giriniz', + }, + promise: { + default: 'Lütfen geçerli bir değer giriniz', + }, + regexp: { + default: 'Lütfen uyumlu bir değer giriniz', + }, + remote: { + default: 'Lütfen geçerli bir numara giriniz', + }, + rtn: { + default: 'Lütfen geçerli bir RTN numarası giriniz', + }, + sedol: { + default: 'Lütfen geçerli bir SEDOL numarası giriniz', + }, + siren: { + default: 'Lütfen geçerli bir SIREN numarası giriniz', + }, + siret: { + default: 'Lütfen geçerli bir SIRET numarası giriniz', + }, + step: { + default: 'Lütfen geçerli bir %s adımı giriniz', + }, + stringCase: { + default: 'Lütfen sadece küçük harf giriniz', + upper: 'Lütfen sadece büyük harf giriniz', + }, + stringLength: { + between: 'Lütfen %s ile %s arası uzunlukta bir değer giriniz', + default: 'Lütfen geçerli uzunluktaki bir değer giriniz', + less: 'Lütfen %s karakterden az değer giriniz', + more: 'Lütfen %s karakterden fazla değer giriniz', + }, + uri: { + default: 'Lütfen geçerli bir URL giriniz', + }, + uuid: { + default: 'Lütfen geçerli bir UUID numarası giriniz', + version: 'Lütfen geçerli bir UUID versiyon %s numarası giriniz', + }, + vat: { + countries: { + AT: 'Avustralya', + BE: 'Belçika', + BG: 'Bulgaristan', + BR: 'Brezilya', + CH: 'İsviçre', + CY: 'Kıbrıs', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + EE: 'Estonya', + EL: 'Yunanistan', + ES: 'İspanya', + FI: 'Finlandiya', + FR: 'Fransa', + GB: 'İngiltere', + GR: 'Yunanistan', + HR: 'Hırvatistan', + HU: 'Macaristan', + IE: 'Irlanda', + IS: 'İzlanda', + IT: 'Italya', + LT: 'Litvanya', + LU: 'Lüksemburg', + LV: 'Letonya', + MT: 'Malta', + NL: 'Hollanda', + NO: 'Norveç', + PL: 'Polonya', + PT: 'Portekiz', + RO: 'Romanya', + RS: 'Sırbistan', + RU: 'Rusya', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + VE: 'Venezüella', + ZA: 'Güney Afrika', + }, + country: 'Lütfen geçerli bir vergi numarası giriniz içinde %s', + default: 'Lütfen geçerli bir VAT kodu giriniz', + }, + vin: { + default: 'Lütfen geçerli bir VIN numarası giriniz', + }, + zipCode: { + countries: { + AT: 'Avustralya', + BG: 'Bulgaristan', + BR: 'Brezilya', + CA: 'Kanada', + CH: 'İsviçre', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + ES: 'İspanya', + FR: 'Fransa', + GB: 'İngiltere', + IE: 'Irlanda', + IN: 'Hindistan', + IT: 'İtalya', + MA: 'Fas', + NL: 'Hollanda', + PL: 'Polanya', + PT: 'Portekiz', + RO: 'Romanya', + RU: 'Rusya', + SE: 'İsveç', + SG: 'Singapur', + SK: 'Slovakya', + US: 'Amerika Birleşik Devletleri', + }, + country: 'Lütfen geçerli bir posta kodu giriniz içinde %s', + default: 'Lütfen geçerli bir posta kodu giriniz', + }, + }; + + return tr_TR; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/tr_TR.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/tr_TR.min.js new file mode 100644 index 0000000..40f9286 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/tr_TR.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.tr_TR=factory())})(this,(function(){"use strict";var tr_TR={base64:{default:"Lütfen 64 bit tabanına uygun bir giriş yapınız"},between:{default:"Lütfen %s ile %s arasında bir değer giriniz",notInclusive:"Lütfen sadece %s ile %s arasında bir değer giriniz"},bic:{default:"Lütfen geçerli bir BIC numarası giriniz"},callback:{default:"Lütfen geçerli bir değer giriniz"},choice:{between:"Lütfen %s - %s arası seçiniz",default:"Lütfen geçerli bir değer giriniz",less:"Lütfen minimum %s kadar değer giriniz",more:"Lütfen maksimum %s kadar değer giriniz"},color:{default:"Lütfen geçerli bir codu giriniz"},creditCard:{default:"Lütfen geçerli bir kredi kartı numarası giriniz"},cusip:{default:"Lütfen geçerli bir CUSIP numarası giriniz"},date:{default:"Lütfen geçerli bir tarih giriniz",max:"Lütfen %s tarihinden önce bir tarih giriniz",min:"Lütfen %s tarihinden sonra bir tarih giriniz",range:"Lütfen %s - %s aralığında bir tarih giriniz"},different:{default:"Lütfen farklı bir değer giriniz"},digits:{default:"Lütfen sadece sayı giriniz"},ean:{default:"Lütfen geçerli bir EAN numarası giriniz"},ein:{default:"Lütfen geçerli bir EIN numarası giriniz"},emailAddress:{default:"Lütfen geçerli bir E-Mail adresi giriniz"},file:{default:"Lütfen geçerli bir dosya seçiniz"},greaterThan:{default:"Lütfen %s ye eşit veya daha büyük bir değer giriniz",notInclusive:"Lütfen %s den büyük bir değer giriniz"},grid:{default:"Lütfen geçerli bir GRId numarası giriniz"},hex:{default:"Lütfen geçerli bir Hexadecimal sayı giriniz"},iban:{countries:{AD:"Andorra",AE:"Birleşik Arap Emirlikleri",AL:"Arnavutluk",AO:"Angola",AT:"Avusturya",AZ:"Azerbaycan",BA:"Bosna Hersek",BE:"Belçika",BF:"Burkina Faso",BG:"Bulgaristan",BH:"Bahreyn",BI:"Burundi",BJ:"Benin",BR:"Brezilya",CH:"İsviçre",CI:"Fildişi Sahili",CM:"Kamerun",CR:"Kosta Rika",CV:"Cape Verde",CY:"Kıbrıs",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",DO:"Dominik Cumhuriyeti",DZ:"Cezayir",EE:"Estonya",ES:"İspanya",FI:"Finlandiya",FO:"Faroe Adaları",FR:"Fransa",GB:"İngiltere",GE:"Georgia",GI:"Cebelitarık",GL:"Grönland",GR:"Yunansitan",GT:"Guatemala",HR:"Hırvatistan",HU:"Macaristan",IE:"İrlanda",IL:"İsrail",IR:"İran",IS:"İzlanda",IT:"İtalya",JO:"Ürdün",KW:"Kuveit",KZ:"Kazakistan",LB:"Lübnan",LI:"Lihtenştayn",LT:"Litvanya",LU:"Lüksemburg",LV:"Letonya",MC:"Monako",MD:"Moldova",ME:"Karadağ",MG:"Madagaskar",MK:"Makedonya",ML:"Mali",MR:"Moritanya",MT:"Malta",MU:"Mauritius",MZ:"Mozambik",NL:"Hollanda",NO:"Norveç",PK:"Pakistan",PL:"Polanya",PS:"Filistin",PT:"Portekiz",QA:"Katar",RO:"Romanya",RS:"Serbistan",SA:"Suudi Arabistan",SE:"İsveç",SI:"Slovenya",SK:"Slovakya",SM:"San Marino",SN:"Senegal",TL:"Doğu Timor",TN:"Tunus",TR:"Turkiye",VG:"Virgin Adaları, İngiliz",XK:"Kosova Cumhuriyeti"},country:"Lütfen geçerli bir IBAN numarası giriniz içinde %s",default:"Lütfen geçerli bir IBAN numarası giriniz"},id:{countries:{BA:"Bosna Hersek",BG:"Bulgaristan",BR:"Brezilya",CH:"İsviçre",CL:"Şili",CN:"Çin",CZ:"Çek Cumhuriyeti",DK:"Danimarka",EE:"Estonya",ES:"İspanya",FI:"Finlandiya",HR:"Hırvatistan",IE:"İrlanda",IS:"İzlanda",LT:"Litvanya",LV:"Letonya",ME:"Karadağ",MK:"Makedonya",NL:"Hollanda",PL:"Polanya",RO:"Romanya",RS:"Sırbistan",SE:"İsveç",SI:"Slovenya",SK:"Slovakya",SM:"San Marino",TH:"Tayland",TR:"Turkiye",ZA:"Güney Afrika"},country:"Lütfen geçerli bir kimlik numarası giriniz içinde %s",default:"Lütfen geçerli bir tanımlama numarası giriniz"},identical:{default:"Lütfen aynı değeri giriniz"},imei:{default:"Lütfen geçerli bir IMEI numarası giriniz"},imo:{default:"Lütfen geçerli bir IMO numarası giriniz"},integer:{default:"Lütfen geçerli bir numara giriniz"},ip:{default:"Lütfen geçerli bir IP adresi giriniz",ipv4:"Lütfen geçerli bir IPv4 adresi giriniz",ipv6:"Lütfen geçerli bri IPv6 adresi giriniz"},isbn:{default:"Lütfen geçerli bir ISBN numarası giriniz"},isin:{default:"Lütfen geçerli bir ISIN numarası giriniz"},ismn:{default:"Lütfen geçerli bir ISMN numarası giriniz"},issn:{default:"Lütfen geçerli bir ISSN numarası giriniz"},lessThan:{default:"Lütfen %s den düşük veya eşit bir değer giriniz",notInclusive:"Lütfen %s den büyük bir değer giriniz"},mac:{default:"Lütfen geçerli bir MAC Adresi giriniz"},meid:{default:"Lütfen geçerli bir MEID numarası giriniz"},notEmpty:{default:"Bir değer giriniz"},numeric:{default:"Lütfen geçerli bir float değer giriniz"},phone:{countries:{AE:"Birleşik Arap Emirlikleri",BG:"Bulgaristan",BR:"Brezilya",CN:"Çin",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",ES:"İspanya",FR:"Fransa",GB:"İngiltere",IN:"Hindistan",MA:"Fas",NL:"Hollanda",PK:"Pakistan",RO:"Romanya",RU:"Rusya",SK:"Slovakya",TH:"Tayland",US:"Amerika",VE:"Venezüella"},country:"Lütfen geçerli bir telefon numarası giriniz içinde %s",default:"Lütfen geçerli bir telefon numarası giriniz"},promise:{default:"Lütfen geçerli bir değer giriniz"},regexp:{default:"Lütfen uyumlu bir değer giriniz"},remote:{default:"Lütfen geçerli bir numara giriniz"},rtn:{default:"Lütfen geçerli bir RTN numarası giriniz"},sedol:{default:"Lütfen geçerli bir SEDOL numarası giriniz"},siren:{default:"Lütfen geçerli bir SIREN numarası giriniz"},siret:{default:"Lütfen geçerli bir SIRET numarası giriniz"},step:{default:"Lütfen geçerli bir %s adımı giriniz"},stringCase:{default:"Lütfen sadece küçük harf giriniz",upper:"Lütfen sadece büyük harf giriniz"},stringLength:{between:"Lütfen %s ile %s arası uzunlukta bir değer giriniz",default:"Lütfen geçerli uzunluktaki bir değer giriniz",less:"Lütfen %s karakterden az değer giriniz",more:"Lütfen %s karakterden fazla değer giriniz"},uri:{default:"Lütfen geçerli bir URL giriniz"},uuid:{default:"Lütfen geçerli bir UUID numarası giriniz",version:"Lütfen geçerli bir UUID versiyon %s numarası giriniz"},vat:{countries:{AT:"Avustralya",BE:"Belçika",BG:"Bulgaristan",BR:"Brezilya",CH:"İsviçre",CY:"Kıbrıs",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",EE:"Estonya",EL:"Yunanistan",ES:"İspanya",FI:"Finlandiya",FR:"Fransa",GB:"İngiltere",GR:"Yunanistan",HR:"Hırvatistan",HU:"Macaristan",IE:"Irlanda",IS:"İzlanda",IT:"Italya",LT:"Litvanya",LU:"Lüksemburg",LV:"Letonya",MT:"Malta",NL:"Hollanda",NO:"Norveç",PL:"Polonya",PT:"Portekiz",RO:"Romanya",RS:"Sırbistan",RU:"Rusya",SE:"İsveç",SI:"Slovenya",SK:"Slovakya",VE:"Venezüella",ZA:"Güney Afrika"},country:"Lütfen geçerli bir vergi numarası giriniz içinde %s",default:"Lütfen geçerli bir VAT kodu giriniz"},vin:{default:"Lütfen geçerli bir VIN numarası giriniz"},zipCode:{countries:{AT:"Avustralya",BG:"Bulgaristan",BR:"Brezilya",CA:"Kanada",CH:"İsviçre",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",ES:"İspanya",FR:"Fransa",GB:"İngiltere",IE:"Irlanda",IN:"Hindistan",IT:"İtalya",MA:"Fas",NL:"Hollanda",PL:"Polanya",PT:"Portekiz",RO:"Romanya",RU:"Rusya",SE:"İsveç",SG:"Singapur",SK:"Slovakya",US:"Amerika Birleşik Devletleri"},country:"Lütfen geçerli bir posta kodu giriniz içinde %s",default:"Lütfen geçerli bir posta kodu giriniz"}};return tr_TR})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ua_UA.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ua_UA.js new file mode 100644 index 0000000..31b8ec5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ua_UA.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ua_UA = factory())); +})(this, (function () { 'use strict'; + + /** + * Ukrainian language package + * Translated by @oleg-voloshyn + */ + + var ua_UA = { + base64: { + default: 'Будь ласка, введіть коректний рядок base64', + }, + between: { + default: 'Будь ласка, введіть значення від %s до %s', + notInclusive: 'Будь ласка, введіть значення між %s і %s', + }, + bic: { + default: 'Будь ласка, введіть правильний номер BIC', + }, + callback: { + default: 'Будь ласка, введіть коректне значення', + }, + choice: { + between: 'Будь ласка, виберіть %s - %s опцій', + default: 'Будь ласка, введіть коректне значення', + less: 'Будь ласка, виберіть хоча б %s опцій', + more: 'Будь ласка, виберіть не більше %s опцій', + }, + color: { + default: 'Будь ласка, введіть правильний номер кольору', + }, + creditCard: { + default: 'Будь ласка, введіть правильний номер кредитної картки', + }, + cusip: { + default: 'Будь ласка, введіть правильний номер CUSIP', + }, + date: { + default: 'Будь ласка, введіть правильну дату', + max: 'Будь ласка, введіть дату перед %s', + min: 'Будь ласка, введіть дату після %s', + range: 'Будь ласка, введіть дату у діапазоні %s - %s', + }, + different: { + default: 'Будь ласка, введіть інше значення', + }, + digits: { + default: 'Будь ласка, введіть тільки цифри', + }, + ean: { + default: 'Будь ласка, введіть правильний номер EAN', + }, + ein: { + default: 'Будь ласка, введіть правильний номер EIN', + }, + emailAddress: { + default: 'Будь ласка, введіть правильну адресу e-mail', + }, + file: { + default: 'Будь ласка, виберіть файл', + }, + greaterThan: { + default: 'Будь ласка, введіть значення більше або рівне %s', + notInclusive: 'Будь ласка, введіть значення більше %s', + }, + grid: { + default: 'Будь ласка, введіть правильний номер GRId', + }, + hex: { + default: 'Будь ласка, введіть правильний шістнадцятковий(16) номер', + }, + iban: { + countries: { + AD: 'Андоррі', + AE: "Об'єднаних Арабських Еміратах", + AL: 'Албанії', + AO: 'Анголі', + AT: 'Австрії', + AZ: 'Азербайджані', + BA: 'Боснії і Герцеговині', + BE: 'Бельгії', + BF: 'Буркіна-Фасо', + BG: 'Болгарії', + BH: 'Бахрейні', + BI: 'Бурунді', + BJ: 'Беніні', + BR: 'Бразилії', + CH: 'Швейцарії', + CI: "Кот-д'Івуарі", + CM: 'Камеруні', + CR: 'Коста-Ріці', + CV: 'Кабо-Верде', + CY: 'Кіпрі', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + DO: 'Домінікані', + DZ: 'Алжирі', + EE: 'Естонії', + ES: 'Іспанії', + FI: 'Фінляндії', + FO: 'Фарерських островах', + FR: 'Франції', + GB: 'Великобританії', + GE: 'Грузії', + GI: 'Гібралтарі', + GL: 'Гренландії', + GR: 'Греції', + GT: 'Гватемалі', + HR: 'Хорватії', + HU: 'Венгрії', + IE: 'Ірландії', + IL: 'Ізраїлі', + IR: 'Ірані', + IS: 'Ісландії', + IT: 'Італії', + JO: 'Йорданії', + KW: 'Кувейті', + KZ: 'Казахстані', + LB: 'Лівані', + LI: 'Ліхтенштейні', + LT: 'Литві', + LU: 'Люксембурзі', + LV: 'Латвії', + MC: 'Монако', + MD: 'Молдові', + ME: 'Чорногорії', + MG: 'Мадагаскарі', + MK: 'Македонії', + ML: 'Малі', + MR: 'Мавританії', + MT: 'Мальті', + MU: 'Маврикії', + MZ: 'Мозамбіку', + NL: 'Нідерландах', + NO: 'Норвегії', + PK: 'Пакистані', + PL: 'Польщі', + PS: 'Палестині', + PT: 'Португалії', + QA: 'Катарі', + RO: 'Румунії', + RS: 'Сербії', + SA: 'Саудівської Аравії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + SM: 'Сан-Марино', + SN: 'Сенегалі', + TL: 'східний Тимор', + TN: 'Тунісі', + TR: 'Туреччині', + VG: 'Британських Віргінських островах', + XK: 'Республіка Косово', + }, + country: 'Будь ласка, введіть правильний номер IBAN в %s', + default: 'Будь ласка, введіть правильний номер IBAN', + }, + id: { + countries: { + BA: 'Боснії і Герцеговині', + BG: 'Болгарії', + BR: 'Бразилії', + CH: 'Швейцарії', + CL: 'Чилі', + CN: 'Китаї', + CZ: 'Чехії', + DK: 'Данії', + EE: 'Естонії', + ES: 'Іспанії', + FI: 'Фінляндії', + HR: 'Хорватії', + IE: 'Ірландії', + IS: 'Ісландії', + LT: 'Литві', + LV: 'Латвії', + ME: 'Чорногорії', + MK: 'Македонії', + NL: 'Нідерландах', + PL: 'Польщі', + RO: 'Румунії', + RS: 'Сербії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + SM: 'Сан-Марино', + TH: 'Таїланді', + TR: 'Туреччині', + ZA: 'ПАР', + }, + country: 'Будь ласка, введіть правильний ідентифікаційний номер в %s', + default: 'Будь ласка, введіть правильний ідентифікаційний номер', + }, + identical: { + default: 'Будь ласка, введіть таке ж значення', + }, + imei: { + default: 'Будь ласка, введіть правильний номер IMEI', + }, + imo: { + default: 'Будь ласка, введіть правильний номер IMO', + }, + integer: { + default: 'Будь ласка, введіть правильне ціле значення', + }, + ip: { + default: 'Будь ласка, введіть правильну IP-адресу', + ipv4: 'Будь ласка введіть правильну IPv4-адресу', + ipv6: 'Будь ласка введіть правильну IPv6-адресу', + }, + isbn: { + default: 'Будь ласка, введіть правильний номер ISBN', + }, + isin: { + default: 'Будь ласка, введіть правильний номер ISIN', + }, + ismn: { + default: 'Будь ласка, введіть правильний номер ISMN', + }, + issn: { + default: 'Будь ласка, введіть правильний номер ISSN', + }, + lessThan: { + default: 'Будь ласка, введіть значення менше або рівне %s', + notInclusive: 'Будь ласка, введіть значення менше ніж %s', + }, + mac: { + default: 'Будь ласка, введіть правильну MAC-адресу', + }, + meid: { + default: 'Будь ласка, введіть правильний номер MEID', + }, + notEmpty: { + default: 'Будь ласка, введіть значення', + }, + numeric: { + default: 'Будь ласка, введіть коректне дійсне число', + }, + phone: { + countries: { + AE: "Об'єднаних Арабських Еміратах", + BG: 'Болгарії', + BR: 'Бразилії', + CN: 'Китаї', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + ES: 'Іспанії', + FR: 'Франції', + GB: 'Великобританії', + IN: 'Індія', + MA: 'Марокко', + NL: 'Нідерландах', + PK: 'Пакистані', + RO: 'Румунії', + RU: 'Росії', + SK: 'Словаччині', + TH: 'Таїланді', + US: 'США', + VE: 'Венесуелі', + }, + country: 'Будь ласка, введіть правильний номер телефону в %s', + default: 'Будь ласка, введіть правильний номер телефону', + }, + promise: { + default: 'Будь ласка, введіть коректне значення', + }, + regexp: { + default: 'Будь ласка, введіть значення відповідне до шаблону', + }, + remote: { + default: 'Будь ласка, введіть правильне значення', + }, + rtn: { + default: 'Будь ласка, введіть правильний номер RTN', + }, + sedol: { + default: 'Будь ласка, введіть правильний номер SEDOL', + }, + siren: { + default: 'Будь ласка, введіть правильний номер SIREN', + }, + siret: { + default: 'Будь ласка, введіть правильний номер SIRET', + }, + step: { + default: 'Будь ласка, введіть правильний крок %s', + }, + stringCase: { + default: 'Будь ласка, вводите тільки малі літери', + upper: 'Будь ласка, вводите тільки заголовні букви', + }, + stringLength: { + between: 'Будь ласка, введіть рядок довжиною від %s до %s символів', + default: 'Будь ласка, введіть значення коректної довжини', + less: 'Будь ласка, введіть не більше %s символів', + more: 'Будь ласка, введіть, не менше %s символів', + }, + uri: { + default: 'Будь ласка, введіть правильний URI', + }, + uuid: { + default: 'Будь ласка, введіть правильний номер UUID', + version: 'Будь ласка, введіть правильний номер UUID версії %s', + }, + vat: { + countries: { + AT: 'Австрії', + BE: 'Бельгії', + BG: 'Болгарії', + BR: 'Бразилії', + CH: 'Швейцарії', + CY: 'Кіпрі', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + EE: 'Естонії', + EL: 'Греції', + ES: 'Іспанії', + FI: 'Фінляндії', + FR: 'Франції', + GB: 'Великобританії', + GR: 'Греції', + HR: 'Хорватії', + HU: 'Венгрії', + IE: 'Ірландії', + IS: 'Ісландії', + IT: 'Італії', + LT: 'Литві', + LU: 'Люксембургі', + LV: 'Латвії', + MT: 'Мальті', + NL: 'Нідерландах', + NO: 'Норвегії', + PL: 'Польщі', + PT: 'Португалії', + RO: 'Румунії', + RS: 'Сербії', + RU: 'Росії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + VE: 'Венесуелі', + ZA: 'ПАР', + }, + country: 'Будь ласка, введіть правильний номер VAT в %s', + default: 'Будь ласка, введіть правильний номер VAT', + }, + vin: { + default: 'Будь ласка, введіть правильний номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрії', + BG: 'Болгарії', + BR: 'Бразилії', + CA: 'Канаді', + CH: 'Швейцарії', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + ES: 'Іспанії', + FR: 'Франції', + GB: 'Великобританії', + IE: 'Ірландії', + IN: 'Індія', + IT: 'Італії', + MA: 'Марокко', + NL: 'Нідерландах', + PL: 'Польщі', + PT: 'Португалії', + RO: 'Румунії', + RU: 'Росії', + SE: 'Швеції', + SG: 'Сингапурі', + SK: 'Словаччині', + US: 'США', + }, + country: 'Будь ласка, введіть правильний поштовий індекс в %s', + default: 'Будь ласка, введіть правильний поштовий індекс', + }, + }; + + return ua_UA; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/ua_UA.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/ua_UA.min.js new file mode 100644 index 0000000..27ebea3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/ua_UA.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ua_UA=factory())})(this,(function(){"use strict";var ua_UA={base64:{default:"Будь ласка, введіть коректний рядок base64"},between:{default:"Будь ласка, введіть значення від %s до %s",notInclusive:"Будь ласка, введіть значення між %s і %s"},bic:{default:"Будь ласка, введіть правильний номер BIC"},callback:{default:"Будь ласка, введіть коректне значення"},choice:{between:"Будь ласка, виберіть %s - %s опцій",default:"Будь ласка, введіть коректне значення",less:"Будь ласка, виберіть хоча б %s опцій",more:"Будь ласка, виберіть не більше %s опцій"},color:{default:"Будь ласка, введіть правильний номер кольору"},creditCard:{default:"Будь ласка, введіть правильний номер кредитної картки"},cusip:{default:"Будь ласка, введіть правильний номер CUSIP"},date:{default:"Будь ласка, введіть правильну дату",max:"Будь ласка, введіть дату перед %s",min:"Будь ласка, введіть дату після %s",range:"Будь ласка, введіть дату у діапазоні %s - %s"},different:{default:"Будь ласка, введіть інше значення"},digits:{default:"Будь ласка, введіть тільки цифри"},ean:{default:"Будь ласка, введіть правильний номер EAN"},ein:{default:"Будь ласка, введіть правильний номер EIN"},emailAddress:{default:"Будь ласка, введіть правильну адресу e-mail"},file:{default:"Будь ласка, виберіть файл"},greaterThan:{default:"Будь ласка, введіть значення більше або рівне %s",notInclusive:"Будь ласка, введіть значення більше %s"},grid:{default:"Будь ласка, введіть правильний номер GRId"},hex:{default:"Будь ласка, введіть правильний шістнадцятковий(16) номер"},iban:{countries:{AD:"Андоррі",AE:"Об'єднаних Арабських Еміратах",AL:"Албанії",AO:"Анголі",AT:"Австрії",AZ:"Азербайджані",BA:"Боснії і Герцеговині",BE:"Бельгії",BF:"Буркіна-Фасо",BG:"Болгарії",BH:"Бахрейні",BI:"Бурунді",BJ:"Беніні",BR:"Бразилії",CH:"Швейцарії",CI:"Кот-д'Івуарі",CM:"Камеруні",CR:"Коста-Ріці",CV:"Кабо-Верде",CY:"Кіпрі",CZ:"Чехії",DE:"Германії",DK:"Данії",DO:"Домінікані",DZ:"Алжирі",EE:"Естонії",ES:"Іспанії",FI:"Фінляндії",FO:"Фарерських островах",FR:"Франції",GB:"Великобританії",GE:"Грузії",GI:"Гібралтарі",GL:"Гренландії",GR:"Греції",GT:"Гватемалі",HR:"Хорватії",HU:"Венгрії",IE:"Ірландії",IL:"Ізраїлі",IR:"Ірані",IS:"Ісландії",IT:"Італії",JO:"Йорданії",KW:"Кувейті",KZ:"Казахстані",LB:"Лівані",LI:"Ліхтенштейні",LT:"Литві",LU:"Люксембурзі",LV:"Латвії",MC:"Монако",MD:"Молдові",ME:"Чорногорії",MG:"Мадагаскарі",MK:"Македонії",ML:"Малі",MR:"Мавританії",MT:"Мальті",MU:"Маврикії",MZ:"Мозамбіку",NL:"Нідерландах",NO:"Норвегії",PK:"Пакистані",PL:"Польщі",PS:"Палестині",PT:"Португалії",QA:"Катарі",RO:"Румунії",RS:"Сербії",SA:"Саудівської Аравії",SE:"Швеції",SI:"Словенії",SK:"Словаччині",SM:"Сан-Марино",SN:"Сенегалі",TL:"східний Тимор",TN:"Тунісі",TR:"Туреччині",VG:"Британських Віргінських островах",XK:"Республіка Косово"},country:"Будь ласка, введіть правильний номер IBAN в %s",default:"Будь ласка, введіть правильний номер IBAN"},id:{countries:{BA:"Боснії і Герцеговині",BG:"Болгарії",BR:"Бразилії",CH:"Швейцарії",CL:"Чилі",CN:"Китаї",CZ:"Чехії",DK:"Данії",EE:"Естонії",ES:"Іспанії",FI:"Фінляндії",HR:"Хорватії",IE:"Ірландії",IS:"Ісландії",LT:"Литві",LV:"Латвії",ME:"Чорногорії",MK:"Македонії",NL:"Нідерландах",PL:"Польщі",RO:"Румунії",RS:"Сербії",SE:"Швеції",SI:"Словенії",SK:"Словаччині",SM:"Сан-Марино",TH:"Таїланді",TR:"Туреччині",ZA:"ПАР"},country:"Будь ласка, введіть правильний ідентифікаційний номер в %s",default:"Будь ласка, введіть правильний ідентифікаційний номер"},identical:{default:"Будь ласка, введіть таке ж значення"},imei:{default:"Будь ласка, введіть правильний номер IMEI"},imo:{default:"Будь ласка, введіть правильний номер IMO"},integer:{default:"Будь ласка, введіть правильне ціле значення"},ip:{default:"Будь ласка, введіть правильну IP-адресу",ipv4:"Будь ласка введіть правильну IPv4-адресу",ipv6:"Будь ласка введіть правильну IPv6-адресу"},isbn:{default:"Будь ласка, введіть правильний номер ISBN"},isin:{default:"Будь ласка, введіть правильний номер ISIN"},ismn:{default:"Будь ласка, введіть правильний номер ISMN"},issn:{default:"Будь ласка, введіть правильний номер ISSN"},lessThan:{default:"Будь ласка, введіть значення менше або рівне %s",notInclusive:"Будь ласка, введіть значення менше ніж %s"},mac:{default:"Будь ласка, введіть правильну MAC-адресу"},meid:{default:"Будь ласка, введіть правильний номер MEID"},notEmpty:{default:"Будь ласка, введіть значення"},numeric:{default:"Будь ласка, введіть коректне дійсне число"},phone:{countries:{AE:"Об'єднаних Арабських Еміратах",BG:"Болгарії",BR:"Бразилії",CN:"Китаї",CZ:"Чехії",DE:"Германії",DK:"Данії",ES:"Іспанії",FR:"Франції",GB:"Великобританії",IN:"Індія",MA:"Марокко",NL:"Нідерландах",PK:"Пакистані",RO:"Румунії",RU:"Росії",SK:"Словаччині",TH:"Таїланді",US:"США",VE:"Венесуелі"},country:"Будь ласка, введіть правильний номер телефону в %s",default:"Будь ласка, введіть правильний номер телефону"},promise:{default:"Будь ласка, введіть коректне значення"},regexp:{default:"Будь ласка, введіть значення відповідне до шаблону"},remote:{default:"Будь ласка, введіть правильне значення"},rtn:{default:"Будь ласка, введіть правильний номер RTN"},sedol:{default:"Будь ласка, введіть правильний номер SEDOL"},siren:{default:"Будь ласка, введіть правильний номер SIREN"},siret:{default:"Будь ласка, введіть правильний номер SIRET"},step:{default:"Будь ласка, введіть правильний крок %s"},stringCase:{default:"Будь ласка, вводите тільки малі літери",upper:"Будь ласка, вводите тільки заголовні букви"},stringLength:{between:"Будь ласка, введіть рядок довжиною від %s до %s символів",default:"Будь ласка, введіть значення коректної довжини",less:"Будь ласка, введіть не більше %s символів",more:"Будь ласка, введіть, не менше %s символів"},uri:{default:"Будь ласка, введіть правильний URI"},uuid:{default:"Будь ласка, введіть правильний номер UUID",version:"Будь ласка, введіть правильний номер UUID версії %s"},vat:{countries:{AT:"Австрії",BE:"Бельгії",BG:"Болгарії",BR:"Бразилії",CH:"Швейцарії",CY:"Кіпрі",CZ:"Чехії",DE:"Германії",DK:"Данії",EE:"Естонії",EL:"Греції",ES:"Іспанії",FI:"Фінляндії",FR:"Франції",GB:"Великобританії",GR:"Греції",HR:"Хорватії",HU:"Венгрії",IE:"Ірландії",IS:"Ісландії",IT:"Італії",LT:"Литві",LU:"Люксембургі",LV:"Латвії",MT:"Мальті",NL:"Нідерландах",NO:"Норвегії",PL:"Польщі",PT:"Португалії",RO:"Румунії",RS:"Сербії",RU:"Росії",SE:"Швеції",SI:"Словенії",SK:"Словаччині",VE:"Венесуелі",ZA:"ПАР"},country:"Будь ласка, введіть правильний номер VAT в %s",default:"Будь ласка, введіть правильний номер VAT"},vin:{default:"Будь ласка, введіть правильний номер VIN"},zipCode:{countries:{AT:"Австрії",BG:"Болгарії",BR:"Бразилії",CA:"Канаді",CH:"Швейцарії",CZ:"Чехії",DE:"Германії",DK:"Данії",ES:"Іспанії",FR:"Франції",GB:"Великобританії",IE:"Ірландії",IN:"Індія",IT:"Італії",MA:"Марокко",NL:"Нідерландах",PL:"Польщі",PT:"Португалії",RO:"Румунії",RU:"Росії",SE:"Швеції",SG:"Сингапурі",SK:"Словаччині",US:"США"},country:"Будь ласка, введіть правильний поштовий індекс в %s",default:"Будь ласка, введіть правильний поштовий індекс"}};return ua_UA})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/vi_VN.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/vi_VN.js new file mode 100644 index 0000000..96315d5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/vi_VN.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.vi_VN = factory())); +})(this, (function () { 'use strict'; + + /** + * Vietnamese language package + * Translated by @nghuuphuoc + */ + + var vi_VN = { + base64: { + default: 'Vui lòng nhập chuỗi mã hoá base64 hợp lệ', + }, + between: { + default: 'Vui lòng nhập giá trị nằm giữa %s và %s', + notInclusive: 'Vui lòng nhập giá trị nằm giữa %s và %s', + }, + bic: { + default: 'Vui lòng nhập số BIC hợp lệ', + }, + callback: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + choice: { + between: 'Vui lòng chọn %s - %s lựa chọn', + default: 'Vui lòng nhập giá trị hợp lệ', + less: 'Vui lòng chọn ít nhất %s lựa chọn', + more: 'Vui lòng chọn nhiều nhất %s lựa chọn', + }, + color: { + default: 'Vui lòng nhập mã màu hợp lệ', + }, + creditCard: { + default: 'Vui lòng nhập số thẻ tín dụng hợp lệ', + }, + cusip: { + default: 'Vui lòng nhập số CUSIP hợp lệ', + }, + date: { + default: 'Vui lòng nhập ngày hợp lệ', + max: 'Vui lòng nhập ngày trước %s', + min: 'Vui lòng nhập ngày sau %s', + range: 'Vui lòng nhập ngày trong khoảng %s - %s', + }, + different: { + default: 'Vui lòng nhập một giá trị khác', + }, + digits: { + default: 'Vui lòng chỉ nhập số', + }, + ean: { + default: 'Vui lòng nhập số EAN hợp lệ', + }, + ein: { + default: 'Vui lòng nhập số EIN hợp lệ', + }, + emailAddress: { + default: 'Vui lòng nhập địa chỉ email hợp lệ', + }, + file: { + default: 'Vui lòng chọn file hợp lệ', + }, + greaterThan: { + default: 'Vui lòng nhập giá trị lớn hơn hoặc bằng %s', + notInclusive: 'Vui lòng nhập giá trị lớn hơn %s', + }, + grid: { + default: 'Vui lòng nhập số GRId hợp lệ', + }, + hex: { + default: 'Vui lòng nhập số hexa hợp lệ', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Tiểu vương quốc Ả Rập thống nhất', + AL: 'Albania', + AO: 'Angola', + AT: 'Áo', + AZ: 'Azerbaijan', + BA: 'Bosnia và Herzegovina', + BE: 'Bỉ', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CI: 'Bờ Biển Ngà', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Síp', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + DO: 'Dominican', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + FO: 'Đảo Faroe', + FR: 'Pháp', + GB: 'Vương quốc Anh', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Hy Lạp', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Ý', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Hà Lan', + NO: 'Na Uy', + PK: 'Pakistan', + PL: 'Ba Lan', + PS: 'Palestine', + PT: 'Bồ Đào Nha', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Ả Rập Xê Út', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Đông Timor', + TN: 'Tunisia', + TR: 'Thổ Nhĩ Kỳ', + VG: 'Đảo Virgin, Anh quốc', + XK: 'Kosovo', + }, + country: 'Vui lòng nhập mã IBAN hợp lệ của %s', + default: 'Vui lòng nhập số IBAN hợp lệ', + }, + id: { + countries: { + BA: 'Bosnia và Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CL: 'Chi Lê', + CN: 'Trung Quốc', + CZ: 'Séc', + DK: 'Đan Mạch', + EE: 'Estonia', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + HR: 'Croatia', + IE: 'Ireland', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Hà Lan', + PL: 'Ba Lan', + RO: 'Romania', + RS: 'Serbia', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thái Lan', + TR: 'Thổ Nhĩ Kỳ', + ZA: 'Nam Phi', + }, + country: 'Vui lòng nhập mã ID hợp lệ của %s', + default: 'Vui lòng nhập mã ID hợp lệ', + }, + identical: { + default: 'Vui lòng nhập cùng giá trị', + }, + imei: { + default: 'Vui lòng nhập số IMEI hợp lệ', + }, + imo: { + default: 'Vui lòng nhập số IMO hợp lệ', + }, + integer: { + default: 'Vui lòng nhập số hợp lệ', + }, + ip: { + default: 'Vui lòng nhập địa chỉ IP hợp lệ', + ipv4: 'Vui lòng nhập địa chỉ IPv4 hợp lệ', + ipv6: 'Vui lòng nhập địa chỉ IPv6 hợp lệ', + }, + isbn: { + default: 'Vui lòng nhập số ISBN hợp lệ', + }, + isin: { + default: 'Vui lòng nhập số ISIN hợp lệ', + }, + ismn: { + default: 'Vui lòng nhập số ISMN hợp lệ', + }, + issn: { + default: 'Vui lòng nhập số ISSN hợp lệ', + }, + lessThan: { + default: 'Vui lòng nhập giá trị nhỏ hơn hoặc bằng %s', + notInclusive: 'Vui lòng nhập giá trị nhỏ hơn %s', + }, + mac: { + default: 'Vui lòng nhập địa chỉ MAC hợp lệ', + }, + meid: { + default: 'Vui lòng nhập số MEID hợp lệ', + }, + notEmpty: { + default: 'Vui lòng nhập giá trị', + }, + numeric: { + default: 'Vui lòng nhập số hợp lệ', + }, + phone: { + countries: { + AE: 'Tiểu vương quốc Ả Rập thống nhất', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'Trung Quốc', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + ES: 'Tây Ban Nha', + FR: 'Pháp', + GB: 'Vương quốc Anh', + IN: 'Ấn Độ', + MA: 'Maroc', + NL: 'Hà Lan', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Nga', + SK: 'Slovakia', + TH: 'Thái Lan', + US: 'Mỹ', + VE: 'Venezuela', + }, + country: 'Vui lòng nhập số điện thoại hợp lệ của %s', + default: 'Vui lòng nhập số điện thoại hợp lệ', + }, + promise: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + regexp: { + default: 'Vui lòng nhập giá trị thích hợp với biểu mẫu', + }, + remote: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + rtn: { + default: 'Vui lòng nhập số RTN hợp lệ', + }, + sedol: { + default: 'Vui lòng nhập số SEDOL hợp lệ', + }, + siren: { + default: 'Vui lòng nhập số Siren hợp lệ', + }, + siret: { + default: 'Vui lòng nhập số Siret hợp lệ', + }, + step: { + default: 'Vui lòng nhập bước nhảy của %s', + }, + stringCase: { + default: 'Vui lòng nhập ký tự thường', + upper: 'Vui lòng nhập ký tự in hoa', + }, + stringLength: { + between: 'Vui lòng nhập giá trị có độ dài trong khoảng %s và %s ký tự', + default: 'Vui lòng nhập giá trị có độ dài hợp lệ', + less: 'Vui lòng nhập ít hơn %s ký tự', + more: 'Vui lòng nhập nhiều hơn %s ký tự', + }, + uri: { + default: 'Vui lòng nhập địa chỉ URI hợp lệ', + }, + uuid: { + default: 'Vui lòng nhập số UUID hợp lệ', + version: 'Vui lòng nhập số UUID phiên bản %s hợp lệ', + }, + vat: { + countries: { + AT: 'Áo', + BE: 'Bỉ', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CY: 'Síp', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + EE: 'Estonia', + EL: 'Hy Lạp', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + FR: 'Pháp', + GB: 'Vương quốc Anh', + GR: 'Hy Lạp', + HR: 'Croatia', + HU: 'Hungari', + IE: 'Ireland', + IS: 'Iceland', + IT: 'Ý', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Hà Lan', + NO: 'Na Uy', + PL: 'Ba Lan', + PT: 'Bồ Đào Nha', + RO: 'Romania', + RS: 'Serbia', + RU: 'Nga', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Nam Phi', + }, + country: 'Vui lòng nhập số VAT hợp lệ của %s', + default: 'Vui lòng nhập số VAT hợp lệ', + }, + vin: { + default: 'Vui lòng nhập số VIN hợp lệ', + }, + zipCode: { + countries: { + AT: 'Áo', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Canada', + CH: 'Thuỵ Sĩ', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + ES: 'Tây Ban Nha', + FR: 'Pháp', + GB: 'Vương quốc Anh', + IE: 'Ireland', + IN: 'Ấn Độ', + IT: 'Ý', + MA: 'Maroc', + NL: 'Hà Lan', + PL: 'Ba Lan', + PT: 'Bồ Đào Nha', + RO: 'Romania', + RU: 'Nga', + SE: 'Thuỵ Sĩ', + SG: 'Singapore', + SK: 'Slovakia', + US: 'Mỹ', + }, + country: 'Vui lòng nhập mã bưu điện hợp lệ của %s', + default: 'Vui lòng nhập mã bưu điện hợp lệ', + }, + }; + + return vi_VN; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/vi_VN.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/vi_VN.min.js new file mode 100644 index 0000000..8c2305e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/vi_VN.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.vi_VN=factory())})(this,(function(){"use strict";var vi_VN={base64:{default:"Vui lòng nhập chuỗi mã hoá base64 hợp lệ"},between:{default:"Vui lòng nhập giá trị nằm giữa %s và %s",notInclusive:"Vui lòng nhập giá trị nằm giữa %s và %s"},bic:{default:"Vui lòng nhập số BIC hợp lệ"},callback:{default:"Vui lòng nhập giá trị hợp lệ"},choice:{between:"Vui lòng chọn %s - %s lựa chọn",default:"Vui lòng nhập giá trị hợp lệ",less:"Vui lòng chọn ít nhất %s lựa chọn",more:"Vui lòng chọn nhiều nhất %s lựa chọn"},color:{default:"Vui lòng nhập mã màu hợp lệ"},creditCard:{default:"Vui lòng nhập số thẻ tín dụng hợp lệ"},cusip:{default:"Vui lòng nhập số CUSIP hợp lệ"},date:{default:"Vui lòng nhập ngày hợp lệ",max:"Vui lòng nhập ngày trước %s",min:"Vui lòng nhập ngày sau %s",range:"Vui lòng nhập ngày trong khoảng %s - %s"},different:{default:"Vui lòng nhập một giá trị khác"},digits:{default:"Vui lòng chỉ nhập số"},ean:{default:"Vui lòng nhập số EAN hợp lệ"},ein:{default:"Vui lòng nhập số EIN hợp lệ"},emailAddress:{default:"Vui lòng nhập địa chỉ email hợp lệ"},file:{default:"Vui lòng chọn file hợp lệ"},greaterThan:{default:"Vui lòng nhập giá trị lớn hơn hoặc bằng %s",notInclusive:"Vui lòng nhập giá trị lớn hơn %s"},grid:{default:"Vui lòng nhập số GRId hợp lệ"},hex:{default:"Vui lòng nhập số hexa hợp lệ"},iban:{countries:{AD:"Andorra",AE:"Tiểu vương quốc Ả Rập thống nhất",AL:"Albania",AO:"Angola",AT:"Áo",AZ:"Azerbaijan",BA:"Bosnia và Herzegovina",BE:"Bỉ",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Thuỵ Sĩ",CI:"Bờ Biển Ngà",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Síp",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",DO:"Dominican",DZ:"Algeria",EE:"Estonia",ES:"Tây Ban Nha",FI:"Phần Lan",FO:"Đảo Faroe",FR:"Pháp",GB:"Vương quốc Anh",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Hy Lạp",GT:"Guatemala",HR:"Croatia",HU:"Hungary",IE:"Ireland",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Ý",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Hà Lan",NO:"Na Uy",PK:"Pakistan",PL:"Ba Lan",PS:"Palestine",PT:"Bồ Đào Nha",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Ả Rập Xê Út",SE:"Thuỵ Điển",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"Đông Timor",TN:"Tunisia",TR:"Thổ Nhĩ Kỳ",VG:"Đảo Virgin, Anh quốc",XK:"Kosovo"},country:"Vui lòng nhập mã IBAN hợp lệ của %s",default:"Vui lòng nhập số IBAN hợp lệ"},id:{countries:{BA:"Bosnia và Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Thuỵ Sĩ",CL:"Chi Lê",CN:"Trung Quốc",CZ:"Séc",DK:"Đan Mạch",EE:"Estonia",ES:"Tây Ban Nha",FI:"Phần Lan",HR:"Croatia",IE:"Ireland",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Hà Lan",PL:"Ba Lan",RO:"Romania",RS:"Serbia",SE:"Thuỵ Điển",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thái Lan",TR:"Thổ Nhĩ Kỳ",ZA:"Nam Phi"},country:"Vui lòng nhập mã ID hợp lệ của %s",default:"Vui lòng nhập mã ID hợp lệ"},identical:{default:"Vui lòng nhập cùng giá trị"},imei:{default:"Vui lòng nhập số IMEI hợp lệ"},imo:{default:"Vui lòng nhập số IMO hợp lệ"},integer:{default:"Vui lòng nhập số hợp lệ"},ip:{default:"Vui lòng nhập địa chỉ IP hợp lệ",ipv4:"Vui lòng nhập địa chỉ IPv4 hợp lệ",ipv6:"Vui lòng nhập địa chỉ IPv6 hợp lệ"},isbn:{default:"Vui lòng nhập số ISBN hợp lệ"},isin:{default:"Vui lòng nhập số ISIN hợp lệ"},ismn:{default:"Vui lòng nhập số ISMN hợp lệ"},issn:{default:"Vui lòng nhập số ISSN hợp lệ"},lessThan:{default:"Vui lòng nhập giá trị nhỏ hơn hoặc bằng %s",notInclusive:"Vui lòng nhập giá trị nhỏ hơn %s"},mac:{default:"Vui lòng nhập địa chỉ MAC hợp lệ"},meid:{default:"Vui lòng nhập số MEID hợp lệ"},notEmpty:{default:"Vui lòng nhập giá trị"},numeric:{default:"Vui lòng nhập số hợp lệ"},phone:{countries:{AE:"Tiểu vương quốc Ả Rập thống nhất",BG:"Bulgaria",BR:"Brazil",CN:"Trung Quốc",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",ES:"Tây Ban Nha",FR:"Pháp",GB:"Vương quốc Anh",IN:"Ấn Độ",MA:"Maroc",NL:"Hà Lan",PK:"Pakistan",RO:"Romania",RU:"Nga",SK:"Slovakia",TH:"Thái Lan",US:"Mỹ",VE:"Venezuela"},country:"Vui lòng nhập số điện thoại hợp lệ của %s",default:"Vui lòng nhập số điện thoại hợp lệ"},promise:{default:"Vui lòng nhập giá trị hợp lệ"},regexp:{default:"Vui lòng nhập giá trị thích hợp với biểu mẫu"},remote:{default:"Vui lòng nhập giá trị hợp lệ"},rtn:{default:"Vui lòng nhập số RTN hợp lệ"},sedol:{default:"Vui lòng nhập số SEDOL hợp lệ"},siren:{default:"Vui lòng nhập số Siren hợp lệ"},siret:{default:"Vui lòng nhập số Siret hợp lệ"},step:{default:"Vui lòng nhập bước nhảy của %s"},stringCase:{default:"Vui lòng nhập ký tự thường",upper:"Vui lòng nhập ký tự in hoa"},stringLength:{between:"Vui lòng nhập giá trị có độ dài trong khoảng %s và %s ký tự",default:"Vui lòng nhập giá trị có độ dài hợp lệ",less:"Vui lòng nhập ít hơn %s ký tự",more:"Vui lòng nhập nhiều hơn %s ký tự"},uri:{default:"Vui lòng nhập địa chỉ URI hợp lệ"},uuid:{default:"Vui lòng nhập số UUID hợp lệ",version:"Vui lòng nhập số UUID phiên bản %s hợp lệ"},vat:{countries:{AT:"Áo",BE:"Bỉ",BG:"Bulgaria",BR:"Brazil",CH:"Thuỵ Sĩ",CY:"Síp",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",EE:"Estonia",EL:"Hy Lạp",ES:"Tây Ban Nha",FI:"Phần Lan",FR:"Pháp",GB:"Vương quốc Anh",GR:"Hy Lạp",HR:"Croatia",HU:"Hungari",IE:"Ireland",IS:"Iceland",IT:"Ý",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Hà Lan",NO:"Na Uy",PL:"Ba Lan",PT:"Bồ Đào Nha",RO:"Romania",RS:"Serbia",RU:"Nga",SE:"Thuỵ Điển",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Nam Phi"},country:"Vui lòng nhập số VAT hợp lệ của %s",default:"Vui lòng nhập số VAT hợp lệ"},vin:{default:"Vui lòng nhập số VIN hợp lệ"},zipCode:{countries:{AT:"Áo",BG:"Bulgaria",BR:"Brazil",CA:"Canada",CH:"Thuỵ Sĩ",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",ES:"Tây Ban Nha",FR:"Pháp",GB:"Vương quốc Anh",IE:"Ireland",IN:"Ấn Độ",IT:"Ý",MA:"Maroc",NL:"Hà Lan",PL:"Ba Lan",PT:"Bồ Đào Nha",RO:"Romania",RU:"Nga",SE:"Thuỵ Sĩ",SG:"Singapore",SK:"Slovakia",US:"Mỹ"},country:"Vui lòng nhập mã bưu điện hợp lệ của %s",default:"Vui lòng nhập mã bưu điện hợp lệ"}};return vi_VN})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_CN.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_CN.js new file mode 100644 index 0000000..0d1fa35 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_CN.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.zh_CN = factory())); +})(this, (function () { 'use strict'; + + /** + * Simplified Chinese language package + * Translated by @shamiao + */ + + var zh_CN = { + base64: { + default: '请输入有效的Base64编码', + }, + between: { + default: '请输入在 %s 和 %s 之间的数值', + notInclusive: '请输入在 %s 和 %s 之间(不含两端)的数值', + }, + bic: { + default: '请输入有效的BIC商品编码', + }, + callback: { + default: '请输入有效的值', + }, + choice: { + between: '请选择 %s 至 %s 个选项', + default: '请输入有效的值', + less: '请至少选中 %s 个选项', + more: '最多只能选中 %s 个选项', + }, + color: { + default: '请输入有效的颜色值', + }, + creditCard: { + default: '请输入有效的信用卡号码', + }, + cusip: { + default: '请输入有效的美国CUSIP代码', + }, + date: { + default: '请输入有效的日期', + max: '请输入 %s 或以前的日期', + min: '请输入 %s 或之后的日期', + range: '请输入 %s 和 %s 之间的日期', + }, + different: { + default: '请输入不同的值', + }, + digits: { + default: '请输入有效的数字', + }, + ean: { + default: '请输入有效的EAN商品编码', + }, + ein: { + default: '请输入有效的EIN商品编码', + }, + emailAddress: { + default: '请输入有效的邮件地址', + }, + file: { + default: '请选择有效的文件', + }, + greaterThan: { + default: '请输入大于等于 %s 的数值', + notInclusive: '请输入大于 %s 的数值', + }, + grid: { + default: '请输入有效的GRId编码', + }, + hex: { + default: '请输入有效的16进制数', + }, + iban: { + countries: { + AD: '安道​​尔', + AE: '阿联酋', + AL: '阿尔巴尼亚', + AO: '安哥拉', + AT: '奥地利', + AZ: '阿塞拜疆', + BA: '波斯尼亚和黑塞哥维那', + BE: '比利时', + BF: '布基纳法索', + BG: '保加利亚', + BH: '巴林', + BI: '布隆迪', + BJ: '贝宁', + BR: '巴西', + CH: '瑞士', + CI: '科特迪瓦', + CM: '喀麦隆', + CR: '哥斯达黎加', + CV: '佛得角', + CY: '塞浦路斯', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + DO: '多米尼加共和国', + DZ: '阿尔及利亚', + EE: '爱沙尼亚', + ES: '西班牙', + FI: '芬兰', + FO: '法罗群岛', + FR: '法国', + GB: '英国', + GE: '格鲁吉亚', + GI: '直布罗陀', + GL: '格陵兰岛', + GR: '希腊', + GT: '危地马拉', + HR: '克罗地亚', + HU: '匈牙利', + IE: '爱尔兰', + IL: '以色列', + IR: '伊朗', + IS: '冰岛', + IT: '意大利', + JO: '约旦', + KW: '科威特', + KZ: '哈萨克斯坦', + LB: '黎巴嫩', + LI: '列支敦士登', + LT: '立陶宛', + LU: '卢森堡', + LV: '拉脱维亚', + MC: '摩纳哥', + MD: '摩尔多瓦', + ME: '黑山', + MG: '马达加斯加', + MK: '马其顿', + ML: '马里', + MR: '毛里塔尼亚', + MT: '马耳他', + MU: '毛里求斯', + MZ: '莫桑比克', + NL: '荷兰', + NO: '挪威', + PK: '巴基斯坦', + PL: '波兰', + PS: '巴勒斯坦', + PT: '葡萄牙', + QA: '卡塔尔', + RO: '罗马尼亚', + RS: '塞尔维亚', + SA: '沙特阿拉伯', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + SM: '圣马力诺', + SN: '塞内加尔', + TL: '东帝汶', + TN: '突尼斯', + TR: '土耳其', + VG: '英属维尔京群岛', + XK: '科索沃共和国', + }, + country: '请输入有效的 %s 国家或地区的IBAN(国际银行账户)号码', + default: '请输入有效的IBAN(国际银行账户)号码', + }, + id: { + countries: { + BA: '波黑', + BG: '保加利亚', + BR: '巴西', + CH: '瑞士', + CL: '智利', + CN: '中国', + CZ: '捷克共和国', + DK: '丹麦', + EE: '爱沙尼亚', + ES: '西班牙', + FI: '芬兰', + HR: '克罗地亚', + IE: '爱尔兰', + IS: '冰岛', + LT: '立陶宛', + LV: '拉脱维亚', + ME: '黑山', + MK: '马其顿', + NL: '荷兰', + PL: '波兰', + RO: '罗马尼亚', + RS: '塞尔维亚', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + SM: '圣马力诺', + TH: '泰国', + TR: '土耳其', + ZA: '南非', + }, + country: '请输入有效的 %s 国家或地区的身份证件号码', + default: '请输入有效的身份证件号码', + }, + identical: { + default: '请输入相同的值', + }, + imei: { + default: '请输入有效的IMEI(手机串号)', + }, + imo: { + default: '请输入有效的国际海事组织(IMO)号码', + }, + integer: { + default: '请输入有效的整数值', + }, + ip: { + default: '请输入有效的IP地址', + ipv4: '请输入有效的IPv4地址', + ipv6: '请输入有效的IPv6地址', + }, + isbn: { + default: '请输入有效的ISBN(国际标准书号)', + }, + isin: { + default: '请输入有效的ISIN(国际证券编码)', + }, + ismn: { + default: '请输入有效的ISMN(印刷音乐作品编码)', + }, + issn: { + default: '请输入有效的ISSN(国际标准杂志书号)', + }, + lessThan: { + default: '请输入小于等于 %s 的数值', + notInclusive: '请输入小于 %s 的数值', + }, + mac: { + default: '请输入有效的MAC物理地址', + }, + meid: { + default: '请输入有效的MEID(移动设备识别码)', + }, + notEmpty: { + default: '请填写必填项目', + }, + numeric: { + default: '请输入有效的数值,允许小数', + }, + phone: { + countries: { + AE: '阿联酋', + BG: '保加利亚', + BR: '巴西', + CN: '中国', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + ES: '西班牙', + FR: '法国', + GB: '英国', + IN: '印度', + MA: '摩洛哥', + NL: '荷兰', + PK: '巴基斯坦', + RO: '罗马尼亚', + RU: '俄罗斯', + SK: '斯洛伐克', + TH: '泰国', + US: '美国', + VE: '委内瑞拉', + }, + country: '请输入有效的 %s 国家或地区的电话号码', + default: '请输入有效的电话号码', + }, + promise: { + default: '请输入有效的值', + }, + regexp: { + default: '请输入符合正则表达式限制的值', + }, + remote: { + default: '请输入有效的值', + }, + rtn: { + default: '请输入有效的RTN号码', + }, + sedol: { + default: '请输入有效的SEDOL代码', + }, + siren: { + default: '请输入有效的SIREN号码', + }, + siret: { + default: '请输入有效的SIRET号码', + }, + step: { + default: '请输入在基础值上,增加 %s 的整数倍的数值', + }, + stringCase: { + default: '只能输入小写字母', + upper: '只能输入大写字母', + }, + stringLength: { + between: '请输入 %s 至 %s 个字符', + default: '请输入符合长度限制的值', + less: '最多只能输入 %s 个字符', + more: '需要输入至少 %s 个字符', + }, + uri: { + default: '请输入一个有效的URL地址', + }, + uuid: { + default: '请输入有效的UUID', + version: '请输入版本 %s 的UUID', + }, + vat: { + countries: { + AT: '奥地利', + BE: '比利时', + BG: '保加利亚', + BR: '巴西', + CH: '瑞士', + CY: '塞浦路斯', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + EE: '爱沙尼亚', + EL: '希腊', + ES: '西班牙', + FI: '芬兰', + FR: '法语', + GB: '英国', + GR: '希腊', + HR: '克罗地亚', + HU: '匈牙利', + IE: '爱尔兰', + IS: '冰岛', + IT: '意大利', + LT: '立陶宛', + LU: '卢森堡', + LV: '拉脱维亚', + MT: '马耳他', + NL: '荷兰', + NO: '挪威', + PL: '波兰', + PT: '葡萄牙', + RO: '罗马尼亚', + RS: '塞尔维亚', + RU: '俄罗斯', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + VE: '委内瑞拉', + ZA: '南非', + }, + country: '请输入有效的 %s 国家或地区的VAT(税号)', + default: '请输入有效的VAT(税号)', + }, + vin: { + default: '请输入有效的VIN(美国车辆识别号码)', + }, + zipCode: { + countries: { + AT: '奥地利', + BG: '保加利亚', + BR: '巴西', + CA: '加拿大', + CH: '瑞士', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + ES: '西班牙', + FR: '法国', + GB: '英国', + IE: '爱尔兰', + IN: '印度', + IT: '意大利', + MA: '摩洛哥', + NL: '荷兰', + PL: '波兰', + PT: '葡萄牙', + RO: '罗马尼亚', + RU: '俄罗斯', + SE: '瑞典', + SG: '新加坡', + SK: '斯洛伐克', + US: '美国', + }, + country: '请输入有效的 %s 国家或地区的邮政编码', + default: '请输入有效的邮政编码', + }, + }; + + return zh_CN; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_CN.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_CN.min.js new file mode 100644 index 0000000..c235242 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_CN.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.zh_CN=factory())})(this,(function(){"use strict";var zh_CN={base64:{default:"请输入有效的Base64编码"},between:{default:"请输入在 %s 和 %s 之间的数值",notInclusive:"请输入在 %s 和 %s 之间(不含两端)的数值"},bic:{default:"请输入有效的BIC商品编码"},callback:{default:"请输入有效的值"},choice:{between:"请选择 %s 至 %s 个选项",default:"请输入有效的值",less:"请至少选中 %s 个选项",more:"最多只能选中 %s 个选项"},color:{default:"请输入有效的颜色值"},creditCard:{default:"请输入有效的信用卡号码"},cusip:{default:"请输入有效的美国CUSIP代码"},date:{default:"请输入有效的日期",max:"请输入 %s 或以前的日期",min:"请输入 %s 或之后的日期",range:"请输入 %s 和 %s 之间的日期"},different:{default:"请输入不同的值"},digits:{default:"请输入有效的数字"},ean:{default:"请输入有效的EAN商品编码"},ein:{default:"请输入有效的EIN商品编码"},emailAddress:{default:"请输入有效的邮件地址"},file:{default:"请选择有效的文件"},greaterThan:{default:"请输入大于等于 %s 的数值",notInclusive:"请输入大于 %s 的数值"},grid:{default:"请输入有效的GRId编码"},hex:{default:"请输入有效的16进制数"},iban:{countries:{AD:"安道​​尔",AE:"阿联酋",AL:"阿尔巴尼亚",AO:"安哥拉",AT:"奥地利",AZ:"阿塞拜疆",BA:"波斯尼亚和黑塞哥维那",BE:"比利时",BF:"布基纳法索",BG:"保加利亚",BH:"巴林",BI:"布隆迪",BJ:"贝宁",BR:"巴西",CH:"瑞士",CI:"科特迪瓦",CM:"喀麦隆",CR:"哥斯达黎加",CV:"佛得角",CY:"塞浦路斯",CZ:"捷克共和国",DE:"德国",DK:"丹麦",DO:"多米尼加共和国",DZ:"阿尔及利亚",EE:"爱沙尼亚",ES:"西班牙",FI:"芬兰",FO:"法罗群岛",FR:"法国",GB:"英国",GE:"格鲁吉亚",GI:"直布罗陀",GL:"格陵兰岛",GR:"希腊",GT:"危地马拉",HR:"克罗地亚",HU:"匈牙利",IE:"爱尔兰",IL:"以色列",IR:"伊朗",IS:"冰岛",IT:"意大利",JO:"约旦",KW:"科威特",KZ:"哈萨克斯坦",LB:"黎巴嫩",LI:"列支敦士登",LT:"立陶宛",LU:"卢森堡",LV:"拉脱维亚",MC:"摩纳哥",MD:"摩尔多瓦",ME:"黑山",MG:"马达加斯加",MK:"马其顿",ML:"马里",MR:"毛里塔尼亚",MT:"马耳他",MU:"毛里求斯",MZ:"莫桑比克",NL:"荷兰",NO:"挪威",PK:"巴基斯坦",PL:"波兰",PS:"巴勒斯坦",PT:"葡萄牙",QA:"卡塔尔",RO:"罗马尼亚",RS:"塞尔维亚",SA:"沙特阿拉伯",SE:"瑞典",SI:"斯洛文尼亚",SK:"斯洛伐克",SM:"圣马力诺",SN:"塞内加尔",TL:"东帝汶",TN:"突尼斯",TR:"土耳其",VG:"英属维尔京群岛",XK:"科索沃共和国"},country:"请输入有效的 %s 国家或地区的IBAN(国际银行账户)号码",default:"请输入有效的IBAN(国际银行账户)号码"},id:{countries:{BA:"波黑",BG:"保加利亚",BR:"巴西",CH:"瑞士",CL:"智利",CN:"中国",CZ:"捷克共和国",DK:"丹麦",EE:"爱沙尼亚",ES:"西班牙",FI:"芬兰",HR:"克罗地亚",IE:"爱尔兰",IS:"冰岛",LT:"立陶宛",LV:"拉脱维亚",ME:"黑山",MK:"马其顿",NL:"荷兰",PL:"波兰",RO:"罗马尼亚",RS:"塞尔维亚",SE:"瑞典",SI:"斯洛文尼亚",SK:"斯洛伐克",SM:"圣马力诺",TH:"泰国",TR:"土耳其",ZA:"南非"},country:"请输入有效的 %s 国家或地区的身份证件号码",default:"请输入有效的身份证件号码"},identical:{default:"请输入相同的值"},imei:{default:"请输入有效的IMEI(手机串号)"},imo:{default:"请输入有效的国际海事组织(IMO)号码"},integer:{default:"请输入有效的整数值"},ip:{default:"请输入有效的IP地址",ipv4:"请输入有效的IPv4地址",ipv6:"请输入有效的IPv6地址"},isbn:{default:"请输入有效的ISBN(国际标准书号)"},isin:{default:"请输入有效的ISIN(国际证券编码)"},ismn:{default:"请输入有效的ISMN(印刷音乐作品编码)"},issn:{default:"请输入有效的ISSN(国际标准杂志书号)"},lessThan:{default:"请输入小于等于 %s 的数值",notInclusive:"请输入小于 %s 的数值"},mac:{default:"请输入有效的MAC物理地址"},meid:{default:"请输入有效的MEID(移动设备识别码)"},notEmpty:{default:"请填写必填项目"},numeric:{default:"请输入有效的数值,允许小数"},phone:{countries:{AE:"阿联酋",BG:"保加利亚",BR:"巴西",CN:"中国",CZ:"捷克共和国",DE:"德国",DK:"丹麦",ES:"西班牙",FR:"法国",GB:"英国",IN:"印度",MA:"摩洛哥",NL:"荷兰",PK:"巴基斯坦",RO:"罗马尼亚",RU:"俄罗斯",SK:"斯洛伐克",TH:"泰国",US:"美国",VE:"委内瑞拉"},country:"请输入有效的 %s 国家或地区的电话号码",default:"请输入有效的电话号码"},promise:{default:"请输入有效的值"},regexp:{default:"请输入符合正则表达式限制的值"},remote:{default:"请输入有效的值"},rtn:{default:"请输入有效的RTN号码"},sedol:{default:"请输入有效的SEDOL代码"},siren:{default:"请输入有效的SIREN号码"},siret:{default:"请输入有效的SIRET号码"},step:{default:"请输入在基础值上,增加 %s 的整数倍的数值"},stringCase:{default:"只能输入小写字母",upper:"只能输入大写字母"},stringLength:{between:"请输入 %s 至 %s 个字符",default:"请输入符合长度限制的值",less:"最多只能输入 %s 个字符",more:"需要输入至少 %s 个字符"},uri:{default:"请输入一个有效的URL地址"},uuid:{default:"请输入有效的UUID",version:"请输入版本 %s 的UUID"},vat:{countries:{AT:"奥地利",BE:"比利时",BG:"保加利亚",BR:"巴西",CH:"瑞士",CY:"塞浦路斯",CZ:"捷克共和国",DE:"德国",DK:"丹麦",EE:"爱沙尼亚",EL:"希腊",ES:"西班牙",FI:"芬兰",FR:"法语",GB:"英国",GR:"希腊",HR:"克罗地亚",HU:"匈牙利",IE:"爱尔兰",IS:"冰岛",IT:"意大利",LT:"立陶宛",LU:"卢森堡",LV:"拉脱维亚",MT:"马耳他",NL:"荷兰",NO:"挪威",PL:"波兰",PT:"葡萄牙",RO:"罗马尼亚",RS:"塞尔维亚",RU:"俄罗斯",SE:"瑞典",SI:"斯洛文尼亚",SK:"斯洛伐克",VE:"委内瑞拉",ZA:"南非"},country:"请输入有效的 %s 国家或地区的VAT(税号)",default:"请输入有效的VAT(税号)"},vin:{default:"请输入有效的VIN(美国车辆识别号码)"},zipCode:{countries:{AT:"奥地利",BG:"保加利亚",BR:"巴西",CA:"加拿大",CH:"瑞士",CZ:"捷克共和国",DE:"德国",DK:"丹麦",ES:"西班牙",FR:"法国",GB:"英国",IE:"爱尔兰",IN:"印度",IT:"意大利",MA:"摩洛哥",NL:"荷兰",PL:"波兰",PT:"葡萄牙",RO:"罗马尼亚",RU:"俄罗斯",SE:"瑞典",SG:"新加坡",SK:"斯洛伐克",US:"美国"},country:"请输入有效的 %s 国家或地区的邮政编码",default:"请输入有效的邮政编码"}};return zh_CN})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_TW.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_TW.js new file mode 100644 index 0000000..88f99e1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_TW.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.zh_TW = factory())); +})(this, (function () { 'use strict'; + + /** + * Traditional Chinese language package + * Translated by @tureki + */ + + var zh_TW = { + base64: { + default: '請輸入有效的Base64編碼', + }, + between: { + default: '請輸入不小於 %s 且不大於 %s 的值', + notInclusive: '請輸入不小於等於 %s 且不大於等於 %s 的值', + }, + bic: { + default: '請輸入有效的BIC商品編碼', + }, + callback: { + default: '請輸入有效的值', + }, + choice: { + between: '請選擇 %s 至 %s 個選項', + default: '請輸入有效的值', + less: '最少選擇 %s 個選項', + more: '最多選擇 %s 個選項', + }, + color: { + default: '請輸入有效的元色碼', + }, + creditCard: { + default: '請輸入有效的信用卡號碼', + }, + cusip: { + default: '請輸入有效的CUSIP(美國證券庫斯普)號碼', + }, + date: { + default: '請輸入有效的日期', + max: '請輸入 %s 或以前的日期', + min: '請輸入 %s 或之後的日期', + range: '請輸入 %s 至 %s 之間的日期', + }, + different: { + default: '請輸入不同的值', + }, + digits: { + default: '只能輸入數字', + }, + ean: { + default: '請輸入有效的EAN商品編碼', + }, + ein: { + default: '請輸入有效的EIN商品編碼', + }, + emailAddress: { + default: '請輸入有效的EMAIL', + }, + file: { + default: '請選擇有效的檔案', + }, + greaterThan: { + default: '請輸入大於等於 %s 的值', + notInclusive: '請輸入大於 %s 的值', + }, + grid: { + default: '請輸入有效的GRId編碼', + }, + hex: { + default: '請輸入有效的16位元碼', + }, + iban: { + countries: { + AD: '安道​​爾', + AE: '阿聯酋', + AL: '阿爾巴尼亞', + AO: '安哥拉', + AT: '奧地利', + AZ: '阿塞拜疆', + BA: '波斯尼亞和黑塞哥維那', + BE: '比利時', + BF: '布基納法索', + BG: '保加利亞', + BH: '巴林', + BI: '布隆迪', + BJ: '貝寧', + BR: '巴西', + CH: '瑞士', + CI: '象牙海岸', + CM: '喀麥隆', + CR: '哥斯達黎加', + CV: '佛得角', + CY: '塞浦路斯', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + DO: '多明尼加共和國', + DZ: '阿爾及利亞', + EE: '愛沙尼亞', + ES: '西班牙', + FI: '芬蘭', + FO: '法羅群島', + FR: '法國', + GB: '英國', + GE: '格魯吉亞', + GI: '直布羅陀', + GL: '格陵蘭島', + GR: '希臘', + GT: '危地馬拉', + HR: '克羅地亞', + HU: '匈牙利', + IE: '愛爾蘭', + IL: '以色列', + IR: '伊朗', + IS: '冰島', + IT: '意大利', + JO: '約旦', + KW: '科威特', + KZ: '哈薩克斯坦', + LB: '黎巴嫩', + LI: '列支敦士登', + LT: '立陶宛', + LU: '盧森堡', + LV: '拉脫維亞', + MC: '摩納哥', + MD: '摩爾多瓦', + ME: '蒙特內哥羅', + MG: '馬達加斯加', + MK: '馬其頓', + ML: '馬里', + MR: '毛里塔尼亞', + MT: '馬耳他', + MU: '毛里求斯', + MZ: '莫桑比克', + NL: '荷蘭', + NO: '挪威', + PK: '巴基斯坦', + PL: '波蘭', + PS: '巴勒斯坦', + PT: '葡萄牙', + QA: '卡塔爾', + RO: '羅馬尼亞', + RS: '塞爾維亞', + SA: '沙特阿拉伯', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + SM: '聖馬力諾', + SN: '塞內加爾', + TL: '東帝汶', + TN: '突尼斯', + TR: '土耳其', + VG: '英屬維爾京群島', + XK: '科索沃共和國', + }, + country: '請輸入有效的 %s 國家的IBAN(國際銀行賬戶)號碼', + default: '請輸入有效的IBAN(國際銀行賬戶)號碼', + }, + id: { + countries: { + BA: '波赫', + BG: '保加利亞', + BR: '巴西', + CH: '瑞士', + CL: '智利', + CN: '中國', + CZ: '捷克共和國', + DK: '丹麥', + EE: '愛沙尼亞', + ES: '西班牙', + FI: '芬蘭', + HR: '克羅地亞', + IE: '愛爾蘭', + IS: '冰島', + LT: '立陶宛', + LV: '拉脫維亞', + ME: '蒙特內哥羅', + MK: '馬其頓', + NL: '荷蘭', + PL: '波蘭', + RO: '羅馬尼亞', + RS: '塞爾維亞', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + SM: '聖馬力諾', + TH: '泰國', + TR: '土耳其', + ZA: '南非', + }, + country: '請輸入有效的 %s 身份證字號', + default: '請輸入有效的身份證字號', + }, + identical: { + default: '請輸入相同的值', + }, + imei: { + default: '請輸入有效的IMEI(手機序列號)', + }, + imo: { + default: '請輸入有效的國際海事組織(IMO)號碼', + }, + integer: { + default: '請輸入有效的整數', + }, + ip: { + default: '請輸入有效的IP位址', + ipv4: '請輸入有效的IPv4位址', + ipv6: '請輸入有效的IPv6位址', + }, + isbn: { + default: '請輸入有效的ISBN(國際標準書號)', + }, + isin: { + default: '請輸入有效的ISIN(國際證券號碼)', + }, + ismn: { + default: '請輸入有效的ISMN(國際標準音樂編號)', + }, + issn: { + default: '請輸入有效的ISSN(國際標準期刊號)', + }, + lessThan: { + default: '請輸入小於等於 %s 的值', + notInclusive: '請輸入小於 %s 的值', + }, + mac: { + default: '請輸入有效的MAC位址', + }, + meid: { + default: '請輸入有效的MEID(行動設備識別碼)', + }, + notEmpty: { + default: '請填寫必填欄位', + }, + numeric: { + default: '請輸入有效的數字(含浮點數)', + }, + phone: { + countries: { + AE: '阿聯酋', + BG: '保加利亞', + BR: '巴西', + CN: '中国', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + ES: '西班牙', + FR: '法國', + GB: '英國', + IN: '印度', + MA: '摩洛哥', + NL: '荷蘭', + PK: '巴基斯坦', + RO: '罗马尼亚', + RU: '俄羅斯', + SK: '斯洛伐克', + TH: '泰國', + US: '美國', + VE: '委内瑞拉', + }, + country: '請輸入有效的 %s 國家的電話號碼', + default: '請輸入有效的電話號碼', + }, + promise: { + default: '請輸入有效的值', + }, + regexp: { + default: '請輸入符合正規表示式所限制的值', + }, + remote: { + default: '請輸入有效的值', + }, + rtn: { + default: '請輸入有效的RTN號碼', + }, + sedol: { + default: '請輸入有效的SEDOL代碼', + }, + siren: { + default: '請輸入有效的SIREN號碼', + }, + siret: { + default: '請輸入有效的SIRET號碼', + }, + step: { + default: '請輸入 %s 的倍數', + }, + stringCase: { + default: '只能輸入小寫字母', + upper: '只能輸入大寫字母', + }, + stringLength: { + between: '請輸入 %s 至 %s 個字', + default: '請輸入符合長度限制的值', + less: '請輸入小於 %s 個字', + more: '請輸入大於 %s 個字', + }, + uri: { + default: '請輸入一個有效的鏈接', + }, + uuid: { + default: '請輸入有效的UUID', + version: '請輸入版本 %s 的UUID', + }, + vat: { + countries: { + AT: '奧地利', + BE: '比利時', + BG: '保加利亞', + BR: '巴西', + CH: '瑞士', + CY: '塞浦路斯', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + EE: '愛沙尼亞', + EL: '希臘', + ES: '西班牙', + FI: '芬蘭', + FR: '法語', + GB: '英國', + GR: '希臘', + HR: '克羅地亞', + HU: '匈牙利', + IE: '愛爾蘭', + IS: '冰島', + IT: '意大利', + LT: '立陶宛', + LU: '盧森堡', + LV: '拉脫維亞', + MT: '馬耳他', + NL: '荷蘭', + NO: '挪威', + PL: '波蘭', + PT: '葡萄牙', + RO: '羅馬尼亞', + RS: '塞爾維亞', + RU: '俄羅斯', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + VE: '委内瑞拉', + ZA: '南非', + }, + country: '請輸入有效的 %s 國家的VAT(增值税)', + default: '請輸入有效的VAT(增值税)', + }, + vin: { + default: '請輸入有效的VIN(車輛識別號碼)', + }, + zipCode: { + countries: { + AT: '奧地利', + BG: '保加利亞', + BR: '巴西', + CA: '加拿大', + CH: '瑞士', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + ES: '西班牙', + FR: '法國', + GB: '英國', + IE: '愛爾蘭', + IN: '印度', + IT: '意大利', + MA: '摩洛哥', + NL: '荷蘭', + PL: '波蘭', + PT: '葡萄牙', + RO: '羅馬尼亞', + RU: '俄羅斯', + SE: '瑞典', + SG: '新加坡', + SK: '斯洛伐克', + US: '美國', + }, + country: '請輸入有效的 %s 國家的郵政編碼', + default: '請輸入有效的郵政編碼', + }, + }; + + return zh_TW; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_TW.min.js b/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_TW.min.js new file mode 100644 index 0000000..7cf95b1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/locales/zh_TW.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.zh_TW=factory())})(this,(function(){"use strict";var zh_TW={base64:{default:"請輸入有效的Base64編碼"},between:{default:"請輸入不小於 %s 且不大於 %s 的值",notInclusive:"請輸入不小於等於 %s 且不大於等於 %s 的值"},bic:{default:"請輸入有效的BIC商品編碼"},callback:{default:"請輸入有效的值"},choice:{between:"請選擇 %s 至 %s 個選項",default:"請輸入有效的值",less:"最少選擇 %s 個選項",more:"最多選擇 %s 個選項"},color:{default:"請輸入有效的元色碼"},creditCard:{default:"請輸入有效的信用卡號碼"},cusip:{default:"請輸入有效的CUSIP(美國證券庫斯普)號碼"},date:{default:"請輸入有效的日期",max:"請輸入 %s 或以前的日期",min:"請輸入 %s 或之後的日期",range:"請輸入 %s 至 %s 之間的日期"},different:{default:"請輸入不同的值"},digits:{default:"只能輸入數字"},ean:{default:"請輸入有效的EAN商品編碼"},ein:{default:"請輸入有效的EIN商品編碼"},emailAddress:{default:"請輸入有效的EMAIL"},file:{default:"請選擇有效的檔案"},greaterThan:{default:"請輸入大於等於 %s 的值",notInclusive:"請輸入大於 %s 的值"},grid:{default:"請輸入有效的GRId編碼"},hex:{default:"請輸入有效的16位元碼"},iban:{countries:{AD:"安道​​爾",AE:"阿聯酋",AL:"阿爾巴尼亞",AO:"安哥拉",AT:"奧地利",AZ:"阿塞拜疆",BA:"波斯尼亞和黑塞哥維那",BE:"比利時",BF:"布基納法索",BG:"保加利亞",BH:"巴林",BI:"布隆迪",BJ:"貝寧",BR:"巴西",CH:"瑞士",CI:"象牙海岸",CM:"喀麥隆",CR:"哥斯達黎加",CV:"佛得角",CY:"塞浦路斯",CZ:"捷克共和國",DE:"德國",DK:"丹麥",DO:"多明尼加共和國",DZ:"阿爾及利亞",EE:"愛沙尼亞",ES:"西班牙",FI:"芬蘭",FO:"法羅群島",FR:"法國",GB:"英國",GE:"格魯吉亞",GI:"直布羅陀",GL:"格陵蘭島",GR:"希臘",GT:"危地馬拉",HR:"克羅地亞",HU:"匈牙利",IE:"愛爾蘭",IL:"以色列",IR:"伊朗",IS:"冰島",IT:"意大利",JO:"約旦",KW:"科威特",KZ:"哈薩克斯坦",LB:"黎巴嫩",LI:"列支敦士登",LT:"立陶宛",LU:"盧森堡",LV:"拉脫維亞",MC:"摩納哥",MD:"摩爾多瓦",ME:"蒙特內哥羅",MG:"馬達加斯加",MK:"馬其頓",ML:"馬里",MR:"毛里塔尼亞",MT:"馬耳他",MU:"毛里求斯",MZ:"莫桑比克",NL:"荷蘭",NO:"挪威",PK:"巴基斯坦",PL:"波蘭",PS:"巴勒斯坦",PT:"葡萄牙",QA:"卡塔爾",RO:"羅馬尼亞",RS:"塞爾維亞",SA:"沙特阿拉伯",SE:"瑞典",SI:"斯洛文尼亞",SK:"斯洛伐克",SM:"聖馬力諾",SN:"塞內加爾",TL:"東帝汶",TN:"突尼斯",TR:"土耳其",VG:"英屬維爾京群島",XK:"科索沃共和國"},country:"請輸入有效的 %s 國家的IBAN(國際銀行賬戶)號碼",default:"請輸入有效的IBAN(國際銀行賬戶)號碼"},id:{countries:{BA:"波赫",BG:"保加利亞",BR:"巴西",CH:"瑞士",CL:"智利",CN:"中國",CZ:"捷克共和國",DK:"丹麥",EE:"愛沙尼亞",ES:"西班牙",FI:"芬蘭",HR:"克羅地亞",IE:"愛爾蘭",IS:"冰島",LT:"立陶宛",LV:"拉脫維亞",ME:"蒙特內哥羅",MK:"馬其頓",NL:"荷蘭",PL:"波蘭",RO:"羅馬尼亞",RS:"塞爾維亞",SE:"瑞典",SI:"斯洛文尼亞",SK:"斯洛伐克",SM:"聖馬力諾",TH:"泰國",TR:"土耳其",ZA:"南非"},country:"請輸入有效的 %s 身份證字號",default:"請輸入有效的身份證字號"},identical:{default:"請輸入相同的值"},imei:{default:"請輸入有效的IMEI(手機序列號)"},imo:{default:"請輸入有效的國際海事組織(IMO)號碼"},integer:{default:"請輸入有效的整數"},ip:{default:"請輸入有效的IP位址",ipv4:"請輸入有效的IPv4位址",ipv6:"請輸入有效的IPv6位址"},isbn:{default:"請輸入有效的ISBN(國際標準書號)"},isin:{default:"請輸入有效的ISIN(國際證券號碼)"},ismn:{default:"請輸入有效的ISMN(國際標準音樂編號)"},issn:{default:"請輸入有效的ISSN(國際標準期刊號)"},lessThan:{default:"請輸入小於等於 %s 的值",notInclusive:"請輸入小於 %s 的值"},mac:{default:"請輸入有效的MAC位址"},meid:{default:"請輸入有效的MEID(行動設備識別碼)"},notEmpty:{default:"請填寫必填欄位"},numeric:{default:"請輸入有效的數字(含浮點數)"},phone:{countries:{AE:"阿聯酋",BG:"保加利亞",BR:"巴西",CN:"中国",CZ:"捷克共和國",DE:"德國",DK:"丹麥",ES:"西班牙",FR:"法國",GB:"英國",IN:"印度",MA:"摩洛哥",NL:"荷蘭",PK:"巴基斯坦",RO:"罗马尼亚",RU:"俄羅斯",SK:"斯洛伐克",TH:"泰國",US:"美國",VE:"委内瑞拉"},country:"請輸入有效的 %s 國家的電話號碼",default:"請輸入有效的電話號碼"},promise:{default:"請輸入有效的值"},regexp:{default:"請輸入符合正規表示式所限制的值"},remote:{default:"請輸入有效的值"},rtn:{default:"請輸入有效的RTN號碼"},sedol:{default:"請輸入有效的SEDOL代碼"},siren:{default:"請輸入有效的SIREN號碼"},siret:{default:"請輸入有效的SIRET號碼"},step:{default:"請輸入 %s 的倍數"},stringCase:{default:"只能輸入小寫字母",upper:"只能輸入大寫字母"},stringLength:{between:"請輸入 %s 至 %s 個字",default:"請輸入符合長度限制的值",less:"請輸入小於 %s 個字",more:"請輸入大於 %s 個字"},uri:{default:"請輸入一個有效的鏈接"},uuid:{default:"請輸入有效的UUID",version:"請輸入版本 %s 的UUID"},vat:{countries:{AT:"奧地利",BE:"比利時",BG:"保加利亞",BR:"巴西",CH:"瑞士",CY:"塞浦路斯",CZ:"捷克共和國",DE:"德國",DK:"丹麥",EE:"愛沙尼亞",EL:"希臘",ES:"西班牙",FI:"芬蘭",FR:"法語",GB:"英國",GR:"希臘",HR:"克羅地亞",HU:"匈牙利",IE:"愛爾蘭",IS:"冰島",IT:"意大利",LT:"立陶宛",LU:"盧森堡",LV:"拉脫維亞",MT:"馬耳他",NL:"荷蘭",NO:"挪威",PL:"波蘭",PT:"葡萄牙",RO:"羅馬尼亞",RS:"塞爾維亞",RU:"俄羅斯",SE:"瑞典",SI:"斯洛文尼亞",SK:"斯洛伐克",VE:"委内瑞拉",ZA:"南非"},country:"請輸入有效的 %s 國家的VAT(增值税)",default:"請輸入有效的VAT(增值税)"},vin:{default:"請輸入有效的VIN(車輛識別號碼)"},zipCode:{countries:{AT:"奧地利",BG:"保加利亞",BR:"巴西",CA:"加拿大",CH:"瑞士",CZ:"捷克共和國",DE:"德國",DK:"丹麥",ES:"西班牙",FR:"法國",GB:"英國",IE:"愛爾蘭",IN:"印度",IT:"意大利",MA:"摩洛哥",NL:"荷蘭",PL:"波蘭",PT:"葡萄牙",RO:"羅馬尼亞",RU:"俄羅斯",SE:"瑞典",SG:"新加坡",SK:"斯洛伐克",US:"美國"},country:"請輸入有效的 %s 國家的郵政編碼",default:"請輸入有效的郵政編碼"}};return zh_TW})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/AutoFocus.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/AutoFocus.js new file mode 100644 index 0000000..497cb99 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/AutoFocus.js @@ -0,0 +1,277 @@ +/** + * FormValidation (https://formvalidation.io), v1.9.0 (cbf8fab) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.AutoFocus = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var t$1 = FormValidation.Plugin; + + var t = /*#__PURE__*/function (_e) { + _inherits(t, _e); + + var _super = _createSuper(t); + + function t(e) { + var _this; + + _classCallCheck(this, t); + + _this = _super.call(this, e); + _this.statuses = new Map(); + _this.opts = Object.assign({}, { + onStatusChanged: function onStatusChanged() {} + }, e); + _this.elementValidatingHandler = _this.onElementValidating.bind(_assertThisInitialized(_this)); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_assertThisInitialized(_this)); + _this.elementIgnoredHandler = _this.onElementIgnored.bind(_assertThisInitialized(_this)); + _this.fieldAddedHandler = _this.onFieldAdded.bind(_assertThisInitialized(_this)); + _this.fieldRemovedHandler = _this.onFieldRemoved.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(t, [{ + key: "install", + value: function install() { + this.core.on("core.element.validating", this.elementValidatingHandler).on("core.element.validated", this.elementValidatedHandler).on("core.element.notvalidated", this.elementNotValidatedHandler).on("core.element.ignored", this.elementIgnoredHandler).on("core.field.added", this.fieldAddedHandler).on("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.statuses.clear(); + this.core.off("core.element.validating", this.elementValidatingHandler).off("core.element.validated", this.elementValidatedHandler).off("core.element.notvalidated", this.elementNotValidatedHandler).off("core.element.ignored", this.elementIgnoredHandler).off("core.field.added", this.fieldAddedHandler).off("core.field.removed", this.fieldRemovedHandler); + } + }, { + key: "areFieldsValid", + value: function areFieldsValid() { + return Array.from(this.statuses.values()).every(function (e) { + return e === "Valid" || e === "NotValidated" || e === "Ignored"; + }); + } + }, { + key: "getStatuses", + value: function getStatuses() { + return this.statuses; + } + }, { + key: "onFieldAdded", + value: function onFieldAdded(e) { + this.statuses.set(e.field, "NotValidated"); + } + }, { + key: "onFieldRemoved", + value: function onFieldRemoved(e) { + if (this.statuses.has(e.field)) { + this.statuses["delete"](e.field); + } + + this.opts.onStatusChanged(this.areFieldsValid()); + } + }, { + key: "onElementValidating", + value: function onElementValidating(e) { + this.statuses.set(e.field, "Validating"); + this.opts.onStatusChanged(false); + } + }, { + key: "onElementValidated", + value: function onElementValidated(e) { + this.statuses.set(e.field, e.valid ? "Valid" : "Invalid"); + + if (e.valid) { + this.opts.onStatusChanged(this.areFieldsValid()); + } else { + this.opts.onStatusChanged(false); + } + } + }, { + key: "onElementNotValidated", + value: function onElementNotValidated(e) { + this.statuses.set(e.field, "NotValidated"); + this.opts.onStatusChanged(false); + } + }, { + key: "onElementIgnored", + value: function onElementIgnored(e) { + this.statuses.set(e.field, "Ignored"); + this.opts.onStatusChanged(this.areFieldsValid()); + } + }]); + + return t; + }(t$1); + + var s = /*#__PURE__*/function (_t) { + _inherits(s, _t); + + var _super = _createSuper(s); + + function s(t) { + var _this; + + _classCallCheck(this, s); + + _this = _super.call(this, t); + _this.fieldStatusPluginName = "___autoFocusFieldStatus"; + _this.opts = Object.assign({}, { + onPrefocus: function onPrefocus() {} + }, t); + _this.invalidFormHandler = _this.onFormInvalid.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(s, [{ + key: "install", + value: function install() { + this.core.on("core.form.invalid", this.invalidFormHandler).registerPlugin(this.fieldStatusPluginName, new t()); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.off("core.form.invalid", this.invalidFormHandler).deregisterPlugin(this.fieldStatusPluginName); + } + }, { + key: "onFormInvalid", + value: function onFormInvalid() { + var t = this.core.getPlugin(this.fieldStatusPluginName); + var i = t.getStatuses(); + + var _s = Object.keys(this.core.getFields()).filter(function (t) { + return i.get(t) === "Invalid"; + }); + + if (_s.length > 0) { + var _t2 = _s[0]; + + var _i = this.core.getElements(_t2); + + if (_i.length > 0) { + var _s3 = _i[0]; + var e = { + firstElement: _s3, + field: _t2 + }; + this.core.emit("plugins.autofocus.prefocus", e); + this.opts.onPrefocus(e); + + _s3.focus(); + } + } + } + }]); + + return s; + }(t$1); + + return s; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/AutoFocus.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/AutoFocus.min.js new file mode 100644 index 0000000..ed1e3b9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/AutoFocus.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.AutoFocus=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i0){var _t2=_s[0];var _i=this.core.getElements(_t2);if(_i.length>0){var _s3=_i[0];var e={firstElement:_s3,field:_t2};this.core.emit("plugins.autofocus.prefocus",e);this.opts.onPrefocus(e);_s3.focus()}}}}]);return s}(t$1);return s})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap.js new file mode 100644 index 0000000..c532fc6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap.js @@ -0,0 +1,178 @@ +/** + * FormValidation (https://formvalidation.io), v1.9.0 (cbf8fab) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Bootstrap = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.utils.hasClass; + + var n = FormValidation.plugins.Framework; + + var s = /*#__PURE__*/function (_n) { + _inherits(s, _n); + + var _super = _createSuper(s); + + function s(e) { + _classCallCheck(this, s); + + return _super.call(this, Object.assign({}, { + eleInvalidClass: "is-invalid", + eleValidClass: "is-valid", + formClass: "fv-plugins-bootstrap", + messageClass: "fv-help-block", + rowInvalidClass: "has-danger", + rowPattern: /^(.*)(col|offset)(-(sm|md|lg|xl))*-[0-9]+(.*)$/, + rowSelector: ".form-group", + rowValidClass: "has-success" + }, e)); + } + + _createClass(s, [{ + key: "onIconPlaced", + value: function onIconPlaced(n) { + var _s = n.element.parentElement; + + if (t(_s, "input-group")) { + _s.parentElement.insertBefore(n.iconElement, _s.nextSibling); + } + + var l = n.element.getAttribute("type"); + + if ("checkbox" === l || "radio" === l) { + var _l = _s.parentElement; + + if (t(_s, "form-check")) { + e(n.iconElement, { + "fv-plugins-icon-check": true + }); + + _s.parentElement.insertBefore(n.iconElement, _s.nextSibling); + } else if (t(_s.parentElement, "form-check")) { + e(n.iconElement, { + "fv-plugins-icon-check": true + }); + + _l.parentElement.insertBefore(n.iconElement, _l.nextSibling); + } + } + } + }]); + + return s; + }(n); + + return s; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap.min.js new file mode 100644 index 0000000..fbce13b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Bootstrap=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Bootstrap3 = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.utils.hasClass; + + var s = FormValidation.plugins.Framework; + + var n = /*#__PURE__*/function (_s) { + _inherits(n, _s); + + var _super = _createSuper(n); + + function n(e) { + _classCallCheck(this, n); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-bootstrap3", + messageClass: "help-block", + rowClasses: "has-feedback", + rowInvalidClass: "has-error", + rowPattern: /^(.*)(col|offset)-(xs|sm|md|lg)-[0-9]+(.*)$/, + rowSelector: ".form-group", + rowValidClass: "has-success" + }, e)); + } + + _createClass(n, [{ + key: "onIconPlaced", + value: function onIconPlaced(s) { + e(s.iconElement, { + "form-control-feedback": true + }); + var _n = s.element.parentElement; + + if (t(_n, "input-group")) { + _n.parentElement.insertBefore(s.iconElement, _n.nextSibling); + } + + var r = s.element.getAttribute("type"); + + if ("checkbox" === r || "radio" === r) { + var _e = _n.parentElement; + + if (t(_n, r)) { + _n.parentElement.insertBefore(s.iconElement, _n.nextSibling); + } else if (t(_n.parentElement, r)) { + _e.parentElement.insertBefore(s.iconElement, _e.nextSibling); + } + } + } + }]); + + return n; + }(s); + + return n; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap3.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap3.min.js new file mode 100644 index 0000000..14f1be3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap3.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Bootstrap3=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Bootstrap5 = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + function _superPropBase(object, property) { + while (!Object.prototype.hasOwnProperty.call(object, property)) { + object = _getPrototypeOf(object); + if (object === null) break; + } + + return object; + } + + function _get(target, property, receiver) { + if (typeof Reflect !== "undefined" && Reflect.get) { + _get = Reflect.get; + } else { + _get = function _get(target, property, receiver) { + var base = _superPropBase(target, property); + + if (!base) return; + var desc = Object.getOwnPropertyDescriptor(base, property); + + if (desc.get) { + return desc.get.call(receiver); + } + + return desc.value; + }; + } + + return _get(target, property, receiver || target); + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.utils.hasClass; + + var n = FormValidation.plugins.Framework; + + var l = /*#__PURE__*/function (_n) { + _inherits(l, _n); + + var _super = _createSuper(l); + + function l(e) { + var _this; + + _classCallCheck(this, l); + + _this = _super.call(this, Object.assign({}, { + eleInvalidClass: "is-invalid", + eleValidClass: "is-valid", + formClass: "fv-plugins-bootstrap5", + rowInvalidClass: "fv-plugins-bootstrap5-row-invalid", + rowPattern: /^(.*)(col|offset)(-(sm|md|lg|xl))*-[0-9]+(.*)$/, + rowSelector: ".row", + rowValidClass: "fv-plugins-bootstrap5-row-valid" + }, e)); + _this.eleValidatedHandler = _this.handleElementValidated.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(l, [{ + key: "install", + value: function install() { + _get(_getPrototypeOf(l.prototype), "install", this).call(this); + + this.core.on("core.element.validated", this.eleValidatedHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + _get(_getPrototypeOf(l.prototype), "install", this).call(this); + + this.core.off("core.element.validated", this.eleValidatedHandler); + } + }, { + key: "handleElementValidated", + value: function handleElementValidated(n) { + var _l = n.element.getAttribute("type"); + + if (("checkbox" === _l || "radio" === _l) && n.elements.length > 1 && t(n.element, "form-check-input")) { + var _l5 = n.element.parentElement; + + if (t(_l5, "form-check") && t(_l5, "form-check-inline")) { + e(_l5, { + "is-invalid": !n.valid, + "is-valid": n.valid + }); + } + } + } + }, { + key: "onIconPlaced", + value: function onIconPlaced(n) { + e(n.element, { + "fv-plugins-icon-input": true + }); + var _l3 = n.element.parentElement; + + if (t(_l3, "input-group")) { + _l3.parentElement.insertBefore(n.iconElement, _l3.nextSibling); + + if (n.element.nextElementSibling && t(n.element.nextElementSibling, "input-group-text")) { + e(n.iconElement, { + "fv-plugins-icon-input-group": true + }); + } + } + + var i = n.element.getAttribute("type"); + + if ("checkbox" === i || "radio" === i) { + var _i = _l3.parentElement; + + if (t(_l3, "form-check")) { + e(n.iconElement, { + "fv-plugins-icon-check": true + }); + + _l3.parentElement.insertBefore(n.iconElement, _l3.nextSibling); + } else if (t(_l3.parentElement, "form-check")) { + e(n.iconElement, { + "fv-plugins-icon-check": true + }); + + _i.parentElement.insertBefore(n.iconElement, _i.nextSibling); + } + } + } + }, { + key: "onMessagePlaced", + value: function onMessagePlaced(n) { + n.messageElement.classList.add("invalid-feedback"); + var _l4 = n.element.parentElement; + + if (t(_l4, "input-group")) { + _l4.appendChild(n.messageElement); + + e(_l4, { + "has-validation": true + }); + return; + } + + var i = n.element.getAttribute("type"); + + if (("checkbox" === i || "radio" === i) && t(n.element, "form-check-input") && !t(_l4, "form-check")) { + n.elements[n.elements.length - 1].parentElement.appendChild(n.messageElement); + } + } + }]); + + return l; + }(n); + + return l; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap5.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap5.min.js new file mode 100644 index 0000000..6594d88 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bootstrap5.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Bootstrap5=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i1&&t(n.element,"form-check-input")){var _l5=n.element.parentElement;if(t(_l5,"form-check")&&t(_l5,"form-check-inline")){e(_l5,{"is-invalid":!n.valid,"is-valid":n.valid})}}}},{key:"onIconPlaced",value:function onIconPlaced(n){e(n.element,{"fv-plugins-icon-input":true});var _l3=n.element.parentElement;if(t(_l3,"input-group")){_l3.parentElement.insertBefore(n.iconElement,_l3.nextSibling);if(n.element.nextElementSibling&&t(n.element.nextElementSibling,"input-group-text")){e(n.iconElement,{"fv-plugins-icon-input-group":true})}}var i=n.element.getAttribute("type");if("checkbox"===i||"radio"===i){var _i=_l3.parentElement;if(t(_l3,"form-check")){e(n.iconElement,{"fv-plugins-icon-check":true});_l3.parentElement.insertBefore(n.iconElement,_l3.nextSibling)}else if(t(_l3.parentElement,"form-check")){e(n.iconElement,{"fv-plugins-icon-check":true});_i.parentElement.insertBefore(n.iconElement,_i.nextSibling)}}}},{key:"onMessagePlaced",value:function onMessagePlaced(n){n.messageElement.classList.add("invalid-feedback");var _l4=n.element.parentElement;if(t(_l4,"input-group")){_l4.appendChild(n.messageElement);e(_l4,{"has-validation":true});return}var i=n.element.getAttribute("type");if(("checkbox"===i||"radio"===i)&&t(n.element,"form-check-input")&&!t(_l4,"form-check")){n.elements[n.elements.length-1].parentElement.appendChild(n.messageElement)}}}]);return l}(n);return l})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bulma.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bulma.js new file mode 100644 index 0000000..cb3c042 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bulma.js @@ -0,0 +1,177 @@ +/** + * FormValidation (https://formvalidation.io), v1.9.0 (cbf8fab) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Bulma = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.plugins.Framework; + + var s = /*#__PURE__*/function (_t) { + _inherits(s, _t); + + var _super = _createSuper(s); + + function s(e) { + _classCallCheck(this, s); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-bulma", + messageClass: "help is-danger", + rowInvalidClass: "fv-has-error", + rowPattern: /^.*field.*$/, + rowSelector: ".field", + rowValidClass: "fv-has-success" + }, e)); + } + + _createClass(s, [{ + key: "onIconPlaced", + value: function onIconPlaced(t) { + e(t.iconElement, { + "fv-plugins-icon": false + }); + + var _s = document.createElement("span"); + + _s.setAttribute("class", "icon is-small is-right"); + + t.iconElement.parentNode.insertBefore(_s, t.iconElement); + + _s.appendChild(t.iconElement); + + var n = t.element.getAttribute("type"); + var r = t.element.parentElement; + + if ("checkbox" === n || "radio" === n) { + e(r.parentElement, { + "has-icons-right": true + }); + e(_s, { + "fv-plugins-icon-check": true + }); + r.parentElement.insertBefore(_s, r.nextSibling); + } else { + e(r, { + "has-icons-right": true + }); + } + } + }]); + + return s; + }(t); + + return s; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bulma.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bulma.min.js new file mode 100644 index 0000000..9a840a6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Bulma.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Bulma=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Foundation = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.plugins.Framework; + + var o = /*#__PURE__*/function (_e) { + _inherits(o, _e); + + var _super = _createSuper(o); + + function o(e) { + _classCallCheck(this, o); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-foundation", + messageClass: "form-error", + rowInvalidClass: "fv-row__error", + rowPattern: /^.*((small|medium|large)-[0-9]+)\s.*(cell).*$/, + rowSelector: ".grid-x", + rowValidClass: "fv-row__success" + }, e)); + } + + _createClass(o, [{ + key: "onIconPlaced", + value: function onIconPlaced(e) { + var _o = e.element.getAttribute("type"); + + if ("checkbox" === _o || "radio" === _o) { + var _o3 = e.iconElement.nextSibling; + + if ("LABEL" === _o3.nodeName) { + _o3.parentNode.insertBefore(e.iconElement, _o3.nextSibling); + } else if ("#text" === _o3.nodeName) { + var n = _o3.nextSibling; + + if (n && "LABEL" === n.nodeName) { + n.parentNode.insertBefore(e.iconElement, n.nextSibling); + } + } + } + } + }]); + + return o; + }(e); + + return o; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Foundation.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Foundation.min.js new file mode 100644 index 0000000..54a31dc --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Foundation.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Foundation=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.InternationalTelephoneInput = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.Plugin; + + var t = /*#__PURE__*/function (_e) { + _inherits(t, _e); + + var _super = _createSuper(t); + + function t(e) { + var _this; + + _classCallCheck(this, t); + + _this = _super.call(this, e); + _this.intlTelInstances = new Map(); + _this.countryChangeHandler = new Map(); + _this.fieldElements = new Map(); + _this.opts = Object.assign({}, { + autoPlaceholder: "polite", + utilsScript: "" + }, e); + _this.validatePhoneNumber = _this.checkPhoneNumber.bind(_assertThisInitialized(_this)); + _this.fields = typeof _this.opts.field === "string" ? _this.opts.field.split(",") : _this.opts.field; + return _this; + } + + _createClass(t, [{ + key: "install", + value: function install() { + var _this2 = this; + + this.core.registerValidator(t.INT_TEL_VALIDATOR, this.validatePhoneNumber); + this.fields.forEach(function (e) { + _this2.core.addField(e, { + validators: _defineProperty({}, t.INT_TEL_VALIDATOR, { + message: _this2.opts.message + }) + }); + + var s = _this2.core.getElements(e)[0]; + + var i = function i() { + return _this2.core.revalidateField(e); + }; + + s.addEventListener("countrychange", i); + + _this2.countryChangeHandler.set(e, i); + + _this2.fieldElements.set(e, s); + + _this2.intlTelInstances.set(e, intlTelInput(s, _this2.opts)); + }); + } + }, { + key: "uninstall", + value: function uninstall() { + var _this3 = this; + + this.fields.forEach(function (e) { + var s = _this3.countryChangeHandler.get(e); + + var i = _this3.fieldElements.get(e); + + var n = _this3.intlTelInstances.get(e); + + if (s && i && n) { + i.removeEventListener("countrychange", s); + + _this3.core.disableValidator(e, t.INT_TEL_VALIDATOR); + + n.destroy(); + } + }); + } + }, { + key: "checkPhoneNumber", + value: function checkPhoneNumber() { + var _this4 = this; + + return { + validate: function validate(e) { + var _t = e.value; + + var s = _this4.intlTelInstances.get(e.field); + + if (_t === "" || !s) { + return { + valid: true + }; + } + + return { + valid: s.isValidNumber() + }; + } + }; + } + }]); + + return t; + }(e); + t.INT_TEL_VALIDATOR = "___InternationalTelephoneInputValidator"; + + return t; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/InternationalTelephoneInput.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/InternationalTelephoneInput.min.js new file mode 100644 index 0000000..7199e74 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/InternationalTelephoneInput.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.InternationalTelephoneInput=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (o) { + 'use strict'; + + function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + + var o__default = /*#__PURE__*/_interopDefaultLegacy(o); + + function _typeof(obj) { + "@babel/helpers - typeof"; + + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function (obj) { + return typeof obj; + }; + } else { + _typeof = function (obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); + } + + var t = FormValidation.formValidation; + + var r = o__default["default"].fn.jquery.split(" ")[0].split("."); + + if (+r[0] < 2 && +r[1] < 9 || +r[0] === 1 && +r[1] === 9 && +r[2] < 1) { + throw new Error("The J plugin requires jQuery version 1.9.1 or higher"); + } + + o__default["default"].fn["formValidation"] = function (r) { + var i = arguments; + return this.each(function () { + var e = o__default["default"](this); + var n = e.data("formValidation"); + var a = "object" === _typeof(r) && r; + + if (!n) { + n = t(this, a); + e.data("formValidation", n).data("FormValidation", n); + } + + if ("string" === typeof r) { + n[r].apply(n, Array.prototype.slice.call(i, 1)); + } + }); + }; + +})(jQuery); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/J.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/J.min.js new file mode 100644 index 0000000..8ab91c5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/J.min.js @@ -0,0 +1 @@ +(function(o){"use strict";function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var o__default=_interopDefaultLegacy(o);function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function(obj){return typeof obj}}else{_typeof=function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}var t=FormValidation.formValidation;var r=o__default["default"].fn.jquery.split(" ")[0].split(".");if(+r[0]<2&&+r[1]<9||+r[0]===1&&+r[1]===9&&+r[2]<1){throw new Error("The J plugin requires jQuery version 1.9.1 or higher")}o__default["default"].fn["formValidation"]=function(r){var i=arguments;return this.each((function(){var e=o__default["default"](this);var n=e.data("formValidation");var a="object"===_typeof(r)&&r;if(!n){n=t(this,a);e.data("formValidation",n).data("FormValidation",n)}if("string"===typeof r){n[r].apply(n,Array.prototype.slice.call(i,1))}}))}})(jQuery); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/L10n.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/L10n.js new file mode 100644 index 0000000..a45c8ec --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/L10n.js @@ -0,0 +1,185 @@ +/** + * FormValidation (https://formvalidation.io), v1.9.0 (cbf8fab) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.L10n = factory())); +})(this, (function () { 'use strict'; + + function _typeof(obj) { + "@babel/helpers - typeof"; + + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function (obj) { + return typeof obj; + }; + } else { + _typeof = function (obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); + } + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var t = FormValidation.Plugin; + + var e = /*#__PURE__*/function (_t) { + _inherits(e, _t); + + var _super = _createSuper(e); + + function e(t) { + var _this; + + _classCallCheck(this, e); + + _this = _super.call(this, t); + _this.messageFilter = _this.getMessage.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(e, [{ + key: "install", + value: function install() { + this.core.registerFilter("validator-message", this.messageFilter); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.deregisterFilter("validator-message", this.messageFilter); + } + }, { + key: "getMessage", + value: function getMessage(t, _e, s) { + if (this.opts[_e] && this.opts[_e][s]) { + var i = this.opts[_e][s]; + + var r = _typeof(i); + + if ("object" === r && i[t]) { + return i[t]; + } else if ("function" === r) { + var _r = i.apply(this, [_e, s]); + + return _r && _r[t] ? _r[t] : ""; + } + } + + return ""; + } + }]); + + return e; + }(t); + + return e; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/L10n.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/L10n.min.js new file mode 100644 index 0000000..5166763 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/L10n.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.L10n=factory())})(this,(function(){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function(obj){return typeof obj}}else{_typeof=function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Mailgun = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var s = FormValidation.Plugin; + + var e = FormValidation.plugins.Alias; + + var i = /*#__PURE__*/function (_s) { + _inherits(i, _s); + + var _super = _createSuper(i); + + function i(s) { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, s); + _this.opts = Object.assign({}, { + suggestion: false + }, s); + _this.messageDisplayedHandler = _this.onMessageDisplayed.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + if (this.opts.suggestion) { + this.core.on("plugins.message.displayed", this.messageDisplayedHandler); + } + + var s = { + mailgun: "remote" + }; + this.core.registerPlugin("___mailgunAlias", new e(s)).addField(this.opts.field, { + validators: { + mailgun: { + crossDomain: true, + data: { + api_key: this.opts.apiKey + }, + headers: { + "Content-Type": "application/json" + }, + message: this.opts.message, + name: "address", + url: "https://api.mailgun.net/v3/address/validate", + validKey: "is_valid" + } + } + }); + } + }, { + key: "uninstall", + value: function uninstall() { + if (this.opts.suggestion) { + this.core.off("plugins.message.displayed", this.messageDisplayedHandler); + } + + this.core.removeField(this.opts.field); + } + }, { + key: "onMessageDisplayed", + value: function onMessageDisplayed(s) { + if (s.field === this.opts.field && "mailgun" === s.validator && s.meta && s.meta["did_you_mean"]) { + s.messageElement.innerHTML = "Did you mean ".concat(s.meta["did_you_mean"], "?"); + } + } + }]); + + return i; + }(s); + + return i; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Mailgun.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Mailgun.min.js new file mode 100644 index 0000000..11c2d6a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Mailgun.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Mailgun=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.MandatoryIcon = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + } + + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + + return arr2; + } + + function _createForOfIteratorHelper(o, allowArrayLike) { + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; + + if (!it) { + if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (it) o = it; + var i = 0; + + var F = function () {}; + + return { + s: F, + n: function () { + if (i >= o.length) return { + done: true + }; + return { + done: false, + value: o[i++] + }; + }, + e: function (e) { + throw e; + }, + f: F + }; + } + + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + var normalCompletion = true, + didErr = false, + err; + return { + s: function () { + it = it.call(o); + }, + n: function () { + var step = it.next(); + normalCompletion = step.done; + return step; + }, + e: function (e) { + didErr = true; + err = e; + }, + f: function () { + try { + if (!normalCompletion && it.return != null) it.return(); + } finally { + if (didErr) throw err; + } + } + }; + } + + var e = FormValidation.Plugin; + + var t = FormValidation.utils.classSet; + + var i = /*#__PURE__*/function (_e) { + _inherits(i, _e); + + var _super = _createSuper(i); + + function i(e) { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, e); + _this.removedIcons = { + Invalid: "", + NotValidated: "", + Valid: "", + Validating: "" + }; + _this.icons = new Map(); + _this.elementValidatingHandler = _this.onElementValidating.bind(_assertThisInitialized(_this)); + _this.elementValidatedHandler = _this.onElementValidated.bind(_assertThisInitialized(_this)); + _this.elementNotValidatedHandler = _this.onElementNotValidated.bind(_assertThisInitialized(_this)); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_assertThisInitialized(_this)); + _this.iconSetHandler = _this.onIconSet.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + this.core.on("core.element.validating", this.elementValidatingHandler).on("core.element.validated", this.elementValidatedHandler).on("core.element.notvalidated", this.elementNotValidatedHandler).on("plugins.icon.placed", this.iconPlacedHandler).on("plugins.icon.set", this.iconSetHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.icons.clear(); + this.core.off("core.element.validating", this.elementValidatingHandler).off("core.element.validated", this.elementValidatedHandler).off("core.element.notvalidated", this.elementNotValidatedHandler).off("plugins.icon.placed", this.iconPlacedHandler).off("plugins.icon.set", this.iconSetHandler); + } + }, { + key: "onIconPlaced", + value: function onIconPlaced(e) { + var _this2 = this; + + var _i = this.core.getFields()[e.field].validators; + var s = this.core.getElements(e.field); + + if (_i && _i["notEmpty"] && _i["notEmpty"].enabled !== false && s.length) { + this.icons.set(e.element, e.iconElement); + + var _i7 = s[0].getAttribute("type"); + + var _n = !_i7 ? "" : _i7.toLowerCase(); + + var _l = "checkbox" === _n || "radio" === _n ? [s[0]] : s; + + var _iterator = _createForOfIteratorHelper(_l), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _i8 = _step.value; + + if (this.core.getElementValue(e.field, _i8) === "") { + t(e.iconElement, _defineProperty({}, this.opts.icon, true)); + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + + this.iconClasses = e.classes; + var n = this.opts.icon.split(" "); + var l = { + Invalid: this.iconClasses.invalid ? this.iconClasses.invalid.split(" ") : [], + Valid: this.iconClasses.valid ? this.iconClasses.valid.split(" ") : [], + Validating: this.iconClasses.validating ? this.iconClasses.validating.split(" ") : [] + }; + Object.keys(l).forEach(function (e) { + var t = []; + + var _iterator2 = _createForOfIteratorHelper(n), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var _i9 = _step2.value; + + if (l[e].indexOf(_i9) === -1) { + t.push(_i9); + } + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + + _this2.removedIcons[e] = t.join(" "); + }); + } + }, { + key: "onElementValidating", + value: function onElementValidating(e) { + this.updateIconClasses(e.element, "Validating"); + } + }, { + key: "onElementValidated", + value: function onElementValidated(e) { + this.updateIconClasses(e.element, e.valid ? "Valid" : "Invalid"); + } + }, { + key: "onElementNotValidated", + value: function onElementNotValidated(e) { + this.updateIconClasses(e.element, "NotValidated"); + } + }, { + key: "updateIconClasses", + value: function updateIconClasses(e, _i5) { + var s = this.icons.get(e); + + if (s && this.iconClasses && (this.iconClasses.valid || this.iconClasses.invalid || this.iconClasses.validating)) { + var _t2; + + t(s, (_t2 = {}, _defineProperty(_t2, this.removedIcons[_i5], false), _defineProperty(_t2, this.opts.icon, false), _t2)); + } + } + }, { + key: "onIconSet", + value: function onIconSet(e) { + var _i6 = this.icons.get(e.element); + + if (_i6 && e.status === "NotValidated" && this.core.getElementValue(e.field, e.element) === "") { + t(_i6, _defineProperty({}, this.opts.icon, true)); + } + } + }]); + + return i; + }(e); + + return i; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/MandatoryIcon.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/MandatoryIcon.min.js new file mode 100644 index 0000000..2db090b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/MandatoryIcon.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.MandatoryIcon=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;iarr.length)len=arr.length;for(var i=0,arr2=new Array(len);i=o.length)return{done:true};return{done:false,value:o[i++]}},e:function(e){throw e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function(){it=it.call(o)},n:function(){var step=it.next();normalCompletion=step.done;return step},e:function(e){didErr=true;err=e},f:function(){try{if(!normalCompletion&&it.return!=null)it.return()}finally{if(didErr)throw err}}}}var e=FormValidation.Plugin;var t=FormValidation.utils.classSet;var i=function(_e){_inherits(i,_e);var _super=_createSuper(i);function i(e){var _this;_classCallCheck(this,i);_this=_super.call(this,e);_this.removedIcons={Invalid:"",NotValidated:"",Valid:"",Validating:""};_this.icons=new Map;_this.elementValidatingHandler=_this.onElementValidating.bind(_assertThisInitialized(_this));_this.elementValidatedHandler=_this.onElementValidated.bind(_assertThisInitialized(_this));_this.elementNotValidatedHandler=_this.onElementNotValidated.bind(_assertThisInitialized(_this));_this.iconPlacedHandler=_this.onIconPlaced.bind(_assertThisInitialized(_this));_this.iconSetHandler=_this.onIconSet.bind(_assertThisInitialized(_this));return _this}_createClass(i,[{key:"install",value:function install(){this.core.on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("plugins.icon.placed",this.iconPlacedHandler).on("plugins.icon.set",this.iconSetHandler)}},{key:"uninstall",value:function uninstall(){this.icons.clear();this.core.off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("plugins.icon.placed",this.iconPlacedHandler).off("plugins.icon.set",this.iconSetHandler)}},{key:"onIconPlaced",value:function onIconPlaced(e){var _this2=this;var _i=this.core.getFields()[e.field].validators;var s=this.core.getElements(e.field);if(_i&&_i["notEmpty"]&&_i["notEmpty"].enabled!==false&&s.length){this.icons.set(e.element,e.iconElement);var _i7=s[0].getAttribute("type");var _n=!_i7?"":_i7.toLowerCase();var _l="checkbox"===_n||"radio"===_n?[s[0]]:s;var _iterator=_createForOfIteratorHelper(_l),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _i8=_step.value;if(this.core.getElementValue(e.field,_i8)===""){t(e.iconElement,_defineProperty({},this.opts.icon,true))}}}catch(err){_iterator.e(err)}finally{_iterator.f()}}this.iconClasses=e.classes;var n=this.opts.icon.split(" ");var l={Invalid:this.iconClasses.invalid?this.iconClasses.invalid.split(" "):[],Valid:this.iconClasses.valid?this.iconClasses.valid.split(" "):[],Validating:this.iconClasses.validating?this.iconClasses.validating.split(" "):[]};Object.keys(l).forEach((function(e){var t=[];var _iterator2=_createForOfIteratorHelper(n),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var _i9=_step2.value;if(l[e].indexOf(_i9)===-1){t.push(_i9)}}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}_this2.removedIcons[e]=t.join(" ")}))}},{key:"onElementValidating",value:function onElementValidating(e){this.updateIconClasses(e.element,"Validating")}},{key:"onElementValidated",value:function onElementValidated(e){this.updateIconClasses(e.element,e.valid?"Valid":"Invalid")}},{key:"onElementNotValidated",value:function onElementNotValidated(e){this.updateIconClasses(e.element,"NotValidated")}},{key:"updateIconClasses",value:function updateIconClasses(e,_i5){var s=this.icons.get(e);if(s&&this.iconClasses&&(this.iconClasses.valid||this.iconClasses.invalid||this.iconClasses.validating)){var _t2;t(s,(_t2={},_defineProperty(_t2,this.removedIcons[_i5],false),_defineProperty(_t2,this.opts.icon,false),_t2))}}},{key:"onIconSet",value:function onIconSet(e){var _i6=this.icons.get(e.element);if(_i6&&e.status==="NotValidated"&&this.core.getElementValue(e.field,e.element)===""){t(_i6,_defineProperty({},this.opts.icon,true))}}}]);return i}(e);return i})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Materialize.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Materialize.js new file mode 100644 index 0000000..84049b4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Materialize.js @@ -0,0 +1,161 @@ +/** + * FormValidation (https://formvalidation.io), v1.9.0 (cbf8fab) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Materialize = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var l = FormValidation.plugins.Framework; + + var t = /*#__PURE__*/function (_l) { + _inherits(t, _l); + + var _super = _createSuper(t); + + function t(e) { + _classCallCheck(this, t); + + return _super.call(this, Object.assign({}, { + eleInvalidClass: "validate invalid", + eleValidClass: "validate valid", + formClass: "fv-plugins-materialize", + messageClass: "helper-text", + rowInvalidClass: "fv-invalid-row", + rowPattern: /^(.*)col(\s+)s[0-9]+(.*)$/, + rowSelector: ".row", + rowValidClass: "fv-valid-row" + }, e)); + } + + _createClass(t, [{ + key: "onIconPlaced", + value: function onIconPlaced(l) { + var _t = l.element.getAttribute("type"); + + var a = l.element.parentElement; + + if ("checkbox" === _t || "radio" === _t) { + a.parentElement.insertBefore(l.iconElement, a.nextSibling); + e(l.iconElement, { + "fv-plugins-icon-check": true + }); + } + } + }]); + + return t; + }(l); + + return t; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Materialize.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Materialize.min.js new file mode 100644 index 0000000..fff4153 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Materialize.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Materialize=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Milligram = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.plugins.Framework; + + var o = /*#__PURE__*/function (_t) { + _inherits(o, _t); + + var _super = _createSuper(o); + + function o(e) { + _classCallCheck(this, o); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-milligram", + messageClass: "fv-help-block", + rowInvalidClass: "fv-invalid-row", + rowPattern: /^(.*)column(-offset)*-[0-9]+(.*)$/, + rowSelector: ".row", + rowValidClass: "fv-valid-row" + }, e)); + } + + _createClass(o, [{ + key: "onIconPlaced", + value: function onIconPlaced(t) { + var _o = t.element.getAttribute("type"); + + var l = t.element.parentElement; + + if ("checkbox" === _o || "radio" === _o) { + l.parentElement.insertBefore(t.iconElement, l.nextSibling); + e(t.iconElement, { + "fv-plugins-icon-check": true + }); + } + } + }]); + + return o; + }(t); + + return o; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Milligram.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Milligram.min.js new file mode 100644 index 0000000..53912d0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Milligram.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Milligram=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Mini = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.plugins.Framework; + + var o = /*#__PURE__*/function (_t) { + _inherits(o, _t); + + var _super = _createSuper(o); + + function o(e) { + _classCallCheck(this, o); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-mini", + messageClass: "fv-help-block", + rowInvalidClass: "fv-invalid-row", + rowPattern: /^(.*)col-(sm|md|lg|xl)(-offset)*-[0-9]+(.*)$/, + rowSelector: ".row", + rowValidClass: "fv-valid-row" + }, e)); + } + + _createClass(o, [{ + key: "onIconPlaced", + value: function onIconPlaced(t) { + var _o = t.element.getAttribute("type"); + + var l = t.element.parentElement; + + if ("checkbox" === _o || "radio" === _o) { + l.parentElement.insertBefore(t.iconElement, l.nextSibling); + e(t.iconElement, { + "fv-plugins-icon-check": true + }); + } + } + }]); + + return o; + }(t); + + return o; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Mini.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Mini.min.js new file mode 100644 index 0000000..cc934ca --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Mini.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Mini=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Mui = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.plugins.Framework; + + var o = /*#__PURE__*/function (_t) { + _inherits(o, _t); + + var _super = _createSuper(o); + + function o(e) { + _classCallCheck(this, o); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-mui", + messageClass: "fv-help-block", + rowInvalidClass: "fv-invalid-row", + rowPattern: /^(.*)mui-col-(xs|md|lg|xl)(-offset)*-[0-9]+(.*)$/, + rowSelector: ".mui-row", + rowValidClass: "fv-valid-row" + }, e)); + } + + _createClass(o, [{ + key: "onIconPlaced", + value: function onIconPlaced(t) { + var _o = t.element.getAttribute("type"); + + var l = t.element.parentElement; + + if ("checkbox" === _o || "radio" === _o) { + l.parentElement.insertBefore(t.iconElement, l.nextSibling); + e(t.iconElement, { + "fv-plugins-icon-check": true + }); + } + } + }]); + + return o; + }(t); + + return o; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Mui.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Mui.min.js new file mode 100644 index 0000000..6452a52 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Mui.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Mui=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.PasswordStrength = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var t = FormValidation.Plugin; + + var a = /*#__PURE__*/function (_t) { + _inherits(a, _t); + + var _super = _createSuper(a); + + function a(t) { + var _this; + + _classCallCheck(this, a); + + _this = _super.call(this, t); + _this.opts = Object.assign({}, { + minimalScore: 3, + onValidated: function onValidated() {} + }, t); + _this.validatePassword = _this.checkPasswordStrength.bind(_assertThisInitialized(_this)); + _this.validatorValidatedHandler = _this.onValidatorValidated.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(a, [{ + key: "install", + value: function install() { + this.core.registerValidator(a.PASSWORD_STRENGTH_VALIDATOR, this.validatePassword); + this.core.on("core.validator.validated", this.validatorValidatedHandler); + this.core.addField(this.opts.field, { + validators: _defineProperty({}, a.PASSWORD_STRENGTH_VALIDATOR, { + message: this.opts.message, + minimalScore: this.opts.minimalScore + }) + }); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.off("core.validator.validated", this.validatorValidatedHandler); + this.core.disableValidator(this.opts.field, a.PASSWORD_STRENGTH_VALIDATOR); + } + }, { + key: "checkPasswordStrength", + value: function checkPasswordStrength() { + var _this2 = this; + + return { + validate: function validate(t) { + var _a = t.value; + + if (_a === "") { + return { + valid: true + }; + } + + var e = zxcvbn(_a); + var s = e.score; + var i = e.feedback.warning || "The password is weak"; + + if (s < _this2.opts.minimalScore) { + return { + message: i, + meta: { + message: i, + score: s + }, + valid: false + }; + } else { + return { + meta: { + message: i, + score: s + }, + valid: true + }; + } + } + }; + } + }, { + key: "onValidatorValidated", + value: function onValidatorValidated(t) { + if (t.field === this.opts.field && t.validator === a.PASSWORD_STRENGTH_VALIDATOR && t.result.meta) { + var _a3 = t.result.meta["message"]; + var e = t.result.meta["score"]; + this.opts.onValidated(t.result.valid, _a3, e); + } + } + }]); + + return a; + }(t); + a.PASSWORD_STRENGTH_VALIDATOR = "___PasswordStrengthValidator"; + + return a; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/PasswordStrength.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/PasswordStrength.min.js new file mode 100644 index 0000000..8af7e5a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/PasswordStrength.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.PasswordStrength=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Pure = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var r = FormValidation.plugins.Framework; + + var t = /*#__PURE__*/function (_r) { + _inherits(t, _r); + + var _super = _createSuper(t); + + function t(e) { + _classCallCheck(this, t); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-pure", + messageClass: "fv-help-block", + rowInvalidClass: "fv-has-error", + rowPattern: /^.*pure-control-group.*$/, + rowSelector: ".pure-control-group", + rowValidClass: "fv-has-success" + }, e)); + } + + _createClass(t, [{ + key: "onIconPlaced", + value: function onIconPlaced(r) { + var _t = r.element.getAttribute("type"); + + if ("checkbox" === _t || "radio" === _t) { + var _t3 = r.element.parentElement; + e(r.iconElement, { + "fv-plugins-icon-check": true + }); + + if ("LABEL" === _t3.tagName) { + _t3.parentElement.insertBefore(r.iconElement, _t3.nextSibling); + } + } + } + }]); + + return t; + }(r); + + return t; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Pure.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Pure.min.js new file mode 100644 index 0000000..570003d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Pure.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Pure=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Recaptcha = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.Plugin; + + var t = FormValidation.utils.fetch; + + var i = /*#__PURE__*/function (_e) { + _inherits(i, _e); + + var _super = _createSuper(i); + + function i(e) { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, e); + _this.widgetIds = new Map(); + _this.captchaStatus = "NotValidated"; + _this.opts = Object.assign({}, i.DEFAULT_OPTIONS, e); + _this.fieldResetHandler = _this.onResetField.bind(_assertThisInitialized(_this)); + _this.preValidateFilter = _this.preValidate.bind(_assertThisInitialized(_this)); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + var _this2 = this; + + this.core.on("core.field.reset", this.fieldResetHandler).on("plugins.icon.placed", this.iconPlacedHandler).registerFilter("validate-pre", this.preValidateFilter); + var e = typeof window[i.LOADED_CALLBACK] === "undefined" ? function () {} : window[i.LOADED_CALLBACK]; + + window[i.LOADED_CALLBACK] = function () { + e(); + var s = { + badge: _this2.opts.badge, + callback: function callback() { + if (_this2.opts.backendVerificationUrl === "") { + _this2.captchaStatus = "Valid"; + + _this2.core.updateFieldStatus(i.CAPTCHA_FIELD, "Valid"); + } + }, + "error-callback": function errorCallback() { + _this2.captchaStatus = "Invalid"; + + _this2.core.updateFieldStatus(i.CAPTCHA_FIELD, "Invalid"); + }, + "expired-callback": function expiredCallback() { + _this2.captchaStatus = "NotValidated"; + + _this2.core.updateFieldStatus(i.CAPTCHA_FIELD, "NotValidated"); + }, + sitekey: _this2.opts.siteKey, + size: _this2.opts.size + }; + var a = window["grecaptcha"].render(_this2.opts.element, s); + + _this2.widgetIds.set(_this2.opts.element, a); + + _this2.core.addField(i.CAPTCHA_FIELD, { + validators: { + promise: { + message: _this2.opts.message, + promise: function promise(e) { + var s = _this2.widgetIds.has(_this2.opts.element) ? window["grecaptcha"].getResponse(_this2.widgetIds.get(_this2.opts.element)) : e.value; + + if (s === "") { + _this2.captchaStatus = "Invalid"; + return Promise.resolve({ + valid: false + }); + } else if (_this2.opts.backendVerificationUrl === "") { + _this2.captchaStatus = "Valid"; + return Promise.resolve({ + valid: true + }); + } else if (_this2.captchaStatus === "Valid") { + return Promise.resolve({ + valid: true + }); + } else { + return t(_this2.opts.backendVerificationUrl, { + method: "POST", + params: _defineProperty({}, i.CAPTCHA_FIELD, s) + }).then(function (e) { + var t = "".concat(e["success"]) === "true"; + _this2.captchaStatus = t ? "Valid" : "Invalid"; + return Promise.resolve({ + meta: e, + valid: t + }); + })["catch"](function (e) { + _this2.captchaStatus = "NotValidated"; + return Promise.reject({ + valid: false + }); + }); + } + } + } + } + }); + }; + + var s = this.getScript(); + + if (!document.body.querySelector("script[src=\"".concat(s, "\"]"))) { + var _e2 = document.createElement("script"); + + _e2.type = "text/javascript"; + _e2.async = true; + _e2.defer = true; + _e2.src = s; + document.body.appendChild(_e2); + } + } + }, { + key: "uninstall", + value: function uninstall() { + if (this.timer) { + clearTimeout(this.timer); + } + + this.core.off("core.field.reset", this.fieldResetHandler).off("plugins.icon.placed", this.iconPlacedHandler).deregisterFilter("validate-pre", this.preValidateFilter); + this.widgetIds.clear(); + var e = this.getScript(); + var t = [].slice.call(document.body.querySelectorAll("script[src=\"".concat(e, "\"]"))); + t.forEach(function (e) { + return e.parentNode.removeChild(e); + }); + this.core.removeField(i.CAPTCHA_FIELD); + } + }, { + key: "getScript", + value: function getScript() { + var e = this.opts.language ? "&hl=".concat(this.opts.language) : ""; + return "https://www.google.com/recaptcha/api.js?onload=".concat(i.LOADED_CALLBACK, "&render=explicit").concat(e); + } + }, { + key: "preValidate", + value: function preValidate() { + var _this3 = this; + + if (this.opts.size === "invisible" && this.widgetIds.has(this.opts.element)) { + var _e3 = this.widgetIds.get(this.opts.element); + + return this.captchaStatus === "Valid" ? Promise.resolve() : new Promise(function (t, _i) { + window["grecaptcha"].execute(_e3).then(function () { + if (_this3.timer) { + clearTimeout(_this3.timer); + } + + _this3.timer = window.setTimeout(t, 1 * 1e3); + }); + }); + } else { + return Promise.resolve(); + } + } + }, { + key: "onResetField", + value: function onResetField(e) { + if (e.field === i.CAPTCHA_FIELD && this.widgetIds.has(this.opts.element)) { + var _e4 = this.widgetIds.get(this.opts.element); + + window["grecaptcha"].reset(_e4); + } + } + }, { + key: "onIconPlaced", + value: function onIconPlaced(e) { + if (e.field === i.CAPTCHA_FIELD) { + if (this.opts.size === "invisible") { + e.iconElement.style.display = "none"; + } else { + var _t = document.getElementById(this.opts.element); + + if (_t) { + _t.parentNode.insertBefore(e.iconElement, _t.nextSibling); + } + } + } + } + }]); + + return i; + }(e); + i.CAPTCHA_FIELD = "g-recaptcha-response"; + i.DEFAULT_OPTIONS = { + backendVerificationUrl: "", + badge: "bottomright", + size: "normal", + theme: "light" + }; + i.LOADED_CALLBACK = "___reCaptchaLoaded___"; + + return i; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha.min.js new file mode 100644 index 0000000..664d277 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Recaptcha=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Recaptcha3 = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.Plugin; + + var t = FormValidation.utils.fetch; + + var s = /*#__PURE__*/function (_e) { + _inherits(s, _e); + + var _super = _createSuper(s); + + function s(e) { + var _this; + + _classCallCheck(this, s); + + _this = _super.call(this, e); + _this.opts = Object.assign({}, { + minimumScore: 0 + }, e); + _this.iconPlacedHandler = _this.onIconPlaced.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(s, [{ + key: "install", + value: function install() { + var _this2 = this; + + this.core.on("plugins.icon.placed", this.iconPlacedHandler); + var e = typeof window[s.LOADED_CALLBACK] === "undefined" ? function () {} : window[s.LOADED_CALLBACK]; + + window[s.LOADED_CALLBACK] = function () { + e(); + var i = document.createElement("input"); + i.setAttribute("type", "hidden"); + i.setAttribute("name", s.CAPTCHA_FIELD); + document.getElementById(_this2.opts.element).appendChild(i); + + _this2.core.addField(s.CAPTCHA_FIELD, { + validators: { + promise: { + message: _this2.opts.message, + promise: function promise(e) { + return new Promise(function (e, i) { + window["grecaptcha"].execute(_this2.opts.siteKey, { + action: _this2.opts.action + }).then(function (o) { + t(_this2.opts.backendVerificationUrl, { + method: "POST", + params: _defineProperty({}, s.CAPTCHA_FIELD, o) + }).then(function (t) { + var _s = "".concat(t.success) === "true" && t.score >= _this2.opts.minimumScore; + + e({ + message: t.message || _this2.opts.message, + meta: t, + valid: _s + }); + })["catch"](function (e) { + i({ + valid: false + }); + }); + }); + }); + } + } + } + }); + }; + + var i = this.getScript(); + + if (!document.body.querySelector("script[src=\"".concat(i, "\"]"))) { + var _e2 = document.createElement("script"); + + _e2.type = "text/javascript"; + _e2.async = true; + _e2.defer = true; + _e2.src = i; + document.body.appendChild(_e2); + } + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.off("plugins.icon.placed", this.iconPlacedHandler); + var e = this.getScript(); + var t = [].slice.call(document.body.querySelectorAll("script[src=\"".concat(e, "\"]"))); + t.forEach(function (e) { + return e.parentNode.removeChild(e); + }); + this.core.removeField(s.CAPTCHA_FIELD); + } + }, { + key: "getScript", + value: function getScript() { + var e = this.opts.language ? "&hl=".concat(this.opts.language) : ""; + return "https://www.google.com/recaptcha/api.js?" + "onload=".concat(s.LOADED_CALLBACK, "&render=").concat(this.opts.siteKey).concat(e); + } + }, { + key: "onIconPlaced", + value: function onIconPlaced(e) { + if (e.field === s.CAPTCHA_FIELD) { + e.iconElement.style.display = "none"; + } + } + }]); + + return s; + }(e); + s.CAPTCHA_FIELD = "___g-recaptcha-token___"; + s.LOADED_CALLBACK = "___reCaptcha3Loaded___"; + + return s; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha3.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha3.min.js new file mode 100644 index 0000000..1c21cdf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha3.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Recaptcha3=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i=_this2.opts.minimumScore;e({message:t.message||_this2.opts.message,meta:t,valid:_s})}))["catch"]((function(e){i({valid:false})}))}))}))}}}})};var i=this.getScript();if(!document.body.querySelector('script[src="'.concat(i,'"]'))){var _e2=document.createElement("script");_e2.type="text/javascript";_e2.async=true;_e2.defer=true;_e2.src=i;document.body.appendChild(_e2)}}},{key:"uninstall",value:function uninstall(){this.core.off("plugins.icon.placed",this.iconPlacedHandler);var e=this.getScript();var t=[].slice.call(document.body.querySelectorAll('script[src="'.concat(e,'"]')));t.forEach((function(e){return e.parentNode.removeChild(e)}));this.core.removeField(s.CAPTCHA_FIELD)}},{key:"getScript",value:function getScript(){var e=this.opts.language?"&hl=".concat(this.opts.language):"";return"https://www.google.com/recaptcha/api.js?"+"onload=".concat(s.LOADED_CALLBACK,"&render=").concat(this.opts.siteKey).concat(e)}},{key:"onIconPlaced",value:function onIconPlaced(e){if(e.field===s.CAPTCHA_FIELD){e.iconElement.style.display="none"}}}]);return s}(e);s.CAPTCHA_FIELD="___g-recaptcha-token___";s.LOADED_CALLBACK="___reCaptcha3Loaded___";return s})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha3Token.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha3Token.js new file mode 100644 index 0000000..0a94de8 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha3Token.js @@ -0,0 +1,209 @@ +/** + * FormValidation (https://formvalidation.io), v1.9.0 (cbf8fab) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Recaptcha3Token = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.Plugin; + + var t = /*#__PURE__*/function (_e) { + _inherits(t, _e); + + var _super = _createSuper(t); + + function t(e) { + var _this; + + _classCallCheck(this, t); + + _this = _super.call(this, e); + _this.opts = Object.assign({}, { + action: "submit", + hiddenTokenName: "___hidden-token___" + }, e); + _this.onValidHandler = _this.onFormValid.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(t, [{ + key: "install", + value: function install() { + this.core.on("core.form.valid", this.onValidHandler); + this.hiddenTokenEle = document.createElement("input"); + this.hiddenTokenEle.setAttribute("type", "hidden"); + this.core.getFormElement().appendChild(this.hiddenTokenEle); + var e = typeof window[t.LOADED_CALLBACK] === "undefined" ? function () {} : window[t.LOADED_CALLBACK]; + + window[t.LOADED_CALLBACK] = function () { + e(); + }; + + var o = this.getScript(); + + if (!document.body.querySelector("script[src=\"".concat(o, "\"]"))) { + var _e2 = document.createElement("script"); + + _e2.type = "text/javascript"; + _e2.async = true; + _e2.defer = true; + _e2.src = o; + document.body.appendChild(_e2); + } + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.off("core.form.valid", this.onValidHandler); + var e = this.getScript(); + + var _t = [].slice.call(document.body.querySelectorAll("script[src=\"".concat(e, "\"]"))); + + _t.forEach(function (e) { + return e.parentNode.removeChild(e); + }); + + this.core.getFormElement().removeChild(this.hiddenTokenEle); + } + }, { + key: "onFormValid", + value: function onFormValid() { + var _this2 = this; + + window["grecaptcha"].execute(this.opts.siteKey, { + action: this.opts.action + }).then(function (e) { + _this2.hiddenTokenEle.setAttribute("name", _this2.opts.hiddenTokenName); + + _this2.hiddenTokenEle.value = e; + + var _t2 = _this2.core.getFormElement(); + + if (_t2 instanceof HTMLFormElement) { + _t2.submit(); + } + }); + } + }, { + key: "getScript", + value: function getScript() { + var e = this.opts.language ? "&hl=".concat(this.opts.language) : ""; + return "https://www.google.com/recaptcha/api.js?" + "onload=".concat(t.LOADED_CALLBACK, "&render=").concat(this.opts.siteKey).concat(e); + } + }]); + + return t; + }(e); + t.LOADED_CALLBACK = "___reCaptcha3Loaded___"; + + return t; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha3Token.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha3Token.min.js new file mode 100644 index 0000000..694288f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Recaptcha3Token.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Recaptcha3Token=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Semantic = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.utils.hasClass; + + var n = FormValidation.plugins.Framework; + + var s = /*#__PURE__*/function (_n) { + _inherits(s, _n); + + var _super = _createSuper(s); + + function s(e) { + _classCallCheck(this, s); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-semantic", + messageClass: "ui pointing red label", + rowInvalidClass: "error", + rowPattern: /^.*(field|column).*$/, + rowSelector: ".fields", + rowValidClass: "fv-has-success" + }, e)); + } + + _createClass(s, [{ + key: "onIconPlaced", + value: function onIconPlaced(t) { + var n = t.element.getAttribute("type"); + + if ("checkbox" === n || "radio" === n) { + var _n2 = t.element.parentElement; + e(t.iconElement, { + "fv-plugins-icon-check": true + }); + + _n2.parentElement.insertBefore(t.iconElement, _n2.nextSibling); + } + } + }, { + key: "onMessagePlaced", + value: function onMessagePlaced(e) { + var n = e.element.getAttribute("type"); + var _s = e.elements.length; + + if (("checkbox" === n || "radio" === n) && _s > 1) { + var l = e.elements[_s - 1]; + var o = l.parentElement; + + if (t(o, n) && t(o, "ui")) { + o.parentElement.insertBefore(e.messageElement, o.nextSibling); + } + } + } + }]); + + return s; + }(n); + + return s; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Semantic.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Semantic.min.js new file mode 100644 index 0000000..3a1d165 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Semantic.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Semantic=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i1){var l=e.elements[_s-1];var o=l.parentElement;if(t(o,n)&&t(o,"ui")){o.parentElement.insertBefore(e.messageElement,o.nextSibling)}}}}]);return s}(n);return s})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Shoelace.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Shoelace.js new file mode 100644 index 0000000..5234a46 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Shoelace.js @@ -0,0 +1,161 @@ +/** + * FormValidation (https://formvalidation.io), v1.9.0 (cbf8fab) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Shoelace = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.plugins.Framework; + + var n = /*#__PURE__*/function (_t) { + _inherits(n, _t); + + var _super = _createSuper(n); + + function n(e) { + _classCallCheck(this, n); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-shoelace", + messageClass: "fv-help-block", + rowInvalidClass: "input-invalid", + rowPattern: /^(.*)(col|offset)-[0-9]+(.*)$/, + rowSelector: ".input-field", + rowValidClass: "input-valid" + }, e)); + } + + _createClass(n, [{ + key: "onIconPlaced", + value: function onIconPlaced(t) { + var _n = t.element.parentElement; + var l = t.element.getAttribute("type"); + + if ("checkbox" === l || "radio" === l) { + e(t.iconElement, { + "fv-plugins-icon-check": true + }); + + if ("LABEL" === _n.tagName) { + _n.parentElement.insertBefore(t.iconElement, _n.nextSibling); + } + } + } + }]); + + return n; + }(t); + + return n; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Shoelace.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Shoelace.min.js new file mode 100644 index 0000000..761f70a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Shoelace.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Shoelace=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Spectre = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var s = FormValidation.utils.hasClass; + + var t = FormValidation.plugins.Framework; + + var r = /*#__PURE__*/function (_t) { + _inherits(r, _t); + + var _super = _createSuper(r); + + function r(e) { + _classCallCheck(this, r); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-spectre", + messageClass: "form-input-hint", + rowInvalidClass: "has-error", + rowPattern: /^(.*)(col)(-(xs|sm|md|lg))*-[0-9]+(.*)$/, + rowSelector: ".form-group", + rowValidClass: "has-success" + }, e)); + } + + _createClass(r, [{ + key: "onIconPlaced", + value: function onIconPlaced(t) { + var _r = t.element.getAttribute("type"); + + var o = t.element.parentElement; + + if ("checkbox" === _r || "radio" === _r) { + e(t.iconElement, { + "fv-plugins-icon-check": true + }); + + if (s(o, "form-".concat(_r))) { + o.parentElement.insertBefore(t.iconElement, o.nextSibling); + } + } + } + }]); + + return r; + }(t); + + return r; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Spectre.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Spectre.min.js new file mode 100644 index 0000000..7334787 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Spectre.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Spectre=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.StartEndDate = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var t = FormValidation.Plugin; + + var e = /*#__PURE__*/function (_t) { + _inherits(e, _t); + + var _super = _createSuper(e); + + function e(t) { + var _this; + + _classCallCheck(this, e); + + _this = _super.call(this, t); + _this.fieldValidHandler = _this.onFieldValid.bind(_assertThisInitialized(_this)); + _this.fieldInvalidHandler = _this.onFieldInvalid.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(e, [{ + key: "install", + value: function install() { + var _this2 = this; + + var t = this.core.getFields(); + this.startDateFieldOptions = t[this.opts.startDate.field]; + this.endDateFieldOptions = t[this.opts.endDate.field]; + + var _e = this.core.getFormElement(); + + this.core.on("core.field.valid", this.fieldValidHandler).on("core.field.invalid", this.fieldInvalidHandler).addField(this.opts.startDate.field, { + validators: { + date: { + format: this.opts.format, + max: function max() { + var t = _e.querySelector("[name=\"".concat(_this2.opts.endDate.field, "\"]")); + + return t.value; + }, + message: this.opts.startDate.message + } + } + }).addField(this.opts.endDate.field, { + validators: { + date: { + format: this.opts.format, + message: this.opts.endDate.message, + min: function min() { + var t = _e.querySelector("[name=\"".concat(_this2.opts.startDate.field, "\"]")); + + return t.value; + } + } + } + }); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.removeField(this.opts.startDate.field); + + if (this.startDateFieldOptions) { + this.core.addField(this.opts.startDate.field, this.startDateFieldOptions); + } + + this.core.removeField(this.opts.endDate.field); + + if (this.endDateFieldOptions) { + this.core.addField(this.opts.endDate.field, this.endDateFieldOptions); + } + + this.core.off("core.field.valid", this.fieldValidHandler).off("core.field.invalid", this.fieldInvalidHandler); + } + }, { + key: "onFieldInvalid", + value: function onFieldInvalid(t) { + switch (t) { + case this.opts.startDate.field: + this.startDateValid = false; + break; + + case this.opts.endDate.field: + this.endDateValid = false; + break; + } + } + }, { + key: "onFieldValid", + value: function onFieldValid(t) { + switch (t) { + case this.opts.startDate.field: + this.startDateValid = true; + + if (this.endDateValid === false) { + this.core.revalidateField(this.opts.endDate.field); + } + + break; + + case this.opts.endDate.field: + this.endDateValid = true; + + if (this.startDateValid === false) { + this.core.revalidateField(this.opts.startDate.field); + } + + break; + } + } + }]); + + return e; + }(t); + + return e; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/StartEndDate.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/StartEndDate.min.js new file mode 100644 index 0000000..6762d8d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/StartEndDate.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.StartEndDate=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Tachyons = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.plugins.Framework; + + var n = /*#__PURE__*/function (_t) { + _inherits(n, _t); + + var _super = _createSuper(n); + + function n(e) { + _classCallCheck(this, n); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-tachyons", + messageClass: "small", + rowInvalidClass: "red", + rowPattern: /^(.*)fl(.*)$/, + rowSelector: ".fl", + rowValidClass: "green" + }, e)); + } + + _createClass(n, [{ + key: "onIconPlaced", + value: function onIconPlaced(t) { + var _n = t.element.getAttribute("type"); + + var s = t.element.parentElement; + + if ("checkbox" === _n || "radio" === _n) { + s.parentElement.insertBefore(t.iconElement, s.nextSibling); + e(t.iconElement, { + "fv-plugins-icon-check": true + }); + } + } + }]); + + return n; + }(t); + + return n; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Tachyons.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Tachyons.min.js new file mode 100644 index 0000000..763e500 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Tachyons.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Tachyons=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Transformer = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var t = FormValidation.Plugin; + + var e = /*#__PURE__*/function (_t) { + _inherits(e, _t); + + var _super = _createSuper(e); + + function e(t) { + var _this; + + _classCallCheck(this, e); + + _this = _super.call(this, t); + _this.valueFilter = _this.getElementValue.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(e, [{ + key: "install", + value: function install() { + this.core.registerFilter("field-value", this.valueFilter); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.deregisterFilter("field-value", this.valueFilter); + } + }, { + key: "getElementValue", + value: function getElementValue(t, _e, i, s) { + if (this.opts[_e] && this.opts[_e][s] && "function" === typeof this.opts[_e][s]) { + return this.opts[_e][s].apply(this, [_e, i, s]); + } + + return t; + } + }]); + + return e; + }(t); + + return e; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Transformer.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Transformer.min.js new file mode 100644 index 0000000..11a4b43 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Transformer.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Transformer=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Turret = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.plugins.Framework; + + var r = /*#__PURE__*/function (_t) { + _inherits(r, _t); + + var _super = _createSuper(r); + + function r(e) { + _classCallCheck(this, r); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-turret", + messageClass: "form-message", + rowInvalidClass: "fv-invalid-row", + rowPattern: /^field$/, + rowSelector: ".field", + rowValidClass: "fv-valid-row" + }, e)); + } + + _createClass(r, [{ + key: "onIconPlaced", + value: function onIconPlaced(t) { + var _r = t.element.getAttribute("type"); + + var o = t.element.parentElement; + + if ("checkbox" === _r || "radio" === _r) { + o.parentElement.insertBefore(t.iconElement, o.nextSibling); + e(t.iconElement, { + "fv-plugins-icon-check": true + }); + } + } + }]); + + return r; + }(t); + + return r; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Turret.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Turret.min.js new file mode 100644 index 0000000..05b08cf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Turret.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Turret=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.TypingAnimation = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.Plugin; + + var t = /*#__PURE__*/function (_e) { + _inherits(t, _e); + + var _super = _createSuper(t); + + function t(e) { + var _this; + + _classCallCheck(this, t); + + _this = _super.call(this, e); + _this.opts = Object.assign({}, { + autoPlay: true + }, e); + return _this; + } + + _createClass(t, [{ + key: "install", + value: function install() { + this.fields = Object.keys(this.core.getFields()); + + if (this.opts.autoPlay) { + this.play(); + } + } + }, { + key: "play", + value: function play() { + return this.animate(0); + } + }, { + key: "animate", + value: function animate(e) { + var _this2 = this; + + if (e >= this.fields.length) { + return Promise.resolve(e); + } + + var _t = this.fields[e]; + var s = this.core.getElements(_t)[0]; + var i = s.getAttribute("type"); + var r = this.opts.data[_t]; + + if ("checkbox" === i || "radio" === i) { + s.checked = true; + s.setAttribute("checked", "true"); + return this.core.revalidateField(_t).then(function (_t2) { + return _this2.animate(e + 1); + }); + } else if (!r) { + return this.animate(e + 1); + } else { + return new Promise(function (i) { + return new Typed(s, { + attr: "value", + autoInsertCss: true, + bindInputFocusEvents: true, + onComplete: function onComplete() { + i(e + 1); + }, + onStringTyped: function onStringTyped(e, i) { + s.value = r[e]; + + _this2.core.revalidateField(_t); + }, + strings: r, + typeSpeed: 100 + }); + }).then(function (e) { + return _this2.animate(e); + }); + } + } + }]); + + return t; + }(e); + + return t; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/TypingAnimation.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/TypingAnimation.min.js new file mode 100644 index 0000000..1f31a73 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/TypingAnimation.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.TypingAnimation=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i=this.fields.length){return Promise.resolve(e)}var _t=this.fields[e];var s=this.core.getElements(_t)[0];var i=s.getAttribute("type");var r=this.opts.data[_t];if("checkbox"===i||"radio"===i){s.checked=true;s.setAttribute("checked","true");return this.core.revalidateField(_t).then((function(_t2){return _this2.animate(e+1)}))}else if(!r){return this.animate(e+1)}else{return new Promise((function(i){return new Typed(s,{attr:"value",autoInsertCss:true,bindInputFocusEvents:true,onComplete:function onComplete(){i(e+1)},onStringTyped:function onStringTyped(e,i){s.value=r[e];_this2.core.revalidateField(_t)},strings:r,typeSpeed:100})})).then((function(e){return _this2.animate(e)}))}}}]);return t}(e);return t})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Uikit.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Uikit.js new file mode 100644 index 0000000..1783244 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Uikit.js @@ -0,0 +1,159 @@ +/** + * FormValidation (https://formvalidation.io), v1.9.0 (cbf8fab) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Uikit = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var e = FormValidation.utils.classSet; + + var t = FormValidation.plugins.Framework; + + var r = /*#__PURE__*/function (_t) { + _inherits(r, _t); + + var _super = _createSuper(r); + + function r(e) { + _classCallCheck(this, r); + + return _super.call(this, Object.assign({}, { + formClass: "fv-plugins-uikit", + messageClass: "uk-text-danger", + rowInvalidClass: "uk-form-danger", + rowPattern: /^.*(uk-form-controls|uk-width-[\d+]-[\d+]).*$/, + rowSelector: ".uk-margin", + rowValidClass: "uk-form-success" + }, e)); + } + + _createClass(r, [{ + key: "onIconPlaced", + value: function onIconPlaced(t) { + var _r = t.element.getAttribute("type"); + + if ("checkbox" === _r || "radio" === _r) { + var _r3 = t.element.parentElement; + e(t.iconElement, { + "fv-plugins-icon-check": true + }); + + _r3.parentElement.insertBefore(t.iconElement, _r3.nextSibling); + } + } + }]); + + return r; + }(t); + + return r; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Uikit.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Uikit.min.js new file mode 100644 index 0000000..86f8f98 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Uikit.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Uikit=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.plugins = global.FormValidation.plugins || {}, global.FormValidation.plugins.Wizard = factory())); +})(this, (function () { 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + var t = FormValidation.Plugin; + + var e = FormValidation.utils.classSet; + + var s = FormValidation.plugins.Excluded; + + var i = /*#__PURE__*/function (_t) { + _inherits(i, _t); + + var _super = _createSuper(i); + + function i(t) { + var _this; + + _classCallCheck(this, i); + + _this = _super.call(this, t); + _this.currentStep = 0; + _this.numSteps = 0; + _this.stepIndexes = []; + _this.opts = Object.assign({}, { + activeStepClass: "fv-plugins-wizard--active", + onStepActive: function onStepActive() {}, + onStepInvalid: function onStepInvalid() {}, + onStepValid: function onStepValid() {}, + onValid: function onValid() {}, + stepClass: "fv-plugins-wizard--step" + }, t); + _this.prevStepHandler = _this.onClickPrev.bind(_assertThisInitialized(_this)); + _this.nextStepHandler = _this.onClickNext.bind(_assertThisInitialized(_this)); + return _this; + } + + _createClass(i, [{ + key: "install", + value: function install() { + var _this2 = this; + + this.core.registerPlugin(i.EXCLUDED_PLUGIN, this.opts.isFieldExcluded ? new s({ + excluded: this.opts.isFieldExcluded + }) : new s()); + var t = this.core.getFormElement(); + this.steps = [].slice.call(t.querySelectorAll(this.opts.stepSelector)); + this.numSteps = this.steps.length; + this.steps.forEach(function (t) { + e(t, _defineProperty({}, _this2.opts.stepClass, true)); + }); + e(this.steps[0], _defineProperty({}, this.opts.activeStepClass, true)); + this.stepIndexes = Array(this.numSteps).fill(0).map(function (t, e) { + return e; + }); + this.prevButton = t.querySelector(this.opts.prevButton); + this.nextButton = t.querySelector(this.opts.nextButton); + this.prevButton.addEventListener("click", this.prevStepHandler); + this.nextButton.addEventListener("click", this.nextStepHandler); + } + }, { + key: "uninstall", + value: function uninstall() { + this.core.deregisterPlugin(i.EXCLUDED_PLUGIN); + this.prevButton.removeEventListener("click", this.prevStepHandler); + this.nextButton.removeEventListener("click", this.nextStepHandler); + this.stepIndexes.length = 0; + } + }, { + key: "getCurrentStep", + value: function getCurrentStep() { + return this.currentStep; + } + }, { + key: "goToPrevStep", + value: function goToPrevStep() { + var _this3 = this; + + var t = this.currentStep - 1; + + if (t < 0) { + return; + } + + var e = this.opts.isStepSkipped ? this.stepIndexes.slice(0, this.currentStep).reverse().find(function (t, e) { + return !_this3.opts.isStepSkipped({ + currentStep: _this3.currentStep, + numSteps: _this3.numSteps, + targetStep: t + }); + }) : t; + this.goToStep(e); + this.onStepActive(); + } + }, { + key: "goToNextStep", + value: function goToNextStep() { + var _this4 = this; + + this.core.validate().then(function (t) { + if (t === "Valid") { + var _t2 = _this4.currentStep + 1; + + if (_t2 >= _this4.numSteps) { + _this4.currentStep = _this4.numSteps - 1; + } else { + var _e3 = _this4.opts.isStepSkipped ? _this4.stepIndexes.slice(_t2, _this4.numSteps).find(function (t, e) { + return !_this4.opts.isStepSkipped({ + currentStep: _this4.currentStep, + numSteps: _this4.numSteps, + targetStep: t + }); + }) : _t2; + + _t2 = _e3; + + _this4.goToStep(_t2); + } + + _this4.onStepActive(); + + _this4.onStepValid(); + + if (_t2 === _this4.numSteps) { + _this4.onValid(); + } + } else if (t === "Invalid") { + _this4.onStepInvalid(); + } + }); + } + }, { + key: "goToStep", + value: function goToStep(t) { + e(this.steps[this.currentStep], _defineProperty({}, this.opts.activeStepClass, false)); + e(this.steps[t], _defineProperty({}, this.opts.activeStepClass, true)); + this.currentStep = t; + } + }, { + key: "onClickPrev", + value: function onClickPrev() { + this.goToPrevStep(); + } + }, { + key: "onClickNext", + value: function onClickNext() { + this.goToNextStep(); + } + }, { + key: "onStepActive", + value: function onStepActive() { + var t = { + numSteps: this.numSteps, + step: this.currentStep + }; + this.core.emit("plugins.wizard.step.active", t); + this.opts.onStepActive(t); + } + }, { + key: "onStepValid", + value: function onStepValid() { + var t = { + numSteps: this.numSteps, + step: this.currentStep + }; + this.core.emit("plugins.wizard.step.valid", t); + this.opts.onStepValid(t); + } + }, { + key: "onStepInvalid", + value: function onStepInvalid() { + var t = { + numSteps: this.numSteps, + step: this.currentStep + }; + this.core.emit("plugins.wizard.step.invalid", t); + this.opts.onStepInvalid(t); + } + }, { + key: "onValid", + value: function onValid() { + var t = { + numSteps: this.numSteps + }; + this.core.emit("plugins.wizard.valid", t); + this.opts.onValid(t); + } + }]); + + return i; + }(t); + i.EXCLUDED_PLUGIN = "___wizardExcluded"; + + return i; + +})); diff --git a/resources/assets/core/plugins/formvalidation/dist/js/plugins/Wizard.min.js b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Wizard.min.js new file mode 100644 index 0000000..f0b0eb0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/dist/js/plugins/Wizard.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.plugins=global.FormValidation.plugins||{},global.FormValidation.plugins.Wizard=factory())})(this,(function(){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i=_this4.numSteps){_this4.currentStep=_this4.numSteps-1}else{var _e3=_this4.opts.isStepSkipped?_this4.stepIndexes.slice(_t2,_this4.numSteps).find((function(t,e){return!_this4.opts.isStepSkipped({currentStep:_this4.currentStep,numSteps:_this4.numSteps,targetStep:t})})):_t2;_t2=_e3;_this4.goToStep(_t2)}_this4.onStepActive();_this4.onStepValid();if(_t2===_this4.numSteps){_this4.onValid()}}else if(t==="Invalid"){_this4.onStepInvalid()}}))}},{key:"goToStep",value:function goToStep(t){e(this.steps[this.currentStep],_defineProperty({},this.opts.activeStepClass,false));e(this.steps[t],_defineProperty({},this.opts.activeStepClass,true));this.currentStep=t}},{key:"onClickPrev",value:function onClickPrev(){this.goToPrevStep()}},{key:"onClickNext",value:function onClickNext(){this.goToNextStep()}},{key:"onStepActive",value:function onStepActive(){var t={numSteps:this.numSteps,step:this.currentStep};this.core.emit("plugins.wizard.step.active",t);this.opts.onStepActive(t)}},{key:"onStepValid",value:function onStepValid(){var t={numSteps:this.numSteps,step:this.currentStep};this.core.emit("plugins.wizard.step.valid",t);this.opts.onStepValid(t)}},{key:"onStepInvalid",value:function onStepInvalid(){var t={numSteps:this.numSteps,step:this.currentStep};this.core.emit("plugins.wizard.step.invalid",t);this.opts.onStepInvalid(t)}},{key:"onValid",value:function onValid(){var t={numSteps:this.numSteps};this.core.emit("plugins.wizard.valid",t);this.opts.onValid(t)}}]);return i}(t);i.EXCLUDED_PLUGIN="___wizardExcluded";return i})); \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/src/css/_core.scss b/resources/assets/core/plugins/formvalidation/src/css/_core.scss new file mode 100644 index 0000000..b362084 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/_core.scss @@ -0,0 +1,3 @@ +.fv-sr-only { + display: none; +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/index.css b/resources/assets/core/plugins/formvalidation/src/css/index.css new file mode 100644 index 0000000..b8f7c52 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/index.css @@ -0,0 +1,724 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ +.fv-sr-only { + display: none; +} + +.fv-plugins-framework input::-ms-clear, +.fv-plugins-framework textarea::-ms-clear { + display: none; + height: 0; + width: 0; +} + +.fv-plugins-icon-container { + position: relative; +} + +.fv-plugins-icon { + position: absolute; + right: 0; + text-align: center; + top: 0; +} + +.fv-plugins-tooltip { + max-width: 256px; + position: absolute; + text-align: center; + z-index: 10000; +} + +.fv-plugins-tooltip .fv-plugins-tooltip__content { + background: #000; + border-radius: 3px; + color: #eee; + padding: 8px; + position: relative; +} + +.fv-plugins-tooltip .fv-plugins-tooltip__content:before { + border: 8px solid transparent; + content: ''; + position: absolute; +} + +.fv-plugins-tooltip--hide { + display: none; +} + +.fv-plugins-tooltip--top-left { + -webkit-transform: translateY(-8px); + transform: translateY(-8px); +} + +.fv-plugins-tooltip--top-left .fv-plugins-tooltip__content:before { + border-top-color: #000; + left: 8px; + top: 100%; +} + +.fv-plugins-tooltip--top { + -webkit-transform: translateY(-8px); + transform: translateY(-8px); +} + +.fv-plugins-tooltip--top .fv-plugins-tooltip__content:before { + border-top-color: #000; + left: 50%; + margin-left: -8px; + top: 100%; +} + +.fv-plugins-tooltip--top-right { + -webkit-transform: translateY(-8px); + transform: translateY(-8px); +} + +.fv-plugins-tooltip--top-right .fv-plugins-tooltip__content:before { + border-top-color: #000; + right: 8px; + top: 100%; +} + +.fv-plugins-tooltip--right { + -webkit-transform: translateX(8px); + transform: translateX(8px); +} + +.fv-plugins-tooltip--right .fv-plugins-tooltip__content:before { + border-right-color: #000; + margin-top: -8px; + right: 100%; + top: 50%; +} + +.fv-plugins-tooltip--bottom-right { + -webkit-transform: translateY(8px); + transform: translateY(8px); +} + +.fv-plugins-tooltip--bottom-right .fv-plugins-tooltip__content:before { + border-bottom-color: #000; + bottom: 100%; + right: 8px; +} + +.fv-plugins-tooltip--bottom { + -webkit-transform: translateY(8px); + transform: translateY(8px); +} + +.fv-plugins-tooltip--bottom .fv-plugins-tooltip__content:before { + border-bottom-color: #000; + bottom: 100%; + left: 50%; + margin-left: -8px; +} + +.fv-plugins-tooltip--bottom-left { + -webkit-transform: translateY(8px); + transform: translateY(8px); +} + +.fv-plugins-tooltip--bottom-left .fv-plugins-tooltip__content:before { + border-bottom-color: #000; + bottom: 100%; + left: 8px; +} + +.fv-plugins-tooltip--left { + -webkit-transform: translateX(-8px); + transform: translateX(-8px); +} + +.fv-plugins-tooltip--left .fv-plugins-tooltip__content:before { + border-left-color: #000; + left: 100%; + margin-top: -8px; + top: 50%; +} + +.fv-plugins-tooltip-icon { + cursor: pointer; + pointer-events: inherit; +} + +.fv-plugins-bootstrap { + /* For horizontal form */ + /* Stacked form */ + /* Inline form */ + /* Remove the icons generated by Bootstrap 4.2+ */ +} + +.fv-plugins-bootstrap .fv-help-block { + color: #dc3545; + font-size: 80%; + margin-top: 0.25rem; +} + +.fv-plugins-bootstrap .is-invalid ~ .form-check-label, +.fv-plugins-bootstrap .is-valid ~ .form-check-label { + color: inherit; +} + +.fv-plugins-bootstrap .has-danger .fv-plugins-icon { + color: #dc3545; +} + +.fv-plugins-bootstrap .has-success .fv-plugins-icon { + color: #28a745; +} + +.fv-plugins-bootstrap .fv-plugins-icon { + height: 38px; + line-height: 38px; + width: 38px; +} + +.fv-plugins-bootstrap .input-group ~ .fv-plugins-icon { + z-index: 3; +} + +.fv-plugins-bootstrap .form-group.row .fv-plugins-icon { + right: 15px; +} + +.fv-plugins-bootstrap .form-group.row .fv-plugins-icon-check { + top: -7px; + /* labelHeight/2 - iconHeight/2 */ +} + +.fv-plugins-bootstrap:not(.form-inline) label ~ .fv-plugins-icon { + top: 32px; +} + +.fv-plugins-bootstrap:not(.form-inline) label ~ .fv-plugins-icon-check { + top: 25px; +} + +.fv-plugins-bootstrap:not(.form-inline) label.sr-only ~ .fv-plugins-icon-check { + top: -7px; +} + +.fv-plugins-bootstrap.form-inline .form-group { + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + margin-bottom: auto; +} + +.fv-plugins-bootstrap .form-control.is-valid, +.fv-plugins-bootstrap .form-control.is-invalid { + background-image: none; +} + +.fv-plugins-bootstrap3 .help-block { + margin-bottom: 0; +} + +.fv-plugins-bootstrap3 .input-group ~ .form-control-feedback { + z-index: 4; +} + +.fv-plugins-bootstrap3.form-inline .form-group { + vertical-align: top; +} + +.fv-plugins-bootstrap5 { + /* Support floating label */ + /* For horizontal form */ + /* Stacked form */ + /* Inline form */ + /* Remove the icons generated by Bootstrap 4.2+ */ +} + +.fv-plugins-bootstrap5 .fv-plugins-bootstrap5-row-invalid .fv-plugins-icon { + color: #dc3545; +} + +.fv-plugins-bootstrap5 .fv-plugins-bootstrap5-row-valid .fv-plugins-icon { + color: #198754; +} + +.fv-plugins-bootstrap5 .fv-plugins-icon { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + height: 38px; + width: 38px; +} + +.fv-plugins-bootstrap5 .input-group ~ .fv-plugins-icon { + z-index: 3; +} + +.fv-plugins-bootstrap5 .fv-plugins-icon-input-group { + right: -38px; +} + +.fv-plugins-bootstrap5 .form-floating .fv-plugins-icon { + height: 58px; +} + +.fv-plugins-bootstrap5 .row .fv-plugins-icon { + right: 12px; +} + +.fv-plugins-bootstrap5 .row .fv-plugins-icon-check { + top: -7px; + /* labelHeight/2 - iconHeight/2 */ +} + +.fv-plugins-bootstrap5:not(.fv-plugins-bootstrap5-form-inline) label ~ .fv-plugins-icon { + top: 32px; +} + +.fv-plugins-bootstrap5:not(.fv-plugins-bootstrap5-form-inline) label ~ .fv-plugins-icon-check { + top: 25px; +} + +.fv-plugins-bootstrap5:not(.fv-plugins-bootstrap5-form-inline) label.sr-only ~ .fv-plugins-icon-check { + top: -7px; +} + +.fv-plugins-bootstrap5.fv-plugins-bootstrap5-form-inline .fv-plugins-icon { + right: calc(var(--bs-gutter-x, 1.5rem) / 2); +} + +.fv-plugins-bootstrap5 .form-control.fv-plugins-icon-input.is-valid, +.fv-plugins-bootstrap5 .form-control.fv-plugins-icon-input.is-invalid { + background-image: none; +} + +.fv-plugins-bulma { + /* Support add ons inside field */ +} + +.fv-plugins-bulma .field.has-addons { + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.fv-plugins-bulma .field.has-addons::after { + content: ''; + width: 100%; +} + +.fv-plugins-bulma .field.has-addons .fv-plugins-message-container { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; +} + +.fv-plugins-bulma .icon.fv-plugins-icon-check { + top: -4px; +} + +.fv-plugins-bulma .fv-has-error .input, +.fv-plugins-bulma .fv-has-error .textarea { + border: 1px solid #ff3860; + /* Same as .input.is-danger */ +} + +.fv-plugins-bulma .fv-has-success .input, +.fv-plugins-bulma .fv-has-success .textarea { + border: 1px solid #23d160; + /* Same as .input.is-success */ +} + +.fv-plugins-foundation { + /* Stacked form */ +} + +.fv-plugins-foundation .fv-plugins-icon { + height: 39px; + line-height: 39px; + right: 0; + width: 39px; + /* Same as height of input */ +} + +.fv-plugins-foundation .grid-padding-x .fv-plugins-icon { + right: 15px; +} + +.fv-plugins-foundation .fv-plugins-icon-container .cell { + position: relative; +} + +.fv-plugins-foundation [type='checkbox'] ~ .fv-plugins-icon, +.fv-plugins-foundation [type='checkbox'] ~ .fv-plugins-icon { + top: -7px; + /* labelHeight/2 - iconHeight/2 */ +} + +.fv-plugins-foundation.fv-stacked-form .fv-plugins-message-container { + width: 100%; +} + +.fv-plugins-foundation.fv-stacked-form label .fv-plugins-icon, +.fv-plugins-foundation.fv-stacked-form fieldset [type='checkbox'] ~ .fv-plugins-icon, +.fv-plugins-foundation.fv-stacked-form fieldset [type='radio'] ~ .fv-plugins-icon { + top: 25px; + /* Same as height of label */ +} + +.fv-plugins-foundation .form-error { + display: block; +} + +.fv-plugins-foundation .fv-row__success .fv-plugins-icon { + color: #3adb76; + /* Same as .success */ +} + +.fv-plugins-foundation .fv-row__error label, +.fv-plugins-foundation .fv-row__error fieldset legend, +.fv-plugins-foundation .fv-row__error .fv-plugins-icon { + color: #cc4b37; + /* Same as .is-invalid-label and .form-error */ +} + +.fv-plugins-materialize .fv-plugins-icon { + height: 42px; + /* Same as height of input */ + line-height: 42px; + width: 42px; +} + +.fv-plugins-materialize .fv-plugins-icon-check { + top: -10px; +} + +.fv-plugins-materialize .fv-invalid-row .helper-text, +.fv-plugins-materialize .fv-invalid-row .fv-plugins-icon { + color: #f44336; +} + +.fv-plugins-materialize .fv-valid-row .helper-text, +.fv-plugins-materialize .fv-valid-row .fv-plugins-icon { + color: #4caf50; +} + +.fv-plugins-milligram .fv-plugins-icon { + height: 38px; + /* Same as height of input */ + line-height: 38px; + width: 38px; +} + +.fv-plugins-milligram .column { + position: relative; +} + +.fv-plugins-milligram .column .fv-plugins-icon { + right: 10px; +} + +.fv-plugins-milligram .fv-plugins-icon-check { + top: -6px; +} + +.fv-plugins-milligram .fv-plugins-message-container { + margin-bottom: 15px; +} + +.fv-plugins-milligram.fv-stacked-form .fv-plugins-icon { + top: 30px; +} + +.fv-plugins-milligram.fv-stacked-form .fv-plugins-icon-check { + top: 24px; +} + +.fv-plugins-milligram .fv-invalid-row .fv-help-block, +.fv-plugins-milligram .fv-invalid-row .fv-plugins-icon { + color: red; +} + +.fv-plugins-milligram .fv-valid-row .fv-help-block, +.fv-plugins-milligram .fv-valid-row .fv-plugins-icon { + color: green; +} + +.fv-plugins-mini .fv-plugins-icon { + height: 42px; + /* Same as height of input */ + line-height: 42px; + width: 42px; + top: 4px; + /* Same as input's margin top */ +} + +.fv-plugins-mini .fv-plugins-icon-check { + top: -8px; +} + +.fv-plugins-mini.fv-stacked-form .fv-plugins-icon { + top: 28px; +} + +.fv-plugins-mini.fv-stacked-form .fv-plugins-icon-check { + top: 20px; +} + +.fv-plugins-mini .fv-plugins-message-container { + margin: calc(var(--universal-margin) / 2); +} + +.fv-plugins-mini .fv-invalid-row .fv-help-block, +.fv-plugins-mini .fv-invalid-row .fv-plugins-icon { + color: var(--input-invalid-color); +} + +.fv-plugins-mini .fv-valid-row .fv-help-block, +.fv-plugins-mini .fv-valid-row .fv-plugins-icon { + color: #308732; + /* Same as tertiary color */ +} + +.fv-plugins-mui .fv-plugins-icon { + height: 32px; + /* Same as height of input */ + line-height: 32px; + width: 32px; + top: 15px; + right: 4px; +} + +.fv-plugins-mui .fv-plugins-icon-check { + top: -6px; + right: -10px; +} + +.fv-plugins-mui .fv-plugins-message-container { + margin: 8px 0; +} + +.fv-plugins-mui .fv-invalid-row .fv-help-block, +.fv-plugins-mui .fv-invalid-row .fv-plugins-icon { + color: #f44336; +} + +.fv-plugins-mui .fv-valid-row .fv-help-block, +.fv-plugins-mui .fv-valid-row .fv-plugins-icon { + color: #4caf50; +} + +.fv-plugins-pure { + /* Horizontal form */ + /* Stacked form */ +} + +.fv-plugins-pure .fv-plugins-icon { + height: 36px; + line-height: 36px; + width: 36px; + /* Height of Pure input */ +} + +.fv-plugins-pure .fv-has-error label, +.fv-plugins-pure .fv-has-error .fv-help-block, +.fv-plugins-pure .fv-has-error .fv-plugins-icon { + color: #ca3c3c; + /* Same as .button-error */ +} + +.fv-plugins-pure .fv-has-success label, +.fv-plugins-pure .fv-has-success .fv-help-block, +.fv-plugins-pure .fv-has-success .fv-plugins-icon { + color: #1cb841; + /* Same as .button-success */ +} + +.fv-plugins-pure.pure-form-aligned .fv-help-block { + margin-top: 5px; + margin-left: 180px; +} + +.fv-plugins-pure.pure-form-aligned .fv-plugins-icon-check { + top: -9px; + /* labelHeight/2 - iconHeight/2 */ +} + +.fv-plugins-pure.pure-form-stacked .pure-control-group { + margin-bottom: 8px; +} + +.fv-plugins-pure.pure-form-stacked .fv-plugins-icon { + top: 22px; + /* Same as height of label */ +} + +.fv-plugins-pure.pure-form-stacked .fv-plugins-icon-check { + top: 13px; +} + +.fv-plugins-pure.pure-form-stacked .fv-sr-only ~ .fv-plugins-icon { + top: -9px; +} + +.fv-plugins-semantic.ui.form .fields.error label, +.fv-plugins-semantic .error .fv-plugins-icon { + color: #9f3a38; + /* Same as .ui.form .field.error .input */ +} + +.fv-plugins-semantic .fv-plugins-icon-check { + right: 7px; +} + +.fv-plugins-shoelace .input-group { + margin-bottom: 0; +} + +.fv-plugins-shoelace .fv-plugins-icon { + height: 32px; + line-height: 32px; + /* Same as height of input */ + width: 32px; + top: 28px; + /* Same as height of label */ +} + +.fv-plugins-shoelace .row .fv-plugins-icon { + right: 16px; + top: 0; +} + +.fv-plugins-shoelace .fv-plugins-icon-check { + top: 24px; +} + +.fv-plugins-shoelace .fv-sr-only ~ .fv-plugins-icon, +.fv-plugins-shoelace .fv-sr-only ~ div .fv-plugins-icon { + top: -4px; +} + +.fv-plugins-shoelace .input-valid .fv-help-block, +.fv-plugins-shoelace .input-valid .fv-plugins-icon { + color: #2ecc40; +} + +.fv-plugins-shoelace .input-invalid .fv-help-block, +.fv-plugins-shoelace .input-invalid .fv-plugins-icon { + color: #ff4136; +} + +.fv-plugins-spectre .input-group .fv-plugins-icon { + z-index: 2; +} + +.fv-plugins-spectre .form-group .fv-plugins-icon-check { + right: 6px; + top: 10px; +} + +.fv-plugins-spectre:not(.form-horizontal) .form-group .fv-plugins-icon-check { + right: 6px; + top: 45px; +} + +.fv-plugins-tachyons .fv-plugins-icon { + height: 36px; + line-height: 36px; + width: 36px; +} + +.fv-plugins-tachyons .fv-plugins-icon-check { + top: -7px; +} + +.fv-plugins-tachyons.fv-stacked-form .fv-plugins-icon { + top: 34px; +} + +.fv-plugins-tachyons.fv-stacked-form .fv-plugins-icon-check { + top: 24px; +} + +.fv-plugins-turret .fv-plugins-icon { + height: 40px; + /* Same as height of input */ + line-height: 40px; + width: 40px; +} + +.fv-plugins-turret.fv-stacked-form .fv-plugins-icon { + top: 29px; +} + +.fv-plugins-turret.fv-stacked-form .fv-plugins-icon-check { + top: 17px; +} + +.fv-plugins-turret .fv-invalid-row .form-message, +.fv-plugins-turret .fv-invalid-row .fv-plugins-icon { + color: #c00; + /* Same as .form-message.error */ +} + +.fv-plugins-turret .fv-valid-row .form-message, +.fv-plugins-turret .fv-valid-row .fv-plugins-icon { + color: #00b300; + /* Same as .form-message.success */ +} + +.fv-plugins-uikit { + /* Horizontal form */ + /* Stacked form */ +} + +.fv-plugins-uikit .fv-plugins-icon { + height: 40px; + /* Height of UIKit input */ + line-height: 40px; + top: 25px; + /* Height of UIKit label */ + width: 40px; +} + +.fv-plugins-uikit.uk-form-horizontal .fv-plugins-icon { + top: 0; +} + +.fv-plugins-uikit.uk-form-horizontal .fv-plugins-icon-check { + top: -11px; + /* checkboxLabelHeight/2 - iconHeight/2 = 18/2 - 40/2 */ +} + +.fv-plugins-uikit.uk-form-stacked .fv-plugins-icon-check { + top: 15px; + /* labelHeight + labelMarginBottom + checkboxLabelHeight/2 - iconHeight/2 = 21 + 5 + 18/2 - 40/2 */ +} + +.fv-plugins-uikit.uk-form-stacked .fv-no-label .fv-plugins-icon { + top: 0; +} + +.fv-plugins-uikit.uk-form-stacked .fv-no-label .fv-plugins-icon-check { + top: -11px; +} + +.fv-plugins-wizard--step { + display: none; +} + +.fv-plugins-wizard--active { + display: block; +} +/*# sourceMappingURL=index.css.map */ \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/src/css/index.css.map b/resources/assets/core/plugins/formvalidation/src/css/index.css.map new file mode 100644 index 0000000..3835696 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/index.css.map @@ -0,0 +1,30 @@ +{ + "version": 3, + "mappings": "AAAA;;;;GAIG;ACJH,AAAA,WAAW,CAAC;EACR,OAAO,EAAE,IAAI;CAChB;;ACFD,AAEI,qBAFiB,CAEjB,KAAK,AAAA,WAAW;AAFpB,qBAAqB,CAGjB,QAAQ,AAAA,WAAW,CAAC;EAChB,OAAO,EAAE,IAAI;EACb,MAAM,EAAE,CAAC;EACT,KAAK,EAAE,CAAC;CACX;;ACPL,AAAA,0BAA0B,CAAC;EACvB,QAAQ,EAAE,QAAQ;CACrB;;AAED,AAAA,gBAAgB,CAAC;EACb,QAAQ,EAAE,QAAQ;EAClB,KAAK,EAAE,CAAC;EACR,UAAU,EAAE,MAAM;EAClB,GAAG,EAAE,CAAC;CACT;;ACLD,AAAA,mBAAmB,CAAC;EAChB,SAAS,EAAE,KAAK;EAChB,QAAQ,EAAE,QAAQ;EAClB,UAAU,EAAE,MAAM;EAClB,OAAO,EAAE,KAAK;CAejB;;AAnBD,AAMI,mBANe,CAMf,4BAA4B,CAAC;EACzB,UAAU,EAXY,IAAI;EAY1B,aAAa,EAAE,GAAG;EAClB,KAAK,EAAE,IAAI;EACX,OAAO,EAZsB,GAAG;EAahC,QAAQ,EAAE,QAAQ;CAOrB;;AAlBL,AAaQ,mBAbW,CAMf,4BAA4B,AAOvB,OAAO,CAAC;EACL,MAAM,EAjBgB,GAAG,CAiBgB,KAAK,CAAC,WAAW;EAC1D,OAAO,EAAE,EAAE;EACX,QAAQ,EAAE,QAAQ;CACrB;;AAIT,AAAA,yBAAyB,CAAC;EACtB,OAAO,EAAE,IAAI;CAChB;;AAED,AAAA,6BAA6B,CAAC;EAC1B,SAAS,EAAE,gBAAgB;CAO9B;;AARD,AAGI,6BAHyB,CAGzB,4BAA4B,AAAA,OAAO,CAAC;EAChC,gBAAgB,EAjCM,IAAI;EAkC1B,IAAI,EAjCsB,GAAG;EAkC7B,GAAG,EAAE,IAAI;CACZ;;AAGL,AAAA,wBAAwB,CAAC;EACrB,SAAS,EAAE,gBAAgB;CAQ9B;;AATD,AAGI,wBAHoB,CAGpB,4BAA4B,AAAA,OAAO,CAAC;EAChC,gBAAgB,EA3CM,IAAI;EA4C1B,IAAI,EAAE,GAAG;EACT,WAAW,EA5Ce,IAAG;EA6C7B,GAAG,EAAE,IAAI;CACZ;;AAGL,AAAA,8BAA8B,CAAC;EAC3B,SAAS,EAAE,gBAAgB;CAO9B;;AARD,AAGI,8BAH0B,CAG1B,4BAA4B,AAAA,OAAO,CAAC;EAChC,gBAAgB,EAtDM,IAAI;EAuD1B,KAAK,EAtDqB,GAAG;EAuD7B,GAAG,EAAE,IAAI;CACZ;;AAGL,AAAA,0BAA0B,CAAC;EACvB,SAAS,EAAE,eAAe;CAQ7B;;AATD,AAGI,0BAHsB,CAGtB,4BAA4B,AAAA,OAAO,CAAC;EAChC,kBAAkB,EAhEI,IAAI;EAiE1B,UAAU,EAhEgB,IAAG;EAiE7B,KAAK,EAAE,IAAI;EACX,GAAG,EAAE,GAAG;CACX;;AAGL,AAAA,iCAAiC,CAAC;EAC9B,SAAS,EAAE,eAAe;CAO7B;;AARD,AAGI,iCAH6B,CAG7B,4BAA4B,AAAA,OAAO,CAAC;EAChC,mBAAmB,EA3EG,IAAI;EA4E1B,MAAM,EAAE,IAAI;EACZ,KAAK,EA5EqB,GAAG;CA6EhC;;AAGL,AAAA,2BAA2B,CAAC;EACxB,SAAS,EAAE,eAAe;CAQ7B;;AATD,AAGI,2BAHuB,CAGvB,4BAA4B,AAAA,OAAO,CAAC;EAChC,mBAAmB,EArFG,IAAI;EAsF1B,MAAM,EAAE,IAAI;EACZ,IAAI,EAAE,GAAG;EACT,WAAW,EAvFe,IAAG;CAwFhC;;AAGL,AAAA,gCAAgC,CAAC;EAC7B,SAAS,EAAE,eAAe;CAO7B;;AARD,AAGI,gCAH4B,CAG5B,4BAA4B,AAAA,OAAO,CAAC;EAChC,mBAAmB,EAhGG,IAAI;EAiG1B,MAAM,EAAE,IAAI;EACZ,IAAI,EAjGsB,GAAG;CAkGhC;;AAGL,AAAA,yBAAyB,CAAC;EACtB,SAAS,EAAE,gBAAgB;CAQ9B;;AATD,AAGI,yBAHqB,CAGrB,4BAA4B,AAAA,OAAO,CAAC;EAChC,iBAAiB,EA1GK,IAAI;EA2G1B,IAAI,EAAE,IAAI;EACV,UAAU,EA3GgB,IAAG;EA4G7B,GAAG,EAAE,GAAG;CACX;;AAKL,AAAA,wBAAwB,CAAC;EACrB,MAAM,EAAE,OAAO;EACf,cAAc,EAAE,OAAO;CAC1B;;ACnHD,AAAA,qBAAqB,CAAC;EAkClB,yBAAyB;EAWzB,kBAAkB;EAgBlB,iBAAiB;EAOjB,kDAAkD;CAKrD;;AAzED,AAEI,qBAFiB,CAEjB,cAAc,CAAC;EACX,KAAK,EAAE,OAAO;EACd,SAAS,EAAE,GAAG;EACd,UAAU,EAAE,OAAO;CACtB;;AANL,AAUI,qBAViB,CAUjB,WAAW,GAAG,iBAAiB;AAVnC,qBAAqB,CAWjB,SAAS,GAAG,iBAAiB,CAAC;EAC1B,KAAK,EAAE,OAAO;CACjB;;AAbL,AAeI,qBAfiB,CAejB,WAAW,CAAC,gBAAgB,CAAC;EACzB,KAAK,EAAE,OAAO;CACjB;;AAjBL,AAmBI,qBAnBiB,CAmBjB,YAAY,CAAC,gBAAgB,CAAC;EAC1B,KAAK,EAAE,OAAO;CACjB;;AArBL,AAuBI,qBAvBiB,CAuBjB,gBAAgB,CAAC;EACb,MAAM,EA3BsB,IAAI;EA4BhC,WAAW,EA5BiB,IAAI;EA6BhC,KAAK,EA7BuB,IAAI;CA8BnC;;AA3BL,AA6BI,qBA7BiB,CA6BjB,YAAY,GAAG,gBAAgB,CAAC;EAE5B,OAAO,EAAE,CAAC;CACb;;AAhCL,AAoCQ,qBApCa,CAmCjB,WAAW,AAAA,IAAI,CACX,gBAAgB,CAAC;EACb,KAAK,EAAE,IAAI;CACd;;AAtCT,AAwCQ,qBAxCa,CAmCjB,WAAW,AAAA,IAAI,CAKX,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;EAAE,kCAAkC;CAChD;;AA1CT,AA+CQ,qBA/Ca,AA8ChB,IAAK,CAAA,YAAY,EACd,KAAK,GAAG,gBAAgB,CAAC;EACrB,GAAG,EAAE,IAAI;CACZ;;AAjDT,AAmDQ,qBAnDa,AA8ChB,IAAK,CAAA,YAAY,EAKd,KAAK,GAAG,sBAAsB,CAAC;EAC3B,GAAG,EAAE,IAAI;CACZ;;AArDT,AAwDQ,qBAxDa,AA8ChB,IAAK,CAAA,YAAY,EAUd,KAAK,AAAA,QAAQ,GAAG,sBAAsB,CAAC;EACnC,GAAG,EAAE,IAAI;CACZ;;AA1DT,AA8DI,qBA9DiB,AA8DhB,YAAY,CAAC,WAAW,CAAC;EACtB,WAAW,EAAE,UAAU;EACvB,cAAc,EAAE,MAAM;EACtB,aAAa,EAAE,IAAI;CACtB;;AAlEL,AAqEI,qBArEiB,CAqEjB,aAAa,AAAA,SAAS;AArE1B,qBAAqB,CAsEjB,aAAa,AAAA,WAAW,CAAC;EACrB,gBAAgB,EAAE,IAAI;CACzB;;AC3EL,AACI,sBADkB,CAClB,WAAW,CAAC;EACR,aAAa,EAAE,CAAC;CACnB;;AAHL,AAKI,sBALkB,CAKlB,YAAY,GAAG,sBAAsB,CAAC;EAElC,OAAO,EAAE,CAAC;CACb;;AARL,AAWI,sBAXkB,AAWjB,YAAY,CAAC,WAAW,CAAC;EACtB,cAAc,EAAE,GAAG;CACtB;;ACTL,AAAA,sBAAsB,CAAC;EA8BnB,4BAA4B;EAK5B,yBAAyB;EAWzB,kBAAkB;EAgBlB,iBAAiB;EAOjB,kDAAkD;CAKrD;;AA1ED,AACI,sBADkB,CAClB,kCAAkC,CAAC,gBAAgB,CAAC;EAChD,KAAK,EAAE,OAAO;CACjB;;AAHL,AAMI,sBANkB,CAMlB,gCAAgC,CAAC,gBAAgB,CAAC;EAC9C,KAAK,EAAE,OAAO;CACjB;;AARL,AAUI,sBAVkB,CAUlB,gBAAgB,CAAC;EAEb,WAAW,EAAE,MAAM;EACnB,OAAO,EAAE,IAAI;EACb,eAAe,EAAE,MAAM;EAGvB,MAAM,EArBuB,IAAI;EAsBjC,KAAK,EAtBwB,IAAI;CAuBpC;;AAnBL,AAqBI,sBArBkB,CAqBlB,YAAY,GAAG,gBAAgB,CAAC;EAE5B,OAAO,EAAE,CAAC;CACb;;AAxBL,AA0BI,sBA1BkB,CA0BlB,4BAA4B,CAAC;EACzB,KAAK,EAAE,KAAwC;CAClD;;AA5BL,AA+BI,sBA/BkB,CA+BlB,cAAc,CAAC,gBAAgB,CAAC;EAC5B,MAAM,EAnC+B,IAAI;CAoC5C;;AAjCL,AAqCQ,sBArCc,CAoClB,IAAI,CACA,gBAAgB,CAAC;EACb,KAAK,EAAE,IAAI;CACd;;AAvCT,AAyCQ,sBAzCc,CAoClB,IAAI,CAKA,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;EAAE,kCAAkC;CAChD;;AA3CT,AAgDQ,sBAhDc,AA+CjB,IAAK,CAAA,kCAAkC,EACpC,KAAK,GAAG,gBAAgB,CAAC;EACrB,GAAG,EAAE,IAAI;CACZ;;AAlDT,AAoDQ,sBApDc,AA+CjB,IAAK,CAAA,kCAAkC,EAKpC,KAAK,GAAG,sBAAsB,CAAC;EAC3B,GAAG,EAAE,IAAI;CACZ;;AAtDT,AAyDQ,sBAzDc,AA+CjB,IAAK,CAAA,kCAAkC,EAUpC,KAAK,AAAA,QAAQ,GAAG,sBAAsB,CAAC;EACnC,GAAG,EAAE,IAAI;CACZ;;AA3DT,AAgEQ,sBAhEc,AA+DjB,kCAAkC,CAC/B,gBAAgB,CAAC;EACb,KAAK,EAAE,oCAAoC;CAC9C;;AAlET,AAsEI,sBAtEkB,CAsElB,aAAa,AAAA,sBAAsB,AAAA,SAAS;AAtEhD,sBAAsB,CAuElB,aAAa,AAAA,sBAAsB,AAAA,WAAW,CAAC;EAC3C,gBAAgB,EAAE,IAAI;CACzB;;AC7EL,AAAA,iBAAiB,CAAC;EACd,kCAAkC;CA+BrC;;AAhCD,AAEI,iBAFa,CAEb,MAAM,AAAA,WAAW,CAAC;EACd,SAAS,EAAE,IAAI;CAUlB;;AAbL,AAKQ,iBALS,CAEb,MAAM,AAAA,WAAW,AAGZ,OAAO,CAAC;EACL,OAAO,EAAE,EAAE;EACX,KAAK,EAAE,IAAI;CACd;;AART,AAUQ,iBAVS,CAEb,MAAM,AAAA,WAAW,CAQb,6BAA6B,CAAC;EAC1B,KAAK,EAAE,CAAC;CACX;;AAZT,AAeI,iBAfa,CAeb,KAAK,AAAA,sBAAsB,CAAC;EACxB,GAAG,EAAE,IAAI;CACZ;;AAjBL,AAoBQ,iBApBS,CAmBb,aAAa,CACT,MAAM;AApBd,iBAAiB,CAmBb,aAAa,CAET,SAAS,CAAC;EACN,MAAM,EAAE,iBAAiB;EAAE,8BAA8B;CAC5D;;AAvBT,AA2BQ,iBA3BS,CA0Bb,eAAe,CACX,MAAM;AA3Bd,iBAAiB,CA0Bb,eAAe,CAEX,SAAS,CAAC;EACN,MAAM,EAAE,iBAAiB;EAAE,+BAA+B;CAC7D;;AC9BT,AAAA,sBAAsB,CAAC;EAuBnB,kBAAkB;CA+BrB;;AAtDD,AACI,sBADkB,CAClB,gBAAgB,CAAC;EACb,MAAM,EAAE,IAAI;EACZ,WAAW,EAAE,IAAI;EACjB,KAAK,EAAE,CAAC;EACR,KAAK,EAAE,IAAI;EAAE,6BAA6B;CAC7C;;AANL,AASI,sBATkB,CASlB,eAAe,CAAC,gBAAgB,CAAC;EAC7B,KAAK,EAAE,IAAI;CACd;;AAXL,AAcI,sBAdkB,CAclB,0BAA0B,CAAC,KAAK,CAAC;EAC7B,QAAQ,EAAE,QAAQ;CACrB;;AAhBL,AAkBI,sBAlBkB,EAkBlB,AAAA,IAAC,CAAK,UAAU,AAAf,IAAmB,gBAAgB;AAlBxC,sBAAsB,EAmBlB,AAAA,IAAC,CAAK,UAAU,AAAf,IAAmB,gBAAgB,CAAC;EACjC,GAAG,EAAE,IAAI;EAAE,kCAAkC;CAChD;;AArBL,AA0BQ,sBA1Bc,AAwBjB,gBAAgB,CAEb,6BAA6B,CAAC;EAC1B,KAAK,EAAE,IAAI;CACd;;AA5BT,AA8BQ,sBA9Bc,AAwBjB,gBAAgB,CAMb,KAAK,CAAC,gBAAgB;AA9B9B,sBAAsB,AAwBjB,gBAAgB,CAOb,QAAQ,EAAC,AAAA,IAAC,CAAK,UAAU,AAAf,IAAmB,gBAAgB;AA/BrD,sBAAsB,AAwBjB,gBAAgB,CAQb,QAAQ,EAAC,AAAA,IAAC,CAAK,OAAO,AAAZ,IAAgB,gBAAgB,CAAC;EACvC,GAAG,EAAE,IAAI;EAAE,6BAA6B;CAC3C;;AAlCT,AAqCI,sBArCkB,CAqClB,WAAW,CAAC;EACR,OAAO,EAAE,KAAK;CACjB;;AAvCL,AA0CQ,sBA1Cc,CAyClB,gBAAgB,CACZ,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;EAAE,sBAAsB;CACzC;;AA5CT,AAgDQ,sBAhDc,CA+ClB,cAAc,CACV,KAAK;AAhDb,sBAAsB,CA+ClB,cAAc,CAEV,QAAQ,CAAC,MAAM;AAjDvB,sBAAsB,CA+ClB,cAAc,CAGV,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;EAAE,+CAA+C;CAClE;;ACpDT,AACI,uBADmB,CACnB,gBAAgB,CAAC;EACb,MAAM,EAAE,IAAI;EAAE,6BAA6B;EAC3C,WAAW,EAAE,IAAI;EACjB,KAAK,EAAE,IAAI;CACd;;AALL,AAOI,uBAPmB,CAOnB,sBAAsB,CAAC;EACnB,GAAG,EAAE,KAAK;CACb;;AATL,AAYQ,uBAZe,CAWnB,eAAe,CACX,YAAY;AAZpB,uBAAuB,CAWnB,eAAe,CAEX,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;CACjB;;AAfT,AAmBQ,uBAnBe,CAkBnB,aAAa,CACT,YAAY;AAnBpB,uBAAuB,CAkBnB,aAAa,CAET,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;CACjB;;ACtBT,AACI,qBADiB,CACjB,gBAAgB,CAAC;EACb,MAAM,EAAE,IAAI;EAAE,6BAA6B;EAC3C,WAAW,EAAE,IAAI;EACjB,KAAK,EAAE,IAAI;CACd;;AALL,AAOI,qBAPiB,CAOjB,OAAO,CAAC;EACJ,QAAQ,EAAE,QAAQ;CAKrB;;AAbL,AAUQ,qBAVa,CAOjB,OAAO,CAGH,gBAAgB,CAAC;EACb,KAAK,EAAE,IAAI;CACd;;AAZT,AAeI,qBAfiB,CAejB,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;CACZ;;AAjBL,AAmBI,qBAnBiB,CAmBjB,6BAA6B,CAAC;EAC1B,aAAa,EAAE,IAAI;CACtB;;AArBL,AAyBQ,qBAzBa,AAwBhB,gBAAgB,CACb,gBAAgB,CAAC;EACb,GAAG,EAAE,IAAI;CACZ;;AA3BT,AA6BQ,qBA7Ba,AAwBhB,gBAAgB,CAKb,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;CACZ;;AA/BT,AAmCQ,qBAnCa,CAkCjB,eAAe,CACX,cAAc;AAnCtB,qBAAqB,CAkCjB,eAAe,CAEX,gBAAgB,CAAC;EACb,KAAK,EAAE,GAAG;CACb;;AAtCT,AA0CQ,qBA1Ca,CAyCjB,aAAa,CACT,cAAc;AA1CtB,qBAAqB,CAyCjB,aAAa,CAET,gBAAgB,CAAC;EACb,KAAK,EAAE,KAAK;CACf;;AC7CT,AACI,gBADY,CACZ,gBAAgB,CAAC;EACb,MAAM,EAAE,IAAI;EAAE,6BAA6B;EAC3C,WAAW,EAAE,IAAI;EACjB,KAAK,EAAE,IAAI;EACX,GAAG,EAAE,GAAG;EAAE,gCAAgC;CAC7C;;AANL,AAQI,gBARY,CAQZ,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;CACZ;;AAVL,AAcQ,gBAdQ,AAaX,gBAAgB,CACb,gBAAgB,CAAC;EACb,GAAG,EAAE,IAAI;CACZ;;AAhBT,AAkBQ,gBAlBQ,AAaX,gBAAgB,CAKb,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;CACZ;;AApBT,AAuBI,gBAvBY,CAuBZ,6BAA6B,CAAC;EAC1B,MAAM,EAAE,iCAAiC;CAC5C;;AAzBL,AA4BQ,gBA5BQ,CA2BZ,eAAe,CACX,cAAc;AA5BtB,gBAAgB,CA2BZ,eAAe,CAEX,gBAAgB,CAAC;EACb,KAAK,EAAE,0BAA0B;CACpC;;AA/BT,AAmCQ,gBAnCQ,CAkCZ,aAAa,CACT,cAAc;AAnCtB,gBAAgB,CAkCZ,aAAa,CAET,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;EAAE,4BAA4B;CAC/C;;ACtCT,AACI,eADW,CACX,gBAAgB,CAAC;EACb,MAAM,EAAE,IAAI;EAAE,6BAA6B;EAC3C,WAAW,EAAE,IAAI;EACjB,KAAK,EAAE,IAAI;EACX,GAAG,EAAE,IAAI;EACT,KAAK,EAAE,GAAG;CACb;;AAPL,AASI,eATW,CASX,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;EACT,KAAK,EAAE,KAAK;CACf;;AAZL,AAcI,eAdW,CAcX,6BAA6B,CAAC;EAC1B,MAAM,EAAE,KAAK;CAChB;;AAhBL,AAmBQ,eAnBO,CAkBX,eAAe,CACX,cAAc;AAnBtB,eAAe,CAkBX,eAAe,CAEX,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;CACjB;;AAtBT,AA0BQ,eA1BO,CAyBX,aAAa,CACT,cAAc;AA1BtB,eAAe,CAyBX,aAAa,CAET,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;CACjB;;AC7BT,AAAA,gBAAgB,CAAC;EAuBb,qBAAqB;EAYrB,kBAAkB;CAkBrB;;AArDD,AACI,gBADY,CACZ,gBAAgB,CAAC;EACb,MAAM,EAAE,IAAI;EACZ,WAAW,EAAE,IAAI;EACjB,KAAK,EAAE,IAAI;EAAE,0BAA0B;CAC1C;;AALL,AAQQ,gBARQ,CAOZ,aAAa,CACT,KAAK;AARb,gBAAgB,CAOZ,aAAa,CAET,cAAc;AATtB,gBAAgB,CAOZ,aAAa,CAGT,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;EAAE,2BAA2B;CAC9C;;AAZT,AAgBQ,gBAhBQ,CAeZ,eAAe,CACX,KAAK;AAhBb,gBAAgB,CAeZ,eAAe,CAEX,cAAc;AAjBtB,gBAAgB,CAeZ,eAAe,CAGX,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;EAAE,6BAA6B;CAChD;;AApBT,AAyBQ,gBAzBQ,AAwBX,kBAAkB,CACf,cAAc,CAAC;EACX,UAAU,EAAE,GAAG;EACf,WAAW,EAAE,KAAK;CACrB;;AA5BT,AA8BQ,gBA9BQ,AAwBX,kBAAkB,CAMf,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;EAAE,kCAAkC;CAChD;;AAhCT,AAqCQ,gBArCQ,AAoCX,kBAAkB,CACf,mBAAmB,CAAC;EAChB,aAAa,EAAE,GAAG;CACrB;;AAvCT,AAyCQ,gBAzCQ,AAoCX,kBAAkB,CAKf,gBAAgB,CAAC;EACb,GAAG,EAAE,IAAI;EAAE,6BAA6B;CAC3C;;AA3CT,AA6CQ,gBA7CQ,AAoCX,kBAAkB,CASf,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;CACZ;;AA/CT,AAiDQ,gBAjDQ,AAoCX,kBAAkB,CAaf,WAAW,GAAG,gBAAgB,CAAC;EAC3B,GAAG,EAAE,IAAI;CACZ;;ACnDT,AACI,oBADgB,AACf,GAAG,AAAA,KAAK,CAAC,OAAO,AAAA,MAAM,CAAC,KAAK;AADjC,oBAAoB,CAEhB,MAAM,CAAC,gBAAgB,CAAC;EACpB,KAAK,EAAE,OAAO;EAAE,0CAA0C;CAC7D;;AAJL,AAMI,oBANgB,CAMhB,sBAAsB,CAAC;EACnB,KAAK,EAAE,GAAG;CACb;;ACRL,AACI,oBADgB,CAChB,YAAY,CAAC;EACT,aAAa,EAAE,CAAC;CACnB;;AAHL,AAKI,oBALgB,CAKhB,gBAAgB,CAAC;EACb,MAAM,EAAE,IAAI;EACZ,WAAW,EAAE,IAAI;EAAE,6BAA6B;EAChD,KAAK,EAAE,IAAI;EACX,GAAG,EAAE,IAAI;EAAE,6BAA6B;CAC3C;;AAVL,AAaI,oBAbgB,CAahB,IAAI,CAAC,gBAAgB,CAAC;EAClB,KAAK,EAAE,IAAI;EACX,GAAG,EAAE,CAAC;CACT;;AAhBL,AAkBI,oBAlBgB,CAkBhB,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;CACZ;;AApBL,AAsBI,oBAtBgB,CAsBhB,WAAW,GAAG,gBAAgB;AAtBlC,oBAAoB,CAuBhB,WAAW,GAAG,GAAG,CAAC,gBAAgB,CAAC;EAC/B,GAAG,EAAE,IAAI;CACZ;;AAzBL,AA4BQ,oBA5BY,CA2BhB,YAAY,CACR,cAAc;AA5BtB,oBAAoB,CA2BhB,YAAY,CAER,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;CACjB;;AA/BT,AAmCQ,oBAnCY,CAkChB,cAAc,CACV,cAAc;AAnCtB,oBAAoB,CAkChB,cAAc,CAEV,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;CACjB;;ACtCT,AACI,mBADe,CACf,YAAY,CAAC,gBAAgB,CAAC;EAE1B,OAAO,EAAE,CAAC;CACb;;AAJL,AAMI,mBANe,CAMf,WAAW,CAAC,sBAAsB,CAAC;EAC/B,KAAK,EAAE,GAAG;EACV,GAAG,EAAE,IAAI;CACZ;;AATL,AAYQ,mBAZW,AAWd,IAAK,CAAA,gBAAgB,EAClB,WAAW,CAAC,sBAAsB,CAAC;EAC/B,KAAK,EAAE,GAAG;EACV,GAAG,EAAE,IAAI;CACZ;;ACfT,AACI,oBADgB,CAChB,gBAAgB,CAAC;EACb,MAAM,EAAE,IAAI;EACZ,WAAW,EAAE,IAAI;EACjB,KAAK,EAAE,IAAI;CACd;;AALL,AAOI,oBAPgB,CAOhB,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;CACZ;;AATL,AAaQ,oBAbY,AAYf,gBAAgB,CACb,gBAAgB,CAAC;EACb,GAAG,EAAE,IAAI;CACZ;;AAfT,AAiBQ,oBAjBY,AAYf,gBAAgB,CAKb,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;CACZ;;ACnBT,AACI,kBADc,CACd,gBAAgB,CAAC;EACb,MAAM,EAAE,IAAI;EAAE,6BAA6B;EAC3C,WAAW,EAAE,IAAI;EACjB,KAAK,EAAE,IAAI;CACd;;AALL,AASQ,kBATU,AAQb,gBAAgB,CACb,gBAAgB,CAAC;EACb,GAAG,EAAE,IAAI;CACZ;;AAXT,AAaQ,kBAbU,AAQb,gBAAgB,CAKb,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;CACZ;;AAfT,AAmBQ,kBAnBU,CAkBd,eAAe,CACX,aAAa;AAnBrB,kBAAkB,CAkBd,eAAe,CAEX,gBAAgB,CAAC;EACb,KAAK,EAAE,IAAI;EAAE,iCAAiC;CACjD;;AAtBT,AA0BQ,kBA1BU,CAyBd,aAAa,CACT,aAAa;AA1BrB,kBAAkB,CAyBd,aAAa,CAET,gBAAgB,CAAC;EACb,KAAK,EAAE,OAAO;EAAE,mCAAmC;CACtD;;AC7BT,AAAA,iBAAiB,CAAC;EAQd,qBAAqB;EAWrB,kBAAkB;CAcrB;;AAjCD,AACI,iBADa,CACb,gBAAgB,CAAC;EACb,MAAM,EAAE,IAAI;EAAE,2BAA2B;EACzC,WAAW,EAAE,IAAI;EACjB,GAAG,EAAE,IAAI;EAAE,2BAA2B;EACtC,KAAK,EAAE,IAAI;CACd;;AANL,AAUQ,iBAVS,AASZ,mBAAmB,CAChB,gBAAgB,CAAC;EACb,GAAG,EAAE,CAAC;CACT;;AAZT,AAcQ,iBAdS,AASZ,mBAAmB,CAKhB,sBAAsB,CAAC;EACnB,GAAG,EAAE,KAAK;EAAE,wDAAwD;CACvE;;AAhBT,AAqBQ,iBArBS,AAoBZ,gBAAgB,CACb,sBAAsB,CAAC;EACnB,GAAG,EAAE,IAAI;EAAE,mGAAmG;CACjH;;AAvBT,AAyBQ,iBAzBS,AAoBZ,gBAAgB,CAKb,YAAY,CAAC,gBAAgB,CAAC;EAC1B,GAAG,EAAE,CAAC;CACT;;AA3BT,AA6BQ,iBA7BS,AAoBZ,gBAAgB,CASb,YAAY,CAAC,sBAAsB,CAAC;EAChC,GAAG,EAAE,KAAK;CACb;;AC/BT,AAAA,wBAAwB,CAAC;EACrB,OAAO,EAAE,IAAI;CAChB;;AACD,AAAA,0BAA0B,CAAC;EACvB,OAAO,EAAE,KAAK;CACjB", + "sources": [ + "index.scss", + "_core.scss", + "plugins/_framework.scss", + "plugins/_icon.scss", + "plugins/_tooltip.scss", + "plugins/_bootstrap.scss", + "plugins/_bootstrap3.scss", + "plugins/_bootstrap5.scss", + "plugins/_bulma.scss", + "plugins/_foundation.scss", + "plugins/_materialize.scss", + "plugins/_milligram.scss", + "plugins/_mini.scss", + "plugins/_mui.scss", + "plugins/_pure.scss", + "plugins/_semantic.scss", + "plugins/_shoelace.scss", + "plugins/_spectre.scss", + "plugins/_tachyons.scss", + "plugins/_turret.scss", + "plugins/_uikit.scss", + "plugins/_wizard.scss" + ], + "names": [], + "file": "index.css" +} \ No newline at end of file diff --git a/resources/assets/core/plugins/formvalidation/src/css/index.scss b/resources/assets/core/plugins/formvalidation/src/css/index.scss new file mode 100644 index 0000000..a6036fe --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/index.scss @@ -0,0 +1,31 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +@import 'core'; + +// Core plugins +@import 'plugins/framework'; +@import 'plugins/icon'; +@import 'plugins/tooltip'; + +// External plugins +@import 'plugins/bootstrap'; +@import 'plugins/bootstrap3'; +@import 'plugins/bootstrap5'; +@import 'plugins/bulma'; +@import 'plugins/foundation'; +@import 'plugins/materialize'; +@import 'plugins/milligram'; +@import 'plugins/mini'; +@import 'plugins/mui'; +@import 'plugins/pure'; +@import 'plugins/semantic'; +@import 'plugins/shoelace'; +@import 'plugins/spectre'; +@import 'plugins/tachyons'; +@import 'plugins/turret'; +@import 'plugins/uikit'; +@import 'plugins/wizard'; diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_bootstrap.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_bootstrap.scss new file mode 100644 index 0000000..072116a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_bootstrap.scss @@ -0,0 +1,77 @@ +$fv-plugins-bootstrap-input-height: 38px; + +// See https://getbootstrap.com/docs/4.1/components/forms/#custom-styles +.fv-plugins-bootstrap { + // Same as Bootstrap `valid-feedback` class + .fv-help-block { + color: #dc3545; + font-size: 80%; + margin-top: 0.25rem; + } + + // Overwrite Bootstrap + // We don't want to display the color for label + .is-invalid ~ .form-check-label, + .is-valid ~ .form-check-label { + color: inherit; + } + + .has-danger .fv-plugins-icon { + color: #dc3545; + } + + .has-success .fv-plugins-icon { + color: #28a745; + } + + .fv-plugins-icon { + height: $fv-plugins-bootstrap-input-height; + line-height: $fv-plugins-bootstrap-input-height; + width: $fv-plugins-bootstrap-input-height; + } + + .input-group ~ .fv-plugins-icon { + // Need to have a bigger index than `.input-group .form-control:focus` (which is 2) + z-index: 3; + } + + /* For horizontal form */ + .form-group.row { + .fv-plugins-icon { + right: 15px; + } + + .fv-plugins-icon-check { + top: -7px; /* labelHeight/2 - iconHeight/2 */ + } + } + + /* Stacked form */ + &:not(.form-inline) { + label ~ .fv-plugins-icon { + top: 32px; + } + + label ~ .fv-plugins-icon-check { + top: 25px; + } + + // Without labels + label.sr-only ~ .fv-plugins-icon-check { + top: -7px; + } + } + + /* Inline form */ + &.form-inline .form-group { + align-items: flex-start; + flex-direction: column; + margin-bottom: auto; + } + + /* Remove the icons generated by Bootstrap 4.2+ */ + .form-control.is-valid, + .form-control.is-invalid { + background-image: none; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_bootstrap3.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_bootstrap3.scss new file mode 100644 index 0000000..fea5a90 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_bootstrap3.scss @@ -0,0 +1,15 @@ +.fv-plugins-bootstrap3 { + .help-block { + margin-bottom: 0; + } + + .input-group ~ .form-control-feedback { + // Need to have a bigger index than `.input-group .form-control:focus` (which is 3) + z-index: 4; + } + + // Support inline form + &.form-inline .form-group { + vertical-align: top; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_bootstrap5.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_bootstrap5.scss new file mode 100644 index 0000000..bb24860 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_bootstrap5.scss @@ -0,0 +1,79 @@ +$fv-plugins-bootstrap5-input-height: 38px; +$fv-plugins-bootstrap5-form-floating-height: 58px; + +// See https://getbootstrap.com/docs/4.1/components/forms/#custom-styles +.fv-plugins-bootstrap5 { + .fv-plugins-bootstrap5-row-invalid .fv-plugins-icon { + color: #dc3545; + } + + // Same as `valid-feedback` + .fv-plugins-bootstrap5-row-valid .fv-plugins-icon { + color: #198754; + } + + .fv-plugins-icon { + // Center the content + align-items: center; + display: flex; + justify-content: center; + + // Size + height: $fv-plugins-bootstrap5-input-height; + width: $fv-plugins-bootstrap5-input-height; + } + + .input-group ~ .fv-plugins-icon { + // Need to have a bigger index than `.input-group .form-control:focus` (which is 2) + z-index: 3; + } + // Move the icon for `input-group` to the right side + .fv-plugins-icon-input-group { + right: -#{$fv-plugins-bootstrap5-input-height}; + } + + /* Support floating label */ + .form-floating .fv-plugins-icon { + height: $fv-plugins-bootstrap5-form-floating-height; + } + + /* For horizontal form */ + .row { + .fv-plugins-icon { + right: 12px; + } + + .fv-plugins-icon-check { + top: -7px; /* labelHeight/2 - iconHeight/2 */ + } + } + + /* Stacked form */ + &:not(.fv-plugins-bootstrap5-form-inline) { + label ~ .fv-plugins-icon { + top: 32px; + } + + label ~ .fv-plugins-icon-check { + top: 25px; + } + + // Without labels + label.sr-only ~ .fv-plugins-icon-check { + top: -7px; + } + } + + /* Inline form */ + &.fv-plugins-bootstrap5-form-inline { + .fv-plugins-icon { + right: calc(var(--bs-gutter-x, 1.5rem) / 2); + } + } + + /* Remove the icons generated by Bootstrap 4.2+ */ + .form-control.fv-plugins-icon-input.is-valid, + .form-control.fv-plugins-icon-input.is-invalid { + background-image: none; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_bulma.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_bulma.scss new file mode 100644 index 0000000..a4ced21 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_bulma.scss @@ -0,0 +1,33 @@ +.fv-plugins-bulma { + /* Support add ons inside field */ + .field.has-addons { + flex-wrap: wrap; + + &::after { + content: ''; + width: 100%; + } + + .fv-plugins-message-container { + order: 1; + } + } + + .icon.fv-plugins-icon-check { + top: -4px; + } + + .fv-has-error { + .input, + .textarea { + border: 1px solid #ff3860; /* Same as .input.is-danger */ + } + } + + .fv-has-success { + .input, + .textarea { + border: 1px solid #23d160; /* Same as .input.is-success */ + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_foundation.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_foundation.scss new file mode 100644 index 0000000..968600b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_foundation.scss @@ -0,0 +1,55 @@ +.fv-plugins-foundation { + .fv-plugins-icon { + height: 39px; + line-height: 39px; + right: 0; + width: 39px; /* Same as height of input */ + } + + // Support that grid container comes with padding + .grid-padding-x .fv-plugins-icon { + right: 15px; + } + + // To support multiple fields in the same row + .fv-plugins-icon-container .cell { + position: relative; + } + + [type='checkbox'] ~ .fv-plugins-icon, + [type='checkbox'] ~ .fv-plugins-icon { + top: -7px; /* labelHeight/2 - iconHeight/2 */ + } + + /* Stacked form */ + &.fv-stacked-form { + // Put the message in the new line + .fv-plugins-message-container { + width: 100%; + } + + label .fv-plugins-icon, + fieldset [type='checkbox'] ~ .fv-plugins-icon, + fieldset [type='radio'] ~ .fv-plugins-icon { + top: 25px; /* Same as height of label */ + } + } + + .form-error { + display: block; + } + + .fv-row__success { + .fv-plugins-icon { + color: #3adb76; /* Same as .success */ + } + } + + .fv-row__error { + label, + fieldset legend, + .fv-plugins-icon { + color: #cc4b37; /* Same as .is-invalid-label and .form-error */ + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_framework.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_framework.scss new file mode 100644 index 0000000..f3ff1c2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_framework.scss @@ -0,0 +1,9 @@ +.fv-plugins-framework { + // Hide the clear field icon on IE + input::-ms-clear, + textarea::-ms-clear { + display: none; + height: 0; + width: 0; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_icon.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_icon.scss new file mode 100644 index 0000000..897157d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_icon.scss @@ -0,0 +1,10 @@ +.fv-plugins-icon-container { + position: relative; +} + +.fv-plugins-icon { + position: absolute; + right: 0; + text-align: center; + top: 0; +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_materialize.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_materialize.scss new file mode 100644 index 0000000..2712a19 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_materialize.scss @@ -0,0 +1,25 @@ +.fv-plugins-materialize { + .fv-plugins-icon { + height: 42px; /* Same as height of input */ + line-height: 42px; + width: 42px; + } + + .fv-plugins-icon-check { + top: -10px; + } + + .fv-invalid-row { + .helper-text, + .fv-plugins-icon { + color: #f44336; + } + } + + .fv-valid-row { + .helper-text, + .fv-plugins-icon { + color: #4caf50; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_milligram.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_milligram.scss new file mode 100644 index 0000000..2876804 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_milligram.scss @@ -0,0 +1,48 @@ +.fv-plugins-milligram { + .fv-plugins-icon { + height: 38px; /* Same as height of input */ + line-height: 38px; + width: 38px; + } + + .column { + position: relative; + + .fv-plugins-icon { + right: 10px; + } + } + + .fv-plugins-icon-check { + top: -6px; + } + + .fv-plugins-message-container { + margin-bottom: 15px; + } + + // Stacked form + &.fv-stacked-form { + .fv-plugins-icon { + top: 30px; + } + + .fv-plugins-icon-check { + top: 24px; + } + } + + .fv-invalid-row { + .fv-help-block, + .fv-plugins-icon { + color: red; + } + } + + .fv-valid-row { + .fv-help-block, + .fv-plugins-icon { + color: green; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_mini.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_mini.scss new file mode 100644 index 0000000..0c64560 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_mini.scss @@ -0,0 +1,41 @@ +.fv-plugins-mini { + .fv-plugins-icon { + height: 42px; /* Same as height of input */ + line-height: 42px; + width: 42px; + top: 4px; /* Same as input's margin top */ + } + + .fv-plugins-icon-check { + top: -8px; + } + + // Stacked form + &.fv-stacked-form { + .fv-plugins-icon { + top: 28px; + } + + .fv-plugins-icon-check { + top: 20px; + } + } + + .fv-plugins-message-container { + margin: calc(var(--universal-margin) / 2); + } + + .fv-invalid-row { + .fv-help-block, + .fv-plugins-icon { + color: var(--input-invalid-color); + } + } + + .fv-valid-row { + .fv-help-block, + .fv-plugins-icon { + color: #308732; /* Same as tertiary color */ + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_mui.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_mui.scss new file mode 100644 index 0000000..4403bd2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_mui.scss @@ -0,0 +1,32 @@ +.fv-plugins-mui { + .fv-plugins-icon { + height: 32px; /* Same as height of input */ + line-height: 32px; + width: 32px; + top: 15px; + right: 4px; + } + + .fv-plugins-icon-check { + top: -6px; + right: -10px; + } + + .fv-plugins-message-container { + margin: 8px 0; + } + + .fv-invalid-row { + .fv-help-block, + .fv-plugins-icon { + color: #f44336; + } + } + + .fv-valid-row { + .fv-help-block, + .fv-plugins-icon { + color: #4caf50; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_pure.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_pure.scss new file mode 100644 index 0000000..3fb4f43 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_pure.scss @@ -0,0 +1,54 @@ +.fv-plugins-pure { + .fv-plugins-icon { + height: 36px; + line-height: 36px; + width: 36px; /* Height of Pure input */ + } + + .fv-has-error { + label, + .fv-help-block, + .fv-plugins-icon { + color: #ca3c3c; /* Same as .button-error */ + } + } + + .fv-has-success { + label, + .fv-help-block, + .fv-plugins-icon { + color: #1cb841; /* Same as .button-success */ + } + } + + /* Horizontal form */ + &.pure-form-aligned { + .fv-help-block { + margin-top: 5px; + margin-left: 180px; + } + + .fv-plugins-icon-check { + top: -9px; /* labelHeight/2 - iconHeight/2 */ + } + } + + /* Stacked form */ + &.pure-form-stacked { + .pure-control-group { + margin-bottom: 8px; + } + + .fv-plugins-icon { + top: 22px; /* Same as height of label */ + } + + .fv-plugins-icon-check { + top: 13px; + } + + .fv-sr-only ~ .fv-plugins-icon { + top: -9px; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_semantic.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_semantic.scss new file mode 100644 index 0000000..9a1136c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_semantic.scss @@ -0,0 +1,10 @@ +.fv-plugins-semantic { + &.ui.form .fields.error label, + .error .fv-plugins-icon { + color: #9f3a38; /* Same as .ui.form .field.error .input */ + } + + .fv-plugins-icon-check { + right: 7px; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_shoelace.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_shoelace.scss new file mode 100644 index 0000000..5354be2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_shoelace.scss @@ -0,0 +1,41 @@ +.fv-plugins-shoelace { + .input-group { + margin-bottom: 0; + } + + .fv-plugins-icon { + height: 32px; + line-height: 32px; /* Same as height of input */ + width: 32px; + top: 28px; /* Same as height of label */ + } + + // Support horizontal form + .row .fv-plugins-icon { + right: 16px; + top: 0; + } + + .fv-plugins-icon-check { + top: 24px; + } + + .fv-sr-only ~ .fv-plugins-icon, + .fv-sr-only ~ div .fv-plugins-icon { + top: -4px; + } + + .input-valid { + .fv-help-block, + .fv-plugins-icon { + color: #2ecc40; + } + } + + .input-invalid { + .fv-help-block, + .fv-plugins-icon { + color: #ff4136; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_spectre.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_spectre.scss new file mode 100644 index 0000000..3aef254 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_spectre.scss @@ -0,0 +1,18 @@ +.fv-plugins-spectre { + .input-group .fv-plugins-icon { + // Need to have a bigger index than `.input-group .form-input:focus` (which is 1) + z-index: 2; + } + + .form-group .fv-plugins-icon-check { + right: 6px; + top: 10px; + } + + &:not(.form-horizontal) { + .form-group .fv-plugins-icon-check { + right: 6px; + top: 45px; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_tachyons.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_tachyons.scss new file mode 100644 index 0000000..8dcb62b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_tachyons.scss @@ -0,0 +1,22 @@ +.fv-plugins-tachyons { + .fv-plugins-icon { + height: 36px; + line-height: 36px; + width: 36px; + } + + .fv-plugins-icon-check { + top: -7px; + } + + // Stacked form + &.fv-stacked-form { + .fv-plugins-icon { + top: 34px; + } + + .fv-plugins-icon-check { + top: 24px; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_tooltip.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_tooltip.scss new file mode 100644 index 0000000..b99bb05 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_tooltip.scss @@ -0,0 +1,119 @@ +$fv-plugins-tooltip-bg-color: #000; +$fv-plugins-tooltip-border-width: 8px; +$fv-plugins-tooltip-content-padding: 8px; + +.fv-plugins-tooltip { + max-width: 256px; + position: absolute; + text-align: center; + z-index: 10000; + + .fv-plugins-tooltip__content { + background: $fv-plugins-tooltip-bg-color; + border-radius: 3px; + color: #eee; + padding: $fv-plugins-tooltip-content-padding; + position: relative; + + &:before { + border: $fv-plugins-tooltip-border-width solid transparent; + content: ''; + position: absolute; + } + } +} + +.fv-plugins-tooltip--hide { + display: none; +} + +.fv-plugins-tooltip--top-left { + transform: translateY(-8px); + + .fv-plugins-tooltip__content:before { + border-top-color: $fv-plugins-tooltip-bg-color; + left: $fv-plugins-tooltip-border-width; + top: 100%; + } +} + +.fv-plugins-tooltip--top { + transform: translateY(-8px); + + .fv-plugins-tooltip__content:before { + border-top-color: $fv-plugins-tooltip-bg-color; + left: 50%; + margin-left: -$fv-plugins-tooltip-border-width; + top: 100%; + } +} + +.fv-plugins-tooltip--top-right { + transform: translateY(-8px); + + .fv-plugins-tooltip__content:before { + border-top-color: $fv-plugins-tooltip-bg-color; + right: $fv-plugins-tooltip-border-width; + top: 100%; + } +} + +.fv-plugins-tooltip--right { + transform: translateX(8px); + + .fv-plugins-tooltip__content:before { + border-right-color: $fv-plugins-tooltip-bg-color; + margin-top: -$fv-plugins-tooltip-border-width; + right: 100%; + top: 50%; + } +} + +.fv-plugins-tooltip--bottom-right { + transform: translateY(8px); + + .fv-plugins-tooltip__content:before { + border-bottom-color: $fv-plugins-tooltip-bg-color; + bottom: 100%; + right: $fv-plugins-tooltip-border-width; + } +} + +.fv-plugins-tooltip--bottom { + transform: translateY(8px); + + .fv-plugins-tooltip__content:before { + border-bottom-color: $fv-plugins-tooltip-bg-color; + bottom: 100%; + left: 50%; + margin-left: -$fv-plugins-tooltip-border-width; + } +} + +.fv-plugins-tooltip--bottom-left { + transform: translateY(8px); + + .fv-plugins-tooltip__content:before { + border-bottom-color: $fv-plugins-tooltip-bg-color; + bottom: 100%; + left: $fv-plugins-tooltip-border-width; + } +} + +.fv-plugins-tooltip--left { + transform: translateX(-8px); + + .fv-plugins-tooltip__content:before { + border-left-color: $fv-plugins-tooltip-bg-color; + left: 100%; + margin-top: -$fv-plugins-tooltip-border-width; + top: 50%; + } +} + +// Some frameworks such as Bootstrap disables `pointer-event` on the feedback icon, so we can not +// trigger the `onClick` event +.fv-plugins-tooltip-icon { + cursor: pointer; + pointer-events: inherit; +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_turret.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_turret.scss new file mode 100644 index 0000000..6f5284a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_turret.scss @@ -0,0 +1,32 @@ +.fv-plugins-turret { + .fv-plugins-icon { + height: 40px; /* Same as height of input */ + line-height: 40px; + width: 40px; + } + + // Stacked form + &.fv-stacked-form { + .fv-plugins-icon { + top: 29px; + } + + .fv-plugins-icon-check { + top: 17px; + } + } + + .fv-invalid-row { + .form-message, + .fv-plugins-icon { + color: #c00; /* Same as .form-message.error */ + } + } + + .fv-valid-row { + .form-message, + .fv-plugins-icon { + color: #00b300; /* Same as .form-message.success */ + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_uikit.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_uikit.scss new file mode 100644 index 0000000..10eda26 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_uikit.scss @@ -0,0 +1,34 @@ +.fv-plugins-uikit { + .fv-plugins-icon { + height: 40px; /* Height of UIKit input */ + line-height: 40px; + top: 25px; /* Height of UIKit label */ + width: 40px; + } + + /* Horizontal form */ + &.uk-form-horizontal { + .fv-plugins-icon { + top: 0; + } + + .fv-plugins-icon-check { + top: -11px; /* checkboxLabelHeight/2 - iconHeight/2 = 18/2 - 40/2 */ + } + } + + /* Stacked form */ + &.uk-form-stacked { + .fv-plugins-icon-check { + top: 15px; /* labelHeight + labelMarginBottom + checkboxLabelHeight/2 - iconHeight/2 = 21 + 5 + 18/2 - 40/2 */ + } + + .fv-no-label .fv-plugins-icon { + top: 0; + } + + .fv-no-label .fv-plugins-icon-check { + top: -11px; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/css/plugins/_wizard.scss b/resources/assets/core/plugins/formvalidation/src/css/plugins/_wizard.scss new file mode 100644 index 0000000..83703cc --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/css/plugins/_wizard.scss @@ -0,0 +1,6 @@ +.fv-plugins-wizard--step { + display: none; +} +.fv-plugins-wizard--active { + display: block; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/algorithms/index.ts b/resources/assets/core/plugins/formvalidation/src/js/algorithms/index.ts new file mode 100644 index 0000000..946eb06 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/algorithms/index.ts @@ -0,0 +1,17 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import luhn from './luhn'; +import mod11And10 from './mod11And10'; +import mod37And36 from './mod37And36'; +import verhoeff from './verhoeff'; + +export default { + luhn, + mod11And10, + mod37And36, + verhoeff, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/algorithms/luhn.ts b/resources/assets/core/plugins/formvalidation/src/js/algorithms/luhn.ts new file mode 100644 index 0000000..e4fc61a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/algorithms/luhn.ts @@ -0,0 +1,30 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +/** + * Implement Luhn validation algorithm + * Credit to https://gist.github.com/ShirtlessKirk/2134376 + * + * @see http://en.wikipedia.org/wiki/Luhn + * @param {string} value + * @returns {boolean} + */ +export default function luhn(value: string): boolean { + let length = value.length; + const prodArr = [ + [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], + [0, 2, 4, 6, 8, 1, 3, 5, 7, 9], + ]; + let mul = 0; + let sum = 0; + + while (length--) { + sum += prodArr[mul][parseInt(value.charAt(length), 10)]; + mul = 1 - mul; + } + + return sum % 10 === 0 && sum > 0; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/algorithms/mod11And10.ts b/resources/assets/core/plugins/formvalidation/src/js/algorithms/mod11And10.ts new file mode 100644 index 0000000..18663a6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/algorithms/mod11And10.ts @@ -0,0 +1,23 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +/** + * Implement modulus 11, 10 (ISO 7064) algorithm + * + * @param {string} value + * @returns {boolean} + */ +export default function mod11And10(value: string): boolean { + const length = value.length; + let check = 5; + + for (let i = 0; i < length; i++) { + check = + ((((check || 10) * 2) % 11) + parseInt(value.charAt(i), 10)) % 10; + } + + return check === 1; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/algorithms/mod37And36.ts b/resources/assets/core/plugins/formvalidation/src/js/algorithms/mod37And36.ts new file mode 100644 index 0000000..a300911 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/algorithms/mod37And36.ts @@ -0,0 +1,29 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +/** + * Implements Mod 37, 36 (ISO 7064) algorithm + * + * @param {string} value + * @param {string} [alphabet] + * @returns {boolean} + */ +export default function mod37And36( + value: string, + alphabet = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' +): boolean { + const length = value.length; + const modulus = alphabet.length; + let check = Math.floor(modulus / 2); + for (let i = 0; i < length; i++) { + check = + ((((check || modulus) * 2) % (modulus + 1)) + + alphabet.indexOf(value.charAt(i))) % + modulus; + } + + return check === 1; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/algorithms/mod97And10.ts b/resources/assets/core/plugins/formvalidation/src/js/algorithms/mod97And10.ts new file mode 100644 index 0000000..23bf9c6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/algorithms/mod97And10.ts @@ -0,0 +1,34 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +function transform(input: string): number[] { + return input + .split('') + .map((c) => { + const code = c.charCodeAt(0); + // 65, 66, ..., 90 are the char code of A, B, ..., Z + return code >= 65 && code <= 90 + ? // Replace A, B, C, ..., Z with 10, 11, ..., 35 + code - 55 + : c; + }) + .join('') + .split('') + .map((c) => parseInt(c, 10)); +} + +export default function mod97And10(input: string): boolean { + const digits = transform(input); + + let temp = 0; + const length = digits.length; + for (let i = 0; i < length - 1; ++i) { + temp = ((temp + digits[i]) * 10) % 97; + } + temp += digits[length - 1]; + + return temp % 97 === 1; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/algorithms/verhoeff.ts b/resources/assets/core/plugins/formvalidation/src/js/algorithms/verhoeff.ts new file mode 100644 index 0000000..d075f0c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/algorithms/verhoeff.ts @@ -0,0 +1,50 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +/** + * Implement Verhoeff validation algorithm + * Credit to Sergey Petushkov, 2014 + * + * @see https://en.wikipedia.org/wiki/Verhoeff_algorithm + * @param {string} value + * @returns {boolean} + */ +export default function verhoeff(value: number[]): boolean { + // Multiplication table d + const d = [ + [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], + [1, 2, 3, 4, 0, 6, 7, 8, 9, 5], + [2, 3, 4, 0, 1, 7, 8, 9, 5, 6], + [3, 4, 0, 1, 2, 8, 9, 5, 6, 7], + [4, 0, 1, 2, 3, 9, 5, 6, 7, 8], + [5, 9, 8, 7, 6, 0, 4, 3, 2, 1], + [6, 5, 9, 8, 7, 1, 0, 4, 3, 2], + [7, 6, 5, 9, 8, 2, 1, 0, 4, 3], + [8, 7, 6, 5, 9, 3, 2, 1, 0, 4], + [9, 8, 7, 6, 5, 4, 3, 2, 1, 0], + ]; + + // Permutation table p + const p = [ + [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], + [1, 5, 7, 6, 2, 8, 3, 0, 9, 4], + [5, 8, 0, 3, 7, 9, 6, 1, 4, 2], + [8, 9, 1, 6, 0, 4, 3, 5, 2, 7], + [9, 4, 5, 3, 1, 2, 6, 8, 7, 0], + [4, 2, 8, 6, 5, 7, 3, 9, 0, 1], + [2, 7, 9, 3, 8, 0, 6, 4, 1, 5], + [7, 0, 4, 6, 9, 1, 3, 2, 5, 8], + ]; + + // Inverse table inv + const invertedArray = value.reverse(); + let c = 0; + for (let i = 0; i < invertedArray.length; i++) { + c = d[c][p[i % 8][invertedArray[i]]]; + } + + return c === 0; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/core/Core.ts b/resources/assets/core/plugins/formvalidation/src/js/core/Core.ts new file mode 100644 index 0000000..d0e7e97 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/core/Core.ts @@ -0,0 +1,992 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import emitter, { Emitter } from './emitter'; +import filter, { Filter } from './filter'; +import Plugin from './Plugin'; + +import getFieldValue from '../filters/getFieldValue'; +import validators from '../validators/index'; + +export interface LocalizationMessage { + [locale: string]: string; +} +export type LocalizationMessageType = LocalizationMessage | string; +export interface ValidatorOptions { + enabled?: boolean; + message?: string; + [option: string]: unknown; +} +export interface FieldOptions { + // Field can be defined by given CSS selector + // By default, we use `name` attribute to indicate the field element + selector?: string; + validators: { + [validatorName: string]: ValidatorOptions; + }; +} +export interface FieldsOptions { + [field: string]: FieldOptions; +} +export interface FieldElements { + [field: string]: HTMLElement[]; +} +export interface Localization { + [validator: string]: { + default?: string; + }; +} + +// Validate input and output +export interface ValidateOptions { + message?: string; +} +export interface ValidateInput< + T extends ValidateOptions, + L extends Localization +> { + element?: HTMLElement; + elements?: HTMLElement[]; + field?: string; + options?: T; + l10n?: L; + value: string; +} +export interface ValidateResult { + message?: LocalizationMessageType; + meta?: unknown; + valid: boolean; +} +export interface ValidateFunctionInterface { + validate(input: ValidateInput): T; +} +export type ValidateFunction = + ValidateFunctionInterface>; + +// Events +export interface DynamicFieldEvent { + elements: HTMLElement[]; + field: string; + options: FieldOptions; +} +export interface ValidatorNotValidatedEvent { + element: HTMLElement; + elements: HTMLElement[]; + field: string; + validator: string; +} +export interface ValidatorValidatedEvent { + element: HTMLElement; + elements: HTMLElement[]; + field: string; + result: ValidateResult; + validator: string; +} +export interface ElementIgnoredEvent { + element: HTMLElement; + elements: HTMLElement[]; + field: string; +} +export interface ElementNotValidatedEvent { + element: HTMLElement; + elements: HTMLElement[]; + field: string; +} +export interface ElementValidatingEvent { + element: HTMLElement; + elements: HTMLElement[]; + field: string; +} +export interface ElementValidatedEvent { + element: HTMLElement; + elements: HTMLElement[]; + field: string; + valid: boolean; +} +export interface FormResetEvent { + reset: boolean; +} +export interface FieldResetEvent { + field: string; + reset: boolean; +} + +class Core { + private form: HTMLElement; + private fields: FieldsOptions; + private elements: FieldElements = {}; + private ee: Emitter = emitter(); + private filter: Filter = filter(); + private plugins: { + [name: string]: Plugin; + } = {}; + + // Store the result of validation for each field + private results: Map = new Map(); + + private validators: { + [name: string]: () => ValidateFunction; + } = {}; + + private localization?: Localization; + private locale: string; + + constructor(form: HTMLElement, fields?: FieldsOptions) { + this.form = form; + this.fields = fields; + } + + public on(event: string, func: (...arg: unknown[]) => unknown): this { + this.ee.on(event, func); + return this; + } + + public off(event: string, func: (...arg: unknown[]) => unknown): this { + this.ee.off(event, func); + return this; + } + + public emit(event: string, ...args: unknown[]): this { + this.ee.emit(event, ...args); + return this; + } + + public registerPlugin(name: string, plugin: Plugin): this { + // Check if whether the plugin is registered + if (this.plugins[name]) { + throw new Error(`The plguin ${name} is registered`); + } + // Install the plugin + plugin.setCore(this); + plugin.install(); + this.plugins[name] = plugin; + return this; + } + + public deregisterPlugin(name: string): this { + const plugin = this.plugins[name]; + if (plugin) { + plugin.uninstall(); + } + delete this.plugins[name]; + return this; + } + + public registerValidator( + name: string, + func: () => ValidateFunction + ): this { + if (this.validators[name]) { + throw new Error(`The validator ${name} is registered`); + } + this.validators[name] = func; + return this; + } + + /** + * Add a filter + * + * @param {string} name The name of filter + * @param {Function} func The filter function + * @return {Core} + */ + public registerFilter( + name: string, + func: (...arg: unknown[]) => unknown + ): this { + this.filter.add(name, func); + return this; + } + + /** + * Remove a filter + * + * @param {string} name The name of filter + * @param {Function} func The filter function + * @return {Core} + */ + public deregisterFilter( + name: string, + func: (...arg: unknown[]) => unknown + ): this { + this.filter.remove(name, func); + return this; + } + + /** + * Execute a filter + * + * @param {string} name The name of filter + * @param {T} defaultValue The default value returns by the filter + * @param {array} args The filter arguments + * @returns {T} + */ + public executeFilter(name: string, defaultValue: T, args: unknown[]): T { + return this.filter.execute(name, defaultValue, args); + } + + /** + * Add a field + * + * @param {string} field The field name + * @param {FieldOptions} options The field options. The options will be merged with the original validator rules + * if the field is already defined + * @return {Core} + */ + public addField(field: string, options?: FieldOptions): this { + const opts = Object.assign( + {}, + { + selector: '', + validators: {}, + }, + options + ); + + // Merge the options + this.fields[field] = this.fields[field] + ? { + selector: opts.selector || this.fields[field].selector, + validators: Object.assign( + {}, + this.fields[field].validators, + opts.validators + ), + } + : opts; + this.elements[field] = this.queryElements(field); + + this.emit('core.field.added', { + elements: this.elements[field], + field, + options: this.fields[field], + }); + return this; + } + + /** + * Remove given field by name + * + * @param {string} field The field name + * @return {Core} + */ + public removeField(field: string): this { + if (!this.fields[field]) { + throw new Error( + `The field ${field} validators are not defined. Please ensure the field is added first` + ); + } + + const elements = this.elements[field]; + const options = this.fields[field]; + + delete this.elements[field]; + delete this.fields[field]; + this.emit('core.field.removed', { + elements, + field, + options, + }); + + return this; + } + + /** + * Validate all fields + * + * @return {Promise} + */ + public validate(): Promise { + this.emit('core.form.validating'); + return this.filter + .execute('validate-pre', Promise.resolve(), []) + .then(() => { + return Promise.all( + Object.keys(this.fields).map((field) => + this.validateField(field) + ) + ).then((results) => { + // `results` is an array of `Valid`, `Invalid` and `NotValidated` + switch (true) { + case results.indexOf('Invalid') !== -1: + this.emit('core.form.invalid'); + return Promise.resolve('Invalid'); + + case results.indexOf('NotValidated') !== -1: + this.emit('core.form.notvalidated'); + return Promise.resolve('NotValidated'); + + default: + this.emit('core.form.valid'); + return Promise.resolve('Valid'); + } + }); + }); + } + + /** + * Validate a particular field + * + * @param {string} field The field name + * @return {Promise} + */ + public validateField(field: string): Promise { + // Stop validation process if the field is already validated + const result = this.results.get(field); + if (result === 'Valid' || result === 'Invalid') { + return Promise.resolve(result); + } + + this.emit('core.field.validating', field); + + const elements = this.elements[field]; + if (elements.length === 0) { + this.emit('core.field.valid', field); + return Promise.resolve('Valid'); + } + + const type = elements[0].getAttribute('type'); + if ('radio' === type || 'checkbox' === type || elements.length === 1) { + return this.validateElement(field, elements[0]); + } else { + return Promise.all( + elements.map((ele) => this.validateElement(field, ele)) + ).then((results) => { + // `results` is an array of `Valid`, `Invalid` and `NotValidated` + switch (true) { + case results.indexOf('Invalid') !== -1: + this.emit('core.field.invalid', field); + this.results.set(field, 'Invalid'); + return Promise.resolve('Invalid'); + + case results.indexOf('NotValidated') !== -1: + this.emit('core.field.notvalidated', field); + this.results.delete(field); + return Promise.resolve('NotValidated'); + + default: + this.emit('core.field.valid', field); + this.results.set(field, 'Valid'); + return Promise.resolve('Valid'); + } + }); + } + } + + /** + * Validate particular element + * + * @param {string} field The field name + * @param {HTMLElement} ele The field element + * @return {Promise} + */ + public validateElement(field: string, ele: HTMLElement): Promise { + // Reset validation result + this.results.delete(field); + + const elements = this.elements[field]; + const ignored = this.filter.execute('element-ignored', false, [ + field, + ele, + elements, + ]); + if (ignored) { + this.emit('core.element.ignored', { + element: ele, + elements, + field, + }); + return Promise.resolve('Ignored'); + } + + const validatorList = this.fields[field].validators; + this.emit('core.element.validating', { + element: ele, + elements, + field, + }); + + const promises = Object.keys(validatorList).map((v) => { + return () => this.executeValidator(field, ele, v, validatorList[v]); + }); + + return this.waterfall(promises) + .then((results) => { + // `results` is an array of `Valid` or `Invalid` + const isValid = results.indexOf('Invalid') === -1; + this.emit('core.element.validated', { + element: ele, + elements, + field, + valid: isValid, + }); + + const type = ele.getAttribute('type'); + if ( + 'radio' === type || + 'checkbox' === type || + elements.length === 1 + ) { + this.emit( + isValid ? 'core.field.valid' : 'core.field.invalid', + field + ); + } + + return Promise.resolve(isValid ? 'Valid' : 'Invalid'); + }) + .catch((reason) => { + // reason is `NotValidated` + this.emit('core.element.notvalidated', { + element: ele, + elements, + field, + }); + return Promise.resolve(reason); + }); + } + + /** + * Perform given validator on field + * + * @param {string} field The field name + * @param {HTMLElement} ele The field element + * @param {string} v The validator name + * @param {ValidatorOptions} opts The validator options + * @return {Promise} + */ + public executeValidator( + field: string, + ele: HTMLElement, + v: string, + opts: ValidatorOptions + ): Promise { + const elements = this.elements[field]; + + const name = this.filter.execute('validator-name', v, [v, field]); + opts.message = this.filter.execute('validator-message', opts.message, [ + this.locale, + field, + name, + ]); + + // Simply pass the validator if + // - it isn't defined yet + // - or the associated validator isn't enabled + if (!this.validators[name] || opts.enabled === false) { + this.emit('core.validator.validated', { + element: ele, + elements, + field, + result: this.normalizeResult(field, name, { valid: true }), + validator: name, + }); + return Promise.resolve('Valid'); + } + + const validator = this.validators[name]; + + // Get the field value + const value = this.getElementValue(field, ele, name); + + const willValidate = this.filter.execute( + 'field-should-validate', + true, + [field, ele, value, v] + ); + if (!willValidate) { + this.emit('core.validator.notvalidated', { + element: ele, + elements, + field, + validator: v, + }); + return Promise.resolve('NotValidated'); + } + + this.emit('core.validator.validating', { + element: ele, + elements, + field, + validator: v, + }); + + // Perform validation + const result = validator().validate({ + element: ele, + elements, + field, + l10n: this.localization, + options: opts, + value, + }); + + // Check whether the result is a `Promise` + const isPromise = 'function' === typeof result['then']; + if (isPromise) { + return (result as Promise).then((r) => { + const data = this.normalizeResult(field, v, r); + this.emit('core.validator.validated', { + element: ele, + elements, + field, + result: data, + validator: v, + }); + return data.valid ? 'Valid' : 'Invalid'; + }); + } else { + const data = this.normalizeResult( + field, + v, + result as ValidateResult + ); + this.emit('core.validator.validated', { + element: ele, + elements, + field, + result: data, + validator: v, + }); + + return Promise.resolve(data.valid ? 'Valid' : 'Invalid'); + } + } + + public getElementValue( + field: string, + ele: HTMLElement, + validator?: string + ): string { + const defaultValue = getFieldValue( + this.form, + field, + ele, + this.elements[field] + ); + return this.filter.execute('field-value', defaultValue, [ + defaultValue, + field, + ele, + validator, + ]); + } + + // Some getter methods + public getElements(field: string): HTMLElement[] { + return this.elements[field]; + } + + public getFields(): FieldsOptions { + return this.fields; + } + + public getFormElement(): HTMLElement { + return this.form; + } + + public getLocale(): string { + return this.locale; + } + + public getPlugin(name: string): Plugin { + return this.plugins[name]; + } + + /** + * Update the field status + * + * @param {string} field The field name + * @param {string} status The new status + * @param {string} [validator] The validator name. If it isn't specified, all validators will be updated + * @return {Core} + */ + public updateFieldStatus( + field: string, + status: string, + validator?: string + ): this { + const elements = this.elements[field]; + const type = elements[0].getAttribute('type'); + const list = + 'radio' === type || 'checkbox' === type ? [elements[0]] : elements; + list.forEach((ele) => + this.updateElementStatus(field, ele, status, validator) + ); + + if (!validator) { + switch (status) { + case 'NotValidated': + this.emit('core.field.notvalidated', field); + this.results.delete(field); + break; + + case 'Validating': + this.emit('core.field.validating', field); + this.results.delete(field); + break; + + case 'Valid': + this.emit('core.field.valid', field); + this.results.set(field, 'Valid'); + break; + + case 'Invalid': + this.emit('core.field.invalid', field); + this.results.set(field, 'Invalid'); + break; + } + } + + return this; + } + + /** + * Update the element status + * + * @param {string} field The field name + * @param {HTMLElement} ele The field element + * @param {string} status The new status + * @param {string} [validator] The validator name. If it isn't specified, all validators will be updated + * @return {Core} + */ + public updateElementStatus( + field: string, + ele: HTMLElement, + status: string, + validator?: string + ): this { + const elements = this.elements[field]; + const fieldValidators = this.fields[field].validators; + const validatorArr = validator + ? [validator] + : Object.keys(fieldValidators); + + switch (status) { + case 'NotValidated': + validatorArr.forEach((v) => + this.emit('core.validator.notvalidated', { + element: ele, + elements, + field, + validator: v, + }) + ); + this.emit('core.element.notvalidated', { + element: ele, + elements, + field, + }); + break; + + case 'Validating': + validatorArr.forEach((v) => + this.emit('core.validator.validating', { + element: ele, + elements, + field, + validator: v, + }) + ); + this.emit('core.element.validating', { + element: ele, + elements, + field, + }); + break; + + case 'Valid': + validatorArr.forEach((v) => + this.emit('core.validator.validated', { + element: ele, + field, + result: { + message: fieldValidators[v].message, + valid: true, + }, + validator: v, + }) + ); + this.emit('core.element.validated', { + element: ele, + elements, + field, + valid: true, + }); + break; + + case 'Invalid': + validatorArr.forEach((v) => + this.emit('core.validator.validated', { + element: ele, + field, + result: { + message: fieldValidators[v].message, + valid: false, + }, + validator: v, + }) + ); + this.emit('core.element.validated', { + element: ele, + elements, + field, + valid: false, + }); + break; + } + + return this; + } + + /** + * Reset the form. It also clears all the messages, hide the feedback icons, etc. + * + * @param {boolean} reset If true, the method resets field value to empty + * or remove `checked`, `selected` attributes + * @return {Core} + */ + public resetForm(reset?: boolean): this { + Object.keys(this.fields).forEach((field) => + this.resetField(field, reset) + ); + this.emit('core.form.reset', { + reset, + }); + return this; + } + + /** + * Reset the field. It also clears all the messages, hide the feedback icons, etc. + * + * @param {string} field The field name + * @param {boolean} reset If true, the method resets field value to empty + * or remove `checked`, `selected` attributes + * @return {Core} + */ + public resetField(field: string, reset?: boolean): this { + // Reset the field element value if needed + if (reset) { + const elements = this.elements[field]; + const type = elements[0].getAttribute('type'); + elements.forEach((ele) => { + if ('radio' === type || 'checkbox' === type) { + ele.removeAttribute('selected'); + ele.removeAttribute('checked'); + (ele as HTMLInputElement).checked = false; + } else { + ele.setAttribute('value', ''); + if ( + ele instanceof HTMLInputElement || + ele instanceof HTMLTextAreaElement + ) { + ele.value = ''; + } + } + }); + } + + // Mark the field as not validated yet + this.updateFieldStatus(field, 'NotValidated'); + + this.emit('core.field.reset', { + field, + reset, + }); + return this; + } + + /** + * Revalidate a particular field. It's useful when the field value is effected by third parties + * (for example, attach another UI library to the field). + * Since there isn't an automatic way for FormValidation to know when the field value is modified in those cases, + * we need to revalidate the field manually. + * + * @param {string} field The field name + * @return {Promise} + */ + public revalidateField(field: string): Promise { + this.updateFieldStatus(field, 'NotValidated'); + return this.validateField(field); + } + + /** + * Disable particular validator for given field + * + * @param {string} field The field name + * @param {string} validator The validator name. If it isn't specified, all validators will be disabled + * @return {Core} + */ + public disableValidator(field: string, validator?: string): this { + return this.toggleValidator(false, field, validator); + } + + /** + * Enable particular validator for given field + * + * @param {string} field The field name + * @param {string} validator The validator name. If it isn't specified, all validators will be enabled + * @return {Core} + */ + public enableValidator(field: string, validator?: string): this { + return this.toggleValidator(true, field, validator); + } + + /** + * Update option of particular validator for given field + * + * @param {string} field The field name + * @param {string} validator The validator name + * @param {string} name The option's name + * @param {unknown} value The option's value + * @return {Core} + */ + public updateValidatorOption( + field: string, + validator: string, + name: string, + value: unknown + ): this { + if ( + this.fields[field] && + this.fields[field].validators && + this.fields[field].validators[validator] + ) { + (this.fields[field].validators[validator] as ValidateOptions)[ + name + ] = value; + } + + return this; + } + + public setFieldOptions(field: string, options: FieldOptions): this { + this.fields[field] = options; + return this; + } + + public destroy(): this { + // Remove plugins and filters + Object.keys(this.plugins).forEach((id) => this.plugins[id].uninstall()); + + this.ee.clear(); + this.filter.clear(); + this.results.clear(); + this.plugins = {}; + return this; + } + + public setLocale(locale: string, localization: Localization): this { + this.locale = locale; + this.localization = localization; + return this; + } + + private waterfall(promises: (() => Promise)[]): Promise { + return promises.reduce((p, c) => { + return p.then((res) => { + return c().then((result) => { + res.push(result); + return res; + }); + }); + }, Promise.resolve([])); + } + + private queryElements(field: string): HTMLElement[] { + const selector = this.fields[field].selector + ? // Check if the selector is an ID selector which starts with `#` + '#' === this.fields[field].selector.charAt(0) + ? `[id="${this.fields[field].selector.substring(1)}"]` + : this.fields[field].selector + : `[name="${field}"]`; + return [].slice.call( + this.form.querySelectorAll(selector) + ) as HTMLElement[]; + } + + private normalizeResult( + field: string, + validator: string, + result: ValidateResult + ): ValidateResult { + const opts = this.fields[field].validators[validator]; + return Object.assign({}, result, { + message: + result.message || + (opts ? opts.message : '') || + (this.localization && + this.localization[validator] && + this.localization[validator].default + ? this.localization[validator].default + : '') || + `The field ${field} is not valid`, + }); + } + + private toggleValidator( + enabled: boolean, + field: string, + validator?: string + ): this { + const validatorArr = this.fields[field].validators; + if (validator && validatorArr && validatorArr[validator]) { + this.fields[field].validators[validator].enabled = enabled; + } else if (!validator) { + Object.keys(validatorArr).forEach( + (v) => (this.fields[field].validators[v].enabled = enabled) + ); + } + + return this.updateFieldStatus(field, 'NotValidated', validator); + } +} + +// A factory method +export interface Options { + fields?: FieldsOptions; + locale?: string; + localization?: Localization; + plugins?: { + [name: string]: Plugin; + }; +} + +export default function formValidation( + form: HTMLElement, + options?: Options +): Core { + const opts = Object.assign( + {}, + { + fields: {}, + locale: 'en_US', + plugins: {}, + }, + options + ); + + const core = new Core(form, opts.fields); + core.setLocale(opts.locale, opts.localization); + + // Register plugins + Object.keys(opts.plugins).forEach((name) => + core.registerPlugin(name, opts.plugins[name]) + ); + + // Register basic validators + Object.keys(validators).forEach((name) => + core.registerValidator(name, validators[name]) + ); + + // and add fields + Object.keys(opts.fields).forEach((field) => + core.addField(field, opts.fields[field]) + ); + + return core; +} +export { Core }; diff --git a/resources/assets/core/plugins/formvalidation/src/js/core/Plugin.ts b/resources/assets/core/plugins/formvalidation/src/js/core/Plugin.ts new file mode 100644 index 0000000..e0a6d85 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/core/Plugin.ts @@ -0,0 +1,24 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { Core } from './Core'; + +export default class Plugin { + protected core: Core; + protected opts?: T; + + constructor(opts?: T) { + this.opts = opts; + } + + public setCore(core: Core): this { + this.core = core; + return this; + } + + public install(): void {} // eslint-disable-line @typescript-eslint/no-empty-function + public uninstall(): void {} // eslint-disable-line @typescript-eslint/no-empty-function +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/core/emitter.ts b/resources/assets/core/plugins/formvalidation/src/js/core/emitter.ts new file mode 100644 index 0000000..5eba18e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/core/emitter.ts @@ -0,0 +1,44 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +export interface Emitter { + fns: { + [event: string]: ((...arg: unknown[]) => unknown)[]; + }; + clear(): void; + emit(event: string, ...args: unknown[]): void; + off(event: string, func: (...arg: unknown[]) => unknown): void; + on(event: string, func: (...arg: unknown[]) => unknown): void; +} + +export default function emitter(): Emitter { + return { + fns: {}, + + clear(): void { + this.fns = {}; + }, + + emit(event: string, ...args: unknown[]): void { + (this.fns[event] || []).map((handler) => + handler.apply(handler, args) + ); + }, + + off(event: string, func: (...arg: unknown[]) => unknown): void { + if (this.fns[event]) { + const index = this.fns[event].indexOf(func); + if (index >= 0) { + this.fns[event].splice(index, 1); + } + } + }, + + on(event: string, func: (...arg: unknown[]) => unknown): void { + (this.fns[event] = this.fns[event] || []).push(func); + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/core/filter.ts b/resources/assets/core/plugins/formvalidation/src/js/core/filter.ts new file mode 100644 index 0000000..82104db --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/core/filter.ts @@ -0,0 +1,51 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +export interface Filter { + filters: { + [name: string]: ((...arg: unknown[]) => unknown)[]; + }; + add(name: string, func: (...arg: unknown[]) => unknown): void; + clear(): void; + execute(name: string, defaultValue: T, args: unknown[]): T; + remove(name: string, func: (...arg: unknown[]) => unknown): void; +} + +export default function filter(): Filter { + return { + filters: {}, + + add(name: string, func: (...arg: unknown[]) => unknown): void { + (this.filters[name] = this.filters[name] || []).push(func); + }, + + clear(): void { + this.filters = {}; + }, + + execute(name: string, defaultValue: T, args: unknown[]): T { + if (!this.filters[name] || !this.filters[name].length) { + return defaultValue; + } + + let result = defaultValue; + const filters = this.filters[name]; + const count = filters.length; + for (let i = 0; i < count; i++) { + result = filters[i].apply(result, args); + } + return result; + }, + + remove(name: string, func: (...arg: unknown[]) => unknown): void { + if (this.filters[name]) { + this.filters[name] = this.filters[name].filter( + (f) => f !== func + ); + } + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/core/index.ts b/resources/assets/core/plugins/formvalidation/src/js/core/index.ts new file mode 100644 index 0000000..04c4ae3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/core/index.ts @@ -0,0 +1,11 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import formValidation from './Core'; +import Plugin from './Plugin'; + +export default formValidation; +export { Plugin }; diff --git a/resources/assets/core/plugins/formvalidation/src/js/filters/getFieldValue.ts b/resources/assets/core/plugins/formvalidation/src/js/filters/getFieldValue.ts new file mode 100644 index 0000000..46b7b19 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/filters/getFieldValue.ts @@ -0,0 +1,45 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +/** + * @param {HTMLElement} form The form element + * @param {string} field The field name + * @param {HTMLElement} element The field element + * @param {HTMLElement[]} elements The list of elements which have the same name as `field` + * @return {string} + */ +export default function getFieldValue( + form: HTMLElement, + field: string, + element: HTMLElement, + elements: HTMLElement[] +): string { + const type = (element.getAttribute('type') || '').toLowerCase(); + const tagName = element.tagName.toLowerCase(); + + if (tagName === 'textarea') { + return (element as HTMLTextAreaElement).value; + } + + if (tagName === 'select') { + const select = element as HTMLSelectElement; + const index = select.selectedIndex; + return index >= 0 ? select.options.item(index).value : ''; + } + + if (tagName === 'input') { + if ('radio' === type || 'checkbox' === type) { + const checked = elements.filter( + (ele) => (ele as HTMLInputElement).checked + ).length; + return checked === 0 ? '' : checked + ''; + } else { + return (element as HTMLInputElement).value; + } + } + + return ''; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/filters/index.ts b/resources/assets/core/plugins/formvalidation/src/js/filters/index.ts new file mode 100644 index 0000000..e20e456 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/filters/index.ts @@ -0,0 +1,11 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import getFieldValue from './getFieldValue'; + +export default { + getFieldValue, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/index.ts b/resources/assets/core/plugins/formvalidation/src/js/index.ts new file mode 100644 index 0000000..d7e405e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/index.ts @@ -0,0 +1,25 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import algorithms from './algorithms/index'; +import formValidation, { Plugin } from './core/index'; +import filters from './filters/index'; +import plugins from './plugins/index'; +import utils from './utils/index'; +import validators from './validators/index'; + +const locales = {}; + +export { + algorithms, + formValidation, + filters, + locales, + plugins, + utils, + validators, + Plugin, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/ar_MA.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/ar_MA.ts new file mode 100644 index 0000000..98defa0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/ar_MA.ts @@ -0,0 +1,379 @@ +/** + * Arabic language package + * Translated by @Arkni + */ + +export default { + base64: { + default: 'الرجاء إدخال قيمة مشفرة طبقا للقاعدة 64.', + }, + between: { + default: 'الرجاء إدخال قيمة بين %s و %s .', + notInclusive: 'الرجاء إدخال قيمة بين %s و %s بدقة.', + }, + bic: { + default: 'الرجاء إدخال رقم BIC صالح.', + }, + callback: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + choice: { + between: 'الرجاء إختيار %s-%s خيارات.', + default: 'الرجاء إدخال قيمة صالحة.', + less: 'الرجاء اختيار %s خيارات كحد أدنى.', + more: 'الرجاء اختيار %s خيارات كحد أقصى.', + }, + color: { + default: 'الرجاء إدخال رمز لون صالح.', + }, + creditCard: { + default: 'الرجاء إدخال رقم بطاقة إئتمان صحيح.', + }, + cusip: { + default: 'الرجاء إدخال رقم CUSIP صالح.', + }, + date: { + default: 'الرجاء إدخال تاريخ صالح.', + max: 'الرجاء إدخال تاريخ قبل %s.', + min: 'الرجاء إدخال تاريخ بعد %s.', + range: 'الرجاء إدخال تاريخ في المجال %s - %s.', + }, + different: { + default: 'الرجاء إدخال قيمة مختلفة.', + }, + digits: { + default: 'الرجاء إدخال الأرقام فقط.', + }, + ean: { + default: 'الرجاء إدخال رقم EAN صالح.', + }, + ein: { + default: 'الرجاء إدخال رقم EIN صالح.', + }, + emailAddress: { + default: 'الرجاء إدخال بريد إلكتروني صحيح.', + }, + file: { + default: 'الرجاء إختيار ملف صالح.', + }, + greaterThan: { + default: 'الرجاء إدخال قيمة أكبر من أو تساوي %s.', + notInclusive: 'الرجاء إدخال قيمة أكبر من %s.', + }, + grid: { + default: 'الرجاء إدخال رقم GRid صالح.', + }, + hex: { + default: 'الرجاء إدخال رقم ست عشري صالح.', + }, + iban: { + countries: { + AD: 'أندورا', + AE: 'الإمارات العربية المتحدة', + AL: 'ألبانيا', + AO: 'أنغولا', + AT: 'النمسا', + AZ: 'أذربيجان', + BA: 'البوسنة والهرسك', + BE: 'بلجيكا', + BF: 'بوركينا فاسو', + BG: 'بلغاريا', + BH: 'البحرين', + BI: 'بوروندي', + BJ: 'بنين', + BR: 'البرازيل', + CH: 'سويسرا', + CI: 'ساحل العاج', + CM: 'الكاميرون', + CR: 'كوستاريكا', + CV: 'الرأس الأخضر', + CY: 'قبرص', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + DO: 'جمهورية الدومينيكان', + DZ: 'الجزائر', + EE: 'إستونيا', + ES: 'إسبانيا', + FI: 'فنلندا', + FO: 'جزر فارو', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + GE: 'جورجيا', + GI: 'جبل طارق', + GL: 'جرينلاند', + GR: 'اليونان', + GT: 'غواتيمالا', + HR: 'كرواتيا', + HU: 'المجر', + IE: 'أيرلندا', + IL: 'إسرائيل', + IR: 'إيران', + IS: 'آيسلندا', + IT: 'إيطاليا', + JO: 'الأردن', + KW: 'الكويت', + KZ: 'كازاخستان', + LB: 'لبنان', + LI: 'ليختنشتاين', + LT: 'ليتوانيا', + LU: 'لوكسمبورغ', + LV: 'لاتفيا', + MC: 'موناكو', + MD: 'مولدوفا', + ME: 'الجبل الأسود', + MG: 'مدغشقر', + MK: 'جمهورية مقدونيا', + ML: 'مالي', + MR: 'موريتانيا', + MT: 'مالطا', + MU: 'موريشيوس', + MZ: 'موزمبيق', + NL: 'هولندا', + NO: 'النرويج', + PK: 'باكستان', + PL: 'بولندا', + PS: 'فلسطين', + PT: 'البرتغال', + QA: 'قطر', + RO: 'رومانيا', + RS: 'صربيا', + SA: 'المملكة العربية السعودية', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + SM: 'سان مارينو', + SN: 'السنغال', + TL: 'تيمور الشرقية', + TN: 'تونس', + TR: 'تركيا', + VG: 'جزر العذراء البريطانية', + XK: 'جمهورية كوسوفو', + }, + country: 'الرجاء إدخال رقم IBAN صالح في %s.', + default: 'الرجاء إدخال رقم IBAN صالح.', + }, + id: { + countries: { + BA: 'البوسنة والهرسك', + BG: 'بلغاريا', + BR: 'البرازيل', + CH: 'سويسرا', + CL: 'تشيلي', + CN: 'الصين', + CZ: 'التشيك', + DK: 'الدنمارك', + EE: 'إستونيا', + ES: 'إسبانيا', + FI: 'فنلندا', + HR: 'كرواتيا', + IE: 'أيرلندا', + IS: 'آيسلندا', + LT: 'ليتوانيا', + LV: 'لاتفيا', + ME: 'الجبل الأسود', + MK: 'جمهورية مقدونيا', + NL: 'هولندا', + PL: 'بولندا', + RO: 'رومانيا', + RS: 'صربيا', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + SM: 'سان مارينو', + TH: 'تايلاند', + TR: 'تركيا', + ZA: 'جنوب أفريقيا', + }, + country: 'الرجاء إدخال رقم تعريف صالح في %s.', + default: 'الرجاء إدخال رقم هوية صالحة.', + }, + identical: { + default: 'الرجاء إدخال نفس القيمة.', + }, + imei: { + default: 'الرجاء إدخال رقم IMEI صالح.', + }, + imo: { + default: 'الرجاء إدخال رقم IMO صالح.', + }, + integer: { + default: 'الرجاء إدخال رقم صحيح.', + }, + ip: { + default: 'الرجاء إدخال عنوان IP صالح.', + ipv4: 'الرجاء إدخال عنوان IPv4 صالح.', + ipv6: 'الرجاء إدخال عنوان IPv6 صالح.', + }, + isbn: { + default: 'الرجاء إدخال رقم ISBN صالح.', + }, + isin: { + default: 'الرجاء إدخال رقم ISIN صالح.', + }, + ismn: { + default: 'الرجاء إدخال رقم ISMN صالح.', + }, + issn: { + default: 'الرجاء إدخال رقم ISSN صالح.', + }, + lessThan: { + default: 'الرجاء إدخال قيمة أصغر من أو تساوي %s.', + notInclusive: 'الرجاء إدخال قيمة أصغر من %s.', + }, + mac: { + default: 'يرجى إدخال عنوان MAC صالح.', + }, + meid: { + default: 'الرجاء إدخال رقم MEID صالح.', + }, + notEmpty: { + default: 'الرجاء إدخال قيمة.', + }, + numeric: { + default: 'الرجاء إدخال عدد عشري صالح.', + }, + phone: { + countries: { + AE: 'الإمارات العربية المتحدة', + BG: 'بلغاريا', + BR: 'البرازيل', + CN: 'الصين', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + ES: 'إسبانيا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + IN: 'الهند', + MA: 'المغرب', + NL: 'هولندا', + PK: 'باكستان', + RO: 'رومانيا', + RU: 'روسيا', + SK: 'سلوفاكيا', + TH: 'تايلاند', + US: 'الولايات المتحدة', + VE: 'فنزويلا', + }, + country: 'الرجاء إدخال رقم هاتف صالح في %s.', + default: 'الرجاء إدخال رقم هاتف صحيح.', + }, + promise: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + regexp: { + default: 'الرجاء إدخال قيمة مطابقة للنمط.', + }, + remote: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + rtn: { + default: 'الرجاء إدخال رقم RTN صالح.', + }, + sedol: { + default: 'الرجاء إدخال رقم SEDOL صالح.', + }, + siren: { + default: 'الرجاء إدخال رقم SIREN صالح.', + }, + siret: { + default: 'الرجاء إدخال رقم SIRET صالح.', + }, + step: { + default: 'الرجاء إدخال قيمة من مضاعفات %s .', + }, + stringCase: { + default: 'الرجاء إدخال أحرف صغيرة فقط.', + upper: 'الرجاء إدخال أحرف كبيرة فقط.', + }, + stringLength: { + between: 'الرجاء إدخال قيمة ذات عدد حروف بين %s و %s حرفا.', + default: 'الرجاء إدخال قيمة ذات طول صحيح.', + less: 'الرجاء إدخال أقل من %s حرفا.', + more: 'الرجاء إدخال أكتر من %s حرفا.', + }, + uri: { + default: 'الرجاء إدخال URI صالح.', + }, + uuid: { + default: 'الرجاء إدخال رقم UUID صالح.', + version: 'الرجاء إدخال رقم UUID صالح إصدار %s.', + }, + vat: { + countries: { + AT: 'النمسا', + BE: 'بلجيكا', + BG: 'بلغاريا', + BR: 'البرازيل', + CH: 'سويسرا', + CY: 'قبرص', + CZ: 'التشيك', + DE: 'جورجيا', + DK: 'الدنمارك', + EE: 'إستونيا', + EL: 'اليونان', + ES: 'إسبانيا', + FI: 'فنلندا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + GR: 'اليونان', + HR: 'كرواتيا', + HU: 'المجر', + IE: 'أيرلندا', + IS: 'آيسلندا', + IT: 'إيطاليا', + LT: 'ليتوانيا', + LU: 'لوكسمبورغ', + LV: 'لاتفيا', + MT: 'مالطا', + NL: 'هولندا', + NO: 'النرويج', + PL: 'بولندا', + PT: 'البرتغال', + RO: 'رومانيا', + RS: 'صربيا', + RU: 'روسيا', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + VE: 'فنزويلا', + ZA: 'جنوب أفريقيا', + }, + country: 'الرجاء إدخال رقم VAT صالح في %s.', + default: 'الرجاء إدخال رقم VAT صالح.', + }, + vin: { + default: 'الرجاء إدخال رقم VIN صالح.', + }, + zipCode: { + countries: { + AT: 'النمسا', + BG: 'بلغاريا', + BR: 'البرازيل', + CA: 'كندا', + CH: 'سويسرا', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + ES: 'إسبانيا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + IE: 'أيرلندا', + IN: 'الهند', + IT: 'إيطاليا', + MA: 'المغرب', + NL: 'هولندا', + PL: 'بولندا', + PT: 'البرتغال', + RO: 'رومانيا', + RU: 'روسيا', + SE: 'السويد', + SG: 'سنغافورة', + SK: 'سلوفاكيا', + US: 'الولايات المتحدة', + }, + country: 'الرجاء إدخال رمز بريدي صالح في %s.', + default: 'الرجاء إدخال رمز بريدي صالح.', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/bg_BG.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/bg_BG.ts new file mode 100644 index 0000000..ddcf02c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/bg_BG.ts @@ -0,0 +1,379 @@ +/** + * Bulgarian language package + * Translated by @mraiur + */ + +export default { + base64: { + default: 'Моля, въведете валиден base 64 кодиран', + }, + between: { + default: 'Моля, въведете стойност между %s и %s', + notInclusive: 'Моля, въведете стойност точно между %s и %s', + }, + bic: { + default: 'Моля, въведете валиден BIC номер', + }, + callback: { + default: 'Моля, въведете валидна стойност', + }, + choice: { + between: 'Моля изберете от %s до %s стойност', + default: 'Моля, въведете валидна стойност', + less: 'Моля изберете минимална стойност %s', + more: 'Моля изберете максимална стойност %s', + }, + color: { + default: 'Моля, въведете валиден цвят', + }, + creditCard: { + default: 'Моля, въведете валиден номер на кредитна карта', + }, + cusip: { + default: 'Моля, въведете валиден CUSIP номер', + }, + date: { + default: 'Моля, въведете валидна дата', + max: 'Моля въведете дата преди %s', + min: 'Моля въведете дата след %s', + range: 'Моля въведете дата между %s и %s', + }, + different: { + default: 'Моля, въведете различна стойност', + }, + digits: { + default: 'Моля, въведете само цифри', + }, + ean: { + default: 'Моля, въведете валиден EAN номер', + }, + ein: { + default: 'Моля, въведете валиден EIN номер', + }, + emailAddress: { + default: 'Моля, въведете валиден имейл адрес', + }, + file: { + default: 'Моля, изберете валиден файл', + }, + greaterThan: { + default: 'Моля, въведете стойност по-голяма от или равна на %s', + notInclusive: 'Моля, въведете стойност по-голяма от %s', + }, + grid: { + default: 'Моля, изберете валиден GRId номер', + }, + hex: { + default: 'Моля, въведете валиден шестнадесетичен номер', + }, + iban: { + countries: { + AD: 'Андора', + AE: 'Обединени арабски емирства', + AL: 'Албания', + AO: 'Ангола', + AT: 'Австрия', + AZ: 'Азербайджан', + BA: 'Босна и Херцеговина', + BE: 'Белгия', + BF: 'Буркина Фасо', + BG: 'България', + BH: 'Бахрейн', + BI: 'Бурунди', + BJ: 'Бенин', + BR: 'Бразилия', + CH: 'Швейцария', + CI: 'Ivory Coast', + CM: 'Камерун', + CR: 'Коста Рика', + CV: 'Cape Verde', + CY: 'Кипър', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + DO: 'Доминиканска република', + DZ: 'Алжир', + EE: 'Естония', + ES: 'Испания', + FI: 'Финландия', + FO: 'Фарьорските острови', + FR: 'Франция', + GB: 'Обединеното кралство', + GE: 'Грузия', + GI: 'Гибралтар', + GL: 'Гренландия', + GR: 'Гърция', + GT: 'Гватемала', + HR: 'Хърватия', + HU: 'Унгария', + IE: 'Ирландия', + IL: 'Израел', + IR: 'Иран', + IS: 'Исландия', + IT: 'Италия', + JO: 'Йордания', + KW: 'Кувейт', + KZ: 'Казахстан', + LB: 'Ливан', + LI: 'Лихтенщайн', + LT: 'Литва', + LU: 'Люксембург', + LV: 'Латвия', + MC: 'Монако', + MD: 'Молдова', + ME: 'Черна гора', + MG: 'Мадагаскар', + MK: 'Македония', + ML: 'Мали', + MR: 'Мавритания', + MT: 'Малта', + MU: 'Мавриций', + MZ: 'Мозамбик', + NL: 'Нидерландия', + NO: 'Норвегия', + PK: 'Пакистан', + PL: 'Полша', + PS: 'палестинска', + PT: 'Португалия', + QA: 'Катар', + RO: 'Румъния', + RS: 'Сърбия', + SA: 'Саудитска Арабия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + SM: 'San Marino', + SN: 'Сенегал', + TL: 'Източен Тимор', + TN: 'Тунис', + TR: 'Турция', + VG: 'Британски Вирджински острови', + XK: 'Република Косово', + }, + country: 'Моля, въведете валиден номер на IBAN в %s', + default: 'Моля, въведете валиден IBAN номер', + }, + id: { + countries: { + BA: 'Босна и Херцеговина', + BG: 'България', + BR: 'Бразилия', + CH: 'Швейцария', + CL: 'Чили', + CN: 'Китай', + CZ: 'Чешката република', + DK: 'Дания', + EE: 'Естония', + ES: 'Испания', + FI: 'Финландия', + HR: 'Хърватия', + IE: 'Ирландия', + IS: 'Исландия', + LT: 'Литва', + LV: 'Латвия', + ME: 'Черна гора', + MK: 'Македония', + NL: 'Холандия', + PL: 'Полша', + RO: 'Румъния', + RS: 'Сърбия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + SM: 'San Marino', + TH: 'Тайланд', + TR: 'Турция', + ZA: 'Южна Африка', + }, + country: 'Моля, въведете валиден идентификационен номер в %s', + default: 'Моля, въведете валиден идентификационен номер', + }, + identical: { + default: 'Моля, въведете една и съща стойност', + }, + imei: { + default: 'Моля, въведете валиден IMEI номер', + }, + imo: { + default: 'Моля, въведете валиден IMO номер', + }, + integer: { + default: 'Моля, въведете валиден номер', + }, + ip: { + default: 'Моля, въведете валиден IP адрес', + ipv4: 'Моля, въведете валиден IPv4 адрес', + ipv6: 'Моля, въведете валиден IPv6 адрес', + }, + isbn: { + default: 'Моля, въведете валиден ISBN номер', + }, + isin: { + default: 'Моля, въведете валиден ISIN номер', + }, + ismn: { + default: 'Моля, въведете валиден ISMN номер', + }, + issn: { + default: 'Моля, въведете валиден ISSN номер', + }, + lessThan: { + default: 'Моля, въведете стойност по-малка или равна на %s', + notInclusive: 'Моля, въведете стойност по-малко от %s', + }, + mac: { + default: 'Моля, въведете валиден MAC адрес', + }, + meid: { + default: 'Моля, въведете валиден MEID номер', + }, + notEmpty: { + default: 'Моля, въведете стойност', + }, + numeric: { + default: 'Моля, въведете валидно число с плаваща запетая', + }, + phone: { + countries: { + AE: 'Обединени арабски емирства', + BG: 'България', + BR: 'Бразилия', + CN: 'Китай', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + ES: 'Испания', + FR: 'Франция', + GB: 'Обединеното кралство', + IN: 'Индия', + MA: 'Мароко', + NL: 'Нидерландия', + PK: 'Пакистан', + RO: 'Румъния', + RU: 'Русия', + SK: 'Словакия', + TH: 'Тайланд', + US: 'САЩ', + VE: 'Венецуела', + }, + country: 'Моля, въведете валиден телефонен номер в %s', + default: 'Моля, въведете валиден телефонен номер', + }, + promise: { + default: 'Моля, въведете валидна стойност', + }, + regexp: { + default: 'Моля, въведете стойност, отговаряща на модела', + }, + remote: { + default: 'Моля, въведете валидна стойност', + }, + rtn: { + default: 'Моля, въведете валиде RTN номер', + }, + sedol: { + default: 'Моля, въведете валиден SEDOL номер', + }, + siren: { + default: 'Моля, въведете валиден SIREN номер', + }, + siret: { + default: 'Моля, въведете валиден SIRET номер', + }, + step: { + default: 'Моля, въведете валиденa стъпка от %s', + }, + stringCase: { + default: 'Моля, въведете само с малки букви', + upper: 'Моля въведете само главни букви', + }, + stringLength: { + between: 'Моля, въведете стойност между %s и %s знака', + default: 'Моля, въведете стойност с валидни дължина', + less: 'Моля, въведете по-малко от %s знака', + more: 'Моля въведете повече от %s знака', + }, + uri: { + default: 'Моля, въведете валиден URI', + }, + uuid: { + default: 'Моля, въведете валиден UUID номер', + version: 'Моля, въведете валиден UUID номер с версия %s', + }, + vat: { + countries: { + AT: 'Австрия', + BE: 'Белгия', + BG: 'България', + BR: 'Бразилия', + CH: 'Швейцария', + CY: 'Кипър', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + EE: 'Естония', + EL: 'Гърция', + ES: 'Испания', + FI: 'Финландия', + FR: 'Франция', + GB: 'Обединеното кралство', + GR: 'Гърция', + HR: 'Ирландия', + HU: 'Унгария', + IE: 'Ирландски', + IS: 'Исландия', + IT: 'Италия', + LT: 'Литва', + LU: 'Люксембург', + LV: 'Латвия', + MT: 'Малта', + NL: 'Холандия', + NO: 'Норвегия', + PL: 'Полша', + PT: 'Португалия', + RO: 'Румъния', + RS: 'Сърбия', + RU: 'Русия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + VE: 'Венецуела', + ZA: 'Южна Африка', + }, + country: 'Моля, въведете валиден ДДС в %s', + default: 'Моля, въведете валиден ДДС', + }, + vin: { + default: 'Моля, въведете валиден номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрия', + BG: 'България', + BR: 'Бразилия', + CA: 'Канада', + CH: 'Швейцария', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + ES: 'Испания', + FR: 'Франция', + GB: 'Обединеното кралство', + IE: 'Ирландски', + IN: 'Индия', + IT: 'Италия', + MA: 'Мароко', + NL: 'Холандия', + PL: 'Полша', + PT: 'Португалия', + RO: 'Румъния', + RU: 'Русия', + SE: 'Швеция', + SG: 'Сингапур', + SK: 'Словакия', + US: 'САЩ', + }, + country: 'Моля, въведете валиден пощенски код в %s', + default: 'Моля, въведете валиден пощенски код', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/ca_ES.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/ca_ES.ts new file mode 100644 index 0000000..457ee33 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/ca_ES.ts @@ -0,0 +1,380 @@ +/** + * Catalan language package + * Translated by @ArnauAregall + */ + +export default { + base64: { + default: 'Si us plau introdueix un valor vàlid en base 64', + }, + between: { + default: 'Si us plau introdueix un valor entre %s i %s', + notInclusive: 'Si us plau introdueix un valor comprès entre %s i %s', + }, + bic: { + default: 'Si us plau introdueix un nombre BIC vàlid', + }, + callback: { + default: 'Si us plau introdueix un valor vàlid', + }, + choice: { + between: 'Si us plau escull entre %s i %s opcions', + default: 'Si us plau introdueix un valor vàlid', + less: 'Si us plau escull %s opcions com a mínim', + more: 'Si us plau escull %s opcions com a màxim', + }, + color: { + default: 'Si us plau introdueix un color vàlid', + }, + creditCard: { + default: 'Si us plau introdueix un nombre vàlid de targeta de crèdit', + }, + cusip: { + default: 'Si us plau introdueix un nombre CUSIP vàlid', + }, + date: { + default: 'Si us plau introdueix una data vàlida', + max: 'Si us plau introdueix una data anterior %s', + min: 'Si us plau introdueix una data posterior a %s', + range: 'Si us plau introdueix una data compresa entre %s i %s', + }, + different: { + default: 'Si us plau introdueix un valor diferent', + }, + digits: { + default: 'Si us plau introdueix només dígits', + }, + ean: { + default: 'Si us plau introdueix un nombre EAN vàlid', + }, + ein: { + default: 'Si us plau introdueix un nombre EIN vàlid', + }, + emailAddress: { + default: 'Si us plau introdueix una adreça electrònica vàlida', + }, + file: { + default: 'Si us plau selecciona un arxiu vàlid', + }, + greaterThan: { + default: 'Si us plau introdueix un valor més gran o igual a %s', + notInclusive: 'Si us plau introdueix un valor més gran que %s', + }, + grid: { + default: 'Si us plau introdueix un nombre GRId vàlid', + }, + hex: { + default: 'Si us plau introdueix un valor hexadecimal vàlid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirats Àrabs Units', + AL: 'Albània', + AO: 'Angola', + AT: 'Àustria', + AZ: 'Azerbaidjan', + BA: 'Bòsnia i Hercegovina', + BE: 'Bèlgica', + BF: 'Burkina Faso', + BG: 'Bulgària', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suïssa', + CI: "Costa d'Ivori", + CM: 'Camerun', + CR: 'Costa Rica', + CV: 'Cap Verd', + CY: 'Xipre', + CZ: 'República Txeca', + DE: 'Alemanya', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Algèria', + EE: 'Estònia', + ES: 'Espanya', + FI: 'Finlàndia', + FO: 'Illes Fèroe', + FR: 'França', + GB: 'Regne Unit', + GE: 'Geòrgia', + GI: 'Gibraltar', + GL: 'Grenlàndia', + GR: 'Grècia', + GT: 'Guatemala', + HR: 'Croàcia', + HU: 'Hongria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islàndia', + IT: 'Itàlia', + JO: 'Jordània', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líban', + LI: 'Liechtenstein', + LT: 'Lituània', + LU: 'Luxemburg', + LV: 'Letònia', + MC: 'Mònaco', + MD: 'Moldàvia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedònia', + ML: 'Malo', + MR: 'Mauritània', + MT: 'Malta', + MU: 'Maurici', + MZ: 'Moçambic', + NL: 'Països Baixos', + NO: 'Noruega', + PK: 'Pakistan', + PL: 'Polònia', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Sèrbia', + SA: 'Aràbia Saudita', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Illes Verges Britàniques', + XK: 'República de Kosovo', + }, + country: 'Si us plau introdueix un nombre IBAN vàlid a %s', + default: 'Si us plau introdueix un nombre IBAN vàlid', + }, + id: { + countries: { + BA: 'Bòsnia i Hercegovina', + BG: 'Bulgària', + BR: 'Brasil', + CH: 'Suïssa', + CL: 'Xile', + CN: 'Xina', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estònia', + ES: 'Espanya', + FI: 'Finlpandia', + HR: 'Cropàcia', + IE: 'Irlanda', + IS: 'Islàndia', + LT: 'Lituania', + LV: 'Letònia', + ME: 'Montenegro', + MK: 'Macedònia', + NL: 'Països Baixos', + PL: 'Polònia', + RO: 'Romania', + RS: 'Sèrbia', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + SM: 'San Marino', + TH: 'Tailàndia', + TR: 'Turquia', + ZA: 'Sud-àfrica', + }, + country: "Si us plau introdueix un nombre d'identificació vàlid a %s", + default: "Si us plau introdueix un nombre d'identificació vàlid", + }, + identical: { + default: 'Si us plau introdueix exactament el mateix valor', + }, + imei: { + default: 'Si us plau introdueix un nombre IMEI vàlid', + }, + imo: { + default: 'Si us plau introdueix un nombre IMO vàlid', + }, + integer: { + default: 'Si us plau introdueix un nombre vàlid', + }, + ip: { + default: 'Si us plau introdueix una direcció IP vàlida', + ipv4: 'Si us plau introdueix una direcció IPV4 vàlida', + ipv6: 'Si us plau introdueix una direcció IPV6 vàlida', + }, + isbn: { + default: 'Si us plau introdueix un nombre ISBN vàlid', + }, + isin: { + default: 'Si us plau introdueix un nombre ISIN vàlid', + }, + ismn: { + default: 'Si us plau introdueix un nombre ISMN vàlid', + }, + issn: { + default: 'Si us plau introdueix un nombre ISSN vàlid', + }, + lessThan: { + default: 'Si us plau introdueix un valor menor o igual a %s', + notInclusive: 'Si us plau introdueix un valor menor que %s', + }, + mac: { + default: 'Si us plau introdueix una adreça MAC vàlida', + }, + meid: { + default: 'Si us plau introdueix nombre MEID vàlid', + }, + notEmpty: { + default: 'Si us plau introdueix un valor', + }, + numeric: { + default: 'Si us plau introdueix un nombre decimal vàlid', + }, + phone: { + countries: { + AE: 'Emirats Àrabs Units', + BG: 'Bulgària', + BR: 'Brasil', + CN: 'Xina', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + ES: 'Espanya', + FR: 'França', + GB: 'Regne Unit', + IN: 'Índia', + MA: 'Marroc', + NL: 'Països Baixos', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Rússia', + SK: 'Eslovàquia', + TH: 'Tailàndia', + US: 'Estats Units', + VE: 'Veneçuela', + }, + country: 'Si us plau introdueix un telèfon vàlid a %s', + default: 'Si us plau introdueix un telèfon vàlid', + }, + promise: { + default: 'Si us plau introdueix un valor vàlid', + }, + regexp: { + default: 'Si us plau introdueix un valor que coincideixi amb el patró', + }, + remote: { + default: 'Si us plau introdueix un valor vàlid', + }, + rtn: { + default: 'Si us plau introdueix un nombre RTN vàlid', + }, + sedol: { + default: 'Si us plau introdueix un nombre SEDOL vàlid', + }, + siren: { + default: 'Si us plau introdueix un nombre SIREN vàlid', + }, + siret: { + default: 'Si us plau introdueix un nombre SIRET vàlid', + }, + step: { + default: 'Si us plau introdueix un pas vàlid de %s', + }, + stringCase: { + default: 'Si us plau introdueix només caràcters en minúscula', + upper: 'Si us plau introdueix només caràcters en majúscula', + }, + stringLength: { + between: + 'Si us plau introdueix un valor amb una longitud compresa entre %s i %s caràcters', + default: 'Si us plau introdueix un valor amb una longitud vàlida', + less: 'Si us plau introdueix menys de %s caràcters', + more: 'Si us plau introdueix més de %s caràcters', + }, + uri: { + default: 'Si us plau introdueix una URI vàlida', + }, + uuid: { + default: 'Si us plau introdueix un nom UUID vàlid', + version: 'Si us plau introdueix una versió UUID vàlida per %s', + }, + vat: { + countries: { + AT: 'Àustria', + BE: 'Bèlgica', + BG: 'Bulgària', + BR: 'Brasil', + CH: 'Suïssa', + CY: 'Xipre', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + EE: 'Estònia', + EL: 'Grècia', + ES: 'Espanya', + FI: 'Finlàndia', + FR: 'França', + GB: 'Regne Unit', + GR: 'Grècia', + HR: 'Croàcia', + HU: 'Hongria', + IE: 'Irlanda', + IS: 'Islàndia', + IT: 'Itàlia', + LT: 'Lituània', + LU: 'Luxemburg', + LV: 'Letònia', + MT: 'Malta', + NL: 'Països Baixos', + NO: 'Noruega', + PL: 'Polònia', + PT: 'Portugal', + RO: 'Romania', + RS: 'Sèrbia', + RU: 'Rússia', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + VE: 'Veneçuela', + ZA: 'Sud-àfrica', + }, + country: "Si us plau introdueix una quantitat d' IVA vàlida a %s", + default: "Si us plau introdueix una quantitat d'IVA vàlida", + }, + vin: { + default: 'Si us plau introdueix un nombre VIN vàlid', + }, + zipCode: { + countries: { + AT: 'Àustria', + BG: 'Bulgària', + BR: 'Brasil', + CA: 'Canadà', + CH: 'Suïssa', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + ES: 'Espanya', + FR: 'França', + GB: 'Rege Unit', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itàlia', + MA: 'Marroc', + NL: 'Països Baixos', + PL: 'Polònia', + PT: 'Portugal', + RO: 'Romania', + RU: 'Rússia', + SE: 'Suècia', + SG: 'Singapur', + SK: 'Eslovàquia', + US: 'Estats Units', + }, + country: 'Si us plau introdueix un codi postal vàlid a %s', + default: 'Si us plau introdueix un codi postal vàlid', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/cs_CZ.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/cs_CZ.ts new file mode 100644 index 0000000..0d36be2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/cs_CZ.ts @@ -0,0 +1,380 @@ +/** + * Czech language package + * Translated by @AdwinTrave. Improved by @cuchac, @budik21 + */ + +export default { + base64: { + default: 'Prosím zadejte správný base64', + }, + between: { + default: 'Prosím zadejte hodnotu mezi %s a %s', + notInclusive: + 'Prosím zadejte hodnotu mezi %s a %s (včetně těchto čísel)', + }, + bic: { + default: 'Prosím zadejte správné BIC číslo', + }, + callback: { + default: 'Prosím zadejte správnou hodnotu', + }, + choice: { + between: 'Prosím vyberte mezi %s a %s', + default: 'Prosím vyberte správnou hodnotu', + less: 'Hodnota musí být minimálně %s', + more: 'Hodnota nesmí být více jak %s', + }, + color: { + default: 'Prosím zadejte správnou barvu', + }, + creditCard: { + default: 'Prosím zadejte správné číslo kreditní karty', + }, + cusip: { + default: 'Prosím zadejte správné CUSIP číslo', + }, + date: { + default: 'Prosím zadejte správné datum', + max: 'Prosím zadejte datum po %s', + min: 'Prosím zadejte datum před %s', + range: 'Prosím zadejte datum v rozmezí %s až %s', + }, + different: { + default: 'Prosím zadejte jinou hodnotu', + }, + digits: { + default: 'Toto pole může obsahovat pouze čísla', + }, + ean: { + default: 'Prosím zadejte správné EAN číslo', + }, + ein: { + default: 'Prosím zadejte správné EIN číslo', + }, + emailAddress: { + default: 'Prosím zadejte správnou emailovou adresu', + }, + file: { + default: 'Prosím vyberte soubor', + }, + greaterThan: { + default: 'Prosím zadejte hodnotu větší nebo rovnu %s', + notInclusive: 'Prosím zadejte hodnotu větší než %s', + }, + grid: { + default: 'Prosím zadejte správné GRId číslo', + }, + hex: { + default: 'Prosím zadejte správné hexadecimální číslo', + }, + iban: { + countries: { + AD: 'Andorru', + AE: 'Spojené arabské emiráty', + AL: 'Albanii', + AO: 'Angolu', + AT: 'Rakousko', + AZ: 'Ázerbajdžán', + BA: 'Bosnu a Herzegovinu', + BE: 'Belgii', + BF: 'Burkinu Faso', + BG: 'Bulharsko', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazílii', + CH: 'Švýcarsko', + CI: 'Pobřeží slonoviny', + CM: 'Kamerun', + CR: 'Kostariku', + CV: 'Cape Verde', + CY: 'Kypr', + CZ: 'Českou republiku', + DE: 'Německo', + DK: 'Dánsko', + DO: 'Dominikánskou republiku', + DZ: 'Alžírsko', + EE: 'Estonsko', + ES: 'Španělsko', + FI: 'Finsko', + FO: 'Faerské ostrovy', + FR: 'Francie', + GB: 'Velkou Británii', + GE: 'Gruzii', + GI: 'Gibraltar', + GL: 'Grónsko', + GR: 'Řecko', + GT: 'Guatemalu', + HR: 'Chorvatsko', + HU: 'Maďarsko', + IE: 'Irsko', + IL: 'Israel', + IR: 'Irán', + IS: 'Island', + IT: 'Itálii', + JO: 'Jordansko', + KW: 'Kuwait', + KZ: 'Kazachstán', + LB: 'Libanon', + LI: 'Lichtenštejnsko', + LT: 'Litvu', + LU: 'Lucembursko', + LV: 'Lotyšsko', + MC: 'Monaco', + MD: 'Moldavsko', + ME: 'Černou Horu', + MG: 'Madagaskar', + MK: 'Makedonii', + ML: 'Mali', + MR: 'Mauritánii', + MT: 'Maltu', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Nizozemsko', + NO: 'Norsko', + PK: 'Pakistán', + PL: 'Polsko', + PS: 'Palestinu', + PT: 'Portugalsko', + QA: 'Katar', + RO: 'Rumunsko', + RS: 'Srbsko', + SA: 'Saudskou Arábii', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Východní Timor', + TN: 'Tunisko', + TR: 'Turecko', + VG: 'Britské Panenské ostrovy', + XK: 'Republic of Kosovo', + }, + country: 'Prosím zadejte správné IBAN číslo pro %s', + default: 'Prosím zadejte správné IBAN číslo', + }, + id: { + countries: { + BA: 'Bosnu a Hercegovinu', + BG: 'Bulharsko', + BR: 'Brazílii', + CH: 'Švýcarsko', + CL: 'Chile', + CN: 'Čínu', + CZ: 'Českou Republiku', + DK: 'Dánsko', + EE: 'Estonsko', + ES: 'Španělsko', + FI: 'Finsko', + HR: 'Chorvatsko', + IE: 'Irsko', + IS: 'Island', + LT: 'Litvu', + LV: 'Lotyšsko', + ME: 'Černou horu', + MK: 'Makedonii', + NL: 'Nizozemí', + PL: 'Polsko', + RO: 'Rumunsko', + RS: 'Srbsko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + TH: 'Thajsko', + TR: 'Turecko', + ZA: 'Jižní Afriku', + }, + country: 'Prosím zadejte správné rodné číslo pro %s', + default: 'Prosím zadejte správné rodné číslo', + }, + identical: { + default: 'Prosím zadejte stejnou hodnotu', + }, + imei: { + default: 'Prosím zadejte správné IMEI číslo', + }, + imo: { + default: 'Prosím zadejte správné IMO číslo', + }, + integer: { + default: 'Prosím zadejte celé číslo', + }, + ip: { + default: 'Prosím zadejte správnou IP adresu', + ipv4: 'Prosím zadejte správnou IPv4 adresu', + ipv6: 'Prosím zadejte správnou IPv6 adresu', + }, + isbn: { + default: 'Prosím zadejte správné ISBN číslo', + }, + isin: { + default: 'Prosím zadejte správné ISIN číslo', + }, + ismn: { + default: 'Prosím zadejte správné ISMN číslo', + }, + issn: { + default: 'Prosím zadejte správné ISSN číslo', + }, + lessThan: { + default: 'Prosím zadejte hodnotu menší nebo rovno %s', + notInclusive: 'Prosím zadejte hodnotu menčí než %s', + }, + mac: { + default: 'Prosím zadejte správnou MAC adresu', + }, + meid: { + default: 'Prosím zadejte správné MEID číslo', + }, + notEmpty: { + default: 'Toto pole nesmí být prázdné', + }, + numeric: { + default: 'Prosím zadejte číselnou hodnotu', + }, + phone: { + countries: { + AE: 'Spojené arabské emiráty', + BG: 'Bulharsko', + BR: 'Brazílii', + CN: 'Čínu', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + ES: 'Španělsko', + FR: 'Francii', + GB: 'Velkou Británii', + IN: 'Indie', + MA: 'Maroko', + NL: 'Nizozemsko', + PK: 'Pákistán', + RO: 'Rumunsko', + RU: 'Rusko', + SK: 'Slovensko', + TH: 'Thajsko', + US: 'Spojené Státy Americké', + VE: 'Venezuelu', + }, + country: 'Prosím zadejte správné telefoní číslo pro %s', + default: 'Prosím zadejte správné telefoní číslo', + }, + promise: { + default: 'Prosím zadejte správnou hodnotu', + }, + regexp: { + default: 'Prosím zadejte hodnotu splňující zadání', + }, + remote: { + default: 'Prosím zadejte správnou hodnotu', + }, + rtn: { + default: 'Prosím zadejte správné RTN číslo', + }, + sedol: { + default: 'Prosím zadejte správné SEDOL číslo', + }, + siren: { + default: 'Prosím zadejte správné SIREN číslo', + }, + siret: { + default: 'Prosím zadejte správné SIRET číslo', + }, + step: { + default: 'Prosím zadejte správný krok %s', + }, + stringCase: { + default: 'Pouze malá písmena jsou povoleny v tomto poli', + upper: 'Pouze velké písmena jsou povoleny v tomto poli', + }, + stringLength: { + between: 'Prosím zadejte hodnotu mezi %s a %s znaky', + default: 'Toto pole nesmí být prázdné', + less: 'Prosím zadejte hodnotu menší než %s znaků', + more: 'Prosím zadajte hodnotu dlhšiu ako %s znakov', + }, + uri: { + default: 'Prosím zadejte správnou URI', + }, + uuid: { + default: 'Prosím zadejte správné UUID číslo', + version: 'Prosím zadejte správné UUID verze %s', + }, + vat: { + countries: { + AT: 'Rakousko', + BE: 'Belgii', + BG: 'Bulharsko', + BR: 'Brazílii', + CH: 'Švýcarsko', + CY: 'Kypr', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + EE: 'Estonsko', + EL: 'Řecko', + ES: 'Španělsko', + FI: 'Finsko', + FR: 'Francii', + GB: 'Velkou Británii', + GR: 'Řecko', + HR: 'Chorvatsko', + HU: 'Maďarsko', + IE: 'Irsko', + IS: 'Island', + IT: 'Itálii', + LT: 'Litvu', + LU: 'Lucembursko', + LV: 'Lotyšsko', + MT: 'Maltu', + NL: 'Nizozemí', + NO: 'Norsko', + PL: 'Polsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RS: 'Srbsko', + RU: 'Rusko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + VE: 'Venezuelu', + ZA: 'Jižní Afriku', + }, + country: 'Prosím zadejte správné VAT číslo pro %s', + default: 'Prosím zadejte správné VAT číslo', + }, + vin: { + default: 'Prosím zadejte správné VIN číslo', + }, + zipCode: { + countries: { + AT: 'Rakousko', + BG: 'Bulharsko', + BR: 'Brazílie', + CA: 'Kanadu', + CH: 'Švýcarsko', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + ES: 'Španělsko', + FR: 'Francii', + GB: 'Velkou Británii', + IE: 'Irsko', + IN: 'Indie', + IT: 'Itálii', + MA: 'Maroko', + NL: 'Nizozemí', + PL: 'Polsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RU: 'Rusko', + SE: 'Švédsko', + SG: 'Singapur', + SK: 'Slovensko', + US: 'Spojené Státy Americké', + }, + country: 'Prosím zadejte správné PSČ pro %s', + default: 'Prosím zadejte správné PSČ', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/da_DK.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/da_DK.ts new file mode 100644 index 0000000..fff0256 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/da_DK.ts @@ -0,0 +1,386 @@ +/** + * Danish language package + * Translated by @Djarnis + */ + +export default { + base64: { + default: 'Udfyld venligst dette felt med en gyldig base64-kodet værdi', + }, + between: { + default: 'Udfyld venligst dette felt med en værdi mellem %s og %s', + notInclusive: 'Indtast venligst kun en værdi mellem %s og %s', + }, + bic: { + default: 'Udfyld venligst dette felt med et gyldigt BIC-nummer', + }, + callback: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + choice: { + between: 'Vælg venligst %s - %s valgmuligheder', + default: 'Udfyld venligst dette felt med en gyldig værdi', + less: 'Vælg venligst mindst %s valgmuligheder', + more: 'Vælg venligst højst %s valgmuligheder', + }, + color: { + default: 'Udfyld venligst dette felt med en gyldig farve', + }, + creditCard: { + default: 'Udfyld venligst dette felt med et gyldigt kreditkort-nummer', + }, + cusip: { + default: 'Udfyld venligst dette felt med et gyldigt CUSIP-nummer', + }, + date: { + default: 'Udfyld venligst dette felt med en gyldig dato', + max: 'Angiv venligst en dato før %s', + min: 'Angiv venligst en dato efter %s', + range: 'Angiv venligst en dato mellem %s - %s', + }, + different: { + default: 'Udfyld venligst dette felt med en anden værdi', + }, + digits: { + default: 'Indtast venligst kun cifre', + }, + ean: { + default: 'Udfyld venligst dette felt med et gyldigt EAN-nummer', + }, + ein: { + default: 'Udfyld venligst dette felt med et gyldigt EIN-nummer', + }, + emailAddress: { + default: 'Udfyld venligst dette felt med en gyldig e-mail-adresse', + }, + file: { + default: 'Vælg venligst en gyldig fil', + }, + greaterThan: { + default: + 'Udfyld venligst dette felt med en værdi større eller lig med %s', + notInclusive: 'Udfyld venligst dette felt med en værdi større end %s', + }, + grid: { + default: 'Udfyld venligst dette felt med et gyldigt GRId-nummer', + }, + hex: { + default: 'Udfyld venligst dette felt med et gyldigt hexadecimal-nummer', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'De Forenede Arabiske Emirater', + AL: 'Albanien', + AO: 'Angola', + AT: 'Østrig', + AZ: 'Aserbajdsjan', + BA: 'Bosnien-Hercegovina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbenskysten', + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Kap Verde', + CY: 'Cypern', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Den Dominikanske Republik', + DZ: 'Algeriet', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + FO: 'Færøerne', + FR: 'Frankrig', + GB: 'Storbritannien', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grønland', + GR: 'Grækenland', + GT: 'Guatemala', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kasakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Holland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palæstina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Rumænien', + RS: 'Serbien', + SA: 'Saudi-Arabien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Østtimor', + TN: 'Tunesien', + TR: 'Tyrkiet', + VG: 'Britiske Jomfruøer', + XK: 'Kosovo', + }, + country: 'Udfyld venligst dette felt med et gyldigt IBAN-nummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien-Hercegovina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tjekkiet', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Makedonien', + NL: 'Holland', + PL: 'Polen', + RO: 'Rumænien', + RS: 'Serbien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Tyrkiet', + ZA: 'Sydafrika', + }, + country: + 'Udfyld venligst dette felt med et gyldigt identifikations-nummer i %s', + default: + 'Udfyld venligst dette felt med et gyldigt identifikations-nummer', + }, + identical: { + default: 'Udfyld venligst dette felt med den samme værdi', + }, + imei: { + default: 'Udfyld venligst dette felt med et gyldigt IMEI-nummer', + }, + imo: { + default: 'Udfyld venligst dette felt med et gyldigt IMO-nummer', + }, + integer: { + default: 'Udfyld venligst dette felt med et gyldigt tal', + }, + ip: { + default: 'Udfyld venligst dette felt med en gyldig IP adresse', + ipv4: 'Udfyld venligst dette felt med en gyldig IPv4 adresse', + ipv6: 'Udfyld venligst dette felt med en gyldig IPv6 adresse', + }, + isbn: { + default: 'Udfyld venligst dette felt med et gyldigt ISBN-nummer', + }, + isin: { + default: 'Udfyld venligst dette felt med et gyldigt ISIN-nummer', + }, + ismn: { + default: 'Udfyld venligst dette felt med et gyldigt ISMN-nummer', + }, + issn: { + default: 'Udfyld venligst dette felt med et gyldigt ISSN-nummer', + }, + lessThan: { + default: + 'Udfyld venligst dette felt med en værdi mindre eller lig med %s', + notInclusive: 'Udfyld venligst dette felt med en værdi mindre end %s', + }, + mac: { + default: 'Udfyld venligst dette felt med en gyldig MAC adresse', + }, + meid: { + default: 'Udfyld venligst dette felt med et gyldigt MEID-nummer', + }, + notEmpty: { + default: 'Udfyld venligst dette felt', + }, + numeric: { + default: + 'Udfyld venligst dette felt med et gyldigt flydende decimaltal', + }, + phone: { + countries: { + AE: 'De Forenede Arabiske Emirater', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'Kina', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrig', + GB: 'Storbritannien', + IN: 'Indien', + MA: 'Marokko', + NL: 'Holland', + PK: 'Pakistan', + RO: 'Rumænien', + RU: 'Rusland', + SK: 'Slovakiet', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Udfyld venligst dette felt med et gyldigt telefonnummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt telefonnummer', + }, + promise: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + regexp: { + default: + 'Udfyld venligst dette felt med en værdi der matcher mønsteret', + }, + remote: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + rtn: { + default: 'Udfyld venligst dette felt med et gyldigt RTN-nummer', + }, + sedol: { + default: 'Udfyld venligst dette felt med et gyldigt SEDOL-nummer', + }, + siren: { + default: 'Udfyld venligst dette felt med et gyldigt SIREN-nummer', + }, + siret: { + default: 'Udfyld venligst dette felt med et gyldigt SIRET-nummer', + }, + step: { + default: 'Udfyld venligst dette felt med et gyldigt trin af %s', + }, + stringCase: { + default: 'Udfyld venligst kun dette felt med små bogstaver', + upper: 'Udfyld venligst kun dette felt med store bogstaver', + }, + stringLength: { + between: 'Udfyld venligst dette felt med en værdi mellem %s og %s tegn', + default: 'Udfyld venligst dette felt med en værdi af gyldig længde', + less: 'Udfyld venligst dette felt med mindre end %s tegn', + more: 'Udfyld venligst dette felt med mere end %s tegn', + }, + uri: { + default: 'Udfyld venligst dette felt med en gyldig URI', + }, + uuid: { + default: 'Udfyld venligst dette felt med et gyldigt UUID-nummer', + version: + 'Udfyld venligst dette felt med en gyldig UUID version %s-nummer', + }, + vat: { + countries: { + AT: 'Østrig', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Grækenland', + ES: 'Spanien', + FI: 'Finland', + FR: 'Frankrig', + GB: 'Storbritannien', + GR: 'Grækenland', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Letland', + MT: 'Malta', + NL: 'Holland', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumænien', + RS: 'Serbien', + RU: 'Rusland', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + VE: 'Venezuela', + ZA: 'Sydafrika', + }, + country: 'Udfyld venligst dette felt med et gyldigt moms-nummer i %s', + default: 'Udfyld venligst dette felt med et gyldig moms-nummer', + }, + vin: { + default: 'Udfyld venligst dette felt med et gyldigt VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Østrig', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Canada', + CH: 'Schweiz', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrig', + GB: 'Storbritannien', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marokko', + NL: 'Holland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumænien', + RU: 'Rusland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakiet', + US: 'USA', + }, + country: 'Udfyld venligst dette felt med et gyldigt postnummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt postnummer', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/de_DE.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/de_DE.ts new file mode 100644 index 0000000..f87c7bc --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/de_DE.ts @@ -0,0 +1,379 @@ +/** + * German language package + * Translated by @logemann + */ + +export default { + base64: { + default: 'Bitte eine Base64 Kodierung eingeben', + }, + between: { + default: 'Bitte einen Wert zwischen %s und %s eingeben', + notInclusive: 'Bitte einen Wert zwischen %s und %s (strictly) eingeben', + }, + bic: { + default: 'Bitte gültige BIC Nummer eingeben', + }, + callback: { + default: 'Bitte einen gültigen Wert eingeben', + }, + choice: { + between: 'Zwischen %s - %s Werten wählen', + default: 'Bitte einen gültigen Wert eingeben', + less: 'Bitte mindestens %s Werte eingeben', + more: 'Bitte maximal %s Werte eingeben', + }, + color: { + default: 'Bitte gültige Farbe eingeben', + }, + creditCard: { + default: 'Bitte gültige Kreditkartennr. eingeben', + }, + cusip: { + default: 'Bitte gültige CUSIP Nummer eingeben', + }, + date: { + default: 'Bitte gültiges Datum eingeben', + max: 'Bitte gültiges Datum vor %s', + min: 'Bitte gültiges Datum nach %s', + range: 'Bitte gültiges Datum im zwischen %s - %s', + }, + different: { + default: 'Bitte anderen Wert eingeben', + }, + digits: { + default: 'Bitte Zahlen eingeben', + }, + ean: { + default: 'Bitte gültige EAN Nummer eingeben', + }, + ein: { + default: 'Bitte gültige EIN Nummer eingeben', + }, + emailAddress: { + default: 'Bitte gültige Emailadresse eingeben', + }, + file: { + default: 'Bitte gültiges File eingeben', + }, + greaterThan: { + default: 'Bitte Wert größer gleich %s eingeben', + notInclusive: 'Bitte Wert größer als %s eingeben', + }, + grid: { + default: 'Bitte gültige GRId Nummer eingeben', + }, + hex: { + default: 'Bitte gültigen Hexadezimalwert eingeben', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Vereinigte Arabische Emirate', + AL: 'Albanien', + AO: 'Angola', + AT: 'Österreich', + AZ: 'Aserbaidschan', + BA: 'Bosnien und Herzegowina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbeinküste', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Kap Verde', + CY: 'Zypern', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + DO: 'Dominikanische Republik', + DZ: 'Algerien', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finnland', + FO: 'Färöer-Inseln', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grönland', + GR: 'Griechenland', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordanien', + KW: 'Kuwait', + KZ: 'Kasachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MC: 'Monaco', + MD: 'Moldawien', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Mazedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Niederlande', + NO: 'Norwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palästina', + PT: 'Portugal', + QA: 'Katar', + RO: 'Rumänien', + RS: 'Serbien', + SA: 'Saudi-Arabien', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Ost-Timor', + TN: 'Tunesien', + TR: 'Türkei', + VG: 'Jungferninseln', + XK: 'Republik Kosovo', + }, + country: 'Bitte eine gültige IBAN Nummer für %s eingeben', + default: 'Bitte eine gültige IBAN Nummer eingeben', + }, + id: { + countries: { + BA: 'Bosnien und Herzegowina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'China', + CZ: 'Tschechische', + DK: 'Dänemark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finnland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Lettland', + ME: 'Montenegro', + MK: 'Mazedonien', + NL: 'Niederlande', + PL: 'Polen', + RO: 'Rumänien', + RS: 'Serbien', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Türkei', + ZA: 'Südafrika', + }, + country: 'Bitte gültige Identifikationsnummer für %s eingeben', + default: 'Bitte gültige Identifikationsnnummer eingeben', + }, + identical: { + default: 'Bitte gleichen Wert eingeben', + }, + imei: { + default: 'Bitte gültige IMEI Nummer eingeben', + }, + imo: { + default: 'Bitte gültige IMO Nummer eingeben', + }, + integer: { + default: 'Bitte Zahl eingeben', + }, + ip: { + default: 'Bitte gültige IP-Adresse eingeben', + ipv4: 'Bitte gültige IPv4 Adresse eingeben', + ipv6: 'Bitte gültige IPv6 Adresse eingeben', + }, + isbn: { + default: 'Bitte gültige ISBN Nummer eingeben', + }, + isin: { + default: 'Bitte gültige ISIN Nummer eingeben', + }, + ismn: { + default: 'Bitte gültige ISMN Nummer eingeben', + }, + issn: { + default: 'Bitte gültige ISSN Nummer eingeben', + }, + lessThan: { + default: 'Bitte Wert kleiner gleich %s eingeben', + notInclusive: 'Bitte Wert kleiner als %s eingeben', + }, + mac: { + default: 'Bitte gültige MAC Adresse eingeben', + }, + meid: { + default: 'Bitte gültige MEID Nummer eingeben', + }, + notEmpty: { + default: 'Bitte Wert eingeben', + }, + numeric: { + default: 'Bitte Nummer eingeben', + }, + phone: { + countries: { + AE: 'Vereinigte Arabische Emirate', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'China', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + ES: 'Spanien', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + IN: 'Indien', + MA: 'Marokko', + NL: 'Niederlande', + PK: 'Pakistan', + RO: 'Rumänien', + RU: 'Russland', + SK: 'Slowakei', + TH: 'Thailand', + US: 'Vereinigte Staaten von Amerika', + VE: 'Venezuela', + }, + country: 'Bitte valide Telefonnummer für %s eingeben', + default: 'Bitte gültige Telefonnummer eingeben', + }, + promise: { + default: 'Bitte einen gültigen Wert eingeben', + }, + regexp: { + default: 'Bitte Wert eingeben, der der Maske entspricht', + }, + remote: { + default: 'Bitte einen gültigen Wert eingeben', + }, + rtn: { + default: 'Bitte gültige RTN Nummer eingeben', + }, + sedol: { + default: 'Bitte gültige SEDOL Nummer eingeben', + }, + siren: { + default: 'Bitte gültige SIREN Nummer eingeben', + }, + siret: { + default: 'Bitte gültige SIRET Nummer eingeben', + }, + step: { + default: 'Bitte einen gültigen Schritt von %s eingeben', + }, + stringCase: { + default: 'Bitte nur Kleinbuchstaben eingeben', + upper: 'Bitte nur Großbuchstaben eingeben', + }, + stringLength: { + between: 'Bitte Wert zwischen %s und %s Zeichen eingeben', + default: 'Bitte Wert mit gültiger Länge eingeben', + less: 'Bitte weniger als %s Zeichen eingeben', + more: 'Bitte mehr als %s Zeichen eingeben', + }, + uri: { + default: 'Bitte gültige URI eingeben', + }, + uuid: { + default: 'Bitte gültige UUID Nummer eingeben', + version: 'Bitte gültige UUID Version %s eingeben', + }, + vat: { + countries: { + AT: 'Österreich', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Zypern', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + EE: 'Estland', + EL: 'Griechenland', + ES: 'Spanisch', + FI: 'Finnland', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + GR: 'Griechenland', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MT: 'Malta', + NL: 'Niederlande', + NO: 'Norwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RS: 'Serbien', + RU: 'Russland', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + VE: 'Venezuela', + ZA: 'Südafrika', + }, + country: 'Bitte gültige VAT Nummer für %s eingeben', + default: 'Bitte gültige VAT Nummer eingeben', + }, + vin: { + default: 'Bitte gültige VIN Nummer eingeben', + }, + zipCode: { + countries: { + AT: 'Österreich', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Kanada', + CH: 'Schweiz', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + ES: 'Spanien', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marokko', + NL: 'Niederlande', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RU: 'Russland', + SE: 'Schweden', + SG: 'Singapur', + SK: 'Slowakei', + US: 'Vereinigte Staaten von Amerika', + }, + country: 'Bitte gültige Postleitzahl für %s eingeben', + default: 'Bitte gültige PLZ eingeben', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/el_GR.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/el_GR.ts new file mode 100644 index 0000000..1773d17 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/el_GR.ts @@ -0,0 +1,379 @@ +/** + * Greek language package + * Translated by @pRieStaKos + */ + +export default { + base64: { + default: 'Παρακαλώ εισάγετε μια έγκυρη κωδικοποίηση base 64', + }, + between: { + default: 'Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s αυστηρά', + }, + bic: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό BIC', + }, + callback: { + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + }, + choice: { + between: 'Παρακαλώ επιλέξτε %s - %s επιλογές', + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + less: 'Παρακαλώ επιλέξτε %s επιλογές στο ελάχιστο', + more: 'Παρακαλώ επιλέξτε %s επιλογές στο μέγιστο', + }, + color: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο χρώμα', + }, + creditCard: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό πιστωτικής κάρτας', + }, + cusip: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό CUSIP', + }, + date: { + default: 'Παρακαλώ εισάγετε μια έγκυρη ημερομηνία', + max: 'Παρακαλώ εισάγετε ημερομηνία πριν από %s', + min: 'Παρακαλώ εισάγετε ημερομηνία μετά από %s', + range: 'Παρακαλώ εισάγετε ημερομηνία μεταξύ %s - %s', + }, + different: { + default: 'Παρακαλώ εισάγετε μια διαφορετική τιμή', + }, + digits: { + default: 'Παρακαλώ εισάγετε μόνο ψηφία', + }, + ean: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό EAN', + }, + ein: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό EIN', + }, + emailAddress: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο email', + }, + file: { + default: 'Παρακαλώ επιλέξτε ένα έγκυρο αρχείο', + }, + greaterThan: { + default: 'Παρακαλώ εισάγετε μια τιμή μεγαλύτερη ή ίση με %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μεγαλύτερη από %s', + }, + grid: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό GRId', + }, + hex: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο δεκαεξαδικό αριθμό', + }, + iban: { + countries: { + AD: 'Ανδόρα', + AE: 'Ηνωμένα Αραβικά Εμιράτα', + AL: 'Αλβανία', + AO: 'Αγκόλα', + AT: 'Αυστρία', + AZ: 'Αζερμπαϊτζάν', + BA: 'Βοσνία και Ερζεγοβίνη', + BE: 'Βέλγιο', + BF: 'Μπουρκίνα Φάσο', + BG: 'Βουλγαρία', + BH: 'Μπαχρέιν', + BI: 'Μπουρούντι', + BJ: 'Μπενίν', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CI: 'Ακτή Ελεφαντοστού', + CM: 'Καμερούν', + CR: 'Κόστα Ρίκα', + CV: 'Cape Verde', + CY: 'Κύπρος', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + DO: 'Δομινικανή Δημοκρατία', + DZ: 'Αλγερία', + EE: 'Εσθονία', + ES: 'Ισπανία', + FI: 'Φινλανδία', + FO: 'Νησιά Φερόε', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + GE: 'Γεωργία', + GI: 'Γιβραλτάρ', + GL: 'Γροιλανδία', + GR: 'Ελλάδα', + GT: 'Γουατεμάλα', + HR: 'Κροατία', + HU: 'Ουγγαρία', + IE: 'Ιρλανδία', + IL: 'Ισραήλ', + IR: 'Ιράν', + IS: 'Ισλανδία', + IT: 'Ιταλία', + JO: 'Ιορδανία', + KW: 'Κουβέιτ', + KZ: 'Καζακστάν', + LB: 'Λίβανος', + LI: 'Λιχτενστάιν', + LT: 'Λιθουανία', + LU: 'Λουξεμβούργο', + LV: 'Λετονία', + MC: 'Μονακό', + MD: 'Μολδαβία', + ME: 'Μαυροβούνιο', + MG: 'Μαδαγασκάρη', + MK: 'πΓΔΜ', + ML: 'Μάλι', + MR: 'Μαυριτανία', + MT: 'Μάλτα', + MU: 'Μαυρίκιος', + MZ: 'Μοζαμβίκη', + NL: 'Ολλανδία', + NO: 'Νορβηγία', + PK: 'Πακιστάν', + PL: 'Πολωνία', + PS: 'Παλαιστίνη', + PT: 'Πορτογαλία', + QA: 'Κατάρ', + RO: 'Ρουμανία', + RS: 'Σερβία', + SA: 'Σαουδική Αραβία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + SM: 'Σαν Μαρίνο', + SN: 'Σενεγάλη', + TL: 'Ανατολικό Τιμόρ', + TN: 'Τυνησία', + TR: 'Τουρκία', + VG: 'Βρετανικές Παρθένοι Νήσοι', + XK: 'Δημοκρατία του Κοσσυφοπεδίου', + }, + country: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN στην %s', + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN', + }, + id: { + countries: { + BA: 'Βοσνία και Ερζεγοβίνη', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CL: 'Χιλή', + CN: 'Κίνα', + CZ: 'Δημοκρατία της Τσεχίας', + DK: 'Δανία', + EE: 'Εσθονία', + ES: 'Ισπανία', + FI: 'Φινλανδία', + HR: 'Κροατία', + IE: 'Ιρλανδία', + IS: 'Ισλανδία', + LT: 'Λιθουανία', + LV: 'Λετονία', + ME: 'Μαυροβούνιο', + MK: 'Μακεδονία', + NL: 'Ολλανδία', + PL: 'Πολωνία', + RO: 'Ρουμανία', + RS: 'Σερβία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + SM: 'Σαν Μαρίνο', + TH: 'Ταϊλάνδη', + TR: 'Τουρκία', + ZA: 'Νότια Αφρική', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας', + }, + identical: { + default: 'Παρακαλώ εισάγετε την ίδια τιμή', + }, + imei: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMEI', + }, + imo: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMO', + }, + integer: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό', + }, + ip: { + default: 'Παρακαλώ εισάγετε μία έγκυρη IP διεύθυνση', + ipv4: 'Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv4', + ipv6: 'Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv6', + }, + isbn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISBN', + }, + isin: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISIN', + }, + ismn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISMN', + }, + issn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISSN', + }, + lessThan: { + default: 'Παρακαλώ εισάγετε μια τιμή μικρότερη ή ίση με %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μικρότερη από %s', + }, + mac: { + default: 'Παρακαλώ εισάγετε μία έγκυρη MAC διεύθυνση', + }, + meid: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό MEID', + }, + notEmpty: { + default: 'Παρακαλώ εισάγετε μια τιμή', + }, + numeric: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο δεκαδικό αριθμό', + }, + phone: { + countries: { + AE: 'Ηνωμένα Αραβικά Εμιράτα', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CN: 'Κίνα', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + ES: 'Ισπανία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + IN: 'Ινδία', + MA: 'Μαρόκο', + NL: 'Ολλανδία', + PK: 'Πακιστάν', + RO: 'Ρουμανία', + RU: 'Ρωσία', + SK: 'Σλοβακία', + TH: 'Ταϊλάνδη', + US: 'ΗΠΑ', + VE: 'Βενεζουέλα', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου', + }, + promise: { + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + }, + regexp: { + default: 'Παρακαλώ εισάγετε μια τιμή όπου ταιριάζει στο υπόδειγμα', + }, + remote: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό', + }, + rtn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό RTN', + }, + sedol: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SEDOL', + }, + siren: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIREN', + }, + siret: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIRET', + }, + step: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο βήμα από %s', + }, + stringCase: { + default: 'Παρακαλώ εισάγετε μόνο πεζούς χαρακτήρες', + upper: 'Παρακαλώ εισάγετε μόνο κεφαλαία γράμματα', + }, + stringLength: { + between: 'Παρακαλούμε, εισάγετε τιμή μεταξύ %s και %s μήκος χαρακτήρων', + default: 'Παρακαλώ εισάγετε μια τιμή με έγκυρο μήκος', + less: 'Παρακαλούμε εισάγετε λιγότερο από %s χαρακτήρες', + more: 'Παρακαλούμε εισάγετε περισσότερο από %s χαρακτήρες', + }, + uri: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο URI', + }, + uuid: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό UUID', + version: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό έκδοσης %s', + }, + vat: { + countries: { + AT: 'Αυστρία', + BE: 'Βέλγιο', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CY: 'Κύπρος', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + EE: 'Εσθονία', + EL: 'Ελλάδα', + ES: 'Ισπανία', + FI: 'Φινλανδία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + GR: 'Ελλάδα', + HR: 'Κροατία', + HU: 'Ουγγαρία', + IE: 'Ιρλανδία', + IS: 'Ισλανδία', + IT: 'Ιταλία', + LT: 'Λιθουανία', + LU: 'Λουξεμβούργο', + LV: 'Λετονία', + MT: 'Μάλτα', + NL: 'Ολλανδία', + NO: 'Νορβηγία', + PL: 'Πολωνία', + PT: 'Πορτογαλία', + RO: 'Ρουμανία', + RS: 'Σερβία', + RU: 'Ρωσία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + VE: 'Βενεζουέλα', + ZA: 'Νότια Αφρική', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ', + }, + vin: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό VIN', + }, + zipCode: { + countries: { + AT: 'Αυστρία', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CA: 'Καναδάς', + CH: 'Ελβετία', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + ES: 'Ισπανία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + IE: 'Ιρλανδία', + IN: 'Ινδία', + IT: 'Ιταλία', + MA: 'Μαρόκο', + NL: 'Ολλανδία', + PL: 'Πολωνία', + PT: 'Πορτογαλία', + RO: 'Ρουμανία', + RU: 'Ρωσία', + SE: 'Σουηδία', + SG: 'Σιγκαπούρη', + SK: 'Σλοβακία', + US: 'ΗΠΑ', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/en_US.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/en_US.ts new file mode 100644 index 0000000..47ef9b2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/en_US.ts @@ -0,0 +1,379 @@ +/** + * English language package + * Translated by @nghuuphuoc + */ + +export default { + base64: { + default: 'Please enter a valid base 64 encoded', + }, + between: { + default: 'Please enter a value between %s and %s', + notInclusive: 'Please enter a value between %s and %s strictly', + }, + bic: { + default: 'Please enter a valid BIC number', + }, + callback: { + default: 'Please enter a valid value', + }, + choice: { + between: 'Please choose %s - %s options', + default: 'Please enter a valid value', + less: 'Please choose %s options at minimum', + more: 'Please choose %s options at maximum', + }, + color: { + default: 'Please enter a valid color', + }, + creditCard: { + default: 'Please enter a valid credit card number', + }, + cusip: { + default: 'Please enter a valid CUSIP number', + }, + date: { + default: 'Please enter a valid date', + max: 'Please enter a date before %s', + min: 'Please enter a date after %s', + range: 'Please enter a date in the range %s - %s', + }, + different: { + default: 'Please enter a different value', + }, + digits: { + default: 'Please enter only digits', + }, + ean: { + default: 'Please enter a valid EAN number', + }, + ein: { + default: 'Please enter a valid EIN number', + }, + emailAddress: { + default: 'Please enter a valid email address', + }, + file: { + default: 'Please choose a valid file', + }, + greaterThan: { + default: 'Please enter a value greater than or equal to %s', + notInclusive: 'Please enter a value greater than %s', + }, + grid: { + default: 'Please enter a valid GRId number', + }, + hex: { + default: 'Please enter a valid hexadecimal number', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'United Arab Emirates', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia and Herzegovina', + BE: 'Belgium', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Switzerland', + CI: 'Ivory Coast', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + DO: 'Dominican Republic', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spain', + FI: 'Finland', + FO: 'Faroe Islands', + FR: 'France', + GB: 'United Kingdom', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Greece', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Italy', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Netherlands', + NO: 'Norway', + PK: 'Pakistan', + PL: 'Poland', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'East Timor', + TN: 'Tunisia', + TR: 'Turkey', + VG: 'Virgin Islands, British', + XK: 'Republic of Kosovo', + }, + country: 'Please enter a valid IBAN number in %s', + default: 'Please enter a valid IBAN number', + }, + id: { + countries: { + BA: 'Bosnia and Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CL: 'Chile', + CN: 'China', + CZ: 'Czech Republic', + DK: 'Denmark', + EE: 'Estonia', + ES: 'Spain', + FI: 'Finland', + HR: 'Croatia', + IE: 'Ireland', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Netherlands', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkey', + ZA: 'South Africa', + }, + country: 'Please enter a valid identification number in %s', + default: 'Please enter a valid identification number', + }, + identical: { + default: 'Please enter the same value', + }, + imei: { + default: 'Please enter a valid IMEI number', + }, + imo: { + default: 'Please enter a valid IMO number', + }, + integer: { + default: 'Please enter a valid number', + }, + ip: { + default: 'Please enter a valid IP address', + ipv4: 'Please enter a valid IPv4 address', + ipv6: 'Please enter a valid IPv6 address', + }, + isbn: { + default: 'Please enter a valid ISBN number', + }, + isin: { + default: 'Please enter a valid ISIN number', + }, + ismn: { + default: 'Please enter a valid ISMN number', + }, + issn: { + default: 'Please enter a valid ISSN number', + }, + lessThan: { + default: 'Please enter a value less than or equal to %s', + notInclusive: 'Please enter a value less than %s', + }, + mac: { + default: 'Please enter a valid MAC address', + }, + meid: { + default: 'Please enter a valid MEID number', + }, + notEmpty: { + default: 'Please enter a value', + }, + numeric: { + default: 'Please enter a valid float number', + }, + phone: { + countries: { + AE: 'United Arab Emirates', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'China', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + ES: 'Spain', + FR: 'France', + GB: 'United Kingdom', + IN: 'India', + MA: 'Morocco', + NL: 'Netherlands', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovakia', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Please enter a valid phone number in %s', + default: 'Please enter a valid phone number', + }, + promise: { + default: 'Please enter a valid value', + }, + regexp: { + default: 'Please enter a value matching the pattern', + }, + remote: { + default: 'Please enter a valid value', + }, + rtn: { + default: 'Please enter a valid RTN number', + }, + sedol: { + default: 'Please enter a valid SEDOL number', + }, + siren: { + default: 'Please enter a valid SIREN number', + }, + siret: { + default: 'Please enter a valid SIRET number', + }, + step: { + default: 'Please enter a valid step of %s', + }, + stringCase: { + default: 'Please enter only lowercase characters', + upper: 'Please enter only uppercase characters', + }, + stringLength: { + between: 'Please enter value between %s and %s characters long', + default: 'Please enter a value with valid length', + less: 'Please enter less than %s characters', + more: 'Please enter more than %s characters', + }, + uri: { + default: 'Please enter a valid URI', + }, + uuid: { + default: 'Please enter a valid UUID number', + version: 'Please enter a valid UUID version %s number', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgium', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CY: 'Cyprus', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + EE: 'Estonia', + EL: 'Greece', + ES: 'Spain', + FI: 'Finland', + FR: 'France', + GB: 'United Kingdom', + GR: 'Greece', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IS: 'Iceland', + IT: 'Italy', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Netherlands', + NO: 'Norway', + PL: 'Poland', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'South Africa', + }, + country: 'Please enter a valid VAT number in %s', + default: 'Please enter a valid VAT number', + }, + vin: { + default: 'Please enter a valid VIN number', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Canada', + CH: 'Switzerland', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + ES: 'Spain', + FR: 'France', + GB: 'United Kingdom', + IE: 'Ireland', + IN: 'India', + IT: 'Italy', + MA: 'Morocco', + NL: 'Netherlands', + PL: 'Poland', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russia', + SE: 'Sweden', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Please enter a valid postal code in %s', + default: 'Please enter a valid postal code', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/es_CL.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/es_CL.ts new file mode 100644 index 0000000..febef60 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/es_CL.ts @@ -0,0 +1,380 @@ +/** + * Chilean Spanish language package + * Translated by @marceloampuerop6 + */ + +export default { + base64: { + default: 'Por favor ingrese un valor válido en base 64', + }, + between: { + default: 'Por favor ingrese un valor entre %s y %s', + notInclusive: 'Por favor ingrese un valor sólo entre %s and %s', + }, + bic: { + default: 'Por favor ingrese un número BIC válido', + }, + callback: { + default: 'Por favor ingrese un valor válido', + }, + choice: { + between: 'Por favor elija de %s a %s opciones', + default: 'Por favor ingrese un valor válido', + less: 'Por favor elija %s opciones como mínimo', + more: 'Por favor elija %s optiones como máximo', + }, + color: { + default: 'Por favor ingrese un color válido', + }, + creditCard: { + default: 'Por favor ingrese un número válido de tarjeta de crédito', + }, + cusip: { + default: 'Por favor ingrese un número CUSIP válido', + }, + date: { + default: 'Por favor ingrese una fecha válida', + max: 'Por favor ingrese una fecha anterior a %s', + min: 'Por favor ingrese una fecha posterior a %s', + range: 'Por favor ingrese una fecha en el rango %s - %s', + }, + different: { + default: 'Por favor ingrese un valor distinto', + }, + digits: { + default: 'Por favor ingrese sólo dígitos', + }, + ean: { + default: 'Por favor ingrese un número EAN válido', + }, + ein: { + default: 'Por favor ingrese un número EIN válido', + }, + emailAddress: { + default: 'Por favor ingrese un email válido', + }, + file: { + default: 'Por favor elija un archivo válido', + }, + greaterThan: { + default: 'Por favor ingrese un valor mayor o igual a %s', + notInclusive: 'Por favor ingrese un valor mayor que %s', + }, + grid: { + default: 'Por favor ingrese un número GRId válido', + }, + hex: { + default: 'Por favor ingrese un valor hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratos Árabes Unidos', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaiyán', + BA: 'Bosnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suiza', + CI: 'Costa de Marfil', + CM: 'Camerún', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argelia', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + FO: 'Islas Feroe', + FR: 'Francia', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Mónaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Malí', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauricio', + MZ: 'Mozambique', + NL: 'Países Bajos', + NO: 'Noruega', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Rumania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Túnez', + TR: 'Turquía', + VG: 'Islas Vírgenes Británicas', + XK: 'República de Kosovo', + }, + country: 'Por favor ingrese un número IBAN válido en %s', + default: 'Por favor ingrese un número IBAN válido', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + HR: 'Croacia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Países Bajos', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turquía', + ZA: 'Sudáfrica', + }, + country: 'Por favor ingrese un número de identificación válido en %s', + default: 'Por favor ingrese un número de identificación válido', + }, + identical: { + default: 'Por favor ingrese el mismo valor', + }, + imei: { + default: 'Por favor ingrese un número IMEI válido', + }, + imo: { + default: 'Por favor ingrese un número IMO válido', + }, + integer: { + default: 'Por favor ingrese un número válido', + }, + ip: { + default: 'Por favor ingrese una dirección IP válida', + ipv4: 'Por favor ingrese una dirección IPv4 válida', + ipv6: 'Por favor ingrese una dirección IPv6 válida', + }, + isbn: { + default: 'Por favor ingrese un número ISBN válido', + }, + isin: { + default: 'Por favor ingrese un número ISIN válido', + }, + ismn: { + default: 'Por favor ingrese un número ISMN válido', + }, + issn: { + default: 'Por favor ingrese un número ISSN válido', + }, + lessThan: { + default: 'Por favor ingrese un valor menor o igual a %s', + notInclusive: 'Por favor ingrese un valor menor que %s', + }, + mac: { + default: 'Por favor ingrese una dirección MAC válida', + }, + meid: { + default: 'Por favor ingrese un número MEID válido', + }, + notEmpty: { + default: 'Por favor ingrese un valor', + }, + numeric: { + default: 'Por favor ingrese un número decimal válido', + }, + phone: { + countries: { + AE: 'Emiratos Árabes Unidos', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IN: 'India', + MA: 'Marruecos', + NL: 'Países Bajos', + PK: 'Pakistán', + RO: 'Rumania', + RU: 'Rusa', + SK: 'Eslovaquia', + TH: 'Tailandia', + US: 'Estados Unidos', + VE: 'Venezuela', + }, + country: 'Por favor ingrese un número válido de teléfono en %s', + default: 'Por favor ingrese un número válido de teléfono', + }, + promise: { + default: 'Por favor ingrese un valor válido', + }, + regexp: { + default: 'Por favor ingrese un valor que coincida con el patrón', + }, + remote: { + default: 'Por favor ingrese un valor válido', + }, + rtn: { + default: 'Por favor ingrese un número RTN válido', + }, + sedol: { + default: 'Por favor ingrese un número SEDOL válido', + }, + siren: { + default: 'Por favor ingrese un número SIREN válido', + }, + siret: { + default: 'Por favor ingrese un número SIRET válido', + }, + step: { + default: 'Por favor ingrese un paso válido de %s', + }, + stringCase: { + default: 'Por favor ingrese sólo caracteres en minúscula', + upper: 'Por favor ingrese sólo caracteres en mayúscula', + }, + stringLength: { + between: + 'Por favor ingrese un valor con una longitud entre %s y %s caracteres', + default: 'Por favor ingrese un valor con una longitud válida', + less: 'Por favor ingrese menos de %s caracteres', + more: 'Por favor ingrese más de %s caracteres', + }, + uri: { + default: 'Por favor ingresese una URI válida', + }, + uuid: { + default: 'Por favor ingrese un número UUID válido', + version: 'Por favor ingrese una versión UUID válida para %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Bélgica', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'España', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Reino Unido', + GR: 'Grecia', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Países Bajos', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Rumanía', + RS: 'Serbia', + RU: 'Rusa', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + VE: 'Venezuela', + ZA: 'Sudáfrica', + }, + country: 'Por favor ingrese un número VAT válido en %s', + default: 'Por favor ingrese un número VAT válido', + }, + vin: { + default: 'Por favor ingrese un número VIN válido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suiza', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marruecos', + NL: 'Países Bajos', + PL: 'Poland', + PT: 'Portugal', + RO: 'Rumanía', + RU: 'Rusia', + SE: 'Suecia', + SG: 'Singapur', + SK: 'Eslovaquia', + US: 'Estados Unidos', + }, + country: 'Por favor ingrese un código postal válido en %s', + default: 'Por favor ingrese un código postal válido', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/es_ES.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/es_ES.ts new file mode 100644 index 0000000..c31d3a8 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/es_ES.ts @@ -0,0 +1,380 @@ +/** + * Spanish language package + * Translated by @vadail + */ + +export default { + base64: { + default: 'Por favor introduce un valor válido en base 64', + }, + between: { + default: 'Por favor introduce un valor entre %s y %s', + notInclusive: 'Por favor introduce un valor sólo entre %s and %s', + }, + bic: { + default: 'Por favor introduce un número BIC válido', + }, + callback: { + default: 'Por favor introduce un valor válido', + }, + choice: { + between: 'Por favor elija de %s a %s opciones', + default: 'Por favor introduce un valor válido', + less: 'Por favor elija %s opciones como mínimo', + more: 'Por favor elija %s optiones como máximo', + }, + color: { + default: 'Por favor introduce un color válido', + }, + creditCard: { + default: 'Por favor introduce un número válido de tarjeta de crédito', + }, + cusip: { + default: 'Por favor introduce un número CUSIP válido', + }, + date: { + default: 'Por favor introduce una fecha válida', + max: 'Por favor introduce una fecha previa al %s', + min: 'Por favor introduce una fecha posterior al %s', + range: 'Por favor introduce una fecha entre el %s y el %s', + }, + different: { + default: 'Por favor introduce un valor distinto', + }, + digits: { + default: 'Por favor introduce sólo dígitos', + }, + ean: { + default: 'Por favor introduce un número EAN válido', + }, + ein: { + default: 'Por favor introduce un número EIN válido', + }, + emailAddress: { + default: 'Por favor introduce un email válido', + }, + file: { + default: 'Por favor elija un archivo válido', + }, + greaterThan: { + default: 'Por favor introduce un valor mayor o igual a %s', + notInclusive: 'Por favor introduce un valor mayor que %s', + }, + grid: { + default: 'Por favor introduce un número GRId válido', + }, + hex: { + default: 'Por favor introduce un valor hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratos Árabes Unidos', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaiyán', + BA: 'Bosnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suiza', + CI: 'Costa de Marfil', + CM: 'Camerún', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argelia', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + FO: 'Islas Feroe', + FR: 'Francia', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Mónaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Malí', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauricio', + MZ: 'Mozambique', + NL: 'Países Bajos', + NO: 'Noruega', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Rumania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Túnez', + TR: 'Turquía', + VG: 'Islas Vírgenes Británicas', + XK: 'República de Kosovo', + }, + country: 'Por favor introduce un número IBAN válido en %s', + default: 'Por favor introduce un número IBAN válido', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + HR: 'Croacia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Países Bajos', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turquía', + ZA: 'Sudáfrica', + }, + country: 'Por favor introduce un número válido de identificación en %s', + default: 'Por favor introduce un número de identificación válido', + }, + identical: { + default: 'Por favor introduce el mismo valor', + }, + imei: { + default: 'Por favor introduce un número IMEI válido', + }, + imo: { + default: 'Por favor introduce un número IMO válido', + }, + integer: { + default: 'Por favor introduce un número válido', + }, + ip: { + default: 'Por favor introduce una dirección IP válida', + ipv4: 'Por favor introduce una dirección IPv4 válida', + ipv6: 'Por favor introduce una dirección IPv6 válida', + }, + isbn: { + default: 'Por favor introduce un número ISBN válido', + }, + isin: { + default: 'Por favor introduce un número ISIN válido', + }, + ismn: { + default: 'Por favor introduce un número ISMN válido', + }, + issn: { + default: 'Por favor introduce un número ISSN válido', + }, + lessThan: { + default: 'Por favor introduce un valor menor o igual a %s', + notInclusive: 'Por favor introduce un valor menor que %s', + }, + mac: { + default: 'Por favor introduce una dirección MAC válida', + }, + meid: { + default: 'Por favor introduce un número MEID válido', + }, + notEmpty: { + default: 'Por favor introduce un valor', + }, + numeric: { + default: 'Por favor introduce un número decimal válido', + }, + phone: { + countries: { + AE: 'Emiratos Árabes Unidos', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IN: 'India', + MA: 'Marruecos', + NL: 'Países Bajos', + PK: 'Pakistán', + RO: 'Rumania', + RU: 'Rusa', + SK: 'Eslovaquia', + TH: 'Tailandia', + US: 'Estados Unidos', + VE: 'Venezuela', + }, + country: 'Por favor introduce un número válido de teléfono en %s', + default: 'Por favor introduce un número válido de teléfono', + }, + promise: { + default: 'Por favor introduce un valor válido', + }, + regexp: { + default: 'Por favor introduce un valor que coincida con el patrón', + }, + remote: { + default: 'Por favor introduce un valor válido', + }, + rtn: { + default: 'Por favor introduce un número RTN válido', + }, + sedol: { + default: 'Por favor introduce un número SEDOL válido', + }, + siren: { + default: 'Por favor introduce un número SIREN válido', + }, + siret: { + default: 'Por favor introduce un número SIRET válido', + }, + step: { + default: 'Por favor introduce un paso válido de %s', + }, + stringCase: { + default: 'Por favor introduce sólo caracteres en minúscula', + upper: 'Por favor introduce sólo caracteres en mayúscula', + }, + stringLength: { + between: + 'Por favor introduce un valor con una longitud entre %s y %s caracteres', + default: 'Por favor introduce un valor con una longitud válida', + less: 'Por favor introduce menos de %s caracteres', + more: 'Por favor introduce más de %s caracteres', + }, + uri: { + default: 'Por favor introduce una URI válida', + }, + uuid: { + default: 'Por favor introduce un número UUID válido', + version: 'Por favor introduce una versión UUID válida para %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Bélgica', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'España', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Reino Unido', + GR: 'Grecia', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Países Bajos', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Rumanía', + RS: 'Serbia', + RU: 'Rusa', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + VE: 'Venezuela', + ZA: 'Sudáfrica', + }, + country: 'Por favor introduce un número IVA válido en %s', + default: 'Por favor introduce un número IVA válido', + }, + vin: { + default: 'Por favor introduce un número VIN válido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suiza', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marruecos', + NL: 'Países Bajos', + PL: 'Poland', + PT: 'Portugal', + RO: 'Rumanía', + RU: 'Rusa', + SE: 'Suecia', + SG: 'Singapur', + SK: 'Eslovaquia', + US: 'Estados Unidos', + }, + country: 'Por favor introduce un código postal válido en %s', + default: 'Por favor introduce un código postal válido', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/eu_ES.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/eu_ES.ts new file mode 100644 index 0000000..04eb211 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/eu_ES.ts @@ -0,0 +1,380 @@ +/** + * Basque language package + * Translated by @xabikip + */ + +export default { + base64: { + default: 'Mesedez sartu base 64an balore egoki bat', + }, + between: { + default: 'Mesedez sartu %s eta %s artean balore bat', + notInclusive: 'Mesedez sartu %s eta %s arteko balore bat soilik', + }, + bic: { + default: 'Mesedez sartu BIC zenbaki egoki bat', + }, + callback: { + default: 'Mesedez sartu balore egoki bat', + }, + choice: { + between: 'Mesedez aukeratu %s eta %s arteko aukerak', + default: 'Mesedez sartu balore egoki bat', + less: 'Mesedez aukeraru %s aukera gutxienez', + more: 'Mesedez aukeraru %s aukera gehienez', + }, + color: { + default: 'Mesedezn sartu kolore egoki bat', + }, + creditCard: { + default: 'Mesedez sartu kerditu-txartelaren zenbaki egoki bat', + }, + cusip: { + default: 'Mesedez sartu CUSIP zenbaki egoki bat', + }, + date: { + default: 'Mesedez sartu data egoki bat', + max: 'Mesedez sartu %s baino lehenagoko data bat', + min: 'Mesedez sartu %s baino geroagoko data bat', + range: 'Mesedez sartu %s eta %s arteko data bat', + }, + different: { + default: 'Mesedez sartu balore ezberdin bat', + }, + digits: { + default: 'Mesedez sigituak soilik sartu', + }, + ean: { + default: 'Mesedez EAN zenbaki egoki bat sartu', + }, + ein: { + default: 'Mesedez EIN zenbaki egoki bat sartu', + }, + emailAddress: { + default: 'Mesedez e-posta egoki bat sartu', + }, + file: { + default: 'Mesedez artxibo egoki bat aukeratu', + }, + greaterThan: { + default: 'Mesedez %s baino handiagoa edo berdina den zenbaki bat sartu', + notInclusive: 'Mesedez %s baino handiagoa den zenbaki bat sartu', + }, + grid: { + default: 'Mesedez GRID zenbaki egoki bat sartu', + }, + hex: { + default: 'Mesedez sartu balore hamaseitar egoki bat', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Arabiar Emirerri Batuak', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia-Herzegovina', + BE: 'Belgika', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suitza', + CI: 'Boli Kosta', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + DO: 'Dominikar Errepublika', + DZ: 'Aljeria', + EE: 'Estonia', + ES: 'Espainia', + FI: 'Finlandia', + FO: 'Feroe Irlak', + FR: 'Frantzia', + GB: 'Erresuma Batua', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grezia', + GT: 'Guatemala', + HR: 'Kroazia', + HU: 'Hungaria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Monako', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Mazedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Maurizio', + MZ: 'Mozambike', + NL: 'Herbeherak', + NO: 'Norvegia', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Errumania', + RS: 'Serbia', + SA: 'Arabia Saudi', + SE: 'Suedia', + SI: 'Eslovenia', + SK: 'Eslovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Ekialdeko Timor', + TN: 'Tunisia', + TR: 'Turkia', + VG: 'Birjina Uharte Britainiar', + XK: 'Kosovoko Errepublika', + }, + country: 'Mesedez, sartu IBAN zenbaki egoki bat honako: %s', + default: 'Mesedez, sartu IBAN zenbaki egoki bat', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suitza', + CL: 'Txile', + CN: 'Txina', + CZ: 'Txekiar Errepublika', + DK: 'Danimarka', + EE: 'Estonia', + ES: 'Espainia', + FI: 'Finlandia', + HR: 'Kroazia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Mazedonia', + NL: 'Herbeherak', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovakia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turkia', + ZA: 'Hegoafrika', + }, + country: 'Mesedez baliozko identifikazio-zenbakia sartu honako: %s', + default: 'Mesedez baliozko identifikazio-zenbakia sartu', + }, + identical: { + default: 'Mesedez, balio bera sartu', + }, + imei: { + default: 'Mesedez, IMEI baliozko zenbaki bat sartu', + }, + imo: { + default: 'Mesedez, IMO baliozko zenbaki bat sartu', + }, + integer: { + default: 'Mesedez, baliozko zenbaki bat sartu', + }, + ip: { + default: 'Mesedez, baliozko IP helbide bat sartu', + ipv4: 'Mesedez, baliozko IPv4 helbide bat sartu', + ipv6: 'Mesedez, baliozko IPv6 helbide bat sartu', + }, + isbn: { + default: 'Mesedez, ISBN baliozko zenbaki bat sartu', + }, + isin: { + default: 'Mesedez, ISIN baliozko zenbaki bat sartu', + }, + ismn: { + default: 'Mesedez, ISMM baliozko zenbaki bat sartu', + }, + issn: { + default: 'Mesedez, ISSN baliozko zenbaki bat sartu', + }, + lessThan: { + default: 'Mesedez, %s en balio txikiagoa edo berdina sartu', + notInclusive: 'Mesedez, %s baino balio txikiago sartu', + }, + mac: { + default: 'Mesedez, baliozko MAC helbide bat sartu', + }, + meid: { + default: 'Mesedez, MEID baliozko zenbaki bat sartu', + }, + notEmpty: { + default: 'Mesedez balore bat sartu', + }, + numeric: { + default: 'Mesedez, baliozko zenbaki hamartar bat sartu', + }, + phone: { + countries: { + AE: 'Arabiar Emirerri Batua', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'Txina', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + ES: 'Espainia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + IN: 'India', + MA: 'Maroko', + NL: 'Herbeherak', + PK: 'Pakistan', + RO: 'Errumania', + RU: 'Errusiarra', + SK: 'Eslovakia', + TH: 'Tailandia', + US: 'Estatu Batuak', + VE: 'Venezuela', + }, + country: 'Mesedez baliozko telefono zenbaki bat sartu honako: %s', + default: 'Mesedez baliozko telefono zenbaki bat sartu', + }, + promise: { + default: 'Mesedez sartu balore egoki bat', + }, + regexp: { + default: 'Mesedez, patroiarekin bat datorren balio bat sartu', + }, + remote: { + default: 'Mesedez balore egoki bat sartu', + }, + rtn: { + default: 'Mesedez, RTN baliozko zenbaki bat sartu', + }, + sedol: { + default: 'Mesedez, SEDOL baliozko zenbaki bat sartu', + }, + siren: { + default: 'Mesedez, SIREN baliozko zenbaki bat sartu', + }, + siret: { + default: 'Mesedez, SIRET baliozko zenbaki bat sartu', + }, + step: { + default: 'Mesedez %s -ko pausu egoki bat sartu', + }, + stringCase: { + default: 'Mesedez, minuskulazko karaktereak bakarrik sartu', + upper: 'Mesedez, maiuzkulazko karaktereak bakarrik sartu', + }, + stringLength: { + between: 'Mesedez, %s eta %s arteko luzeera duen balore bat sartu', + default: 'Mesedez, luzeera egoki bateko baloreak bakarrik sartu', + less: 'Mesedez, %s baino karaktere gutxiago sartu', + more: 'Mesedez, %s baino karaktere gehiago sartu', + }, + uri: { + default: 'Mesedez, URI egoki bat sartu.', + }, + uuid: { + default: 'Mesedez, UUID baliozko zenbaki bat sartu', + version: 'Mesedez, UUID bertsio egoki bat sartu honendako: %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgika', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suitza', + CY: 'Txipre', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + EE: 'Estonia', + EL: 'Grezia', + ES: 'Espainia', + FI: 'Finlandia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + GR: 'Grezia', + HR: 'Kroazia', + HU: 'Hungaria', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Herbeherak', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Errumania', + RS: 'Serbia', + RU: 'Errusia', + SE: 'Suedia', + SI: 'Eslovenia', + SK: 'Eslovakia', + VE: 'Venezuela', + ZA: 'Hegoafrika', + }, + country: 'Mesedez, BEZ zenbaki egoki bat sartu herrialde hontarako: %s', + default: 'Mesedez, BEZ zenbaki egoki bat sartu', + }, + vin: { + default: 'Mesedez, baliozko VIN zenbaki bat sartu', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Kanada', + CH: 'Suitza', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + ES: 'Espainia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Maroko', + NL: 'Herbeherak', + PL: 'Poland', + PT: 'Portugal', + RO: 'Errumania', + RU: 'Errusia', + SE: 'Suedia', + SG: 'Singapur', + SK: 'Eslovakia', + US: 'Estatu Batuak', + }, + country: + 'Mesedez, baliozko posta kode bat sartu herrialde honetarako: %s', + default: 'Mesedez, baliozko posta kode bat sartu', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/fa_IR.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/fa_IR.ts new file mode 100644 index 0000000..4d40532 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/fa_IR.ts @@ -0,0 +1,379 @@ +/** + * Persian (Farsi) Language package. + * Translated by @i0 + */ + +export default { + base64: { + default: 'لطفا متن کد گذاری شده base 64 صحیح وارد فرمایید', + }, + between: { + default: 'لطفا یک مقدار بین %s و %s وارد فرمایید', + notInclusive: 'لطفا یک مقدار بین فقط %s و %s وارد فرمایید', + }, + bic: { + default: 'لطفا یک شماره BIC معتبر وارد فرمایید', + }, + callback: { + default: 'لطفا یک مقدار صحیح وارد فرمایید', + }, + choice: { + between: 'لطفا %s - %s گزینه انتخاب فرمایید', + default: 'لطفا یک مقدار صحیح وارد فرمایید', + less: 'لطفا حداقل %s گزینه را انتخاب فرمایید', + more: 'لطفا حداکثر %s گزینه را انتخاب فرمایید', + }, + color: { + default: 'لطفا رنگ صحیح وارد فرمایید', + }, + creditCard: { + default: 'لطفا یک شماره کارت اعتباری معتبر وارد فرمایید', + }, + cusip: { + default: 'لطفا یک شماره CUSIP معتبر وارد فرمایید', + }, + date: { + default: 'لطفا یک تاریخ معتبر وارد فرمایید', + max: 'لطفا یک تاریخ قبل از %s وارد فرمایید', + min: 'لطفا یک تاریخ بعد از %s وارد فرمایید', + range: 'لطفا یک تاریخ در بازه %s - %s وارد فرمایید', + }, + different: { + default: 'لطفا یک مقدار متفاوت وارد فرمایید', + }, + digits: { + default: 'لطفا فقط عدد وارد فرمایید', + }, + ean: { + default: 'لطفا یک شماره EAN معتبر وارد فرمایید', + }, + ein: { + default: 'لطفا یک شماره EIN معتبر وارد فرمایید', + }, + emailAddress: { + default: 'لطفا آدرس ایمیل معتبر وارد فرمایید', + }, + file: { + default: 'لطفا فایل معتبر انتخاب فرمایید', + }, + greaterThan: { + default: 'لطفا مقدار بزرگتر یا مساوی با %s وارد فرمایید', + notInclusive: 'لطفا مقدار بزرگتر از %s وارد فرمایید', + }, + grid: { + default: 'لطفا شماره GRId معتبر وارد فرمایید', + }, + hex: { + default: 'لطفا عدد هگزادسیمال صحیح وارد فرمایید', + }, + iban: { + countries: { + AD: 'آندورا', + AE: 'امارات متحده عربی', + AL: 'آلبانی', + AO: 'آنگولا', + AT: 'اتریش', + AZ: 'آذربایجان', + BA: 'بوسنی و هرزگوین', + BE: 'بلژیک', + BF: 'بورکینا فاسو', + BG: 'بلغارستان', + BH: 'بحرین', + BI: 'بروندی', + BJ: 'بنین', + BR: 'برزیل', + CH: 'سوئیس', + CI: 'ساحل عاج', + CM: 'کامرون', + CR: 'کاستاریکا', + CV: 'کیپ ورد', + CY: 'قبرس', + CZ: 'جمهوری چک', + DE: 'آلمان', + DK: 'دانمارک', + DO: 'جمهوری دومینیکن', + DZ: 'الجزایر', + EE: 'استونی', + ES: 'اسپانیا', + FI: 'فنلاند', + FO: 'جزایر فارو', + FR: 'فرانسه', + GB: 'بریتانیا', + GE: 'گرجستان', + GI: 'جبل الطارق', + GL: 'گرینلند', + GR: 'یونان', + GT: 'گواتمالا', + HR: 'کرواسی', + HU: 'مجارستان', + IE: 'ایرلند', + IL: 'اسرائیل', + IR: 'ایران', + IS: 'ایسلند', + IT: 'ایتالیا', + JO: 'اردن', + KW: 'کویت', + KZ: 'قزاقستان', + LB: 'لبنان', + LI: 'لیختن اشتاین', + LT: 'لیتوانی', + LU: 'لوکزامبورگ', + LV: 'لتونی', + MC: 'موناکو', + MD: 'مولدووا', + ME: 'مونته نگرو', + MG: 'ماداگاسکار', + MK: 'مقدونیه', + ML: 'مالی', + MR: 'موریتانی', + MT: 'مالت', + MU: 'موریس', + MZ: 'موزامبیک', + NL: 'هلند', + NO: 'نروژ', + PK: 'پاکستان', + PL: 'لهستان', + PS: 'فلسطین', + PT: 'پرتغال', + QA: 'قطر', + RO: 'رومانی', + RS: 'صربستان', + SA: 'عربستان سعودی', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + SM: 'سان مارینو', + SN: 'سنگال', + TL: 'تیمور شرق', + TN: 'تونس', + TR: 'ترکیه', + VG: 'جزایر ویرجین، بریتانیا', + XK: 'جمهوری کوزوو', + }, + country: 'لطفا یک شماره IBAN صحیح در %s وارد فرمایید', + default: 'لطفا شماره IBAN معتبر وارد فرمایید', + }, + id: { + countries: { + BA: 'بوسنی و هرزگوین', + BG: 'بلغارستان', + BR: 'برزیل', + CH: 'سوئیس', + CL: 'شیلی', + CN: 'چین', + CZ: 'چک', + DK: 'دانمارک', + EE: 'استونی', + ES: 'اسپانیا', + FI: 'فنلاند', + HR: 'کرواسی', + IE: 'ایرلند', + IS: 'ایسلند', + LT: 'لیتوانی', + LV: 'لتونی', + ME: 'مونته نگرو', + MK: 'مقدونیه', + NL: 'هلند', + PL: 'لهستان', + RO: 'رومانی', + RS: 'صربی', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + SM: 'سان مارینو', + TH: 'تایلند', + TR: 'ترکیه', + ZA: 'آفریقای جنوبی', + }, + country: 'لطفا یک شماره شناسایی معتبر در %s وارد کنید', + default: 'لطفا شماره شناسایی صحیح وارد فرمایید', + }, + identical: { + default: 'لطفا مقدار یکسان وارد فرمایید', + }, + imei: { + default: 'لطفا شماره IMEI معتبر وارد فرمایید', + }, + imo: { + default: 'لطفا شماره IMO معتبر وارد فرمایید', + }, + integer: { + default: 'لطفا یک عدد صحیح وارد فرمایید', + }, + ip: { + default: 'لطفا یک آدرس IP معتبر وارد فرمایید', + ipv4: 'لطفا یک آدرس IPv4 معتبر وارد فرمایید', + ipv6: 'لطفا یک آدرس IPv6 معتبر وارد فرمایید', + }, + isbn: { + default: 'لطفا شماره ISBN معتبر وارد فرمایید', + }, + isin: { + default: 'لطفا شماره ISIN معتبر وارد فرمایید', + }, + ismn: { + default: 'لطفا شماره ISMN معتبر وارد فرمایید', + }, + issn: { + default: 'لطفا شماره ISSN معتبر وارد فرمایید', + }, + lessThan: { + default: 'لطفا مقدار کمتر یا مساوی با %s وارد فرمایید', + notInclusive: 'لطفا مقدار کمتر از %s وارد فرمایید', + }, + mac: { + default: 'لطفا یک MAC address معتبر وارد فرمایید', + }, + meid: { + default: 'لطفا یک شماره MEID معتبر وارد فرمایید', + }, + notEmpty: { + default: 'لطفا یک مقدار وارد فرمایید', + }, + numeric: { + default: 'لطفا یک عدد اعشاری صحیح وارد فرمایید', + }, + phone: { + countries: { + AE: 'امارات متحده عربی', + BG: 'بلغارستان', + BR: 'برزیل', + CN: 'کشور چین', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + ES: 'اسپانیا', + FR: 'فرانسه', + GB: 'بریتانیا', + IN: 'هندوستان', + MA: 'مراکش', + NL: 'هلند', + PK: 'پاکستان', + RO: 'رومانی', + RU: 'روسیه', + SK: 'اسلواکی', + TH: 'تایلند', + US: 'ایالات متحده آمریکا', + VE: 'ونزوئلا', + }, + country: 'لطفا یک شماره تلفن معتبر وارد کنید در %s', + default: 'لطفا یک شماره تلفن صحیح وارد فرمایید', + }, + promise: { + default: 'لطفا یک مقدار صحیح وارد فرمایید', + }, + regexp: { + default: 'لطفا یک مقدار مطابق با الگو وارد فرمایید', + }, + remote: { + default: 'لطفا یک مقدار معتبر وارد فرمایید', + }, + rtn: { + default: 'لطفا یک شماره RTN صحیح وارد فرمایید', + }, + sedol: { + default: 'لطفا یک شماره SEDOL صحیح وارد فرمایید', + }, + siren: { + default: 'لطفا یک شماره SIREN صحیح وارد فرمایید', + }, + siret: { + default: 'لطفا یک شماره SIRET صحیح وارد فرمایید', + }, + step: { + default: 'لطفا یک گام صحیح از %s وارد فرمایید', + }, + stringCase: { + default: 'لطفا فقط حروف کوچک وارد فرمایید', + upper: 'لطفا فقط حروف بزرگ وارد فرمایید', + }, + stringLength: { + between: 'لطفا مقداری بین %s و %s حرف وارد فرمایید', + default: 'لطفا یک مقدار با طول صحیح وارد فرمایید', + less: 'لطفا کمتر از %s حرف وارد فرمایید', + more: 'لطفا بیش از %s حرف وارد فرمایید', + }, + uri: { + default: 'لطفا یک آدرس URI صحیح وارد فرمایید', + }, + uuid: { + default: 'لطفا یک شماره UUID معتبر وارد فرمایید', + version: 'لطفا یک نسخه UUID صحیح %s شماره وارد فرمایید', + }, + vat: { + countries: { + AT: 'اتریش', + BE: 'بلژیک', + BG: 'بلغارستان', + BR: 'برزیل', + CH: 'سوئیس', + CY: 'قبرس', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + EE: 'استونی', + EL: 'یونان', + ES: 'اسپانیا', + FI: 'فنلاند', + FR: 'فرانسه', + GB: 'بریتانیا', + GR: 'یونان', + HR: 'کرواسی', + HU: 'مجارستان', + IE: 'ایرلند', + IS: 'ایسلند', + IT: 'ایتالیا', + LT: 'لیتوانی', + LU: 'لوکزامبورگ', + LV: 'لتونی', + MT: 'مالت', + NL: 'هلند', + NO: 'نروژ', + PL: 'لهستانی', + PT: 'پرتغال', + RO: 'رومانی', + RS: 'صربستان', + RU: 'روسیه', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + VE: 'ونزوئلا', + ZA: 'آفریقای جنوبی', + }, + country: 'لطفا یک شماره VAT معتبر در %s وارد کنید', + default: 'لطفا یک شماره VAT صحیح وارد فرمایید', + }, + vin: { + default: 'لطفا یک شماره VIN صحیح وارد فرمایید', + }, + zipCode: { + countries: { + AT: 'اتریش', + BG: 'بلغارستان', + BR: 'برزیل', + CA: 'کانادا', + CH: 'سوئیس', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + ES: 'اسپانیا', + FR: 'فرانسه', + GB: 'بریتانیا', + IE: 'ایرلند', + IN: 'هندوستان', + IT: 'ایتالیا', + MA: 'مراکش', + NL: 'هلند', + PL: 'لهستان', + PT: 'پرتغال', + RO: 'رومانی', + RU: 'روسیه', + SE: 'سوئد', + SG: 'سنگاپور', + SK: 'اسلواکی', + US: 'ایالات متحده', + }, + country: 'لطفا یک کد پستی معتبر در %s وارد کنید', + default: 'لطفا یک کدپستی صحیح وارد فرمایید', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/fi_FI.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/fi_FI.ts new file mode 100644 index 0000000..4b1bae2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/fi_FI.ts @@ -0,0 +1,381 @@ +/** + * Finnish language package + * Translated by @traone + */ + +export default { + base64: { + default: 'Ole hyvä anna kelvollinen base64 koodattu merkkijono', + }, + between: { + default: 'Ole hyvä anna arvo %s ja %s väliltä', + notInclusive: 'Ole hyvä anna arvo %s ja %s väliltä', + }, + bic: { + default: 'Ole hyvä anna kelvollinen BIC numero', + }, + callback: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + choice: { + between: 'Ole hyvä valitse %s - %s valintaa', + default: 'Ole hyvä anna kelvollinen arvo', + less: 'Ole hyvä valitse vähintään %s valintaa', + more: 'Ole hyvä valitse enintään %s valintaa', + }, + color: { + default: 'Ole hyvä anna kelvollinen väriarvo', + }, + creditCard: { + default: 'Ole hyvä anna kelvollinen luottokortin numero', + }, + cusip: { + default: 'Ole hyvä anna kelvollinen CUSIP numero', + }, + date: { + default: 'Ole hyvä anna kelvollinen päiväys', + max: 'Ole hyvä anna %s edeltävä päiväys', + min: 'Ole hyvä anna %s jälkeinen päiväys', + range: 'Ole hyvä anna päiväys %s - %s väliltä', + }, + different: { + default: 'Ole hyvä anna jokin toinen arvo', + }, + digits: { + default: 'Vain numerot sallittuja', + }, + ean: { + default: 'Ole hyvä anna kelvollinen EAN numero', + }, + ein: { + default: 'Ole hyvä anna kelvollinen EIN numero', + }, + emailAddress: { + default: 'Ole hyvä anna kelvollinen sähköpostiosoite', + }, + file: { + default: 'Ole hyvä valitse kelvollinen tiedosto', + }, + greaterThan: { + default: 'Ole hyvä anna arvoksi yhtä suuri kuin, tai suurempi kuin %s', + notInclusive: 'Ole hyvä anna arvoksi suurempi kuin %s', + }, + grid: { + default: 'Ole hyvä anna kelvollinen GRId numero', + }, + hex: { + default: 'Ole hyvä anna kelvollinen heksadesimaali luku', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Yhdistyneet arabiemiirikunnat', + AL: 'Albania', + AO: 'Angola', + AT: 'Itävalta', + AZ: 'Azerbaidžan', + BA: 'Bosnia ja Hertsegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilia', + CH: 'Sveitsi', + CI: 'Norsunluurannikko', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Kypros', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + DO: 'Dominikaaninen tasavalta', + DZ: 'Algeria', + EE: 'Viro', + ES: 'Espanja', + FI: 'Suomi', + FO: 'Färsaaret', + FR: 'Ranska', + GB: 'Yhdistynyt kuningaskunta', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Grönlanti', + GR: 'Kreikka', + GT: 'Guatemala', + HR: 'Kroatia', + HU: 'Unkari', + IE: 'Irlanti', + IL: 'Israel', + IR: 'Iran', + IS: 'Islanti', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Liettua', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Makedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Hollanti', + NO: 'Norja', + PK: 'Pakistan', + PL: 'Puola', + PS: 'Palestiina', + PT: 'Portugali', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Itä-Timor', + TN: 'Tunisia', + TR: 'Turkki', + VG: 'Neitsytsaaret, Brittien', + XK: 'Kosovon tasavallan', + }, + country: 'Ole hyvä anna kelvollinen IBAN numero maassa %s', + default: 'Ole hyvä anna kelvollinen IBAN numero', + }, + id: { + countries: { + BA: 'Bosnia ja Hertsegovina', + BG: 'Bulgaria', + BR: 'Brasilia', + CH: 'Sveitsi', + CL: 'Chile', + CN: 'Kiina', + CZ: 'Tsekin tasavalta', + DK: 'Tanska', + EE: 'Viro', + ES: 'Espanja', + FI: 'Suomi', + HR: 'Kroatia', + IE: 'Irlanti', + IS: 'Islanti', + LT: 'Liettua', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Makedonia', + NL: 'Hollanti', + PL: 'Puola', + RO: 'Romania', + RS: 'Serbia', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thaimaa', + TR: 'Turkki', + ZA: 'Etelä Afrikka', + }, + country: 'Ole hyvä anna kelvollinen henkilötunnus maassa %s', + default: 'Ole hyvä anna kelvollinen henkilötunnus', + }, + identical: { + default: 'Ole hyvä anna sama arvo', + }, + imei: { + default: 'Ole hyvä anna kelvollinen IMEI numero', + }, + imo: { + default: 'Ole hyvä anna kelvollinen IMO numero', + }, + integer: { + default: 'Ole hyvä anna kelvollinen kokonaisluku', + }, + ip: { + default: 'Ole hyvä anna kelvollinen IP osoite', + ipv4: 'Ole hyvä anna kelvollinen IPv4 osoite', + ipv6: 'Ole hyvä anna kelvollinen IPv6 osoite', + }, + isbn: { + default: 'Ole hyvä anna kelvollinen ISBN numero', + }, + isin: { + default: 'Ole hyvä anna kelvollinen ISIN numero', + }, + ismn: { + default: 'Ole hyvä anna kelvollinen ISMN numero', + }, + issn: { + default: 'Ole hyvä anna kelvollinen ISSN numero', + }, + lessThan: { + default: + 'Ole hyvä anna arvo joka on vähemmän kuin tai yhtä suuri kuin %s', + notInclusive: 'Ole hyvä anna arvo joka on vähemmän kuin %s', + }, + mac: { + default: 'Ole hyvä anna kelvollinen MAC osoite', + }, + meid: { + default: 'Ole hyvä anna kelvollinen MEID numero', + }, + notEmpty: { + default: 'Pakollinen kenttä, anna jokin arvo', + }, + numeric: { + default: 'Ole hyvä anna kelvollinen liukuluku', + }, + phone: { + countries: { + AE: 'Yhdistyneet arabiemiirikunnat', + BG: 'Bulgaria', + BR: 'Brasilia', + CN: 'Kiina', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + ES: 'Espanja', + FR: 'Ranska', + GB: 'Yhdistynyt kuningaskunta', + IN: 'Intia', + MA: 'Marokko', + NL: 'Hollanti', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Venäjä', + SK: 'Slovakia', + TH: 'Thaimaa', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Ole hyvä anna kelvollinen puhelinnumero maassa %s', + default: 'Ole hyvä anna kelvollinen puhelinnumero', + }, + promise: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + regexp: { + default: 'Ole hyvä anna kaavan mukainen arvo', + }, + remote: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + rtn: { + default: 'Ole hyvä anna kelvollinen RTN numero', + }, + sedol: { + default: 'Ole hyvä anna kelvollinen SEDOL numero', + }, + siren: { + default: 'Ole hyvä anna kelvollinen SIREN numero', + }, + siret: { + default: 'Ole hyvä anna kelvollinen SIRET numero', + }, + step: { + default: 'Ole hyvä anna kelvollinen arvo %s porrastettuna', + }, + stringCase: { + default: 'Ole hyvä anna pelkästään pieniä kirjaimia', + upper: 'Ole hyvä anna pelkästään isoja kirjaimia', + }, + stringLength: { + between: + 'Ole hyvä anna arvo joka on vähintään %s ja enintään %s merkkiä pitkä', + default: 'Ole hyvä anna kelvollisen mittainen merkkijono', + less: 'Ole hyvä anna vähemmän kuin %s merkkiä', + more: 'Ole hyvä anna vähintään %s merkkiä', + }, + uri: { + default: 'Ole hyvä anna kelvollinen URI', + }, + uuid: { + default: 'Ole hyvä anna kelvollinen UUID numero', + version: 'Ole hyvä anna kelvollinen UUID versio %s numero', + }, + vat: { + countries: { + AT: 'Itävalta', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brasilia', + CH: 'Sveitsi', + CY: 'Kypros', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + EE: 'Viro', + EL: 'Kreikka', + ES: 'Espanja', + FI: 'Suomi', + FR: 'Ranska', + GB: 'Yhdistyneet kuningaskunnat', + GR: 'Kreikka', + HR: 'Kroatia', + HU: 'Unkari', + IE: 'Irlanti', + IS: 'Islanti', + IT: 'Italia', + LT: 'Liettua', + LU: 'Luxemburg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Hollanti', + NO: 'Norja', + PL: 'Puola', + PT: 'Portugali', + RO: 'Romania', + RS: 'Serbia', + RU: 'Venäjä', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Etelä Afrikka', + }, + country: 'Ole hyvä anna kelvollinen VAT numero maahan: %s', + default: 'Ole hyvä anna kelvollinen VAT numero', + }, + vin: { + default: 'Ole hyvä anna kelvollinen VIN numero', + }, + zipCode: { + countries: { + AT: 'Itävalta', + BG: 'Bulgaria', + BR: 'Brasilia', + CA: 'Kanada', + CH: 'Sveitsi', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + ES: 'Espanja', + FR: 'Ranska', + GB: 'Yhdistyneet kuningaskunnat', + IE: 'Irlanti', + IN: 'Intia', + IT: 'Italia', + MA: 'Marokko', + NL: 'Hollanti', + PL: 'Puola', + PT: 'Portugali', + RO: 'Romania', + RU: 'Venäjä', + SE: 'Ruotsi', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Ole hyvä anna kelvollinen postinumero maassa: %s', + default: 'Ole hyvä anna kelvollinen postinumero', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/fr_BE.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/fr_BE.ts new file mode 100644 index 0000000..f89944b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/fr_BE.ts @@ -0,0 +1,380 @@ +/** + * Belgium (French) language package + * Translated by @neilime + */ + +export default { + base64: { + default: 'Veuillez fournir une donnée correctement encodée en Base64', + }, + between: { + default: 'Veuillez fournir une valeur comprise entre %s et %s', + notInclusive: + 'Veuillez fournir une valeur strictement comprise entre %s et %s', + }, + bic: { + default: 'Veuillez fournir un code-barre BIC valide', + }, + callback: { + default: 'Veuillez fournir une valeur valide', + }, + choice: { + between: 'Veuillez choisir de %s à %s options', + default: 'Veuillez fournir une valeur valide', + less: 'Veuillez choisir au minimum %s options', + more: 'Veuillez choisir au maximum %s options', + }, + color: { + default: 'Veuillez fournir une couleur valide', + }, + creditCard: { + default: 'Veuillez fournir un numéro de carte de crédit valide', + }, + cusip: { + default: 'Veuillez fournir un code CUSIP valide', + }, + date: { + default: 'Veuillez fournir une date valide', + max: 'Veuillez fournir une date inférieure à %s', + min: 'Veuillez fournir une date supérieure à %s', + range: 'Veuillez fournir une date comprise entre %s et %s', + }, + different: { + default: 'Veuillez fournir une valeur différente', + }, + digits: { + default: 'Veuillez ne fournir que des chiffres', + }, + ean: { + default: 'Veuillez fournir un code-barre EAN valide', + }, + ein: { + default: 'Veuillez fournir un code-barre EIN valide', + }, + emailAddress: { + default: 'Veuillez fournir une adresse e-mail valide', + }, + file: { + default: 'Veuillez choisir un fichier valide', + }, + greaterThan: { + default: 'Veuillez fournir une valeur supérieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur supérieure à %s', + }, + grid: { + default: 'Veuillez fournir un code GRId valide', + }, + hex: { + default: 'Veuillez fournir un nombre hexadécimal valide', + }, + iban: { + countries: { + AD: 'Andorre', + AE: 'Émirats Arabes Unis', + AL: 'Albanie', + AO: 'Angola', + AT: 'Autriche', + AZ: 'Azerbaïdjan', + BA: 'Bosnie-Herzégovine', + BE: 'Belgique', + BF: 'Burkina Faso', + BG: 'Bulgarie', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Bénin', + BR: 'Brésil', + CH: 'Suisse', + CI: "Côte d'ivoire", + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Cap Vert', + CY: 'Chypre', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + DO: 'République Dominicaine', + DZ: 'Algérie', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + FO: 'Îles Féroé', + FR: 'France', + GB: 'Royaume Uni', + GE: 'Géorgie', + GI: 'Gibraltar', + GL: 'Groënland', + GR: 'Gréce', + GT: 'Guatemala', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IL: 'Israël', + IR: 'Iran', + IS: 'Islande', + IT: 'Italie', + JO: 'Jordanie', + KW: 'Koweït', + KZ: 'Kazakhstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Lithuanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MC: 'Monaco', + MD: 'Moldavie', + ME: 'Monténégro', + MG: 'Madagascar', + MK: 'Macédoine', + ML: 'Mali', + MR: 'Mauritanie', + MT: 'Malte', + MU: 'Maurice', + MZ: 'Mozambique', + NL: 'Pays-Bas', + NO: 'Norvège', + PK: 'Pakistan', + PL: 'Pologne', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Quatar', + RO: 'Roumanie', + RS: 'Serbie', + SA: 'Arabie Saoudite', + SE: 'Suède', + SI: 'Slovènie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + SN: 'Sénégal', + TL: 'Timor oriental', + TN: 'Tunisie', + TR: 'Turquie', + VG: 'Îles Vierges britanniques', + XK: 'République du Kosovo', + }, + country: 'Veuillez fournir un code IBAN valide pour %s', + default: 'Veuillez fournir un code IBAN valide', + }, + id: { + countries: { + BA: 'Bosnie-Herzégovine', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CL: 'Chili', + CN: 'Chine', + CZ: 'Tchèque', + DK: 'Danemark', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + HR: 'Croatie', + IE: 'Irlande', + IS: 'Islande', + LT: 'Lituanie', + LV: 'Lettonie', + ME: 'Monténégro', + MK: 'Macédoine', + NL: 'Pays-Bas', + PL: 'Pologne', + RO: 'Roumanie', + RS: 'Serbie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + TH: 'Thaïlande', + TR: 'Turquie', + ZA: 'Afrique du Sud', + }, + country: "Veuillez fournir un numéro d'identification valide pour %s", + default: "Veuillez fournir un numéro d'identification valide", + }, + identical: { + default: 'Veuillez fournir la même valeur', + }, + imei: { + default: 'Veuillez fournir un code IMEI valide', + }, + imo: { + default: 'Veuillez fournir un code IMO valide', + }, + integer: { + default: 'Veuillez fournir un nombre valide', + }, + ip: { + default: 'Veuillez fournir une adresse IP valide', + ipv4: 'Veuillez fournir une adresse IPv4 valide', + ipv6: 'Veuillez fournir une adresse IPv6 valide', + }, + isbn: { + default: 'Veuillez fournir un code ISBN valide', + }, + isin: { + default: 'Veuillez fournir un code ISIN valide', + }, + ismn: { + default: 'Veuillez fournir un code ISMN valide', + }, + issn: { + default: 'Veuillez fournir un code ISSN valide', + }, + lessThan: { + default: 'Veuillez fournir une valeur inférieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur inférieure à %s', + }, + mac: { + default: 'Veuillez fournir une adresse MAC valide', + }, + meid: { + default: 'Veuillez fournir un code MEID valide', + }, + notEmpty: { + default: 'Veuillez fournir une valeur', + }, + numeric: { + default: 'Veuillez fournir une valeur décimale valide', + }, + phone: { + countries: { + AE: 'Émirats Arabes Unis', + BG: 'Bulgarie', + BR: 'Brésil', + CN: 'Chine', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IN: 'Inde', + MA: 'Maroc', + NL: 'Pays-Bas', + PK: 'Pakistan', + RO: 'Roumanie', + RU: 'Russie', + SK: 'Slovaquie', + TH: 'Thaïlande', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Veuillez fournir un numéro de téléphone valide pour %s', + default: 'Veuillez fournir un numéro de téléphone valide', + }, + promise: { + default: 'Veuillez fournir une valeur valide', + }, + regexp: { + default: 'Veuillez fournir une valeur correspondant au modèle', + }, + remote: { + default: 'Veuillez fournir une valeur valide', + }, + rtn: { + default: 'Veuillez fournir un code RTN valide', + }, + sedol: { + default: 'Veuillez fournir a valid SEDOL number', + }, + siren: { + default: 'Veuillez fournir un numéro SIREN valide', + }, + siret: { + default: 'Veuillez fournir un numéro SIRET valide', + }, + step: { + default: 'Veuillez fournir un écart valide de %s', + }, + stringCase: { + default: 'Veuillez ne fournir que des caractères minuscules', + upper: 'Veuillez ne fournir que des caractères majuscules', + }, + stringLength: { + between: 'Veuillez fournir entre %s et %s caractères', + default: 'Veuillez fournir une valeur de longueur valide', + less: 'Veuillez fournir moins de %s caractères', + more: 'Veuillez fournir plus de %s caractères', + }, + uri: { + default: 'Veuillez fournir un URI valide', + }, + uuid: { + default: 'Veuillez fournir un UUID valide', + version: 'Veuillez fournir un UUID version %s number', + }, + vat: { + countries: { + AT: 'Autriche', + BE: 'Belgique', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CY: 'Chypre', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + EE: 'Estonie', + EL: 'Grèce', + ES: 'Espagne', + FI: 'Finlande', + FR: 'France', + GB: 'Royaume-Uni', + GR: 'Grèce', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IS: 'Islande', + IT: 'Italie', + LT: 'Lituanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MT: 'Malte', + NL: 'Pays-Bas', + NO: 'Norvège', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RS: 'Serbie', + RU: 'Russie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + VE: 'Venezuela', + ZA: 'Afrique du Sud', + }, + country: 'Veuillez fournir un code VAT valide pour %s', + default: 'Veuillez fournir un code VAT valide', + }, + vin: { + default: 'Veuillez fournir un code VIN valide', + }, + zipCode: { + countries: { + AT: 'Autriche', + BG: 'Bulgarie', + BR: 'Brésil', + CA: 'Canada', + CH: 'Suisse', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IE: 'Irlande', + IN: 'Inde', + IT: 'Italie', + MA: 'Maroc', + NL: 'Pays-Bas', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RU: 'Russie', + SE: 'Suède', + SG: 'Singapour', + SK: 'Slovaquie', + US: 'USA', + }, + country: 'Veuillez fournir un code postal valide pour %s', + default: 'Veuillez fournir un code postal valide', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/fr_FR.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/fr_FR.ts new file mode 100644 index 0000000..516f6cb --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/fr_FR.ts @@ -0,0 +1,380 @@ +/** + * French language package + * Translated by @dlucazeau. Updated by @neilime, @jazzzz + */ + +export default { + base64: { + default: 'Veuillez fournir une donnée correctement encodée en Base64', + }, + between: { + default: 'Veuillez fournir une valeur comprise entre %s et %s', + notInclusive: + 'Veuillez fournir une valeur strictement comprise entre %s et %s', + }, + bic: { + default: 'Veuillez fournir un code-barre BIC valide', + }, + callback: { + default: 'Veuillez fournir une valeur valide', + }, + choice: { + between: 'Veuillez choisir de %s à %s options', + default: 'Veuillez fournir une valeur valide', + less: 'Veuillez choisir au minimum %s options', + more: 'Veuillez choisir au maximum %s options', + }, + color: { + default: 'Veuillez fournir une couleur valide', + }, + creditCard: { + default: 'Veuillez fournir un numéro de carte de crédit valide', + }, + cusip: { + default: 'Veuillez fournir un code CUSIP valide', + }, + date: { + default: 'Veuillez fournir une date valide', + max: 'Veuillez fournir une date inférieure à %s', + min: 'Veuillez fournir une date supérieure à %s', + range: 'Veuillez fournir une date comprise entre %s et %s', + }, + different: { + default: 'Veuillez fournir une valeur différente', + }, + digits: { + default: 'Veuillez ne fournir que des chiffres', + }, + ean: { + default: 'Veuillez fournir un code-barre EAN valide', + }, + ein: { + default: 'Veuillez fournir un code-barre EIN valide', + }, + emailAddress: { + default: 'Veuillez fournir une adresse e-mail valide', + }, + file: { + default: 'Veuillez choisir un fichier valide', + }, + greaterThan: { + default: 'Veuillez fournir une valeur supérieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur supérieure à %s', + }, + grid: { + default: 'Veuillez fournir un code GRId valide', + }, + hex: { + default: 'Veuillez fournir un nombre hexadécimal valide', + }, + iban: { + countries: { + AD: 'Andorre', + AE: 'Émirats Arabes Unis', + AL: 'Albanie', + AO: 'Angola', + AT: 'Autriche', + AZ: 'Azerbaïdjan', + BA: 'Bosnie-Herzégovine', + BE: 'Belgique', + BF: 'Burkina Faso', + BG: 'Bulgarie', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Bénin', + BR: 'Brésil', + CH: 'Suisse', + CI: "Côte d'ivoire", + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Cap Vert', + CY: 'Chypre', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + DO: 'République Dominicaine', + DZ: 'Algérie', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + FO: 'Îles Féroé', + FR: 'France', + GB: 'Royaume Uni', + GE: 'Géorgie', + GI: 'Gibraltar', + GL: 'Groënland', + GR: 'Gréce', + GT: 'Guatemala', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IL: 'Israël', + IR: 'Iran', + IS: 'Islande', + IT: 'Italie', + JO: 'Jordanie', + KW: 'Koweït', + KZ: 'Kazakhstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Lithuanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MC: 'Monaco', + MD: 'Moldavie', + ME: 'Monténégro', + MG: 'Madagascar', + MK: 'Macédoine', + ML: 'Mali', + MR: 'Mauritanie', + MT: 'Malte', + MU: 'Maurice', + MZ: 'Mozambique', + NL: 'Pays-Bas', + NO: 'Norvège', + PK: 'Pakistan', + PL: 'Pologne', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Quatar', + RO: 'Roumanie', + RS: 'Serbie', + SA: 'Arabie Saoudite', + SE: 'Suède', + SI: 'Slovènie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + SN: 'Sénégal', + TL: 'Timor oriental', + TN: 'Tunisie', + TR: 'Turquie', + VG: 'Îles Vierges britanniques', + XK: 'République du Kosovo', + }, + country: 'Veuillez fournir un code IBAN valide pour %s', + default: 'Veuillez fournir un code IBAN valide', + }, + id: { + countries: { + BA: 'Bosnie-Herzégovine', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CL: 'Chili', + CN: 'Chine', + CZ: 'République Tchèque', + DK: 'Danemark', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + HR: 'Croatie', + IE: 'Irlande', + IS: 'Islande', + LT: 'Lituanie', + LV: 'Lettonie', + ME: 'Monténégro', + MK: 'Macédoine', + NL: 'Pays-Bas', + PL: 'Pologne', + RO: 'Roumanie', + RS: 'Serbie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + TH: 'Thaïlande', + TR: 'Turquie', + ZA: 'Afrique du Sud', + }, + country: "Veuillez fournir un numéro d'identification valide pour %s", + default: "Veuillez fournir un numéro d'identification valide", + }, + identical: { + default: 'Veuillez fournir la même valeur', + }, + imei: { + default: 'Veuillez fournir un code IMEI valide', + }, + imo: { + default: 'Veuillez fournir un code IMO valide', + }, + integer: { + default: 'Veuillez fournir un nombre valide', + }, + ip: { + default: 'Veuillez fournir une adresse IP valide', + ipv4: 'Veuillez fournir une adresse IPv4 valide', + ipv6: 'Veuillez fournir une adresse IPv6 valide', + }, + isbn: { + default: 'Veuillez fournir un code ISBN valide', + }, + isin: { + default: 'Veuillez fournir un code ISIN valide', + }, + ismn: { + default: 'Veuillez fournir un code ISMN valide', + }, + issn: { + default: 'Veuillez fournir un code ISSN valide', + }, + lessThan: { + default: 'Veuillez fournir une valeur inférieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur inférieure à %s', + }, + mac: { + default: 'Veuillez fournir une adresse MAC valide', + }, + meid: { + default: 'Veuillez fournir un code MEID valide', + }, + notEmpty: { + default: 'Veuillez fournir une valeur', + }, + numeric: { + default: 'Veuillez fournir une valeur décimale valide', + }, + phone: { + countries: { + AE: 'Émirats Arabes Unis', + BG: 'Bulgarie', + BR: 'Brésil', + CN: 'Chine', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IN: 'Inde', + MA: 'Maroc', + NL: 'Pays-Bas', + PK: 'Pakistan', + RO: 'Roumanie', + RU: 'Russie', + SK: 'Slovaquie', + TH: 'Thaïlande', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Veuillez fournir un numéro de téléphone valide pour %s', + default: 'Veuillez fournir un numéro de téléphone valide', + }, + promise: { + default: 'Veuillez fournir une valeur valide', + }, + regexp: { + default: 'Veuillez fournir une valeur correspondant au modèle', + }, + remote: { + default: 'Veuillez fournir une valeur valide', + }, + rtn: { + default: 'Veuillez fournir un code RTN valide', + }, + sedol: { + default: 'Veuillez fournir a valid SEDOL number', + }, + siren: { + default: 'Veuillez fournir un numéro SIREN valide', + }, + siret: { + default: 'Veuillez fournir un numéro SIRET valide', + }, + step: { + default: 'Veuillez fournir un écart valide de %s', + }, + stringCase: { + default: 'Veuillez ne fournir que des caractères minuscules', + upper: 'Veuillez ne fournir que des caractères majuscules', + }, + stringLength: { + between: 'Veuillez fournir entre %s et %s caractères', + default: 'Veuillez fournir une valeur de longueur valide', + less: 'Veuillez fournir moins de %s caractères', + more: 'Veuillez fournir plus de %s caractères', + }, + uri: { + default: 'Veuillez fournir un URI valide', + }, + uuid: { + default: 'Veuillez fournir un UUID valide', + version: 'Veuillez fournir un UUID version %s number', + }, + vat: { + countries: { + AT: 'Autriche', + BE: 'Belgique', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CY: 'Chypre', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + EE: 'Estonie', + EL: 'Grèce', + ES: 'Espagne', + FI: 'Finlande', + FR: 'France', + GB: 'Royaume-Uni', + GR: 'Grèce', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IS: 'Islande', + IT: 'Italie', + LT: 'Lituanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MT: 'Malte', + NL: 'Pays-Bas', + NO: 'Norvège', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RS: 'Serbie', + RU: 'Russie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + VE: 'Venezuela', + ZA: 'Afrique du Sud', + }, + country: 'Veuillez fournir un code VAT valide pour %s', + default: 'Veuillez fournir un code VAT valide', + }, + vin: { + default: 'Veuillez fournir un code VIN valide', + }, + zipCode: { + countries: { + AT: 'Autriche', + BG: 'Bulgarie', + BR: 'Brésil', + CA: 'Canada', + CH: 'Suisse', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IE: 'Irlande', + IN: 'Inde', + IT: 'Italie', + MA: 'Maroc', + NL: 'Pays-Bas', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RU: 'Russie', + SE: 'Suède', + SG: 'Singapour', + SK: 'Slovaquie', + US: 'USA', + }, + country: 'Veuillez fournir un code postal valide pour %s', + default: 'Veuillez fournir un code postal valide', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/he_IL.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/he_IL.ts new file mode 100644 index 0000000..acf3b8e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/he_IL.ts @@ -0,0 +1,379 @@ +/** + * Hebrew language package + * Translated by @yakidahan + */ + +export default { + base64: { + default: 'נא להזין ערך המקודד בבסיס 64', + }, + between: { + default: 'נא להזין ערך בין %s ל-%s', + notInclusive: 'נא להזין ערך בין %s ל-%s בדיוק', + }, + bic: { + default: 'נא להזין מספר BIC תקין', + }, + callback: { + default: 'נא להזין ערך תקין', + }, + choice: { + between: 'נא לבחור %s-%s אפשרויות', + default: 'נא להזין ערך תקין', + less: 'נא לבחור מינימום %s אפשרויות', + more: 'נא לבחור מקסימום %s אפשרויות', + }, + color: { + default: 'נא להזין קוד צבע תקין', + }, + creditCard: { + default: 'נא להזין מספר כרטיס אשראי תקין', + }, + cusip: { + default: 'נא להזין מספר CUSIP תקין', + }, + date: { + default: 'נא להזין תאריך תקין', + max: 'נא להזין תאריך לפני %s', + min: 'נא להזין תאריך אחרי %s', + range: 'נא להזין תאריך בטווח %s - %s', + }, + different: { + default: 'נא להזין ערך שונה', + }, + digits: { + default: 'נא להזין ספרות בלבד', + }, + ean: { + default: 'נא להזין מספר EAN תקין', + }, + ein: { + default: 'נא להזין מספר EIN תקין', + }, + emailAddress: { + default: 'נא להזין כתובת דוא"ל תקינה', + }, + file: { + default: 'נא לבחור קובץ חוקי', + }, + greaterThan: { + default: 'נא להזין ערך גדול או שווה ל-%s', + notInclusive: 'נא להזין ערך גדול מ-%s', + }, + grid: { + default: 'נא להזין מספר GRId תקין', + }, + hex: { + default: 'נא להזין מספר הקסדצימלי תקין', + }, + iban: { + countries: { + AD: 'אנדורה', + AE: 'איחוד האמירויות הערבי', + AL: 'אלבניה', + AO: 'אנגולה', + AT: 'אוסטריה', + AZ: 'אזרבייגאן', + BA: 'בוסניה והרצגובינה', + BE: 'בלגיה', + BF: 'בורקינה פאסו', + BG: 'בולגריה', + BH: 'בחריין', + BI: 'בורונדי', + BJ: 'בנין', + BR: 'ברזיל', + CH: 'שווייץ', + CI: 'חוף השנהב', + CM: 'קמרון', + CR: 'קוסטה ריקה', + CV: 'קייפ ורדה', + CY: 'קפריסין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + DO: 'דומיניקה', + DZ: 'אלגיריה', + EE: 'אסטוניה', + ES: 'ספרד', + FI: 'פינלנד', + FO: 'איי פארו', + FR: 'צרפת', + GB: 'בריטניה', + GE: 'גאורגיה', + GI: 'גיברלטר', + GL: 'גרינלנד', + GR: 'יוון', + GT: 'גואטמלה', + HR: 'קרואטיה', + HU: 'הונגריה', + IE: 'אירלנד', + IL: 'ישראל', + IR: 'איראן', + IS: 'איסלנד', + IT: 'איטליה', + JO: 'ירדן', + KW: 'כווית', + KZ: 'קזחסטן', + LB: 'לבנון', + LI: 'ליכטנשטיין', + LT: 'ליטא', + LU: 'לוקסמבורג', + LV: 'לטביה', + MC: 'מונקו', + MD: 'מולדובה', + ME: 'מונטנגרו', + MG: 'מדגסקר', + MK: 'מקדוניה', + ML: 'מאלי', + MR: 'מאוריטניה', + MT: 'מלטה', + MU: 'מאוריציוס', + MZ: 'מוזמביק', + NL: 'הולנד', + NO: 'נורווגיה', + PK: 'פקיסטן', + PL: 'פולין', + PS: 'פלסטין', + PT: 'פורטוגל', + QA: 'קטאר', + RO: 'רומניה', + RS: 'סרביה', + SA: 'ערב הסעודית', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + SM: 'סן מרינו', + SN: 'סנגל', + TL: 'מזרח טימור', + TN: 'תוניסיה', + TR: 'טורקיה', + VG: 'איי הבתולה, בריטניה', + XK: 'רפובליקה של קוסובו', + }, + country: 'נא להזין מספר IBAN תקני ב%s', + default: 'נא להזין מספר IBAN תקין', + }, + id: { + countries: { + BA: 'בוסניה והרצגובינה', + BG: 'בולגריה', + BR: 'ברזיל', + CH: 'שווייץ', + CL: 'צילה', + CN: 'סין', + CZ: 'צכיה', + DK: 'דנמרק', + EE: 'אסטוניה', + ES: 'ספרד', + FI: 'פינלנד', + HR: 'קרואטיה', + IE: 'אירלנד', + IS: 'איסלנד', + LT: 'ליטא', + LV: 'לטביה', + ME: 'מונטנגרו', + MK: 'מקדוניה', + NL: 'הולנד', + PL: 'פולין', + RO: 'רומניה', + RS: 'סרביה', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + SM: 'סן מרינו', + TH: 'תאילנד', + TR: 'טורקיה', + ZA: 'דרום אפריקה', + }, + country: 'נא להזין מספר זהות תקני ב%s', + default: 'נא להזין מספר זהות תקין', + }, + identical: { + default: 'נא להזין את הערך שנית', + }, + imei: { + default: 'נא להזין מספר IMEI תקין', + }, + imo: { + default: 'נא להזין מספר IMO תקין', + }, + integer: { + default: 'נא להזין מספר תקין', + }, + ip: { + default: 'נא להזין כתובת IP תקינה', + ipv4: 'נא להזין כתובת IPv4 תקינה', + ipv6: 'נא להזין כתובת IPv6 תקינה', + }, + isbn: { + default: 'נא להזין מספר ISBN תקין', + }, + isin: { + default: 'נא להזין מספר ISIN תקין', + }, + ismn: { + default: 'נא להזין מספר ISMN תקין', + }, + issn: { + default: 'נא להזין מספר ISSN תקין', + }, + lessThan: { + default: 'נא להזין ערך קטן או שווה ל-%s', + notInclusive: 'נא להזין ערך קטן מ-%s', + }, + mac: { + default: 'נא להזין מספר MAC תקין', + }, + meid: { + default: 'נא להזין מספר MEID תקין', + }, + notEmpty: { + default: 'נא להזין ערך', + }, + numeric: { + default: 'נא להזין מספר עשרוני חוקי', + }, + phone: { + countries: { + AE: 'איחוד האמירויות הערבי', + BG: 'בולגריה', + BR: 'ברזיל', + CN: 'סין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + ES: 'ספרד', + FR: 'צרפת', + GB: 'בריטניה', + IN: 'הודו', + MA: 'מרוקו', + NL: 'הולנד', + PK: 'פקיסטן', + RO: 'רומניה', + RU: 'רוסיה', + SK: 'סלובקיה', + TH: 'תאילנד', + US: 'ארצות הברית', + VE: 'ונצואלה', + }, + country: 'נא להזין מספר טלפון תקין ב%s', + default: 'נא להין מספר טלפון תקין', + }, + promise: { + default: 'נא להזין ערך תקין', + }, + regexp: { + default: 'נא להזין ערך תואם לתבנית', + }, + remote: { + default: 'נא להזין ערך תקין', + }, + rtn: { + default: 'נא להזין מספר RTN תקין', + }, + sedol: { + default: 'נא להזין מספר SEDOL תקין', + }, + siren: { + default: 'נא להזין מספר SIREN תקין', + }, + siret: { + default: 'נא להזין מספר SIRET תקין', + }, + step: { + default: 'נא להזין שלב תקין מתוך %s', + }, + stringCase: { + default: 'נא להזין אותיות קטנות בלבד', + upper: 'נא להזין אותיות גדולות בלבד', + }, + stringLength: { + between: 'נא להזין ערך בין %s עד %s תווים', + default: 'נא להזין ערך באורך חוקי', + less: 'נא להזין ערך קטן מ-%s תווים', + more: 'נא להזין ערך גדול מ- %s תווים', + }, + uri: { + default: 'נא להזין URI תקין', + }, + uuid: { + default: 'נא להזין מספר UUID תקין', + version: 'נא להזין מספר UUID גרסה %s תקין', + }, + vat: { + countries: { + AT: 'אוסטריה', + BE: 'בלגיה', + BG: 'בולגריה', + BR: 'ברזיל', + CH: 'שווייץ', + CY: 'קפריסין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + EE: 'אסטוניה', + EL: 'יוון', + ES: 'ספרד', + FI: 'פינלנד', + FR: 'צרפת', + GB: 'בריטניה', + GR: 'יוון', + HR: 'קרואטיה', + HU: 'הונגריה', + IE: 'אירלנד', + IS: 'איסלנד', + IT: 'איטליה', + LT: 'ליטא', + LU: 'לוקסמבורג', + LV: 'לטביה', + MT: 'מלטה', + NL: 'הולנד', + NO: 'נורווגיה', + PL: 'פולין', + PT: 'פורטוגל', + RO: 'רומניה', + RS: 'סרביה', + RU: 'רוסיה', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + VE: 'ונצואלה', + ZA: 'דרום אפריקה', + }, + country: 'נא להזין מספר VAT תקין ב%s', + default: 'נא להזין מספר VAT תקין', + }, + vin: { + default: 'נא להזין מספר VIN תקין', + }, + zipCode: { + countries: { + AT: 'אוסטריה', + BG: 'בולגריה', + BR: 'ברזיל', + CA: 'קנדה', + CH: 'שווייץ', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + ES: 'ספרד', + FR: 'צרפת', + GB: 'בריטניה', + IE: 'אירלנד', + IN: 'הודו', + IT: 'איטליה', + MA: 'מרוקו', + NL: 'הולנד', + PL: 'פולין', + PT: 'פורטוגל', + RO: 'רומניה', + RU: 'רוסיה', + SE: 'שוודיה', + SG: 'סינגפור', + SK: 'סלובקיה', + US: 'ארצות הברית', + }, + country: 'נא להזין מיקוד תקין ב%s', + default: 'נא להזין מיקוד תקין', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/hi_IN.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/hi_IN.ts new file mode 100644 index 0000000..fd0bc84 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/hi_IN.ts @@ -0,0 +1,379 @@ +/** + * Hindi (India) language package + * Translated by @gladiatorAsh + */ + +export default { + base64: { + default: 'कृपया एक वैध 64 इनकोडिंग मूल्यांक प्रविष्ट करें', + }, + between: { + default: 'कृपया %s और %s के बीच एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया सिर्फ़ %s और %s के बीच मूल्यांक प्रविष्ट करें', + }, + bic: { + default: 'कृपया एक वैध BIC संख्या प्रविष्ट करें', + }, + callback: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + choice: { + between: 'कृपया %s और %s के बीच विकल्पों का चयन करें', + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + less: 'कृपया कम से कम %s विकल्पों का चयन करें', + more: 'कृपया अधिकतम %s विकल्पों का चयन करें', + }, + color: { + default: 'कृपया एक वैध रंग प्रविष्ट करें', + }, + creditCard: { + default: 'कृपया एक वैध क्रेडिट कार्ड संख्या प्रविष्ट करें', + }, + cusip: { + default: 'कृपया एक वैध CUSIP संख्या प्रविष्ट करें', + }, + date: { + default: 'कृपया एक वैध दिनांक प्रविष्ट करें', + max: 'कृपया %s के पहले एक वैध दिनांक प्रविष्ट करें', + min: 'कृपया %s के बाद एक वैध दिनांक प्रविष्ट करें', + range: 'कृपया %s से %s के बीच एक वैध दिनांक प्रविष्ट करें', + }, + different: { + default: 'कृपया एक अलग मूल्यांक प्रविष्ट करें', + }, + digits: { + default: 'कृपया केवल अंक प्रविष्ट करें', + }, + ean: { + default: 'कृपया एक वैध EAN संख्या प्रविष्ट करें', + }, + ein: { + default: 'कृपया एक वैध EIN संख्या प्रविष्ट करें', + }, + emailAddress: { + default: 'कृपया एक वैध ईमेल पता प्रविष्ट करें', + }, + file: { + default: 'कृपया एक वैध फ़ाइल का चयन करें', + }, + greaterThan: { + default: 'कृपया %s से अधिक या बराबर एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया %s से अधिक एक मूल्यांक प्रविष्ट करें', + }, + grid: { + default: 'कृपया एक वैध GRID संख्या प्रविष्ट करें', + }, + hex: { + default: 'कृपया एक वैध हेक्साडेसिमल संख्या प्रविष्ट करें', + }, + iban: { + countries: { + AD: 'अंडोरा', + AE: 'संयुक्त अरब अमीरात', + AL: 'अल्बानिया', + AO: 'अंगोला', + AT: 'ऑस्ट्रिया', + AZ: 'अज़रबैजान', + BA: 'बोस्निया और हर्जेगोविना', + BE: 'बेल्जियम', + BF: 'बुर्किना फासो', + BG: 'बुल्गारिया', + BH: 'बहरीन', + BI: 'बुस्र्न्दी', + BJ: 'बेनिन', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CI: 'आइवरी कोस्ट', + CM: 'कैमरून', + CR: 'कोस्टा रिका', + CV: 'केप वर्डे', + CY: 'साइप्रस', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + DO: 'डोमिनिकन गणराज्य', + DZ: 'एलजीरिया', + EE: 'एस्तोनिया', + ES: 'स्पेन', + FI: 'फिनलैंड', + FO: 'फरो आइलैंड्स', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + GE: 'जॉर्जिया', + GI: 'जिब्राल्टर', + GL: 'ग्रीनलैंड', + GR: 'ग्रीस', + GT: 'ग्वाटेमाला', + HR: 'क्रोएशिया', + HU: 'हंगरी', + IE: 'आयरलैंड', + IL: 'इज़राइल', + IR: 'ईरान', + IS: 'आइसलैंड', + IT: 'इटली', + JO: 'जॉर्डन', + KW: 'कुवैत', + KZ: 'कजाखस्तान', + LB: 'लेबनान', + LI: 'लिकटेंस्टीन', + LT: 'लिथुआनिया', + LU: 'लक्समबर्ग', + LV: 'लाटविया', + MC: 'मोनाको', + MD: 'माल्डोवा', + ME: 'मॉन्टेंगरो', + MG: 'मेडागास्कर', + MK: 'मैसेडोनिया', + ML: 'माली', + MR: 'मॉरिटानिया', + MT: 'माल्टा', + MU: 'मॉरीशस', + MZ: 'मोज़ाम्बिक', + NL: 'नीदरलैंड', + NO: 'नॉर्वे', + PK: 'पाकिस्तान', + PL: 'पोलैंड', + PS: 'फिलिस्तीन', + PT: 'पुर्तगाल', + QA: 'क़तर', + RO: 'रोमानिया', + RS: 'सर्बिया', + SA: 'सऊदी अरब', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + SM: 'सैन मैरिनो', + SN: 'सेनेगल', + TL: 'पूर्वी तिमोर', + TN: 'ट्यूनीशिया', + TR: 'तुर्की', + VG: 'वर्जिन आइलैंड्स, ब्रिटिश', + XK: 'कोसोवो गणराज्य', + }, + country: 'कृपया %s में एक वैध IBAN संख्या प्रविष्ट करें', + default: 'कृपया एक वैध IBAN संख्या प्रविष्ट करें', + }, + id: { + countries: { + BA: 'बोस्निया और हर्जेगोविना', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CL: 'चिली', + CN: 'चीन', + CZ: 'चेक रिपब्लिक', + DK: 'डेनमार्क', + EE: 'एस्तोनिया', + ES: 'स्पेन', + FI: 'फिनलैंड', + HR: 'क्रोएशिया', + IE: 'आयरलैंड', + IS: 'आइसलैंड', + LT: 'लिथुआनिया', + LV: 'लाटविया', + ME: 'मोंटेनेग्रो', + MK: 'मैसेडोनिया', + NL: 'नीदरलैंड', + PL: 'पोलैंड', + RO: 'रोमानिया', + RS: 'सर्बिया', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + SM: 'सैन मैरिनो', + TH: 'थाईलैंड', + TR: 'तुर्की', + ZA: 'दक्षिण अफ्रीका', + }, + country: 'कृपया %s में एक वैध पहचान संख्या प्रविष्ट करें', + default: 'कृपया एक वैध पहचान संख्या प्रविष्ट करें', + }, + identical: { + default: 'कृपया वही मूल्यांक दोबारा प्रविष्ट करें', + }, + imei: { + default: 'कृपया एक वैध IMEI संख्या प्रविष्ट करें', + }, + imo: { + default: 'कृपया एक वैध IMO संख्या प्रविष्ट करें', + }, + integer: { + default: 'कृपया एक वैध संख्या प्रविष्ट करें', + }, + ip: { + default: 'कृपया एक वैध IP पता प्रविष्ट करें', + ipv4: 'कृपया एक वैध IPv4 पता प्रविष्ट करें', + ipv6: 'कृपया एक वैध IPv6 पता प्रविष्ट करें', + }, + isbn: { + default: 'कृपया एक वैध ISBN संख्या दर्ज करें', + }, + isin: { + default: 'कृपया एक वैध ISIN संख्या दर्ज करें', + }, + ismn: { + default: 'कृपया एक वैध ISMN संख्या दर्ज करें', + }, + issn: { + default: 'कृपया एक वैध ISSN संख्या दर्ज करें', + }, + lessThan: { + default: 'कृपया %s से कम या बराबर एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया %s से कम एक मूल्यांक प्रविष्ट करें', + }, + mac: { + default: 'कृपया एक वैध MAC पता प्रविष्ट करें', + }, + meid: { + default: 'कृपया एक वैध MEID संख्या प्रविष्ट करें', + }, + notEmpty: { + default: 'कृपया एक मूल्यांक प्रविष्ट करें', + }, + numeric: { + default: 'कृपया एक वैध दशमलव संख्या प्रविष्ट करें', + }, + phone: { + countries: { + AE: 'संयुक्त अरब अमीरात', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CN: 'चीन', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + ES: 'स्पेन', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + IN: 'भारत', + MA: 'मोरक्को', + NL: 'नीदरलैंड', + PK: 'पाकिस्तान', + RO: 'रोमानिया', + RU: 'रुस', + SK: 'स्लोवाकिया', + TH: 'थाईलैंड', + US: 'अमेरीका', + VE: 'वेनेजुएला', + }, + country: 'कृपया %s में एक वैध फ़ोन नंबर प्रविष्ट करें', + default: 'कृपया एक वैध फ़ोन नंबर प्रविष्ट करें', + }, + promise: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + regexp: { + default: 'कृपया पैटर्न से मेल खाते एक मूल्यांक प्रविष्ट करें', + }, + remote: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + rtn: { + default: 'कृपया एक वैध RTN संख्या प्रविष्ट करें', + }, + sedol: { + default: 'कृपया एक वैध SEDOL संख्या प्रविष्ट करें', + }, + siren: { + default: 'कृपया एक वैध SIREN संख्या प्रविष्ट करें', + }, + siret: { + default: 'कृपया एक वैध SIRET संख्या प्रविष्ट करें', + }, + step: { + default: '%s के एक गुणज मूल्यांक प्रविष्ट करें', + }, + stringCase: { + default: 'कृपया केवल छोटे पात्रों का प्रविष्ट करें', + upper: 'कृपया केवल बड़े पात्रों का प्रविष्ट करें', + }, + stringLength: { + between: 'कृपया %s से %s के बीच लंबाई का एक मूल्यांक प्रविष्ट करें', + default: 'कृपया वैध लंबाई का एक मूल्यांक प्रविष्ट करें', + less: 'कृपया %s से कम पात्रों को प्रविष्ट करें', + more: 'कृपया %s से अधिक पात्रों को प्रविष्ट करें', + }, + uri: { + default: 'कृपया एक वैध URI प्रविष्ट करें', + }, + uuid: { + default: 'कृपया एक वैध UUID संख्या प्रविष्ट करें', + version: 'कृपया एक वैध UUID संस्करण %s संख्या प्रविष्ट करें', + }, + vat: { + countries: { + AT: 'ऑस्ट्रिया', + BE: 'बेल्जियम', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CY: 'साइप्रस', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + EE: 'एस्तोनिया', + EL: 'ग्रीस', + ES: 'स्पेन', + FI: 'फिनलैंड', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + GR: 'ग्रीस', + HR: 'क्रोएशिया', + HU: 'हंगरी', + IE: 'आयरलैंड', + IS: 'आइसलैंड', + IT: 'इटली', + LT: 'लिथुआनिया', + LU: 'लक्समबर्ग', + LV: 'लाटविया', + MT: 'माल्टा', + NL: 'नीदरलैंड', + NO: 'नॉर्वे', + PL: 'पोलैंड', + PT: 'पुर्तगाल', + RO: 'रोमानिया', + RS: 'सर्बिया', + RU: 'रुस', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + VE: 'वेनेजुएला', + ZA: 'दक्षिण अफ्रीका', + }, + country: 'कृपया एक वैध VAT संख्या %s मे प्रविष्ट करें', + default: 'कृपया एक वैध VAT संख्या प्रविष्ट करें', + }, + vin: { + default: 'कृपया एक वैध VIN संख्या प्रविष्ट करें', + }, + zipCode: { + countries: { + AT: 'ऑस्ट्रिया', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CA: 'कनाडा', + CH: 'स्विट्जरलैंड', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + ES: 'स्पेन', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + IE: 'आयरलैंड', + IN: 'भारत', + IT: 'इटली', + MA: 'मोरक्को', + NL: 'नीदरलैंड', + PL: 'पोलैंड', + PT: 'पुर्तगाल', + RO: 'रोमानिया', + RU: 'रुस', + SE: 'स्वीडन', + SG: 'सिंगापुर', + SK: 'स्लोवाकिया', + US: 'अमेरीका', + }, + country: 'कृपया एक वैध डाक कोड %s मे प्रविष्ट करें', + default: 'कृपया एक वैध डाक कोड प्रविष्ट करें', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/hu_HU.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/hu_HU.ts new file mode 100644 index 0000000..ec41bda --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/hu_HU.ts @@ -0,0 +1,380 @@ +/** + * Hungarian language package + * Translated by @blackfyre + */ + +export default { + base64: { + default: 'Kérlek, hogy érvényes base 64 karakter láncot adj meg', + }, + between: { + default: 'Kérlek, hogy %s és %s között adj meg értéket', + notInclusive: 'Kérlek, hogy %s és %s között adj meg értéket', + }, + bic: { + default: 'Kérlek, hogy érvényes BIC számot adj meg', + }, + callback: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + choice: { + between: 'Kérlek, hogy válassz %s - %s lehetőséget', + default: 'Kérlek, hogy érvényes értéket adj meg', + less: 'Kérlek, hogy legalább %s lehetőséget válassz ki', + more: 'Kérlek, hogy maximum %s lehetőséget válassz ki', + }, + color: { + default: 'Kérlek, hogy érvényes színt adj meg', + }, + creditCard: { + default: 'Kérlek, hogy érvényes bankkártya számot adj meg', + }, + cusip: { + default: 'Kérlek, hogy érvényes CUSIP számot adj meg', + }, + date: { + default: 'Kérlek, hogy érvényes dátumot adj meg', + max: 'Kérlek, hogy %s -nál korábbi dátumot adj meg', + min: 'Kérlek, hogy %s -nál későbbi dátumot adj meg', + range: 'Kérlek, hogy %s - %s között adj meg dátumot', + }, + different: { + default: 'Kérlek, hogy egy másik értéket adj meg', + }, + digits: { + default: 'Kérlek, hogy csak számot adj meg', + }, + ean: { + default: 'Kérlek, hogy érvényes EAN számot adj meg', + }, + ein: { + default: 'Kérlek, hogy érvényes EIN számot adj meg', + }, + emailAddress: { + default: 'Kérlek, hogy érvényes email címet adj meg', + }, + file: { + default: 'Kérlek, hogy érvényes fájlt válassz', + }, + greaterThan: { + default: 'Kérlek, hogy ezzel (%s) egyenlő vagy nagyobb számot adj meg', + notInclusive: 'Kérlek, hogy ennél (%s) nagyobb számot adj meg', + }, + grid: { + default: 'Kérlek, hogy érvényes GRId számot adj meg', + }, + hex: { + default: 'Kérlek, hogy érvényes hexadecimális számot adj meg', + }, + iban: { + countries: { + AD: 'az Andorrai Fejedelemségben' /* Special case */, + AE: 'az Egyesült Arab Emírségekben' /* Special case */, + AL: 'Albániában', + AO: 'Angolában', + AT: 'Ausztriában', + AZ: 'Azerbadjzsánban', + BA: 'Bosznia-Hercegovinában' /* Special case */, + BE: 'Belgiumban', + BF: 'Burkina Fasoban', + BG: 'Bulgáriában', + BH: 'Bahreinben', + BI: 'Burundiban', + BJ: 'Beninben', + BR: 'Brazíliában', + CH: 'Svájcban', + CI: 'az Elefántcsontparton' /* Special case */, + CM: 'Kamerunban', + CR: 'Costa Ricán' /* Special case */, + CV: 'Zöld-foki Köztársaságban', + CY: 'Cypruson', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + DO: 'Dominikán' /* Special case */, + DZ: 'Algériában', + EE: 'Észtországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + FO: 'a Feröer-szigeteken' /* Special case */, + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban' /* Special case */, + GE: 'Grúziában', + GI: 'Gibraltáron' /* Special case */, + GL: 'Grönlandon' /* Special case */, + GR: 'Görögországban', + GT: 'Guatemalában', + HR: 'Horvátországban', + HU: 'Magyarországon', + IE: 'Írországban' /* Special case */, + IL: 'Izraelben', + IR: 'Iránban' /* Special case */, + IS: 'Izlandon', + IT: 'Olaszországban', + JO: 'Jordániában', + KW: 'Kuvaitban' /* Special case */, + KZ: 'Kazahsztánban', + LB: 'Libanonban', + LI: 'Liechtensteinben', + LT: 'Litvániában', + LU: 'Luxemburgban', + LV: 'Lettországban', + MC: 'Monacóban' /* Special case */, + MD: 'Moldovában' /* Special case */, + ME: 'Montenegróban', + MG: 'Madagaszkáron', + MK: 'Macedóniában', + ML: 'Malin', + MR: 'Mauritániában', + MT: 'Máltán', + MU: 'Mauritiuson', + MZ: 'Mozambikban', + NL: 'Hollandiában', + NO: 'Norvégiában', + PK: 'Pakisztánban', + PL: 'Lengyelországban', + PS: 'Palesztinában', + PT: 'Portugáliában', + QA: 'Katarban' /* Special case */, + RO: 'Romániában', + RS: 'Szerbiában', + SA: 'Szaúd-Arábiában', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + SM: 'San Marinoban', + SN: 'Szenegálban' /* Special case */, + TL: 'Kelet-Timor', + TN: 'Tunéziában' /* Special case */, + TR: 'Törökországban', + VG: 'Britt Virgin szigeteken' /* Special case */, + XK: 'Koszovói Köztársaság', + }, + country: 'Kérlek, hogy %s érvényes IBAN számot adj meg', + default: 'Kérlek, hogy érvényes IBAN számot adj meg', + }, + id: { + countries: { + BA: 'Bosznia-Hercegovinában', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CH: 'Svájcban', + CL: 'Chilében', + CN: 'Kínában', + CZ: 'Csehországban', + DK: 'Dániában', + EE: 'Észtországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + HR: 'Horvátországban', + IE: 'Írországban', + IS: 'Izlandon', + LT: 'Litvániában', + LV: 'Lettországban', + ME: 'Montenegróban', + MK: 'Macedóniában', + NL: 'Hollandiában', + PL: 'Lengyelországban', + RO: 'Romániában', + RS: 'Szerbiában', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + SM: 'San Marinoban', + TH: 'Thaiföldön', + TR: 'Törökországban', + ZA: 'Dél-Afrikában', + }, + country: 'Kérlek, hogy %s érvényes személy azonosító számot adj meg', + default: 'Kérlek, hogy érvényes személy azonosító számot adj meg', + }, + identical: { + default: 'Kérlek, hogy ugyan azt az értéket add meg', + }, + imei: { + default: 'Kérlek, hogy érvényes IMEI számot adj meg', + }, + imo: { + default: 'Kérlek, hogy érvényes IMO számot adj meg', + }, + integer: { + default: 'Kérlek, hogy számot adj meg', + }, + ip: { + default: 'Kérlek, hogy IP címet adj meg', + ipv4: 'Kérlek, hogy érvényes IPv4 címet adj meg', + ipv6: 'Kérlek, hogy érvényes IPv6 címet adj meg', + }, + isbn: { + default: 'Kérlek, hogy érvényes ISBN számot adj meg', + }, + isin: { + default: 'Kérlek, hogy érvényes ISIN számot adj meg', + }, + ismn: { + default: 'Kérlek, hogy érvényes ISMN számot adj meg', + }, + issn: { + default: 'Kérlek, hogy érvényes ISSN számot adj meg', + }, + lessThan: { + default: + 'Kérlek, hogy adj meg egy számot ami kisebb vagy egyenlő mint %s', + notInclusive: 'Kérlek, hogy adj meg egy számot ami kisebb mint %s', + }, + mac: { + default: 'Kérlek, hogy érvényes MAC címet adj meg', + }, + meid: { + default: 'Kérlek, hogy érvényes MEID számot adj meg', + }, + notEmpty: { + default: 'Kérlek, hogy adj értéket a mezőnek', + }, + numeric: { + default: 'Please enter a valid float number', + }, + phone: { + countries: { + AE: 'az Egyesült Arab Emírségekben' /* Special case */, + BG: 'Bulgáriában', + BR: 'Brazíliában', + CN: 'Kínában', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + ES: 'Spanyolországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + IN: 'India', + MA: 'Marokkóban', + NL: 'Hollandiában', + PK: 'Pakisztánban', + RO: 'Romániában', + RU: 'Oroszországban', + SK: 'Szlovákiában', + TH: 'Thaiföldön', + US: 'az Egyesült Államokban', + VE: 'Venezuelában' /* Sepcial case */, + }, + country: 'Kérlek, hogy %s érvényes telefonszámot adj meg', + default: 'Kérlek, hogy érvényes telefonszámot adj meg', + }, + promise: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + regexp: { + default: 'Kérlek, hogy a mintának megfelelő értéket adj meg', + }, + remote: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + rtn: { + default: 'Kérlek, hogy érvényes RTN számot adj meg', + }, + sedol: { + default: 'Kérlek, hogy érvényes SEDOL számot adj meg', + }, + siren: { + default: 'Kérlek, hogy érvényes SIREN számot adj meg', + }, + siret: { + default: 'Kérlek, hogy érvényes SIRET számot adj meg', + }, + step: { + default: 'Kérlek, hogy érvényes lépteket adj meg (%s)', + }, + stringCase: { + default: 'Kérlek, hogy csak kisbetüket adj meg', + upper: 'Kérlek, hogy csak nagy betüket adj meg', + }, + stringLength: { + between: 'Kérlek, hogy legalább %s, de maximum %s karaktert adj meg', + default: 'Kérlek, hogy érvényes karakter hosszúsággal adj meg értéket', + less: 'Kérlek, hogy kevesebb mint %s karaktert adj meg', + more: 'Kérlek, hogy több mint %s karaktert adj meg', + }, + uri: { + default: 'Kérlek, hogy helyes URI -t adj meg', + }, + uuid: { + default: 'Kérlek, hogy érvényes UUID számot adj meg', + version: 'Kérlek, hogy érvényes UUID verzió %s számot adj meg', + }, + vat: { + countries: { + AT: 'Ausztriában', + BE: 'Belgiumban', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CH: 'Svájcban', + CY: 'Cipruson', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + EE: 'Észtországban', + EL: 'Görögországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + GR: 'Görögországban', + HR: 'Horvátországban', + HU: 'Magyarországon', + IE: 'Írországban', + IS: 'Izlandon', + IT: 'Olaszországban', + LT: 'Litvániában', + LU: 'Luxemburgban', + LV: 'Lettországban', + MT: 'Máltán', + NL: 'Hollandiában', + NO: 'Norvégiában', + PL: 'Lengyelországban', + PT: 'Portugáliában', + RO: 'Romániában', + RS: 'Szerbiában', + RU: 'Oroszországban', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + VE: 'Venezuelában', + ZA: 'Dél-Afrikában', + }, + country: 'Kérlek, hogy %s helyes adószámot adj meg', + default: 'Kérlek, hogy helyes adó számot adj meg', + }, + vin: { + default: 'Kérlek, hogy érvényes VIN számot adj meg', + }, + zipCode: { + countries: { + AT: 'Ausztriában', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CA: 'Kanadában', + CH: 'Svájcban', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + ES: 'Spanyolországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + IE: 'Írországban', + IN: 'India', + IT: 'Olaszországban', + MA: 'Marokkóban', + NL: 'Hollandiában', + PL: 'Lengyelországban', + PT: 'Portugáliában', + RO: 'Romániában', + RU: 'Oroszországban', + SE: 'Svájcban', + SG: 'Szingapúrban', + SK: 'Szlovákiában', + US: 'Egyesült Államok beli', + }, + country: 'Kérlek, hogy %s érvényes irányítószámot adj meg', + default: 'Kérlek, hogy érvényes irányítószámot adj meg', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/id_ID.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/id_ID.ts new file mode 100644 index 0000000..a9ddb74 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/id_ID.ts @@ -0,0 +1,379 @@ +/** + * Indonesian language package + * Translated by @egig + */ + +export default { + base64: { + default: 'Silahkan isi karakter base 64 tersandi yang valid', + }, + between: { + default: 'Silahkan isi nilai antara %s dan %s', + notInclusive: 'Silahkan isi nilai antara %s dan %s, strictly', + }, + bic: { + default: 'Silahkan isi nomor BIC yang valid', + }, + callback: { + default: 'Silahkan isi nilai yang valid', + }, + choice: { + between: 'Silahkan pilih pilihan %s - %s', + default: 'Silahkan isi nilai yang valid', + less: 'Silahkan pilih pilihan %s pada minimum', + more: 'Silahkan pilih pilihan %s pada maksimum', + }, + color: { + default: 'Silahkan isi karakter warna yang valid', + }, + creditCard: { + default: 'Silahkan isi nomor kartu kredit yang valid', + }, + cusip: { + default: 'Silahkan isi nomor CUSIP yang valid', + }, + date: { + default: 'Silahkan isi tanggal yang benar', + max: 'Silahkan isi tanggal sebelum tanggal %s', + min: 'Silahkan isi tanggal setelah tanggal %s', + range: 'Silahkan isi tanggal antara %s - %s', + }, + different: { + default: 'Silahkan isi nilai yang berbeda', + }, + digits: { + default: 'Silahkan isi dengan hanya digit', + }, + ean: { + default: 'Silahkan isi nomor EAN yang valid', + }, + ein: { + default: 'Silahkan isi nomor EIN yang valid', + }, + emailAddress: { + default: 'Silahkan isi alamat email yang valid', + }, + file: { + default: 'Silahkan pilih file yang valid', + }, + greaterThan: { + default: 'Silahkan isi nilai yang lebih besar atau sama dengan %s', + notInclusive: 'Silahkan is nilai yang lebih besar dari %s', + }, + grid: { + default: 'Silahkan nomor GRId yang valid', + }, + hex: { + default: 'Silahkan isi karakter hexadecimal yang valid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Uni Emirat Arab', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia and Herzegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Switzerland', + CI: 'Pantai Gading', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + DO: 'Republik Dominika', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spanyol', + FI: 'Finlandia', + FO: 'Faroe Islands', + FR: 'Francis', + GB: 'Inggris', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Yunani', + GT: 'Guatemala', + HR: 'Kroasia', + HU: 'Hungary', + IE: 'Irlandia', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Netherlands', + NO: 'Norway', + PK: 'Pakistan', + PL: 'Polandia', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Swedia', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Leste', + TN: 'Tunisia', + TR: 'Turki', + VG: 'Virgin Islands, British', + XK: 'Kosovo', + }, + country: 'Silahkan isi nomor IBAN yang valid dalam %s', + default: 'silahkan isi nomor IBAN yang valid', + }, + id: { + countries: { + BA: 'Bosnia and Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CL: 'Chile', + CN: 'Cina', + CZ: 'Czech', + DK: 'Denmark', + EE: 'Estonia', + ES: 'Spanyol', + FI: 'Finlandia', + HR: 'Kroasia', + IE: 'Irlandia', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Netherlands', + PL: 'Polandia', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turki', + ZA: 'Africa Selatan', + }, + country: 'Silahkan isi nomor identitas yang valid dalam %s', + default: 'Silahkan isi nomor identitas yang valid', + }, + identical: { + default: 'Silahkan isi nilai yang sama', + }, + imei: { + default: 'Silahkan isi nomor IMEI yang valid', + }, + imo: { + default: 'Silahkan isi nomor IMO yang valid', + }, + integer: { + default: 'Silahkan isi angka yang valid', + }, + ip: { + default: 'Silahkan isi alamat IP yang valid', + ipv4: 'Silahkan isi alamat IPv4 yang valid', + ipv6: 'Silahkan isi alamat IPv6 yang valid', + }, + isbn: { + default: 'Slilahkan isi nomor ISBN yang valid', + }, + isin: { + default: 'Silahkan isi ISIN yang valid', + }, + ismn: { + default: 'Silahkan isi nomor ISMN yang valid', + }, + issn: { + default: 'Silahkan isi nomor ISSN yang valid', + }, + lessThan: { + default: 'Silahkan isi nilai kurang dari atau sama dengan %s', + notInclusive: 'Silahkan isi nilai kurang dari %s', + }, + mac: { + default: 'Silahkan isi MAC address yang valid', + }, + meid: { + default: 'Silahkan isi nomor MEID yang valid', + }, + notEmpty: { + default: 'Silahkan isi', + }, + numeric: { + default: 'Silahkan isi nomor yang valid', + }, + phone: { + countries: { + AE: 'Uni Emirat Arab', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'Cina', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + ES: 'Spanyol', + FR: 'Francis', + GB: 'Inggris', + IN: 'India', + MA: 'Maroko', + NL: 'Netherlands', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovakia', + TH: 'Thailand', + US: 'Amerika Serikat', + VE: 'Venezuela', + }, + country: 'Silahkan isi nomor telepon yang valid dalam %s', + default: 'Silahkan isi nomor telepon yang valid', + }, + promise: { + default: 'Silahkan isi nilai yang valid', + }, + regexp: { + default: 'Silahkan isi nilai yang cocok dengan pola', + }, + remote: { + default: 'Silahkan isi nilai yang valid', + }, + rtn: { + default: 'Silahkan isi nomor RTN yang valid', + }, + sedol: { + default: 'Silahkan isi nomor SEDOL yang valid', + }, + siren: { + default: 'Silahkan isi nomor SIREN yang valid', + }, + siret: { + default: 'Silahkan isi nomor SIRET yang valid', + }, + step: { + default: 'Silahkan isi langkah yang benar pada %s', + }, + stringCase: { + default: 'Silahkan isi hanya huruf kecil', + upper: 'Silahkan isi hanya huruf besar', + }, + stringLength: { + between: 'Silahkan isi antara %s dan %s panjang karakter', + default: 'Silahkan isi nilai dengan panjang karakter yang benar', + less: 'Silahkan isi kurang dari %s karakter', + more: 'Silahkan isi lebih dari %s karakter', + }, + uri: { + default: 'Silahkan isi URI yang valid', + }, + uuid: { + default: 'Silahkan isi nomor UUID yang valid', + version: 'Silahkan si nomor versi %s UUID yang valid', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgium', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CY: 'Cyprus', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + EE: 'Estonia', + EL: 'Yunani', + ES: 'Spanyol', + FI: 'Finlandia', + FR: 'Francis', + GB: 'Inggris', + GR: 'Yunani', + HR: 'Kroasia', + HU: 'Hungaria', + IE: 'Irlandia', + IS: 'Iceland', + IT: 'Italy', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Belanda', + NO: 'Norway', + PL: 'Polandia', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Afrika Selatan', + }, + country: 'Silahkan nomor VAT yang valid dalam %s', + default: 'Silahkan isi nomor VAT yang valid', + }, + vin: { + default: 'Silahkan isi nomor VIN yang valid', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Kanada', + CH: 'Switzerland', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + ES: 'Spanyol', + FR: 'Francis', + GB: 'Inggris', + IE: 'Irlandia', + IN: 'India', + IT: 'Italia', + MA: 'Maroko', + NL: 'Belanda', + PL: 'Polandia', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russia', + SE: 'Sweden', + SG: 'Singapura', + SK: 'Slovakia', + US: 'Amerika Serikat', + }, + country: 'Silahkan isi kode pos yang valid di %s', + default: 'Silahkan isi kode pos yang valid', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/it_IT.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/it_IT.ts new file mode 100644 index 0000000..a3d3748 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/it_IT.ts @@ -0,0 +1,382 @@ +/** + * Italian language package + * Translated by @maramazza + */ + +export default { + base64: { + default: 'Si prega di inserire un valore codificato in Base 64', + }, + between: { + default: 'Si prega di inserire un valore tra %s e %s', + notInclusive: + 'Si prega di scegliere rigorosamente un valore tra %s e %s', + }, + bic: { + default: 'Si prega di inserire un numero BIC valido', + }, + callback: { + default: 'Si prega di inserire un valore valido', + }, + choice: { + between: "Si prega di scegliere l'opzione tra %s e %s", + default: 'Si prega di inserire un valore valido', + less: "Si prega di scegliere come minimo l'opzione %s", + more: "Si prega di scegliere al massimo l'opzione %s", + }, + color: { + default: 'Si prega di inserire un colore valido', + }, + creditCard: { + default: 'Si prega di inserire un numero di carta di credito valido', + }, + cusip: { + default: 'Si prega di inserire un numero CUSIP valido', + }, + date: { + default: 'Si prega di inserire una data valida', + max: 'Si prega di inserire una data antecedente il %s', + min: 'Si prega di inserire una data successiva al %s', + range: 'Si prega di inserire una data compresa tra %s - %s', + }, + different: { + default: 'Si prega di inserire un valore differente', + }, + digits: { + default: 'Si prega di inserire solo numeri', + }, + ean: { + default: 'Si prega di inserire un numero EAN valido', + }, + ein: { + default: 'Si prega di inserire un numero EIN valido', + }, + emailAddress: { + default: 'Si prega di inserire un indirizzo email valido', + }, + file: { + default: 'Si prega di scegliere un file valido', + }, + greaterThan: { + default: 'Si prega di inserire un numero maggiore o uguale a %s', + notInclusive: 'Si prega di inserire un numero maggiore di %s', + }, + grid: { + default: 'Si prega di inserire un numero GRId valido', + }, + hex: { + default: 'Si prega di inserire un numero esadecimale valido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirati Arabi Uniti', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia-Erzegovina', + BE: 'Belgio', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasile', + CH: 'Svizzera', + CI: "Costa d'Avorio", + CM: 'Cameron', + CR: 'Costa Rica', + CV: 'Capo Verde', + CY: 'Cipro', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + DO: 'Repubblica Domenicana', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spagna', + FI: 'Finlandia', + FO: 'Isole Faroe', + FR: 'Francia', + GB: 'Regno Unito', + GE: 'Georgia', + GI: 'Gibilterra', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croazia', + HU: 'Ungheria', + IE: 'Irlanda', + IL: 'Israele', + IR: 'Iran', + IS: 'Islanda', + IT: 'Italia', + JO: 'Giordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Lussemburgo', + LV: 'Lettonia', + MC: 'Monaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambico', + NL: 'Olanda', + NO: 'Norvegia', + PK: 'Pachistan', + PL: 'Polonia', + PS: 'Palestina', + PT: 'Portogallo', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Est', + TN: 'Tunisia', + TR: 'Turchia', + VG: 'Isole Vergini, Inghilterra', + XK: 'Repubblica del Kosovo', + }, + country: 'Si prega di inserire un numero IBAN valido per %s', + default: 'Si prega di inserire un numero IBAN valido', + }, + id: { + countries: { + BA: 'Bosnia-Erzegovina', + BG: 'Bulgaria', + BR: 'Brasile', + CH: 'Svizzera', + CL: 'Chile', + CN: 'Cina', + CZ: 'Republica Ceca', + DK: 'Danimarca', + EE: 'Estonia', + ES: 'Spagna', + FI: 'Finlandia', + HR: 'Croazia', + IE: 'Irlanda', + IS: 'Islanda', + LT: 'Lituania', + LV: 'Lettonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Paesi Bassi', + PL: 'Polonia', + RO: 'Romania', + RS: 'Serbia', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + SM: 'San Marino', + TH: 'Thailandia', + TR: 'Turchia', + ZA: 'Sudafrica', + }, + country: + 'Si prega di inserire un numero di identificazione valido per %s', + default: 'Si prega di inserire un numero di identificazione valido', + }, + identical: { + default: 'Si prega di inserire un valore identico', + }, + imei: { + default: 'Si prega di inserire un numero IMEI valido', + }, + imo: { + default: 'Si prega di inserire un numero IMO valido', + }, + integer: { + default: 'Si prega di inserire un numero valido', + }, + ip: { + default: 'Please enter a valid IP address', + ipv4: 'Si prega di inserire un indirizzo IPv4 valido', + ipv6: 'Si prega di inserire un indirizzo IPv6 valido', + }, + isbn: { + default: 'Si prega di inserire un numero ISBN valido', + }, + isin: { + default: 'Si prega di inserire un numero ISIN valido', + }, + ismn: { + default: 'Si prega di inserire un numero ISMN valido', + }, + issn: { + default: 'Si prega di inserire un numero ISSN valido', + }, + lessThan: { + default: 'Si prega di inserire un valore minore o uguale a %s', + notInclusive: 'Si prega di inserire un valore minore di %s', + }, + mac: { + default: 'Si prega di inserire un valido MAC address', + }, + meid: { + default: 'Si prega di inserire un numero MEID valido', + }, + notEmpty: { + default: 'Si prega di non lasciare il campo vuoto', + }, + numeric: { + default: 'Si prega di inserire un numero con decimali valido', + }, + phone: { + countries: { + AE: 'Emirati Arabi Uniti', + BG: 'Bulgaria', + BR: 'Brasile', + CN: 'Cina', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + ES: 'Spagna', + FR: 'Francia', + GB: 'Regno Unito', + IN: 'India', + MA: 'Marocco', + NL: 'Olanda', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovacchia', + TH: 'Thailandia', + US: "Stati Uniti d'America", + VE: 'Venezuelano', + }, + country: 'Si prega di inserire un numero di telefono valido per %s', + default: 'Si prega di inserire un numero di telefono valido', + }, + promise: { + default: 'Si prega di inserire un valore valido', + }, + regexp: { + default: 'Inserisci un valore che corrisponde al modello', + }, + remote: { + default: 'Si prega di inserire un valore valido', + }, + rtn: { + default: 'Si prega di inserire un numero RTN valido', + }, + sedol: { + default: 'Si prega di inserire un numero SEDOL valido', + }, + siren: { + default: 'Si prega di inserire un numero SIREN valido', + }, + siret: { + default: 'Si prega di inserire un numero SIRET valido', + }, + step: { + default: 'Si prega di inserire uno step valido di %s', + }, + stringCase: { + default: 'Si prega di inserire solo caratteri minuscoli', + upper: 'Si prega di inserire solo caratteri maiuscoli', + }, + stringLength: { + between: + 'Si prega di inserire un numero di caratteri compreso tra %s e %s', + default: 'Si prega di inserire un valore con lunghezza valida', + less: 'Si prega di inserire meno di %s caratteri', + more: 'Si prega di inserire piu di %s caratteri', + }, + uri: { + default: 'Si prega di inserire un URI valido', + }, + uuid: { + default: 'Si prega di inserire un numero UUID valido', + version: 'Si prega di inserire un numero di versione UUID %s valido', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgio', + BG: 'Bulgaria', + BR: 'Brasiliano', + CH: 'Svizzera', + CY: 'Cipro', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'Spagna', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Regno Unito', + GR: 'Grecia', + HR: 'Croazia', + HU: 'Ungheria', + IE: 'Irlanda', + IS: 'Islanda', + IT: 'Italia', + LT: 'Lituania', + LU: 'Lussemburgo', + LV: 'Lettonia', + MT: 'Malta', + NL: 'Olanda', + NO: 'Norvegia', + PL: 'Polonia', + PT: 'Portogallo', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + VE: 'Venezuelano', + ZA: 'Sud Africano', + }, + country: 'Si prega di inserire un valore di IVA valido per %s', + default: 'Si prega di inserire un valore di IVA valido', + }, + vin: { + default: 'Si prega di inserire un numero VIN valido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasile', + CA: 'Canada', + CH: 'Svizzera', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + ES: 'Spagna', + FR: 'Francia', + GB: 'Regno Unito', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marocco', + NL: 'Paesi Bassi', + PL: 'Polonia', + PT: 'Portogallo', + RO: 'Romania', + RU: 'Russia', + SE: 'Svezia', + SG: 'Singapore', + SK: 'Slovacchia', + US: "Stati Uniti d'America", + }, + country: 'Si prega di inserire un codice postale valido per %s', + default: 'Si prega di inserire un codice postale valido', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/ja_JP.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/ja_JP.ts new file mode 100644 index 0000000..cf6a240 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/ja_JP.ts @@ -0,0 +1,379 @@ +/** + * Japanese language package + * Translated by @tsuyoshifujii + */ + +export default { + base64: { + default: '有効なBase64エンコードを入力してください', + }, + between: { + default: '%sから%sの間で入力してください', + notInclusive: '厳密に%sから%sの間で入力してください', + }, + bic: { + default: '有効なBICコードを入力してください', + }, + callback: { + default: '有効な値を入力してください', + }, + choice: { + between: '%s - %s で選択してください', + default: '有効な値を入力してください', + less: '最低でも%sを選択してください', + more: '最大でも%sを選択してください', + }, + color: { + default: '有効なカラーコードを入力してください', + }, + creditCard: { + default: '有効なクレジットカード番号を入力してください', + }, + cusip: { + default: '有効なCUSIP番号を入力してください', + }, + date: { + default: '有効な日付を入力してください', + max: '%s の前に有効な日付を入力してください', + min: '%s 後に有効な日付を入力してください', + range: '%s - %s の間に有効な日付を入力してください', + }, + different: { + default: '異なる値を入力してください', + }, + digits: { + default: '数字のみで入力してください', + }, + ean: { + default: '有効なEANコードを入力してください', + }, + ein: { + default: '有効なEINコードを入力してください', + }, + emailAddress: { + default: '有効なメールアドレスを入力してください', + }, + file: { + default: '有効なファイルを選択してください', + }, + greaterThan: { + default: '%sより大きい値を入力してください', + notInclusive: '%sより大きい値を入力してください', + }, + grid: { + default: '有効なGRIdコードを入力してください', + }, + hex: { + default: '有効な16進数を入力してください。', + }, + iban: { + countries: { + AD: 'アンドラ', + AE: 'アラブ首長国連邦', + AL: 'アルバニア', + AO: 'アンゴラ', + AT: 'オーストリア', + AZ: 'アゼルバイジャン', + BA: 'ボスニア·ヘルツェゴビナ', + BE: 'ベルギー', + BF: 'ブルキナファソ', + BG: 'ブルガリア', + BH: 'バーレーン', + BI: 'ブルンジ', + BJ: 'ベナン', + BR: 'ブラジル', + CH: 'スイス', + CI: '象牙海岸', + CM: 'カメルーン', + CR: 'コスタリカ', + CV: 'カーボベルデ', + CY: 'キプロス', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + DO: 'ドミニカ共和国', + DZ: 'アルジェリア', + EE: 'エストニア', + ES: 'スペイン', + FI: 'フィンランド', + FO: 'フェロー諸島', + FR: 'フランス', + GB: 'イギリス', + GE: 'グルジア', + GI: 'ジブラルタル', + GL: 'グリーンランド', + GR: 'ギリシャ', + GT: 'グアテマラ', + HR: 'クロアチア', + HU: 'ハンガリー', + IE: 'アイルランド', + IL: 'イスラエル', + IR: 'イラン', + IS: 'アイスランド', + IT: 'イタリア', + JO: 'ヨルダン', + KW: 'クウェート', + KZ: 'カザフスタン', + LB: 'レバノン', + LI: 'リヒテンシュタイン', + LT: 'リトアニア', + LU: 'ルクセンブルグ', + LV: 'ラトビア', + MC: 'モナコ', + MD: 'モルドバ', + ME: 'モンテネグロ', + MG: 'マダガスカル', + MK: 'マケドニア', + ML: 'マリ', + MR: 'モーリタニア', + MT: 'マルタ', + MU: 'モーリシャス', + MZ: 'モザンビーク', + NL: 'オランダ', + NO: 'ノルウェー', + PK: 'パキスタン', + PL: 'ポーランド', + PS: 'パレスチナ', + PT: 'ポルトガル', + QA: 'カタール', + RO: 'ルーマニア', + RS: 'セルビア', + SA: 'サウジアラビア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + SM: 'サン·マリノ', + SN: 'セネガル', + TL: '東チモール', + TN: 'チュニジア', + TR: 'トルコ', + VG: '英領バージン諸島', + XK: 'コソボ共和国', + }, + country: '有効な%sのIBANコードを入力してください', + default: '有効なIBANコードを入力してください', + }, + id: { + countries: { + BA: 'スニア·ヘルツェゴビナ', + BG: 'ブルガリア', + BR: 'ブラジル', + CH: 'スイス', + CL: 'チリ', + CN: 'チャイナ', + CZ: 'チェコ共和国', + DK: 'デンマーク', + EE: 'エストニア', + ES: 'スペイン', + FI: 'フィンランド', + HR: 'クロアチア', + IE: 'アイルランド', + IS: 'アイスランド', + LT: 'リトアニア', + LV: 'ラトビア', + ME: 'モンテネグロ', + MK: 'マケドニア', + NL: 'オランダ', + PL: 'ポーランド', + RO: 'ルーマニア', + RS: 'セルビア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + SM: 'サン·マリノ', + TH: 'タイ国', + TR: 'トルコ', + ZA: '南アフリカ', + }, + country: '有効な%sのIDを入力してください', + default: '有効なIDを入力してください', + }, + identical: { + default: '同じ値を入力してください', + }, + imei: { + default: '有効なIMEIを入力してください', + }, + imo: { + default: '有効なIMOを入力してください', + }, + integer: { + default: '有効な数値を入力してください', + }, + ip: { + default: '有効なIPアドレスを入力してください', + ipv4: '有効なIPv4アドレスを入力してください', + ipv6: '有効なIPv6アドレスを入力してください', + }, + isbn: { + default: '有効なISBN番号を入力してください', + }, + isin: { + default: '有効なISIN番号を入力してください', + }, + ismn: { + default: '有効なISMN番号を入力してください', + }, + issn: { + default: '有効なISSN番号を入力してください', + }, + lessThan: { + default: '%s未満の値を入力してください', + notInclusive: '%s未満の値を入力してください', + }, + mac: { + default: '有効なMACアドレスを入力してください', + }, + meid: { + default: '有効なMEID番号を入力してください', + }, + notEmpty: { + default: '値を入力してください', + }, + numeric: { + default: '有効な浮動小数点数値を入力してください。', + }, + phone: { + countries: { + AE: 'アラブ首長国連邦', + BG: 'ブルガリア', + BR: 'ブラジル', + CN: 'チャイナ', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + ES: 'スペイン', + FR: 'フランス', + GB: 'イギリス', + IN: 'インド', + MA: 'モロッコ', + NL: 'オランダ', + PK: 'パキスタン', + RO: 'ルーマニア', + RU: 'ロシア', + SK: 'スロバキア', + TH: 'タイ国', + US: 'アメリカ', + VE: 'ベネズエラ', + }, + country: '有効な%sの電話番号を入力してください', + default: '有効な電話番号を入力してください', + }, + promise: { + default: '有効な値を入力してください', + }, + regexp: { + default: '正規表現に一致する値を入力してください', + }, + remote: { + default: '有効な値を入力してください。', + }, + rtn: { + default: '有効なRTN番号を入力してください', + }, + sedol: { + default: '有効なSEDOL番号を入力してください', + }, + siren: { + default: '有効なSIREN番号を入力してください', + }, + siret: { + default: '有効なSIRET番号を入力してください', + }, + step: { + default: '%sの有効なステップを入力してください', + }, + stringCase: { + default: '小文字のみで入力してください', + upper: '大文字のみで入力してください', + }, + stringLength: { + between: '%s文字から%s文字の間で入力してください', + default: '有効な長さの値を入力してください', + less: '%s文字未満で入力してください', + more: '%s文字より大きく入力してください', + }, + uri: { + default: '有効なURIを入力してください。', + }, + uuid: { + default: '有効なUUIDを入力してください', + version: '有効なバージョン%s UUIDを入力してください', + }, + vat: { + countries: { + AT: 'オーストリア', + BE: 'ベルギー', + BG: 'ブルガリア', + BR: 'ブラジル', + CH: 'スイス', + CY: 'キプロス等', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + EE: 'エストニア', + EL: 'ギリシャ', + ES: 'スペイン', + FI: 'フィンランド', + FR: 'フランス', + GB: 'イギリス', + GR: 'ギリシャ', + HR: 'クロアチア', + HU: 'ハンガリー', + IE: 'アイルランド', + IS: 'アイスランド', + IT: 'イタリア', + LT: 'リトアニア', + LU: 'ルクセンブルグ', + LV: 'ラトビア', + MT: 'マルタ', + NL: 'オランダ', + NO: 'ノルウェー', + PL: 'ポーランド', + PT: 'ポルトガル', + RO: 'ルーマニア', + RS: 'セルビア', + RU: 'ロシア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + VE: 'ベネズエラ', + ZA: '南アフリカ', + }, + country: '有効な%sのVAT番号を入力してください', + default: '有効なVAT番号を入力してください', + }, + vin: { + default: '有効なVIN番号を入力してください', + }, + zipCode: { + countries: { + AT: 'オーストリア', + BG: 'ブルガリア', + BR: 'ブラジル', + CA: 'カナダ', + CH: 'スイス', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + ES: 'スペイン', + FR: 'フランス', + GB: 'イギリス', + IE: 'アイルランド', + IN: 'インド', + IT: 'イタリア', + MA: 'モロッコ', + NL: 'オランダ', + PL: 'ポーランド', + PT: 'ポルトガル', + RO: 'ルーマニア', + RU: 'ロシア', + SE: 'スウェーデン', + SG: 'シンガポール', + SK: 'スロバキア', + US: 'アメリカ', + }, + country: '有効な%sの郵便番号を入力してください', + default: '有効な郵便番号を入力してください', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/nl_BE.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/nl_BE.ts new file mode 100644 index 0000000..a7a7993 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/nl_BE.ts @@ -0,0 +1,379 @@ +/** + * Belgium (Dutch) language package + * Translated by @dokterpasta. Improved by @jdt + */ + +export default { + base64: { + default: 'Geef een geldige base 64 geëncodeerde tekst in', + }, + between: { + default: 'Geef een waarde in van %s tot en met %s', + notInclusive: 'Geef een waarde in van %s tot %s', + }, + bic: { + default: 'Geef een geldig BIC-nummer in', + }, + callback: { + default: 'Geef een geldige waarde in', + }, + choice: { + between: 'Kies tussen de %s en %s opties', + default: 'Geef een geldige waarde in', + less: 'Kies minimaal %s opties', + more: 'Kies maximaal %s opties', + }, + color: { + default: 'Geef een geldige kleurcode in', + }, + creditCard: { + default: 'Geef een geldig kredietkaartnummer in', + }, + cusip: { + default: 'Geef een geldig CUSIP-nummer in', + }, + date: { + default: 'Geef een geldige datum in', + max: 'Geef een datum in die voor %s ligt', + min: 'Geef een datum in die na %s ligt', + range: 'Geef een datum in die tussen %s en %s ligt', + }, + different: { + default: 'Geef een andere waarde in', + }, + digits: { + default: 'Geef alleen cijfers in', + }, + ean: { + default: 'Geef een geldig EAN-nummer in', + }, + ein: { + default: 'Geef een geldig EIN-nummer in', + }, + emailAddress: { + default: 'Geef een geldig emailadres op', + }, + file: { + default: 'Kies een geldig bestand', + }, + greaterThan: { + default: 'Geef een waarde in die gelijk is aan of groter is dan %s', + notInclusive: 'Geef een waarde in die groter is dan %s', + }, + grid: { + default: 'Geef een geldig GRID-nummer in', + }, + hex: { + default: 'Geef een geldig hexadecimaal nummer in', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Verenigde Arabische Emiraten', + AL: 'Albania', + AO: 'Angola', + AT: 'Oostenrijk', + AZ: 'Azerbeidzjan', + BA: 'Bosnië en Herzegovina', + BE: 'België', + BF: 'Burkina Faso', + BG: 'Bulgarije"', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilië', + CH: 'Zwitserland', + CI: 'Ivoorkust', + CM: 'Kameroen', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + DO: 'Dominicaanse Republiek', + DZ: 'Algerije', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + FO: 'Faeröer', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenland', + GR: 'Griekenland', + GT: 'Guatemala', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IL: 'Israël', + IR: 'Iran', + IS: 'IJsland', + IT: 'Italië', + JO: 'Jordan', + KW: 'Koeweit', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldavië', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonië', + ML: 'Mali', + MR: 'Mauretanië', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Nederland', + NO: 'Noorwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestijnse', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roemenië', + RS: 'Servië', + SA: 'Saudi-Arabië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Oost-Timor', + TN: 'Tunesië', + TR: 'Turkije', + VG: 'Britse Maagdeneilanden', + XK: 'Republiek Kosovo', + }, + country: 'Geef een geldig IBAN-nummer in uit %s', + default: 'Geef een geldig IBAN-nummer in', + }, + id: { + countries: { + BA: 'Bosnië en Herzegovina', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CL: 'Chili', + CN: 'China', + CZ: 'Tsjechische', + DK: 'Denemarken', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + HR: 'Kroatië', + IE: 'Ierland', + IS: 'IJsland', + LT: 'Litouwen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Macedonië', + NL: 'Nederland', + PL: 'Polen', + RO: 'Roemenië', + RS: 'Servië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkije', + ZA: 'Zuid-Afrika', + }, + country: 'Geef een geldig identificatienummer in uit %s', + default: 'Geef een geldig identificatienummer in', + }, + identical: { + default: 'Geef dezelfde waarde in', + }, + imei: { + default: 'Geef een geldig IMEI-nummer in', + }, + imo: { + default: 'Geef een geldig IMO-nummer in', + }, + integer: { + default: 'Geef een geldig nummer in', + }, + ip: { + default: 'Geef een geldig IP-adres in', + ipv4: 'Geef een geldig IPv4-adres in', + ipv6: 'Geef een geldig IPv6-adres in', + }, + isbn: { + default: 'Geef een geldig ISBN-nummer in', + }, + isin: { + default: 'Geef een geldig ISIN-nummer in', + }, + ismn: { + default: 'Geef een geldig ISMN-nummer in', + }, + issn: { + default: 'Geef een geldig ISSN-nummer in', + }, + lessThan: { + default: 'Geef een waarde in die gelijk is aan of kleiner is dan %s', + notInclusive: 'Geef een waarde in die kleiner is dan %s', + }, + mac: { + default: 'Geef een geldig MAC-adres in', + }, + meid: { + default: 'Geef een geldig MEID-nummer in', + }, + notEmpty: { + default: 'Geef een waarde in', + }, + numeric: { + default: 'Geef een geldig kommagetal in', + }, + phone: { + countries: { + AE: 'Verenigde Arabische Emiraten', + BG: 'Bulgarije', + BR: 'Brazilië', + CN: 'China', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IN: 'Indië', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Roemenië', + RU: 'Rusland', + SK: 'Slowakije', + TH: 'Thailand', + US: 'VS', + VE: 'Venezuela', + }, + country: 'Geef een geldig telefoonnummer in uit %s', + default: 'Geef een geldig telefoonnummer in', + }, + promise: { + default: 'Geef een geldige waarde in', + }, + regexp: { + default: 'Geef een waarde in die overeenkomt met het patroon', + }, + remote: { + default: 'Geef een geldige waarde in', + }, + rtn: { + default: 'Geef een geldig RTN-nummer in', + }, + sedol: { + default: 'Geef een geldig SEDOL-nummer in', + }, + siren: { + default: 'Geef een geldig SIREN-nummer in', + }, + siret: { + default: 'Geef een geldig SIRET-nummer in', + }, + step: { + default: 'Geef een geldig meervoud in van %s', + }, + stringCase: { + default: 'Geef enkel kleine letters in', + upper: 'Geef enkel hoofdletters in', + }, + stringLength: { + between: 'Geef tussen %s en %s karakters in', + default: 'Geef een waarde in met de juiste lengte', + less: 'Geef minder dan %s karakters in', + more: 'Geef meer dan %s karakters in', + }, + uri: { + default: 'Geef een geldige URI in', + }, + uuid: { + default: 'Geef een geldig UUID-nummer in', + version: 'Geef een geldig UUID-nummer (versie %s) in', + }, + vat: { + countries: { + AT: 'Oostenrijk', + BE: 'België', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CY: 'Cyprus', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + EE: 'Estland', + EL: 'Griekenland', + ES: 'Spanje', + FI: 'Finland', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GR: 'Griekenland', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IS: 'IJsland', + IT: 'Italië', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MT: 'Malta', + NL: 'Nederland', + NO: 'Noorwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RS: 'Servië', + RU: 'Rusland', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + VE: 'Venezuela', + ZA: 'Zuid-Afrika', + }, + country: 'Geef een geldig BTW-nummer in uit %s', + default: 'Geef een geldig BTW-nummer in', + }, + vin: { + default: 'Geef een geldig VIN-nummer in', + }, + zipCode: { + countries: { + AT: 'Oostenrijk', + BG: 'Bulgarije', + BR: 'Brazilië', + CA: 'Canada', + CH: 'Zwitserland', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IE: 'Ierland', + IN: 'Indië', + IT: 'Italië', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RU: 'Rusland', + SE: 'Zweden', + SG: 'Singapore', + SK: 'Slowakije', + US: 'VS', + }, + country: 'Geef een geldige postcode in uit %s', + default: 'Geef een geldige postcode in', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/nl_NL.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/nl_NL.ts new file mode 100644 index 0000000..5bfb3e6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/nl_NL.ts @@ -0,0 +1,379 @@ +/** + * The Dutch language package + * Translated by @jvanderheide + */ + +export default { + base64: { + default: 'Voer een geldige Base64 geëncodeerde tekst in', + }, + between: { + default: 'Voer een waarde in van %s tot en met %s', + notInclusive: 'Voer een waarde die tussen %s en %s ligt', + }, + bic: { + default: 'Voer een geldige BIC-code in', + }, + callback: { + default: 'Voer een geldige waarde in', + }, + choice: { + between: 'Kies tussen de %s - %s opties', + default: 'Voer een geldige waarde in', + less: 'Kies minimaal %s optie(s)', + more: 'Kies maximaal %s opties', + }, + color: { + default: 'Voer een geldige kleurcode in', + }, + creditCard: { + default: 'Voer een geldig creditcardnummer in', + }, + cusip: { + default: 'Voer een geldig CUSIP-nummer in', + }, + date: { + default: 'Voer een geldige datum in', + max: 'Voer een datum in die vóór %s ligt', + min: 'Voer een datum in die na %s ligt', + range: 'Voer een datum in die tussen %s en %s ligt', + }, + different: { + default: 'Voer een andere waarde in', + }, + digits: { + default: 'Voer enkel cijfers in', + }, + ean: { + default: 'Voer een geldige EAN-code in', + }, + ein: { + default: 'Voer een geldige EIN-code in', + }, + emailAddress: { + default: 'Voer een geldig e-mailadres in', + }, + file: { + default: 'Kies een geldig bestand', + }, + greaterThan: { + default: 'Voer een waarde in die gelijk is aan of groter is dan %s', + notInclusive: 'Voer een waarde in die is groter dan %s', + }, + grid: { + default: 'Voer een geldig GRId-nummer in', + }, + hex: { + default: 'Voer een geldig hexadecimaal nummer in', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Verenigde Arabische Emiraten', + AL: 'Albania', + AO: 'Angola', + AT: 'Oostenrijk', + AZ: 'Azerbeidzjan', + BA: 'Bosnië en Herzegovina', + BE: 'België', + BF: 'Burkina Faso', + BG: 'Bulgarije"', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilië', + CH: 'Zwitserland', + CI: 'Ivoorkust', + CM: 'Kameroen', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + DO: 'Dominicaanse Republiek', + DZ: 'Algerije', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + FO: 'Faeröer', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenland', + GR: 'Griekenland', + GT: 'Guatemala', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IL: 'Israël', + IR: 'Iran', + IS: 'IJsland', + IT: 'Italië', + JO: 'Jordan', + KW: 'Koeweit', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldavië', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonië', + ML: 'Mali', + MR: 'Mauretanië', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Nederland', + NO: 'Noorwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestijnse', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roemenië', + RS: 'Servië', + SA: 'Saudi-Arabië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Oost-Timor', + TN: 'Tunesië', + TR: 'Turkije', + VG: 'Britse Maagdeneilanden', + XK: 'Republiek Kosovo', + }, + country: 'Voer een geldig IBAN nummer in uit %s', + default: 'Voer een geldig IBAN nummer in', + }, + id: { + countries: { + BA: 'Bosnië en Herzegovina', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CL: 'Chili', + CN: 'China', + CZ: 'Tsjechische Republiek', + DK: 'Denemarken', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + HR: 'Kroatië', + IE: 'Ierland', + IS: 'IJsland', + LT: 'Litouwen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Macedonië', + NL: 'Nederland', + PL: 'Polen', + RO: 'Roemenië', + RS: 'Servië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkije', + ZA: 'Zuid-Afrika', + }, + country: 'Voer een geldig identificatie nummer in uit %s', + default: 'Voer een geldig identificatie nummer in', + }, + identical: { + default: 'Voer dezelfde waarde in', + }, + imei: { + default: 'Voer een geldig IMEI-nummer in', + }, + imo: { + default: 'Voer een geldig IMO-nummer in', + }, + integer: { + default: 'Voer een geldig getal in', + }, + ip: { + default: 'Voer een geldig IP adres in', + ipv4: 'Voer een geldig IPv4 adres in', + ipv6: 'Voer een geldig IPv6 adres in', + }, + isbn: { + default: 'Voer een geldig ISBN-nummer in', + }, + isin: { + default: 'Voer een geldig ISIN-nummer in', + }, + ismn: { + default: 'Voer een geldig ISMN-nummer in', + }, + issn: { + default: 'Voer een geldig ISSN-nummer in', + }, + lessThan: { + default: 'Voer een waarde in gelijk aan of kleiner dan %s', + notInclusive: 'Voer een waarde in kleiner dan %s', + }, + mac: { + default: 'Voer een geldig MAC adres in', + }, + meid: { + default: 'Voer een geldig MEID-nummer in', + }, + notEmpty: { + default: 'Voer een waarde in', + }, + numeric: { + default: 'Voer een geldig kommagetal in', + }, + phone: { + countries: { + AE: 'Verenigde Arabische Emiraten', + BG: 'Bulgarije', + BR: 'Brazilië', + CN: 'China', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IN: 'Indië', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Roemenië', + RU: 'Rusland', + SK: 'Slowakije', + TH: 'Thailand', + US: 'VS', + VE: 'Venezuela', + }, + country: 'Voer een geldig telefoonnummer in uit %s', + default: 'Voer een geldig telefoonnummer in', + }, + promise: { + default: 'Voer een geldige waarde in', + }, + regexp: { + default: 'Voer een waarde in die overeenkomt met het patroon', + }, + remote: { + default: 'Voer een geldige waarde in', + }, + rtn: { + default: 'Voer een geldig RTN-nummer in', + }, + sedol: { + default: 'Voer een geldig SEDOL-nummer in', + }, + siren: { + default: 'Voer een geldig SIREN-nummer in', + }, + siret: { + default: 'Voer een geldig SIRET-nummer in', + }, + step: { + default: 'Voer een meervoud van %s in', + }, + stringCase: { + default: 'Voer enkel kleine letters in', + upper: 'Voer enkel hoofdletters in', + }, + stringLength: { + between: 'Voer tussen tussen %s en %s karakters in', + default: 'Voer een waarde met de juiste lengte in', + less: 'Voer minder dan %s karakters in', + more: 'Voer meer dan %s karakters in', + }, + uri: { + default: 'Voer een geldige link in', + }, + uuid: { + default: 'Voer een geldige UUID in', + version: 'Voer een geldige UUID (versie %s) in', + }, + vat: { + countries: { + AT: 'Oostenrijk', + BE: 'België', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CY: 'Cyprus', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + EE: 'Estland', + EL: 'Griekenland', + ES: 'Spanje', + FI: 'Finland', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GR: 'Griekenland', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IS: 'IJsland', + IT: 'Italië', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MT: 'Malta', + NL: 'Nederland', + NO: 'Noorwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RS: 'Servië', + RU: 'Rusland', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + VE: 'Venezuela', + ZA: 'Zuid-Afrika', + }, + country: 'Voer een geldig BTW-nummer in uit %s', + default: 'Voer een geldig BTW-nummer in', + }, + vin: { + default: 'Voer een geldig VIN-nummer in', + }, + zipCode: { + countries: { + AT: 'Oostenrijk', + BG: 'Bulgarije', + BR: 'Brazilië', + CA: 'Canada', + CH: 'Zwitserland', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IE: 'Ierland', + IN: 'Indië', + IT: 'Italië', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RU: 'Rusland', + SE: 'Zweden', + SG: 'Singapore', + SK: 'Slowakije', + US: 'VS', + }, + country: 'Voer een geldige postcode in uit %s', + default: 'Voer een geldige postcode in', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/no_NO.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/no_NO.ts new file mode 100644 index 0000000..b9f78c6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/no_NO.ts @@ -0,0 +1,394 @@ +/** + * Norwegian language package + * Translated by @trondulseth + */ + +export default { + base64: { + default: + 'Vennligst fyll ut dette feltet med en gyldig base64-kodet verdi', + }, + between: { + default: 'Vennligst fyll ut dette feltet med en verdi mellom %s og %s', + notInclusive: 'Vennligst tast inn kun en verdi mellom %s og %s', + }, + bic: { + default: 'Vennligst fyll ut dette feltet med et gyldig BIC-nummer', + }, + callback: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + choice: { + between: 'Vennligst velg %s - %s valgmuligheter', + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + less: 'Vennligst velg minst %s valgmuligheter', + more: 'Vennligst velg maks %s valgmuligheter', + }, + color: { + default: 'Vennligst fyll ut dette feltet med en gyldig', + }, + creditCard: { + default: + 'Vennligst fyll ut dette feltet med et gyldig kreditkortnummer', + }, + cusip: { + default: 'Vennligst fyll ut dette feltet med et gyldig CUSIP-nummer', + }, + date: { + default: 'Vennligst fyll ut dette feltet med en gyldig dato', + max: 'Vennligst fyll ut dette feltet med en gyldig dato før %s', + min: 'Vennligst fyll ut dette feltet med en gyldig dato etter %s', + range: 'Vennligst fyll ut dette feltet med en gyldig dato mellom %s - %s', + }, + different: { + default: 'Vennligst fyll ut dette feltet med en annen verdi', + }, + digits: { + default: 'Vennligst tast inn kun sifre', + }, + ean: { + default: 'Vennligst fyll ut dette feltet med et gyldig EAN-nummer', + }, + ein: { + default: 'Vennligst fyll ut dette feltet med et gyldig EIN-nummer', + }, + emailAddress: { + default: 'Vennligst fyll ut dette feltet med en gyldig epostadresse', + }, + file: { + default: 'Velg vennligst en gyldig fil', + }, + greaterThan: { + default: + 'Vennligst fyll ut dette feltet med en verdi større eller lik %s', + notInclusive: + 'Vennligst fyll ut dette feltet med en verdi større enn %s', + }, + grid: { + default: 'Vennligst fyll ut dette feltet med et gyldig GRIDnummer', + }, + hex: { + default: + 'Vennligst fyll ut dette feltet med et gyldig hexadecimalt nummer', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'De Forente Arabiske Emirater', + AL: 'Albania', + AO: 'Angola', + AT: 'Østerrike', + AZ: 'Aserbajdsjan', + BA: 'Bosnia-Hercegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Sveits', + CI: 'Elfenbenskysten', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Kapp Verde', + CY: 'Kypros', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Den dominikanske republikk', + DZ: 'Algerie', + EE: 'Estland', + ES: 'Spania', + FI: 'Finland', + FO: 'Færøyene', + FR: 'Frankrike', + GB: 'Storbritannia', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Grønland', + GR: 'Hellas', + GT: 'Guatemala', + HR: 'Kroatia', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kasakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Nederland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi-Arabia', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'øst-Timor', + TN: 'Tunisia', + TR: 'Tyrkia', + VG: 'De Britiske Jomfruøyene', + XK: 'Republikken Kosovo', + }, + country: + 'Vennligst fyll ut dette feltet med et gyldig IBAN-nummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien-Hercegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Sveits', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tsjekkia', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spania', + FI: 'Finland', + HR: 'Kroatia', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Makedonia', + NL: 'Nederland', + PL: 'Polen', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Tyrkia', + ZA: 'Sør-Afrika', + }, + country: + 'Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer i %s', + default: + 'Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer', + }, + identical: { + default: 'Vennligst fyll ut dette feltet med den samme verdi', + }, + imei: { + default: 'Vennligst fyll ut dette feltet med et gyldig IMEI-nummer', + }, + imo: { + default: 'Vennligst fyll ut dette feltet med et gyldig IMO-nummer', + }, + integer: { + default: 'Vennligst fyll ut dette feltet med et gyldig tall', + }, + ip: { + default: 'Vennligst fyll ut dette feltet med en gyldig IP adresse', + ipv4: 'Vennligst fyll ut dette feltet med en gyldig IPv4 adresse', + ipv6: 'Vennligst fyll ut dette feltet med en gyldig IPv6 adresse', + }, + isbn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISBN-nummer', + }, + isin: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISIN-nummer', + }, + ismn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISMN-nummer', + }, + issn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISSN-nummer', + }, + lessThan: { + default: + 'Vennligst fyll ut dette feltet med en verdi mindre eller lik %s', + notInclusive: + 'Vennligst fyll ut dette feltet med en verdi mindre enn %s', + }, + mac: { + default: 'Vennligst fyll ut dette feltet med en gyldig MAC adresse', + }, + meid: { + default: 'Vennligst fyll ut dette feltet med et gyldig MEID-nummer', + }, + notEmpty: { + default: 'Vennligst fyll ut dette feltet', + }, + numeric: { + default: + 'Vennligst fyll ut dette feltet med et gyldig flytende desimaltall', + }, + phone: { + countries: { + AE: 'De Forente Arabiske Emirater', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'Kina', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spania', + FR: 'Frankrike', + GB: 'Storbritannia', + IN: 'India', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Rumenia', + RU: 'Russland', + SK: 'Slovakia', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: + 'Vennligst fyll ut dette feltet med et gyldig telefonnummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig telefonnummer', + }, + promise: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + regexp: { + default: + 'Vennligst fyll ut dette feltet med en verdi som matcher mønsteret', + }, + remote: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + rtn: { + default: 'Vennligst fyll ut dette feltet med et gyldig RTN-nummer', + }, + sedol: { + default: 'Vennligst fyll ut dette feltet med et gyldig SEDOL-nummer', + }, + siren: { + default: 'Vennligst fyll ut dette feltet med et gyldig SIREN-nummer', + }, + siret: { + default: 'Vennligst fyll ut dette feltet med et gyldig SIRET-nummer', + }, + step: { + default: 'Vennligst fyll ut dette feltet med et gyldig trinn av %s', + }, + stringCase: { + default: 'Venligst fyll inn dette feltet kun med små bokstaver', + upper: 'Venligst fyll inn dette feltet kun med store bokstaver', + }, + stringLength: { + between: + 'Vennligst fyll ut dette feltet med en verdi mellom %s og %s tegn', + default: 'Vennligst fyll ut dette feltet med en verdi av gyldig lengde', + less: 'Vennligst fyll ut dette feltet med mindre enn %s tegn', + more: 'Vennligst fyll ut dette feltet med mer enn %s tegn', + }, + uri: { + default: 'Vennligst fyll ut dette feltet med en gyldig URI', + }, + uuid: { + default: 'Vennligst fyll ut dette feltet med et gyldig UUID-nummer', + version: + 'Vennligst fyll ut dette feltet med en gyldig UUID version %s-nummer', + }, + vat: { + countries: { + AT: 'Østerrike', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Hellas', + ES: 'Spania', + FI: 'Finland', + FR: 'Frankrike', + GB: 'Storbritania', + GR: 'Hellas', + HR: 'Kroatia', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italia', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Nederland', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russland', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Sør-Afrika', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig MVA nummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig MVA nummer', + }, + vin: { + default: 'Vennligst fyll ut dette feltet med et gyldig VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Østerrike', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canada', + CH: 'Schweiz', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spania', + FR: 'Frankrike', + GB: 'Storbritannia', + IE: 'Irland', + IN: 'India', + IT: 'Italia', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig postnummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig postnummer', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/pl_PL.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/pl_PL.ts new file mode 100644 index 0000000..9c7a5e6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/pl_PL.ts @@ -0,0 +1,379 @@ +/** + * Polish language package + * Translated by @grzesiek + */ + +export default { + base64: { + default: 'Wpisz poprawny ciąg znaków zakodowany w base 64', + }, + between: { + default: 'Wprowadź wartość pomiędzy %s i %s', + notInclusive: 'Wprowadź wartość pomiędzy %s i %s (zbiór otwarty)', + }, + bic: { + default: 'Wprowadź poprawny numer BIC', + }, + callback: { + default: 'Wprowadź poprawną wartość', + }, + choice: { + between: 'Wybierz przynajmniej %s i maksymalnie %s opcji', + default: 'Wprowadź poprawną wartość', + less: 'Wybierz przynajmniej %s opcji', + more: 'Wybierz maksymalnie %s opcji', + }, + color: { + default: 'Wprowadź poprawny kolor w formacie', + }, + creditCard: { + default: 'Wprowadź poprawny numer karty kredytowej', + }, + cusip: { + default: 'Wprowadź poprawny numer CUSIP', + }, + date: { + default: 'Wprowadź poprawną datę', + max: 'Wprowadź datę przed %s', + min: 'Wprowadź datę po %s', + range: 'Wprowadź datę pomiędzy %s i %s', + }, + different: { + default: 'Wprowadź inną wartość', + }, + digits: { + default: 'Wprowadź tylko cyfry', + }, + ean: { + default: 'Wprowadź poprawny numer EAN', + }, + ein: { + default: 'Wprowadź poprawny numer EIN', + }, + emailAddress: { + default: 'Wprowadź poprawny adres e-mail', + }, + file: { + default: 'Wybierz prawidłowy plik', + }, + greaterThan: { + default: 'Wprowadź wartość większą bądź równą %s', + notInclusive: 'Wprowadź wartość większą niż %s', + }, + grid: { + default: 'Wprowadź poprawny numer GRId', + }, + hex: { + default: 'Wprowadź poprawną liczbę w formacie heksadecymalnym', + }, + iban: { + countries: { + AD: 'Andora', + AE: 'Zjednoczone Emiraty Arabskie', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbejdżan', + BA: 'Bośnia i Hercegowina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bułgaria', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazylia', + CH: 'Szwajcaria', + CI: 'Wybrzeże Kości Słoniowej', + CM: 'Kamerun', + CR: 'Kostaryka', + CV: 'Republika Zielonego Przylądka', + CY: 'Cypr', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + DO: 'Dominikana', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Hiszpania', + FI: 'Finlandia', + FO: 'Wyspy Owcze', + FR: 'Francja', + GB: 'Wielka Brytania', + GE: 'Gruzja', + GI: 'Gibraltar', + GL: 'Grenlandia', + GR: 'Grecja', + GT: 'Gwatemala', + HR: 'Chorwacja', + HU: 'Węgry', + IE: 'Irlandia', + IL: 'Izrael', + IR: 'Iran', + IS: 'Islandia', + IT: 'Włochy', + JO: 'Jordania', + KW: 'Kuwejt', + KZ: 'Kazahstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Litwa', + LU: 'Luksemburg', + LV: 'Łotwa', + MC: 'Monako', + MD: 'Mołdawia', + ME: 'Czarnogóra', + MG: 'Madagaskar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauretania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Holandia', + NO: 'Norwegia', + PK: 'Pakistan', + PL: 'Polska', + PS: 'Palestyna', + PT: 'Portugalia', + QA: 'Katar', + RO: 'Rumunia', + RS: 'Serbia', + SA: 'Arabia Saudyjska', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Wschodni', + TN: 'Tunezja', + TR: 'Turcja', + VG: 'Brytyjskie Wyspy Dziewicze', + XK: 'Republika Kosowa', + }, + country: 'Wprowadź poprawny numer IBAN w kraju %s', + default: 'Wprowadź poprawny numer IBAN', + }, + id: { + countries: { + BA: 'Bośnia i Hercegowina', + BG: 'Bułgaria', + BR: 'Brazylia', + CH: 'Szwajcaria', + CL: 'Chile', + CN: 'Chiny', + CZ: 'Czechy', + DK: 'Dania', + EE: 'Estonia', + ES: 'Hiszpania', + FI: 'Finlandia', + HR: 'Chorwacja', + IE: 'Irlandia', + IS: 'Islandia', + LT: 'Litwa', + LV: 'Łotwa', + ME: 'Czarnogóra', + MK: 'Macedonia', + NL: 'Holandia', + PL: 'Polska', + RO: 'Rumunia', + RS: 'Serbia', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + SM: 'San Marino', + TH: 'Tajlandia', + TR: 'Turcja', + ZA: 'Republika Południowej Afryki', + }, + country: 'Wprowadź poprawny numer identyfikacyjny w kraju %s', + default: 'Wprowadź poprawny numer identyfikacyjny', + }, + identical: { + default: 'Wprowadź taką samą wartość', + }, + imei: { + default: 'Wprowadź poprawny numer IMEI', + }, + imo: { + default: 'Wprowadź poprawny numer IMO', + }, + integer: { + default: 'Wprowadź poprawną liczbę całkowitą', + }, + ip: { + default: 'Wprowadź poprawny adres IP', + ipv4: 'Wprowadź poprawny adres IPv4', + ipv6: 'Wprowadź poprawny adres IPv6', + }, + isbn: { + default: 'Wprowadź poprawny numer ISBN', + }, + isin: { + default: 'Wprowadź poprawny numer ISIN', + }, + ismn: { + default: 'Wprowadź poprawny numer ISMN', + }, + issn: { + default: 'Wprowadź poprawny numer ISSN', + }, + lessThan: { + default: 'Wprowadź wartość mniejszą bądź równą %s', + notInclusive: 'Wprowadź wartość mniejszą niż %s', + }, + mac: { + default: 'Wprowadź poprawny adres MAC', + }, + meid: { + default: 'Wprowadź poprawny numer MEID', + }, + notEmpty: { + default: 'Wprowadź wartość, pole nie może być puste', + }, + numeric: { + default: 'Wprowadź poprawną liczbę zmiennoprzecinkową', + }, + phone: { + countries: { + AE: 'Zjednoczone Emiraty Arabskie', + BG: 'Bułgaria', + BR: 'Brazylia', + CN: 'Chiny', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + ES: 'Hiszpania', + FR: 'Francja', + GB: 'Wielka Brytania', + IN: 'Indie', + MA: 'Maroko', + NL: 'Holandia', + PK: 'Pakistan', + RO: 'Rumunia', + RU: 'Rosja', + SK: 'Słowacja', + TH: 'Tajlandia', + US: 'USA', + VE: 'Wenezuela', + }, + country: 'Wprowadź poprawny numer telefonu w kraju %s', + default: 'Wprowadź poprawny numer telefonu', + }, + promise: { + default: 'Wprowadź poprawną wartość', + }, + regexp: { + default: 'Wprowadź wartość pasującą do wzoru', + }, + remote: { + default: 'Wprowadź poprawną wartość', + }, + rtn: { + default: 'Wprowadź poprawny numer RTN', + }, + sedol: { + default: 'Wprowadź poprawny numer SEDOL', + }, + siren: { + default: 'Wprowadź poprawny numer SIREN', + }, + siret: { + default: 'Wprowadź poprawny numer SIRET', + }, + step: { + default: 'Wprowadź wielokrotność %s', + }, + stringCase: { + default: 'Wprowadź tekst składającą się tylko z małych liter', + upper: 'Wprowadź tekst składający się tylko z dużych liter', + }, + stringLength: { + between: 'Wprowadź wartość składająca się z min %s i max %s znaków', + default: 'Wprowadź wartość o poprawnej długości', + less: 'Wprowadź mniej niż %s znaków', + more: 'Wprowadź więcej niż %s znaków', + }, + uri: { + default: 'Wprowadź poprawny URI', + }, + uuid: { + default: 'Wprowadź poprawny numer UUID', + version: 'Wprowadź poprawny numer UUID w wersji %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgia', + BG: 'Bułgaria', + BR: 'Brazylia', + CH: 'Szwajcaria', + CY: 'Cypr', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + EE: 'Estonia', + EL: 'Grecja', + ES: 'Hiszpania', + FI: 'Finlandia', + FR: 'Francja', + GB: 'Wielka Brytania', + GR: 'Grecja', + HR: 'Chorwacja', + HU: 'Węgry', + IE: 'Irlandia', + IS: 'Islandia', + IT: 'Włochy', + LT: 'Litwa', + LU: 'Luksemburg', + LV: 'Łotwa', + MT: 'Malta', + NL: 'Holandia', + NO: 'Norwegia', + PL: 'Polska', + PT: 'Portugalia', + RO: 'Rumunia', + RS: 'Serbia', + RU: 'Rosja', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + VE: 'Wenezuela', + ZA: 'Republika Południowej Afryki', + }, + country: 'Wprowadź poprawny numer VAT w kraju %s', + default: 'Wprowadź poprawny numer VAT', + }, + vin: { + default: 'Wprowadź poprawny numer VIN', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bułgaria', + BR: 'Brazylia', + CA: 'Kanada', + CH: 'Szwajcaria', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + ES: 'Hiszpania', + FR: 'Francja', + GB: 'Wielka Brytania', + IE: 'Irlandia', + IN: 'Indie', + IT: 'Włochy', + MA: 'Maroko', + NL: 'Holandia', + PL: 'Polska', + PT: 'Portugalia', + RO: 'Rumunia', + RU: 'Rosja', + SE: 'Szwecja', + SG: 'Singapur', + SK: 'Słowacja', + US: 'USA', + }, + country: 'Wprowadź poprawny kod pocztowy w kraju %s', + default: 'Wprowadź poprawny kod pocztowy', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/pt_BR.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/pt_BR.ts new file mode 100644 index 0000000..2b5d1a4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/pt_BR.ts @@ -0,0 +1,379 @@ +/** + * Portuguese (Brazil) language package + * Translated by @marcuscarvalho6. Improved by @dgmike + */ + +export default { + base64: { + default: 'Por favor insira um código base 64 válido', + }, + between: { + default: 'Por favor insira um valor entre %s e %s', + notInclusive: 'Por favor insira um valor estritamente entre %s e %s', + }, + bic: { + default: 'Por favor insira um número BIC válido', + }, + callback: { + default: 'Por favor insira um valor válido', + }, + choice: { + between: 'Por favor escolha de %s a %s opções', + default: 'Por favor insira um valor válido', + less: 'Por favor escolha %s opções no mínimo', + more: 'Por favor escolha %s opções no máximo', + }, + color: { + default: 'Por favor insira uma cor válida', + }, + creditCard: { + default: 'Por favor insira um número de cartão de crédito válido', + }, + cusip: { + default: 'Por favor insira um número CUSIP válido', + }, + date: { + default: 'Por favor insira uma data válida', + max: 'Por favor insira uma data anterior a %s', + min: 'Por favor insira uma data posterior a %s', + range: 'Por favor insira uma data entre %s e %s', + }, + different: { + default: 'Por favor insira valores diferentes', + }, + digits: { + default: 'Por favor insira somente dígitos', + }, + ean: { + default: 'Por favor insira um número EAN válido', + }, + ein: { + default: 'Por favor insira um número EIN válido', + }, + emailAddress: { + default: 'Por favor insira um email válido', + }, + file: { + default: 'Por favor escolha um arquivo válido', + }, + greaterThan: { + default: 'Por favor insira um valor maior ou igual a %s', + notInclusive: 'Por favor insira um valor maior do que %s', + }, + grid: { + default: 'Por favor insira uma GRID válida', + }, + hex: { + default: 'Por favor insira um hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirados Árabes', + AL: 'Albânia', + AO: 'Angola', + AT: 'Áustria', + AZ: 'Azerbaijão', + BA: 'Bósnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgária', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suíça', + CM: 'Camarões', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argélia', + EE: 'Estónia', + ES: 'Espanha', + FI: 'Finlândia', + FO: 'Ilhas Faroé', + FR: 'França', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlândia', + GR: 'Grécia', + GT: 'Guatemala', + HR: 'Croácia', + HU: 'Hungria', + IC: 'Costa do Marfim', + IE: 'Ireland', + IL: 'Israel', + IR: 'Irão', + IS: 'Islândia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Cazaquistão', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MC: 'Mônaco', + MD: 'Moldávia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedónia', + ML: 'Mali', + MR: 'Mauritânia', + MT: 'Malta', + MU: 'Maurício', + MZ: 'Moçambique', + NL: 'Países Baixos', + NO: 'Noruega', + PK: 'Paquistão', + PL: 'Polônia', + PS: 'Palestino', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roménia', + RS: 'Sérvia', + SA: 'Arábia Saudita', + SE: 'Suécia', + SI: 'Eslovénia', + SK: 'Eslováquia', + SM: 'San Marino', + SN: 'Senegal', + TI: 'Itália', + TL: 'Timor Leste', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Ilhas Virgens Britânicas', + XK: 'República do Kosovo', + }, + country: 'Por favor insira um número IBAN válido em %s', + default: 'Por favor insira um número IBAN válido', + }, + id: { + countries: { + BA: 'Bósnia e Herzegovina', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estônia', + ES: 'Espanha', + FI: 'Finlândia', + HR: 'Croácia', + IE: 'Irlanda', + IS: 'Islândia', + LT: 'Lituânia', + LV: 'Letónia', + ME: 'Montenegro', + MK: 'Macedónia', + NL: 'Holanda', + PL: 'Polônia', + RO: 'Roménia', + RS: 'Sérvia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + SM: 'San Marino', + TH: 'Tailândia', + TR: 'Turquia', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número de indentificação válido em %s', + default: 'Por favor insira um código de identificação válido', + }, + identical: { + default: 'Por favor, insira o mesmo valor', + }, + imei: { + default: 'Por favor insira um IMEI válido', + }, + imo: { + default: 'Por favor insira um IMO válido', + }, + integer: { + default: 'Por favor insira um número inteiro válido', + }, + ip: { + default: 'Por favor insira um IP válido', + ipv4: 'Por favor insira um endereço de IPv4 válido', + ipv6: 'Por favor insira um endereço de IPv6 válido', + }, + isbn: { + default: 'Por favor insira um ISBN válido', + }, + isin: { + default: 'Por favor insira um ISIN válido', + }, + ismn: { + default: 'Por favor insira um ISMN válido', + }, + issn: { + default: 'Por favor insira um ISSN válido', + }, + lessThan: { + default: 'Por favor insira um valor menor ou igual a %s', + notInclusive: 'Por favor insira um valor menor do que %s', + }, + mac: { + default: 'Por favor insira um endereço MAC válido', + }, + meid: { + default: 'Por favor insira um MEID válido', + }, + notEmpty: { + default: 'Por favor insira um valor', + }, + numeric: { + default: 'Por favor insira um número real válido', + }, + phone: { + countries: { + AE: 'Emirados Árabes', + BG: 'Bulgária', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IN: 'Índia', + MA: 'Marrocos', + NL: 'Países Baixos', + PK: 'Paquistão', + RO: 'Roménia', + RU: 'Rússia', + SK: 'Eslováquia', + TH: 'Tailândia', + US: 'EUA', + VE: 'Venezuela', + }, + country: 'Por favor insira um número de telefone válido em %s', + default: 'Por favor insira um número de telefone válido', + }, + promise: { + default: 'Por favor insira um valor válido', + }, + regexp: { + default: 'Por favor insira um valor correspondente ao padrão', + }, + remote: { + default: 'Por favor insira um valor válido', + }, + rtn: { + default: 'Por favor insira um número válido RTN', + }, + sedol: { + default: 'Por favor insira um número válido SEDOL', + }, + siren: { + default: 'Por favor insira um número válido SIREN', + }, + siret: { + default: 'Por favor insira um número válido SIRET', + }, + step: { + default: 'Por favor insira um passo válido %s', + }, + stringCase: { + default: 'Por favor, digite apenas caracteres minúsculos', + upper: 'Por favor, digite apenas caracteres maiúsculos', + }, + stringLength: { + between: 'Por favor insira um valor entre %s e %s caracteres', + default: 'Por favor insira um valor com comprimento válido', + less: 'Por favor insira menos de %s caracteres', + more: 'Por favor insira mais de %s caracteres', + }, + uri: { + default: 'Por favor insira um URI válido', + }, + uuid: { + default: 'Por favor insira um número válido UUID', + version: 'Por favor insira uma versão %s UUID válida', + }, + vat: { + countries: { + AT: 'Áustria', + BE: 'Bélgica', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + EE: 'Estônia', + EL: 'Grécia', + ES: 'Espanha', + FI: 'Finlândia', + FR: 'França', + GB: 'Reino Unido', + GR: 'Grécia', + HR: 'Croácia', + HU: 'Hungria', + IE: 'Irlanda', + IS: 'Islândia', + IT: 'Itália', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MT: 'Malta', + NL: 'Holanda', + NO: 'Norway', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RS: 'Sérvia', + RU: 'Rússia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + VE: 'Venezuela', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número VAT válido em %s', + default: 'Por favor insira um VAT válido', + }, + vin: { + default: 'Por favor insira um VIN válido', + }, + zipCode: { + countries: { + AT: 'Áustria', + BG: 'Bulgária', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suíça', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itália', + MA: 'Marrocos', + NL: 'Holanda', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RU: 'Rússia', + SE: 'Suécia', + SG: 'Cingapura', + SK: 'Eslováquia', + US: 'EUA', + }, + country: 'Por favor insira um código postal válido em %s', + default: 'Por favor insira um código postal válido', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/pt_PT.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/pt_PT.ts new file mode 100644 index 0000000..065beca --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/pt_PT.ts @@ -0,0 +1,379 @@ +/** + * Portuguese (Portugal) language package + * Translated by @rtbfreitas + */ + +export default { + base64: { + default: 'Por favor insira um código base 64 válido', + }, + between: { + default: 'Por favor insira um valor entre %s e %s', + notInclusive: 'Por favor insira um valor estritamente entre %s e %s', + }, + bic: { + default: 'Por favor insira um número BIC válido', + }, + callback: { + default: 'Por favor insira um valor válido', + }, + choice: { + between: 'Por favor escolha de %s a %s opções', + default: 'Por favor insira um valor válido', + less: 'Por favor escolha %s opções no mínimo', + more: 'Por favor escolha %s opções no máximo', + }, + color: { + default: 'Por favor insira uma cor válida', + }, + creditCard: { + default: 'Por favor insira um número de cartão de crédito válido', + }, + cusip: { + default: 'Por favor insira um número CUSIP válido', + }, + date: { + default: 'Por favor insira uma data válida', + max: 'Por favor insira uma data anterior a %s', + min: 'Por favor insira uma data posterior a %s', + range: 'Por favor insira uma data entre %s e %s', + }, + different: { + default: 'Por favor insira valores diferentes', + }, + digits: { + default: 'Por favor insira somente dígitos', + }, + ean: { + default: 'Por favor insira um número EAN válido', + }, + ein: { + default: 'Por favor insira um número EIN válido', + }, + emailAddress: { + default: 'Por favor insira um email válido', + }, + file: { + default: 'Por favor escolha um arquivo válido', + }, + greaterThan: { + default: 'Por favor insira um valor maior ou igual a %s', + notInclusive: 'Por favor insira um valor maior do que %s', + }, + grid: { + default: 'Por favor insira uma GRID válida', + }, + hex: { + default: 'Por favor insira um hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirados Árabes', + AL: 'Albânia', + AO: 'Angola', + AT: 'Áustria', + AZ: 'Azerbaijão', + BA: 'Bósnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgária', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suíça', + CM: 'Camarões', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argélia', + EE: 'Estónia', + ES: 'Espanha', + FI: 'Finlândia', + FO: 'Ilhas Faroé', + FR: 'França', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlândia', + GR: 'Grécia', + GT: 'Guatemala', + HR: 'Croácia', + HU: 'Hungria', + IC: 'Costa do Marfim', + IE: 'Ireland', + IL: 'Israel', + IR: 'Irão', + IS: 'Islândia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Cazaquistão', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MC: 'Mônaco', + MD: 'Moldávia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedónia', + ML: 'Mali', + MR: 'Mauritânia', + MT: 'Malta', + MU: 'Maurício', + MZ: 'Moçambique', + NL: 'Países Baixos', + NO: 'Noruega', + PK: 'Paquistão', + PL: 'Polônia', + PS: 'Palestino', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roménia', + RS: 'Sérvia', + SA: 'Arábia Saudita', + SE: 'Suécia', + SI: 'Eslovénia', + SK: 'Eslováquia', + SM: 'San Marino', + SN: 'Senegal', + TI: 'Itália', + TL: 'Timor Leste', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Ilhas Virgens Britânicas', + XK: 'República do Kosovo', + }, + country: 'Por favor insira um número IBAN válido em %s', + default: 'Por favor insira um número IBAN válido', + }, + id: { + countries: { + BA: 'Bósnia e Herzegovina', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estônia', + ES: 'Espanha', + FI: 'Finlândia', + HR: 'Croácia', + IE: 'Irlanda', + IS: 'Islândia', + LT: 'Lituânia', + LV: 'Letónia', + ME: 'Montenegro', + MK: 'Macedónia', + NL: 'Holanda', + PL: 'Polônia', + RO: 'Roménia', + RS: 'Sérvia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + SM: 'San Marino', + TH: 'Tailândia', + TR: 'Turquia', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número de indentificação válido em %s', + default: 'Por favor insira um código de identificação válido', + }, + identical: { + default: 'Por favor, insira o mesmo valor', + }, + imei: { + default: 'Por favor insira um IMEI válido', + }, + imo: { + default: 'Por favor insira um IMO válido', + }, + integer: { + default: 'Por favor insira um número inteiro válido', + }, + ip: { + default: 'Por favor insira um IP válido', + ipv4: 'Por favor insira um endereço de IPv4 válido', + ipv6: 'Por favor insira um endereço de IPv6 válido', + }, + isbn: { + default: 'Por favor insira um ISBN válido', + }, + isin: { + default: 'Por favor insira um ISIN válido', + }, + ismn: { + default: 'Por favor insira um ISMN válido', + }, + issn: { + default: 'Por favor insira um ISSN válido', + }, + lessThan: { + default: 'Por favor insira um valor menor ou igual a %s', + notInclusive: 'Por favor insira um valor menor do que %s', + }, + mac: { + default: 'Por favor insira um endereço MAC válido', + }, + meid: { + default: 'Por favor insira um MEID válido', + }, + notEmpty: { + default: 'Por favor insira um valor', + }, + numeric: { + default: 'Por favor insira um número real válido', + }, + phone: { + countries: { + AE: 'Emirados Árabes', + BG: 'Bulgária', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IN: 'Índia', + MA: 'Marrocos', + NL: 'Países Baixos', + PK: 'Paquistão', + RO: 'Roménia', + RU: 'Rússia', + SK: 'Eslováquia', + TH: 'Tailândia', + US: 'EUA', + VE: 'Venezuela', + }, + country: 'Por favor insira um número de telefone válido em %s', + default: 'Por favor insira um número de telefone válido', + }, + promise: { + default: 'Por favor insira um valor válido', + }, + regexp: { + default: 'Por favor insira um valor correspondente ao padrão', + }, + remote: { + default: 'Por favor insira um valor válido', + }, + rtn: { + default: 'Por favor insira um número válido RTN', + }, + sedol: { + default: 'Por favor insira um número válido SEDOL', + }, + siren: { + default: 'Por favor insira um número válido SIREN', + }, + siret: { + default: 'Por favor insira um número válido SIRET', + }, + step: { + default: 'Por favor insira um passo válido %s', + }, + stringCase: { + default: 'Por favor, digite apenas caracteres minúsculos', + upper: 'Por favor, digite apenas caracteres maiúsculos', + }, + stringLength: { + between: 'Por favor insira um valor entre %s e %s caracteres', + default: 'Por favor insira um valor com comprimento válido', + less: 'Por favor insira menos de %s caracteres', + more: 'Por favor insira mais de %s caracteres', + }, + uri: { + default: 'Por favor insira um URI válido', + }, + uuid: { + default: 'Por favor insira um número válido UUID', + version: 'Por favor insira uma versão %s UUID válida', + }, + vat: { + countries: { + AT: 'Áustria', + BE: 'Bélgica', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + EE: 'Estônia', + EL: 'Grécia', + ES: 'Espanha', + FI: 'Finlândia', + FR: 'França', + GB: 'Reino Unido', + GR: 'Grécia', + HR: 'Croácia', + HU: 'Hungria', + IE: 'Irlanda', + IS: 'Islândia', + IT: 'Itália', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MT: 'Malta', + NL: 'Holanda', + NO: 'Norway', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RS: 'Sérvia', + RU: 'Rússia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + VE: 'Venezuela', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número VAT válido em %s', + default: 'Por favor insira um VAT válido', + }, + vin: { + default: 'Por favor insira um VIN válido', + }, + zipCode: { + countries: { + AT: 'Áustria', + BG: 'Bulgária', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suíça', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itália', + MA: 'Marrocos', + NL: 'Holanda', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RU: 'Rússia', + SE: 'Suécia', + SG: 'Cingapura', + SK: 'Eslováquia', + US: 'EUA', + }, + country: 'Por favor insira um código postal válido em %s', + default: 'Por favor insira um código postal válido', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/ro_RO.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/ro_RO.ts new file mode 100644 index 0000000..b948d53 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/ro_RO.ts @@ -0,0 +1,380 @@ +/** + * Romanian language package + * Translated by @filipac + */ + +export default { + base64: { + default: 'Te rog introdu un base64 valid', + }, + between: { + default: 'Te rog introdu o valoare intre %s si %s', + notInclusive: 'Te rog introdu o valoare doar intre %s si %s', + }, + bic: { + default: 'Te rog sa introduci un numar BIC valid', + }, + callback: { + default: 'Te rog introdu o valoare valida', + }, + choice: { + between: 'Te rog alege %s - %s optiuni', + default: 'Te rog introdu o valoare valida', + less: 'Te rog alege minim %s optiuni', + more: 'Te rog alege maxim %s optiuni', + }, + color: { + default: 'Te rog sa introduci o culoare valida', + }, + creditCard: { + default: 'Te rog introdu un numar de card valid', + }, + cusip: { + default: 'Te rog introdu un numar CUSIP valid', + }, + date: { + default: 'Te rog introdu o data valida', + max: 'Te rog sa introduci o data inainte de %s', + min: 'Te rog sa introduci o data dupa %s', + range: 'Te rog sa introduci o data in intervalul %s - %s', + }, + different: { + default: 'Te rog sa introduci o valoare diferita', + }, + digits: { + default: 'Te rog sa introduci doar cifre', + }, + ean: { + default: 'Te rog sa introduci un numar EAN valid', + }, + ein: { + default: 'Te rog sa introduci un numar EIN valid', + }, + emailAddress: { + default: 'Te rog sa introduci o adresa de email valide', + }, + file: { + default: 'Te rog sa introduci un fisier valid', + }, + greaterThan: { + default: 'Te rog sa introduci o valoare mai mare sau egala cu %s', + notInclusive: 'Te rog sa introduci o valoare mai mare ca %s', + }, + grid: { + default: 'Te rog sa introduci un numar GRId valid', + }, + hex: { + default: 'Te rog sa introduci un numar hexadecimal valid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratele Arabe unite', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia si Herzegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilia', + CH: 'Elvetia', + CI: 'Coasta de Fildes', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cipru', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + DO: 'Republica Dominicană', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spania', + FI: 'Finlanda', + FO: 'Insulele Faroe', + FR: 'Franta', + GB: 'Regatul Unit', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlanda', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Ungaria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islanda', + IT: 'Italia', + JO: 'Iordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Muntenegru', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Olanda', + NO: 'Norvegia', + PK: 'Pakistan', + PL: 'Polanda', + PS: 'Palestina', + PT: 'Portugalia', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timorul de Est', + TN: 'Tunisia', + TR: 'Turkey', + VG: 'Insulele Virgin', + XK: 'Republica Kosovo', + }, + country: 'Te rog sa introduci un IBAN valid din %s', + default: 'Te rog sa introduci un IBAN valid', + }, + id: { + countries: { + BA: 'Bosnia si Herzegovina', + BG: 'Bulgaria', + BR: 'Brazilia', + CH: 'Elvetia', + CL: 'Chile', + CN: 'China', + CZ: 'Republica Cehia', + DK: 'Danemarca', + EE: 'Estonia', + ES: 'Spania', + FI: 'Finlanda', + HR: 'Croatia', + IE: 'Irlanda', + IS: 'Islanda', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Muntenegru', + MK: 'Macedonia', + NL: 'Olanda', + PL: 'Polanda', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + SM: 'San Marino', + TH: 'Thailanda', + TR: 'Turkey', + ZA: 'Africa de Sud', + }, + country: 'Te rog sa introduci un numar de identificare valid din %s', + default: 'Te rog sa introduci un numar de identificare valid', + }, + identical: { + default: 'Te rog sa introduci aceeasi valoare', + }, + imei: { + default: 'Te rog sa introduci un numar IMEI valid', + }, + imo: { + default: 'Te rog sa introduci un numar IMO valid', + }, + integer: { + default: 'Te rog sa introduci un numar valid', + }, + ip: { + default: 'Te rog sa introduci o adresa IP valida', + ipv4: 'Te rog sa introduci o adresa IPv4 valida', + ipv6: 'Te rog sa introduci o adresa IPv6 valida', + }, + isbn: { + default: 'Te rog sa introduci un numar ISBN valid', + }, + isin: { + default: 'Te rog sa introduci un numar ISIN valid', + }, + ismn: { + default: 'Te rog sa introduci un numar ISMN valid', + }, + issn: { + default: 'Te rog sa introduci un numar ISSN valid', + }, + lessThan: { + default: 'Te rog sa introduci o valoare mai mica sau egala cu %s', + notInclusive: 'Te rog sa introduci o valoare mai mica decat %s', + }, + mac: { + default: 'Te rog sa introduci o adresa MAC valida', + }, + meid: { + default: 'Te rog sa introduci un numar MEID valid', + }, + notEmpty: { + default: 'Te rog sa introduci o valoare', + }, + numeric: { + default: 'Te rog sa introduci un numar', + }, + phone: { + countries: { + AE: 'Emiratele Arabe unite', + BG: 'Bulgaria', + BR: 'Brazilia', + CN: 'China', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + ES: 'Spania', + FR: 'Franta', + GB: 'Regatul Unit', + IN: 'India', + MA: 'Maroc', + NL: 'Olanda', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Rusia', + SK: 'Slovacia', + TH: 'Thailanda', + US: 'SUA', + VE: 'Venezuela', + }, + country: 'Te rog sa introduci un numar de telefon valid din %s', + default: 'Te rog sa introduci un numar de telefon valid', + }, + promise: { + default: 'Te rog introdu o valoare valida', + }, + regexp: { + default: 'Te rog sa introduci o valoare in formatul', + }, + remote: { + default: 'Te rog sa introduci o valoare valida', + }, + rtn: { + default: 'Te rog sa introduci un numar RTN valid', + }, + sedol: { + default: 'Te rog sa introduci un numar SEDOL valid', + }, + siren: { + default: 'Te rog sa introduci un numar SIREN valid', + }, + siret: { + default: 'Te rog sa introduci un numar SIRET valid', + }, + step: { + default: 'Te rog introdu un pas de %s', + }, + stringCase: { + default: 'Te rog sa introduci doar litere mici', + upper: 'Te rog sa introduci doar litere mari', + }, + stringLength: { + between: + 'Te rog sa introduci o valoare cu lungimea intre %s si %s caractere', + default: 'Te rog sa introduci o valoare cu lungimea valida', + less: 'Te rog sa introduci mai putin de %s caractere', + more: 'Te rog sa introduci mai mult de %s caractere', + }, + uri: { + default: 'Te rog sa introduci un URI valid', + }, + uuid: { + default: 'Te rog sa introduci un numar UUID valid', + version: 'Te rog sa introduci un numar UUID versiunea %s valid', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brazilia', + CH: 'Elvetia', + CY: 'Cipru', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'Spania', + FI: 'Finlanda', + FR: 'Franta', + GB: 'Regatul Unit', + GR: 'Grecia', + HR: 'Croatia', + HU: 'Ungaria', + IE: 'Irlanda', + IS: 'Islanda', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Olanda', + NO: 'Norvegia', + PL: 'Polanda', + PT: 'Portugalia', + RO: 'Romania', + RS: 'Serbia', + RU: 'Rusia', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + VE: 'Venezuela', + ZA: 'Africa de Sud', + }, + country: 'Te rog sa introduci un numar TVA valid din %s', + default: 'Te rog sa introduci un numar TVA valid', + }, + vin: { + default: 'Te rog sa introduci un numar VIN valid', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazilia', + CA: 'Canada', + CH: 'Elvetia', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + ES: 'Spania', + FR: 'Franta', + GB: 'Regatul Unit', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Maroc', + NL: 'Olanda', + PL: 'Polanda', + PT: 'Portugalia', + RO: 'Romania', + RU: 'Rusia', + SE: 'Suedia', + SG: 'Singapore', + SK: 'Slovacia', + US: 'SUA', + }, + country: 'Te rog sa introduci un cod postal valid din %s', + default: 'Te rog sa introduci un cod postal valid', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/ru_RU.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/ru_RU.ts new file mode 100644 index 0000000..2a0c486 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/ru_RU.ts @@ -0,0 +1,379 @@ +/** + * Russian language package + * Translated by @cylon-v. Improved by @stepin, @oleg-voloshyn + */ + +export default { + base64: { + default: 'Пожалуйста, введите корректную строку base64', + }, + between: { + default: 'Пожалуйста, введите значение от %s до %s', + notInclusive: 'Пожалуйста, введите значение между %s и %s', + }, + bic: { + default: 'Пожалуйста, введите правильный номер BIC', + }, + callback: { + default: 'Пожалуйста, введите корректное значение', + }, + choice: { + between: 'Пожалуйста, выберите %s-%s опций', + default: 'Пожалуйста, введите корректное значение', + less: 'Пожалуйста, выберите хотя бы %s опций', + more: 'Пожалуйста, выберите не больше %s опций', + }, + color: { + default: 'Пожалуйста, введите правильный номер цвета', + }, + creditCard: { + default: 'Пожалуйста, введите правильный номер кредитной карты', + }, + cusip: { + default: 'Пожалуйста, введите правильный номер CUSIP', + }, + date: { + default: 'Пожалуйста, введите правильную дату', + max: 'Пожалуйста, введите дату перед %s', + min: 'Пожалуйста, введите дату после %s', + range: 'Пожалуйста, введите дату в диапазоне %s - %s', + }, + different: { + default: 'Пожалуйста, введите другое значение', + }, + digits: { + default: 'Пожалуйста, введите только цифры', + }, + ean: { + default: 'Пожалуйста, введите правильный номер EAN', + }, + ein: { + default: 'Пожалуйста, введите правильный номер EIN', + }, + emailAddress: { + default: 'Пожалуйста, введите правильный адрес эл. почты', + }, + file: { + default: 'Пожалуйста, выберите файл', + }, + greaterThan: { + default: 'Пожалуйста, введите значение большее или равное %s', + notInclusive: 'Пожалуйста, введите значение больше %s', + }, + grid: { + default: 'Пожалуйста, введите правильный номер GRId', + }, + hex: { + default: 'Пожалуйста, введите правильное шестнадцатиричное число', + }, + iban: { + countries: { + AD: 'Андорре', + AE: 'Объединённых Арабских Эмиратах', + AL: 'Албании', + AO: 'Анголе', + AT: 'Австрии', + AZ: 'Азербайджане', + BA: 'Боснии и Герцеговине', + BE: 'Бельгии', + BF: 'Буркина-Фасо', + BG: 'Болгарии', + BH: 'Бахрейне', + BI: 'Бурунди', + BJ: 'Бенине', + BR: 'Бразилии', + CH: 'Швейцарии', + CI: "Кот-д'Ивуаре", + CM: 'Камеруне', + CR: 'Коста-Рике', + CV: 'Кабо-Верде', + CY: 'Кипре', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + DO: 'Доминикане Республика', + DZ: 'Алжире', + EE: 'Эстонии', + ES: 'Испании', + FI: 'Финляндии', + FO: 'Фарерских островах', + FR: 'Франции', + GB: 'Великобритании', + GE: 'Грузии', + GI: 'Гибралтаре', + GL: 'Гренландии', + GR: 'Греции', + GT: 'Гватемале', + HR: 'Хорватии', + HU: 'Венгрии', + IE: 'Ирландии', + IL: 'Израиле', + IR: 'Иране', + IS: 'Исландии', + IT: 'Италии', + JO: 'Иордании', + KW: 'Кувейте', + KZ: 'Казахстане', + LB: 'Ливане', + LI: 'Лихтенштейне', + LT: 'Литве', + LU: 'Люксембурге', + LV: 'Латвии', + MC: 'Монако', + MD: 'Молдове', + ME: 'Черногории', + MG: 'Мадагаскаре', + MK: 'Македонии', + ML: 'Мали', + MR: 'Мавритании', + MT: 'Мальте', + MU: 'Маврикии', + MZ: 'Мозамбике', + NL: 'Нидерландах', + NO: 'Норвегии', + PK: 'Пакистане', + PL: 'Польше', + PS: 'Палестине', + PT: 'Португалии', + QA: 'Катаре', + RO: 'Румынии', + RS: 'Сербии', + SA: 'Саудовской Аравии', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + SM: 'Сан-Марино', + SN: 'Сенегале', + TL: 'Восточный Тимор', + TN: 'Тунисе', + TR: 'Турции', + VG: 'Британских Виргинских островах', + XK: 'Республика Косово', + }, + country: 'Пожалуйста, введите правильный номер IBAN в %s', + default: 'Пожалуйста, введите правильный номер IBAN', + }, + id: { + countries: { + BA: 'Боснии и Герцеговине', + BG: 'Болгарии', + BR: 'Бразилии', + CH: 'Швейцарии', + CL: 'Чили', + CN: 'Китае', + CZ: 'Чешская республика', + DK: 'Дании', + EE: 'Эстонии', + ES: 'Испании', + FI: 'Финляндии', + HR: 'Хорватии', + IE: 'Ирландии', + IS: 'Исландии', + LT: 'Литве', + LV: 'Латвии', + ME: 'Черногории', + MK: 'Македонии', + NL: 'Нидерландах', + PL: 'Польше', + RO: 'Румынии', + RS: 'Сербии', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + SM: 'Сан-Марино', + TH: 'Тайланде', + TR: 'Турции', + ZA: 'ЮАР', + }, + country: 'Пожалуйста, введите правильный идентификационный номер в %s', + default: 'Пожалуйста, введите правильный идентификационный номер', + }, + identical: { + default: 'Пожалуйста, введите такое же значение', + }, + imei: { + default: 'Пожалуйста, введите правильный номер IMEI', + }, + imo: { + default: 'Пожалуйста, введите правильный номер IMO', + }, + integer: { + default: 'Пожалуйста, введите правильное целое число', + }, + ip: { + default: 'Пожалуйста, введите правильный IP-адрес', + ipv4: 'Пожалуйста, введите правильный IPv4-адрес', + ipv6: 'Пожалуйста, введите правильный IPv6-адрес', + }, + isbn: { + default: 'Пожалуйста, введите правильный номер ISBN', + }, + isin: { + default: 'Пожалуйста, введите правильный номер ISIN', + }, + ismn: { + default: 'Пожалуйста, введите правильный номер ISMN', + }, + issn: { + default: 'Пожалуйста, введите правильный номер ISSN', + }, + lessThan: { + default: 'Пожалуйста, введите значение меньшее или равное %s', + notInclusive: 'Пожалуйста, введите значение меньше %s', + }, + mac: { + default: 'Пожалуйста, введите правильный MAC-адрес', + }, + meid: { + default: 'Пожалуйста, введите правильный номер MEID', + }, + notEmpty: { + default: 'Пожалуйста, введите значение', + }, + numeric: { + default: 'Пожалуйста, введите корректное действительное число', + }, + phone: { + countries: { + AE: 'Объединённых Арабских Эмиратах', + BG: 'Болгарии', + BR: 'Бразилии', + CN: 'Китае', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + ES: 'Испании', + FR: 'Франции', + GB: 'Великобритании', + IN: 'Индия', + MA: 'Марокко', + NL: 'Нидерландах', + PK: 'Пакистане', + RO: 'Румынии', + RU: 'России', + SK: 'Словакии', + TH: 'Тайланде', + US: 'США', + VE: 'Венесуэле', + }, + country: 'Пожалуйста, введите правильный номер телефона в %s', + default: 'Пожалуйста, введите правильный номер телефона', + }, + promise: { + default: 'Пожалуйста, введите корректное значение', + }, + regexp: { + default: 'Пожалуйста, введите значение соответствующее шаблону', + }, + remote: { + default: 'Пожалуйста, введите правильное значение', + }, + rtn: { + default: 'Пожалуйста, введите правильный номер RTN', + }, + sedol: { + default: 'Пожалуйста, введите правильный номер SEDOL', + }, + siren: { + default: 'Пожалуйста, введите правильный номер SIREN', + }, + siret: { + default: 'Пожалуйста, введите правильный номер SIRET', + }, + step: { + default: 'Пожалуйста, введите правильный шаг %s', + }, + stringCase: { + default: 'Пожалуйста, вводите только строчные буквы', + upper: 'Пожалуйста, вводите только заглавные буквы', + }, + stringLength: { + between: 'Пожалуйста, введите строку длиной от %s до %s символов', + default: 'Пожалуйста, введите значение корректной длины', + less: 'Пожалуйста, введите не больше %s символов', + more: 'Пожалуйста, введите не меньше %s символов', + }, + uri: { + default: 'Пожалуйста, введите правильный URI', + }, + uuid: { + default: 'Пожалуйста, введите правильный номер UUID', + version: 'Пожалуйста, введите правильный номер UUID версии %s', + }, + vat: { + countries: { + AT: 'Австрии', + BE: 'Бельгии', + BG: 'Болгарии', + BR: 'Бразилии', + CH: 'Швейцарии', + CY: 'Кипре', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + EE: 'Эстонии', + EL: 'Греции', + ES: 'Испании', + FI: 'Финляндии', + FR: 'Франции', + GB: 'Великобритании', + GR: 'Греции', + HR: 'Хорватии', + HU: 'Венгрии', + IE: 'Ирландии', + IS: 'Исландии', + IT: 'Италии', + LT: 'Литве', + LU: 'Люксембурге', + LV: 'Латвии', + MT: 'Мальте', + NL: 'Нидерландах', + NO: 'Норвегии', + PL: 'Польше', + PT: 'Португалии', + RO: 'Румынии', + RS: 'Сербии', + RU: 'России', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + VE: 'Венесуэле', + ZA: 'ЮАР', + }, + country: 'Пожалуйста, введите правильный номер ИНН (VAT) в %s', + default: 'Пожалуйста, введите правильный номер ИНН', + }, + vin: { + default: 'Пожалуйста, введите правильный номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрии', + BG: 'Болгарии', + BR: 'Бразилии', + CA: 'Канаде', + CH: 'Швейцарии', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + ES: 'Испании', + FR: 'Франции', + GB: 'Великобритании', + IE: 'Ирландии', + IN: 'Индия', + IT: 'Италии', + MA: 'Марокко', + NL: 'Нидерландах', + PL: 'Польше', + PT: 'Португалии', + RO: 'Румынии', + RU: 'России', + SE: 'Швеции', + SG: 'Сингапуре', + SK: 'Словакии', + US: 'США', + }, + country: 'Пожалуйста, введите правильный почтовый индекс в %s', + default: 'Пожалуйста, введите правильный почтовый индекс', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/sk_SK.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/sk_SK.ts new file mode 100644 index 0000000..2782074 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/sk_SK.ts @@ -0,0 +1,380 @@ +/** + * Slovak language package + * Translated by @budik21. Improved by @PatrikGallik + */ + +export default { + base64: { + default: 'Prosím zadajte správny base64', + }, + between: { + default: 'Prosím zadajte hodnotu medzi %s a %s', + notInclusive: + 'Prosím zadajte hodnotu medzi %s a %s (vrátane týchto čísel)', + }, + bic: { + default: 'Prosím zadajte správne BIC číslo', + }, + callback: { + default: 'Prosím zadajte správnu hodnotu', + }, + choice: { + between: 'Prosím vyberte medzi %s a %s', + default: 'Prosím vyberte správnu hodnotu', + less: 'Hodnota musí byť minimálne %s', + more: 'Hodnota nesmie byť viac ako %s', + }, + color: { + default: 'Prosím zadajte správnu farbu', + }, + creditCard: { + default: 'Prosím zadajte správne číslo kreditnej karty', + }, + cusip: { + default: 'Prosím zadajte správne CUSIP číslo', + }, + date: { + default: 'Prosím zadajte správny dátum', + max: 'Prosím zadajte dátum po %s', + min: 'Prosím zadajte dátum pred %s', + range: 'Prosím zadajte dátum v rozmedzí %s až %s', + }, + different: { + default: 'Prosím zadajte inú hodnotu', + }, + digits: { + default: 'Toto pole môže obsahovať len čísla', + }, + ean: { + default: 'Prosím zadajte správne EAN číslo', + }, + ein: { + default: 'Prosím zadajte správne EIN číslo', + }, + emailAddress: { + default: 'Prosím zadajte správnu emailovú adresu', + }, + file: { + default: 'Prosím vyberte súbor', + }, + greaterThan: { + default: 'Prosím zadajte hodnotu väčšiu alebo rovnú %s', + notInclusive: 'Prosím zadajte hodnotu väčšiu ako %s', + }, + grid: { + default: 'Prosím zadajte správné GRId číslo', + }, + hex: { + default: 'Prosím zadajte správne hexadecimálne číslo', + }, + iban: { + countries: { + AD: 'Andorru', + AE: 'Spojené arabské emiráty', + AL: 'Albánsko', + AO: 'Angolu', + AT: 'Rakúsko', + AZ: 'Ázerbajdžán', + BA: 'Bosnu a Herzegovinu', + BE: 'Belgicko', + BF: 'Burkina Faso', + BG: 'Bulharsko', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CI: 'Pobrežie Slonoviny', + CM: 'Kamerun', + CR: 'Kostariku', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + DO: 'Dominikánsku republiku', + DZ: 'Alžírsko', + EE: 'Estónsko', + ES: 'Španielsko', + FI: 'Fínsko', + FO: 'Faerské ostrovy', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + GE: 'Gruzínsko', + GI: 'Gibraltár', + GL: 'Grónsko', + GR: 'Grécko', + GT: 'Guatemalu', + HR: 'Chorvátsko', + HU: 'Maďarsko', + IE: 'Írsko', + IL: 'Izrael', + IR: 'Irán', + IS: 'Island', + IT: 'Taliansko', + JO: 'Jordánsko', + KW: 'Kuwait', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Lichtenštajnsko', + LT: 'Litvu', + LU: 'Luxemburgsko', + LV: 'Lotyšsko', + MC: 'Monako', + MD: 'Moldavsko', + ME: 'Čiernu horu', + MG: 'Madagaskar', + MK: 'Macedónsko', + ML: 'Mali', + MR: 'Mauritániu', + MT: 'Maltu', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Holandsko', + NO: 'Nórsko', + PK: 'Pakistan', + PL: 'Poľsko', + PS: 'Palestínu', + PT: 'Portugalsko', + QA: 'Katar', + RO: 'Rumunsko', + RS: 'Srbsko', + SA: 'Saudskú Arábiu', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Východný Timor', + TN: 'Tunisko', + TR: 'Turecko', + VG: 'Britské Panenské ostrovy', + XK: 'Republic of Kosovo', + }, + country: 'Prosím zadajte správne IBAN číslo pre %s', + default: 'Prosím zadajte správne IBAN číslo', + }, + id: { + countries: { + BA: 'Bosnu a Hercegovinu', + BG: 'Bulharsko', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CL: 'Chile', + CN: 'Čínu', + CZ: 'Českú Republiku', + DK: 'Dánsko', + EE: 'Estónsko', + ES: 'Španielsko', + FI: 'Fínsko', + HR: 'Chorvátsko', + IE: 'Írsko', + IS: 'Island', + LT: 'Litvu', + LV: 'Lotyšsko', + ME: 'Čiernu horu', + MK: 'Macedónsko', + NL: 'Holandsko', + PL: 'Poľsko', + RO: 'Rumunsko', + RS: 'Srbsko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + TH: 'Thajsko', + TR: 'Turecko', + ZA: 'Južnú Afriku', + }, + country: 'Prosím zadajte správne rodné číslo pre %s', + default: 'Prosím zadajte správne rodné číslo', + }, + identical: { + default: 'Prosím zadajte rovnakú hodnotu', + }, + imei: { + default: 'Prosím zadajte správne IMEI číslo', + }, + imo: { + default: 'Prosím zadajte správne IMO číslo', + }, + integer: { + default: 'Prosím zadajte celé číslo', + }, + ip: { + default: 'Prosím zadajte správnu IP adresu', + ipv4: 'Prosím zadajte správnu IPv4 adresu', + ipv6: 'Prosím zadajte správnu IPv6 adresu', + }, + isbn: { + default: 'Prosím zadajte správne ISBN číslo', + }, + isin: { + default: 'Prosím zadajte správne ISIN číslo', + }, + ismn: { + default: 'Prosím zadajte správne ISMN číslo', + }, + issn: { + default: 'Prosím zadajte správne ISSN číslo', + }, + lessThan: { + default: 'Prosím zadajte hodnotu menšiu alebo rovnú %s', + notInclusive: 'Prosím zadajte hodnotu menšiu ako %s', + }, + mac: { + default: 'Prosím zadajte správnu MAC adresu', + }, + meid: { + default: 'Prosím zadajte správne MEID číslo', + }, + notEmpty: { + default: 'Toto pole nesmie byť prázdne', + }, + numeric: { + default: 'Prosím zadajte číselnú hodnotu', + }, + phone: { + countries: { + AE: 'Spojené arabské emiráty', + BG: 'Bulharsko', + BR: 'Brazíliu', + CN: 'Čínu', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + ES: 'Španielsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + IN: 'Indiu', + MA: 'Maroko', + NL: 'Holandsko', + PK: 'Pakistan', + RO: 'Rumunsko', + RU: 'Rusko', + SK: 'Slovensko', + TH: 'Thajsko', + US: 'Spojené Štáty Americké', + VE: 'Venezuelu', + }, + country: 'Prosím zadajte správne telefónne číslo pre %s', + default: 'Prosím zadajte správne telefónne číslo', + }, + promise: { + default: 'Prosím zadajte správnu hodnotu', + }, + regexp: { + default: 'Prosím zadajte hodnotu spĺňajúcu zadanie', + }, + remote: { + default: 'Prosím zadajte správnu hodnotu', + }, + rtn: { + default: 'Prosím zadajte správne RTN číslo', + }, + sedol: { + default: 'Prosím zadajte správne SEDOL číslo', + }, + siren: { + default: 'Prosím zadajte správne SIREN číslo', + }, + siret: { + default: 'Prosím zadajte správne SIRET číslo', + }, + step: { + default: 'Prosím zadajte správny krok %s', + }, + stringCase: { + default: 'Len malé písmená sú povolené v tomto poli', + upper: 'Len veľké písmená sú povolené v tomto poli', + }, + stringLength: { + between: 'Prosím zadajte hodnotu medzi %s a %s znakov', + default: 'Toto pole nesmie byť prázdne', + less: 'Prosím zadajte hodnotu kratšiu ako %s znakov', + more: 'Prosím zadajte hodnotu dlhú %s znakov a viacej', + }, + uri: { + default: 'Prosím zadajte správnu URI', + }, + uuid: { + default: 'Prosím zadajte správne UUID číslo', + version: 'Prosím zadajte správne UUID vo verzii %s', + }, + vat: { + countries: { + AT: 'Rakúsko', + BE: 'Belgicko', + BG: 'Bulharsko', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CY: 'Cyprus', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + EE: 'Estónsko', + EL: 'Grécko', + ES: 'Španielsko', + FI: 'Fínsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + GR: 'Grécko', + HR: 'Chorvátsko', + HU: 'Maďarsko', + IE: 'Írsko', + IS: 'Island', + IT: 'Taliansko', + LT: 'Litvu', + LU: 'Luxemburgsko', + LV: 'Lotyšsko', + MT: 'Maltu', + NL: 'Holandsko', + NO: 'Norsko', + PL: 'Poľsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RS: 'Srbsko', + RU: 'Rusko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + VE: 'Venezuelu', + ZA: 'Južnú Afriku', + }, + country: 'Prosím zadajte správne VAT číslo pre %s', + default: 'Prosím zadajte správne VAT číslo', + }, + vin: { + default: 'Prosím zadajte správne VIN číslo', + }, + zipCode: { + countries: { + AT: 'Rakúsko', + BG: 'Bulharsko', + BR: 'Brazíliu', + CA: 'Kanadu', + CH: 'Švajčiarsko', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + ES: 'Španielsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + IE: 'Írsko', + IN: 'Indiu', + IT: 'Taliansko', + MA: 'Maroko', + NL: 'Holandsko', + PL: 'Poľsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RU: 'Rusko', + SE: 'Švédsko', + SG: 'Singapur', + SK: 'Slovensko', + US: 'Spojené Štáty Americké', + }, + country: 'Prosím zadajte správne PSČ pre %s', + default: 'Prosím zadajte správne PSČ', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/sq_AL.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/sq_AL.ts new file mode 100644 index 0000000..1ecd41d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/sq_AL.ts @@ -0,0 +1,382 @@ +/** + * Albanian language package + * Translated by @desaretiuss + */ + +export default { + base64: { + default: 'Ju lutem përdorni sistemin e kodimit Base64', + }, + between: { + default: 'Ju lutem vendosni një vlerë midis %s dhe %s', + notInclusive: 'Ju lutem vendosni një vlerë rreptësisht midis %s dhe %s', + }, + bic: { + default: 'Ju lutem vendosni një numër BIC të vlefshëm', + }, + callback: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + choice: { + between: 'Ju lutem përzgjidhni %s - %s mundësi', + default: 'Ju lutem vendosni një vlerë të vlefshme', + less: 'Ju lutem përzgjidhni së paku %s mundësi', + more: 'Ju lutem përzgjidhni së shumti %s mundësi ', + }, + color: { + default: 'Ju lutem vendosni një ngjyrë të vlefshme', + }, + creditCard: { + default: 'Ju lutem vendosni një numër karte krediti të vlefshëm', + }, + cusip: { + default: 'Ju lutem vendosni një numër CUSIP të vlefshëm', + }, + date: { + default: 'Ju lutem vendosni një datë të saktë', + max: 'Ju lutem vendosni një datë para %s', + min: 'Ju lutem vendosni një datë pas %s', + range: 'Ju lutem vendosni një datë midis %s - %s', + }, + different: { + default: 'Ju lutem vendosni një vlerë tjetër', + }, + digits: { + default: 'Ju lutem vendosni vetëm numra', + }, + ean: { + default: 'Ju lutem vendosni një numër EAN të vlefshëm', + }, + ein: { + default: 'Ju lutem vendosni një numër EIN të vlefshëm', + }, + emailAddress: { + default: 'Ju lutem vendosni një adresë email të vlefshme', + }, + file: { + default: 'Ju lutem përzgjidhni një skedar të vlefshëm', + }, + greaterThan: { + default: + 'Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s', + notInclusive: 'Ju lutem vendosni një vlerë më të madhe se %s', + }, + grid: { + default: 'Ju lutem vendosni një numër GRId të vlefshëm', + }, + hex: { + default: 'Ju lutem vendosni një numër të saktë heksadecimal', + }, + iban: { + countries: { + AD: 'Andora', + AE: 'Emiratet e Bashkuara Arabe', + AL: 'Shqipëri', + AO: 'Angola', + AT: 'Austri', + AZ: 'Azerbajxhan', + BA: 'Bosnjë dhe Hercegovinë', + BE: 'Belgjikë', + BF: 'Burkina Faso', + BG: 'Bullgari', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Zvicër', + CI: 'Bregu i fildishtë', + CM: 'Kamerun', + CR: 'Kosta Rika', + CV: 'Kepi i Gjelbër', + CY: 'Qipro', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + DO: 'Dominika', + DZ: 'Algjeri', + EE: 'Estoni', + ES: 'Spanjë', + FI: 'Finlandë', + FO: 'Ishujt Faroe', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + GE: 'Gjeorgji', + GI: 'Gjibraltar', + GL: 'Groenlandë', + GR: 'Greqi', + GT: 'Guatemalë', + HR: 'Kroaci', + HU: 'Hungari', + IE: 'Irlandë', + IL: 'Izrael', + IR: 'Iran', + IS: 'Islandë', + IT: 'Itali', + JO: 'Jordani', + KW: 'Kuvajt', + KZ: 'Kazakistan', + LB: 'Liban', + LI: 'Lihtenshtejn', + LT: 'Lituani', + LU: 'Luksemburg', + LV: 'Letoni', + MC: 'Monako', + MD: 'Moldavi', + ME: 'Mal i Zi', + MG: 'Madagaskar', + MK: 'Maqedoni', + ML: 'Mali', + MR: 'Mauritani', + MT: 'Maltë', + MU: 'Mauricius', + MZ: 'Mozambik', + NL: 'Hollandë', + NO: 'Norvegji', + PK: 'Pakistan', + PL: 'Poloni', + PS: 'Palestinë', + PT: 'Portugali', + QA: 'Katar', + RO: 'Rumani', + RS: 'Serbi', + SA: 'Arabi Saudite', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Sllovaki', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timori Lindor', + TN: 'Tunizi', + TR: 'Turqi', + VG: 'Ishujt Virxhin Britanikë', + XK: 'Republika e Kosovës', + }, + country: 'Ju lutem vendosni një numër IBAN të vlefshëm në %s', + default: 'Ju lutem vendosni një numër IBAN të vlefshëm', + }, + id: { + countries: { + BA: 'Bosnjë dhe Hercegovinë', + BG: 'Bullgari', + BR: 'Brazil', + CH: 'Zvicër', + CL: 'Kili', + CN: 'Kinë', + CZ: 'Republika Çeke', + DK: 'Danimarkë', + EE: 'Estoni', + ES: 'Spanjë', + FI: 'Finlandë', + HR: 'Kroaci', + IE: 'Irlandë', + IS: 'Islandë', + LT: 'Lituani', + LV: 'Letoni', + ME: 'Mal i Zi', + MK: 'Maqedoni', + NL: 'Hollandë', + PL: 'Poloni', + RO: 'Rumani', + RS: 'Serbi', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Slovaki', + SM: 'San Marino', + TH: 'Tajlandë', + TR: 'Turqi', + ZA: 'Afrikë e Jugut', + }, + country: 'Ju lutem vendosni një numër identifikimi të vlefshëm në %s', + default: 'Ju lutem vendosni një numër identifikimi të vlefshëm', + }, + identical: { + default: 'Ju lutem vendosni të njëjtën vlerë', + }, + imei: { + default: 'Ju lutem vendosni numër IMEI të njëjtë', + }, + imo: { + default: 'Ju lutem vendosni numër IMO të vlefshëm', + }, + integer: { + default: 'Ju lutem vendosni një numër të vlefshëm', + }, + ip: { + default: 'Ju lutem vendosni një adresë IP të vlefshme', + ipv4: 'Ju lutem vendosni një adresë IPv4 të vlefshme', + ipv6: 'Ju lutem vendosni një adresë IPv6 të vlefshme', + }, + isbn: { + default: 'Ju lutem vendosni një numër ISBN të vlefshëm', + }, + isin: { + default: 'Ju lutem vendosni një numër ISIN të vlefshëm', + }, + ismn: { + default: 'Ju lutem vendosni një numër ISMN të vlefshëm', + }, + issn: { + default: 'Ju lutem vendosni një numër ISSN të vlefshëm', + }, + lessThan: { + default: + 'Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s', + notInclusive: 'Ju lutem vendosni një vlerë më të vogël se %s', + }, + mac: { + default: 'Ju lutem vendosni një adresë MAC të vlefshme', + }, + meid: { + default: 'Ju lutem vendosni një numër MEID të vlefshëm', + }, + notEmpty: { + default: 'Ju lutem vendosni një vlerë', + }, + numeric: { + default: 'Ju lutem vendosni një numër me presje notuese të saktë', + }, + phone: { + countries: { + AE: 'Emiratet e Bashkuara Arabe', + BG: 'Bullgari', + BR: 'Brazil', + CN: 'Kinë', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + ES: 'Spanjë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + IN: 'Indi', + MA: 'Marok', + NL: 'Hollandë', + PK: 'Pakistan', + RO: 'Rumani', + RU: 'Rusi', + SK: 'Sllovaki', + TH: 'Tajlandë', + US: 'SHBA', + VE: 'Venezuelë', + }, + country: 'Ju lutem vendosni një numër telefoni të vlefshëm në %s', + default: 'Ju lutem vendosni një numër telefoni të vlefshëm', + }, + promise: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + regexp: { + default: 'Ju lutem vendosni një vlerë që përputhet me modelin', + }, + remote: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + rtn: { + default: 'Ju lutem vendosni një numër RTN të vlefshëm', + }, + sedol: { + default: 'Ju lutem vendosni një numër SEDOL të vlefshëm', + }, + siren: { + default: 'Ju lutem vendosni një numër SIREN të vlefshëm', + }, + siret: { + default: 'Ju lutem vendosni një numër SIRET të vlefshëm', + }, + step: { + default: 'Ju lutem vendosni një hap të vlefshëm të %s', + }, + stringCase: { + default: 'Ju lutem përdorni vetëm shenja të vogla të shtypit', + upper: 'Ju lutem përdorni vetëm shenja të mëdha të shtypit', + }, + stringLength: { + between: + 'Ju lutem vendosni një vlerë me gjatësi midis %s dhe %s simbole', + default: 'Ju lutem vendosni një vlerë me gjatësinë e duhur', + less: 'Ju lutem vendosni më pak se %s simbole', + more: 'Ju lutem vendosni më shumë se %s simbole', + }, + uri: { + default: 'Ju lutem vendosni një URI të vlefshme', + }, + uuid: { + default: 'Ju lutem vendosni një numër UUID të vlefshëm', + version: 'Ju lutem vendosni një numër UUID version %s të vlefshëm', + }, + vat: { + countries: { + AT: 'Austri', + BE: 'Belgjikë', + BG: 'Bullgari', + BR: 'Brazil', + CH: 'Zvicër', + CY: 'Qipro', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + EE: 'Estoni', + EL: 'Greqi', + ES: 'Spanjë', + FI: 'Finlandë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + GR: 'Greqi', + HR: 'Kroaci', + HU: 'Hungari', + IE: 'Irlandë', + IS: 'Iclandë', + IT: 'Itali', + LT: 'Lituani', + LU: 'Luksemburg', + LV: 'Letoni', + MT: 'Maltë', + NL: 'Hollandë', + NO: 'Norvegji', + PL: 'Poloni', + PT: 'Portugali', + RO: 'Rumani', + RS: 'Serbi', + RU: 'Rusi', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Sllovaki', + VE: 'Venezuelë', + ZA: 'Afrikë e Jugut', + }, + country: 'Ju lutem vendosni një numër VAT të vlefshëm në %s', + default: 'Ju lutem vendosni një numër VAT të vlefshëm', + }, + vin: { + default: 'Ju lutem vendosni një numër VIN të vlefshëm', + }, + zipCode: { + countries: { + AT: 'Austri', + BG: 'Bullgari', + BR: 'Brazil', + CA: 'Kanada', + CH: 'Zvicër', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + ES: 'Spanjë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + IE: 'Irlandë', + IN: 'Indi', + IT: 'Itali', + MA: 'Marok', + NL: 'Hollandë', + PL: 'Poloni', + PT: 'Portugali', + RO: 'Rumani', + RU: 'Rusi', + SE: 'Suedi', + SG: 'Singapor', + SK: 'Sllovaki', + US: 'SHBA', + }, + country: 'Ju lutem vendosni një kod postar të vlefshëm në %s', + default: 'Ju lutem vendosni një kod postar të vlefshëm', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/sr_RS.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/sr_RS.ts new file mode 100644 index 0000000..fe21abe --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/sr_RS.ts @@ -0,0 +1,379 @@ +/** + * Serbian Latin language package + * Translated by @markocrni + */ + +export default { + base64: { + default: 'Molimo da unesete važeći base 64 enkodovan', + }, + between: { + default: 'Molimo da unesete vrednost između %s i %s', + notInclusive: 'Molimo da unesete vrednost strogo između %s i %s', + }, + bic: { + default: 'Molimo da unesete ispravan BIC broj', + }, + callback: { + default: 'Molimo da unesete važeću vrednost', + }, + choice: { + between: 'Molimo odaberite %s - %s opcije(a)', + default: 'Molimo da unesete važeću vrednost', + less: 'Molimo da odaberete minimalno %s opciju(a)', + more: 'Molimo da odaberete maksimalno %s opciju(a)', + }, + color: { + default: 'Molimo da unesete ispravnu boju', + }, + creditCard: { + default: 'Molimo da unesete ispravan broj kreditne kartice', + }, + cusip: { + default: 'Molimo da unesete ispravan CUSIP broj', + }, + date: { + default: 'Molimo da unesete ispravan datum', + max: 'Molimo da unesete datum pre %s', + min: 'Molimo da unesete datum posle %s', + range: 'Molimo da unesete datum od %s do %s', + }, + different: { + default: 'Molimo da unesete drugu vrednost', + }, + digits: { + default: 'Molimo da unesete samo cifre', + }, + ean: { + default: 'Molimo da unesete ispravan EAN broj', + }, + ein: { + default: 'Molimo da unesete ispravan EIN broj', + }, + emailAddress: { + default: 'Molimo da unesete važeću e-mail adresu', + }, + file: { + default: 'Molimo da unesete ispravan fajl', + }, + greaterThan: { + default: 'Molimo da unesete vrednost veću ili jednaku od %s', + notInclusive: 'Molimo da unesete vrednost veću od %s', + }, + grid: { + default: 'Molimo da unesete ispravan GRId broj', + }, + hex: { + default: 'Molimo da unesete ispravan heksadecimalan broj', + }, + iban: { + countries: { + AD: 'Andore', + AE: 'Ujedinjenih Arapskih Emirata', + AL: 'Albanije', + AO: 'Angole', + AT: 'Austrije', + AZ: 'Azerbejdžana', + BA: 'Bosne i Hercegovine', + BE: 'Belgije', + BF: 'Burkina Fasa', + BG: 'Bugarske', + BH: 'Bahraina', + BI: 'Burundija', + BJ: 'Benina', + BR: 'Brazila', + CH: 'Švajcarske', + CI: 'Obale slonovače', + CM: 'Kameruna', + CR: 'Kostarike', + CV: 'Zelenorotskih Ostrva', + CY: 'Kipra', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + DO: 'Dominike', + DZ: 'Alžira', + EE: 'Estonije', + ES: 'Španije', + FI: 'Finske', + FO: 'Farskih Ostrva', + FR: 'Francuske', + GB: 'Engleske', + GE: 'Džordžije', + GI: 'Giblartara', + GL: 'Grenlanda', + GR: 'Grčke', + GT: 'Gvatemale', + HR: 'Hrvatske', + HU: 'Mađarske', + IE: 'Irske', + IL: 'Izraela', + IR: 'Irana', + IS: 'Islanda', + IT: 'Italije', + JO: 'Jordana', + KW: 'Kuvajta', + KZ: 'Kazahstana', + LB: 'Libana', + LI: 'Lihtenštajna', + LT: 'Litvanije', + LU: 'Luksemburga', + LV: 'Latvije', + MC: 'Monaka', + MD: 'Moldove', + ME: 'Crne Gore', + MG: 'Madagaskara', + MK: 'Makedonije', + ML: 'Malija', + MR: 'Mauritanije', + MT: 'Malte', + MU: 'Mauricijusa', + MZ: 'Mozambika', + NL: 'Holandije', + NO: 'Norveške', + PK: 'Pakistana', + PL: 'Poljske', + PS: 'Palestine', + PT: 'Portugala', + QA: 'Katara', + RO: 'Rumunije', + RS: 'Srbije', + SA: 'Saudijske Arabije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + SM: 'San Marina', + SN: 'Senegala', + TL: 'Источни Тимор', + TN: 'Tunisa', + TR: 'Turske', + VG: 'Britanskih Devičanskih Ostrva', + XK: 'Република Косово', + }, + country: 'Molimo da unesete ispravan IBAN broj %s', + default: 'Molimo da unesete ispravan IBAN broj', + }, + id: { + countries: { + BA: 'Bosne i Herzegovine', + BG: 'Bugarske', + BR: 'Brazila', + CH: 'Švajcarske', + CL: 'Čilea', + CN: 'Kine', + CZ: 'Češke', + DK: 'Danske', + EE: 'Estonije', + ES: 'Španije', + FI: 'Finske', + HR: 'Hrvatske', + IE: 'Irske', + IS: 'Islanda', + LT: 'Litvanije', + LV: 'Letonije', + ME: 'Crne Gore', + MK: 'Makedonije', + NL: 'Holandije', + PL: 'Poljske', + RO: 'Rumunije', + RS: 'Srbije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + SM: 'San Marina', + TH: 'Tajlanda', + TR: 'Turske', + ZA: 'Južne Afrike', + }, + country: 'Molimo da unesete ispravan identifikacioni broj %s', + default: 'Molimo da unesete ispravan identifikacioni broj', + }, + identical: { + default: 'Molimo da unesete istu vrednost', + }, + imei: { + default: 'Molimo da unesete ispravan IMEI broj', + }, + imo: { + default: 'Molimo da unesete ispravan IMO broj', + }, + integer: { + default: 'Molimo da unesete ispravan broj', + }, + ip: { + default: 'Molimo da unesete ispravnu IP adresu', + ipv4: 'Molimo da unesete ispravnu IPv4 adresu', + ipv6: 'Molimo da unesete ispravnu IPv6 adresu', + }, + isbn: { + default: 'Molimo da unesete ispravan ISBN broj', + }, + isin: { + default: 'Molimo da unesete ispravan ISIN broj', + }, + ismn: { + default: 'Molimo da unesete ispravan ISMN broj', + }, + issn: { + default: 'Molimo da unesete ispravan ISSN broj', + }, + lessThan: { + default: 'Molimo da unesete vrednost manju ili jednaku od %s', + notInclusive: 'Molimo da unesete vrednost manju od %s', + }, + mac: { + default: 'Molimo da unesete ispravnu MAC adresu', + }, + meid: { + default: 'Molimo da unesete ispravan MEID broj', + }, + notEmpty: { + default: 'Molimo da unesete vrednost', + }, + numeric: { + default: 'Molimo da unesete ispravan decimalni broj', + }, + phone: { + countries: { + AE: 'Ujedinjenih Arapskih Emirata', + BG: 'Bugarske', + BR: 'Brazila', + CN: 'Kine', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + ES: 'Španije', + FR: 'Francuske', + GB: 'Engleske', + IN: 'Индија', + MA: 'Maroka', + NL: 'Holandije', + PK: 'Pakistana', + RO: 'Rumunije', + RU: 'Rusije', + SK: 'Slovačke', + TH: 'Tajlanda', + US: 'Amerike', + VE: 'Venecuele', + }, + country: 'Molimo da unesete ispravan broj telefona %s', + default: 'Molimo da unesete ispravan broj telefona', + }, + promise: { + default: 'Molimo da unesete važeću vrednost', + }, + regexp: { + default: 'Molimo da unesete vrednost koja se poklapa sa paternom', + }, + remote: { + default: 'Molimo da unesete ispravnu vrednost', + }, + rtn: { + default: 'Molimo da unesete ispravan RTN broj', + }, + sedol: { + default: 'Molimo da unesete ispravan SEDOL broj', + }, + siren: { + default: 'Molimo da unesete ispravan SIREN broj', + }, + siret: { + default: 'Molimo da unesete ispravan SIRET broj', + }, + step: { + default: 'Molimo da unesete ispravan korak od %s', + }, + stringCase: { + default: 'Molimo da unesete samo mala slova', + upper: 'Molimo da unesete samo velika slova', + }, + stringLength: { + between: 'Molimo da unesete vrednost dužine između %s i %s karaktera', + default: 'Molimo da unesete vrednost sa ispravnom dužinom', + less: 'Molimo da unesete manje od %s karaktera', + more: 'Molimo da unesete više od %s karaktera', + }, + uri: { + default: 'Molimo da unesete ispravan URI', + }, + uuid: { + default: 'Molimo da unesete ispravan UUID broj', + version: 'Molimo da unesete ispravnu verziju UUID %s broja', + }, + vat: { + countries: { + AT: 'Austrije', + BE: 'Belgije', + BG: 'Bugarske', + BR: 'Brazila', + CH: 'Švajcarske', + CY: 'Kipra', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + EE: 'Estonije', + EL: 'Grčke', + ES: 'Španije', + FI: 'Finske', + FR: 'Francuske', + GB: 'Engleske', + GR: 'Grčke', + HR: 'Hrvatske', + HU: 'Mađarske', + IE: 'Irske', + IS: 'Islanda', + IT: 'Italije', + LT: 'Litvanije', + LU: 'Luksemburga', + LV: 'Letonije', + MT: 'Malte', + NL: 'Holandije', + NO: 'Norveške', + PL: 'Poljske', + PT: 'Portugala', + RO: 'Romunje', + RS: 'Srbije', + RU: 'Rusije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + VE: 'Venecuele', + ZA: 'Južne Afrike', + }, + country: 'Molimo da unesete ispravan VAT broj %s', + default: 'Molimo da unesete ispravan VAT broj', + }, + vin: { + default: 'Molimo da unesete ispravan VIN broj', + }, + zipCode: { + countries: { + AT: 'Austrije', + BG: 'Bugarske', + BR: 'Brazila', + CA: 'Kanade', + CH: 'Švajcarske', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + ES: 'Španije', + FR: 'Francuske', + GB: 'Engleske', + IE: 'Irske', + IN: 'Индија', + IT: 'Italije', + MA: 'Maroka', + NL: 'Holandije', + PL: 'Poljske', + PT: 'Portugala', + RO: 'Rumunije', + RU: 'Rusije', + SE: 'Švedske', + SG: 'Singapura', + SK: 'Slovačke', + US: 'Amerike', + }, + country: 'Molimo da unesete ispravan poštanski broj %s', + default: 'Molimo da unesete ispravan poštanski broj', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/sv_SE.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/sv_SE.ts new file mode 100644 index 0000000..816669c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/sv_SE.ts @@ -0,0 +1,379 @@ +/** + * Swedish language package + * Translated by @ulsa + */ + +export default { + base64: { + default: 'Vänligen mata in ett giltigt Base64-kodat värde', + }, + between: { + default: 'Vänligen mata in ett värde mellan %s och %s', + notInclusive: 'Vänligen mata in ett värde strikt mellan %s och %s', + }, + bic: { + default: 'Vänligen mata in ett giltigt BIC-nummer', + }, + callback: { + default: 'Vänligen mata in ett giltigt värde', + }, + choice: { + between: 'Vänligen välj %s - %s alternativ', + default: 'Vänligen mata in ett giltigt värde', + less: 'Vänligen välj minst %s alternativ', + more: 'Vänligen välj max %s alternativ', + }, + color: { + default: 'Vänligen mata in en giltig färg', + }, + creditCard: { + default: 'Vänligen mata in ett giltigt kredikortsnummer', + }, + cusip: { + default: 'Vänligen mata in ett giltigt CUSIP-nummer', + }, + date: { + default: 'Vänligen mata in ett giltigt datum', + max: 'Vänligen mata in ett datum före %s', + min: 'Vänligen mata in ett datum efter %s', + range: 'Vänligen mata in ett datum i intervallet %s - %s', + }, + different: { + default: 'Vänligen mata in ett annat värde', + }, + digits: { + default: 'Vänligen mata in endast siffror', + }, + ean: { + default: 'Vänligen mata in ett giltigt EAN-nummer', + }, + ein: { + default: 'Vänligen mata in ett giltigt EIN-nummer', + }, + emailAddress: { + default: 'Vänligen mata in en giltig emailadress', + }, + file: { + default: 'Vänligen välj en giltig fil', + }, + greaterThan: { + default: 'Vänligen mata in ett värde större än eller lika med %s', + notInclusive: 'Vänligen mata in ett värde större än %s', + }, + grid: { + default: 'Vänligen mata in ett giltigt GRID-nummer', + }, + hex: { + default: 'Vänligen mata in ett giltigt hexadecimalt tal', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Förenade Arabemiraten', + AL: 'Albanien', + AO: 'Angola', + AT: 'Österrike', + AZ: 'Azerbadjan', + BA: 'Bosnien och Herzegovina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbenskusten', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cypern', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Dominikanska Republiken', + DZ: 'Algeriet', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + FO: 'Färöarna', + FR: 'Frankrike', + GB: 'Storbritannien', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grönland', + GR: 'Greekland', + GT: 'Guatemala', + HR: 'Kroatien', + HU: 'Ungern', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordanien', + KW: 'Kuwait', + KZ: 'Kazakstan', + LB: 'Libanon', + LI: 'Lichtenstein', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MC: 'Monaco', + MD: 'Moldovien', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Holland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Rumänien', + RS: 'Serbien', + SA: 'Saudiarabien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Östtimor', + TN: 'Tunisien', + TR: 'Turkiet', + VG: 'Brittiska Jungfruöarna', + XK: 'Republiken Kosovo', + }, + country: 'Vänligen mata in ett giltigt IBAN-nummer i %s', + default: 'Vänligen mata in ett giltigt IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien och Hercegovina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tjeckien', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Lettland', + ME: 'Montenegro', + MK: 'Makedonien', + NL: 'Nederländerna', + PL: 'Polen', + RO: 'Rumänien', + RS: 'Serbien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkiet', + ZA: 'Sydafrika', + }, + country: 'Vänligen mata in ett giltigt identifikationsnummer i %s', + default: 'Vänligen mata in ett giltigt identifikationsnummer', + }, + identical: { + default: 'Vänligen mata in samma värde', + }, + imei: { + default: 'Vänligen mata in ett giltigt IMEI-nummer', + }, + imo: { + default: 'Vänligen mata in ett giltigt IMO-nummer', + }, + integer: { + default: 'Vänligen mata in ett giltigt heltal', + }, + ip: { + default: 'Vänligen mata in en giltig IP-adress', + ipv4: 'Vänligen mata in en giltig IPv4-adress', + ipv6: 'Vänligen mata in en giltig IPv6-adress', + }, + isbn: { + default: 'Vänligen mata in ett giltigt ISBN-nummer', + }, + isin: { + default: 'Vänligen mata in ett giltigt ISIN-nummer', + }, + ismn: { + default: 'Vänligen mata in ett giltigt ISMN-nummer', + }, + issn: { + default: 'Vänligen mata in ett giltigt ISSN-nummer', + }, + lessThan: { + default: 'Vänligen mata in ett värde mindre än eller lika med %s', + notInclusive: 'Vänligen mata in ett värde mindre än %s', + }, + mac: { + default: 'Vänligen mata in en giltig MAC-adress', + }, + meid: { + default: 'Vänligen mata in ett giltigt MEID-nummer', + }, + notEmpty: { + default: 'Vänligen mata in ett värde', + }, + numeric: { + default: 'Vänligen mata in ett giltigt flyttal', + }, + phone: { + countries: { + AE: 'Förenade Arabemiraten', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'Kina', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrike', + GB: 'Storbritannien', + IN: 'Indien', + MA: 'Marocko', + NL: 'Holland', + PK: 'Pakistan', + RO: 'Rumänien', + RU: 'Ryssland', + SK: 'Slovakien', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Vänligen mata in ett giltigt telefonnummer i %s', + default: 'Vänligen mata in ett giltigt telefonnummer', + }, + promise: { + default: 'Vänligen mata in ett giltigt värde', + }, + regexp: { + default: 'Vänligen mata in ett värde som matchar uttrycket', + }, + remote: { + default: 'Vänligen mata in ett giltigt värde', + }, + rtn: { + default: 'Vänligen mata in ett giltigt RTN-nummer', + }, + sedol: { + default: 'Vänligen mata in ett giltigt SEDOL-nummer', + }, + siren: { + default: 'Vänligen mata in ett giltigt SIREN-nummer', + }, + siret: { + default: 'Vänligen mata in ett giltigt SIRET-nummer', + }, + step: { + default: 'Vänligen mata in ett giltigt steg av %s', + }, + stringCase: { + default: 'Vänligen mata in endast små bokstäver', + upper: 'Vänligen mata in endast stora bokstäver', + }, + stringLength: { + between: 'Vänligen mata in ett värde mellan %s och %s tecken långt', + default: 'Vänligen mata in ett värde med giltig längd', + less: 'Vänligen mata in färre än %s tecken', + more: 'Vänligen mata in fler än %s tecken', + }, + uri: { + default: 'Vänligen mata in en giltig URI', + }, + uuid: { + default: 'Vänligen mata in ett giltigt UUID-nummer', + version: 'Vänligen mata in ett giltigt UUID-nummer av version %s', + }, + vat: { + countries: { + AT: 'Österrike', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Grekland', + ES: 'Spanien', + FI: 'Finland', + FR: 'Frankrike', + GB: 'Förenade Kungariket', + GR: 'Grekland', + HR: 'Kroatien', + HU: 'Ungern', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MT: 'Malta', + NL: 'Nederländerna', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RS: 'Serbien', + RU: 'Ryssland', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + VE: 'Venezuela', + ZA: 'Sydafrika', + }, + country: 'Vänligen mata in ett giltigt momsregistreringsnummer i %s', + default: 'Vänligen mata in ett giltigt momsregistreringsnummer', + }, + vin: { + default: 'Vänligen mata in ett giltigt VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Österrike', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Kanada', + CH: 'Schweiz', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrike', + GB: 'Förenade Kungariket', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marocko', + NL: 'Nederländerna', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RU: 'Ryssland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakien', + US: 'USA', + }, + country: 'Vänligen mata in ett giltigt postnummer i %s', + default: 'Vänligen mata in ett giltigt postnummer', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/th_TH.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/th_TH.ts new file mode 100644 index 0000000..733ea25 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/th_TH.ts @@ -0,0 +1,379 @@ +/** + * Thai language package + * Translated by @figgaro + */ + +export default { + base64: { + default: 'กรุณาระบุ base 64 encoded ให้ถูกต้อง', + }, + between: { + default: 'กรุณาระบุค่าระหว่าง %s และ %s', + notInclusive: 'กรุณาระบุค่าระหว่าง %s และ %s เท่านั้น', + }, + bic: { + default: 'กรุณาระบุหมายเลข BIC ให้ถูกต้อง', + }, + callback: { + default: 'กรุณาระบุค่าให้ถูก', + }, + choice: { + between: 'กรุณาเลือก %s - %s ที่มีอยู่', + default: 'กรุณาระบุค่าให้ถูกต้อง', + less: 'โปรดเลือกตัวเลือก %s ที่ต่ำสุด', + more: 'โปรดเลือกตัวเลือก %s ที่สูงสุด', + }, + color: { + default: 'กรุณาระบุค่าสี color ให้ถูกต้อง', + }, + creditCard: { + default: 'กรุณาระบุเลขที่บัตรเครดิตให้ถูกต้อง', + }, + cusip: { + default: 'กรุณาระบุหมายเลข CUSIP ให้ถูกต้อง', + }, + date: { + default: 'กรุณาระบุวันที่ให้ถูกต้อง', + max: 'ไม่สามารถระบุวันที่ได้หลังจาก %s', + min: 'ไม่สามารถระบุวันที่ได้ก่อน %s', + range: 'โปรดระบุวันที่ระหว่าง %s - %s', + }, + different: { + default: 'กรุณาระบุค่าอื่นที่แตกต่าง', + }, + digits: { + default: 'กรุณาระบุตัวเลขเท่านั้น', + }, + ean: { + default: 'กรุณาระบุหมายเลข EAN ให้ถูกต้อง', + }, + ein: { + default: 'กรุณาระบุหมายเลข EIN ให้ถูกต้อง', + }, + emailAddress: { + default: 'กรุณาระบุอีเมล์ให้ถูกต้อง', + }, + file: { + default: 'กรุณาเลือกไฟล์', + }, + greaterThan: { + default: 'กรุณาระบุค่ามากกว่าหรือเท่ากับ %s', + notInclusive: 'กรุณาระบุค่ามากกว่า %s', + }, + grid: { + default: 'กรุณาระบุหมายลข GRId ให้ถูกต้อง', + }, + hex: { + default: 'กรุณาระบุเลขฐานสิบหกให้ถูกต้อง', + }, + iban: { + countries: { + AD: 'อันดอร์รา', + AE: 'สหรัฐอาหรับเอมิเรตส์', + AL: 'แอลเบเนีย', + AO: 'แองโกลา', + AT: 'ออสเตรีย', + AZ: 'อาเซอร์ไบจาน', + BA: 'บอสเนียและเฮอร์เซโก', + BE: 'ประเทศเบลเยียม', + BF: 'บูร์กินาฟาโซ', + BG: 'บัลแกเรีย', + BH: 'บาห์เรน', + BI: 'บุรุนดี', + BJ: 'เบนิน', + BR: 'บราซิล', + CH: 'สวิตเซอร์แลนด์', + CI: 'ไอวอรี่โคสต์', + CM: 'แคเมอรูน', + CR: 'คอสตาริกา', + CV: 'เคปเวิร์ด', + CY: 'ไซปรัส', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + DO: 'สาธารณรัฐโดมินิกัน', + DZ: 'แอลจีเรีย', + EE: 'เอสโตเนีย', + ES: 'สเปน', + FI: 'ฟินแลนด์', + FO: 'หมู่เกาะแฟโร', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + GE: 'จอร์เจีย', + GI: 'ยิบรอลตา', + GL: 'กรีนแลนด์', + GR: 'กรีซ', + GT: 'กัวเตมาลา', + HR: 'โครเอเชีย', + HU: 'ฮังการี', + IE: 'ไอร์แลนด์', + IL: 'อิสราเอล', + IR: 'อิหร่าน', + IS: 'ไอซ์', + IT: 'อิตาลี', + JO: 'จอร์แดน', + KW: 'คูเวต', + KZ: 'คาซัคสถาน', + LB: 'เลบานอน', + LI: 'Liechtenstein', + LT: 'ลิทัวเนีย', + LU: 'ลักเซมเบิร์ก', + LV: 'ลัตเวีย', + MC: 'โมนาโก', + MD: 'มอลโดวา', + ME: 'มอนเตเนโก', + MG: 'มาดากัสการ์', + MK: 'มาซิโดเนีย', + ML: 'มาลี', + MR: 'มอริเตเนีย', + MT: 'มอลตา', + MU: 'มอริเชียส', + MZ: 'โมซัมบิก', + NL: 'เนเธอร์แลนด์', + NO: 'นอร์เวย์', + PK: 'ปากีสถาน', + PL: 'โปแลนด์', + PS: 'ปาเลสไตน์', + PT: 'โปรตุเกส', + QA: 'กาตาร์', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + SA: 'ซาอุดิอารเบีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + SM: 'ซานมาริโน', + SN: 'เซเนกัล', + TL: 'ติมอร์ตะวันออก', + TN: 'ตูนิเซีย', + TR: 'ตุรกี', + VG: 'หมู่เกาะบริติชเวอร์จิน', + XK: 'สาธารณรัฐโคโซโว', + }, + country: 'กรุณาระบุหมายเลข IBAN ใน %s', + default: 'กรุณาระบุหมายเลข IBAN ให้ถูกต้อง', + }, + id: { + countries: { + BA: 'บอสเนียและเฮอร์เซโก', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CH: 'วิตเซอร์แลนด์', + CL: 'ชิลี', + CN: 'จีน', + CZ: 'สาธารณรัฐเชค', + DK: 'เดนมาร์ก', + EE: 'เอสโตเนีย', + ES: 'สเปน', + FI: 'ฟินแลนด์', + HR: 'โครเอเชีย', + IE: 'ไอร์แลนด์', + IS: 'ไอซ์', + LT: 'ลิทัวเนีย', + LV: 'ลัตเวีย', + ME: 'มอนเตเนโก', + MK: 'มาซิโดเนีย', + NL: 'เนเธอร์แลนด์', + PL: 'โปแลนด์', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + SM: 'ซานมาริโน', + TH: 'ไทย', + TR: 'ตุรกี', + ZA: 'แอฟริกาใต้', + }, + country: 'โปรดระบุเลขบัตรประจำตัวประชาชนใน %s ให้ถูกต้อง', + default: 'โปรดระบุเลขบัตรประจำตัวประชาชนให้ถูกต้อง', + }, + identical: { + default: 'โปรดระบุค่าให้ตรง', + }, + imei: { + default: 'โปรดระบุหมายเลข IMEI ให้ถูกต้อง', + }, + imo: { + default: 'โปรดระบุหมายเลข IMO ให้ถูกต้อง', + }, + integer: { + default: 'โปรดระบุตัวเลขให้ถูกต้อง', + }, + ip: { + default: 'โปรดระบุ IP address ให้ถูกต้อง', + ipv4: 'โปรดระบุ IPv4 address ให้ถูกต้อง', + ipv6: 'โปรดระบุ IPv6 address ให้ถูกต้อง', + }, + isbn: { + default: 'โปรดระบุหมายเลข ISBN ให้ถูกต้อง', + }, + isin: { + default: 'โปรดระบุหมายเลข ISIN ให้ถูกต้อง', + }, + ismn: { + default: 'โปรดระบุหมายเลข ISMN ให้ถูกต้อง', + }, + issn: { + default: 'โปรดระบุหมายเลข ISSN ให้ถูกต้อง', + }, + lessThan: { + default: 'โปรดระบุค่าน้อยกว่าหรือเท่ากับ %s', + notInclusive: 'โปรดระบุค่าน้อยกว่า %s', + }, + mac: { + default: 'โปรดระบุหมายเลข MAC address ให้ถูกต้อง', + }, + meid: { + default: 'โปรดระบุหมายเลข MEID ให้ถูกต้อง', + }, + notEmpty: { + default: 'โปรดระบุค่า', + }, + numeric: { + default: 'โปรดระบุเลขหน่วยหรือจำนวนทศนิยม ให้ถูกต้อง', + }, + phone: { + countries: { + AE: 'สหรัฐอาหรับเอมิเรตส์', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CN: 'จีน', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + ES: 'สเปน', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + IN: 'อินเดีย', + MA: 'โมร็อกโก', + NL: 'เนเธอร์แลนด์', + PK: 'ปากีสถาน', + RO: 'โรมาเนีย', + RU: 'รัสเซีย', + SK: 'สโลวาเกีย', + TH: 'ไทย', + US: 'สหรัฐอเมริกา', + VE: 'เวเนซูเอลา', + }, + country: 'โปรดระบุหมายเลขโทรศัพท์ใน %s ให้ถูกต้อง', + default: 'โปรดระบุหมายเลขโทรศัพท์ให้ถูกต้อง', + }, + promise: { + default: 'กรุณาระบุค่าให้ถูก', + }, + regexp: { + default: 'โปรดระบุค่าให้ตรงกับรูปแบบที่กำหนด', + }, + remote: { + default: 'โปรดระบุค่าให้ถูกต้อง', + }, + rtn: { + default: 'โปรดระบุหมายเลข RTN ให้ถูกต้อง', + }, + sedol: { + default: 'โปรดระบุหมายเลข SEDOL ให้ถูกต้อง', + }, + siren: { + default: 'โปรดระบุหมายเลข SIREN ให้ถูกต้อง', + }, + siret: { + default: 'โปรดระบุหมายเลข SIRET ให้ถูกต้อง', + }, + step: { + default: 'โปรดระบุลำดับของ %s', + }, + stringCase: { + default: 'โปรดระบุตัวอักษรพิมพ์เล็กเท่านั้น', + upper: 'โปรดระบุตัวอักษรพิมพ์ใหญ่เท่านั้น', + }, + stringLength: { + between: 'โปรดระบุค่าตัวอักษรระหว่าง %s ถึง %s ตัวอักษร', + default: 'ค่าที่ระบุยังไม่ครบตามจำนวนที่กำหนด', + less: 'โปรดระบุค่าตัวอักษรน้อยกว่า %s ตัว', + more: 'โปรดระบุค่าตัวอักษรมากกว่า %s ตัว', + }, + uri: { + default: 'โปรดระบุค่า URI ให้ถูกต้อง', + }, + uuid: { + default: 'โปรดระบุหมายเลข UUID ให้ถูกต้อง', + version: 'โปรดระบุหมายเลข UUID ในเวอร์ชั่น %s', + }, + vat: { + countries: { + AT: 'ออสเตรีย', + BE: 'เบลเยี่ยม', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CH: 'วิตเซอร์แลนด์', + CY: 'ไซปรัส', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมัน', + DK: 'เดนมาร์ก', + EE: 'เอสโตเนีย', + EL: 'กรีซ', + ES: 'สเปน', + FI: 'ฟินแลนด์', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + GR: 'กรีซ', + HR: 'โครเอเชีย', + HU: 'ฮังการี', + IE: 'ไอร์แลนด์', + IS: 'ไอซ์', + IT: 'อิตาลี', + LT: 'ลิทัวเนีย', + LU: 'ลักเซมเบิร์ก', + LV: 'ลัตเวีย', + MT: 'มอลตา', + NL: 'เนเธอร์แลนด์', + NO: 'นอร์เวย์', + PL: 'โปแลนด์', + PT: 'โปรตุเกส', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + RU: 'รัสเซีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + VE: 'เวเนซูเอลา', + ZA: 'แอฟริกาใต้', + }, + country: 'โปรดระบุจำนวนภาษีมูลค่าเพิ่มใน %s', + default: 'โปรดระบุจำนวนภาษีมูลค่าเพิ่ม', + }, + vin: { + default: 'โปรดระบุหมายเลข VIN ให้ถูกต้อง', + }, + zipCode: { + countries: { + AT: 'ออสเตรีย', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CA: 'แคนาดา', + CH: 'วิตเซอร์แลนด์', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + ES: 'สเปน', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + IE: 'ไอร์แลนด์', + IN: 'อินเดีย', + IT: 'อิตาลี', + MA: 'โมร็อกโก', + NL: 'เนเธอร์แลนด์', + PL: 'โปแลนด์', + PT: 'โปรตุเกส', + RO: 'โรมาเนีย', + RU: 'รัสเซีย', + SE: 'สวีเดน', + SG: 'สิงคโปร์', + SK: 'สโลวาเกีย', + US: 'สหรัฐอเมริกา', + }, + country: 'โปรดระบุรหัสไปรษณีย์ให้ถูกต้องใน %s', + default: 'โปรดระบุรหัสไปรษณีย์ให้ถูกต้อง', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/tr_TR.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/tr_TR.ts new file mode 100644 index 0000000..15b2404 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/tr_TR.ts @@ -0,0 +1,379 @@ +/** + * Turkish language package + * Translated By @CeRBeR666 + */ + +export default { + base64: { + default: 'Lütfen 64 bit tabanına uygun bir giriş yapınız', + }, + between: { + default: 'Lütfen %s ile %s arasında bir değer giriniz', + notInclusive: 'Lütfen sadece %s ile %s arasında bir değer giriniz', + }, + bic: { + default: 'Lütfen geçerli bir BIC numarası giriniz', + }, + callback: { + default: 'Lütfen geçerli bir değer giriniz', + }, + choice: { + between: 'Lütfen %s - %s arası seçiniz', + default: 'Lütfen geçerli bir değer giriniz', + less: 'Lütfen minimum %s kadar değer giriniz', + more: 'Lütfen maksimum %s kadar değer giriniz', + }, + color: { + default: 'Lütfen geçerli bir codu giriniz', + }, + creditCard: { + default: 'Lütfen geçerli bir kredi kartı numarası giriniz', + }, + cusip: { + default: 'Lütfen geçerli bir CUSIP numarası giriniz', + }, + date: { + default: 'Lütfen geçerli bir tarih giriniz', + max: 'Lütfen %s tarihinden önce bir tarih giriniz', + min: 'Lütfen %s tarihinden sonra bir tarih giriniz', + range: 'Lütfen %s - %s aralığında bir tarih giriniz', + }, + different: { + default: 'Lütfen farklı bir değer giriniz', + }, + digits: { + default: 'Lütfen sadece sayı giriniz', + }, + ean: { + default: 'Lütfen geçerli bir EAN numarası giriniz', + }, + ein: { + default: 'Lütfen geçerli bir EIN numarası giriniz', + }, + emailAddress: { + default: 'Lütfen geçerli bir E-Mail adresi giriniz', + }, + file: { + default: 'Lütfen geçerli bir dosya seçiniz', + }, + greaterThan: { + default: 'Lütfen %s ye eşit veya daha büyük bir değer giriniz', + notInclusive: 'Lütfen %s den büyük bir değer giriniz', + }, + grid: { + default: 'Lütfen geçerli bir GRId numarası giriniz', + }, + hex: { + default: 'Lütfen geçerli bir Hexadecimal sayı giriniz', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Birleşik Arap Emirlikleri', + AL: 'Arnavutluk', + AO: 'Angola', + AT: 'Avusturya', + AZ: 'Azerbaycan', + BA: 'Bosna Hersek', + BE: 'Belçika', + BF: 'Burkina Faso', + BG: 'Bulgaristan', + BH: 'Bahreyn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brezilya', + CH: 'İsviçre', + CI: 'Fildişi Sahili', + CM: 'Kamerun', + CR: 'Kosta Rika', + CV: 'Cape Verde', + CY: 'Kıbrıs', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + DO: 'Dominik Cumhuriyeti', + DZ: 'Cezayir', + EE: 'Estonya', + ES: 'İspanya', + FI: 'Finlandiya', + FO: 'Faroe Adaları', + FR: 'Fransa', + GB: 'İngiltere', + GE: 'Georgia', + GI: 'Cebelitarık', + GL: 'Grönland', + GR: 'Yunansitan', + GT: 'Guatemala', + HR: 'Hırvatistan', + HU: 'Macaristan', + IE: 'İrlanda', + IL: 'İsrail', + IR: 'İran', + IS: 'İzlanda', + IT: 'İtalya', + JO: 'Ürdün', + KW: 'Kuveit', + KZ: 'Kazakistan', + LB: 'Lübnan', + LI: 'Lihtenştayn', + LT: 'Litvanya', + LU: 'Lüksemburg', + LV: 'Letonya', + MC: 'Monako', + MD: 'Moldova', + ME: 'Karadağ', + MG: 'Madagaskar', + MK: 'Makedonya', + ML: 'Mali', + MR: 'Moritanya', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Hollanda', + NO: 'Norveç', + PK: 'Pakistan', + PL: 'Polanya', + PS: 'Filistin', + PT: 'Portekiz', + QA: 'Katar', + RO: 'Romanya', + RS: 'Serbistan', + SA: 'Suudi Arabistan', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Doğu Timor', + TN: 'Tunus', + TR: 'Turkiye', + VG: 'Virgin Adaları, İngiliz', + XK: 'Kosova Cumhuriyeti', + }, + country: 'Lütfen geçerli bir IBAN numarası giriniz içinde %s', + default: 'Lütfen geçerli bir IBAN numarası giriniz', + }, + id: { + countries: { + BA: 'Bosna Hersek', + BG: 'Bulgaristan', + BR: 'Brezilya', + CH: 'İsviçre', + CL: 'Şili', + CN: 'Çin', + CZ: 'Çek Cumhuriyeti', + DK: 'Danimarka', + EE: 'Estonya', + ES: 'İspanya', + FI: 'Finlandiya', + HR: 'Hırvatistan', + IE: 'İrlanda', + IS: 'İzlanda', + LT: 'Litvanya', + LV: 'Letonya', + ME: 'Karadağ', + MK: 'Makedonya', + NL: 'Hollanda', + PL: 'Polanya', + RO: 'Romanya', + RS: 'Sırbistan', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + SM: 'San Marino', + TH: 'Tayland', + TR: 'Turkiye', + ZA: 'Güney Afrika', + }, + country: 'Lütfen geçerli bir kimlik numarası giriniz içinde %s', + default: 'Lütfen geçerli bir tanımlama numarası giriniz', + }, + identical: { + default: 'Lütfen aynı değeri giriniz', + }, + imei: { + default: 'Lütfen geçerli bir IMEI numarası giriniz', + }, + imo: { + default: 'Lütfen geçerli bir IMO numarası giriniz', + }, + integer: { + default: 'Lütfen geçerli bir numara giriniz', + }, + ip: { + default: 'Lütfen geçerli bir IP adresi giriniz', + ipv4: 'Lütfen geçerli bir IPv4 adresi giriniz', + ipv6: 'Lütfen geçerli bri IPv6 adresi giriniz', + }, + isbn: { + default: 'Lütfen geçerli bir ISBN numarası giriniz', + }, + isin: { + default: 'Lütfen geçerli bir ISIN numarası giriniz', + }, + ismn: { + default: 'Lütfen geçerli bir ISMN numarası giriniz', + }, + issn: { + default: 'Lütfen geçerli bir ISSN numarası giriniz', + }, + lessThan: { + default: 'Lütfen %s den düşük veya eşit bir değer giriniz', + notInclusive: 'Lütfen %s den büyük bir değer giriniz', + }, + mac: { + default: 'Lütfen geçerli bir MAC Adresi giriniz', + }, + meid: { + default: 'Lütfen geçerli bir MEID numarası giriniz', + }, + notEmpty: { + default: 'Bir değer giriniz', + }, + numeric: { + default: 'Lütfen geçerli bir float değer giriniz', + }, + phone: { + countries: { + AE: 'Birleşik Arap Emirlikleri', + BG: 'Bulgaristan', + BR: 'Brezilya', + CN: 'Çin', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + ES: 'İspanya', + FR: 'Fransa', + GB: 'İngiltere', + IN: 'Hindistan', + MA: 'Fas', + NL: 'Hollanda', + PK: 'Pakistan', + RO: 'Romanya', + RU: 'Rusya', + SK: 'Slovakya', + TH: 'Tayland', + US: 'Amerika', + VE: 'Venezüella', + }, + country: 'Lütfen geçerli bir telefon numarası giriniz içinde %s', + default: 'Lütfen geçerli bir telefon numarası giriniz', + }, + promise: { + default: 'Lütfen geçerli bir değer giriniz', + }, + regexp: { + default: 'Lütfen uyumlu bir değer giriniz', + }, + remote: { + default: 'Lütfen geçerli bir numara giriniz', + }, + rtn: { + default: 'Lütfen geçerli bir RTN numarası giriniz', + }, + sedol: { + default: 'Lütfen geçerli bir SEDOL numarası giriniz', + }, + siren: { + default: 'Lütfen geçerli bir SIREN numarası giriniz', + }, + siret: { + default: 'Lütfen geçerli bir SIRET numarası giriniz', + }, + step: { + default: 'Lütfen geçerli bir %s adımı giriniz', + }, + stringCase: { + default: 'Lütfen sadece küçük harf giriniz', + upper: 'Lütfen sadece büyük harf giriniz', + }, + stringLength: { + between: 'Lütfen %s ile %s arası uzunlukta bir değer giriniz', + default: 'Lütfen geçerli uzunluktaki bir değer giriniz', + less: 'Lütfen %s karakterden az değer giriniz', + more: 'Lütfen %s karakterden fazla değer giriniz', + }, + uri: { + default: 'Lütfen geçerli bir URL giriniz', + }, + uuid: { + default: 'Lütfen geçerli bir UUID numarası giriniz', + version: 'Lütfen geçerli bir UUID versiyon %s numarası giriniz', + }, + vat: { + countries: { + AT: 'Avustralya', + BE: 'Belçika', + BG: 'Bulgaristan', + BR: 'Brezilya', + CH: 'İsviçre', + CY: 'Kıbrıs', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + EE: 'Estonya', + EL: 'Yunanistan', + ES: 'İspanya', + FI: 'Finlandiya', + FR: 'Fransa', + GB: 'İngiltere', + GR: 'Yunanistan', + HR: 'Hırvatistan', + HU: 'Macaristan', + IE: 'Irlanda', + IS: 'İzlanda', + IT: 'Italya', + LT: 'Litvanya', + LU: 'Lüksemburg', + LV: 'Letonya', + MT: 'Malta', + NL: 'Hollanda', + NO: 'Norveç', + PL: 'Polonya', + PT: 'Portekiz', + RO: 'Romanya', + RS: 'Sırbistan', + RU: 'Rusya', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + VE: 'Venezüella', + ZA: 'Güney Afrika', + }, + country: 'Lütfen geçerli bir vergi numarası giriniz içinde %s', + default: 'Lütfen geçerli bir VAT kodu giriniz', + }, + vin: { + default: 'Lütfen geçerli bir VIN numarası giriniz', + }, + zipCode: { + countries: { + AT: 'Avustralya', + BG: 'Bulgaristan', + BR: 'Brezilya', + CA: 'Kanada', + CH: 'İsviçre', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + ES: 'İspanya', + FR: 'Fransa', + GB: 'İngiltere', + IE: 'Irlanda', + IN: 'Hindistan', + IT: 'İtalya', + MA: 'Fas', + NL: 'Hollanda', + PL: 'Polanya', + PT: 'Portekiz', + RO: 'Romanya', + RU: 'Rusya', + SE: 'İsveç', + SG: 'Singapur', + SK: 'Slovakya', + US: 'Amerika Birleşik Devletleri', + }, + country: 'Lütfen geçerli bir posta kodu giriniz içinde %s', + default: 'Lütfen geçerli bir posta kodu giriniz', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/ua_UA.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/ua_UA.ts new file mode 100644 index 0000000..58488b3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/ua_UA.ts @@ -0,0 +1,379 @@ +/** + * Ukrainian language package + * Translated by @oleg-voloshyn + */ + +export default { + base64: { + default: 'Будь ласка, введіть коректний рядок base64', + }, + between: { + default: 'Будь ласка, введіть значення від %s до %s', + notInclusive: 'Будь ласка, введіть значення між %s і %s', + }, + bic: { + default: 'Будь ласка, введіть правильний номер BIC', + }, + callback: { + default: 'Будь ласка, введіть коректне значення', + }, + choice: { + between: 'Будь ласка, виберіть %s - %s опцій', + default: 'Будь ласка, введіть коректне значення', + less: 'Будь ласка, виберіть хоча б %s опцій', + more: 'Будь ласка, виберіть не більше %s опцій', + }, + color: { + default: 'Будь ласка, введіть правильний номер кольору', + }, + creditCard: { + default: 'Будь ласка, введіть правильний номер кредитної картки', + }, + cusip: { + default: 'Будь ласка, введіть правильний номер CUSIP', + }, + date: { + default: 'Будь ласка, введіть правильну дату', + max: 'Будь ласка, введіть дату перед %s', + min: 'Будь ласка, введіть дату після %s', + range: 'Будь ласка, введіть дату у діапазоні %s - %s', + }, + different: { + default: 'Будь ласка, введіть інше значення', + }, + digits: { + default: 'Будь ласка, введіть тільки цифри', + }, + ean: { + default: 'Будь ласка, введіть правильний номер EAN', + }, + ein: { + default: 'Будь ласка, введіть правильний номер EIN', + }, + emailAddress: { + default: 'Будь ласка, введіть правильну адресу e-mail', + }, + file: { + default: 'Будь ласка, виберіть файл', + }, + greaterThan: { + default: 'Будь ласка, введіть значення більше або рівне %s', + notInclusive: 'Будь ласка, введіть значення більше %s', + }, + grid: { + default: 'Будь ласка, введіть правильний номер GRId', + }, + hex: { + default: 'Будь ласка, введіть правильний шістнадцятковий(16) номер', + }, + iban: { + countries: { + AD: 'Андоррі', + AE: "Об'єднаних Арабських Еміратах", + AL: 'Албанії', + AO: 'Анголі', + AT: 'Австрії', + AZ: 'Азербайджані', + BA: 'Боснії і Герцеговині', + BE: 'Бельгії', + BF: 'Буркіна-Фасо', + BG: 'Болгарії', + BH: 'Бахрейні', + BI: 'Бурунді', + BJ: 'Беніні', + BR: 'Бразилії', + CH: 'Швейцарії', + CI: "Кот-д'Івуарі", + CM: 'Камеруні', + CR: 'Коста-Ріці', + CV: 'Кабо-Верде', + CY: 'Кіпрі', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + DO: 'Домінікані', + DZ: 'Алжирі', + EE: 'Естонії', + ES: 'Іспанії', + FI: 'Фінляндії', + FO: 'Фарерських островах', + FR: 'Франції', + GB: 'Великобританії', + GE: 'Грузії', + GI: 'Гібралтарі', + GL: 'Гренландії', + GR: 'Греції', + GT: 'Гватемалі', + HR: 'Хорватії', + HU: 'Венгрії', + IE: 'Ірландії', + IL: 'Ізраїлі', + IR: 'Ірані', + IS: 'Ісландії', + IT: 'Італії', + JO: 'Йорданії', + KW: 'Кувейті', + KZ: 'Казахстані', + LB: 'Лівані', + LI: 'Ліхтенштейні', + LT: 'Литві', + LU: 'Люксембурзі', + LV: 'Латвії', + MC: 'Монако', + MD: 'Молдові', + ME: 'Чорногорії', + MG: 'Мадагаскарі', + MK: 'Македонії', + ML: 'Малі', + MR: 'Мавританії', + MT: 'Мальті', + MU: 'Маврикії', + MZ: 'Мозамбіку', + NL: 'Нідерландах', + NO: 'Норвегії', + PK: 'Пакистані', + PL: 'Польщі', + PS: 'Палестині', + PT: 'Португалії', + QA: 'Катарі', + RO: 'Румунії', + RS: 'Сербії', + SA: 'Саудівської Аравії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + SM: 'Сан-Марино', + SN: 'Сенегалі', + TL: 'східний Тимор', + TN: 'Тунісі', + TR: 'Туреччині', + VG: 'Британських Віргінських островах', + XK: 'Республіка Косово', + }, + country: 'Будь ласка, введіть правильний номер IBAN в %s', + default: 'Будь ласка, введіть правильний номер IBAN', + }, + id: { + countries: { + BA: 'Боснії і Герцеговині', + BG: 'Болгарії', + BR: 'Бразилії', + CH: 'Швейцарії', + CL: 'Чилі', + CN: 'Китаї', + CZ: 'Чехії', + DK: 'Данії', + EE: 'Естонії', + ES: 'Іспанії', + FI: 'Фінляндії', + HR: 'Хорватії', + IE: 'Ірландії', + IS: 'Ісландії', + LT: 'Литві', + LV: 'Латвії', + ME: 'Чорногорії', + MK: 'Македонії', + NL: 'Нідерландах', + PL: 'Польщі', + RO: 'Румунії', + RS: 'Сербії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + SM: 'Сан-Марино', + TH: 'Таїланді', + TR: 'Туреччині', + ZA: 'ПАР', + }, + country: 'Будь ласка, введіть правильний ідентифікаційний номер в %s', + default: 'Будь ласка, введіть правильний ідентифікаційний номер', + }, + identical: { + default: 'Будь ласка, введіть таке ж значення', + }, + imei: { + default: 'Будь ласка, введіть правильний номер IMEI', + }, + imo: { + default: 'Будь ласка, введіть правильний номер IMO', + }, + integer: { + default: 'Будь ласка, введіть правильне ціле значення', + }, + ip: { + default: 'Будь ласка, введіть правильну IP-адресу', + ipv4: 'Будь ласка введіть правильну IPv4-адресу', + ipv6: 'Будь ласка введіть правильну IPv6-адресу', + }, + isbn: { + default: 'Будь ласка, введіть правильний номер ISBN', + }, + isin: { + default: 'Будь ласка, введіть правильний номер ISIN', + }, + ismn: { + default: 'Будь ласка, введіть правильний номер ISMN', + }, + issn: { + default: 'Будь ласка, введіть правильний номер ISSN', + }, + lessThan: { + default: 'Будь ласка, введіть значення менше або рівне %s', + notInclusive: 'Будь ласка, введіть значення менше ніж %s', + }, + mac: { + default: 'Будь ласка, введіть правильну MAC-адресу', + }, + meid: { + default: 'Будь ласка, введіть правильний номер MEID', + }, + notEmpty: { + default: 'Будь ласка, введіть значення', + }, + numeric: { + default: 'Будь ласка, введіть коректне дійсне число', + }, + phone: { + countries: { + AE: "Об'єднаних Арабських Еміратах", + BG: 'Болгарії', + BR: 'Бразилії', + CN: 'Китаї', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + ES: 'Іспанії', + FR: 'Франції', + GB: 'Великобританії', + IN: 'Індія', + MA: 'Марокко', + NL: 'Нідерландах', + PK: 'Пакистані', + RO: 'Румунії', + RU: 'Росії', + SK: 'Словаччині', + TH: 'Таїланді', + US: 'США', + VE: 'Венесуелі', + }, + country: 'Будь ласка, введіть правильний номер телефону в %s', + default: 'Будь ласка, введіть правильний номер телефону', + }, + promise: { + default: 'Будь ласка, введіть коректне значення', + }, + regexp: { + default: 'Будь ласка, введіть значення відповідне до шаблону', + }, + remote: { + default: 'Будь ласка, введіть правильне значення', + }, + rtn: { + default: 'Будь ласка, введіть правильний номер RTN', + }, + sedol: { + default: 'Будь ласка, введіть правильний номер SEDOL', + }, + siren: { + default: 'Будь ласка, введіть правильний номер SIREN', + }, + siret: { + default: 'Будь ласка, введіть правильний номер SIRET', + }, + step: { + default: 'Будь ласка, введіть правильний крок %s', + }, + stringCase: { + default: 'Будь ласка, вводите тільки малі літери', + upper: 'Будь ласка, вводите тільки заголовні букви', + }, + stringLength: { + between: 'Будь ласка, введіть рядок довжиною від %s до %s символів', + default: 'Будь ласка, введіть значення коректної довжини', + less: 'Будь ласка, введіть не більше %s символів', + more: 'Будь ласка, введіть, не менше %s символів', + }, + uri: { + default: 'Будь ласка, введіть правильний URI', + }, + uuid: { + default: 'Будь ласка, введіть правильний номер UUID', + version: 'Будь ласка, введіть правильний номер UUID версії %s', + }, + vat: { + countries: { + AT: 'Австрії', + BE: 'Бельгії', + BG: 'Болгарії', + BR: 'Бразилії', + CH: 'Швейцарії', + CY: 'Кіпрі', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + EE: 'Естонії', + EL: 'Греції', + ES: 'Іспанії', + FI: 'Фінляндії', + FR: 'Франції', + GB: 'Великобританії', + GR: 'Греції', + HR: 'Хорватії', + HU: 'Венгрії', + IE: 'Ірландії', + IS: 'Ісландії', + IT: 'Італії', + LT: 'Литві', + LU: 'Люксембургі', + LV: 'Латвії', + MT: 'Мальті', + NL: 'Нідерландах', + NO: 'Норвегії', + PL: 'Польщі', + PT: 'Португалії', + RO: 'Румунії', + RS: 'Сербії', + RU: 'Росії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + VE: 'Венесуелі', + ZA: 'ПАР', + }, + country: 'Будь ласка, введіть правильний номер VAT в %s', + default: 'Будь ласка, введіть правильний номер VAT', + }, + vin: { + default: 'Будь ласка, введіть правильний номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрії', + BG: 'Болгарії', + BR: 'Бразилії', + CA: 'Канаді', + CH: 'Швейцарії', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + ES: 'Іспанії', + FR: 'Франції', + GB: 'Великобританії', + IE: 'Ірландії', + IN: 'Індія', + IT: 'Італії', + MA: 'Марокко', + NL: 'Нідерландах', + PL: 'Польщі', + PT: 'Португалії', + RO: 'Румунії', + RU: 'Росії', + SE: 'Швеції', + SG: 'Сингапурі', + SK: 'Словаччині', + US: 'США', + }, + country: 'Будь ласка, введіть правильний поштовий індекс в %s', + default: 'Будь ласка, введіть правильний поштовий індекс', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/vi_VN.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/vi_VN.ts new file mode 100644 index 0000000..2dfbac0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/vi_VN.ts @@ -0,0 +1,379 @@ +/** + * Vietnamese language package + * Translated by @nghuuphuoc + */ + +export default { + base64: { + default: 'Vui lòng nhập chuỗi mã hoá base64 hợp lệ', + }, + between: { + default: 'Vui lòng nhập giá trị nằm giữa %s và %s', + notInclusive: 'Vui lòng nhập giá trị nằm giữa %s và %s', + }, + bic: { + default: 'Vui lòng nhập số BIC hợp lệ', + }, + callback: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + choice: { + between: 'Vui lòng chọn %s - %s lựa chọn', + default: 'Vui lòng nhập giá trị hợp lệ', + less: 'Vui lòng chọn ít nhất %s lựa chọn', + more: 'Vui lòng chọn nhiều nhất %s lựa chọn', + }, + color: { + default: 'Vui lòng nhập mã màu hợp lệ', + }, + creditCard: { + default: 'Vui lòng nhập số thẻ tín dụng hợp lệ', + }, + cusip: { + default: 'Vui lòng nhập số CUSIP hợp lệ', + }, + date: { + default: 'Vui lòng nhập ngày hợp lệ', + max: 'Vui lòng nhập ngày trước %s', + min: 'Vui lòng nhập ngày sau %s', + range: 'Vui lòng nhập ngày trong khoảng %s - %s', + }, + different: { + default: 'Vui lòng nhập một giá trị khác', + }, + digits: { + default: 'Vui lòng chỉ nhập số', + }, + ean: { + default: 'Vui lòng nhập số EAN hợp lệ', + }, + ein: { + default: 'Vui lòng nhập số EIN hợp lệ', + }, + emailAddress: { + default: 'Vui lòng nhập địa chỉ email hợp lệ', + }, + file: { + default: 'Vui lòng chọn file hợp lệ', + }, + greaterThan: { + default: 'Vui lòng nhập giá trị lớn hơn hoặc bằng %s', + notInclusive: 'Vui lòng nhập giá trị lớn hơn %s', + }, + grid: { + default: 'Vui lòng nhập số GRId hợp lệ', + }, + hex: { + default: 'Vui lòng nhập số hexa hợp lệ', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Tiểu vương quốc Ả Rập thống nhất', + AL: 'Albania', + AO: 'Angola', + AT: 'Áo', + AZ: 'Azerbaijan', + BA: 'Bosnia và Herzegovina', + BE: 'Bỉ', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CI: 'Bờ Biển Ngà', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Síp', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + DO: 'Dominican', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + FO: 'Đảo Faroe', + FR: 'Pháp', + GB: 'Vương quốc Anh', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Hy Lạp', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Ý', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Hà Lan', + NO: 'Na Uy', + PK: 'Pakistan', + PL: 'Ba Lan', + PS: 'Palestine', + PT: 'Bồ Đào Nha', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Ả Rập Xê Út', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Đông Timor', + TN: 'Tunisia', + TR: 'Thổ Nhĩ Kỳ', + VG: 'Đảo Virgin, Anh quốc', + XK: 'Kosovo', + }, + country: 'Vui lòng nhập mã IBAN hợp lệ của %s', + default: 'Vui lòng nhập số IBAN hợp lệ', + }, + id: { + countries: { + BA: 'Bosnia và Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CL: 'Chi Lê', + CN: 'Trung Quốc', + CZ: 'Séc', + DK: 'Đan Mạch', + EE: 'Estonia', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + HR: 'Croatia', + IE: 'Ireland', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Hà Lan', + PL: 'Ba Lan', + RO: 'Romania', + RS: 'Serbia', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thái Lan', + TR: 'Thổ Nhĩ Kỳ', + ZA: 'Nam Phi', + }, + country: 'Vui lòng nhập mã ID hợp lệ của %s', + default: 'Vui lòng nhập mã ID hợp lệ', + }, + identical: { + default: 'Vui lòng nhập cùng giá trị', + }, + imei: { + default: 'Vui lòng nhập số IMEI hợp lệ', + }, + imo: { + default: 'Vui lòng nhập số IMO hợp lệ', + }, + integer: { + default: 'Vui lòng nhập số hợp lệ', + }, + ip: { + default: 'Vui lòng nhập địa chỉ IP hợp lệ', + ipv4: 'Vui lòng nhập địa chỉ IPv4 hợp lệ', + ipv6: 'Vui lòng nhập địa chỉ IPv6 hợp lệ', + }, + isbn: { + default: 'Vui lòng nhập số ISBN hợp lệ', + }, + isin: { + default: 'Vui lòng nhập số ISIN hợp lệ', + }, + ismn: { + default: 'Vui lòng nhập số ISMN hợp lệ', + }, + issn: { + default: 'Vui lòng nhập số ISSN hợp lệ', + }, + lessThan: { + default: 'Vui lòng nhập giá trị nhỏ hơn hoặc bằng %s', + notInclusive: 'Vui lòng nhập giá trị nhỏ hơn %s', + }, + mac: { + default: 'Vui lòng nhập địa chỉ MAC hợp lệ', + }, + meid: { + default: 'Vui lòng nhập số MEID hợp lệ', + }, + notEmpty: { + default: 'Vui lòng nhập giá trị', + }, + numeric: { + default: 'Vui lòng nhập số hợp lệ', + }, + phone: { + countries: { + AE: 'Tiểu vương quốc Ả Rập thống nhất', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'Trung Quốc', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + ES: 'Tây Ban Nha', + FR: 'Pháp', + GB: 'Vương quốc Anh', + IN: 'Ấn Độ', + MA: 'Maroc', + NL: 'Hà Lan', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Nga', + SK: 'Slovakia', + TH: 'Thái Lan', + US: 'Mỹ', + VE: 'Venezuela', + }, + country: 'Vui lòng nhập số điện thoại hợp lệ của %s', + default: 'Vui lòng nhập số điện thoại hợp lệ', + }, + promise: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + regexp: { + default: 'Vui lòng nhập giá trị thích hợp với biểu mẫu', + }, + remote: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + rtn: { + default: 'Vui lòng nhập số RTN hợp lệ', + }, + sedol: { + default: 'Vui lòng nhập số SEDOL hợp lệ', + }, + siren: { + default: 'Vui lòng nhập số Siren hợp lệ', + }, + siret: { + default: 'Vui lòng nhập số Siret hợp lệ', + }, + step: { + default: 'Vui lòng nhập bước nhảy của %s', + }, + stringCase: { + default: 'Vui lòng nhập ký tự thường', + upper: 'Vui lòng nhập ký tự in hoa', + }, + stringLength: { + between: 'Vui lòng nhập giá trị có độ dài trong khoảng %s và %s ký tự', + default: 'Vui lòng nhập giá trị có độ dài hợp lệ', + less: 'Vui lòng nhập ít hơn %s ký tự', + more: 'Vui lòng nhập nhiều hơn %s ký tự', + }, + uri: { + default: 'Vui lòng nhập địa chỉ URI hợp lệ', + }, + uuid: { + default: 'Vui lòng nhập số UUID hợp lệ', + version: 'Vui lòng nhập số UUID phiên bản %s hợp lệ', + }, + vat: { + countries: { + AT: 'Áo', + BE: 'Bỉ', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CY: 'Síp', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + EE: 'Estonia', + EL: 'Hy Lạp', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + FR: 'Pháp', + GB: 'Vương quốc Anh', + GR: 'Hy Lạp', + HR: 'Croatia', + HU: 'Hungari', + IE: 'Ireland', + IS: 'Iceland', + IT: 'Ý', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Hà Lan', + NO: 'Na Uy', + PL: 'Ba Lan', + PT: 'Bồ Đào Nha', + RO: 'Romania', + RS: 'Serbia', + RU: 'Nga', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Nam Phi', + }, + country: 'Vui lòng nhập số VAT hợp lệ của %s', + default: 'Vui lòng nhập số VAT hợp lệ', + }, + vin: { + default: 'Vui lòng nhập số VIN hợp lệ', + }, + zipCode: { + countries: { + AT: 'Áo', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Canada', + CH: 'Thuỵ Sĩ', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + ES: 'Tây Ban Nha', + FR: 'Pháp', + GB: 'Vương quốc Anh', + IE: 'Ireland', + IN: 'Ấn Độ', + IT: 'Ý', + MA: 'Maroc', + NL: 'Hà Lan', + PL: 'Ba Lan', + PT: 'Bồ Đào Nha', + RO: 'Romania', + RU: 'Nga', + SE: 'Thuỵ Sĩ', + SG: 'Singapore', + SK: 'Slovakia', + US: 'Mỹ', + }, + country: 'Vui lòng nhập mã bưu điện hợp lệ của %s', + default: 'Vui lòng nhập mã bưu điện hợp lệ', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/zh_CN.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/zh_CN.ts new file mode 100644 index 0000000..a153d6b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/zh_CN.ts @@ -0,0 +1,379 @@ +/** + * Simplified Chinese language package + * Translated by @shamiao + */ + +export default { + base64: { + default: '请输入有效的Base64编码', + }, + between: { + default: '请输入在 %s 和 %s 之间的数值', + notInclusive: '请输入在 %s 和 %s 之间(不含两端)的数值', + }, + bic: { + default: '请输入有效的BIC商品编码', + }, + callback: { + default: '请输入有效的值', + }, + choice: { + between: '请选择 %s 至 %s 个选项', + default: '请输入有效的值', + less: '请至少选中 %s 个选项', + more: '最多只能选中 %s 个选项', + }, + color: { + default: '请输入有效的颜色值', + }, + creditCard: { + default: '请输入有效的信用卡号码', + }, + cusip: { + default: '请输入有效的美国CUSIP代码', + }, + date: { + default: '请输入有效的日期', + max: '请输入 %s 或以前的日期', + min: '请输入 %s 或之后的日期', + range: '请输入 %s 和 %s 之间的日期', + }, + different: { + default: '请输入不同的值', + }, + digits: { + default: '请输入有效的数字', + }, + ean: { + default: '请输入有效的EAN商品编码', + }, + ein: { + default: '请输入有效的EIN商品编码', + }, + emailAddress: { + default: '请输入有效的邮件地址', + }, + file: { + default: '请选择有效的文件', + }, + greaterThan: { + default: '请输入大于等于 %s 的数值', + notInclusive: '请输入大于 %s 的数值', + }, + grid: { + default: '请输入有效的GRId编码', + }, + hex: { + default: '请输入有效的16进制数', + }, + iban: { + countries: { + AD: '安道​​尔', + AE: '阿联酋', + AL: '阿尔巴尼亚', + AO: '安哥拉', + AT: '奥地利', + AZ: '阿塞拜疆', + BA: '波斯尼亚和黑塞哥维那', + BE: '比利时', + BF: '布基纳法索', + BG: '保加利亚', + BH: '巴林', + BI: '布隆迪', + BJ: '贝宁', + BR: '巴西', + CH: '瑞士', + CI: '科特迪瓦', + CM: '喀麦隆', + CR: '哥斯达黎加', + CV: '佛得角', + CY: '塞浦路斯', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + DO: '多米尼加共和国', + DZ: '阿尔及利亚', + EE: '爱沙尼亚', + ES: '西班牙', + FI: '芬兰', + FO: '法罗群岛', + FR: '法国', + GB: '英国', + GE: '格鲁吉亚', + GI: '直布罗陀', + GL: '格陵兰岛', + GR: '希腊', + GT: '危地马拉', + HR: '克罗地亚', + HU: '匈牙利', + IE: '爱尔兰', + IL: '以色列', + IR: '伊朗', + IS: '冰岛', + IT: '意大利', + JO: '约旦', + KW: '科威特', + KZ: '哈萨克斯坦', + LB: '黎巴嫩', + LI: '列支敦士登', + LT: '立陶宛', + LU: '卢森堡', + LV: '拉脱维亚', + MC: '摩纳哥', + MD: '摩尔多瓦', + ME: '黑山', + MG: '马达加斯加', + MK: '马其顿', + ML: '马里', + MR: '毛里塔尼亚', + MT: '马耳他', + MU: '毛里求斯', + MZ: '莫桑比克', + NL: '荷兰', + NO: '挪威', + PK: '巴基斯坦', + PL: '波兰', + PS: '巴勒斯坦', + PT: '葡萄牙', + QA: '卡塔尔', + RO: '罗马尼亚', + RS: '塞尔维亚', + SA: '沙特阿拉伯', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + SM: '圣马力诺', + SN: '塞内加尔', + TL: '东帝汶', + TN: '突尼斯', + TR: '土耳其', + VG: '英属维尔京群岛', + XK: '科索沃共和国', + }, + country: '请输入有效的 %s 国家或地区的IBAN(国际银行账户)号码', + default: '请输入有效的IBAN(国际银行账户)号码', + }, + id: { + countries: { + BA: '波黑', + BG: '保加利亚', + BR: '巴西', + CH: '瑞士', + CL: '智利', + CN: '中国', + CZ: '捷克共和国', + DK: '丹麦', + EE: '爱沙尼亚', + ES: '西班牙', + FI: '芬兰', + HR: '克罗地亚', + IE: '爱尔兰', + IS: '冰岛', + LT: '立陶宛', + LV: '拉脱维亚', + ME: '黑山', + MK: '马其顿', + NL: '荷兰', + PL: '波兰', + RO: '罗马尼亚', + RS: '塞尔维亚', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + SM: '圣马力诺', + TH: '泰国', + TR: '土耳其', + ZA: '南非', + }, + country: '请输入有效的 %s 国家或地区的身份证件号码', + default: '请输入有效的身份证件号码', + }, + identical: { + default: '请输入相同的值', + }, + imei: { + default: '请输入有效的IMEI(手机串号)', + }, + imo: { + default: '请输入有效的国际海事组织(IMO)号码', + }, + integer: { + default: '请输入有效的整数值', + }, + ip: { + default: '请输入有效的IP地址', + ipv4: '请输入有效的IPv4地址', + ipv6: '请输入有效的IPv6地址', + }, + isbn: { + default: '请输入有效的ISBN(国际标准书号)', + }, + isin: { + default: '请输入有效的ISIN(国际证券编码)', + }, + ismn: { + default: '请输入有效的ISMN(印刷音乐作品编码)', + }, + issn: { + default: '请输入有效的ISSN(国际标准杂志书号)', + }, + lessThan: { + default: '请输入小于等于 %s 的数值', + notInclusive: '请输入小于 %s 的数值', + }, + mac: { + default: '请输入有效的MAC物理地址', + }, + meid: { + default: '请输入有效的MEID(移动设备识别码)', + }, + notEmpty: { + default: '请填写必填项目', + }, + numeric: { + default: '请输入有效的数值,允许小数', + }, + phone: { + countries: { + AE: '阿联酋', + BG: '保加利亚', + BR: '巴西', + CN: '中国', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + ES: '西班牙', + FR: '法国', + GB: '英国', + IN: '印度', + MA: '摩洛哥', + NL: '荷兰', + PK: '巴基斯坦', + RO: '罗马尼亚', + RU: '俄罗斯', + SK: '斯洛伐克', + TH: '泰国', + US: '美国', + VE: '委内瑞拉', + }, + country: '请输入有效的 %s 国家或地区的电话号码', + default: '请输入有效的电话号码', + }, + promise: { + default: '请输入有效的值', + }, + regexp: { + default: '请输入符合正则表达式限制的值', + }, + remote: { + default: '请输入有效的值', + }, + rtn: { + default: '请输入有效的RTN号码', + }, + sedol: { + default: '请输入有效的SEDOL代码', + }, + siren: { + default: '请输入有效的SIREN号码', + }, + siret: { + default: '请输入有效的SIRET号码', + }, + step: { + default: '请输入在基础值上,增加 %s 的整数倍的数值', + }, + stringCase: { + default: '只能输入小写字母', + upper: '只能输入大写字母', + }, + stringLength: { + between: '请输入 %s 至 %s 个字符', + default: '请输入符合长度限制的值', + less: '最多只能输入 %s 个字符', + more: '需要输入至少 %s 个字符', + }, + uri: { + default: '请输入一个有效的URL地址', + }, + uuid: { + default: '请输入有效的UUID', + version: '请输入版本 %s 的UUID', + }, + vat: { + countries: { + AT: '奥地利', + BE: '比利时', + BG: '保加利亚', + BR: '巴西', + CH: '瑞士', + CY: '塞浦路斯', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + EE: '爱沙尼亚', + EL: '希腊', + ES: '西班牙', + FI: '芬兰', + FR: '法语', + GB: '英国', + GR: '希腊', + HR: '克罗地亚', + HU: '匈牙利', + IE: '爱尔兰', + IS: '冰岛', + IT: '意大利', + LT: '立陶宛', + LU: '卢森堡', + LV: '拉脱维亚', + MT: '马耳他', + NL: '荷兰', + NO: '挪威', + PL: '波兰', + PT: '葡萄牙', + RO: '罗马尼亚', + RS: '塞尔维亚', + RU: '俄罗斯', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + VE: '委内瑞拉', + ZA: '南非', + }, + country: '请输入有效的 %s 国家或地区的VAT(税号)', + default: '请输入有效的VAT(税号)', + }, + vin: { + default: '请输入有效的VIN(美国车辆识别号码)', + }, + zipCode: { + countries: { + AT: '奥地利', + BG: '保加利亚', + BR: '巴西', + CA: '加拿大', + CH: '瑞士', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + ES: '西班牙', + FR: '法国', + GB: '英国', + IE: '爱尔兰', + IN: '印度', + IT: '意大利', + MA: '摩洛哥', + NL: '荷兰', + PL: '波兰', + PT: '葡萄牙', + RO: '罗马尼亚', + RU: '俄罗斯', + SE: '瑞典', + SG: '新加坡', + SK: '斯洛伐克', + US: '美国', + }, + country: '请输入有效的 %s 国家或地区的邮政编码', + default: '请输入有效的邮政编码', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/locales/zh_TW.ts b/resources/assets/core/plugins/formvalidation/src/js/locales/zh_TW.ts new file mode 100644 index 0000000..1df3844 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/locales/zh_TW.ts @@ -0,0 +1,379 @@ +/** + * Traditional Chinese language package + * Translated by @tureki + */ + +export default { + base64: { + default: '請輸入有效的Base64編碼', + }, + between: { + default: '請輸入不小於 %s 且不大於 %s 的值', + notInclusive: '請輸入不小於等於 %s 且不大於等於 %s 的值', + }, + bic: { + default: '請輸入有效的BIC商品編碼', + }, + callback: { + default: '請輸入有效的值', + }, + choice: { + between: '請選擇 %s 至 %s 個選項', + default: '請輸入有效的值', + less: '最少選擇 %s 個選項', + more: '最多選擇 %s 個選項', + }, + color: { + default: '請輸入有效的元色碼', + }, + creditCard: { + default: '請輸入有效的信用卡號碼', + }, + cusip: { + default: '請輸入有效的CUSIP(美國證券庫斯普)號碼', + }, + date: { + default: '請輸入有效的日期', + max: '請輸入 %s 或以前的日期', + min: '請輸入 %s 或之後的日期', + range: '請輸入 %s 至 %s 之間的日期', + }, + different: { + default: '請輸入不同的值', + }, + digits: { + default: '只能輸入數字', + }, + ean: { + default: '請輸入有效的EAN商品編碼', + }, + ein: { + default: '請輸入有效的EIN商品編碼', + }, + emailAddress: { + default: '請輸入有效的EMAIL', + }, + file: { + default: '請選擇有效的檔案', + }, + greaterThan: { + default: '請輸入大於等於 %s 的值', + notInclusive: '請輸入大於 %s 的值', + }, + grid: { + default: '請輸入有效的GRId編碼', + }, + hex: { + default: '請輸入有效的16位元碼', + }, + iban: { + countries: { + AD: '安道​​爾', + AE: '阿聯酋', + AL: '阿爾巴尼亞', + AO: '安哥拉', + AT: '奧地利', + AZ: '阿塞拜疆', + BA: '波斯尼亞和黑塞哥維那', + BE: '比利時', + BF: '布基納法索', + BG: '保加利亞', + BH: '巴林', + BI: '布隆迪', + BJ: '貝寧', + BR: '巴西', + CH: '瑞士', + CI: '象牙海岸', + CM: '喀麥隆', + CR: '哥斯達黎加', + CV: '佛得角', + CY: '塞浦路斯', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + DO: '多明尼加共和國', + DZ: '阿爾及利亞', + EE: '愛沙尼亞', + ES: '西班牙', + FI: '芬蘭', + FO: '法羅群島', + FR: '法國', + GB: '英國', + GE: '格魯吉亞', + GI: '直布羅陀', + GL: '格陵蘭島', + GR: '希臘', + GT: '危地馬拉', + HR: '克羅地亞', + HU: '匈牙利', + IE: '愛爾蘭', + IL: '以色列', + IR: '伊朗', + IS: '冰島', + IT: '意大利', + JO: '約旦', + KW: '科威特', + KZ: '哈薩克斯坦', + LB: '黎巴嫩', + LI: '列支敦士登', + LT: '立陶宛', + LU: '盧森堡', + LV: '拉脫維亞', + MC: '摩納哥', + MD: '摩爾多瓦', + ME: '蒙特內哥羅', + MG: '馬達加斯加', + MK: '馬其頓', + ML: '馬里', + MR: '毛里塔尼亞', + MT: '馬耳他', + MU: '毛里求斯', + MZ: '莫桑比克', + NL: '荷蘭', + NO: '挪威', + PK: '巴基斯坦', + PL: '波蘭', + PS: '巴勒斯坦', + PT: '葡萄牙', + QA: '卡塔爾', + RO: '羅馬尼亞', + RS: '塞爾維亞', + SA: '沙特阿拉伯', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + SM: '聖馬力諾', + SN: '塞內加爾', + TL: '東帝汶', + TN: '突尼斯', + TR: '土耳其', + VG: '英屬維爾京群島', + XK: '科索沃共和國', + }, + country: '請輸入有效的 %s 國家的IBAN(國際銀行賬戶)號碼', + default: '請輸入有效的IBAN(國際銀行賬戶)號碼', + }, + id: { + countries: { + BA: '波赫', + BG: '保加利亞', + BR: '巴西', + CH: '瑞士', + CL: '智利', + CN: '中國', + CZ: '捷克共和國', + DK: '丹麥', + EE: '愛沙尼亞', + ES: '西班牙', + FI: '芬蘭', + HR: '克羅地亞', + IE: '愛爾蘭', + IS: '冰島', + LT: '立陶宛', + LV: '拉脫維亞', + ME: '蒙特內哥羅', + MK: '馬其頓', + NL: '荷蘭', + PL: '波蘭', + RO: '羅馬尼亞', + RS: '塞爾維亞', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + SM: '聖馬力諾', + TH: '泰國', + TR: '土耳其', + ZA: '南非', + }, + country: '請輸入有效的 %s 身份證字號', + default: '請輸入有效的身份證字號', + }, + identical: { + default: '請輸入相同的值', + }, + imei: { + default: '請輸入有效的IMEI(手機序列號)', + }, + imo: { + default: '請輸入有效的國際海事組織(IMO)號碼', + }, + integer: { + default: '請輸入有效的整數', + }, + ip: { + default: '請輸入有效的IP位址', + ipv4: '請輸入有效的IPv4位址', + ipv6: '請輸入有效的IPv6位址', + }, + isbn: { + default: '請輸入有效的ISBN(國際標準書號)', + }, + isin: { + default: '請輸入有效的ISIN(國際證券號碼)', + }, + ismn: { + default: '請輸入有效的ISMN(國際標準音樂編號)', + }, + issn: { + default: '請輸入有效的ISSN(國際標準期刊號)', + }, + lessThan: { + default: '請輸入小於等於 %s 的值', + notInclusive: '請輸入小於 %s 的值', + }, + mac: { + default: '請輸入有效的MAC位址', + }, + meid: { + default: '請輸入有效的MEID(行動設備識別碼)', + }, + notEmpty: { + default: '請填寫必填欄位', + }, + numeric: { + default: '請輸入有效的數字(含浮點數)', + }, + phone: { + countries: { + AE: '阿聯酋', + BG: '保加利亞', + BR: '巴西', + CN: '中国', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + ES: '西班牙', + FR: '法國', + GB: '英國', + IN: '印度', + MA: '摩洛哥', + NL: '荷蘭', + PK: '巴基斯坦', + RO: '罗马尼亚', + RU: '俄羅斯', + SK: '斯洛伐克', + TH: '泰國', + US: '美國', + VE: '委内瑞拉', + }, + country: '請輸入有效的 %s 國家的電話號碼', + default: '請輸入有效的電話號碼', + }, + promise: { + default: '請輸入有效的值', + }, + regexp: { + default: '請輸入符合正規表示式所限制的值', + }, + remote: { + default: '請輸入有效的值', + }, + rtn: { + default: '請輸入有效的RTN號碼', + }, + sedol: { + default: '請輸入有效的SEDOL代碼', + }, + siren: { + default: '請輸入有效的SIREN號碼', + }, + siret: { + default: '請輸入有效的SIRET號碼', + }, + step: { + default: '請輸入 %s 的倍數', + }, + stringCase: { + default: '只能輸入小寫字母', + upper: '只能輸入大寫字母', + }, + stringLength: { + between: '請輸入 %s 至 %s 個字', + default: '請輸入符合長度限制的值', + less: '請輸入小於 %s 個字', + more: '請輸入大於 %s 個字', + }, + uri: { + default: '請輸入一個有效的鏈接', + }, + uuid: { + default: '請輸入有效的UUID', + version: '請輸入版本 %s 的UUID', + }, + vat: { + countries: { + AT: '奧地利', + BE: '比利時', + BG: '保加利亞', + BR: '巴西', + CH: '瑞士', + CY: '塞浦路斯', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + EE: '愛沙尼亞', + EL: '希臘', + ES: '西班牙', + FI: '芬蘭', + FR: '法語', + GB: '英國', + GR: '希臘', + HR: '克羅地亞', + HU: '匈牙利', + IE: '愛爾蘭', + IS: '冰島', + IT: '意大利', + LT: '立陶宛', + LU: '盧森堡', + LV: '拉脫維亞', + MT: '馬耳他', + NL: '荷蘭', + NO: '挪威', + PL: '波蘭', + PT: '葡萄牙', + RO: '羅馬尼亞', + RS: '塞爾維亞', + RU: '俄羅斯', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + VE: '委内瑞拉', + ZA: '南非', + }, + country: '請輸入有效的 %s 國家的VAT(增值税)', + default: '請輸入有效的VAT(增值税)', + }, + vin: { + default: '請輸入有效的VIN(車輛識別號碼)', + }, + zipCode: { + countries: { + AT: '奧地利', + BG: '保加利亞', + BR: '巴西', + CA: '加拿大', + CH: '瑞士', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + ES: '西班牙', + FR: '法國', + GB: '英國', + IE: '愛爾蘭', + IN: '印度', + IT: '意大利', + MA: '摩洛哥', + NL: '荷蘭', + PL: '波蘭', + PT: '葡萄牙', + RO: '羅馬尼亞', + RU: '俄羅斯', + SE: '瑞典', + SG: '新加坡', + SK: '斯洛伐克', + US: '美國', + }, + country: '請輸入有效的 %s 國家的郵政編碼', + default: '請輸入有效的郵政編碼', + }, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Alias.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Alias.ts new file mode 100644 index 0000000..5dc6d9c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Alias.ts @@ -0,0 +1,57 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; + +export interface AliasOptions { + // Map the alias with defined validator name + [alias: string]: string; +} + +/** + * This plugin allows to use multiple instances of the same validator by defining alias. + * ``` + * formValidation(form, { + * fields: { + * email: { + * validators: { + * required: ..., + * pattern: ..., + * regexp: ... + * } + * } + * }, + * plugins: { + * alias: new Alias({ + * required: 'notEmpty', + * pattern: 'regexp' + * }) + * } + * }) + * ``` + * Then, you can use the `required`, `pattern` as the same as `notEmpty`, `regexp` validators. + */ +export default class Alias extends Plugin { + private validatorNameFilter: (validator: string, field: string) => string; + + constructor(opts?: AliasOptions) { + super(opts); + this.opts = opts || {}; + this.validatorNameFilter = this.getValidatorName.bind(this); + } + + public install(): void { + this.core.registerFilter('validator-name', this.validatorNameFilter); + } + + public uninstall(): void { + this.core.deregisterFilter('validator-name', this.validatorNameFilter); + } + + private getValidatorName(alias: string, _field: string): string { + return this.opts[alias] || alias; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Aria.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Aria.ts new file mode 100644 index 0000000..1c6234c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Aria.ts @@ -0,0 +1,88 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ElementValidatedEvent } from '../core/Core'; +import Plugin from '../core/Plugin'; +import { MessageDisplayedEvent } from './Message'; + +/** + * This plugin adds ARIA attributes based on the field validity. + * The list include: + * - `aria-invalid`, `aria-describedby` for field element + * - `aria-hidden`, `role` for associated message element + * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques + */ +export default class Aria extends Plugin> { + private elementValidatedHandler: (e: ElementValidatedEvent) => void; + private fieldValidHandler: (field: string) => void; + private fieldInvalidHandler: (field: string) => void; + private messageDisplayedHandler: (e: MessageDisplayedEvent) => void; + + constructor() { + super({}); + this.elementValidatedHandler = this.onElementValidated.bind(this); + this.fieldValidHandler = this.onFieldValid.bind(this); + this.fieldInvalidHandler = this.onFieldInvalid.bind(this); + this.messageDisplayedHandler = this.onMessageDisplayed.bind(this); + } + + public install(): void { + this.core + .on('core.field.valid', this.fieldValidHandler) + .on('core.field.invalid', this.fieldInvalidHandler) + .on('core.element.validated', this.elementValidatedHandler) + .on('plugins.message.displayed', this.messageDisplayedHandler); + } + + public uninstall(): void { + this.core + .off('core.field.valid', this.fieldValidHandler) + .off('core.field.invalid', this.fieldInvalidHandler) + .off('core.element.validated', this.elementValidatedHandler) + .off('plugins.message.displayed', this.messageDisplayedHandler); + } + + private onElementValidated(e: ElementValidatedEvent): void { + if (e.valid) { + e.element.setAttribute('aria-invalid', 'false'); + e.element.removeAttribute('aria-describedby'); + } + } + + private onFieldValid(field: string): void { + const elements = this.core.getElements(field); + if (elements) { + elements.forEach((ele) => { + ele.setAttribute('aria-invalid', 'false'); + ele.removeAttribute('aria-describedby'); + }); + } + } + + private onFieldInvalid(field: string): void { + const elements = this.core.getElements(field); + if (elements) { + elements.forEach((ele) => ele.setAttribute('aria-invalid', 'true')); + } + } + + private onMessageDisplayed(e: MessageDisplayedEvent): void { + e.messageElement.setAttribute('role', 'alert'); + e.messageElement.setAttribute('aria-hidden', 'false'); + + const elements = this.core.getElements(e.field); + const index = elements.indexOf(e.element); + + const id = `js-fv-${e.field}-${index}-${Date.now()}-message`; + e.messageElement.setAttribute('id', id); + e.element.setAttribute('aria-describedby', id); + + const type = e.element.getAttribute('type'); + if ('radio' === type || 'checkbox' === type) { + elements.forEach((ele) => ele.setAttribute('aria-describedby', id)); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/AutoFocus.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/AutoFocus.ts new file mode 100644 index 0000000..a491c90 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/AutoFocus.ts @@ -0,0 +1,74 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; +import FieldStatus from './FieldStatus'; + +export interface AutoFocusOptions { + onPrefocus: (AutoFocusPrefocusEvent) => void; +} +export interface AutoFocusPrefocusEvent { + field: string; + firstElement: HTMLElement; +} + +export default class AutoFocus extends Plugin { + private fieldStatusPluginName = '___autoFocusFieldStatus'; + + private invalidFormHandler: () => void; + + constructor(opts?: AutoFocusOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + onPrefocus: () => {}, + }, + opts + ); + + this.invalidFormHandler = this.onFormInvalid.bind(this); + } + + public install(): void { + this.core + .on('core.form.invalid', this.invalidFormHandler) + .registerPlugin(this.fieldStatusPluginName, new FieldStatus()); + } + + public uninstall(): void { + this.core + .off('core.form.invalid', this.invalidFormHandler) + .deregisterPlugin(this.fieldStatusPluginName); + } + + private onFormInvalid(): void { + const plugin = this.core.getPlugin( + this.fieldStatusPluginName + ) as FieldStatus; + const statuses = plugin.getStatuses(); + const invalidFields = Object.keys(this.core.getFields()).filter( + (key) => statuses.get(key) === 'Invalid' + ); + if (invalidFields.length > 0) { + const firstInvalidField = invalidFields[0]; + const elements = this.core.getElements(firstInvalidField); + if (elements.length > 0) { + const firstElement = elements[0]; + + const e = { + firstElement, + field: firstInvalidField, + } as AutoFocusPrefocusEvent; + this.core.emit('plugins.autofocus.prefocus', e); + this.opts.onPrefocus(e); + + // Focus on the first invalid element + firstElement.focus(); + } + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Bootstrap.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Bootstrap.ts new file mode 100644 index 0000000..c7fac04 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Bootstrap.ts @@ -0,0 +1,67 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import hasClass from '../utils/hasClass'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +export default class Bootstrap extends Framework { + // See https://getbootstrap.com/docs/4.1/components/forms/#custom-styles + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + eleInvalidClass: 'is-invalid', + eleValidClass: 'is-valid', + formClass: 'fv-plugins-bootstrap', + messageClass: 'fv-help-block', + rowInvalidClass: 'has-danger', + rowPattern: + /^(.*)(col|offset)(-(sm|md|lg|xl))*-[0-9]+(.*)$/, + rowSelector: '.form-group', + rowValidClass: 'has-success', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + // Adjust icon place if the field belongs to a `input-group` + const parent = e.element.parentElement; + if (hasClass(parent, 'input-group')) { + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + } + + const type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + const grandParent = parent.parentElement; + // Place it after the container of checkbox/radio + if (hasClass(parent, 'form-check')) { + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + } else if (hasClass(parent.parentElement, 'form-check')) { + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + grandParent.parentElement.insertBefore( + e.iconElement, + grandParent.nextSibling + ); + } + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Bootstrap3.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Bootstrap3.ts new file mode 100644 index 0000000..f82a82d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Bootstrap3.ts @@ -0,0 +1,62 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import hasClass from '../utils/hasClass'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +export default class Bootstrap3 extends Framework { + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-bootstrap3', + messageClass: 'help-block', + rowClasses: 'has-feedback', + rowInvalidClass: 'has-error', + rowPattern: /^(.*)(col|offset)-(xs|sm|md|lg)-[0-9]+(.*)$/, + rowSelector: '.form-group', + rowValidClass: 'has-success', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + classSet(e.iconElement, { + 'form-control-feedback': true, + }); + + // Adjust icon place if the field belongs to a `input-group` + const parent = e.element.parentElement; + if (hasClass(parent, 'input-group')) { + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + } + + const type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + const grandParent = parent.parentElement; + // Place it after the container of checkbox/radio + if (hasClass(parent, type)) { + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + } else if (hasClass(parent.parentElement, type)) { + grandParent.parentElement.insertBefore( + e.iconElement, + grandParent.nextSibling + ); + } + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Bootstrap5.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Bootstrap5.ts new file mode 100644 index 0000000..6627017 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Bootstrap5.ts @@ -0,0 +1,161 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ElementValidatedEvent } from '../core/Core'; +import classSet from '../utils/classSet'; +import hasClass from '../utils/hasClass'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; +import { MessagePlacedEvent } from './Message'; + +export default class Bootstrap5 extends Framework { + private eleValidatedHandler: (e: ElementValidatedEvent) => void; + + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + eleInvalidClass: 'is-invalid', + eleValidClass: 'is-valid', + formClass: 'fv-plugins-bootstrap5', + rowInvalidClass: 'fv-plugins-bootstrap5-row-invalid', + rowPattern: + /^(.*)(col|offset)(-(sm|md|lg|xl))*-[0-9]+(.*)$/, + rowSelector: '.row', + rowValidClass: 'fv-plugins-bootstrap5-row-valid', + }, + opts + ) + ); + + this.eleValidatedHandler = this.handleElementValidated.bind(this); + } + + public install(): void { + super.install(); + this.core.on('core.element.validated', this.eleValidatedHandler); + } + + public uninstall(): void { + super.install(); + this.core.off('core.element.validated', this.eleValidatedHandler); + } + + private handleElementValidated(e: ElementValidatedEvent): void { + const type = e.element.getAttribute('type'); + + // If we use more than 1 inline checkbox/radio, we need to add `is-invalid` for the `form-check` container + // so the error messages are displayed properly. + // The markup looks like as following: + //
      + // + // + //
      + // + // + //
      ...
      + + if ( + ('checkbox' === type || 'radio' === type) && + e.elements.length > 1 && + hasClass(e.element, 'form-check-input') + ) { + const inputParent = e.element.parentElement; + if ( + hasClass(inputParent, 'form-check') && + hasClass(inputParent, 'form-check-inline') + ) { + classSet(inputParent, { + 'is-invalid': !e.valid, + 'is-valid': e.valid, + }); + } + } + } + + protected onIconPlaced(e: IconPlacedEvent): void { + // Disable the default icon of Bootstrap 5 + classSet(e.element, { + 'fv-plugins-icon-input': true, + }); + + // Adjust icon place if the field belongs to a `input-group` + const parent = e.element.parentElement; + if (hasClass(parent, 'input-group')) { + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + + if ( + e.element.nextElementSibling && + hasClass(e.element.nextElementSibling, 'input-group-text') + ) { + classSet(e.iconElement, { + 'fv-plugins-icon-input-group': true, + }); + } + } + + const type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + const grandParent = parent.parentElement; + // Place it after the container of checkbox/radio + if (hasClass(parent, 'form-check')) { + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + } else if (hasClass(parent.parentElement, 'form-check')) { + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + grandParent.parentElement.insertBefore( + e.iconElement, + grandParent.nextSibling + ); + } + } + } + + protected onMessagePlaced(e: MessagePlacedEvent): void { + e.messageElement.classList.add('invalid-feedback'); + + // Check if the input is placed inside an `input-group` element + const inputParent = e.element.parentElement; + if (hasClass(inputParent, 'input-group')) { + // The markup looks like + //
      + // ... + // + // + //
      + inputParent.appendChild(e.messageElement); + // Keep the border radius of the right corners + classSet(inputParent, { + 'has-validation': true, + }); + return; + } + + const type = e.element.getAttribute('type'); + if ( + ('checkbox' === type || 'radio' === type) && + hasClass(e.element, 'form-check-input') && + hasClass(inputParent, 'form-check') && + !hasClass(inputParent, 'form-check-inline') + ) { + // Place the message inside the `form-check` container of the last checkbox/radio + e.elements[e.elements.length - 1].parentElement.appendChild( + e.messageElement + ); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Bulma.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Bulma.ts new file mode 100644 index 0000000..08e957e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Bulma.ts @@ -0,0 +1,57 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +export default class Bulma extends Framework { + constructor(opts?: FrameworkOptions) { + // See http://bulma.io/documentation/elements/form/ + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-bulma', + messageClass: 'help is-danger', + rowInvalidClass: 'fv-has-error', + rowPattern: /^.*field.*$/, + rowSelector: '.field', + rowValidClass: 'fv-has-success', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + classSet(e.iconElement, { + 'fv-plugins-icon': false, + }); + + // Wrap the icon inside a + const span = document.createElement('span'); + span.setAttribute('class', 'icon is-small is-right'); + e.iconElement.parentNode.insertBefore(span, e.iconElement); + span.appendChild(e.iconElement); + + const type = e.element.getAttribute('type'); + const parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + classSet(parent.parentElement, { + 'has-icons-right': true, + }); + classSet(span, { + 'fv-plugins-icon-check': true, + }); + parent.parentElement.insertBefore(span, parent.nextSibling); + } else { + classSet(parent, { + 'has-icons-right': true, + }); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Declarative.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Declarative.ts new file mode 100644 index 0000000..8f1374c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Declarative.ts @@ -0,0 +1,398 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { DynamicFieldEvent, FieldOptions, FieldsOptions } from '../core/Core'; +import Plugin from '../core/Plugin'; + +export interface DeclarativeOptions { + // Set it to `true` to enable the validators automatically based on the input type or particular HTML 5 attributes: + // -----------------+--------------------- + // HTML 5 attribute | Equivalent validator + // -----------------+--------------------- + // max="..." | lessThan + // min="..." | greaterThan + // maxlength="..." | stringLength + // minlength="..." | stringLength + // pattern="..." | regexp + // required | notEmpty + // type="color" | color + // type="email" | emailAddress + // type="range" | between + // type="url" | uri + // -----------------+--------------------- + // It's not enabled by default + html5Input?: boolean; + // The prefix of plugin declaration attributes. By default, it is set to `data-fvp-` + pluginPrefix?: string; + // The prefix of attributes. By default, it is set to `data-fv-` + prefix?: string; +} + +/** + * This plugin provides the ability of declaring validator options via HTML attributes. + * All attributes are declared in lowercase + * ``` + * + * ``` + */ +export default class Declarative extends Plugin { + private addedFields: Map = new Map(); + private fieldAddedHandler: (e: DynamicFieldEvent) => void; + private fieldRemovedHandler: (e: DynamicFieldEvent) => void; + + constructor(opts?: DeclarativeOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + html5Input: false, + pluginPrefix: 'data-fvp-', + prefix: 'data-fv-', + }, + opts + ); + + this.fieldAddedHandler = this.onFieldAdded.bind(this); + this.fieldRemovedHandler = this.onFieldRemoved.bind(this); + } + + public install(): void { + // Parse the plugin options + this.parsePlugins(); + + const opts = this.parseOptions(); + + Object.keys(opts).forEach((field) => { + if (!this.addedFields.has(field)) { + this.addedFields.set(field, true); + } + this.core.addField(field, opts[field]); + }); + + this.core + .on('core.field.added', this.fieldAddedHandler) + .on('core.field.removed', this.fieldRemovedHandler); + } + + public uninstall(): void { + this.addedFields.clear(); + this.core + .off('core.field.added', this.fieldAddedHandler) + .off('core.field.removed', this.fieldRemovedHandler); + } + + private onFieldAdded(e: DynamicFieldEvent): void { + const elements = e.elements; + + // Don't add the element which is already available in the field lists + // Otherwise, it can cause an infinite loop + if ( + !elements || + elements.length === 0 || + this.addedFields.has(e.field) + ) { + return; + } + + this.addedFields.set(e.field, true); + + elements.forEach((ele) => { + const declarativeOptions = this.parseElement(ele); + if (!this.isEmptyOption(declarativeOptions)) { + // Update validator options + const mergeOptions = { + selector: e.options.selector, + validators: Object.assign( + {}, + e.options.validators || {}, + declarativeOptions.validators + ), + }; + this.core.setFieldOptions(e.field, mergeOptions); + } + }); + } + + private onFieldRemoved(e: DynamicFieldEvent): void { + if (e.field && this.addedFields.has(e.field)) { + this.addedFields.delete(e.field); + } + } + + private parseOptions(): FieldsOptions { + // Find all fields which have either `name` or `data-fv-field` attribute + const prefix = this.opts.prefix; + const opts: FieldsOptions = {}; + const fields = this.core.getFields(); + const form = this.core.getFormElement(); + const elements = [].slice.call( + form.querySelectorAll(`[name], [${prefix}field]`) + ) as Element[]; + elements.forEach((ele) => { + const validators = this.parseElement(ele); + // Do not try to merge the options if it's empty + // For instance, there are multiple elements having the same name, + // we only set the HTML attribute to one of them + if (!this.isEmptyOption(validators)) { + const field = + ele.getAttribute('name') || + ele.getAttribute(`${prefix}field`); + opts[field] = Object.assign({}, opts[field], validators); + } + }); + + Object.keys(opts).forEach((field) => { + Object.keys(opts[field].validators).forEach((v) => { + // Set the `enabled` key to `false` if it isn't set + // (the data-fv-{validator} attribute is missing, for example) + opts[field].validators[v].enabled = + opts[field].validators[v].enabled || false; + + // Mix the options in declarative and programmatic modes + if ( + fields[field] && + fields[field].validators && + fields[field].validators[v] + ) { + Object.assign( + opts[field].validators[v], + fields[field].validators[v] + ); + } + }); + }); + + return Object.assign({}, fields, opts); + } + + private createPluginInstance(clazz: string, opts: unknown): unknown { + const arr = clazz.split('.'); + + // TODO: Find a safer way to create a plugin instance from the class + // Currently, I have to use `any` here instead of a construtable interface + let fn: any = window || this; // eslint-disable-line @typescript-eslint/no-explicit-any + for (let i = 0, len = arr.length; i < len; i++) { + fn = fn[arr[i]]; + } + + if (typeof fn !== 'function') { + throw new Error(`the plugin ${clazz} doesn't exist`); + } + + return new fn(opts); + } + + private parsePlugins(): void { + const form = this.core.getFormElement(); + const reg = new RegExp( + `^${this.opts.pluginPrefix}([a-z0-9-]+)(___)*([a-z0-9-]+)*$` + ); + const numAttributes = form.attributes.length; + const plugins = {}; + for (let i = 0; i < numAttributes; i++) { + const name = form.attributes[i].name; + const value = form.attributes[i].value; + const items = reg.exec(name); + if (items && items.length === 4) { + const pluginName = this.toCamelCase(items[1]); + plugins[pluginName] = Object.assign( + {}, + items[3] + ? { [this.toCamelCase(items[3])]: value } + : { enabled: '' === value || 'true' === value }, + plugins[pluginName] + ); + } + } + + Object.keys(plugins).forEach((pluginName) => { + const opts = plugins[pluginName]; + const enabled = opts['enabled']; + const clazz = opts['class']; + if (enabled && clazz) { + delete opts['enabled']; + delete opts['clazz']; + const p = this.createPluginInstance( + clazz, + opts + ) as Plugin; + this.core.registerPlugin(pluginName, p); + } + }); + } + + private isEmptyOption(opts: FieldOptions): boolean { + const validators = opts.validators; + return ( + Object.keys(validators).length === 0 && + validators.constructor === Object + ); + } + + private parseElement(ele: Element): FieldOptions { + const reg = new RegExp( + `^${this.opts.prefix}([a-z0-9-]+)(___)*([a-z0-9-]+)*$` + ); + const numAttributes = ele.attributes.length; + const opts = {}; + const type = ele.getAttribute('type'); + for (let i = 0; i < numAttributes; i++) { + const name = ele.attributes[i].name; + const value = ele.attributes[i].value; + + if (this.opts.html5Input) { + switch (true) { + case 'minlength' === name: + opts['stringLength'] = Object.assign( + {}, + { + enabled: true, + min: parseInt(value, 10), + }, + opts['stringLength'] + ); + break; + + case 'maxlength' === name: + opts['stringLength'] = Object.assign( + {}, + { + enabled: true, + max: parseInt(value, 10), + }, + opts['stringLength'] + ); + break; + + case 'pattern' === name: + opts['regexp'] = Object.assign( + {}, + { + enabled: true, + regexp: value, + }, + opts['regexp'] + ); + break; + + case 'required' === name: + opts['notEmpty'] = Object.assign( + {}, + { + enabled: true, + }, + opts['notEmpty'] + ); + break; + + case 'type' === name && 'color' === value: + // Only accept 6 hex character values due to the HTML 5 spec + // See http://www.w3.org/TR/html-markup/input.color.html#input.color.attrs.value + opts['color'] = Object.assign( + {}, + { + enabled: true, + type: 'hex', + }, + opts['color'] + ); + break; + + case 'type' === name && 'email' === value: + opts['emailAddress'] = Object.assign( + {}, + { + enabled: true, + }, + opts['emailAddress'] + ); + break; + + case 'type' === name && 'url' === value: + opts['uri'] = Object.assign( + {}, + { + enabled: true, + }, + opts['uri'] + ); + break; + + case 'type' === name && 'range' === value: + opts['between'] = Object.assign( + {}, + { + enabled: true, + max: parseFloat(ele.getAttribute('max')), + min: parseFloat(ele.getAttribute('min')), + }, + opts['between'] + ); + break; + + case 'min' === name && type !== 'date' && type !== 'range': + opts['greaterThan'] = Object.assign( + {}, + { + enabled: true, + min: parseFloat(value), + }, + opts['greaterThan'] + ); + break; + + case 'max' === name && type !== 'date' && type !== 'range': + opts['lessThan'] = Object.assign( + {}, + { + enabled: true, + max: parseFloat(value), + }, + opts['lessThan'] + ); + break; + + default: + break; + } + } + + const items = reg.exec(name); + if (items && items.length === 4) { + const v = this.toCamelCase(items[1]); + opts[v] = Object.assign( + {}, + items[3] + ? { + [this.toCamelCase(items[3])]: + this.normalizeValue(value), + } + : { enabled: '' === value || 'true' === value }, + opts[v] + ); + } + } + + return { validators: opts }; + } + + // Many validators accept `boolean` options, for example + // `data-fv-between___inclusive="false"` should be identical to `inclusive: false`, not `inclusive: 'false'` + private normalizeValue(value: string): string | boolean { + return value === 'true' ? true : value === 'false' ? false : value; + } + + private toUpperCase(input: string): string { + return input.charAt(1).toUpperCase(); + } + + private toCamelCase(input: string): string { + return input.replace(/-./g, this.toUpperCase); + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/DefaultSubmit.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/DefaultSubmit.ts new file mode 100644 index 0000000..430be89 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/DefaultSubmit.ts @@ -0,0 +1,41 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; + +/** + * This plugin will submit the form if all fields are valid after validating + */ +export default class DefaultSubmit extends Plugin> { + private onValidHandler: () => void; + + constructor() { + super({}); + this.onValidHandler = this.onFormValid.bind(this); + } + + public install(): void { + const form = this.core.getFormElement(); + if (form.querySelectorAll('[type="submit"][name="submit"]').length) { + throw new Error( + 'Do not use `submit` for the name attribute of submit button' + ); + } + + this.core.on('core.form.valid', this.onValidHandler); + } + + public uninstall(): void { + this.core.off('core.form.valid', this.onValidHandler); + } + + private onFormValid(): void { + const form = this.core.getFormElement(); + if (form instanceof HTMLFormElement) { + form.submit(); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Dependency.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Dependency.ts new file mode 100644 index 0000000..45e8d6b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Dependency.ts @@ -0,0 +1,43 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; +import { TriggerExecutedEvent } from './Trigger'; + +export interface DependencyOptions { + [field: string]: string; +} + +export default class Dependency extends Plugin { + private triggerExecutedHandler: (e: TriggerExecutedEvent) => void; + + constructor(opts: DependencyOptions) { + super(opts); + this.opts = opts || {}; + this.triggerExecutedHandler = this.onTriggerExecuted.bind(this); + } + + public install(): void { + this.core.on('plugins.trigger.executed', this.triggerExecutedHandler); + } + + public uninstall(): void { + this.core.off('plugins.trigger.executed', this.triggerExecutedHandler); + } + + private onTriggerExecuted(e: TriggerExecutedEvent): void { + if (this.opts[e.field]) { + const dependencies = this.opts[e.field].split(' '); + for (const d of dependencies) { + const dependentField = d.trim(); + if (this.opts[dependentField]) { + // Revalidate the dependent field + this.core.revalidateField(dependentField); + } + } + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Excluded.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Excluded.ts new file mode 100644 index 0000000..0ecdaf9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Excluded.ts @@ -0,0 +1,72 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; + +type ExcludedCallback = ( + field: string, + element: HTMLElement, + elements: HTMLElement[] +) => boolean; + +export interface ExcludedOptions { + excluded: ExcludedCallback; +} + +export default class Excluded extends Plugin { + public static defaultIgnore( + _field: string, + element: HTMLElement, + _elements: HTMLElement[] + ): boolean { + const isVisible = !!( + element.offsetWidth || + element.offsetHeight || + element.getClientRects().length + ); + const disabled = element.getAttribute('disabled'); + return ( + disabled === '' || + disabled === 'disabled' || + element.getAttribute('type') === 'hidden' || + !isVisible + ); + } + + private ignoreValidationFilter: (...arg: unknown[]) => boolean; + + constructor(opts?: ExcludedOptions) { + super(opts); + this.opts = Object.assign( + {}, + { excluded: Excluded.defaultIgnore }, + opts + ); + this.ignoreValidationFilter = this.ignoreValidation.bind(this); + } + + public install(): void { + this.core.registerFilter( + 'element-ignored', + this.ignoreValidationFilter + ); + } + + public uninstall(): void { + this.core.deregisterFilter( + 'element-ignored', + this.ignoreValidationFilter + ); + } + + private ignoreValidation( + field: string, + element: HTMLElement, + elements: HTMLElement[] + ): boolean { + return this.opts.excluded.apply(this, [field, element, elements]); + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/FieldStatus.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/FieldStatus.ts new file mode 100644 index 0000000..da15dd1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/FieldStatus.ts @@ -0,0 +1,117 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + DynamicFieldEvent, + ElementIgnoredEvent, + ElementNotValidatedEvent, + ElementValidatedEvent, + ElementValidatingEvent, +} from '../core/Core'; +import Plugin from '../core/Plugin'; + +export interface FieldStatusOptions { + onStatusChanged?: (areFieldsValid: boolean) => void; +} + +export default class FieldStatus extends Plugin { + private statuses: Map = new Map(); + + private elementValidatingHandler: (e: ElementValidatingEvent) => void; + private elementValidatedHandler: (e: ElementValidatedEvent) => void; + private elementNotValidatedHandler: (e: ElementNotValidatedEvent) => void; + private elementIgnoredHandler: (e: ElementIgnoredEvent) => void; + private fieldAddedHandler: (e: DynamicFieldEvent) => void; + private fieldRemovedHandler: (e: DynamicFieldEvent) => void; + + constructor(opts?: FieldStatusOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + onStatusChanged: () => {}, + }, + opts + ); + + this.elementValidatingHandler = this.onElementValidating.bind(this); + this.elementValidatedHandler = this.onElementValidated.bind(this); + this.elementNotValidatedHandler = this.onElementNotValidated.bind(this); + this.elementIgnoredHandler = this.onElementIgnored.bind(this); + this.fieldAddedHandler = this.onFieldAdded.bind(this); + this.fieldRemovedHandler = this.onFieldRemoved.bind(this); + } + + public install(): void { + this.core + .on('core.element.validating', this.elementValidatingHandler) + .on('core.element.validated', this.elementValidatedHandler) + .on('core.element.notvalidated', this.elementNotValidatedHandler) + .on('core.element.ignored', this.elementIgnoredHandler) + .on('core.field.added', this.fieldAddedHandler) + .on('core.field.removed', this.fieldRemovedHandler); + } + + public uninstall(): void { + this.statuses.clear(); + this.core + .off('core.element.validating', this.elementValidatingHandler) + .off('core.element.validated', this.elementValidatedHandler) + .off('core.element.notvalidated', this.elementNotValidatedHandler) + .off('core.element.ignored', this.elementIgnoredHandler) + .off('core.field.added', this.fieldAddedHandler) + .off('core.field.removed', this.fieldRemovedHandler); + } + + public areFieldsValid(): boolean { + return Array.from(this.statuses.values()).every((value) => { + return ( + value === 'Valid' || + value === 'NotValidated' || + value === 'Ignored' + ); + }); + } + + public getStatuses(): Map { + return this.statuses; + } + + private onFieldAdded(e: DynamicFieldEvent): void { + this.statuses.set(e.field, 'NotValidated'); + } + + private onFieldRemoved(e: DynamicFieldEvent): void { + if (this.statuses.has(e.field)) { + this.statuses.delete(e.field); + } + this.opts.onStatusChanged(this.areFieldsValid()); + } + + private onElementValidating(e: ElementValidatingEvent): void { + this.statuses.set(e.field, 'Validating'); + this.opts.onStatusChanged(false); + } + + private onElementValidated(e: ElementValidatedEvent): void { + this.statuses.set(e.field, e.valid ? 'Valid' : 'Invalid'); + if (e.valid) { + this.opts.onStatusChanged(this.areFieldsValid()); + } else { + this.opts.onStatusChanged(false); + } + } + + private onElementNotValidated(e: ElementNotValidatedEvent): void { + this.statuses.set(e.field, 'NotValidated'); + this.opts.onStatusChanged(false); + } + + private onElementIgnored(e: ElementIgnoredEvent): void { + this.statuses.set(e.field, 'Ignored'); + this.opts.onStatusChanged(this.areFieldsValid()); + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Foundation.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Foundation.ts new file mode 100644 index 0000000..c590ff0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Foundation.ts @@ -0,0 +1,52 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +export default class Foundation extends Framework { + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-foundation', + // See http://foundation.zurb.com/sites/docs/abide.html#form-errors + messageClass: 'form-error', + rowInvalidClass: 'fv-row__error', + rowPattern: /^.*((small|medium|large)-[0-9]+)\s.*(cell).*$/, + rowSelector: '.grid-x', + rowValidClass: 'fv-row__success', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + const nextEle = e.iconElement.nextSibling; + if ('LABEL' === nextEle.nodeName) { + nextEle.parentNode.insertBefore( + e.iconElement, + nextEle.nextSibling + ); + } else if ('#text' === nextEle.nodeName) { + // There's space between the input and label tags as + // + // + const next = nextEle.nextSibling; + if (next && 'LABEL' === next.nodeName) { + next.parentNode.insertBefore( + e.iconElement, + next.nextSibling + ); + } + } + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Framework.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Framework.ts new file mode 100644 index 0000000..3465773 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Framework.ts @@ -0,0 +1,291 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + DynamicFieldEvent, + ElementIgnoredEvent, + ElementNotValidatedEvent, + ElementValidatedEvent, + ElementValidatingEvent, +} from '../core/Core'; +import Plugin from '../core/Plugin'; +import classSet from '../utils/classSet'; +import closest from '../utils/closest'; +import { IconPlacedEvent } from './Icon'; +import Message, { MessagePlacedEvent } from './Message'; + +type RowSelector = (field: string, element: HTMLElement) => string; + +export interface FrameworkOptions { + defaultMessageContainer?: boolean; + formClass: string; + messageClass?: string; + rowInvalidClass: string; + // A list of CSS classes (separated by a space) that will be added to the row + rowClasses?: string; + rowPattern: RegExp; + rowSelector: string | RowSelector; + rowValidatingClass?: string; + rowValidClass: string; + // A CSS class added to valid element + eleValidClass?: string; + // A CSS class added to invalid element + eleInvalidClass?: string; +} + +export default class Framework extends Plugin { + private results: Map = new Map(); + private containers: Map = new Map(); + private elementIgnoredHandler: (e: ElementIgnoredEvent) => void; + private elementValidatingHandler: (e: ElementValidatingEvent) => void; + private elementValidatedHandler: (e: ElementValidatedEvent) => void; + private elementNotValidatedHandler: (e: ElementNotValidatedEvent) => void; + private iconPlacedHandler: (e: IconPlacedEvent) => void; + private fieldAddedHandler: (e: DynamicFieldEvent) => void; + private fieldRemovedHandler: (e: DynamicFieldEvent) => void; + private messagePlacedHandler: (e: MessagePlacedEvent) => void; + + constructor(opts?: FrameworkOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + defaultMessageContainer: true, + eleInvalidClass: '', + eleValidClass: '', + rowClasses: '', + rowValidatingClass: '', + }, + opts + ); + + this.elementIgnoredHandler = this.onElementIgnored.bind(this); + this.elementValidatingHandler = this.onElementValidating.bind(this); + this.elementValidatedHandler = this.onElementValidated.bind(this); + this.elementNotValidatedHandler = this.onElementNotValidated.bind(this); + this.iconPlacedHandler = this.onIconPlaced.bind(this); + this.fieldAddedHandler = this.onFieldAdded.bind(this); + this.fieldRemovedHandler = this.onFieldRemoved.bind(this); + this.messagePlacedHandler = this.onMessagePlaced.bind(this); + } + + public install(): void { + classSet(this.core.getFormElement(), { + [this.opts.formClass]: true, + 'fv-plugins-framework': true, + }); + this.core + .on('core.element.ignored', this.elementIgnoredHandler) + .on('core.element.validating', this.elementValidatingHandler) + .on('core.element.validated', this.elementValidatedHandler) + .on('core.element.notvalidated', this.elementNotValidatedHandler) + .on('plugins.icon.placed', this.iconPlacedHandler) + .on('core.field.added', this.fieldAddedHandler) + .on('core.field.removed', this.fieldRemovedHandler); + + if (this.opts.defaultMessageContainer) { + this.core.registerPlugin( + '___frameworkMessage', + new Message({ + clazz: this.opts.messageClass, + container: (field, element) => { + const selector = + 'string' === typeof this.opts.rowSelector + ? this.opts.rowSelector + : this.opts.rowSelector(field, element); + const groupEle = closest(element, selector); + return Message.getClosestContainer( + element, + groupEle, + this.opts.rowPattern + ); + }, + }) + ); + + this.core.on('plugins.message.placed', this.messagePlacedHandler); + } + } + + public uninstall(): void { + this.results.clear(); + this.containers.clear(); + classSet(this.core.getFormElement(), { + [this.opts.formClass]: false, + 'fv-plugins-framework': false, + }); + + this.core + .off('core.element.ignored', this.elementIgnoredHandler) + .off('core.element.validating', this.elementValidatingHandler) + .off('core.element.validated', this.elementValidatedHandler) + .off('core.element.notvalidated', this.elementNotValidatedHandler) + .off('plugins.icon.placed', this.iconPlacedHandler) + .off('core.field.added', this.fieldAddedHandler) + .off('core.field.removed', this.fieldRemovedHandler); + + if (this.opts.defaultMessageContainer) { + this.core.off('plugins.message.placed', this.messagePlacedHandler); + } + } + + protected onIconPlaced(_e: IconPlacedEvent): void {} // eslint-disable-line @typescript-eslint/no-empty-function + protected onMessagePlaced(_e: MessagePlacedEvent): void {} // eslint-disable-line @typescript-eslint/no-empty-function + + private onFieldAdded(e: DynamicFieldEvent): void { + const elements = e.elements; + if (elements) { + elements.forEach((ele) => { + const groupEle = this.containers.get(ele); + if (groupEle) { + classSet(groupEle, { + [this.opts.rowInvalidClass]: false, + [this.opts.rowValidatingClass]: false, + [this.opts.rowValidClass]: false, + 'fv-plugins-icon-container': false, + }); + this.containers.delete(ele); + } + }); + + this.prepareFieldContainer(e.field, elements); + } + } + + private onFieldRemoved(e: DynamicFieldEvent): void { + e.elements.forEach((ele) => { + const groupEle = this.containers.get(ele); + if (groupEle) { + classSet(groupEle, { + [this.opts.rowInvalidClass]: false, + [this.opts.rowValidatingClass]: false, + [this.opts.rowValidClass]: false, + }); + } + }); + } + + private prepareFieldContainer( + field: string, + elements: HTMLElement[] + ): void { + if (elements.length) { + const type = elements[0].getAttribute('type'); + if ('radio' === type || 'checkbox' === type) { + this.prepareElementContainer(field, elements[0]); + } else { + elements.forEach((ele) => + this.prepareElementContainer(field, ele) + ); + } + } + } + + private prepareElementContainer(field: string, element: HTMLElement): void { + const selector = + 'string' === typeof this.opts.rowSelector + ? this.opts.rowSelector + : this.opts.rowSelector(field, element); + const groupEle = closest(element, selector); + if (groupEle !== element) { + classSet(groupEle, { + [this.opts.rowClasses]: true, + 'fv-plugins-icon-container': true, + }); + this.containers.set(element, groupEle); + } + } + + private onElementValidating(e: ElementValidatingEvent): void { + const elements = e.elements; + const type = e.element.getAttribute('type'); + const element = + 'radio' === type || 'checkbox' === type ? elements[0] : e.element; + + const groupEle = this.containers.get(element); + if (groupEle) { + classSet(groupEle, { + [this.opts.rowInvalidClass]: false, + [this.opts.rowValidatingClass]: true, + [this.opts.rowValidClass]: false, + }); + } + } + + private onElementNotValidated(e: ElementNotValidatedEvent): void { + this.removeClasses(e.element, e.elements); + } + + private onElementIgnored(e: ElementIgnoredEvent): void { + this.removeClasses(e.element, e.elements); + } + + private removeClasses(element: HTMLElement, elements: HTMLElement[]): void { + const type = element.getAttribute('type'); + const ele = + 'radio' === type || 'checkbox' === type ? elements[0] : element; + + classSet(ele, { + [this.opts.eleValidClass]: false, + [this.opts.eleInvalidClass]: false, + }); + + const groupEle = this.containers.get(ele); + if (groupEle) { + classSet(groupEle, { + [this.opts.rowInvalidClass]: false, + [this.opts.rowValidatingClass]: false, + [this.opts.rowValidClass]: false, + }); + } + } + + private onElementValidated(e: ElementValidatedEvent): void { + const elements = e.elements; + const type = e.element.getAttribute('type'); + const element = + 'radio' === type || 'checkbox' === type ? elements[0] : e.element; + + // Set the valid or invalid class for all elements + elements.forEach((ele) => { + classSet(ele, { + [this.opts.eleValidClass]: e.valid, + [this.opts.eleInvalidClass]: !e.valid, + }); + }); + + const groupEle = this.containers.get(element); + if (groupEle) { + if (!e.valid) { + this.results.set(element, false); + classSet(groupEle, { + [this.opts.rowInvalidClass]: true, + [this.opts.rowValidatingClass]: false, + [this.opts.rowValidClass]: false, + }); + } else { + this.results.delete(element); + + // Maybe there're multiple fields belong to the same row + let isValid = true; + this.containers.forEach((value, key) => { + if (value === groupEle && this.results.get(key) === false) { + isValid = false; + } + }); + + // If all field(s) belonging to the row are valid + if (isValid) { + classSet(groupEle, { + [this.opts.rowInvalidClass]: false, + [this.opts.rowValidatingClass]: false, + [this.opts.rowValidClass]: true, + }); + } + } + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Icon.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Icon.ts new file mode 100644 index 0000000..e18ab9d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Icon.ts @@ -0,0 +1,222 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + DynamicFieldEvent, + ElementIgnoredEvent, + ElementNotValidatedEvent, + ElementValidatedEvent, + ElementValidatingEvent, +} from '../core/Core'; +import Plugin from '../core/Plugin'; +import classSet from '../utils/classSet'; + +export interface IconOptions { + invalid?: string; + valid?: string; + validating?: string; + onPlaced?: (IconPlacedEvent) => void; + onSet?: (IconSetEvent) => void; +} +export interface IconPlacedEvent { + element: HTMLElement; + field: string; + iconElement: HTMLElement; + classes: IconOptions; +} +export interface IconSetEvent { + element: HTMLElement; + field: string; + status: string; + iconElement: HTMLElement; +} + +export default class Icon extends Plugin { + // Map the field element with icon + private icons: Map = new Map(); + + private elementValidatingHandler: (e: ElementValidatingEvent) => void; + private elementValidatedHandler: (e: ElementValidatedEvent) => void; + private elementNotValidatedHandler: (e: ElementNotValidatedEvent) => void; + private elementIgnoredHandler: (e: ElementIgnoredEvent) => void; + private fieldAddedHandler: (e: DynamicFieldEvent) => void; + + constructor(opts?: IconOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + invalid: 'fv-plugins-icon--invalid', + onPlaced: () => {}, + onSet: () => {}, + valid: 'fv-plugins-icon--valid', + validating: 'fv-plugins-icon--validating', + }, + opts + ); + + this.elementValidatingHandler = this.onElementValidating.bind(this); + this.elementValidatedHandler = this.onElementValidated.bind(this); + this.elementNotValidatedHandler = this.onElementNotValidated.bind(this); + this.elementIgnoredHandler = this.onElementIgnored.bind(this); + this.fieldAddedHandler = this.onFieldAdded.bind(this); + } + + public install(): void { + this.core + .on('core.element.validating', this.elementValidatingHandler) + .on('core.element.validated', this.elementValidatedHandler) + .on('core.element.notvalidated', this.elementNotValidatedHandler) + .on('core.element.ignored', this.elementIgnoredHandler) + .on('core.field.added', this.fieldAddedHandler); + } + + public uninstall(): void { + this.icons.forEach((icon) => icon.parentNode.removeChild(icon)); + this.icons.clear(); + + this.core + .off('core.element.validating', this.elementValidatingHandler) + .off('core.element.validated', this.elementValidatedHandler) + .off('core.element.notvalidated', this.elementNotValidatedHandler) + .off('core.element.ignored', this.elementIgnoredHandler) + .off('core.field.added', this.fieldAddedHandler); + } + + private onFieldAdded(e: DynamicFieldEvent): void { + const elements = e.elements; + if (elements) { + elements.forEach((ele) => { + const icon = this.icons.get(ele); + if (icon) { + icon.parentNode.removeChild(icon); + this.icons.delete(ele); + } + }); + + this.prepareFieldIcon(e.field, elements); + } + } + + private prepareFieldIcon(field: string, elements: HTMLElement[]): void { + if (elements.length) { + const type = elements[0].getAttribute('type'); + if ('radio' === type || 'checkbox' === type) { + this.prepareElementIcon(field, elements[0]); + } else { + elements.forEach((ele) => this.prepareElementIcon(field, ele)); + } + } + } + + private prepareElementIcon(field: string, ele: HTMLElement): void { + const i = document.createElement('i'); + i.setAttribute('data-field', field); + // Append the icon right after the field element + ele.parentNode.insertBefore(i, ele.nextSibling); + + classSet(i, { + 'fv-plugins-icon': true, + }); + const e = { + classes: { + invalid: this.opts.invalid, + valid: this.opts.valid, + validating: this.opts.validating, + }, + element: ele, + field, + iconElement: i, + } as IconPlacedEvent; + this.core.emit('plugins.icon.placed', e); + this.opts.onPlaced(e); + + this.icons.set(ele, i); + } + + private onElementValidating(e: ElementValidatingEvent): void { + const icon = this.setClasses(e.field, e.element, e.elements, { + [this.opts.invalid]: false, + [this.opts.valid]: false, + [this.opts.validating]: true, + }); + const evt = { + element: e.element, + field: e.field, + iconElement: icon, + status: 'Validating', + } as IconSetEvent; + this.core.emit('plugins.icon.set', evt); + this.opts.onSet(evt); + } + + private onElementValidated(e: ElementValidatedEvent): void { + const icon = this.setClasses(e.field, e.element, e.elements, { + [this.opts.invalid]: !e.valid, + [this.opts.valid]: e.valid, + [this.opts.validating]: false, + }); + const evt = { + element: e.element, + field: e.field, + iconElement: icon, + status: e.valid ? 'Valid' : 'Invalid', + } as IconSetEvent; + this.core.emit('plugins.icon.set', evt); + this.opts.onSet(evt); + } + + private onElementNotValidated(e: ElementNotValidatedEvent): void { + const icon = this.setClasses(e.field, e.element, e.elements, { + [this.opts.invalid]: false, + [this.opts.valid]: false, + [this.opts.validating]: false, + }); + const evt = { + element: e.element, + field: e.field, + iconElement: icon, + status: 'NotValidated', + } as IconSetEvent; + this.core.emit('plugins.icon.set', evt); + this.opts.onSet(evt); + } + + private onElementIgnored(e: ElementIgnoredEvent): void { + const icon = this.setClasses(e.field, e.element, e.elements, { + [this.opts.invalid]: false, + [this.opts.valid]: false, + [this.opts.validating]: false, + }); + const evt = { + element: e.element, + field: e.field, + iconElement: icon, + status: 'Ignored', + } as IconSetEvent; + this.core.emit('plugins.icon.set', evt); + this.opts.onSet(evt); + } + + private setClasses( + field: string, + element: HTMLElement, + elements: HTMLElement[], + classes: { [clazz: string]: boolean } + ): HTMLElement { + const type = element.getAttribute('type'); + const ele = + 'radio' === type || 'checkbox' === type ? elements[0] : element; + + if (this.icons.has(ele)) { + const icon = this.icons.get(ele); + classSet(icon, classes); + return icon; + } else { + return null; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/InternationalTelephoneInput.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/InternationalTelephoneInput.ts new file mode 100644 index 0000000..deea929 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/InternationalTelephoneInput.ts @@ -0,0 +1,113 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + ValidateFunction, + ValidateOptions, + ValidatorOptions, +} from '../core/Core'; +import Plugin from '../core/Plugin'; + +export interface InternationalTelephoneInputOptions { + autoPlaceholder?: string; + field: string | string[]; + message: string; + utilsScript?: string; +} + +declare function intlTelInput( + input: HTMLElement, + options: InternationalTelephoneInputOptions +): IntlTelInput; +interface IntlTelInput { + isValidNumber(): boolean; + destroy(): () => void; +} + +export default class InternationalTelephoneInput extends Plugin { + public static INT_TEL_VALIDATOR = '___InternationalTelephoneInputValidator'; + private validatePhoneNumber: () => ValidateFunction; + private intlTelInstances?: Map = new Map(); + private countryChangeHandler: Map void> = new Map(); + private fieldElements: Map = new Map(); + private fields: string[]; + + constructor(opts?: InternationalTelephoneInputOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + autoPlaceholder: 'polite', + utilsScript: '', + }, + opts + ); + this.validatePhoneNumber = this.checkPhoneNumber.bind(this); + this.fields = + typeof this.opts.field === 'string' + ? this.opts.field.split(',') + : this.opts.field; + } + + public install(): void { + this.core.registerValidator( + InternationalTelephoneInput.INT_TEL_VALIDATOR, + this.validatePhoneNumber + ); + this.fields.forEach((field) => { + this.core.addField(field, { + validators: { + [InternationalTelephoneInput.INT_TEL_VALIDATOR]: { + message: this.opts.message, + }, + }, + }); + + const ele = this.core.getElements(field)[0]; + const handler = () => this.core.revalidateField(field); + + ele.addEventListener('countrychange', handler); + this.countryChangeHandler.set(field, handler); + this.fieldElements.set(field, ele); + this.intlTelInstances.set(field, intlTelInput(ele, this.opts)); + }); + } + + public uninstall(): void { + this.fields.forEach((field) => { + // Remove event handler + const handler = this.countryChangeHandler.get(field); + const ele = this.fieldElements.get(field); + const intlTel = this.intlTelInstances.get(field); + + if (handler && ele && intlTel) { + ele.removeEventListener('countrychange', handler); + this.core.disableValidator( + field, + InternationalTelephoneInput.INT_TEL_VALIDATOR + ); + intlTel.destroy(); + } + }); + } + + private checkPhoneNumber(): ValidateFunction { + return { + validate: (input) => { + const value = input.value; + const intlTel = this.intlTelInstances.get(input.field); + if (value === '' || !intlTel) { + return { + valid: true, + }; + } + return { + valid: intlTel.isValidNumber(), + }; + }, + }; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/J.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/J.ts new file mode 100644 index 0000000..9036e14 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/J.ts @@ -0,0 +1,53 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +// Must set `allowSyntheticDefaultImports` in `tsconfig.json` to `true` +import $ from 'jquery'; +import formValidation, { Options } from '../core/Core'; + +/** + * Allows to use `FormValidation.formValidation` as a jQuery plugin + * ``` + * $(document).ready(function() { + * $('#yourFormId') + * .formValidation({ + * ... options ... + * }) + * // Returns the `FormValidation.Core` instance + * .data('formValidation') + * // so you can call any APIs provided by `FormValidation.Core` + * .validateField(...); + * }); + * ``` + */ +const version = $.fn.jquery.split(' ')[0].split('.'); +if ( + (+version[0] < 2 && +version[1] < 9) || + (+version[0] === 1 && +version[1] === 9 && +version[2] < 1) +) { + throw new Error('The J plugin requires jQuery version 1.9.1 or higher'); +} + +$.fn['formValidation'] = function (options: Options) { + const params = arguments; // eslint-disable-line prefer-rest-params + return this.each(function () { + const $this = $(this); + let data = $this.data('formValidation'); + const opts = 'object' === typeof options && options; + if (!data) { + data = formValidation(this, opts); + $this.data('formValidation', data).data('FormValidation', data); + } + + // Allow to call plugin method + if ('string' === typeof options) { + data[options as string].apply( + data, + Array.prototype.slice.call(params, 1) + ); // eslint-disable-line prefer-spread + } + }); +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/L10n.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/L10n.ts new file mode 100644 index 0000000..92f9299 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/L10n.ts @@ -0,0 +1,63 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; + +interface LiteralMessage { + [locale: string]: string; +} +type CallbackMessage = (field: string, validator: string) => LiteralMessage; + +export interface L10nOptions { + [field: string]: { + [validator: string]: LiteralMessage | CallbackMessage; + }; +} + +export default class L10n extends Plugin { + private messageFilter: ( + locale: string, + field: string, + validator: string + ) => string; + + constructor(opts?: L10nOptions) { + super(opts); + this.messageFilter = this.getMessage.bind(this); + } + + public install(): void { + this.core.registerFilter('validator-message', this.messageFilter); + } + + public uninstall(): void { + this.core.deregisterFilter('validator-message', this.messageFilter); + } + + private getMessage( + locale: string, + field: string, + validator: string + ): string { + if (this.opts[field] && this.opts[field][validator]) { + const message = this.opts[field][validator]; + const messageType = typeof message; + + if ('object' === messageType && message[locale]) { + // message is a literal object + return (message as LiteralMessage)[locale]; + } else if ('function' === messageType) { + // message is defined by a function + const result: LiteralMessage = ( + message as CallbackMessage + ).apply(this, [field, validator]); + return result && result[locale] ? result[locale] : ''; + } + } + + return ''; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Mailgun.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Mailgun.ts new file mode 100644 index 0000000..ad02df6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Mailgun.ts @@ -0,0 +1,86 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; +import Alias, { AliasOptions } from './Alias'; +import { MessageDisplayedEvent } from './Message'; + +export interface MailgunOptions { + // The API key provided by Mailgun + apiKey: string; + // The field name that will be validated + field: string; + // Error message indicates the input is not valid + message: string; + // Show suggestion if the email is not valid + suggestion?: boolean; +} + +/** + * This plugin is used to validate an email address by using Mailgun API + */ +export default class Mailgun extends Plugin { + private messageDisplayedHandler: (e: MessageDisplayedEvent) => void; + + constructor(opts?: MailgunOptions) { + super(opts); + this.opts = Object.assign({}, { suggestion: false }, opts); + this.messageDisplayedHandler = this.onMessageDisplayed.bind(this); + } + + public install(): void { + if (this.opts.suggestion) { + this.core.on( + 'plugins.message.displayed', + this.messageDisplayedHandler + ); + } + + const aliasOpts: AliasOptions = { + mailgun: 'remote', + }; + this.core + .registerPlugin('___mailgunAlias', new Alias(aliasOpts)) + .addField(this.opts.field, { + validators: { + mailgun: { + crossDomain: true, + data: { + api_key: this.opts.apiKey, + }, + headers: { + 'Content-Type': 'application/json', + }, + message: this.opts.message, + name: 'address', + url: 'https://api.mailgun.net/v3/address/validate', + validKey: 'is_valid', + }, + }, + }); + } + + public uninstall(): void { + if (this.opts.suggestion) { + this.core.off( + 'plugins.message.displayed', + this.messageDisplayedHandler + ); + } + this.core.removeField(this.opts.field); + } + + private onMessageDisplayed(e: MessageDisplayedEvent): void { + if ( + e.field === this.opts.field && + 'mailgun' === e.validator && + e.meta && + e.meta['did_you_mean'] + ) { + e.messageElement.innerHTML = `Did you mean ${e.meta['did_you_mean']}?`; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/MandatoryIcon.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/MandatoryIcon.ts new file mode 100644 index 0000000..043c2e0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/MandatoryIcon.ts @@ -0,0 +1,162 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + ElementNotValidatedEvent, + ElementValidatedEvent, + ElementValidatingEvent, +} from '../core/Core'; +import Plugin from '../core/Plugin'; +import classSet from '../utils/classSet'; +import { IconOptions, IconPlacedEvent, IconSetEvent } from './Icon'; + +export interface MandatoryIconOptions { + icon: string; +} + +export default class MandatoryIcon extends Plugin { + private removedIcons = { + Invalid: '', + NotValidated: '', + Valid: '', + Validating: '', + }; + // Map the field element with icon + private icons: Map = new Map(); + private iconClasses: IconOptions; + + private elementValidatingHandler: (e: ElementValidatingEvent) => void; + private elementValidatedHandler: (e: ElementValidatedEvent) => void; + private elementNotValidatedHandler: (e: ElementNotValidatedEvent) => void; + private iconPlacedHandler: (e: IconPlacedEvent) => void; + private iconSetHandler: (e: IconSetEvent) => void; + + constructor(opts?: MandatoryIconOptions) { + super(opts); + this.elementValidatingHandler = this.onElementValidating.bind(this); + this.elementValidatedHandler = this.onElementValidated.bind(this); + this.elementNotValidatedHandler = this.onElementNotValidated.bind(this); + this.iconPlacedHandler = this.onIconPlaced.bind(this); + this.iconSetHandler = this.onIconSet.bind(this); + } + + public install(): void { + this.core + .on('core.element.validating', this.elementValidatingHandler) + .on('core.element.validated', this.elementValidatedHandler) + .on('core.element.notvalidated', this.elementNotValidatedHandler) + .on('plugins.icon.placed', this.iconPlacedHandler) + .on('plugins.icon.set', this.iconSetHandler); + } + + public uninstall(): void { + this.icons.clear(); + this.core + .off('core.element.validating', this.elementValidatingHandler) + .off('core.element.validated', this.elementValidatedHandler) + .off('core.element.notvalidated', this.elementNotValidatedHandler) + .off('plugins.icon.placed', this.iconPlacedHandler) + .off('plugins.icon.set', this.iconSetHandler); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const validators = this.core.getFields()[e.field].validators; + const elements = this.core.getElements(e.field); + if ( + validators && + validators['notEmpty'] && + validators['notEmpty'].enabled !== false && + elements.length + ) { + this.icons.set(e.element, e.iconElement); + + const eleType = elements[0].getAttribute('type'); + const type = !eleType ? '' : eleType.toLowerCase(); + const elementArray = + 'checkbox' === type || 'radio' === type + ? [elements[0]] + : elements; + for (const ele of elementArray) { + if (this.core.getElementValue(e.field, ele) === '') { + // Add required icon + classSet(e.iconElement, { + [this.opts.icon]: true, + }); + } + } + } + + // Maybe the required icon consists of one which is in the list of valid/invalid/validating feedback icons + // (for example, fa, glyphicon) + this.iconClasses = e.classes; + + const icons = this.opts.icon.split(' '); + const feedbackIcons = { + Invalid: this.iconClasses.invalid + ? this.iconClasses.invalid.split(' ') + : [], + Valid: this.iconClasses.valid + ? this.iconClasses.valid.split(' ') + : [], + Validating: this.iconClasses.validating + ? this.iconClasses.validating.split(' ') + : [], + }; + Object.keys(feedbackIcons).forEach((status) => { + const classes = []; + for (const clazz of icons) { + if (feedbackIcons[status].indexOf(clazz) === -1) { + classes.push(clazz); + } + } + + this.removedIcons[status] = classes.join(' '); + }); + } + + private onElementValidating(e: ElementValidatingEvent): void { + this.updateIconClasses(e.element, 'Validating'); + } + + private onElementValidated(e: ElementValidatedEvent): void { + this.updateIconClasses(e.element, e.valid ? 'Valid' : 'Invalid'); + } + + private onElementNotValidated(e: ElementNotValidatedEvent): void { + this.updateIconClasses(e.element, 'NotValidated'); + } + + // Remove the required icon when the field updates its status + private updateIconClasses(ele: HTMLElement, status: string): void { + const icon = this.icons.get(ele); + if ( + icon && + this.iconClasses && + (this.iconClasses.valid || + this.iconClasses.invalid || + this.iconClasses.validating) + ) { + classSet(icon, { + [this.removedIcons[status]]: false, + [this.opts.icon]: false, + }); + } + } + + private onIconSet(e: IconSetEvent): void { + // Show the icon when the field is empty after resetting + const icon = this.icons.get(e.element); + if ( + icon && + e.status === 'NotValidated' && + this.core.getElementValue(e.field, e.element) === '' + ) { + classSet(icon, { + [this.opts.icon]: true, + }); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Materialize.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Materialize.ts new file mode 100644 index 0000000..4f10b2e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Materialize.ts @@ -0,0 +1,47 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +// Support materialize CSS framework (https://materializecss.com/) +export default class Materialize extends Framework { + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + eleInvalidClass: 'validate invalid', + eleValidClass: 'validate valid', + formClass: 'fv-plugins-materialize', + messageClass: 'helper-text', + rowInvalidClass: 'fv-invalid-row', + rowPattern: /^(.*)col(\s+)s[0-9]+(.*)$/, + rowSelector: '.row', + rowValidClass: 'fv-valid-row', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const type = e.element.getAttribute('type'); + const parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + // Place it after the container of checkbox/radio + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Message.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Message.ts new file mode 100644 index 0000000..6985e36 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Message.ts @@ -0,0 +1,322 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + DynamicFieldEvent, + ElementIgnoredEvent, + ValidateResult, + ValidatorNotValidatedEvent, + ValidatorValidatedEvent, +} from '../core/Core'; +import Plugin from '../core/Plugin'; +import classSet from '../utils/classSet'; + +type ContainerCallback = (field: string, element: HTMLElement) => HTMLElement; + +export interface MessageOptions { + clazz?: string; + container?: string | ContainerCallback; +} +export interface MessageDisplayedEvent { + element: HTMLElement; + field: string; + message: string; + messageElement: HTMLElement; + meta: unknown; + validator: string; +} +export interface MessagePlacedEvent { + element: HTMLElement; + elements: HTMLElement[]; + field: string; + messageElement: HTMLElement; +} + +export default class Message extends Plugin { + /** + * Determine the closest element that its class matches with given pattern. + * In popular cases, all the fields might follow the same markup, so that closest element + * can be used as message container. + * + * For example, if we use the Bootstrap framework then the field often be placed inside a + * `col-{size}-{numberOfColumns}` class, we can register the plugin as following: + * ``` + * formValidation(form, { + * plugins: { + * message: new Message({ + * container: function(field, element) { + * return Message.getClosestContainer(element, form, /^(.*)(col|offset)-(xs|sm|md|lg)-[0-9]+(.*)$/) + * } + * }) + * } + * }) + * ``` + * + * @param element The field element + * @param upper The upper element, so we don't have to look for the entire page + * @param pattern The pattern + * @return {HTMLElement} + */ + public static getClosestContainer( + element: HTMLElement, + upper: HTMLElement, + pattern: RegExp + ): HTMLElement { + let ele = element; + while (ele) { + if (ele === upper) { + break; + } + ele = ele.parentElement; + if (pattern.test(ele.className)) { + break; + } + } + return ele; + } + + private defaultContainer: HTMLElement; + + // Map the field element to message container + private messages: Map = new Map(); + private elementIgnoredHandler: (e: ElementIgnoredEvent) => void; + private fieldAddedHandler: (e: DynamicFieldEvent) => void; + private fieldRemovedHandler: (e: DynamicFieldEvent) => void; + private validatorValidatedHandler: (e: ValidatorValidatedEvent) => void; + private validatorNotValidatedHandler: ( + e: ValidatorNotValidatedEvent + ) => void; + + constructor(opts?: MessageOptions) { + super(opts); + + // By default, we will display error messages at the bottom of form + this.defaultContainer = document.createElement('div'); + this.opts = Object.assign( + {}, + { + container: (_field: string, _element: HTMLElement) => + this.defaultContainer, + }, + opts + ); + + this.elementIgnoredHandler = this.onElementIgnored.bind(this); + this.fieldAddedHandler = this.onFieldAdded.bind(this); + this.fieldRemovedHandler = this.onFieldRemoved.bind(this); + this.validatorValidatedHandler = this.onValidatorValidated.bind(this); + this.validatorNotValidatedHandler = + this.onValidatorNotValidated.bind(this); + } + + public install(): void { + this.core.getFormElement().appendChild(this.defaultContainer); + this.core + .on('core.element.ignored', this.elementIgnoredHandler) + .on('core.field.added', this.fieldAddedHandler) + .on('core.field.removed', this.fieldRemovedHandler) + .on('core.validator.validated', this.validatorValidatedHandler) + .on( + 'core.validator.notvalidated', + this.validatorNotValidatedHandler + ); + } + + public uninstall(): void { + this.core.getFormElement().removeChild(this.defaultContainer); + + this.messages.forEach((message) => + message.parentNode.removeChild(message) + ); + this.messages.clear(); + + this.core + .off('core.element.ignored', this.elementIgnoredHandler) + .off('core.field.added', this.fieldAddedHandler) + .off('core.field.removed', this.fieldRemovedHandler) + .off('core.validator.validated', this.validatorValidatedHandler) + .off( + 'core.validator.notvalidated', + this.validatorNotValidatedHandler + ); + } + + // Prepare message container for new added field + private onFieldAdded(e: DynamicFieldEvent): void { + const elements = e.elements; + if (elements) { + elements.forEach((ele) => { + const msg = this.messages.get(ele); + if (msg) { + msg.parentNode.removeChild(msg); + this.messages.delete(ele); + } + }); + + this.prepareFieldContainer(e.field, elements); + } + } + + // When a field is removed, we remove all error messages that associates with the field + private onFieldRemoved(e: DynamicFieldEvent): void { + if (!e.elements.length || !e.field) { + return; + } + + const type = e.elements[0].getAttribute('type'); + const elements = + 'radio' === type || 'checkbox' === type + ? [e.elements[0]] + : e.elements; + elements.forEach((ele) => { + if (this.messages.has(ele)) { + const container = this.messages.get(ele); + container.parentNode.removeChild(container); + this.messages.delete(ele); + } + }); + } + + private prepareFieldContainer( + field: string, + elements: HTMLElement[] + ): void { + if (elements.length) { + const type = elements[0].getAttribute('type'); + if ('radio' === type || 'checkbox' === type) { + this.prepareElementContainer(field, elements[0], elements); + } else { + elements.forEach((ele) => + this.prepareElementContainer(field, ele, elements) + ); + } + } + } + + private prepareElementContainer( + field: string, + element: HTMLElement, + elements: HTMLElement[] + ): void { + let container; + + if ('string' === typeof this.opts.container) { + const selector = + '#' === this.opts.container.charAt(0) + ? `[id="${this.opts.container.substring(1)}"]` + : this.opts.container; + container = this.core + .getFormElement() + .querySelector(selector) as HTMLElement; + } else { + container = this.opts.container(field, element); + } + + const message = document.createElement('div'); + container.appendChild(message); + classSet(message, { + 'fv-plugins-message-container': true, + }); + + this.core.emit('plugins.message.placed', { + element, + elements, + field, + messageElement: message, + }); + + this.messages.set(element, message); + } + + private getMessage(result: ValidateResult): string { + return typeof result.message === 'string' + ? result.message + : result.message[this.core.getLocale()]; + } + + private onValidatorValidated(e: ValidatorValidatedEvent): void { + const elements = e.elements; + const type = e.element.getAttribute('type'); + + const element = + 'radio' === type || 'checkbox' === type ? elements[0] : e.element; + if (this.messages.has(element)) { + const container = this.messages.get(element); + const messageEle = container.querySelector( + `[data-field="${e.field}"][data-validator="${e.validator}"]` + ); + if (!messageEle && !e.result.valid) { + const ele = document.createElement('div'); + ele.innerHTML = this.getMessage(e.result); + ele.setAttribute('data-field', e.field); + ele.setAttribute('data-validator', e.validator); + if (this.opts.clazz) { + classSet(ele, { + [this.opts.clazz]: true, + }); + } + container.appendChild(ele); + + this.core.emit('plugins.message.displayed', { + element: e.element, + field: e.field, + message: e.result.message, + messageElement: ele, + meta: e.result.meta, + validator: e.validator, + }); + } else if (messageEle && !e.result.valid) { + // The validator returns new message + messageEle.innerHTML = this.getMessage(e.result); + this.core.emit('plugins.message.displayed', { + element: e.element, + field: e.field, + message: e.result.message, + messageElement: messageEle, + meta: e.result.meta, + validator: e.validator, + }); + } else if (messageEle && e.result.valid) { + // Field is valid + container.removeChild(messageEle); + } + } + } + + private onValidatorNotValidated(e: ValidatorNotValidatedEvent): void { + const elements = e.elements; + const type = e.element.getAttribute('type'); + + const element = + 'radio' === type || 'checkbox' === type ? elements[0] : e.element; + if (this.messages.has(element)) { + const container = this.messages.get(element); + const messageEle = container.querySelector( + `[data-field="${e.field}"][data-validator="${e.validator}"]` + ); + if (messageEle) { + container.removeChild(messageEle); + } + } + } + + private onElementIgnored(e: ElementIgnoredEvent): void { + const elements = e.elements; + const type = e.element.getAttribute('type'); + + const element = + 'radio' === type || 'checkbox' === type ? elements[0] : e.element; + if (this.messages.has(element)) { + const container = this.messages.get(element); + const messageElements = [].slice.call( + container.querySelectorAll(`[data-field="${e.field}"]`) + ) as Element[]; + messageElements.forEach((messageEle) => { + container.removeChild(messageEle); + }); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Milligram.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Milligram.ts new file mode 100644 index 0000000..c2a875d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Milligram.ts @@ -0,0 +1,45 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +// Support Milligram framework (https://milligram.io/) +export default class Milligram extends Framework { + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-milligram', + messageClass: 'fv-help-block', + rowInvalidClass: 'fv-invalid-row', + rowPattern: /^(.*)column(-offset)*-[0-9]+(.*)$/, + rowSelector: '.row', + rowValidClass: 'fv-valid-row', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const type = e.element.getAttribute('type'); + const parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + // Place it after the container of checkbox/radio + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Mini.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Mini.ts new file mode 100644 index 0000000..42c08ef --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Mini.ts @@ -0,0 +1,45 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +// Support mini.css framework (https://minicss.org) +export default class Mini extends Framework { + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-mini', + messageClass: 'fv-help-block', + rowInvalidClass: 'fv-invalid-row', + rowPattern: /^(.*)col-(sm|md|lg|xl)(-offset)*-[0-9]+(.*)$/, + rowSelector: '.row', + rowValidClass: 'fv-valid-row', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const type = e.element.getAttribute('type'); + const parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + // Place it after the container of checkbox/radio + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Mui.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Mui.ts new file mode 100644 index 0000000..05fbb6b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Mui.ts @@ -0,0 +1,46 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +// Support Mui CSS framework (https://muicss.com/) +export default class Mui extends Framework { + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-mui', + messageClass: 'fv-help-block', + rowInvalidClass: 'fv-invalid-row', + rowPattern: + /^(.*)mui-col-(xs|md|lg|xl)(-offset)*-[0-9]+(.*)$/, + rowSelector: '.mui-row', + rowValidClass: 'fv-valid-row', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const type = e.element.getAttribute('type'); + const parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + // Place it after the container of checkbox/radio + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/PasswordStrength.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/PasswordStrength.ts new file mode 100644 index 0000000..5940a1a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/PasswordStrength.ts @@ -0,0 +1,132 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + ValidateFunction, + ValidateOptions, + ValidatorValidatedEvent, +} from '../core/Core'; +import Plugin from '../core/Plugin'; + +export interface PasswordStrengthOptions { + field: string; + message: string; + minimalScore: number; + onValidated?: (valid: boolean, message: string, score: number) => void; +} + +declare function zxcvbn(password: string, userInputs?: string[]): ZxcvbnResult; +interface ZxcvbnResult { + score: ZxcvbnScore; + feedback: ZxcvbnFeedback; +} +type ZxcvbnScore = 0 | 1 | 2 | 3 | 4; +interface ZxcvbnFeedback { + warning: string; + suggestions: string[]; +} + +export default class PasswordStrength extends Plugin { + public static PASSWORD_STRENGTH_VALIDATOR = '___PasswordStrengthValidator'; + private validatePassword: () => ValidateFunction; + private validatorValidatedHandler: (e: ValidatorValidatedEvent) => void; + + constructor(opts?: PasswordStrengthOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + minimalScore: 3, + onValidated: () => {}, + }, + opts + ); + this.validatePassword = this.checkPasswordStrength.bind(this); + this.validatorValidatedHandler = this.onValidatorValidated.bind(this); + } + + public install(): void { + this.core.registerValidator( + PasswordStrength.PASSWORD_STRENGTH_VALIDATOR, + this.validatePassword + ); + this.core.on( + 'core.validator.validated', + this.validatorValidatedHandler + ); + + this.core.addField(this.opts.field, { + validators: { + [PasswordStrength.PASSWORD_STRENGTH_VALIDATOR]: { + message: this.opts.message, + minimalScore: this.opts.minimalScore, + }, + }, + }); + } + + public uninstall(): void { + this.core.off( + 'core.validator.validated', + this.validatorValidatedHandler + ); + // It's better if we can remove validator + this.core.disableValidator( + this.opts.field, + PasswordStrength.PASSWORD_STRENGTH_VALIDATOR + ); + } + + private checkPasswordStrength(): ValidateFunction { + return { + validate: (input) => { + const value = input.value; + if (value === '') { + return { + valid: true, + }; + } + + const result = zxcvbn(value); + const score = result.score; + const message = + result.feedback.warning || 'The password is weak'; + + if (score < this.opts.minimalScore) { + return { + message, + meta: { + message, + score, + }, + valid: false, + }; + } else { + return { + meta: { + message, + score, + }, + valid: true, + }; + } + }, + }; + } + + private onValidatorValidated(e: ValidatorValidatedEvent): void { + if ( + e.field === this.opts.field && + e.validator === PasswordStrength.PASSWORD_STRENGTH_VALIDATOR && + e.result.meta + ) { + const message = e.result.meta['message'] as string; + const score = e.result.meta['score'] as number; + + this.opts.onValidated(e.result.valid, message, score); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Pure.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Pure.ts new file mode 100644 index 0000000..7bb1364 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Pure.ts @@ -0,0 +1,44 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +export default class Pure extends Framework { + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-pure', + messageClass: 'fv-help-block', + rowInvalidClass: 'fv-has-error', + rowPattern: /^.*pure-control-group.*$/, + rowSelector: '.pure-control-group', + rowValidClass: 'fv-has-success', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + const parent = e.element.parentElement; + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + if ('LABEL' === parent.tagName) { + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + } + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Recaptcha.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Recaptcha.ts new file mode 100644 index 0000000..ab2a38d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Recaptcha.ts @@ -0,0 +1,294 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { FieldResetEvent } from '../core/Core'; +import Plugin from '../core/Plugin'; +import fetch from '../utils/fetch'; +import { IconPlacedEvent } from './Icon'; + +export interface RecaptchaOptions { + // The ID of element showing the captcha + element: string; + // The language code defined by reCAPTCHA + // See https://developers.google.com/recaptcha/docs/language + language?: string; + // The invalid message that will be shown in case the captcha is not valid + // You don't need to define it if the back-end URL above returns the message + message: string; + // The site key provided by Google + siteKey: string; + backendVerificationUrl?: string; + + // The size of widget. It can be 'compact', 'normal' (default), or 'invisible' + size?: string; + + // reCAPTCHA widget option (size can be 'compact' or 'normal') + // See https://developers.google.com/recaptcha/docs/display + + // The theme name provided by Google. It can be light (default), dark + theme?: string; + + // Invisible reCAPTCHA + // See https://developers.google.com/recaptcha/docs/invisible + // The position of reCAPTCHA. Can be 'bottomright' (default), 'bottomleft', 'inline' + badge?: string; +} + +/** + * This plugin shows and validates a Google reCAPTCHA v2 + * Usage: + * - Register a ReCaptcha API key + * - Prepare a container to show the captcha + * ``` + *
      + *
      + *
      + * ``` + * - Use the plugin + * ``` + * formValidation(document.getElementById('testForm'), { + * plugins: { + * recaptcha: new Recaptcha({ + * element: 'captchaContainer', + * theme: 'light', + * siteKey: '...', // The key provided by Google + * language: 'en', + * message: 'The captcha is not valid' + * }) + * } + * }) + * ``` + */ +export default class Recaptcha extends Plugin { + // The captcha field name, generated by Google reCAPTCHA + public static CAPTCHA_FIELD = 'g-recaptcha-response'; + + public static DEFAULT_OPTIONS = { + backendVerificationUrl: '', + badge: 'bottomright', + size: 'normal', + theme: 'light', + }; + + // The name of callback that will be executed after reCaptcha script is loaded + public static LOADED_CALLBACK = '___reCaptchaLoaded___'; + + private widgetIds: Map = new Map(); + private fieldResetHandler: (e: FieldResetEvent) => void; + private iconPlacedHandler: (e: IconPlacedEvent) => void; + private preValidateFilter: (...arg: unknown[]) => Promise; + private captchaStatus = 'NotValidated'; + private timer: number; + + constructor(opts?: RecaptchaOptions) { + super(opts); + this.opts = Object.assign({}, Recaptcha.DEFAULT_OPTIONS, opts); + this.fieldResetHandler = this.onResetField.bind(this); + this.preValidateFilter = this.preValidate.bind(this); + this.iconPlacedHandler = this.onIconPlaced.bind(this); + } + + public install(): void { + this.core + .on('core.field.reset', this.fieldResetHandler) + .on('plugins.icon.placed', this.iconPlacedHandler) + .registerFilter('validate-pre', this.preValidateFilter); + + const loadPrevCaptcha = + typeof window[Recaptcha.LOADED_CALLBACK] === 'undefined' + ? () => {} + : window[Recaptcha.LOADED_CALLBACK]; + window[Recaptcha.LOADED_CALLBACK] = () => { + // Call the previous loaded function + // to support multiple recaptchas on the same page + loadPrevCaptcha(); + + const captchaOptions = { + badge: this.opts.badge, + callback: () => { + if (this.opts.backendVerificationUrl === '') { + this.captchaStatus = 'Valid'; + // Mark the captcha as valid, so the library will remove the error message + this.core.updateFieldStatus( + Recaptcha.CAPTCHA_FIELD, + 'Valid' + ); + } + }, + 'error-callback': () => { + this.captchaStatus = 'Invalid'; + this.core.updateFieldStatus( + Recaptcha.CAPTCHA_FIELD, + 'Invalid' + ); + }, + 'expired-callback': () => { + // Update the captcha status when session expires + this.captchaStatus = 'NotValidated'; + this.core.updateFieldStatus( + Recaptcha.CAPTCHA_FIELD, + 'NotValidated' + ); + }, + sitekey: this.opts.siteKey, + size: this.opts.size, + }; + + const widgetId = window['grecaptcha'].render( + this.opts.element, + captchaOptions + ); + this.widgetIds.set(this.opts.element, widgetId); + + this.core.addField(Recaptcha.CAPTCHA_FIELD, { + validators: { + promise: { + message: this.opts.message, + promise: (input) => { + const value = this.widgetIds.has(this.opts.element) + ? window['grecaptcha'].getResponse( + this.widgetIds.get(this.opts.element) + ) + : input.value; + + if (value === '') { + this.captchaStatus = 'Invalid'; + return Promise.resolve({ + valid: false, + }); + } else if ( + this.opts.backendVerificationUrl === '' + ) { + this.captchaStatus = 'Valid'; + return Promise.resolve({ + valid: true, + }); + } else if (this.captchaStatus === 'Valid') { + // Do not need to send the back-end verification request if the captcha is already valid + return Promise.resolve({ + valid: true, + }); + } else { + return fetch(this.opts.backendVerificationUrl, { + method: 'POST', + params: { + [Recaptcha.CAPTCHA_FIELD]: value, + }, + }) + .then((response) => { + const isValid = + `${response['success']}` === 'true'; + this.captchaStatus = isValid + ? 'Valid' + : 'Invalid'; + return Promise.resolve({ + meta: response, + valid: isValid, + }); + }) + .catch((_reason) => { + this.captchaStatus = 'NotValidated'; + return Promise.reject({ + valid: false, + }); + }); + } + }, + }, + }, + }); + }; + + const src = this.getScript(); + if (!document.body.querySelector(`script[src="${src}"]`)) { + const script = document.createElement('script'); + script.type = 'text/javascript'; + script.async = true; + script.defer = true; + script.src = src; + document.body.appendChild(script); + } + } + + public uninstall(): void { + if (this.timer) { + clearTimeout(this.timer); + } + + this.core + .off('core.field.reset', this.fieldResetHandler) + .off('plugins.icon.placed', this.iconPlacedHandler) + .deregisterFilter('validate-pre', this.preValidateFilter); + this.widgetIds.clear(); + + // Remove script + const src = this.getScript(); + const scripts = [].slice.call( + document.body.querySelectorAll(`script[src="${src}"]`) + ) as HTMLScriptElement[]; + scripts.forEach((s) => s.parentNode.removeChild(s)); + + this.core.removeField(Recaptcha.CAPTCHA_FIELD); + } + + private getScript(): string { + const lang = this.opts.language ? `&hl=${this.opts.language}` : ''; + return `https://www.google.com/recaptcha/api.js?onload=${Recaptcha.LOADED_CALLBACK}&render=explicit${lang}`; + } + + private preValidate(): Promise { + // grecaptcha.execute() is only available for invisible reCAPTCHA + if ( + this.opts.size === 'invisible' && + this.widgetIds.has(this.opts.element) + ) { + const widgetId = this.widgetIds.get(this.opts.element); + return this.captchaStatus === 'Valid' + ? Promise.resolve() + : new Promise((resolve, _reject) => { + window['grecaptcha'].execute(widgetId).then(() => { + if (this.timer) { + clearTimeout(this.timer); + } + this.timer = window.setTimeout(resolve, 1 * 1000); + }); + }); + } else { + return Promise.resolve(); + } + } + + private onResetField(e: FieldResetEvent): void { + if ( + e.field === Recaptcha.CAPTCHA_FIELD && + this.widgetIds.has(this.opts.element) + ) { + const widgetId = this.widgetIds.get(this.opts.element); + window['grecaptcha'].reset(widgetId); + } + } + + private onIconPlaced(e: IconPlacedEvent): void { + if (e.field === Recaptcha.CAPTCHA_FIELD) { + // Hide the icon for captcha element, since it will look weird when the captcha is valid + if (this.opts.size === 'invisible') { + e.iconElement.style.display = 'none'; + } else { + const captchaContainer = document.getElementById( + this.opts.element + ); + // We need to move the icon element to after the captcha container + // Otherwise, the icon will be removed when the captcha is re-rendered (after it's expired) + if (captchaContainer) { + captchaContainer.parentNode.insertBefore( + e.iconElement, + captchaContainer.nextSibling + ); + } + } + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Recaptcha3.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Recaptcha3.ts new file mode 100644 index 0000000..0ab04b2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Recaptcha3.ts @@ -0,0 +1,160 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; +import fetch from '../utils/fetch'; +import { IconPlacedEvent } from './Icon'; + +export interface Recaptcha3Options { + // The ID of element showing the captcha error + element: string; + // The language code defined by reCAPTCHA + // See https://developers.google.com/recaptcha/docs/language + language?: string; + // Minimum score, between 0 and 1 + minimumScore?: number; + // The invalid message that will be shown in case the captcha is not valid + // You don't need to define it if the back-end URL above returns the message + message: string; + // The site key provided by Google + siteKey: string; + backendVerificationUrl: string; + action: string; +} + +interface VerificationResponse { + message: string; + // See https://developers.google.com/recaptcha/docs/v3#site_verify_response + score: number; + success: boolean; +} + +export default class Recaptcha3 extends Plugin { + // The captcha field name + public static CAPTCHA_FIELD = '___g-recaptcha-token___'; + + // The name of callback that will be executed after reCaptcha script is loaded + public static LOADED_CALLBACK = '___reCaptcha3Loaded___'; + + private iconPlacedHandler: (e: IconPlacedEvent) => void; + + constructor(opts?: Recaptcha3Options) { + super(opts); + this.opts = Object.assign({}, { minimumScore: 0 }, opts); + this.iconPlacedHandler = this.onIconPlaced.bind(this); + } + + public install(): void { + this.core.on('plugins.icon.placed', this.iconPlacedHandler); + + const loadPrevCaptcha = + typeof window[Recaptcha3.LOADED_CALLBACK] === 'undefined' + ? () => {} + : window[Recaptcha3.LOADED_CALLBACK]; + window[Recaptcha3.LOADED_CALLBACK] = () => { + // Call the previous loaded function + // to support multiple recaptchas on the same page + loadPrevCaptcha(); + + // Add a hidden field to the form + const tokenField = document.createElement('input'); + tokenField.setAttribute('type', 'hidden'); + tokenField.setAttribute('name', Recaptcha3.CAPTCHA_FIELD); + document.getElementById(this.opts.element).appendChild(tokenField); + + this.core.addField(Recaptcha3.CAPTCHA_FIELD, { + validators: { + promise: { + message: this.opts.message, + promise: (_input) => { + return new Promise((resolve, reject) => { + window['grecaptcha'] + .execute(this.opts.siteKey, { + action: this.opts.action, + }) + .then((token: string) => { + // Verify it + fetch( + this.opts.backendVerificationUrl, + { + method: 'POST', + params: { + [Recaptcha3.CAPTCHA_FIELD]: + token, + }, + } + ) + .then( + ( + response: VerificationResponse + ) => { + const isValid = + `${response.success}` === + 'true' && + response.score >= + this.opts + .minimumScore; + resolve({ + message: + response.message || + this.opts.message, + meta: response, + valid: isValid, + }); + } + ) + .catch((_) => { + reject({ + valid: false, + }); + }); + }); + }); + }, + }, + }, + }); + }; + + const src = this.getScript(); + if (!document.body.querySelector(`script[src="${src}"]`)) { + const script = document.createElement('script'); + script.type = 'text/javascript'; + script.async = true; + script.defer = true; + script.src = src; + document.body.appendChild(script); + } + } + + public uninstall(): void { + this.core.off('plugins.icon.placed', this.iconPlacedHandler); + + // Remove script + const src = this.getScript(); + const scripts = [].slice.call( + document.body.querySelectorAll(`script[src="${src}"]`) + ) as HTMLScriptElement[]; + scripts.forEach((s) => s.parentNode.removeChild(s)); + + this.core.removeField(Recaptcha3.CAPTCHA_FIELD); + } + + private getScript(): string { + const lang = this.opts.language ? `&hl=${this.opts.language}` : ''; + return ( + 'https://www.google.com/recaptcha/api.js?' + + `onload=${Recaptcha3.LOADED_CALLBACK}&render=${this.opts.siteKey}${lang}` + ); + } + + private onIconPlaced(e: IconPlacedEvent): void { + if (e.field === Recaptcha3.CAPTCHA_FIELD) { + // Hide the icon for captcha element, since it will look weird when the captcha is valid + e.iconElement.style.display = 'none'; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Recaptcha3Token.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Recaptcha3Token.ts new file mode 100644 index 0000000..326ba7f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Recaptcha3Token.ts @@ -0,0 +1,105 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; + +export interface Recaptcha3TokenOptions { + action: string; + hiddenTokenName: string; + language?: string; + siteKey: string; +} + +export default class Recaptcha3Token extends Plugin { + // The name of callback that will be executed after reCaptcha script is loaded + public static LOADED_CALLBACK = '___reCaptcha3Loaded___'; + + private hiddenTokenEle?: HTMLInputElement; + private onValidHandler: () => void; + + constructor(opts?: Recaptcha3TokenOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + action: 'submit', + hiddenTokenName: '___hidden-token___', + }, + opts + ); + this.onValidHandler = this.onFormValid.bind(this); + } + + public install(): void { + this.core.on('core.form.valid', this.onValidHandler); + + // Add a hidden field to the form + this.hiddenTokenEle = document.createElement('input'); + this.hiddenTokenEle.setAttribute('type', 'hidden'); + this.core.getFormElement().appendChild(this.hiddenTokenEle); + + const loadPrevCaptcha = + typeof window[Recaptcha3Token.LOADED_CALLBACK] === 'undefined' + ? () => {} + : window[Recaptcha3Token.LOADED_CALLBACK]; + window[Recaptcha3Token.LOADED_CALLBACK] = () => { + // Call the previous loaded function + // to support multiple recaptchas on the same page + loadPrevCaptcha(); + }; + + const src = this.getScript(); + if (!document.body.querySelector(`script[src="${src}"]`)) { + const script = document.createElement('script'); + script.type = 'text/javascript'; + script.async = true; + script.defer = true; + script.src = src; + document.body.appendChild(script); + } + } + + public uninstall(): void { + this.core.off('core.form.valid', this.onValidHandler); + + // Remove script + const src = this.getScript(); + const scripts = [].slice.call( + document.body.querySelectorAll(`script[src="${src}"]`) + ) as HTMLScriptElement[]; + scripts.forEach((s) => s.parentNode.removeChild(s)); + + // Remove hidden field from the form element + this.core.getFormElement().removeChild(this.hiddenTokenEle); + } + + private onFormValid(): void { + // Send recaptcha request + window['grecaptcha'] + .execute(this.opts.siteKey, { action: this.opts.action }) + .then((token: string) => { + this.hiddenTokenEle.setAttribute( + 'name', + this.opts.hiddenTokenName + ); + this.hiddenTokenEle.value = token; + + // Submit the form + const form = this.core.getFormElement(); + if (form instanceof HTMLFormElement) { + form.submit(); + } + }); + } + + private getScript(): string { + const lang = this.opts.language ? `&hl=${this.opts.language}` : ''; + return ( + 'https://www.google.com/recaptcha/api.js?' + + `onload=${Recaptcha3Token.LOADED_CALLBACK}&render=${this.opts.siteKey}${lang}` + ); + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Semantic.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Semantic.ts new file mode 100644 index 0000000..6718097 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Semantic.ts @@ -0,0 +1,75 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import hasClass from '../utils/hasClass'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; +import { MessagePlacedEvent } from './Message'; + +export default class Semantic extends Framework { + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-semantic', + // See https://semantic-ui.com/elements/label.html#pointing + messageClass: 'ui pointing red label', + rowInvalidClass: 'error', + rowPattern: /^.*(field|column).*$/, + rowSelector: '.fields', + rowValidClass: 'fv-has-success', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + const parent = e.element.parentElement; + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + } + } + + protected onMessagePlaced(e: MessagePlacedEvent): void { + const type = e.element.getAttribute('type'); + const numElements = e.elements.length; + if (('checkbox' === type || 'radio' === type) && numElements > 1) { + // Put the message at the end when there are multiple checkboxes/radios + //
      + //
      + // + //
      + //
      + // ... + //
      + //
      + // + //
      + // <-- The error message will be placed here --> + //
      + + // Get the last checkbox + const last = e.elements[numElements - 1]; + const parent = last.parentElement; + if (hasClass(parent, type) && hasClass(parent, 'ui')) { + parent.parentElement.insertBefore( + e.messageElement, + parent.nextSibling + ); + } + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Sequence.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Sequence.ts new file mode 100644 index 0000000..ce4b1d4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Sequence.ts @@ -0,0 +1,137 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + DynamicFieldEvent, + ElementNotValidatedEvent, + ElementValidatingEvent, + ValidatorValidatedEvent, +} from '../core/Core'; +import Plugin from '../core/Plugin'; + +export interface SequenceOptions { + enabled: boolean | { [field: string]: boolean }; +} + +/** + * ``` + * new Core(form, { ... }) + * .registerPlugin('sequence', new Sequence({ + * enabled: false // Default value is `true` + * })); + * ``` + * + * The `enabled` option can be: + * - `true` (default): When a field has multiple validators, all of them will be checked respectively. + * If errors occur in multiple validators, all of them will be displayed to the user + * - `false`: When a field has multiple validators, validation for this field will be terminated upon the + * first encountered error. + * Thus, only the very first error message related to this field will be displayed to the user + * + * User can set the `enabled` option to all fields as sample code above, or apply it for specific fields as following: + * ``` + * new Core(form, { ... }) + * .registerPlugin('sequence', new Sequence({ + * enabled: { + * fullName: true, // It's not necessary since the default value is `true` + * username: false, + * email: false + * } + * })); + * ``` + */ +export default class Sequence extends Plugin { + private invalidFields: Map = new Map(); + private validatorHandler: (e: ValidatorValidatedEvent) => void; + private shouldValidateFilter: (...arg: unknown[]) => boolean; + private fieldAddedHandler: (e: DynamicFieldEvent) => void; + private elementNotValidatedHandler: (e: ElementNotValidatedEvent) => void; + private elementValidatingHandler: (e: ElementValidatingEvent) => void; + + constructor(opts?: SequenceOptions) { + super(opts); + this.opts = Object.assign({}, { enabled: true }, opts); + + this.validatorHandler = this.onValidatorValidated.bind(this); + this.shouldValidateFilter = this.shouldValidate.bind(this); + this.fieldAddedHandler = this.onFieldAdded.bind(this); + this.elementNotValidatedHandler = this.onElementNotValidated.bind(this); + this.elementValidatingHandler = this.onElementValidating.bind(this); + } + + public install(): void { + this.core + .on('core.validator.validated', this.validatorHandler) + .on('core.field.added', this.fieldAddedHandler) + .on('core.element.notvalidated', this.elementNotValidatedHandler) + .on('core.element.validating', this.elementValidatingHandler) + .registerFilter('field-should-validate', this.shouldValidateFilter); + } + + public uninstall(): void { + this.invalidFields.clear(); + + this.core + .off('core.validator.validated', this.validatorHandler) + .off('core.field.added', this.fieldAddedHandler) + .off('core.element.notvalidated', this.elementNotValidatedHandler) + .off('core.element.validating', this.elementValidatingHandler) + .deregisterFilter( + 'field-should-validate', + this.shouldValidateFilter + ); + } + + private shouldValidate( + field: string, + element: HTMLElement, + value: string, + validator: string + ): boolean { + // Stop validating + // if the `enabled` option is set to `false` + // and there's at least one validator that field doesn't pass + const stop = + (this.opts.enabled === true || this.opts.enabled[field] === true) && + this.invalidFields.has(element) && + !!this.invalidFields.get(element).length && + this.invalidFields.get(element).indexOf(validator) === -1; + return !stop; + } + + private onValidatorValidated(e: ValidatorValidatedEvent): void { + const validators = this.invalidFields.has(e.element) + ? this.invalidFields.get(e.element) + : []; + const index = validators.indexOf(e.validator); + if (e.result.valid && index >= 0) { + validators.splice(index, 1); + } else if (!e.result.valid && index === -1) { + validators.push(e.validator); + } + + this.invalidFields.set(e.element, validators); + } + + private onFieldAdded(e: DynamicFieldEvent): void { + // Remove the field element from set of invalid elements + if (e.elements) { + this.clearInvalidFields(e.elements); + } + } + + private onElementNotValidated(e: ElementNotValidatedEvent): void { + this.clearInvalidFields(e.elements); + } + + private onElementValidating(e: ElementValidatingEvent): void { + this.clearInvalidFields(e.elements); + } + + private clearInvalidFields(elements: HTMLElement[]) { + elements.forEach((ele) => this.invalidFields.delete(ele)); + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Shoelace.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Shoelace.ts new file mode 100644 index 0000000..ad06720 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Shoelace.ts @@ -0,0 +1,47 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +// This plugin supports validating the form made with https://shoelace.style +export default class Shoelace extends Framework { + constructor(opts?: FrameworkOptions) { + // See https://shoelace.style/#forms + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-shoelace', + messageClass: 'fv-help-block', + rowInvalidClass: 'input-invalid', + rowPattern: /^(.*)(col|offset)-[0-9]+(.*)$/, + rowSelector: '.input-field', + rowValidClass: 'input-valid', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const parent = e.element.parentElement; + const type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + if ('LABEL' === parent.tagName) { + // Place it after the container of checkbox/radio + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + } + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Spectre.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Spectre.ts new file mode 100644 index 0000000..3dc4934 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Spectre.ts @@ -0,0 +1,47 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import hasClass from '../utils/hasClass'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +export default class Spectre extends Framework { + constructor(opts?: FrameworkOptions) { + // See https://picturepan2.github.io/spectre/elements.html#forms + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-spectre', + messageClass: 'form-input-hint', + rowInvalidClass: 'has-error', + rowPattern: /^(.*)(col)(-(xs|sm|md|lg))*-[0-9]+(.*)$/, + rowSelector: '.form-group', + rowValidClass: 'has-success', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const type = e.element.getAttribute('type'); + const parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + // Place it after the container of checkbox/radio + if (hasClass(parent, `form-${type}`)) { + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + } + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/StartEndDate.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/StartEndDate.ts new file mode 100644 index 0000000..4428822 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/StartEndDate.ts @@ -0,0 +1,135 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { FieldOptions } from '../core/Core'; +import Plugin from '../core/Plugin'; + +export interface StartEndDateOptions { + format: string; + startDate: { + field: string; + message: string; + }; + endDate: { + field: string; + message: string; + }; +} + +export default class StartEndDate extends Plugin { + private startDateFieldOptions: FieldOptions; + private endDateFieldOptions: FieldOptions; + private fieldValidHandler: (e: string) => void; + private fieldInvalidHandler: (e: string) => void; + + private startDateValid: boolean; + private endDateValid: boolean; + + constructor(opts?: StartEndDateOptions) { + super(opts); + this.fieldValidHandler = this.onFieldValid.bind(this); + this.fieldInvalidHandler = this.onFieldInvalid.bind(this); + } + + public install(): void { + // Backup the original options + const fieldOptions = this.core.getFields(); + this.startDateFieldOptions = fieldOptions[this.opts.startDate.field]; + this.endDateFieldOptions = fieldOptions[this.opts.endDate.field]; + + const form = this.core.getFormElement(); + + this.core + .on('core.field.valid', this.fieldValidHandler) + .on('core.field.invalid', this.fieldInvalidHandler) + .addField(this.opts.startDate.field, { + validators: { + date: { + format: this.opts.format, + max: () => { + const endDateField = form.querySelector( + `[name="${this.opts.endDate.field}"]` + ); + return (endDateField as HTMLInputElement).value; + }, + message: this.opts.startDate.message, + }, + }, + }) + .addField(this.opts.endDate.field, { + validators: { + date: { + format: this.opts.format, + message: this.opts.endDate.message, + min: () => { + const startDateField = form.querySelector( + `[name="${this.opts.startDate.field}"]` + ); + return (startDateField as HTMLInputElement).value; + }, + }, + }, + }); + } + + public uninstall(): void { + this.core.removeField(this.opts.startDate.field); + if (this.startDateFieldOptions) { + this.core.addField( + this.opts.startDate.field, + this.startDateFieldOptions + ); + } + + this.core.removeField(this.opts.endDate.field); + if (this.endDateFieldOptions) { + this.core.addField( + this.opts.endDate.field, + this.endDateFieldOptions + ); + } + + this.core + .off('core.field.valid', this.fieldValidHandler) + .off('core.field.invalid', this.fieldInvalidHandler); + } + + private onFieldInvalid(field: string): void { + switch (field) { + case this.opts.startDate.field: + this.startDateValid = false; + break; + + case this.opts.endDate.field: + this.endDateValid = false; + break; + + default: + break; + } + } + + private onFieldValid(field: string): void { + switch (field) { + case this.opts.startDate.field: + this.startDateValid = true; + if (this.endDateValid === false) { + this.core.revalidateField(this.opts.endDate.field); + } + break; + + case this.opts.endDate.field: + this.endDateValid = true; + if (this.startDateValid === false) { + this.core.revalidateField(this.opts.startDate.field); + } + break; + + default: + break; + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/SubmitButton.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/SubmitButton.ts new file mode 100644 index 0000000..9d7a167 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/SubmitButton.ts @@ -0,0 +1,127 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; + +export interface SubmitButtonOptions { + aspNetButton?: boolean; + // Allow to query the submit button(s) + // It's useful in case the submit button is outside of form + buttons?: (form: HTMLFormElement) => Element[]; +} + +export default class SubmitButton extends Plugin { + private submitHandler: EventListener; + private buttonClickHandler: EventListener; + private isFormValid = false; + private submitButtons: Element[]; + private clickedButton?: HTMLElement; + + // A hidden input to send the clicked button to the server + private hiddenClickedEle?: HTMLElement; + + constructor(opts?: SubmitButtonOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + // Set it to `true` to support classical ASP.Net form + aspNetButton: false, + // By default, don't perform validation when clicking on + // the submit button/input which have `formnovalidate` attribute + buttons: (form: HTMLFormElement) => + [].slice.call( + form.querySelectorAll( + '[type="submit"]:not([formnovalidate])' + ) + ) as Element[], + }, + opts + ); + + this.submitHandler = this.handleSubmitEvent.bind(this); + this.buttonClickHandler = this.handleClickEvent.bind(this); + } + + public install(): void { + if (!(this.core.getFormElement() instanceof HTMLFormElement)) { + return; + } + const form = this.core.getFormElement() as HTMLFormElement; + this.submitButtons = this.opts.buttons(form); + + // Disable client side validation in HTML 5 + form.setAttribute('novalidate', 'novalidate'); + + // Disable the default submission first + form.addEventListener('submit', this.submitHandler); + + this.hiddenClickedEle = document.createElement('input'); + this.hiddenClickedEle.setAttribute('type', 'hidden'); + form.appendChild(this.hiddenClickedEle); + + this.submitButtons.forEach((button) => { + button.addEventListener('click', this.buttonClickHandler); + }); + } + + public uninstall(): void { + const form = this.core.getFormElement(); + if (form instanceof HTMLFormElement) { + form.removeEventListener('submit', this.submitHandler); + } + this.submitButtons.forEach((button) => { + button.removeEventListener('click', this.buttonClickHandler); + }); + this.hiddenClickedEle.parentElement.removeChild(this.hiddenClickedEle); + } + + private handleSubmitEvent(e: Event): void { + this.validateForm(e); + } + + private handleClickEvent(e: Event): void { + const target = e.currentTarget; + if (target instanceof HTMLElement) { + if (this.opts.aspNetButton && this.isFormValid === true) { + // Do nothing + } else { + const form = this.core.getFormElement(); + form.removeEventListener('submit', this.submitHandler); + + this.clickedButton = e.target as HTMLElement; + const name = this.clickedButton.getAttribute('name'); + const value = this.clickedButton.getAttribute('value'); + if (name && value) { + this.hiddenClickedEle.setAttribute('name', name); + this.hiddenClickedEle.setAttribute('value', value); + } + this.validateForm(e); + } + } + } + + private validateForm(e: Event): void { + e.preventDefault(); + this.core.validate().then((result) => { + if ( + result === 'Valid' && + this.opts.aspNetButton && + !this.isFormValid && + this.clickedButton + ) { + this.isFormValid = true; + this.clickedButton.removeEventListener( + 'click', + this.buttonClickHandler + ); + + // It's the time for ASP.Net submit button to do its own submission + this.clickedButton.click(); + } + }); + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Tachyons.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Tachyons.ts new file mode 100644 index 0000000..c1c1930 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Tachyons.ts @@ -0,0 +1,44 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +export default class Tachyons extends Framework { + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-tachyons', + messageClass: 'small', + rowInvalidClass: 'red', + rowPattern: /^(.*)fl(.*)$/, + rowSelector: '.fl', + rowValidClass: 'green', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const type = e.element.getAttribute('type'); + const parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + // Place it after the container of checkbox/radio + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Tooltip.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Tooltip.ts new file mode 100644 index 0000000..3b220bf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Tooltip.ts @@ -0,0 +1,219 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ElementValidatedEvent, ValidatorValidatedEvent } from '../core/Core'; +import Plugin from '../core/Plugin'; +import classSet from '../utils/classSet'; +import { IconPlacedEvent } from './Icon'; + +export interface TooltipOptions { + placement: string; + trigger: string; +} + +export default class Tooltip extends Plugin { + // Map the element with message + private messages: Map = new Map(); + private tip: HTMLElement; + private iconPlacedHandler: (e: IconPlacedEvent) => void; + private validatorValidatedHandler: (e: ValidatorValidatedEvent) => void; + private elementValidatedHandler: (e: ElementValidatedEvent) => void; + private documentClickHandler: EventListener; + + constructor(opts?: TooltipOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + placement: 'top', + trigger: 'click', + }, + opts + ); + + this.iconPlacedHandler = this.onIconPlaced.bind(this); + this.validatorValidatedHandler = this.onValidatorValidated.bind(this); + this.elementValidatedHandler = this.onElementValidated.bind(this); + this.documentClickHandler = this.onDocumentClicked.bind(this); + } + + public install(): void { + this.tip = document.createElement('div'); + classSet(this.tip, { + 'fv-plugins-tooltip': true, + [`fv-plugins-tooltip--${this.opts.placement}`]: true, + }); + document.body.appendChild(this.tip); + + this.core + .on('plugins.icon.placed', this.iconPlacedHandler) + .on('core.validator.validated', this.validatorValidatedHandler) + .on('core.element.validated', this.elementValidatedHandler); + + if ('click' === this.opts.trigger) { + document.addEventListener('click', this.documentClickHandler); + } + } + + public uninstall(): void { + this.messages.clear(); + document.body.removeChild(this.tip); + + this.core + .off('plugins.icon.placed', this.iconPlacedHandler) + .off('core.validator.validated', this.validatorValidatedHandler) + .off('core.element.validated', this.elementValidatedHandler); + + if ('click' === this.opts.trigger) { + document.removeEventListener('click', this.documentClickHandler); + } + } + + private onIconPlaced(e: IconPlacedEvent): void { + classSet(e.iconElement, { + 'fv-plugins-tooltip-icon': true, + }); + switch (this.opts.trigger) { + case 'hover': + e.iconElement.addEventListener('mouseenter', (evt) => + this.show(e.element, evt) + ); + e.iconElement.addEventListener('mouseleave', (_evt) => + this.hide() + ); + break; + + case 'click': + default: + e.iconElement.addEventListener('click', (evt) => + this.show(e.element, evt) + ); + break; + } + } + + private onValidatorValidated(e: ValidatorValidatedEvent): void { + if (!e.result.valid) { + const elements = e.elements; + const type = e.element.getAttribute('type'); + const ele = + 'radio' === type || 'checkbox' === type + ? elements[0] + : e.element; + + // Get the message + const message = + typeof e.result.message === 'string' + ? e.result.message + : e.result.message[this.core.getLocale()]; + + this.messages.set(ele, message); + } + } + + private onElementValidated(e: ElementValidatedEvent): void { + if (e.valid) { + // Clear the message + const elements = e.elements; + const type = e.element.getAttribute('type'); + const ele = + 'radio' === type || 'checkbox' === type + ? elements[0] + : e.element; + this.messages.delete(ele); + } + } + + private onDocumentClicked(_e: MouseEvent): void { + this.hide(); + } + + private show(ele: HTMLElement, e: MouseEvent): void { + e.preventDefault(); + e.stopPropagation(); + + if (!this.messages.has(ele)) { + return; + } + + classSet(this.tip, { + 'fv-plugins-tooltip--hide': false, + }); + this.tip.innerHTML = `
      ${this.messages.get( + ele + )}
      `; + + // Calculate position of the icon element + const icon = e.target as HTMLElement; + const targetRect = icon.getBoundingClientRect(); + const { height, width } = this.tip.getBoundingClientRect(); + let top = 0; + let left = 0; + switch (this.opts.placement) { + case 'bottom': + top = targetRect.top + targetRect.height; + left = targetRect.left + targetRect.width / 2 - width / 2; + break; + + case 'bottom-left': + top = targetRect.top + targetRect.height; + left = targetRect.left; + break; + + case 'bottom-right': + top = targetRect.top + targetRect.height; + left = targetRect.left + targetRect.width - width; + break; + + case 'left': + top = targetRect.top + targetRect.height / 2 - height / 2; + left = targetRect.left - width; + break; + + case 'right': + top = targetRect.top + targetRect.height / 2 - height / 2; + left = targetRect.left + targetRect.width; + break; + + case 'top-left': + top = targetRect.top - height; + left = targetRect.left; + break; + + case 'top-right': + top = targetRect.top - height; + left = targetRect.left + targetRect.width - width; + break; + + case 'top': + default: + top = targetRect.top - height; + left = targetRect.left + targetRect.width / 2 - width / 2; + break; + } + + const scrollTop = + window.pageYOffset || + document.documentElement.scrollTop || + document.body.scrollTop || + 0; + const scrollLeft = + window.pageXOffset || + document.documentElement.scrollLeft || + document.body.scrollLeft || + 0; + + top = top + scrollTop; + left = left + scrollLeft; + this.tip.setAttribute('style', `top: ${top}px; left: ${left}px`); + } + + private hide(): void { + classSet(this.tip, { + 'fv-plugins-tooltip--hide': true, + }); + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Transformer.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Transformer.ts new file mode 100644 index 0000000..b04c149 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Transformer.ts @@ -0,0 +1,59 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; + +export interface TransformerOptions { + [field: string]: { + [validator: string]: ( + field: string, + element: HTMLElement, + validator: string + ) => string; + }; +} + +export default class Transformer extends Plugin { + private valueFilter: ( + defaultValue: string, + field: string, + element: HTMLElement, + validator: string + ) => string; + + constructor(opts?: TransformerOptions) { + super(opts); + this.valueFilter = this.getElementValue.bind(this); + } + + public install(): void { + this.core.registerFilter('field-value', this.valueFilter); + } + + public uninstall(): void { + this.core.deregisterFilter('field-value', this.valueFilter); + } + + private getElementValue( + defaultValue: string, + field: string, + element: HTMLElement, + validator: string + ): string { + if ( + this.opts[field] && + this.opts[field][validator] && + 'function' === typeof this.opts[field][validator] + ) { + return this.opts[field][validator].apply(this, [ + field, + element, + validator, + ]); + } + return defaultValue; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Trigger.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Trigger.ts new file mode 100644 index 0000000..03669cf --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Trigger.ts @@ -0,0 +1,246 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { DynamicFieldEvent } from '../core/Core'; +import Plugin from '../core/Plugin'; + +export interface TriggerOptions { + delay?: + | number + | { + [field: string]: number; + }; + event: + | string + | { + [field: string]: boolean | string; + }; + // Only perform the validation if the field value exceed this number of characters + threshold?: + | number + | { + [field: string]: number; + }; +} + +export interface EventHandler { + element: HTMLElement; + event: string; + field: string; + handler: EventListener; +} +export interface TriggerExecutedEvent { + element: HTMLElement; + event: Event; + field: string; +} + +/** + * Indicate the events which the validation will be executed when these events are triggered + * + * ``` + * const fv = formValidation(form, { + * fields: { + * fullName: {}, + * email: {}, + * }, + * }); + * + * // Validate fields when the `blur` events are triggered + * fv.registerPlugin(Trigger, { + * event: 'blur', + * }); + * + * // We can indicate different events for each particular field + * fv.registerPlugin(Trigger, { + * event: { + * fullName: 'blur', + * email: 'change', + * }, + * }); + * + * // If we don't want the field to be validated automatically, set the associate value to `false` + * fv.registerPlugin(Trigger, { + * event: { + * email: false, // The field is only validated when we click the submit button of form + * }, + * }); + * ``` + */ +export default class Trigger extends Plugin { + private ieVersion?: number; + private defaultEvent: string; + private handlers: EventHandler[] = []; + private fieldAddedHandler: (e: DynamicFieldEvent) => void; + private fieldRemovedHandler: (e: DynamicFieldEvent) => void; + private timers: Map = new Map(); + + constructor(opts?: TriggerOptions) { + super(opts); + + const ele = document.createElement('div'); + this.defaultEvent = !('oninput' in ele) ? 'keyup' : 'input'; + this.opts = Object.assign( + {}, + { + delay: 0, + event: this.defaultEvent, + threshold: 0, + }, + opts + ); + + this.fieldAddedHandler = this.onFieldAdded.bind(this); + this.fieldRemovedHandler = this.onFieldRemoved.bind(this); + } + + public install(): void { + this.core + .on('core.field.added', this.fieldAddedHandler) + .on('core.field.removed', this.fieldRemovedHandler); + } + + public uninstall(): void { + this.handlers.forEach((item) => + item.element.removeEventListener(item.event, item.handler) + ); + this.handlers = []; + + this.timers.forEach((t) => window.clearTimeout(t)); + this.timers.clear(); + + this.core + .off('core.field.added', this.fieldAddedHandler) + .off('core.field.removed', this.fieldRemovedHandler); + } + + private prepareHandler(field: string, elements: HTMLElement[]): void { + elements.forEach((ele) => { + let events = []; + + if (!!this.opts.event && this.opts.event[field] === false) { + events = []; + } else if (!!this.opts.event && !!this.opts.event[field]) { + events = this.opts.event[field].split(' '); + } else if ( + 'string' === typeof this.opts.event && + this.opts.event !== this.defaultEvent + ) { + events = (this.opts.event as string).split(' '); + } else { + const type = ele.getAttribute('type'); + const tagName = ele.tagName.toLowerCase(); + + // IE10/11 fires the `input` event when focus on the field having a placeholder + const event = + 'radio' === type || + 'checkbox' === type || + 'file' === type || + 'select' === tagName + ? 'change' + : this.ieVersion >= 10 && + ele.getAttribute('placeholder') + ? 'keyup' + : this.defaultEvent; + events = [event]; + } + + events.forEach((evt) => { + const evtHandler = (e: Event) => + this.handleEvent(e, field, ele); + this.handlers.push({ + element: ele, + event: evt, + field, + handler: evtHandler, + }); + + ele.addEventListener(evt, evtHandler); + }); + }); + } + + private handleEvent(e: Event, field: string, ele: HTMLElement): void { + if ( + this.exceedThreshold(field, ele) && + this.core.executeFilter('plugins-trigger-should-validate', true, [ + field, + ele, + ]) + ) { + const handler = () => + this.core.validateElement(field, ele).then((_) => { + this.core.emit('plugins.trigger.executed', { + element: ele, + event: e, + field, + }); + }); + + const delay = this.opts.delay[field] || this.opts.delay; + if (delay === 0) { + handler(); + } else { + const timer = this.timers.get(ele); + if (timer) { + window.clearTimeout(timer); + } + this.timers.set(ele, window.setTimeout(handler, delay * 1000)); + } + } + } + + private onFieldAdded(e: DynamicFieldEvent): void { + this.handlers + .filter((item) => item.field === e.field) + .forEach((item) => + item.element.removeEventListener(item.event, item.handler) + ); + this.prepareHandler(e.field, e.elements); + } + + private onFieldRemoved(e: DynamicFieldEvent): void { + this.handlers + .filter( + (item) => + item.field === e.field && + e.elements.indexOf(item.element) >= 0 + ) + .forEach((item) => + item.element.removeEventListener(item.event, item.handler) + ); + } + + private exceedThreshold(field: string, element: HTMLElement): boolean { + const threshold = + this.opts.threshold[field] === 0 || this.opts.threshold === 0 + ? false + : this.opts.threshold[field] || this.opts.threshold; + if (!threshold) { + return true; + } + + // List of input type which user can't type in + const type = element.getAttribute('type'); + if ( + [ + 'button', + 'checkbox', + 'file', + 'hidden', + 'image', + 'radio', + 'reset', + 'submit', + ].indexOf(type) !== -1 + ) { + return true; + } + + const value = this.core.getElementValue(field, element); + return value.length >= threshold; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Turret.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Turret.ts new file mode 100644 index 0000000..04ace73 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Turret.ts @@ -0,0 +1,46 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +// Support Turretcss framework (https://turretcss.com/) +export default class Turret extends Framework { + constructor(opts?: FrameworkOptions) { + // See https://turretcss.com/docs/form/ + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-turret', + messageClass: 'form-message', + rowInvalidClass: 'fv-invalid-row', + rowPattern: /^field$/, + rowSelector: '.field', + rowValidClass: 'fv-valid-row', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const type = e.element.getAttribute('type'); + const parent = e.element.parentElement; + if ('checkbox' === type || 'radio' === type) { + // Place it after the container of checkbox/radio + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/TypingAnimation.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/TypingAnimation.ts new file mode 100644 index 0000000..4528e54 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/TypingAnimation.ts @@ -0,0 +1,91 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; + +export interface TypingAnimationOptions { + autoPlay?: boolean; + data: { + [field: string]: string[]; + }; +} +// See https://github.com/mattboldt/typed.js/blob/master/src/typed.js +interface Typed { + start(); + stop(); + toggle(); +} +declare var Typed: { + // eslint-disable-line no-var + prototype: Typed; + new (ele: HTMLElement, options: Record): Typed; +}; + +export default class TypingAnimation extends Plugin { + private fields: string[]; + + constructor(opts?: TypingAnimationOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + autoPlay: true, + }, + opts + ); + } + + public install(): void { + this.fields = Object.keys(this.core.getFields()); + if (this.opts.autoPlay) { + this.play(); + } + } + + public play(): Promise { + return this.animate(0); + } + + private animate(fieldIndex: number): Promise { + if (fieldIndex >= this.fields.length) { + return Promise.resolve(fieldIndex); + } + + const field = this.fields[fieldIndex]; + const ele = this.core.getElements(field)[0]; + const inputType = ele.getAttribute('type'); + const samples = this.opts.data[field]; + + if ('checkbox' === inputType || 'radio' === inputType) { + (ele as HTMLInputElement).checked = true; + ele.setAttribute('checked', 'true'); + return this.core.revalidateField(field).then((_status) => { + return this.animate(fieldIndex + 1); + }); + } else if (!samples) { + return this.animate(fieldIndex + 1); + } else { + return new Promise((resolve) => { + return new Typed(ele, { + attr: 'value', + autoInsertCss: true, + bindInputFocusEvents: true, + onComplete: () => { + resolve(fieldIndex + 1); + }, + onStringTyped: (arrayPos, _self) => { + (ele as HTMLInputElement).value = samples[arrayPos]; + this.core.revalidateField(field); + }, + strings: samples, + typeSpeed: 100, + }); + }).then((nextFieldIndex: number) => { + return this.animate(nextFieldIndex); + }); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Uikit.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Uikit.ts new file mode 100644 index 0000000..b716ed7 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Uikit.ts @@ -0,0 +1,44 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import classSet from '../utils/classSet'; +import Framework, { FrameworkOptions } from './Framework'; +import { IconPlacedEvent } from './Icon'; + +export default class Uikit extends Framework { + constructor(opts?: FrameworkOptions) { + super( + Object.assign( + {}, + { + formClass: 'fv-plugins-uikit', + // See https://getuikit.com/docs/text#text-color + messageClass: 'uk-text-danger', + rowInvalidClass: 'uk-form-danger', + rowPattern: /^.*(uk-form-controls|uk-width-[\d+]-[\d+]).*$/, + rowSelector: '.uk-margin', + // See https://getuikit.com/docs/form + rowValidClass: 'uk-form-success', + }, + opts + ) + ); + } + + protected onIconPlaced(e: IconPlacedEvent): void { + const type = e.element.getAttribute('type'); + if ('checkbox' === type || 'radio' === type) { + const parent = e.element.parentElement; + classSet(e.iconElement, { + 'fv-plugins-icon-check': true, + }); + parent.parentElement.insertBefore( + e.iconElement, + parent.nextSibling + ); + } + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/Wizard.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/Wizard.ts new file mode 100644 index 0000000..293454d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/Wizard.ts @@ -0,0 +1,192 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Plugin from '../core/Plugin'; +import classSet from '../utils/classSet'; +import Excluded from './Excluded'; + +export interface WizardOptions { + stepSelector: string; + prevButton: string; + nextButton: string; + onStepActive?: (WizardStepEvent) => void; + onStepInvalid?: (WizardStepEvent) => void; + onStepValid?: (WizardStepEvent) => void; + onValid?: (WizardValidEvent) => void; + activeStepClass?: string; + stepClass?: string; +} +export interface WizardStepEvent { + step: number; + numSteps: number; +} +export interface WizardValidEvent { + numSteps: number; +} + +export default class Wizard extends Plugin { + public static EXCLUDED_PLUGIN = '___wizardExcluded'; + + private prevButton: HTMLElement; + private nextButton: HTMLElement; + private prevStepHandler: () => void; + private nextStepHandler: () => void; + private steps: HTMLElement[]; + private currentStep = 0; + private numSteps = 0; + + constructor(opts?: WizardOptions) { + super(opts); + this.opts = Object.assign( + {}, + { + activeStepClass: 'fv-plugins-wizard--active', + onStepActive: () => {}, + onStepInvalid: () => {}, + onStepValid: () => {}, + onValid: () => {}, + stepClass: 'fv-plugins-wizard--step', + }, + opts + ); + + this.prevStepHandler = this.onClickPrev.bind(this); + this.nextStepHandler = this.onClickNext.bind(this); + } + + public install(): void { + this.core.registerPlugin(Wizard.EXCLUDED_PLUGIN, new Excluded()); + + const form = this.core.getFormElement(); + this.steps = [].slice.call( + form.querySelectorAll(this.opts.stepSelector) + ) as HTMLElement[]; + this.numSteps = this.steps.length; + this.steps.forEach((s) => { + classSet(s, { + [this.opts.stepClass]: true, + }); + }); + classSet(this.steps[0], { + [this.opts.activeStepClass]: true, + }); + + this.prevButton = form.querySelector(this.opts.prevButton); + this.nextButton = form.querySelector(this.opts.nextButton); + + this.prevButton.addEventListener('click', this.prevStepHandler); + this.nextButton.addEventListener('click', this.nextStepHandler); + } + + public uninstall(): void { + this.core.deregisterPlugin(Wizard.EXCLUDED_PLUGIN); + + this.prevButton.removeEventListener('click', this.prevStepHandler); + this.nextButton.removeEventListener('click', this.nextStepHandler); + } + + /** + * Get the current step index + */ + public getCurrentStep(): number { + return this.currentStep; + } + + /** + * Jump to the previous step + */ + public goToPrevStep(): void { + if (this.currentStep >= 1) { + // Activate the previous step + classSet(this.steps[this.currentStep], { + [this.opts.activeStepClass]: false, + }); + this.currentStep--; + classSet(this.steps[this.currentStep], { + [this.opts.activeStepClass]: true, + }); + this.onStepActive(); + } + } + + /** + * Jump to the next step. + * It's useful when users want to go to the next step automatically + * when a checkbox/radio button is chosen + */ + public goToNextStep(): void { + // When click the Next button, we will validate the current step + this.core.validate().then((status) => { + if (status === 'Valid') { + const nextStep = this.currentStep + 1; + if (nextStep >= this.numSteps) { + // The last step are valid + this.currentStep = this.numSteps - 1; + } else { + // Activate the next step + classSet(this.steps[this.currentStep], { + [this.opts.activeStepClass]: false, + }); + this.currentStep = nextStep; + classSet(this.steps[this.currentStep], { + [this.opts.activeStepClass]: true, + }); + } + this.onStepActive(); + this.onStepValid(); + + if (nextStep === this.numSteps) { + this.onValid(); + } + } else if (status === 'Invalid') { + this.onStepInvalid(); + } + }); + } + + private onClickPrev(): void { + this.goToPrevStep(); + } + + private onClickNext(): void { + this.goToNextStep(); + } + + private onStepActive() { + const e = { + numSteps: this.numSteps, + step: this.currentStep, + } as WizardStepEvent; + this.core.emit('plugins.wizard.step.active', e); + this.opts.onStepActive(e); + } + + private onStepValid() { + const e = { + numSteps: this.numSteps, + step: this.currentStep, + } as WizardStepEvent; + this.core.emit('plugins.wizard.step.valid', e); + this.opts.onStepValid(e); + } + + private onStepInvalid() { + const e = { + numSteps: this.numSteps, + step: this.currentStep, + } as WizardStepEvent; + this.core.emit('plugins.wizard.step.invalid', e); + this.opts.onStepInvalid(e); + } + + private onValid() { + const e = { + numSteps: this.numSteps, + } as WizardValidEvent; + this.core.emit('plugins.wizard.valid', e); + this.opts.onValid(e); + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/plugins/index.ts b/resources/assets/core/plugins/formvalidation/src/js/plugins/index.ts new file mode 100644 index 0000000..7309f25 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/plugins/index.ts @@ -0,0 +1,37 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import Alias from './Alias'; +import Aria from './Aria'; +import Declarative from './Declarative'; +import DefaultSubmit from './DefaultSubmit'; +import Dependency from './Dependency'; +import Excluded from './Excluded'; +import FieldStatus from './FieldStatus'; +import Framework from './Framework'; +import Icon from './Icon'; +import Message from './Message'; +import Sequence from './Sequence'; +import SubmitButton from './SubmitButton'; +import Tooltip from './Tooltip'; +import Trigger from './Trigger'; + +export default { + Alias, + Aria, + Declarative, + DefaultSubmit, + Dependency, + Excluded, + FieldStatus, + Framework, + Icon, + Message, + Sequence, + SubmitButton, + Tooltip, + Trigger, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/utils/call.ts b/resources/assets/core/plugins/formvalidation/src/js/utils/call.ts new file mode 100644 index 0000000..a174095 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/utils/call.ts @@ -0,0 +1,41 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +/** + * Execute a callback function + * + * @param {Function | string} functionName Can be + * - name of global function + * - name of namespace function (such as A.B.C) + * - a function + * @param {any[]} args The callback arguments + * @return {any} + */ +export default function call( + functionName: ((...arg: unknown[]) => unknown) | string, + args: unknown[] +): unknown { + if ('function' === typeof functionName) { + return functionName.apply(this, args); + } else if ('string' === typeof functionName) { + // Node that it doesn't support node.js based environment because we are trying to access `window` + let name = functionName as string; + if ('()' === name.substring(name.length - 2)) { + name = name.substring(0, name.length - 2); + } + const ns = name.split('.'); + const func = ns.pop(); + + let context = window; + for (const t of ns) { + context = context[t]; + } + + return typeof context[func] === 'undefined' + ? null + : context[func].apply(this, args); + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/utils/classSet.ts b/resources/assets/core/plugins/formvalidation/src/js/utils/classSet.ts new file mode 100644 index 0000000..48fb3bd --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/utils/classSet.ts @@ -0,0 +1,48 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +function addClass(element: Element, classes: string): void { + classes.split(' ').forEach((clazz) => { + if (element.classList) { + element.classList.add(clazz); + } else if (` ${element.className} `.indexOf(` ${clazz} `)) { + element.className += ` ${clazz}`; + } + }); +} + +function removeClass(element: Element, classes: string): void { + classes.split(' ').forEach((clazz) => { + element.classList + ? element.classList.remove(clazz) + : (element.className = element.className.replace(clazz, '')); + }); +} + +export default function classSet( + element: Element, + classes: { [clazz: string]: boolean } +): void { + const adding = []; + const removing = []; + + Object.keys(classes).forEach((clazz) => { + if (clazz) { + classes[clazz] ? adding.push(clazz) : removing.push(clazz); + } + }); + + // Always remove before adding class because there might be a class which belong to both sets. + // For example, the element will have class `a` after calling + // ``` + // classSet(element, { + // 'a a1 a2': true, + // 'a b1 b2': false + // }) + // ``` + removing.forEach((clazz) => removeClass(element, clazz)); + adding.forEach((clazz) => addClass(element, clazz)); +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/utils/closest.ts b/resources/assets/core/plugins/formvalidation/src/js/utils/closest.ts new file mode 100644 index 0000000..aa375ba --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/utils/closest.ts @@ -0,0 +1,37 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +function matches(element: HTMLElement, selector: string): boolean { + const nativeMatches = + element.matches || + element.webkitMatchesSelector || + element['mozMatchesSelector'] || + element['msMatchesSelector']; + if (nativeMatches) { + return nativeMatches.call(element, selector); + } + + // In case `matchesselector` isn't supported (such as IE10) + // See http://caniuse.com/matchesselector + const nodes = [].slice.call( + element.parentElement.querySelectorAll(selector) + ) as HTMLElement[]; + return nodes.indexOf(element) >= 0; +} + +export default function closest( + element: HTMLElement, + selector: string +): HTMLElement { + let ele = element; + while (ele) { + if (matches(ele, selector)) { + break; + } + ele = ele.parentElement; + } + return ele; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/utils/fetch.ts b/resources/assets/core/plugins/formvalidation/src/js/utils/fetch.ts new file mode 100644 index 0000000..4ecb426 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/utils/fetch.ts @@ -0,0 +1,103 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +export interface FetchOptions { + // Does it request to other domain? Default value is `false` + crossDomain?: boolean; + // Additional headers + headers?: { + [name: string]: string; + }; + // The request method. For example, `GET` (default), `POST` + method?: string; + params: Record; +} + +export default function fetch( + url: string, + options: FetchOptions +): Promise { + const toQuery = (obj: Record) => { + return Object.keys(obj) + .map( + (k) => `${encodeURIComponent(k)}=${encodeURIComponent(obj[k])}` + ) + .join('&'); + }; + + return new Promise((resolve, reject) => { + const opts = Object.assign( + {}, + { + crossDomain: false, + headers: {}, + method: 'GET', + params: {}, + }, + options + ); + + // Build the params for GET request + const params = Object.keys(opts.params) + .map( + (k) => + `${encodeURIComponent(k)}=${encodeURIComponent( + opts.params[k] + )}` + ) + .join('&'); + const hasQuery = url.indexOf('?'); + const requestUrl = + 'GET' === opts.method + ? `${url}${hasQuery ? '?' : '&'}${params}` + : url; + + if (opts.crossDomain) { + // User is making cross domain request + const script = document.createElement('script'); + const callback = `___fetch${Date.now()}___`; + window[callback] = (data) => { + delete window[callback]; + resolve(data); + }; + script.src = `${requestUrl}${ + hasQuery ? '&' : '?' + }callback=${callback}`; + script.async = true; + + script.addEventListener('load', () => { + script.parentNode.removeChild(script); + }); + script.addEventListener('error', () => reject); + + document.head.appendChild(script); + } else { + const request = new XMLHttpRequest(); + request.open(opts.method, requestUrl); + + // Set the headers + request.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); + if ('POST' === opts.method) { + request.setRequestHeader( + 'Content-Type', + 'application/x-www-form-urlencoded' + ); + } + Object.keys(opts.headers).forEach((k) => + request.setRequestHeader(k, opts.headers[k]) + ); + + request.addEventListener('load', function () { + // Cannot use arrow function here due to the `this` scope + resolve(JSON.parse(this.responseText)); + }); + request.addEventListener('error', () => reject); + + // GET request will ignore the passed data here + request.send(toQuery(opts.params)); + } + }); +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/utils/format.ts b/resources/assets/core/plugins/formvalidation/src/js/utils/format.ts new file mode 100644 index 0000000..abb8477 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/utils/format.ts @@ -0,0 +1,27 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +/** + * Format a string + * It's used to format the error message + * format('The field must between %s and %s', [10, 20]) = 'The field must between 10 and 20' + * + * @param {string} message + * @param {string|string[]} parameters + * @returns {string} + */ +export default function format( + message: string, + parameters: string | string[] +): string { + const params = Array.isArray(parameters) ? parameters : [parameters]; + let output = message; + params.forEach((p) => { + output = output.replace('%s', p); + }); + + return output; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/utils/hasClass.ts b/resources/assets/core/plugins/formvalidation/src/js/utils/hasClass.ts new file mode 100644 index 0000000..d700830 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/utils/hasClass.ts @@ -0,0 +1,11 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +export default function hasClass(element: Element, clazz: string): boolean { + return element.classList + ? element.classList.contains(clazz) + : new RegExp(`(^| )${clazz}( |$)`, 'gi').test(element.className); +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/utils/index.ts b/resources/assets/core/plugins/formvalidation/src/js/utils/index.ts new file mode 100644 index 0000000..7727e81 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/utils/index.ts @@ -0,0 +1,23 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import call from './call'; +import classSet from './classSet'; +import closest from './closest'; +import fetch from './fetch'; +import format from './format'; +import hasClass from './hasClass'; +import isValidDate from './isValidDate'; + +export default { + call, + classSet, + closest, + fetch, + format, + hasClass, + isValidDate, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/utils/isValidDate.ts b/resources/assets/core/plugins/formvalidation/src/js/utils/isValidDate.ts new file mode 100644 index 0000000..5f352da --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/utils/isValidDate.ts @@ -0,0 +1,65 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +/** + * Validate a date + * + * @param {string} year The full year in 4 digits + * @param {string} month The month number + * @param {string} day The day number + * @param {boolean} [notInFuture] If true, the date must not be in the future + * @returns {boolean} + */ +export default function isValidDate( + year: number, + month: number, + day: number, + notInFuture?: boolean +): boolean { + if (isNaN(year) || isNaN(month) || isNaN(day)) { + return false; + } + + if (year < 1000 || year > 9999 || month <= 0 || month > 12) { + return false; + } + const numDays = [ + 31, + // Update the number of days in Feb of leap year + year % 400 === 0 || (year % 100 !== 0 && year % 4 === 0) ? 29 : 28, + 31, + 30, + 31, + 30, + 31, + 31, + 30, + 31, + 30, + 31, + ]; + + // Check the day + if (day <= 0 || day > numDays[month - 1]) { + return false; + } + + if (notInFuture === true) { + const currentDate = new Date(); + const currentYear = currentDate.getFullYear(); + const currentMonth = currentDate.getMonth(); + const currentDay = currentDate.getDate(); + return ( + year < currentYear || + (year === currentYear && month - 1 < currentMonth) || + (year === currentYear && + month - 1 === currentMonth && + day < currentDay) + ); + } + + return true; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/base64.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/base64.ts new file mode 100644 index 0000000..23b276e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/base64.ts @@ -0,0 +1,32 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function base64(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + return { + valid: + input.value === '' || + /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/.test( + input.value + ), + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/between.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/between.ts new file mode 100644 index 0000000..327e67c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/between.ts @@ -0,0 +1,78 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import format from '../utils/format'; + +export interface BetweenOptions extends ValidateOptions { + // Default is true + inclusive: boolean; + max?: number; + min?: number; +} +export interface BetweenLocalization extends Localization { + between: { + default: string; + notInclusive: string; + }; +} + +export default function between(): ValidateFunctionInterface< + BetweenOptions, + ValidateResult +> { + const formatValue = (value: number) => { + return parseFloat(`${value}`.replace(',', '.')); + }; + + return { + validate( + input: ValidateInput + ): ValidateResult { + const value = input.value; + if (value === '') { + return { valid: true }; + } + + const opts = Object.assign( + {}, + { inclusive: true, message: '' }, + input.options + ); + const minValue = formatValue(opts.min); + const maxValue = formatValue(opts.max); + return opts.inclusive + ? { + message: format( + input.l10n + ? opts.message || input.l10n.between.default + : opts.message, + [`${minValue}`, `${maxValue}`] + ), + valid: + parseFloat(value) >= minValue && + parseFloat(value) <= maxValue, + } + : { + message: format( + input.l10n + ? opts.message || input.l10n.between.notInclusive + : opts.message, + [`${minValue}`, `${maxValue}`] + ), + valid: + parseFloat(value) > minValue && + parseFloat(value) < maxValue, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/bic.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/bic.ts new file mode 100644 index 0000000..584644e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/bic.ts @@ -0,0 +1,38 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +/** + * Validate an Business Identifier Code (BIC), also known as ISO 9362, SWIFT-BIC, SWIFT ID or SWIFT code + * For more information see http://en.wikipedia.org/wiki/ISO_9362 + * + * @todo The 5 and 6 characters are an ISO 3166-1 country code, this could also be validated + */ +export default function bic(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + return { + valid: + input.value === '' || + /^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$/.test( + input.value + ), + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/blank.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/blank.ts new file mode 100644 index 0000000..ec4d080 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/blank.ts @@ -0,0 +1,30 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +/** + * This validator always returns valid. + * It can be used when we want to show the custom message returned from server + */ +export default function blank(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + validate( + _input: ValidateInput + ): ValidateResult { + return { valid: true }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/callback.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/callback.ts new file mode 100644 index 0000000..ba2d952 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/callback.ts @@ -0,0 +1,34 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import call from '../utils/call'; + +export interface CallbackOptions extends ValidateOptions { + callback: ((...arg: unknown[]) => unknown) | string; +} + +export default function callback(): ValidateFunctionInterface< + CallbackOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + const response = call(input.options.callback, [input]); + return 'boolean' === typeof response + ? { valid: response } // Deprecated + : (response as ValidateResult); + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/choice.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/choice.ts new file mode 100644 index 0000000..b06bc58 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/choice.ts @@ -0,0 +1,93 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import format from '../utils/format'; + +export interface ChoiceOptions extends ValidateOptions { + max?: number; + min?: number; +} +export interface ChoiceLocalization extends Localization { + choice: { + between: string; + default: string; + less: string; + more: string; + }; +} + +export default function choice(): ValidateFunctionInterface< + ChoiceOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + const numChoices = + 'select' === input.element.tagName.toLowerCase() + ? input.element.querySelectorAll('option:checked').length + : input.elements.filter( + (ele) => (ele as HTMLInputElement).checked + ).length; + + const min = input.options.min ? `${input.options.min}` : ''; + const max = input.options.max ? `${input.options.max}` : ''; + let msg = input.l10n + ? input.options.message || input.l10n.choice.default + : input.options.message; + + const isValid = !( + (min && numChoices < parseInt(min, 10)) || + (max && numChoices > parseInt(max, 10)) + ); + + switch (true) { + case !!min && !!max: + msg = format( + input.l10n + ? input.l10n.choice.between + : input.options.message, + [min, max] + ); + break; + + case !!min: + msg = format( + input.l10n + ? input.l10n.choice.more + : input.options.message, + min + ); + break; + + case !!max: + msg = format( + input.l10n + ? input.l10n.choice.less + : input.options.message, + max + ); + break; + + default: + break; + } + + return { + message: msg, + valid: isValid, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/color.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/color.ts new file mode 100644 index 0000000..5573359 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/color.ts @@ -0,0 +1,291 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export interface ColorOptions extends ValidateOptions { + // The array of valid color types + // For example: 'hex', 'hex rgb', ['hex', 'rgb'] + type: string | string[]; +} + +export default function color(): ValidateFunctionInterface< + ColorOptions, + ValidateResult +> { + const SUPPORTED_TYPES = ['hex', 'rgb', 'rgba', 'hsl', 'hsla', 'keyword']; + + const KEYWORD_COLORS = [ + // Colors start with A + 'aliceblue', + 'antiquewhite', + 'aqua', + 'aquamarine', + 'azure', + // B + 'beige', + 'bisque', + 'black', + 'blanchedalmond', + 'blue', + 'blueviolet', + 'brown', + 'burlywood', + // C + 'cadetblue', + 'chartreuse', + 'chocolate', + 'coral', + 'cornflowerblue', + 'cornsilk', + 'crimson', + 'cyan', + // D + 'darkblue', + 'darkcyan', + 'darkgoldenrod', + 'darkgray', + 'darkgreen', + 'darkgrey', + 'darkkhaki', + 'darkmagenta', + 'darkolivegreen', + 'darkorange', + 'darkorchid', + 'darkred', + 'darksalmon', + 'darkseagreen', + 'darkslateblue', + 'darkslategray', + 'darkslategrey', + 'darkturquoise', + 'darkviolet', + 'deeppink', + 'deepskyblue', + 'dimgray', + 'dimgrey', + 'dodgerblue', + // F + 'firebrick', + 'floralwhite', + 'forestgreen', + 'fuchsia', + // G + 'gainsboro', + 'ghostwhite', + 'gold', + 'goldenrod', + 'gray', + 'green', + 'greenyellow', + 'grey', + // H + 'honeydew', + 'hotpink', + // I + 'indianred', + 'indigo', + 'ivory', + // K + 'khaki', + // L + 'lavender', + 'lavenderblush', + 'lawngreen', + 'lemonchiffon', + 'lightblue', + 'lightcoral', + 'lightcyan', + 'lightgoldenrodyellow', + 'lightgray', + 'lightgreen', + 'lightgrey', + 'lightpink', + 'lightsalmon', + 'lightseagreen', + 'lightskyblue', + 'lightslategray', + 'lightslategrey', + 'lightsteelblue', + 'lightyellow', + 'lime', + 'limegreen', + 'linen', + // M + 'magenta', + 'maroon', + 'mediumaquamarine', + 'mediumblue', + 'mediumorchid', + 'mediumpurple', + 'mediumseagreen', + 'mediumslateblue', + 'mediumspringgreen', + 'mediumturquoise', + 'mediumvioletred', + 'midnightblue', + 'mintcream', + 'mistyrose', + 'moccasin', + // N + 'navajowhite', + 'navy', + // O + 'oldlace', + 'olive', + 'olivedrab', + 'orange', + 'orangered', + 'orchid', + // P + 'palegoldenrod', + 'palegreen', + 'paleturquoise', + 'palevioletred', + 'papayawhip', + 'peachpuff', + 'peru', + 'pink', + 'plum', + 'powderblue', + 'purple', + // R + 'red', + 'rosybrown', + 'royalblue', + // S + 'saddlebrown', + 'salmon', + 'sandybrown', + 'seagreen', + 'seashell', + 'sienna', + 'silver', + 'skyblue', + 'slateblue', + 'slategray', + 'slategrey', + 'snow', + 'springgreen', + 'steelblue', + // T + 'tan', + 'teal', + 'thistle', + 'tomato', + 'transparent', + 'turquoise', + // V + 'violet', + // W + 'wheat', + 'white', + 'whitesmoke', + // Y + 'yellow', + 'yellowgreen', + ]; + + const hex = (value: string) => { + return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(value); + }; + + const hsl = (value: string) => { + return /^hsl\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test( + value + ); + }; + + const hsla = (value: string) => { + return /^hsla\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test( + value + ); + }; + + const keyword = (value: string) => { + return KEYWORD_COLORS.indexOf(value) >= 0; + }; + + const rgb = (value: string) => { + return ( + /^rgb\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){2}(\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*)\)$/.test( + value + ) || + /^rgb\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test( + value + ) + ); + }; + + const rgba = (value: string) => { + return ( + /^rgba\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test( + value + ) || + /^rgba\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test( + value + ) + ); + }; + + return { + /** + * Return true if the input value is a valid color + * @returns {boolean} + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const types = + typeof input.options.type === 'string' + ? input.options.type.toString().replace(/s/g, '').split(',') + : input.options.type || SUPPORTED_TYPES; + for (const type of types) { + const tpe = type.toLowerCase(); + if (SUPPORTED_TYPES.indexOf(tpe) === -1) { + continue; + } + let result = true; + switch (tpe) { + case 'hex': + result = hex(input.value); + break; + case 'hsl': + result = hsl(input.value); + break; + case 'hsla': + result = hsla(input.value); + break; + case 'keyword': + result = keyword(input.value); + break; + case 'rgb': + result = rgb(input.value); + break; + case 'rgba': + result = rgba(input.value); + break; + } + + if (result) { + return { valid: true }; + } + } + + return { valid: false }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/creditCard.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/creditCard.ts new file mode 100644 index 0000000..fae01d6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/creditCard.ts @@ -0,0 +1,241 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import luhn from '../algorithms/luhn'; +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +const CREDIT_CARD_TYPES = { + AMERICAN_EXPRESS: { + length: [15], + prefix: ['34', '37'], + }, + DANKORT: { + length: [16], + prefix: ['5019'], + }, + DINERS_CLUB: { + length: [14], + prefix: ['300', '301', '302', '303', '304', '305', '36'], + }, + DINERS_CLUB_US: { + length: [16], + prefix: ['54', '55'], + }, + DISCOVER: { + length: [16], + prefix: [ + '6011', + '622126', + '622127', + '622128', + '622129', + '62213', + '62214', + '62215', + '62216', + '62217', + '62218', + '62219', + '6222', + '6223', + '6224', + '6225', + '6226', + '6227', + '6228', + '62290', + '62291', + '622920', + '622921', + '622922', + '622923', + '622924', + '622925', + '644', + '645', + '646', + '647', + '648', + '649', + '65', + ], + }, + ELO: { + length: [16], + prefix: [ + '4011', + '4312', + '4389', + '4514', + '4573', + '4576', + '5041', + '5066', + '5067', + '509', + '6277', + '6362', + '6363', + '650', + '6516', + '6550', + ], + }, + FORBRUGSFORENINGEN: { + length: [16], + prefix: ['600722'], + }, + JCB: { + length: [16], + prefix: ['3528', '3529', '353', '354', '355', '356', '357', '358'], + }, + LASER: { + length: [16, 17, 18, 19], + prefix: ['6304', '6706', '6771', '6709'], + }, + MAESTRO: { + length: [12, 13, 14, 15, 16, 17, 18, 19], + prefix: [ + '5018', + '5020', + '5038', + '5868', + '6304', + '6759', + '6761', + '6762', + '6763', + '6764', + '6765', + '6766', + ], + }, + MASTERCARD: { + length: [16], + prefix: ['51', '52', '53', '54', '55'], + }, + SOLO: { + length: [16, 18, 19], + prefix: ['6334', '6767'], + }, + UNIONPAY: { + length: [16, 17, 18, 19], + prefix: [ + '622126', + '622127', + '622128', + '622129', + '62213', + '62214', + '62215', + '62216', + '62217', + '62218', + '62219', + '6222', + '6223', + '6224', + '6225', + '6226', + '6227', + '6228', + '62290', + '62291', + '622920', + '622921', + '622922', + '622923', + '622924', + '622925', + ], + }, + VISA: { + length: [16], + prefix: ['4'], + }, + VISA_ELECTRON: { + length: [16], + prefix: ['4026', '417500', '4405', '4508', '4844', '4913', '4917'], + }, +}; + +export default function creditCard(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Return true if the input value is valid credit card number + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { + meta: { + type: null, + }, + valid: true, + }; + } + + // Accept only digits, dashes or spaces + if (/[^0-9-\s]+/.test(input.value)) { + return { + meta: { + type: null, + }, + valid: false, + }; + } + + const v = input.value.replace(/\D/g, ''); + if (!luhn(v)) { + return { + meta: { + type: null, + }, + valid: false, + }; + } + + for (const tpe of Object.keys(CREDIT_CARD_TYPES)) { + for (const i in CREDIT_CARD_TYPES[tpe].prefix) { + // Check the prefix and length + if ( + input.value.substr( + 0, + CREDIT_CARD_TYPES[tpe].prefix[i].length + ) === CREDIT_CARD_TYPES[tpe].prefix[i] && + CREDIT_CARD_TYPES[tpe].length.indexOf(v.length) !== -1 + ) { + return { + meta: { + type: tpe, + }, + valid: true, + }; + } + } + } + + return { + meta: { + type: null, + }, + valid: false, + }; + }, + }; +} + +export { CREDIT_CARD_TYPES }; diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/cusip.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/cusip.ts new file mode 100644 index 0000000..ce860f4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/cusip.ts @@ -0,0 +1,70 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function cusip(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Validate a CUSIP number + * @see http://en.wikipedia.org/wiki/CUSIP + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const value = input.value.toUpperCase(); + + // O, I aren't allowed + if (!/^[0123456789ABCDEFGHJKLMNPQRSTUVWXYZ*@#]{9}$/.test(value)) { + return { valid: false }; + } + + // Get the last char + const chars = value.split(''); + const lastChar = chars.pop(); + + const converted = chars.map((c) => { + const code = c.charCodeAt(0); + switch (true) { + case c === '*': + return 36; + case c === '@': + return 37; + case c === '#': + return 38; + // Replace A, B, C, ..., Z with 10, 11, ..., 35 + case code >= 'A'.charCodeAt(0) && code <= 'Z'.charCodeAt(0): + return code - 'A'.charCodeAt(0) + 10; + default: + return parseInt(c, 10); + } + }); + + const sum = converted + .map((v, i) => { + const double = i % 2 === 0 ? v : 2 * v; + return Math.floor(double / 10) + (double % 10); + }) + .reduce((a, b) => a + b, 0); + const checkDigit = (10 - (sum % 10)) % 10; + + return { valid: lastChar === `${checkDigit}` }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/date.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/date.ts new file mode 100644 index 0000000..d0e991c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/date.ts @@ -0,0 +1,391 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import format from '../utils/format'; +import isValidDate from '../utils/isValidDate'; + +type CompareDateCallback = () => string | Date; + +export interface DateOptions extends ValidateOptions { + // The date format. Default is MM/DD/YYYY + // The format can be: + // - date: Consist of DD, MM, YYYY parts which are separated by the separator option + // - date and time: The time can consist of h, m, s parts which are separated by : + // - date, time and A (indicating AM or PM) + format: string; + // The maximum date + max?: string | Date | CompareDateCallback; + // The minimum date + min?: string | Date | CompareDateCallback; + // Use to separate the date, month, and year. By default, it is / + separator?: string; +} +export interface DateLocalization extends Localization { + date: { + default: string; + max: string; + min: string; + range: string; + }; +} + +export default function date(): ValidateFunctionInterface< + DateOptions, + ValidateResult +> { + /** + * Return a date object after parsing the date string + * + * @param {string} input The date to parse + * @param {string[]} inputFormat The date format + * The format can be: + * - date: Consist of DD, MM, YYYY parts which are separated by the separator option + * - date and time: The time can consist of h, m, s parts which are separated by : + * @param {string} separator The separator used to separate the date, month, and year + * @return {Date} + * @private + */ + const parseDate = ( + input: string, + inputFormat: string[], + separator: string + ) => { + // Ensure that the format must consist of year, month and day patterns + const yearIndex = inputFormat.indexOf('YYYY'); + const monthIndex = inputFormat.indexOf('MM'); + const dayIndex = inputFormat.indexOf('DD'); + if (yearIndex === -1 || monthIndex === -1 || dayIndex === -1) { + return null; + } + + const sections = (input as string).split(' '); + const dateSection = sections[0].split(separator); + if (dateSection.length < 3) { + return null; + } + + const d = new Date( + parseInt(dateSection[yearIndex], 10), + parseInt(dateSection[monthIndex], 10) - 1, + parseInt(dateSection[dayIndex], 10) + ); + if (sections.length > 1) { + const timeSection = sections[1].split(':'); + d.setHours( + timeSection.length > 0 ? parseInt(timeSection[0], 10) : 0 + ); + d.setMinutes( + timeSection.length > 1 ? parseInt(timeSection[1], 10) : 0 + ); + d.setSeconds( + timeSection.length > 2 ? parseInt(timeSection[2], 10) : 0 + ); + } + + return d; + }; + + /** + * Format date + * + * @param {Date} input The date object to format + * @param {string} inputFormat The date format + * The format can consist of the following tokens: + * d Day of the month without leading zeros (1 through 31) + * dd Day of the month with leading zeros (01 through 31) + * m Month without leading zeros (1 through 12) + * mm Month with leading zeros (01 through 12) + * yy Last two digits of year (for example: 14) + * yyyy Full four digits of year (for example: 2014) + * h Hours without leading zeros (1 through 12) + * hh Hours with leading zeros (01 through 12) + * H Hours without leading zeros (0 through 23) + * HH Hours with leading zeros (00 through 23) + * M Minutes without leading zeros (0 through 59) + * MM Minutes with leading zeros (00 through 59) + * s Seconds without leading zeros (0 through 59) + * ss Seconds with leading zeros (00 through 59) + * @return {string} + * @private + */ + const formatDate = (input: Date, inputFormat: string) => { + const dateFormat = inputFormat + .replace(/Y/g, 'y') + .replace(/M/g, 'm') + .replace(/D/g, 'd') + .replace(/:m/g, ':M') + .replace(/:mm/g, ':MM') + .replace(/:S/, ':s') + .replace(/:SS/, ':ss'); + + const d = input.getDate(); + const dd = d < 10 ? `0${d}` : d; + const m = input.getMonth() + 1; + const mm = m < 10 ? `0${m}` : m; + const yy = `${input.getFullYear()}`.substr(2); + const yyyy = input.getFullYear(); + const h = input.getHours() % 12 || 12; + const hh = h < 10 ? `0${h}` : h; + const H = input.getHours(); + const HH = H < 10 ? `0${H}` : H; + const M = input.getMinutes(); + const MM = M < 10 ? `0${M}` : M; + const s = input.getSeconds(); + const ss = s < 10 ? `0${s}` : s; + + const replacer = { + H: `${H}`, + HH: `${HH}`, + M: `${M}`, + MM: `${MM}`, + d: `${d}`, + dd: `${dd}`, + h: `${h}`, + hh: `${hh}`, + m: `${m}`, + mm: `${mm}`, + s: `${s}`, + ss: `${ss}`, + yy: `${yy}`, + yyyy: `${yyyy}`, + }; + + return dateFormat.replace( + /d{1,4}|m{1,4}|yy(?:yy)?|([HhMs])\1?|"[^"]*"|'[^']*'/g, + (match) => { + return replacer[match] + ? replacer[match] + : match.slice(1, match.length - 1); + } + ); + }; + + return { + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { + meta: { + date: null, + }, + valid: true, + }; + } + const opts = Object.assign( + {}, + { + // Force the format to `YYYY-MM-DD` as the default browser behaviour when using type="date" attribute + format: + input.element && + input.element.getAttribute('type') === 'date' + ? 'YYYY-MM-DD' + : 'MM/DD/YYYY', + message: '', + }, + input.options + ); + + const message = input.l10n ? input.l10n.date.default : opts.message; + const invalidResult = { + message: `${message}`, + meta: { + date: null, + }, + valid: false, + }; + + const formats = opts.format.split(' '); + const timeFormat = formats.length > 1 ? formats[1] : null; + const amOrPm = formats.length > 2 ? formats[2] : null; + const sections = input.value.split(' '); + const dateSection = sections[0]; + const timeSection = sections.length > 1 ? sections[1] : null; + + if (formats.length !== sections.length) { + return invalidResult; + } + + // Determine the separator + const separator = + opts.separator || + (dateSection.indexOf('/') !== -1 + ? '/' + : dateSection.indexOf('-') !== -1 + ? '-' + : dateSection.indexOf('.') !== -1 + ? '.' + : '/'); + if (separator === null || dateSection.indexOf(separator) === -1) { + return invalidResult; + } + + // Determine the date + const dateStr = dateSection.split(separator); + const dateFormat = formats[0].split(separator); + if (dateStr.length !== dateFormat.length) { + return invalidResult; + } + + const yearStr = dateStr[dateFormat.indexOf('YYYY')]; + const monthStr = dateStr[dateFormat.indexOf('MM')]; + const dayStr = dateStr[dateFormat.indexOf('DD')]; + if ( + !/^\d+$/.test(yearStr) || + !/^\d+$/.test(monthStr) || + !/^\d+$/.test(dayStr) || + yearStr.length > 4 || + monthStr.length > 2 || + dayStr.length > 2 + ) { + return invalidResult; + } + + const year = parseInt(yearStr, 10); + const month = parseInt(monthStr, 10); + const day = parseInt(dayStr, 10); + if (!isValidDate(year, month, day)) { + return invalidResult; + } + + // Determine the time + const d = new Date(year, month - 1, day); + if (timeFormat) { + const hms = timeSection.split(':'); + if (timeFormat.split(':').length !== hms.length) { + return invalidResult; + } + + const h = + hms.length > 0 + ? hms[0].length <= 2 && /^\d+$/.test(hms[0]) + ? parseInt(hms[0], 10) + : -1 + : 0; + const m = + hms.length > 1 + ? hms[1].length <= 2 && /^\d+$/.test(hms[1]) + ? parseInt(hms[1], 10) + : -1 + : 0; + const s = + hms.length > 2 + ? hms[2].length <= 2 && /^\d+$/.test(hms[2]) + ? parseInt(hms[2], 10) + : -1 + : 0; + + if (h === -1 || m === -1 || s === -1) { + return invalidResult; + } + + // Validate seconds + if (s < 0 || s > 60) { + return invalidResult; + } + + // Validate hours + if (h < 0 || h >= 24 || (amOrPm && h > 12)) { + return invalidResult; + } + + // Validate minutes + if (m < 0 || m > 59) { + return invalidResult; + } + + d.setHours(h); + d.setMinutes(m); + d.setSeconds(s); + } + + // Validate day, month, and year + const minOption = + typeof opts.min === 'function' ? opts.min() : opts.min; + const min = + minOption instanceof Date + ? (minOption as Date) + : minOption + ? parseDate(minOption as string, dateFormat, separator) + : d; + + const maxOption = + typeof opts.max === 'function' ? opts.max() : opts.max; + const max = + maxOption instanceof Date + ? (maxOption as Date) + : maxOption + ? parseDate(maxOption as string, dateFormat, separator) + : d; + + // In order to avoid displaying a date string like "Mon Dec 08 2014 19:14:12 GMT+0000 (WET)" + const minOptionStr = + minOption instanceof Date + ? formatDate(min, opts.format) + : (minOption as string); + const maxOptionStr = + maxOption instanceof Date + ? formatDate(max, opts.format) + : (maxOption as string); + + switch (true) { + case !!minOptionStr && !maxOptionStr: + return { + message: format( + input.l10n ? input.l10n.date.min : message, + minOptionStr + ), + meta: { + date: d, + }, + valid: d.getTime() >= min.getTime(), + }; + + case !!maxOptionStr && !minOptionStr: + return { + message: format( + input.l10n ? input.l10n.date.max : message, + maxOptionStr + ), + meta: { + date: d, + }, + valid: d.getTime() <= max.getTime(), + }; + + case !!maxOptionStr && !!minOptionStr: + return { + message: format( + input.l10n ? input.l10n.date.range : message, + [minOptionStr, maxOptionStr] + ), + meta: { + date: d, + }, + valid: + d.getTime() <= max.getTime() && + d.getTime() >= min.getTime(), + }; + + default: + return { + message: `${message}`, + meta: { + date: d, + }, + valid: true, + }; + } + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/different.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/different.ts new file mode 100644 index 0000000..06ad0a0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/different.ts @@ -0,0 +1,41 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +type CompareDifferentCallback = () => string; + +export interface DifferentOptions extends ValidateOptions { + compare: string | CompareDifferentCallback; +} + +export default function different(): ValidateFunctionInterface< + DifferentOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + const compareWith = + 'function' === typeof input.options.compare + ? (input.options.compare as CompareDifferentCallback).call( + this + ) + : (input.options.compare as string); + + return { + valid: compareWith === '' || input.value !== compareWith, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/digits.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/digits.ts new file mode 100644 index 0000000..5d76943 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/digits.ts @@ -0,0 +1,29 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function digits(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Return true if the input value contains digits only + */ + validate( + input: ValidateInput + ): ValidateResult { + return { valid: input.value === '' || /^\d+$/.test(input.value) }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/ean.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/ean.ts new file mode 100644 index 0000000..3290106 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/ean.ts @@ -0,0 +1,45 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function ean(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Validate EAN (International Article Number) + * @see http://en.wikipedia.org/wiki/European_Article_Number + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + if (!/^(\d{8}|\d{12}|\d{13}|\d{14})$/.test(input.value)) { + return { valid: false }; + } + + const length = input.value.length; + let sum = 0; + const weight = length === 8 ? [3, 1] : [1, 3]; + for (let i = 0; i < length - 1; i++) { + sum += parseInt(input.value.charAt(i), 10) * weight[i % 2]; + } + sum = (10 - (sum % 10)) % 10; + return { valid: `${sum}` === input.value.charAt(length - 1) }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/ein.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/ein.ts new file mode 100644 index 0000000..7b29b99 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/ein.ts @@ -0,0 +1,134 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function ein(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + // The first two digits are called campus + // See http://en.wikipedia.org/wiki/Employer_Identification_Number + // http://www.irs.gov/Businesses/Small-Businesses-&-Self-Employed/How-EINs-are-Assigned-and-Valid-EIN-Prefixes + const CAMPUS = { + ANDOVER: ['10', '12'], + ATLANTA: ['60', '67'], + AUSTIN: ['50', '53'], + BROOKHAVEN: [ + '01', + '02', + '03', + '04', + '05', + '06', + '11', + '13', + '14', + '16', + '21', + '22', + '23', + '25', + '34', + '51', + '52', + '54', + '55', + '56', + '57', + '58', + '59', + '65', + ], + CINCINNATI: ['30', '32', '35', '36', '37', '38', '61'], + FRESNO: ['15', '24'], + INTERNET: ['20', '26', '27', '45', '46', '47'], + KANSAS_CITY: ['40', '44'], + MEMPHIS: ['94', '95'], + OGDEN: ['80', '90'], + PHILADELPHIA: [ + '33', + '39', + '41', + '42', + '43', + '48', + '62', + '63', + '64', + '66', + '68', + '71', + '72', + '73', + '74', + '75', + '76', + '77', + '81', + '82', + '83', + '84', + '85', + '86', + '87', + '88', + '91', + '92', + '93', + '98', + '99', + ], + SMALL_BUSINESS_ADMINISTRATION: ['31'], + }; + + return { + /** + * Validate EIN (Employer Identification Number) which is also known as + * Federal Employer Identification Number (FEIN) or Federal Tax Identification Number + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { + meta: null, + valid: true, + }; + } + + if (!/^[0-9]{2}-?[0-9]{7}$/.test(input.value)) { + return { + meta: null, + valid: false, + }; + } + // Check the first two digits + const campus = `${input.value.substr(0, 2)}`; + for (const key in CAMPUS) { + if (CAMPUS[key].indexOf(campus) !== -1) { + return { + meta: { + campus: key, + }, + valid: true, + }; + } + } + + return { + meta: null, + valid: false, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/emailAddress.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/emailAddress.ts new file mode 100644 index 0000000..3e29427 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/emailAddress.ts @@ -0,0 +1,117 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export interface EmailAddressOptions extends ValidateOptions { + // Allow multiple email addresses, separated by a comma or semicolon; default is false. + multiple?: boolean | string; + // Regex for character or characters expected as separator between addresses + // default is comma /[,;]/, i.e. comma or semicolon. + separator?: string | RegExp; +} + +export default function emailAddress(): ValidateFunctionInterface< + EmailAddressOptions, + ValidateResult +> { + const splitEmailAddresses = ( + emailAddresses: string, + separator: string | RegExp + ) => { + const quotedFragments = emailAddresses.split(/"/); + const quotedFragmentCount = quotedFragments.length; + const emailAddressArray = []; + let nextEmailAddress = ''; + + for (let i = 0; i < quotedFragmentCount; i++) { + if (i % 2 === 0) { + const splitEmailAddressFragments = + quotedFragments[i].split(separator); + const splitEmailAddressFragmentCount = + splitEmailAddressFragments.length; + + if (splitEmailAddressFragmentCount === 1) { + nextEmailAddress += splitEmailAddressFragments[0]; + } else { + emailAddressArray.push( + nextEmailAddress + splitEmailAddressFragments[0] + ); + + for ( + let j = 1; + j < splitEmailAddressFragmentCount - 1; + j++ + ) { + emailAddressArray.push(splitEmailAddressFragments[j]); + } + nextEmailAddress = + splitEmailAddressFragments[ + splitEmailAddressFragmentCount - 1 + ]; + } + } else { + nextEmailAddress += '"' + quotedFragments[i]; + if (i < quotedFragmentCount - 1) { + nextEmailAddress += '"'; + } + } + } + + emailAddressArray.push(nextEmailAddress); + return emailAddressArray; + }; + + return { + /** + * Return true if and only if the input value is a valid email address + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + const opts = Object.assign( + {}, + { + multiple: false, + separator: /[,;]/, + }, + input.options + ); + + // Email address regular expression + // http://stackoverflow.com/questions/46155/validate-email-address-in-javascript + const emailRegExp = + /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/; + const allowMultiple = + opts.multiple === true || `${opts.multiple}` === 'true'; + + if (allowMultiple) { + const separator = opts.separator || /[,;]/; + const addresses = splitEmailAddresses(input.value, separator); + const length = addresses.length; + + for (let i = 0; i < length; i++) { + if (!emailRegExp.test(addresses[i])) { + return { valid: false }; + } + } + + return { valid: true }; + } else { + return { valid: emailRegExp.test(input.value) }; + } + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/file.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/file.ts new file mode 100644 index 0000000..21d6679 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/file.ts @@ -0,0 +1,216 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export interface FileOptions extends ValidateOptions { + // The allowed extensions, separated by a comma + extension: string; + // The maximum number of files + maxFiles: number; + // The maximum size in bytes + maxSize: number; + // The maximum size in bytes for all files + maxTotalSize: number; + // The minimum number of files + minFiles: number; + // The minimum size in bytes + minSize: number; + // The minimum size in bytes for all files + minTotalSize: number; + // The allowed MIME type, separated by a comma + type: string; +} + +export default function file(): ValidateFunctionInterface< + FileOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + let extension; + const extensions = input.options.extension + ? input.options.extension.toLowerCase().split(',') + : null; + const types = input.options.type + ? input.options.type.toLowerCase().split(',') + : null; + const html5 = + window['File'] && window['FileList'] && window['FileReader']; + + if (html5) { + // Get FileList instance + const files = (input.element as HTMLInputElement).files; + const total = files.length; + let allSize = 0; + + // Check the maxFiles + if ( + input.options.maxFiles && + total > parseInt(`${input.options.maxFiles}`, 10) + ) { + return { + meta: { error: 'INVALID_MAX_FILES' }, + valid: false, + }; + } + + // Check the minFiles + if ( + input.options.minFiles && + total < parseInt(`${input.options.minFiles}`, 10) + ) { + return { + meta: { error: 'INVALID_MIN_FILES' }, + valid: false, + }; + } + + let metaData = {}; + for (let i = 0; i < total; i++) { + allSize += files[i].size; + extension = files[i].name.substr( + files[i].name.lastIndexOf('.') + 1 + ); + metaData = { + ext: extension, + file: files[i], + size: files[i].size, + type: files[i].type, + }; + + // Check the minSize + if ( + input.options.minSize && + files[i].size < parseInt(`${input.options.minSize}`, 10) + ) { + return { + meta: Object.assign( + {}, + { error: 'INVALID_MIN_SIZE' }, + metaData + ), + valid: false, + }; + } + + // Check the maxSize + if ( + input.options.maxSize && + files[i].size > parseInt(`${input.options.maxSize}`, 10) + ) { + return { + meta: Object.assign( + {}, + { error: 'INVALID_MAX_SIZE' }, + metaData + ), + valid: false, + }; + } + + // Check file extension + if ( + extensions && + extensions.indexOf(extension.toLowerCase()) === -1 + ) { + return { + meta: Object.assign( + {}, + { error: 'INVALID_EXTENSION' }, + metaData + ), + valid: false, + }; + } + + // Check file type + if ( + files[i].type && + types && + types.indexOf(files[i].type.toLowerCase()) === -1 + ) { + return { + meta: Object.assign( + {}, + { error: 'INVALID_TYPE' }, + metaData + ), + valid: false, + }; + } + } + + // Check the maxTotalSize + if ( + input.options.maxTotalSize && + allSize > parseInt(`${input.options.maxTotalSize}`, 10) + ) { + return { + meta: Object.assign( + {}, + { + error: 'INVALID_MAX_TOTAL_SIZE', + totalSize: allSize, + }, + metaData + ), + valid: false, + }; + } + + // Check the minTotalSize + if ( + input.options.minTotalSize && + allSize < parseInt(`${input.options.minTotalSize}`, 10) + ) { + return { + meta: Object.assign( + {}, + { + error: 'INVALID_MIN_TOTAL_SIZE', + totalSize: allSize, + }, + metaData + ), + valid: false, + }; + } + } else { + // Check file extension + extension = input.value.substr( + input.value.lastIndexOf('.') + 1 + ); + if ( + extensions && + extensions.indexOf(extension.toLowerCase()) === -1 + ) { + return { + meta: { + error: 'INVALID_EXTENSION', + ext: extension, + }, + valid: false, + }; + } + } + + return { valid: true }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/greaterThan.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/greaterThan.ts new file mode 100644 index 0000000..230b82e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/greaterThan.ts @@ -0,0 +1,69 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import format from '../utils/format'; + +export interface GreaterThanOptions extends ValidateOptions { + // Default is true + inclusive: boolean; + message: string; + min?: number; +} +export interface GreaterThanLocalization extends Localization { + greaterThan: { + default: string; + notInclusive: string; + }; +} + +export default function greaterThan(): ValidateFunctionInterface< + GreaterThanOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const opts = Object.assign( + {}, + { inclusive: true, message: '' }, + input.options + ); + const minValue = parseFloat(`${opts.min}`.replace(',', '.')); + return opts.inclusive + ? { + message: format( + input.l10n + ? opts.message || input.l10n.greaterThan.default + : opts.message, + `${minValue}` + ), + valid: parseFloat(input.value) >= minValue, + } + : { + message: format( + input.l10n + ? opts.message || + input.l10n.greaterThan.notInclusive + : opts.message, + `${minValue}` + ), + valid: parseFloat(input.value) > minValue, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/grid.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/grid.ts new file mode 100644 index 0000000..2f6fc50 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/grid.ts @@ -0,0 +1,47 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import mod37And36 from '../algorithms/mod37And36'; +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function grid(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Validate GRId (Global Release Identifier) + * @see http://en.wikipedia.org/wiki/Global_Release_Identifier + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + let v = input.value.toUpperCase(); + if ( + !/^[GRID:]*([0-9A-Z]{2})[-\s]*([0-9A-Z]{5})[-\s]*([0-9A-Z]{10})[-\s]*([0-9A-Z]{1})$/g.test( + v + ) + ) { + return { valid: false }; + } + v = v.replace(/\s/g, '').replace(/-/g, ''); + if ('GRID:' === v.substr(0, 5)) { + v = v.substr(5); + } + return { valid: mod37And36(v) }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/hex.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/hex.ts new file mode 100644 index 0000000..a65c0ab --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/hex.ts @@ -0,0 +1,31 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function hex(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Return true if and only if the input value is a valid hexadecimal number + */ + validate( + input: ValidateInput + ): ValidateResult { + return { + valid: input.value === '' || /^[0-9a-fA-F]+$/.test(input.value), + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/iban.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/iban.ts new file mode 100644 index 0000000..573a655 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/iban.ts @@ -0,0 +1,245 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import format from '../utils/format'; + +export interface IbanOptions extends ValidateOptions { + // The ISO 3166-1 country code. It can be + // - A country code + // - Name of field which its value defines the country code + // - Name of callback function that returns the country code + // - A callback function that returns the country code + country?: string; + // Set it to true (false) to indicate that the IBAN number must be (not be) from SEPA countries + sepa?: boolean | string; +} +export interface IbanLocalization extends Localization { + iban: { + countries: { + [countryCode: string]: string; + }; + country: string; + default: string; + }; +} + +export default function iban(): ValidateFunctionInterface< + IbanOptions, + ValidateResult +> { + // http://www.swift.com/dsp/resources/documents/IBAN_Registry.pdf + // http://en.wikipedia.org/wiki/International_Bank_Account_Number#IBAN_formats_by_country + const IBAN_PATTERNS = { + AD: 'AD[0-9]{2}[0-9]{4}[0-9]{4}[A-Z0-9]{12}', // Andorra + AE: 'AE[0-9]{2}[0-9]{3}[0-9]{16}', // United Arab Emirates + AL: 'AL[0-9]{2}[0-9]{8}[A-Z0-9]{16}', // Albania + AO: 'AO[0-9]{2}[0-9]{21}', // Angola + AT: 'AT[0-9]{2}[0-9]{5}[0-9]{11}', // Austria + AZ: 'AZ[0-9]{2}[A-Z]{4}[A-Z0-9]{20}', // Azerbaijan + BA: 'BA[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{8}[0-9]{2}', // Bosnia and Herzegovina + BE: 'BE[0-9]{2}[0-9]{3}[0-9]{7}[0-9]{2}', // Belgium + BF: 'BF[0-9]{2}[0-9]{23}', // Burkina Faso + BG: 'BG[0-9]{2}[A-Z]{4}[0-9]{4}[0-9]{2}[A-Z0-9]{8}', // Bulgaria + BH: 'BH[0-9]{2}[A-Z]{4}[A-Z0-9]{14}', // Bahrain + BI: 'BI[0-9]{2}[0-9]{12}', // Burundi + BJ: 'BJ[0-9]{2}[A-Z]{1}[0-9]{23}', // Benin + BR: 'BR[0-9]{2}[0-9]{8}[0-9]{5}[0-9]{10}[A-Z][A-Z0-9]', // Brazil + CH: 'CH[0-9]{2}[0-9]{5}[A-Z0-9]{12}', // Switzerland + CI: 'CI[0-9]{2}[A-Z]{1}[0-9]{23}', // Ivory Coast + CM: 'CM[0-9]{2}[0-9]{23}', // Cameroon + CR: 'CR[0-9]{2}[0-9][0-9]{3}[0-9]{14}', // Costa Rica + CV: 'CV[0-9]{2}[0-9]{21}', // Cape Verde + CY: 'CY[0-9]{2}[0-9]{3}[0-9]{5}[A-Z0-9]{16}', // Cyprus + CZ: 'CZ[0-9]{2}[0-9]{20}', // Czech Republic + DE: 'DE[0-9]{2}[0-9]{8}[0-9]{10}', // Germany + DK: 'DK[0-9]{2}[0-9]{14}', // Denmark + DO: 'DO[0-9]{2}[A-Z0-9]{4}[0-9]{20}', // Dominican Republic + DZ: 'DZ[0-9]{2}[0-9]{20}', // Algeria + EE: 'EE[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{11}[0-9]{1}', // Estonia + ES: 'ES[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{1}[0-9]{1}[0-9]{10}', // Spain + FI: 'FI[0-9]{2}[0-9]{6}[0-9]{7}[0-9]{1}', // Finland + FO: 'FO[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}', // Faroe Islands + FR: 'FR[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}', // France + GB: 'GB[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}', // United Kingdom + GE: 'GE[0-9]{2}[A-Z]{2}[0-9]{16}', // Georgia + GI: 'GI[0-9]{2}[A-Z]{4}[A-Z0-9]{15}', // Gibraltar + GL: 'GL[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}', // Greenland + GR: 'GR[0-9]{2}[0-9]{3}[0-9]{4}[A-Z0-9]{16}', // Greece + GT: 'GT[0-9]{2}[A-Z0-9]{4}[A-Z0-9]{20}', // Guatemala + HR: 'HR[0-9]{2}[0-9]{7}[0-9]{10}', // Croatia + HU: 'HU[0-9]{2}[0-9]{3}[0-9]{4}[0-9]{1}[0-9]{15}[0-9]{1}', // Hungary + IE: 'IE[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}', // Ireland + IL: 'IL[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{13}', // Israel + IR: 'IR[0-9]{2}[0-9]{22}', // Iran + IS: 'IS[0-9]{2}[0-9]{4}[0-9]{2}[0-9]{6}[0-9]{10}', // Iceland + IT: 'IT[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}', // Italy + JO: 'JO[0-9]{2}[A-Z]{4}[0-9]{4}[0]{8}[A-Z0-9]{10}', // Jordan + KW: 'KW[0-9]{2}[A-Z]{4}[0-9]{22}', // Kuwait + KZ: 'KZ[0-9]{2}[0-9]{3}[A-Z0-9]{13}', // Kazakhstan + LB: 'LB[0-9]{2}[0-9]{4}[A-Z0-9]{20}', // Lebanon + LI: 'LI[0-9]{2}[0-9]{5}[A-Z0-9]{12}', // Liechtenstein + LT: 'LT[0-9]{2}[0-9]{5}[0-9]{11}', // Lithuania + LU: 'LU[0-9]{2}[0-9]{3}[A-Z0-9]{13}', // Luxembourg + LV: 'LV[0-9]{2}[A-Z]{4}[A-Z0-9]{13}', // Latvia + MC: 'MC[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}', // Monaco + MD: 'MD[0-9]{2}[A-Z0-9]{20}', // Moldova + ME: 'ME[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}', // Montenegro + MG: 'MG[0-9]{2}[0-9]{23}', // Madagascar + MK: 'MK[0-9]{2}[0-9]{3}[A-Z0-9]{10}[0-9]{2}', // Macedonia + ML: 'ML[0-9]{2}[A-Z]{1}[0-9]{23}', // Mali + MR: 'MR13[0-9]{5}[0-9]{5}[0-9]{11}[0-9]{2}', // Mauritania + MT: 'MT[0-9]{2}[A-Z]{4}[0-9]{5}[A-Z0-9]{18}', // Malta + MU: 'MU[0-9]{2}[A-Z]{4}[0-9]{2}[0-9]{2}[0-9]{12}[0-9]{3}[A-Z]{3}', // Mauritius + MZ: 'MZ[0-9]{2}[0-9]{21}', // Mozambique + NL: 'NL[0-9]{2}[A-Z]{4}[0-9]{10}', // Netherlands + NO: 'NO[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{1}', // Norway + PK: 'PK[0-9]{2}[A-Z]{4}[A-Z0-9]{16}', // Pakistan + PL: 'PL[0-9]{2}[0-9]{8}[0-9]{16}', // Poland + PS: 'PS[0-9]{2}[A-Z]{4}[A-Z0-9]{21}', // Palestinian + PT: 'PT[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{11}[0-9]{2}', // Portugal + QA: 'QA[0-9]{2}[A-Z]{4}[A-Z0-9]{21}', // Qatar + RO: 'RO[0-9]{2}[A-Z]{4}[A-Z0-9]{16}', // Romania + RS: 'RS[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}', // Serbia + SA: 'SA[0-9]{2}[0-9]{2}[A-Z0-9]{18}', // Saudi Arabia + SE: 'SE[0-9]{2}[0-9]{3}[0-9]{16}[0-9]{1}', // Sweden + SI: 'SI[0-9]{2}[0-9]{5}[0-9]{8}[0-9]{2}', // Slovenia + SK: 'SK[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{10}', // Slovakia + SM: 'SM[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}', // San Marino + SN: 'SN[0-9]{2}[A-Z]{1}[0-9]{23}', // Senegal + TL: 'TL38[0-9]{3}[0-9]{14}[0-9]{2}', // East Timor + TN: 'TN59[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}', // Tunisia + TR: 'TR[0-9]{2}[0-9]{5}[A-Z0-9]{1}[A-Z0-9]{16}', // Turkey + VG: 'VG[0-9]{2}[A-Z]{4}[0-9]{16}', // Virgin Islands, British + XK: 'XK[0-9]{2}[0-9]{4}[0-9]{10}[0-9]{2}', // Republic of Kosovo + }; + + // List of SEPA country codes + const SEPA_COUNTRIES = [ + 'AT', + 'BE', + 'BG', + 'CH', + 'CY', + 'CZ', + 'DE', + 'DK', + 'EE', + 'ES', + 'FI', + 'FR', + 'GB', + 'GI', + 'GR', + 'HR', + 'HU', + 'IE', + 'IS', + 'IT', + 'LI', + 'LT', + 'LU', + 'LV', + 'MC', + 'MT', + 'NL', + 'NO', + 'PL', + 'PT', + 'RO', + 'SE', + 'SI', + 'SK', + 'SM', + ]; + + return { + /** + * Validate an International Bank Account Number (IBAN) + * To test it, take the sample IBAN from + * http://www.nordea.com/Our+services/ + * International+products+and+services/Cash+Management/IBAN+countries/908462.html + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const opts = Object.assign({}, { message: '' }, input.options); + let v = input.value.replace(/[^a-zA-Z0-9]/g, '').toUpperCase(); + // TODO: `country` can be a dynamic option + const country = opts.country || v.substr(0, 2); + + if (!IBAN_PATTERNS[country]) { + return { + message: opts.message, + valid: false, + }; + } + + // Check whether or not the sepa option is enabled + if (opts.sepa !== undefined) { + const isSepaCountry = SEPA_COUNTRIES.indexOf(country) !== -1; + if ( + ((opts.sepa === 'true' || opts.sepa === true) && + !isSepaCountry) || + ((opts.sepa === 'false' || opts.sepa === false) && + isSepaCountry) + ) { + return { + message: opts.message, + valid: false, + }; + } + } + + const msg = format( + input.l10n + ? opts.message || input.l10n.iban.country + : opts.message, + input.l10n ? input.l10n.iban.countries[country] : country + ); + if (!new RegExp(`^${IBAN_PATTERNS[country]}$`).test(input.value)) { + return { + message: msg, + valid: false, + }; + } + + v = `${v.substr(4)}${v.substr(0, 4)}`; + v = v + .split('') + .map((n) => { + const code = n.charCodeAt(0); + return code >= 'A'.charCodeAt(0) && + code <= 'Z'.charCodeAt(0) + ? // Replace A, B, C, ..., Z with 10, 11, ..., 35 + code - 'A'.charCodeAt(0) + 10 + : n; + }) + .join(''); + + let temp = parseInt(v.substr(0, 1), 10); + const length = v.length; + for (let i = 1; i < length; ++i) { + temp = (temp * 10 + parseInt(v.substr(i, 1), 10)) % 97; + } + + return { + message: msg, + valid: temp === 1, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/arId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/arId.ts new file mode 100644 index 0000000..ab5ff19 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/arId.ts @@ -0,0 +1,22 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Argentinian national identifiers + * + * @see https://en.wikipedia.org/wiki/Documento_Nacional_de_Identidad_(Argentina) + * @returns {ValidateResult} + */ +export default function arId(value: string): ValidateResult { + // Replace dot with empty space + const v = value.replace(/\./g, ''); + return { + meta: {}, + valid: /^\d{7,8}$/.test(v), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/baId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/baId.ts new file mode 100644 index 0000000..a247bd5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/baId.ts @@ -0,0 +1,18 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import jmbg from './jmbg'; + +/** + * @returns {ValidateResult} + */ +export default function baId(value: string): ValidateResult { + return { + meta: {}, + valid: jmbg(value, 'BA'), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/bgId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/bgId.ts new file mode 100644 index 0000000..2cfb0e3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/bgId.ts @@ -0,0 +1,53 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Bulgarian national identification number (EGN) + * + * @see http://en.wikipedia.org/wiki/Uniform_civil_number + * @returns {ValidateResult} + */ +export default function bgId(value: string): ValidateResult { + if (!/^\d{10}$/.test(value) && !/^\d{6}\s\d{3}\s\d{1}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + const v = value.replace(/\s/g, ''); + // Check the birth date + let year = parseInt(v.substr(0, 2), 10) + 1900; + let month = parseInt(v.substr(2, 2), 10); + const day = parseInt(v.substr(4, 2), 10); + if (month > 40) { + year += 100; + month -= 40; + } else if (month > 20) { + year -= 100; + month -= 20; + } + + if (!isValidDate(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + + let sum = 0; + const weight = [2, 4, 8, 5, 10, 9, 7, 3, 6]; + for (let i = 0; i < 9; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = (sum % 11) % 10; + return { + meta: {}, + valid: `${sum}` === v.substr(9, 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/brId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/brId.ts new file mode 100644 index 0000000..a1183af --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/brId.ts @@ -0,0 +1,57 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Brazilian national identification number (CPF) + * + * @see http://en.wikipedia.org/wiki/Cadastro_de_Pessoas_F%C3%ADsicas + * @returns {ValidateResult} + */ +export default function brId(value: string): ValidateResult { + const v = value.replace(/\D/g, ''); + + if ( + !/^\d{11}$/.test(v) || + /^1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11}|0{11}$/.test(v) + ) { + return { + meta: {}, + valid: false, + }; + } + + let d1 = 0; + let i; + for (i = 0; i < 9; i++) { + d1 += (10 - i) * parseInt(v.charAt(i), 10); + } + d1 = 11 - (d1 % 11); + if (d1 === 10 || d1 === 11) { + d1 = 0; + } + if (`${d1}` !== v.charAt(9)) { + return { + meta: {}, + valid: false, + }; + } + + let d2 = 0; + for (i = 0; i < 10; i++) { + d2 += (11 - i) * parseInt(v.charAt(i), 10); + } + d2 = 11 - (d2 % 11); + if (d2 === 10 || d2 === 11) { + d2 = 0; + } + + return { + meta: {}, + valid: `${d2}` === v.charAt(10), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/chId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/chId.ts new file mode 100644 index 0000000..552d783 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/chId.ts @@ -0,0 +1,36 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Swiss Social Security Number (AHV-Nr/No AVS) + * + * @see http://en.wikipedia.org/wiki/National_identification_number#Switzerland + * @see http://www.bsv.admin.ch/themen/ahv/00011/02185/index.html?lang=de + * @returns {ValidateResult} + */ +export default function chId(value: string): ValidateResult { + if (!/^756[.]{0,1}[0-9]{4}[.]{0,1}[0-9]{4}[.]{0,1}[0-9]{2}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + + const v = value.replace(/\D/g, '').substr(3); + const length = v.length; + const weight = length === 8 ? [3, 1] : [1, 3]; + let sum = 0; + for (let i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i % 2]; + } + sum = 10 - (sum % 10); + return { + meta: {}, + valid: `${sum}` === v.charAt(length - 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/clId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/clId.ts new file mode 100644 index 0000000..d766295 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/clId.ts @@ -0,0 +1,45 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Chilean national identification number (RUN/RUT) + * + * @see http://en.wikipedia.org/wiki/National_identification_number#Chile + * @see https://palena.sii.cl/cvc/dte/ee_empresas_emisoras.html for samples + * @returns {ValidateResult} + */ +export default function clId(value: string): ValidateResult { + if (!/^\d{7,8}[-]{0,1}[0-9K]$/i.test(value)) { + return { + meta: {}, + valid: false, + }; + } + let v = value.replace(/-/g, ''); + while (v.length < 9) { + v = `0${v}`; + } + + const weight = [3, 2, 7, 6, 5, 4, 3, 2]; + let sum = 0; + for (let i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + + let cd = `${sum}`; + if (sum === 11) { + cd = '0'; + } else if (sum === 10) { + cd = 'K'; + } + return { + meta: {}, + valid: cd === v.charAt(8).toUpperCase(), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/cnId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/cnId.ts new file mode 100644 index 0000000..d37d44d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/cnId.ts @@ -0,0 +1,824 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Chinese citizen identification number + * + * Rules: + * - For current 18-digit system (since 1st Oct 1999, defined by GB11643—1999 national standard): + * - Digit 0-5: Must be a valid administrative division code of China PR. + * - Digit 6-13: Must be a valid YYYYMMDD date of birth. A future date is tolerated. + * - Digit 14-16: Order code, any integer. + * - Digit 17: An ISO 7064:1983, MOD 11-2 checksum. + * Both upper/lower case of X are tolerated. + * - For deprecated 15-digit system: + * - Digit 0-5: Must be a valid administrative division code of China PR. + * - Digit 6-11: Must be a valid YYMMDD date of birth, indicating the year of 19XX. + * - Digit 12-14: Order code, any integer. + * Lists of valid administrative division codes of China PR can be seen here: + * + * Published and maintained by National Bureau of Statistics of China PR. + * NOTE: Current and deprecated codes MUST BOTH be considered valid. + * Many Chinese citizens born in once existed administrative divisions! + * + * @see http://en.wikipedia.org/wiki/Resident_Identity_Card#Identity_card_number + * @returns {ValidateResult} + */ +export default function cnId(value: string): ValidateResult { + // Basic format check (18 or 15 digits, considering X in checksum) + const v = value.trim(); + if (!/^\d{15}$/.test(v) && !/^\d{17}[\dXx]{1}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + // Check China PR Administrative division code + const adminDivisionCodes = { + 11: { + 0: [0], + 1: [ + [0, 9], + [11, 17], + ], + 2: [0, 28, 29], + }, + 12: { + 0: [0], + 1: [[0, 16]], + 2: [0, 21, 23, 25], + }, + 13: { + 0: [0], + 1: [[0, 5], 7, 8, 21, [23, 33], [81, 85]], + 2: [[0, 5], [7, 9], [23, 25], 27, 29, 30, 81, 83], + 3: [ + [0, 4], + [21, 24], + ], + 4: [[0, 4], 6, 21, [23, 35], 81], + 5: [[0, 3], [21, 35], 81, 82], + 6: [ + [0, 4], + [21, 38], + [81, 84], + ], + 7: [[0, 3], 5, 6, [21, 33]], + 8: [ + [0, 4], + [21, 28], + ], + 9: [ + [0, 3], + [21, 30], + [81, 84], + ], + 10: [[0, 3], [22, 26], 28, 81, 82], + 11: [[0, 2], [21, 28], 81, 82], + }, + 14: { + 0: [0], + 1: [0, 1, [5, 10], [21, 23], 81], + 2: [[0, 3], 11, 12, [21, 27]], + 3: [[0, 3], 11, 21, 22], + 4: [[0, 2], 11, 21, [23, 31], 81], + 5: [[0, 2], 21, 22, 24, 25, 81], + 6: [ + [0, 3], + [21, 24], + ], + 7: [[0, 2], [21, 29], 81], + 8: [[0, 2], [21, 30], 81, 82], + 9: [[0, 2], [21, 32], 81], + 10: [[0, 2], [21, 34], 81, 82], + 11: [[0, 2], [21, 30], 81, 82], + 23: [[0, 3], 22, 23, [25, 30], 32, 33], + }, + 15: { + 0: [0], + 1: [ + [0, 5], + [21, 25], + ], + 2: [ + [0, 7], + [21, 23], + ], + 3: [[0, 4]], + 4: [ + [0, 4], + [21, 26], + [28, 30], + ], + 5: [[0, 2], [21, 26], 81], + 6: [ + [0, 2], + [21, 27], + ], + 7: [ + [0, 3], + [21, 27], + [81, 85], + ], + 8: [ + [0, 2], + [21, 26], + ], + 9: [[0, 2], [21, 29], 81], + 22: [ + [0, 2], + [21, 24], + ], + 25: [ + [0, 2], + [22, 31], + ], + 26: [[0, 2], [24, 27], [29, 32], 34], + 28: [0, 1, [22, 27]], + 29: [0, [21, 23]], + }, + 21: { + 0: [0], + 1: [[0, 6], [11, 14], [22, 24], 81], + 2: [[0, 4], [11, 13], 24, [81, 83]], + 3: [[0, 4], 11, 21, 23, 81], + 4: [[0, 4], 11, [21, 23]], + 5: [[0, 5], 21, 22], + 6: [[0, 4], 24, 81, 82], + 7: [[0, 3], 11, 26, 27, 81, 82], + 8: [[0, 4], 11, 81, 82], + 9: [[0, 5], 11, 21, 22], + 10: [[0, 5], 11, 21, 81], + 11: [[0, 3], 21, 22], + 12: [[0, 2], 4, 21, 23, 24, 81, 82], + 13: [[0, 3], 21, 22, 24, 81, 82], + 14: [[0, 4], 21, 22, 81], + }, + 22: { + 0: [0], + 1: [[0, 6], 12, 22, [81, 83]], + 2: [[0, 4], 11, 21, [81, 84]], + 3: [[0, 3], 22, 23, 81, 82], + 4: [[0, 3], 21, 22], + 5: [[0, 3], 21, 23, 24, 81, 82], + 6: [[0, 2], 4, 5, [21, 23], 25, 81], + 7: [[0, 2], [21, 24], 81], + 8: [[0, 2], 21, 22, 81, 82], + 24: [[0, 6], 24, 26], + }, + 23: { + 0: [0], + 1: [[0, 12], 21, [23, 29], [81, 84]], + 2: [[0, 8], 21, [23, 25], 27, [29, 31], 81], + 3: [[0, 7], 21, 81, 82], + 4: [[0, 7], 21, 22], + 5: [[0, 3], 5, 6, [21, 24]], + 6: [ + [0, 6], + [21, 24], + ], + 7: [[0, 16], 22, 81], + 8: [[0, 5], 11, 22, 26, 28, 33, 81, 82], + 9: [[0, 4], 21], + 10: [[0, 5], 24, 25, 81, [83, 85]], + 11: [[0, 2], 21, 23, 24, 81, 82], + 12: [ + [0, 2], + [21, 26], + [81, 83], + ], + 27: [ + [0, 4], + [21, 23], + ], + }, + 31: { + 0: [0], + 1: [0, 1, [3, 10], [12, 20]], + 2: [0, 30], + }, + 32: { + 0: [0], + 1: [[0, 7], 11, [13, 18], 24, 25], + 2: [[0, 6], 11, 81, 82], + 3: [[0, 5], 11, 12, [21, 24], 81, 82], + 4: [[0, 2], 4, 5, 11, 12, 81, 82], + 5: [ + [0, 9], + [81, 85], + ], + 6: [[0, 2], 11, 12, 21, 23, [81, 84]], + 7: [0, 1, 3, 5, 6, [21, 24]], + 8: [[0, 4], 11, 26, [29, 31]], + 9: [[0, 3], [21, 25], 28, 81, 82], + 10: [[0, 3], 11, 12, 23, 81, 84, 88], + 11: [[0, 2], 11, 12, [81, 83]], + 12: [ + [0, 4], + [81, 84], + ], + 13: [[0, 2], 11, [21, 24]], + }, + 33: { + 0: [0], + 1: [[0, 6], [8, 10], 22, 27, 82, 83, 85], + 2: [0, 1, [3, 6], 11, 12, 25, 26, [81, 83]], + 3: [[0, 4], 22, 24, [26, 29], 81, 82], + 4: [[0, 2], 11, 21, 24, [81, 83]], + 5: [ + [0, 3], + [21, 23], + ], + 6: [[0, 2], 21, 24, [81, 83]], + 7: [[0, 3], 23, 26, 27, [81, 84]], + 8: [[0, 3], 22, 24, 25, 81], + 9: [[0, 3], 21, 22], + 10: [[0, 4], [21, 24], 81, 82], + 11: [[0, 2], [21, 27], 81], + }, + 34: { + 0: [0], + 1: [[0, 4], 11, [21, 24], 81], + 2: [[0, 4], 7, 8, [21, 23], 25], + 3: [[0, 4], 11, [21, 23]], + 4: [[0, 6], 21], + 5: [[0, 4], 6, [21, 23]], + 6: [[0, 4], 21], + 7: [[0, 3], 11, 21], + 8: [[0, 3], 11, [22, 28], 81], + 10: [ + [0, 4], + [21, 24], + ], + 11: [[0, 3], 22, [24, 26], 81, 82], + 12: [[0, 4], 21, 22, 25, 26, 82], + 13: [ + [0, 2], + [21, 24], + ], + 14: [ + [0, 2], + [21, 24], + ], + 15: [ + [0, 3], + [21, 25], + ], + 16: [ + [0, 2], + [21, 23], + ], + 17: [ + [0, 2], + [21, 23], + ], + 18: [[0, 2], [21, 25], 81], + }, + 35: { + 0: [0], + 1: [[0, 5], 11, [21, 25], 28, 81, 82], + 2: [ + [0, 6], + [11, 13], + ], + 3: [[0, 5], 22], + 4: [[0, 3], 21, [23, 30], 81], + 5: [[0, 5], 21, [24, 27], [81, 83]], + 6: [[0, 3], [22, 29], 81], + 7: [ + [0, 2], + [21, 25], + [81, 84], + ], + 8: [[0, 2], [21, 25], 81], + 9: [[0, 2], [21, 26], 81, 82], + }, + 36: { + 0: [0], + 1: [[0, 5], 11, [21, 24]], + 2: [[0, 3], 22, 81], + 3: [[0, 2], 13, [21, 23]], + 4: [[0, 3], 21, [23, 30], 81, 82], + 5: [[0, 2], 21], + 6: [[0, 2], 22, 81], + 7: [[0, 2], [21, 35], 81, 82], + 8: [[0, 3], [21, 30], 81], + 9: [ + [0, 2], + [21, 26], + [81, 83], + ], + 10: [ + [0, 2], + [21, 30], + ], + 11: [[0, 2], [21, 30], 81], + }, + 37: { + 0: [0], + 1: [[0, 5], 12, 13, [24, 26], 81], + 2: [[0, 3], 5, [11, 14], [81, 85]], + 3: [ + [0, 6], + [21, 23], + ], + 4: [[0, 6], 81], + 5: [ + [0, 3], + [21, 23], + ], + 6: [[0, 2], [11, 13], 34, [81, 87]], + 7: [[0, 5], 24, 25, [81, 86]], + 8: [[0, 2], 11, [26, 32], [81, 83]], + 9: [[0, 3], 11, 21, 23, 82, 83], + 10: [ + [0, 2], + [81, 83], + ], + 11: [[0, 3], 21, 22], + 12: [[0, 3]], + 13: [[0, 2], 11, 12, [21, 29]], + 14: [[0, 2], [21, 28], 81, 82], + 15: [[0, 2], [21, 26], 81], + 16: [ + [0, 2], + [21, 26], + ], + 17: [ + [0, 2], + [21, 28], + ], + }, + 41: { + 0: [0], + 1: [[0, 6], 8, 22, [81, 85]], + 2: [[0, 5], 11, [21, 25]], + 3: [[0, 7], 11, [22, 29], 81], + 4: [[0, 4], 11, [21, 23], 25, 81, 82], + 5: [[0, 3], 5, 6, 22, 23, 26, 27, 81], + 6: [[0, 3], 11, 21, 22], + 7: [[0, 4], 11, 21, [24, 28], 81, 82], + 8: [[0, 4], 11, [21, 23], 25, [81, 83]], + 9: [[0, 2], 22, 23, [26, 28]], + 10: [[0, 2], [23, 25], 81, 82], + 11: [ + [0, 4], + [21, 23], + ], + 12: [[0, 2], 21, 22, 24, 81, 82], + 13: [[0, 3], [21, 30], 81], + 14: [[0, 3], [21, 26], 81], + 15: [ + [0, 3], + [21, 28], + ], + 16: [[0, 2], [21, 28], 81], + 17: [ + [0, 2], + [21, 29], + ], + 90: [0, 1], + }, + 42: { + 0: [0], + 1: [ + [0, 7], + [11, 17], + ], + 2: [[0, 5], 22, 81], + 3: [[0, 3], [21, 25], 81], + 5: [ + [0, 6], + [25, 29], + [81, 83], + ], + 6: [[0, 2], 6, 7, [24, 26], [82, 84]], + 7: [[0, 4]], + 8: [[0, 2], 4, 21, 22, 81], + 9: [[0, 2], [21, 23], 81, 82, 84], + 10: [[0, 3], [22, 24], 81, 83, 87], + 11: [[0, 2], [21, 27], 81, 82], + 12: [[0, 2], [21, 24], 81], + 13: [[0, 3], 21, 81], + 28: [[0, 2], 22, 23, [25, 28]], + 90: [0, [4, 6], 21], + }, + 43: { + 0: [0], + 1: [[0, 5], 11, 12, 21, 22, 24, 81], + 2: [[0, 4], 11, 21, [23, 25], 81], + 3: [[0, 2], 4, 21, 81, 82], + 4: [0, 1, [5, 8], 12, [21, 24], 26, 81, 82], + 5: [[0, 3], 11, [21, 25], [27, 29], 81], + 6: [[0, 3], 11, 21, 23, 24, 26, 81, 82], + 7: [[0, 3], [21, 26], 81], + 8: [[0, 2], 11, 21, 22], + 9: [[0, 3], [21, 23], 81], + 10: [[0, 3], [21, 28], 81], + 11: [ + [0, 3], + [21, 29], + ], + 12: [[0, 2], [21, 30], 81], + 13: [[0, 2], 21, 22, 81, 82], + 31: [0, 1, [22, 27], 30], + }, + 44: { + 0: [0], + 1: [[0, 7], [11, 16], 83, 84], + 2: [[0, 5], 21, 22, 24, 29, 32, 33, 81, 82], + 3: [0, 1, [3, 8]], + 4: [[0, 4]], + 5: [0, 1, [6, 15], 23, 82, 83], + 6: [0, 1, [4, 8]], + 7: [0, 1, [3, 5], 81, [83, 85]], + 8: [[0, 4], 11, 23, 25, [81, 83]], + 9: [[0, 3], 23, [81, 83]], + 12: [[0, 3], [23, 26], 83, 84], + 13: [[0, 3], [22, 24], 81], + 14: [[0, 2], [21, 24], 26, 27, 81], + 15: [[0, 2], 21, 23, 81], + 16: [ + [0, 2], + [21, 25], + ], + 17: [[0, 2], 21, 23, 81], + 18: [[0, 3], 21, 23, [25, 27], 81, 82], + 19: [0], + 20: [0], + 51: [[0, 3], 21, 22], + 52: [[0, 3], 21, 22, 24, 81], + 53: [[0, 2], [21, 23], 81], + }, + 45: { + 0: [0], + 1: [ + [0, 9], + [21, 27], + ], + 2: [ + [0, 5], + [21, 26], + ], + 3: [[0, 5], 11, 12, [21, 32]], + 4: [0, 1, [3, 6], 11, [21, 23], 81], + 5: [[0, 3], 12, 21], + 6: [[0, 3], 21, 81], + 7: [[0, 3], 21, 22], + 8: [[0, 4], 21, 81], + 9: [[0, 3], [21, 24], 81], + 10: [ + [0, 2], + [21, 31], + ], + 11: [ + [0, 2], + [21, 23], + ], + 12: [[0, 2], [21, 29], 81], + 13: [[0, 2], [21, 24], 81], + 14: [[0, 2], [21, 25], 81], + }, + 46: { + 0: [0], + 1: [0, 1, [5, 8]], + 2: [0, 1], + 3: [0, [21, 23]], + 90: [ + [0, 3], + [5, 7], + [21, 39], + ], + }, + 50: { + 0: [0], + 1: [[0, 19]], + 2: [0, [22, 38], [40, 43]], + 3: [0, [81, 84]], + }, + 51: { + 0: [0], + 1: [0, 1, [4, 8], [12, 15], [21, 24], 29, 31, 32, [81, 84]], + 3: [[0, 4], 11, 21, 22], + 4: [[0, 3], 11, 21, 22], + 5: [[0, 4], 21, 22, 24, 25], + 6: [0, 1, 3, 23, 26, [81, 83]], + 7: [0, 1, 3, 4, [22, 27], 81], + 8: [[0, 2], 11, 12, [21, 24]], + 9: [ + [0, 4], + [21, 23], + ], + 10: [[0, 2], 11, 24, 25, 28], + 11: [[0, 2], [11, 13], 23, 24, 26, 29, 32, 33, 81], + 13: [[0, 4], [21, 25], 81], + 14: [ + [0, 2], + [21, 25], + ], + 15: [ + [0, 3], + [21, 29], + ], + 16: [[0, 3], [21, 23], 81], + 17: [[0, 3], [21, 25], 81], + 18: [ + [0, 3], + [21, 27], + ], + 19: [ + [0, 3], + [21, 23], + ], + 20: [[0, 2], 21, 22, 81], + 32: [0, [21, 33]], + 33: [0, [21, 38]], + 34: [0, 1, [22, 37]], + }, + 52: { + 0: [0], + 1: [[0, 3], [11, 15], [21, 23], 81], + 2: [0, 1, 3, 21, 22], + 3: [[0, 3], [21, 30], 81, 82], + 4: [ + [0, 2], + [21, 25], + ], + 5: [ + [0, 2], + [21, 27], + ], + 6: [ + [0, 3], + [21, 28], + ], + 22: [0, 1, [22, 30]], + 23: [0, 1, [22, 28]], + 24: [0, 1, [22, 28]], + 26: [0, 1, [22, 36]], + 27: [[0, 2], 22, 23, [25, 32]], + }, + 53: { + 0: [0], + 1: [[0, 3], [11, 14], 21, 22, [24, 29], 81], + 3: [[0, 2], [21, 26], 28, 81], + 4: [ + [0, 2], + [21, 28], + ], + 5: [ + [0, 2], + [21, 24], + ], + 6: [ + [0, 2], + [21, 30], + ], + 7: [ + [0, 2], + [21, 24], + ], + 8: [ + [0, 2], + [21, 29], + ], + 9: [ + [0, 2], + [21, 27], + ], + 23: [0, 1, [22, 29], 31], + 25: [ + [0, 4], + [22, 32], + ], + 26: [0, 1, [21, 28]], + 27: [0, 1, [22, 30]], + 28: [0, 1, 22, 23], + 29: [0, 1, [22, 32]], + 31: [0, 2, 3, [22, 24]], + 34: [0, [21, 23]], + 33: [0, 21, [23, 25]], + 35: [0, [21, 28]], + }, + 54: { + 0: [0], + 1: [ + [0, 2], + [21, 27], + ], + 21: [0, [21, 29], 32, 33], + 22: [0, [21, 29], [31, 33]], + 23: [0, 1, [22, 38]], + 24: [0, [21, 31]], + 25: [0, [21, 27]], + 26: [0, [21, 27]], + }, + 61: { + 0: [0], + 1: [[0, 4], [11, 16], 22, [24, 26]], + 2: [[0, 4], 22], + 3: [ + [0, 4], + [21, 24], + [26, 31], + ], + 4: [[0, 4], [22, 31], 81], + 5: [[0, 2], [21, 28], 81, 82], + 6: [ + [0, 2], + [21, 32], + ], + 7: [ + [0, 2], + [21, 30], + ], + 8: [ + [0, 2], + [21, 31], + ], + 9: [ + [0, 2], + [21, 29], + ], + 10: [ + [0, 2], + [21, 26], + ], + }, + 62: { + 0: [0], + 1: [[0, 5], 11, [21, 23]], + 2: [0, 1], + 3: [[0, 2], 21], + 4: [ + [0, 3], + [21, 23], + ], + 5: [ + [0, 3], + [21, 25], + ], + 6: [ + [0, 2], + [21, 23], + ], + 7: [ + [0, 2], + [21, 25], + ], + 8: [ + [0, 2], + [21, 26], + ], + 9: [[0, 2], [21, 24], 81, 82], + 10: [ + [0, 2], + [21, 27], + ], + 11: [ + [0, 2], + [21, 26], + ], + 12: [ + [0, 2], + [21, 28], + ], + 24: [0, 21, [24, 29]], + 26: [0, 21, [23, 30]], + 29: [0, 1, [21, 27]], + 30: [0, 1, [21, 27]], + }, + 63: { + 0: [0], + 1: [ + [0, 5], + [21, 23], + ], + 2: [0, 2, [21, 25]], + 21: [0, [21, 23], [26, 28]], + 22: [0, [21, 24]], + 23: [0, [21, 24]], + 25: [0, [21, 25]], + 26: [0, [21, 26]], + 27: [0, 1, [21, 26]], + 28: [ + [0, 2], + [21, 23], + ], + }, + 64: { + 0: [0], + 1: [0, 1, [4, 6], 21, 22, 81], + 2: [[0, 3], 5, [21, 23]], + 3: [[0, 3], [21, 24], 81], + 4: [ + [0, 2], + [21, 25], + ], + 5: [[0, 2], 21, 22], + }, + 65: { + 0: [0], + 1: [[0, 9], 21], + 2: [[0, 5]], + 21: [0, 1, 22, 23], + 22: [0, 1, 22, 23], + 23: [[0, 3], [23, 25], 27, 28], + 28: [0, 1, [22, 29]], + 29: [0, 1, [22, 29]], + 30: [0, 1, [22, 24]], + 31: [0, 1, [21, 31]], + 32: [0, 1, [21, 27]], + 40: [0, 2, 3, [21, 28]], + 42: [[0, 2], 21, [23, 26]], + 43: [0, 1, [21, 26]], + 90: [[0, 4]], + 27: [[0, 2], 22, 23], + }, + 71: { 0: [0] }, + 81: { 0: [0] }, + 82: { 0: [0] }, + }; + + const provincial = parseInt(v.substr(0, 2), 10); + const prefectural = parseInt(v.substr(2, 2), 10); + const county = parseInt(v.substr(4, 2), 10); + + if ( + !adminDivisionCodes[provincial] || + !adminDivisionCodes[provincial][prefectural] + ) { + return { + meta: {}, + valid: false, + }; + } + let inRange = false; + const rangeDef = adminDivisionCodes[provincial][prefectural]; + let i; + for (i = 0; i < rangeDef.length; i++) { + if ( + (Array.isArray(rangeDef[i]) && + rangeDef[i][0] <= county && + county <= rangeDef[i][1]) || + (!Array.isArray(rangeDef[i]) && county === rangeDef[i]) + ) { + inRange = true; + break; + } + } + + if (!inRange) { + return { + meta: {}, + valid: false, + }; + } + + // Check date of birth + let dob; + if (v.length === 18) { + dob = v.substr(6, 8); + } /* length == 15 */ else { + dob = `19${v.substr(6, 6)}`; + } + const year = parseInt(dob.substr(0, 4), 10); + const month = parseInt(dob.substr(4, 2), 10); + const day = parseInt(dob.substr(6, 2), 10); + if (!isValidDate(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + + // Check checksum (18-digit system only) + if (v.length === 18) { + const weight = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2]; + let sum = 0; + for (i = 0; i < 17; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = (12 - (sum % 11)) % 11; + const checksum = + v.charAt(17).toUpperCase() !== 'X' + ? parseInt(v.charAt(17), 10) + : 10; + return { + meta: {}, + valid: checksum === sum, + }; + } + + return { + meta: {}, + valid: true, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/coId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/coId.ts new file mode 100644 index 0000000..3da720f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/coId.ts @@ -0,0 +1,36 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Colombian identification number (NIT) + * @see https://es.wikipedia.org/wiki/N%C3%BAmero_de_Identificaci%C3%B3n_Tributaria + * @returns {ValidateResult} + */ +export default function coId(value: string): ValidateResult { + const v = value.replace(/\./g, '').replace('-', ''); + if (!/^\d{8,16}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + const length = v.length; + const weight = [3, 7, 13, 17, 19, 23, 29, 37, 41, 43, 47, 53, 59, 67, 71]; + let sum = 0; + for (let i = length - 2; i >= 0; i--) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + if (sum >= 2) { + sum = 11 - sum; + } + return { + meta: {}, + valid: `${sum}` === v.substr(length - 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/czId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/czId.ts new file mode 100644 index 0000000..f64ce4b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/czId.ts @@ -0,0 +1,62 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Czech national identification number (RC) + * + * @returns {ValidateResult} + */ +export default function czId(value: string): ValidateResult { + if (!/^\d{9,10}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + let year = 1900 + parseInt(value.substr(0, 2), 10); + const month = (parseInt(value.substr(2, 2), 10) % 50) % 20; + const day = parseInt(value.substr(4, 2), 10); + if (value.length === 9) { + if (year >= 1980) { + year -= 100; + } + if (year > 1953) { + return { + meta: {}, + valid: false, + }; + } + } else if (year < 1954) { + year += 100; + } + + if (!isValidDate(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + + // Check that the birth date is not in the future + if (value.length === 10) { + let check = parseInt(value.substr(0, 9), 10) % 11; + if (year < 1985) { + check = check % 10; + } + return { + meta: {}, + valid: `${check}` === value.substr(9, 1), + }; + } + + return { + meta: {}, + valid: true, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/dkId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/dkId.ts new file mode 100644 index 0000000..3670556 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/dkId.ts @@ -0,0 +1,45 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Danish Personal Identification number (CPR) + * + * @see https://en.wikipedia.org/wiki/Personal_identification_number_(Denmark) + * @returns {ValidateResult} + */ +export default function dkId(value: string): ValidateResult { + if (!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + const v = value.replace(/-/g, ''); + const day = parseInt(v.substr(0, 2), 10); + const month = parseInt(v.substr(2, 2), 10); + let year = parseInt(v.substr(4, 2), 10); + + switch (true) { + case '5678'.indexOf(v.charAt(6)) !== -1 && year >= 58: + year += 1800; + break; + case '0123'.indexOf(v.charAt(6)) !== -1: + case '49'.indexOf(v.charAt(6)) !== -1 && year >= 37: + year += 1900; + break; + default: + year += 2000; + break; + } + + return { + meta: {}, + valid: isValidDate(year, month, day), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/esId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/esId.ts new file mode 100644 index 0000000..f013525 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/esId.ts @@ -0,0 +1,98 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Spanish personal identity code (DNI) + * Support DNI (for Spanish citizens), NIE (for foreign people) and CIF (for legal entities) + * + * @see https://en.wikipedia.org/wiki/National_identification_number#Spain + * @returns {ValidateResult} + */ +export default function esId(value: string): ValidateResult { + const isDNI = /^[0-9]{8}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(value); + const isNIE = /^[XYZ][-]{0,1}[0-9]{7}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(value); + const isCIF = /^[A-HNPQS][-]{0,1}[0-9]{7}[-]{0,1}[0-9A-J]$/.test(value); + if (!isDNI && !isNIE && !isCIF) { + return { + meta: {}, + valid: false, + }; + } + + let v = value.replace(/-/g, ''); + let check; + let tpe; + let isValid = true; + if (isDNI || isNIE) { + tpe = 'DNI'; + const index = 'XYZ'.indexOf(v.charAt(0)); + if (index !== -1) { + // It is NIE number + v = index + v.substr(1) + ''; + tpe = 'NIE'; + } + + check = parseInt(v.substr(0, 8), 10); + check = 'TRWAGMYFPDXBNJZSQVHLCKE'[check % 23]; + return { + meta: { + type: tpe, + }, + valid: check === v.substr(8, 1), + }; + } else { + check = v.substr(1, 7); + tpe = 'CIF'; + const letter = v[0]; + const control = v.substr(-1); + let sum = 0; + + // The digits in the even positions are added to the sum directly. + // The ones in the odd positions are multiplied by 2 and then added to the sum. + // If the result of multiplying by 2 is 10 or higher, add the two digits + // together and add that to the sum instead + for (let i = 0; i < check.length; i++) { + if (i % 2 !== 0) { + sum += parseInt(check[i], 10); + } else { + const tmp = '' + parseInt(check[i], 10) * 2; + sum += parseInt(tmp[0], 10); + if (tmp.length === 2) { + sum += parseInt(tmp[1], 10); + } + } + } + + // The control digit is calculated from the last digit of the sum. + // If that last digit is not 0, subtract it from 10 + let lastDigit = sum - Math.floor(sum / 10) * 10; + if (lastDigit !== 0) { + lastDigit = 10 - lastDigit; + } + + if ('KQS'.indexOf(letter) !== -1) { + // If the CIF starts with a K, Q or S, the control digit must be a letter + isValid = control === 'JABCDEFGHI'[lastDigit]; + } else if ('ABEH'.indexOf(letter) !== -1) { + // If it starts with A, B, E or H, it has to be a number + isValid = control === '' + lastDigit; + } else { + // In any other case, it doesn't matter + isValid = + control === '' + lastDigit || + control === 'JABCDEFGHI'[lastDigit]; + } + + return { + meta: { + type: tpe, + }, + valid: isValid, + }; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/fiId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/fiId.ts new file mode 100644 index 0000000..1ccac8f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/fiId.ts @@ -0,0 +1,53 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Finnish Personal Identity Code (HETU) + * + * @returns {ValidateResult} + */ +export default function fiId(value: string): ValidateResult { + if (!/^[0-9]{6}[-+A][0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + const day = parseInt(value.substr(0, 2), 10); + const month = parseInt(value.substr(2, 2), 10); + let year = parseInt(value.substr(4, 2), 10); + const centuries = { + '+': 1800, + '-': 1900, + A: 2000, + }; + year = centuries[value.charAt(6)] + year; + + if (!isValidDate(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + + const individual = parseInt(value.substr(7, 3), 10); + if (individual < 2) { + return { + meta: {}, + valid: false, + }; + } + const n = parseInt(value.substr(0, 6) + value.substr(7, 3) + '', 10); + return { + meta: {}, + valid: + '0123456789ABCDEFHJKLMNPRSTUVWXY'.charAt(n % 31) === + value.charAt(10), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/frId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/frId.ts new file mode 100644 index 0000000..8b204d9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/frId.ts @@ -0,0 +1,48 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate French identification number (NIR) + * + * @see https://en.wikipedia.org/wiki/INSEE_code + * @see https://fr.wikipedia.org/wiki/Num%C3%A9ro_de_s%C3%A9curit%C3%A9_sociale_en_France + * @returns {ValidateResult} + */ +export default function frId(value: string): ValidateResult { + let v = value.toUpperCase(); + if (!/^(1|2)\d{2}\d{2}(\d{2}|\d[A-Z]|\d{3})\d{2,3}\d{3}\d{2}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + // The COG group can be 2 digits or 2A or 2B + const cog = v.substr(5, 2); + switch (true) { + case /^\d{2}$/.test(cog): + v = value; + break; + case cog === '2A': + v = `${value.substr(0, 5)}19${value.substr(7)}`; + break; + case cog === '2B': + v = `${value.substr(0, 5)}18${value.substr(7)}`; + break; + default: + return { + meta: {}, + valid: false, + }; + } + const mod = 97 - (parseInt(v.substr(0, 13), 10) % 97); + const prefixWithZero = mod < 10 ? `0${mod}` : `${mod}`; + return { + meta: {}, + valid: prefixWithZero === v.substr(13), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/hkId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/hkId.ts new file mode 100644 index 0000000..9c0440e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/hkId.ts @@ -0,0 +1,53 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Hong Kong identity card number (HKID) + * + * @see https://en.wikipedia.org/wiki/National_identification_number#Hong_Kong + * @returns {ValidateResult} + */ +export default function hkId(value: string): ValidateResult { + const v = value.toUpperCase(); + if (!/^[A-MP-Z]{1,2}[0-9]{6}[0-9A]$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + const alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; + const firstChar = v.charAt(0); + const secondChar = v.charAt(1); + let sum = 0; + let digitParts = v; + if (/^[A-Z]$/.test(secondChar)) { + sum += 9 * (10 + alphabet.indexOf(firstChar)); + sum += 8 * (10 + alphabet.indexOf(secondChar)); + digitParts = v.substr(2); + } else { + sum += 9 * 36; + sum += 8 * (10 + alphabet.indexOf(firstChar)); + digitParts = v.substr(1); + } + + const length = digitParts.length; + for (let i = 0; i < length - 1; i++) { + sum += (7 - i) * parseInt(digitParts.charAt(i), 10); + } + const remaining = sum % 11; + const checkDigit = + remaining === 0 + ? '0' + : 11 - remaining === 10 + ? 'A' + : `${11 - remaining}`; + return { + meta: {}, + valid: checkDigit === digitParts.charAt(length - 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/hrId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/hrId.ts new file mode 100644 index 0000000..1a2b006 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/hrId.ts @@ -0,0 +1,20 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import mod11And10 from '../../algorithms/mod11And10'; + +/** + * Validate Croatian personal identification number (OIB) + * + * @returns {ValidateResult} + */ +export default function hrId(value: string): ValidateResult { + return { + meta: {}, + valid: /^[0-9]{11}$/.test(value) && mod11And10(value), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/idId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/idId.ts new file mode 100644 index 0000000..f9b3be3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/idId.ts @@ -0,0 +1,27 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import verhoeff from '../../algorithms/verhoeff'; + +/** + * Validate Indian Aadhaar numbers + * @see https://en.wikipedia.org/wiki/Aadhaar + * @returns {ValidateResult} + */ +export default function idId(value: string): ValidateResult { + if (!/^[2-9]\d{11}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + const converted = value.split('').map((item) => parseInt(item, 10)); + return { + meta: {}, + valid: verhoeff(converted), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/ieId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/ieId.ts new file mode 100644 index 0000000..e955c95 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/ieId.ts @@ -0,0 +1,49 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Irish Personal Public Service Number (PPS) + * + * @see https://en.wikipedia.org/wiki/Personal_Public_Service_Number + * @returns {ValidateResult} + */ +export default function ieId(value: string): ValidateResult { + if (!/^\d{7}[A-W][AHWTX]?$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + + const getCheckDigit = (v: string) => { + let input = v; + while (input.length < 7) { + input = `0${input}`; + } + const alphabet = 'WABCDEFGHIJKLMNOPQRSTUV'; + let sum = 0; + for (let i = 0; i < 7; i++) { + sum += parseInt(input.charAt(i), 10) * (8 - i); + } + sum += 9 * alphabet.indexOf(input.substr(7)); + return alphabet[sum % 23]; + }; + + // 2013 format + const isValid = + value.length === 9 && + ('A' === value.charAt(8) || 'H' === value.charAt(8)) + ? value.charAt(7) === + getCheckDigit(value.substr(0, 7) + value.substr(8) + '') + : // The old format + value.charAt(7) === getCheckDigit(value.substr(0, 7)); + return { + meta: {}, + valid: isValid, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/ilId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/ilId.ts new file mode 100644 index 0000000..677bc5d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/ilId.ts @@ -0,0 +1,29 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import luhn from '../../algorithms/luhn'; +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Israeli identity number (Mispar Zehut) + * + * @see https://gist.github.com/freak4pc/6802be89d019bca57756a675d761c5a8 + * @see http://halemo.net/info/idcard/ + * @returns {ValidateResult} + */ +export default function ilId(value: string): ValidateResult { + if (!/^\d{1,9}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + + return { + meta: {}, + valid: luhn(value), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/index.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/index.ts new file mode 100644 index 0000000..957d104 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/index.ts @@ -0,0 +1,304 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../../core/Core'; +import format from '../../utils/format'; + +// ID validators for supported countries +import arId from './arId'; +import baId from './baId'; +import bgId from './bgId'; +import brId from './brId'; +import chId from './chId'; +import clId from './clId'; +import cnId from './cnId'; +import coId from './coId'; +import czId from './czId'; +import dkId from './dkId'; +import esId from './esId'; +import fiId from './fiId'; +import frId from './frId'; +import hkId from './hkId'; +import hrId from './hrId'; +import idId from './idId'; +import ieId from './ieId'; +import ilId from './ilId'; +import isId from './isId'; +import krId from './krId'; +import ltId from './ltId'; +import lvId from './lvId'; +import meId from './meId'; +import mkId from './mkId'; +import mxId from './mxId'; +import myId from './myId'; +import nlId from './nlId'; +import noId from './noId'; +import peId from './peId'; +import plId from './plId'; +import roId from './roId'; +import rsId from './rsId'; +import seId from './seId'; +import siId from './siId'; +import smId from './smId'; +import thId from './thId'; +import trId from './trId'; +import twId from './twId'; +import uyId from './uyId'; +import zaId from './zaId'; + +export interface IdOptions extends ValidateOptions { + // The ISO 3166-1 country code. It can be + // - A country code + // - A callback function that returns the country code + country: string | (() => string); +} +export interface IdLocalization extends Localization { + id: { + countries: { + [countryCode: string]: string; + }; + country: string; + default: string; + }; +} + +export default function id(): ValidateFunctionInterface< + IdOptions, + ValidateResult +> { + // Supported country codes + const COUNTRY_CODES = [ + 'AR', + 'BA', + 'BG', + 'BR', + 'CH', + 'CL', + 'CN', + 'CO', + 'CZ', + 'DK', + 'EE', + 'ES', + 'FI', + 'FR', + 'HK', + 'HR', + 'ID', + 'IE', + 'IL', + 'IS', + 'KR', + 'LT', + 'LV', + 'ME', + 'MK', + 'MX', + 'MY', + 'NL', + 'NO', + 'PE', + 'PL', + 'RO', + 'RS', + 'SE', + 'SI', + 'SK', + 'SM', + 'TH', + 'TR', + 'TW', + 'UY', + 'ZA', + ]; + + return { + /** + * Validate identification number in different countries + * @see http://en.wikipedia.org/wiki/National_identification_number + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const opts = Object.assign({}, { message: '' }, input.options); + let country = input.value.substr(0, 2); + if ('function' === typeof opts.country) { + country = opts.country.call(this); + } else { + country = opts.country; + } + + if (COUNTRY_CODES.indexOf(country) === -1) { + return { valid: true }; + } + + let result: ValidateResult = { + meta: {}, + valid: true, + }; + switch (country.toLowerCase()) { + case 'ar': + result = arId(input.value); + break; + case 'ba': + result = baId(input.value); + break; + case 'bg': + result = bgId(input.value); + break; + case 'br': + result = brId(input.value); + break; + case 'ch': + result = chId(input.value); + break; + case 'cl': + result = clId(input.value); + break; + case 'cn': + result = cnId(input.value); + break; + case 'co': + result = coId(input.value); + break; + case 'cz': + result = czId(input.value); + break; + case 'dk': + result = dkId(input.value); + break; + + // Validate Estonian Personal Identification Code (isikukood) + // Use the same format as Lithuanian Personal Code + // See http://et.wikipedia.org/wiki/Isikukood + case 'ee': + result = ltId(input.value); + break; + + case 'es': + result = esId(input.value); + break; + case 'fi': + result = fiId(input.value); + break; + case 'fr': + result = frId(input.value); + break; + case 'hk': + result = hkId(input.value); + break; + case 'hr': + result = hrId(input.value); + break; + case 'id': + result = idId(input.value); + break; + case 'ie': + result = ieId(input.value); + break; + case 'il': + result = ilId(input.value); + break; + case 'is': + result = isId(input.value); + break; + case 'kr': + result = krId(input.value); + break; + case 'lt': + result = ltId(input.value); + break; + case 'lv': + result = lvId(input.value); + break; + case 'me': + result = meId(input.value); + break; + case 'mk': + result = mkId(input.value); + break; + case 'mx': + result = mxId(input.value); + break; + case 'my': + result = myId(input.value); + break; + case 'nl': + result = nlId(input.value); + break; + case 'no': + result = noId(input.value); + break; + case 'pe': + result = peId(input.value); + break; + case 'pl': + result = plId(input.value); + break; + case 'ro': + result = roId(input.value); + break; + case 'rs': + result = rsId(input.value); + break; + case 'se': + result = seId(input.value); + break; + case 'si': + result = siId(input.value); + break; + + // Validate Slovak national identifier number (RC) + // Slovakia uses the same format as Czech Republic + case 'sk': + result = czId(input.value); + break; + + case 'sm': + result = smId(input.value); + break; + case 'th': + result = thId(input.value); + break; + case 'tr': + result = trId(input.value); + break; + case 'tw': + result = twId(input.value); + break; + case 'uy': + result = uyId(input.value); + break; + case 'za': + result = zaId(input.value); + break; + + default: + break; + } + + const message = format( + input.l10n + ? opts.message || input.l10n.id.country + : opts.message, + input.l10n + ? input.l10n.id.countries[country.toUpperCase()] + : country.toUpperCase() + ); + return Object.assign({}, { message }, result); + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/isId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/isId.ts new file mode 100644 index 0000000..01c5ed4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/isId.ts @@ -0,0 +1,47 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Iceland national identification number (Kennitala) + * + * @see http://en.wikipedia.org/wiki/Kennitala + * @returns {ValidateResult} + */ +export default function isId(value: string): ValidateResult { + if (!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + const v = value.replace(/-/g, ''); + const day = parseInt(v.substr(0, 2), 10); + const month = parseInt(v.substr(2, 2), 10); + let year = parseInt(v.substr(4, 2), 10); + const century = parseInt(v.charAt(9), 10); + + year = century === 9 ? 1900 + year : (20 + century) * 100 + year; + if (!isValidDate(year, month, day, true)) { + return { + meta: {}, + valid: false, + }; + } + // Validate the check digit + const weight = [3, 2, 7, 6, 5, 4, 3, 2]; + let sum = 0; + for (let i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + return { + meta: {}, + valid: `${sum}` === v.charAt(8), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/jmbg.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/jmbg.ts new file mode 100644 index 0000000..f6c7470 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/jmbg.ts @@ -0,0 +1,76 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +/** + * Validate Unique Master Citizen Number which uses in + * - Bosnia and Herzegovina (country code: BA) + * - Macedonia (MK) + * - Montenegro (ME) + * - Serbia (RS) + * - Slovenia (SI) + * + * @see http://en.wikipedia.org/wiki/Unique_Master_Citizen_Number + * @returns {boolean} + */ +export default function jmbg( + value: string, + countryCode: 'BA' | 'MK' | 'ME' | 'RS' | 'SI' +): boolean { + if (!/^\d{13}$/.test(value)) { + return false; + } + const day = parseInt(value.substr(0, 2), 10); + const month = parseInt(value.substr(2, 2), 10); + // const year = parseInt(value.substr(4, 3), 10) + const rr = parseInt(value.substr(7, 2), 10); + const k = parseInt(value.substr(12, 1), 10); + + // Validate date of birth + // FIXME: Validate the year of birth + if (day > 31 || month > 12) { + return false; + } + + // Validate checksum + let sum = 0; + for (let i = 0; i < 6; i++) { + sum += + (7 - i) * + (parseInt(value.charAt(i), 10) + parseInt(value.charAt(i + 6), 10)); + } + sum = 11 - (sum % 11); + if (sum === 10 || sum === 11) { + sum = 0; + } + if (sum !== k) { + return false; + } + + // Validate political region + // rr is the political region of birth, which can be in ranges: + // 10-19: Bosnia and Herzegovina + // 20-29: Montenegro + // 30-39: Croatia (not used anymore) + // 41-49: Macedonia + // 50-59: Slovenia (only 50 is used) + // 70-79: Central Serbia + // 80-89: Serbian province of Vojvodina + // 90-99: Kosovo + switch (countryCode.toUpperCase()) { + case 'BA': + return 10 <= rr && rr <= 19; + case 'MK': + return 41 <= rr && rr <= 49; + case 'ME': + return 20 <= rr && rr <= 29; + case 'RS': + return 70 <= rr && rr <= 99; + case 'SI': + return 50 <= rr && rr <= 59; + default: + return true; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/krId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/krId.ts new file mode 100644 index 0000000..b79b809 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/krId.ts @@ -0,0 +1,67 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Korean registration number (RRN) + * + * @see https://en.wikipedia.org/wiki/Resident_registration_number + * @returns {ValidateResult} + */ +export default function krId(value: string): ValidateResult { + const v = value.replace('-', ''); + if (!/^\d{13}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + // Check the date of birth + const sDigit = v.charAt(6); + let year = parseInt(v.substr(0, 2), 10); + const month = parseInt(v.substr(2, 2), 10); + const day = parseInt(v.substr(4, 2), 10); + switch (sDigit) { + case '1': + case '2': + case '5': + case '6': + year += 1900; + break; + case '3': + case '4': + case '7': + case '8': + year += 2000; + break; + default: + year += 1800; + break; + } + if (!isValidDate(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + + // Calculate the check digit + const weight = [2, 3, 4, 5, 6, 7, 8, 9, 2, 3, 4, 5]; + const length = v.length; + let sum = 0; + for (let i = 0; i < length - 1; i++) { + sum += weight[i] * parseInt(v.charAt(i), 10); + } + + const checkDigit = (11 - (sum % 11)) % 10; + return { + meta: {}, + valid: `${checkDigit}` === v.charAt(length - 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/ltId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/ltId.ts new file mode 100644 index 0000000..f6c8a51 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/ltId.ts @@ -0,0 +1,66 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Lithuanian Personal Code (Asmens kodas) + * + * @see http://en.wikipedia.org/wiki/National_identification_number#Lithuania + * @see http://www.adomas.org/midi2007/pcode.html + * @returns {ValidateResult} + */ +export default function ltId(value: string): ValidateResult { + if (!/^[0-9]{11}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + const gender = parseInt(value.charAt(0), 10); + let year = parseInt(value.substr(1, 2), 10); + const month = parseInt(value.substr(3, 2), 10); + const day = parseInt(value.substr(5, 2), 10); + const century = gender % 2 === 0 ? 17 + gender / 2 : 17 + (gender + 1) / 2; + year = century * 100 + year; + if (!isValidDate(year, month, day, true)) { + return { + meta: {}, + valid: false, + }; + } + + // Validate the check digit + let weight = [1, 2, 3, 4, 5, 6, 7, 8, 9, 1]; + let sum = 0; + let i; + for (i = 0; i < 10; i++) { + sum += parseInt(value.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + if (sum !== 10) { + return { + meta: {}, + valid: `${sum}` === value.charAt(10), + }; + } + + // Re-calculate the check digit + sum = 0; + weight = [3, 4, 5, 6, 7, 8, 9, 1, 2, 3]; + for (i = 0; i < 10; i++) { + sum += parseInt(value.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + if (sum === 10) { + sum = 0; + } + return { + meta: {}, + valid: `${sum}` === value.charAt(10), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/lvId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/lvId.ts new file mode 100644 index 0000000..67a74af --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/lvId.ts @@ -0,0 +1,48 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Latvian Personal Code (Personas kods) + * + * @see http://laacz.lv/2006/11/25/pk-parbaudes-algoritms/ + * @returns {ValidateResult} + */ +export default function lvId(value: string): ValidateResult { + if (!/^[0-9]{6}[-]{0,1}[0-9]{5}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + const v = value.replace(/\D/g, ''); + // Check birth date + const day = parseInt(v.substr(0, 2), 10); + const month = parseInt(v.substr(2, 2), 10); + let year = parseInt(v.substr(4, 2), 10); + year = year + 1800 + parseInt(v.charAt(6), 10) * 100; + + if (!isValidDate(year, month, day, true)) { + return { + meta: {}, + valid: false, + }; + } + + // Check personal code + let sum = 0; + const weight = [10, 5, 8, 4, 2, 1, 6, 3, 7, 9]; + for (let i = 0; i < 10; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = ((sum + 1) % 11) % 10; + return { + meta: {}, + valid: `${sum}` === v.charAt(10), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/meId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/meId.ts new file mode 100644 index 0000000..0bf108a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/meId.ts @@ -0,0 +1,18 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import jmbg from './jmbg'; + +/** + * @returns {ValidateResult} + */ +export default function meId(value: string): ValidateResult { + return { + meta: {}, + valid: jmbg(value, 'ME'), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/mkId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/mkId.ts new file mode 100644 index 0000000..9a810d1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/mkId.ts @@ -0,0 +1,18 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import jmbg from './jmbg'; + +/** + * @returns {ValidateResult} + */ +export default function mkId(value: string): ValidateResult { + return { + meta: {}, + valid: jmbg(value, 'MK'), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/mxId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/mxId.ts new file mode 100644 index 0000000..27b2f52 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/mxId.ts @@ -0,0 +1,201 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Mexican ID number (CURP) + * + * @see https://en.wikipedia.org/wiki/Unique_Population_Registry_Code + * @returns {ValidateResult} + */ +export default function mxId(value: string): ValidateResult { + const v = value.toUpperCase(); + if (!/^[A-Z]{4}\d{6}[A-Z]{6}[0-9A-Z]\d$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + // Check if the combination of initial names belongs to a back list + // See + // http://quemamadera.blogspot.com/2008/02/las-palabras-inconvenientes-del-curp.html + // https://www.reddit.com/r/mexico/comments/bo8cv/hoy_aprendi_que_existe_un_catalogo_de_palabras/ + const blacklistNames = [ + 'BACA', + 'BAKA', + 'BUEI', + 'BUEY', + 'CACA', + 'CACO', + 'CAGA', + 'CAGO', + 'CAKA', + 'CAKO', + 'COGE', + 'COGI', + 'COJA', + 'COJE', + 'COJI', + 'COJO', + 'COLA', + 'CULO', + 'FALO', + 'FETO', + 'GETA', + 'GUEI', + 'GUEY', + 'JETA', + 'JOTO', + 'KACA', + 'KACO', + 'KAGA', + 'KAGO', + 'KAKA', + 'KAKO', + 'KOGE', + 'KOGI', + 'KOJA', + 'KOJE', + 'KOJI', + 'KOJO', + 'KOLA', + 'KULO', + 'LILO', + 'LOCA', + 'LOCO', + 'LOKA', + 'LOKO', + 'MAME', + 'MAMO', + 'MEAR', + 'MEAS', + 'MEON', + 'MIAR', + 'MION', + 'MOCO', + 'MOKO', + 'MULA', + 'MULO', + 'NACA', + 'NACO', + 'PEDA', + 'PEDO', + 'PENE', + 'PIPI', + 'PITO', + 'POPO', + 'PUTA', + 'PUTO', + 'QULO', + 'RATA', + 'ROBA', + 'ROBE', + 'ROBO', + 'RUIN', + 'SENO', + 'TETA', + 'VACA', + 'VAGA', + 'VAGO', + 'VAKA', + 'VUEI', + 'VUEY', + 'WUEI', + 'WUEY', + ]; + const name = v.substr(0, 4); + if (blacklistNames.indexOf(name) >= 0) { + return { + meta: {}, + valid: false, + }; + } + + // Check the date of birth + let year = parseInt(v.substr(4, 2), 10); + const month = parseInt(v.substr(6, 2), 10); + const day = parseInt(v.substr(6, 2), 10); + if (/^[0-9]$/.test(v.charAt(16))) { + year += 1900; + } else { + year += 2000; + } + if (!isValidDate(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + + // Check the gender + const gender = v.charAt(10); + if (gender !== 'H' && gender !== 'M') { + // H for male, M for female + return { + meta: {}, + valid: false, + }; + } + + // Check the state + const state = v.substr(11, 2); + const states = [ + 'AS', + 'BC', + 'BS', + 'CC', + 'CH', + 'CL', + 'CM', + 'CS', + 'DF', + 'DG', + 'GR', + 'GT', + 'HG', + 'JC', + 'MC', + 'MN', + 'MS', + 'NE', + 'NL', + 'NT', + 'OC', + 'PL', + 'QR', + 'QT', + 'SL', + 'SP', + 'SR', + 'TC', + 'TL', + 'TS', + 'VZ', + 'YN', + 'ZS', + ]; + if (states.indexOf(state) === -1) { + return { + meta: {}, + valid: false, + }; + } + + // Calculate the check digit + const alphabet = '0123456789ABCDEFGHIJKLMN&OPQRSTUVWXYZ'; + let sum = 0; + const length = v.length; + for (let i = 0; i < length - 1; i++) { + sum += (18 - i) * alphabet.indexOf(v.charAt(i)); + } + sum = (10 - (sum % 10)) % 10; + return { + meta: {}, + valid: `${sum}` === v.charAt(length - 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/myId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/myId.ts new file mode 100644 index 0000000..3aaba76 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/myId.ts @@ -0,0 +1,58 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Malaysian identity card number + * + * @see https://en.wikipedia.org/wiki/Malaysian_identity_card + * @returns {ValidateResult} + */ +export default function myId(value: string): ValidateResult { + if (!/^\d{12}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + // Validate date of birth + const year = parseInt(value.substr(0, 2), 10); + const month = parseInt(value.substr(2, 2), 10); + const day = parseInt(value.substr(4, 2), 10); + if ( + !isValidDate(year + 1900, month, day) && + !isValidDate(year + 2000, month, day) + ) { + return { + meta: {}, + valid: false, + }; + } + + // Validate place of birth + const placeOfBirth = value.substr(6, 2); + const notAvailablePlaces = [ + '17', + '18', + '19', + '20', + '69', + '70', + '73', + '80', + '81', + '94', + '95', + '96', + '97', + ]; + return { + meta: {}, + valid: notAvailablePlaces.indexOf(placeOfBirth) === -1, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/nlId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/nlId.ts new file mode 100644 index 0000000..bfb8775 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/nlId.ts @@ -0,0 +1,53 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Dutch national identification number (BSN) + * + * @see https://nl.wikipedia.org/wiki/Burgerservicenummer + * @returns {ValidateResult} + */ +export default function nlId(value: string): ValidateResult { + if (value.length < 8) { + return { + meta: {}, + valid: false, + }; + } + + let v = value; + if (v.length === 8) { + v = `0${v}`; + } + if (!/^[0-9]{4}[.]{0,1}[0-9]{2}[.]{0,1}[0-9]{3}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + v = v.replace(/\./g, ''); + if (parseInt(v, 10) === 0) { + return { + meta: {}, + valid: false, + }; + } + let sum = 0; + const length = v.length; + for (let i = 0; i < length - 1; i++) { + sum += (9 - i) * parseInt(v.charAt(i), 10); + } + sum = sum % 11; + if (sum === 10) { + sum = 0; + } + return { + meta: {}, + valid: `${sum}` === v.charAt(length - 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/noId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/noId.ts new file mode 100644 index 0000000..aa0f9db --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/noId.ts @@ -0,0 +1,49 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Norwegian identity number (Fødselsnummer) + * + * @see https://no.wikipedia.org/wiki/F%C3%B8dselsnummer + * @returns {ValidateResult} + */ +export default function noId(value: string): ValidateResult { + if (!/^\d{11}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + + // Calculate the first check digit + const firstCd = (v: string) => { + const weight = [3, 7, 6, 1, 8, 9, 4, 5, 2]; + let sum = 0; + for (let i = 0; i < 9; i++) { + sum += weight[i] * parseInt(v.charAt(i), 10); + } + return 11 - (sum % 11); + }; + + // Calculate the second check digit + const secondCd = (v: string) => { + const weight = [5, 4, 3, 2, 7, 6, 5, 4, 3, 2]; + let sum = 0; + for (let i = 0; i < 10; i++) { + sum += weight[i] * parseInt(v.charAt(i), 10); + } + return 11 - (sum % 11); + }; + + return { + meta: {}, + valid: + `${firstCd(value)}` === value.substr(-2, 1) && + `${secondCd(value)}` === value.substr(-1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/peId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/peId.ts new file mode 100644 index 0000000..e4eecee --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/peId.ts @@ -0,0 +1,42 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Peruvian identity number (CUI) + * + * @see https://es.wikipedia.org/wiki/Documento_Nacional_de_Identidad_(Per%C3%BA) + * @returns {ValidateResult} + */ +export default function peId(value: string): ValidateResult { + if (!/^\d{8}[0-9A-Z]*$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + if (value.length === 8) { + return { + meta: {}, + valid: true, + }; + } + const weight = [3, 2, 7, 6, 5, 4, 3, 2]; + let sum = 0; + for (let i = 0; i < 8; i++) { + sum += weight[i] * parseInt(value.charAt(i), 10); + } + const cd = sum % 11; + const checkDigit = [6, 5, 4, 3, 2, 1, 1, 0, 9, 8, 7][cd]; + const checkChar = 'KJIHGFEDCBA'.charAt(cd); + return { + meta: {}, + valid: + value.charAt(8) === `${checkDigit}` || + value.charAt(8) === checkChar, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/plId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/plId.ts new file mode 100644 index 0000000..270dac9 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/plId.ts @@ -0,0 +1,41 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Poland citizen number (PESEL) + * + * @see http://en.wikipedia.org/wiki/National_identification_number#Poland + * @see http://en.wikipedia.org/wiki/PESEL + * @returns {ValidateResult} + */ +export default function plId(value: string): ValidateResult { + if (!/^[0-9]{11}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + + let sum = 0; + const length = value.length; + const weight = [1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7]; + + for (let i = 0; i < length - 1; i++) { + sum += weight[i] * parseInt(value.charAt(i), 10); + } + sum = sum % 10; + if (sum === 0) { + sum = 10; + } + sum = 10 - sum; + + return { + meta: {}, + valid: `${sum}` === value.charAt(length - 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/roId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/roId.ts new file mode 100644 index 0000000..4e33838 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/roId.ts @@ -0,0 +1,75 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Romanian numerical personal code (CNP) + * + * @see http://en.wikipedia.org/wiki/National_identification_number#Romania + * @returns {ValidateResult} + */ +export default function roId(value: string): ValidateResult { + if (!/^[0-9]{13}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + const gender = parseInt(value.charAt(0), 10); + if (gender === 0 || gender === 7 || gender === 8) { + return { + meta: {}, + valid: false, + }; + } + + // Determine the date of birth + let year = parseInt(value.substr(1, 2), 10); + const month = parseInt(value.substr(3, 2), 10); + const day = parseInt(value.substr(5, 2), 10); + // The year of date is determined base on the gender + const centuries = { + 1: 1900, // Male born between 1900 and 1999 + 2: 1900, // Female born between 1900 and 1999 + 3: 1800, // Male born between 1800 and 1899 + 4: 1800, // Female born between 1800 and 1899 + 5: 2000, // Male born after 2000 + 6: 2000, // Female born after 2000 + }; + if (day > 31 && month > 12) { + return { + meta: {}, + valid: false, + }; + } + if (gender !== 9) { + year = centuries[gender + ''] + year; + if (!isValidDate(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + } + + // Validate the check digit + let sum = 0; + const weight = [2, 7, 9, 1, 4, 6, 3, 5, 8, 2, 7, 9]; + const length = value.length; + for (let i = 0; i < length - 1; i++) { + sum += parseInt(value.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + if (sum === 10) { + sum = 1; + } + return { + meta: {}, + valid: `${sum}` === value.charAt(length - 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/rsId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/rsId.ts new file mode 100644 index 0000000..d5c91c0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/rsId.ts @@ -0,0 +1,18 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import jmbg from './jmbg'; + +/** + * @returns {ValidateResult} + */ +export default function rsId(value: string): ValidateResult { + return { + meta: {}, + valid: jmbg(value, 'RS'), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/seId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/seId.ts new file mode 100644 index 0000000..41d40d1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/seId.ts @@ -0,0 +1,40 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import luhn from '../../algorithms/luhn'; +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Swedish personal identity number (personnummer) + * + * @see http://en.wikipedia.org/wiki/Personal_identity_number_(Sweden) + * @returns {ValidateResult} + */ +export default function seId(value: string): ValidateResult { + if (!/^[0-9]{10}$/.test(value) && !/^[0-9]{6}[-|+][0-9]{4}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + const v = value.replace(/[^0-9]/g, ''); + const year = parseInt(v.substr(0, 2), 10) + 1900; + const month = parseInt(v.substr(2, 2), 10); + const day = parseInt(v.substr(4, 2), 10); + if (!isValidDate(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + + // Validate the last check digit + return { + meta: {}, + valid: luhn(v), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/siId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/siId.ts new file mode 100644 index 0000000..50110ad --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/siId.ts @@ -0,0 +1,18 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import jmbg from './jmbg'; + +/** + * @returns {ValidateResult} + */ +export default function siId(value: string): ValidateResult { + return { + meta: {}, + valid: jmbg(value, 'SI'), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/smId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/smId.ts new file mode 100644 index 0000000..09b2dae --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/smId.ts @@ -0,0 +1,20 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate San Marino citizen number + * + * @see http://en.wikipedia.org/wiki/National_identification_number#San_Marino + * @returns {ValidateResult} + */ +export default function smId(value: string): ValidateResult { + return { + meta: {}, + valid: /^\d{5}$/.test(value), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/thId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/thId.ts new file mode 100644 index 0000000..15d6dd2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/thId.ts @@ -0,0 +1,32 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Thailand citizen number + * + * @see http://en.wikipedia.org/wiki/National_identification_number#Thailand + * @returns {ValidateResult} + */ +export default function thId(value: string): ValidateResult { + if (value.length !== 13) { + return { + meta: {}, + valid: false, + }; + } + + let sum = 0; + for (let i = 0; i < 12; i++) { + sum += parseInt(value.charAt(i), 10) * (13 - i); + } + + return { + meta: {}, + valid: (11 - (sum % 11)) % 10 === parseInt(value.charAt(12), 10), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/trId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/trId.ts new file mode 100644 index 0000000..167898d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/trId.ts @@ -0,0 +1,32 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Turkish Identification Number + * + * @see https://en.wikipedia.org/wiki/Turkish_Identification_Number + * @returns {ValidateResult} + */ +export default function trId(value: string): ValidateResult { + if (value.length !== 11) { + return { + meta: {}, + valid: false, + }; + } + + let sum = 0; + for (let i = 0; i < 10; i++) { + sum += parseInt(value.charAt(i), 10); + } + + return { + meta: {}, + valid: sum % 10 === parseInt(value.charAt(10), 10), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/twId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/twId.ts new file mode 100644 index 0000000..76497c6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/twId.ts @@ -0,0 +1,38 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Taiwan identity card number + * + * @see https://en.wikipedia.org/wiki/National_identification_number#Taiwan + * @returns {ValidateResult} + */ +export default function twId(value: string): ValidateResult { + const v = value.toUpperCase(); + if (!/^[A-Z][12][0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + const length = v.length; + const alphabet = 'ABCDEFGHJKLMNPQRSTUVXYWZIO'; + const letterIndex = alphabet.indexOf(v.charAt(0)) + 10; + const letterValue = + Math.floor(letterIndex / 10) + (letterIndex % 10) * (length - 1); + + let sum = 0; + for (let i = 1; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * (length - 1 - i); + } + return { + meta: {}, + valid: + (letterValue + sum + parseInt(v.charAt(length - 1), 10)) % 10 === 0, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/uyId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/uyId.ts new file mode 100644 index 0000000..c9364de --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/uyId.ts @@ -0,0 +1,35 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Uruguayan identity document + * + * @see https://en.wikipedia.org/wiki/Identity_document#Uruguay + * @returns {ValidateResult} + */ +export default function uyId(value: string): ValidateResult { + if (!/^\d{8}$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + const weight = [2, 9, 8, 7, 6, 3, 4]; + let sum = 0; + for (let i = 0; i < 7; i++) { + sum += parseInt(value.charAt(i), 10) * weight[i]; + } + sum = sum % 10; + if (sum > 0) { + sum = 10 - sum; + } + return { + meta: {}, + valid: `${sum}` === value.charAt(7), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/id/zaId.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/id/zaId.ts new file mode 100644 index 0000000..101e0d5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/id/zaId.ts @@ -0,0 +1,42 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import luhn from '../../algorithms/luhn'; +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate South African ID + * + * @see http://en.wikipedia.org/wiki/National_identification_number#South_Africa + * @returns {ValidateResult} + */ +export default function zaId(value: string): ValidateResult { + if (!/^[0-9]{10}[0|1][8|9][0-9]$/.test(value)) { + return { + meta: {}, + valid: false, + }; + } + let year = parseInt(value.substr(0, 2), 10); + const currentYear = new Date().getFullYear() % 100; + const month = parseInt(value.substr(2, 2), 10); + const day = parseInt(value.substr(4, 2), 10); + year = year >= currentYear ? year + 1900 : year + 2000; + + if (!isValidDate(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + + // Validate the last check digit + return { + meta: {}, + valid: luhn(value), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/identical.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/identical.ts new file mode 100644 index 0000000..4f93506 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/identical.ts @@ -0,0 +1,41 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +type CompareIdenticalCallback = () => string; + +export interface IdenticalOptions extends ValidateOptions { + compare: string | CompareIdenticalCallback; +} + +export default function identical(): ValidateFunctionInterface< + IdenticalOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + const compareWith = + 'function' === typeof input.options.compare + ? (input.options.compare as CompareIdenticalCallback).call( + this + ) + : (input.options.compare as string); + + return { + valid: compareWith === '' || input.value === compareWith, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/imei.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/imei.ts new file mode 100644 index 0000000..2346dd6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/imei.ts @@ -0,0 +1,49 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import luhn from '../algorithms/luhn'; +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function imei(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Validate IMEI (International Mobile Station Equipment Identity) + * @see http://en.wikipedia.org/wiki/International_Mobile_Station_Equipment_Identity + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + switch (true) { + case /^\d{15}$/.test(input.value): + case /^\d{2}-\d{6}-\d{6}-\d{1}$/.test(input.value): + case /^\d{2}\s\d{6}\s\d{6}\s\d{1}$/.test(input.value): + return { valid: luhn(input.value.replace(/[^0-9]/g, '')) }; + + case /^\d{14}$/.test(input.value): + case /^\d{16}$/.test(input.value): + case /^\d{2}-\d{6}-\d{6}(|-\d{2})$/.test(input.value): + case /^\d{2}\s\d{6}\s\d{6}(|\s\d{2})$/.test(input.value): + return { valid: true }; + + default: + return { valid: false }; + } + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/imo.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/imo.ts new file mode 100644 index 0000000..a7277e3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/imo.ts @@ -0,0 +1,45 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function imo(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Validate IMO (International Maritime Organization) + * @see http://en.wikipedia.org/wiki/IMO_Number + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + if (!/^IMO \d{7}$/i.test(input.value)) { + return { valid: false }; + } + + // Grab just the digits + const digits = input.value.replace(/^.*(\d{7})$/, '$1'); + let sum = 0; + for (let i = 6; i >= 1; i--) { + sum += parseInt(digits.slice(6 - i, -i), 10) * (i + 1); + } + + return { valid: sum % 10 === parseInt(digits.charAt(6), 10) }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/index-full.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/index-full.ts new file mode 100644 index 0000000..b8b0413 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/index-full.ts @@ -0,0 +1,114 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import between from './between'; +import blank from './blank'; +import callback from './callback'; +import choice from './choice'; +import creditCard from './creditCard'; +import date from './date'; +import different from './different'; +import digits from './digits'; +import emailAddress from './emailAddress'; +import file from './file'; +import greaterThan from './greaterThan'; +import identical from './identical'; +import integer from './integer'; +import ip from './ip'; +import lessThan from './lessThan'; +import notEmpty from './notEmpty'; +import numeric from './numeric'; +import promise from './promise'; +import regexp from './regexp'; +import remote from './remote'; +import stringCase from './stringCase'; +import stringLength from './stringLength'; +import uri from './uri'; + +// Additional validators +import base64 from './base64'; +import bic from './bic'; +import color from './color'; +import cusip from './cusip'; +import ean from './ean'; +import ein from './ein'; +import grid from './grid'; +import hex from './hex'; +import iban from './iban'; +import id from './id/index'; +import imei from './imei'; +import imo from './imo'; +import isbn from './isbn'; +import isin from './isin'; +import ismn from './ismn'; +import issn from './issn'; +import mac from './mac'; +import meid from './meid'; +import phone from './phone'; +import rtn from './rtn'; +import sedol from './sedol'; +import siren from './siren'; +import siret from './siret'; +import step from './step'; +import uuid from './uuid'; +import vat from './vat/index'; +import vin from './vin'; +import zipCode from './zipCode'; + +export default { + between, + blank, + callback, + choice, + creditCard, + date, + different, + digits, + emailAddress, + file, + greaterThan, + identical, + integer, + ip, + lessThan, + notEmpty, + numeric, + promise, + regexp, + remote, + stringCase, + stringLength, + uri, + // Additional validators + base64, + bic, + color, + cusip, + ean, + ein, + grid, + hex, + iban, + id, + imei, + imo, + isbn, + isin, + ismn, + issn, + mac, + meid, + phone, + rtn, + sedol, + siren, + siret, + step, + uuid, + vat, + vin, + zipCode, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/index.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/index.ts new file mode 100644 index 0000000..f5145d0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/index.ts @@ -0,0 +1,55 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import between from './between'; +import blank from './blank'; +import callback from './callback'; +import choice from './choice'; +import creditCard from './creditCard'; +import date from './date'; +import different from './different'; +import digits from './digits'; +import emailAddress from './emailAddress'; +import file from './file'; +import greaterThan from './greaterThan'; +import identical from './identical'; +import integer from './integer'; +import ip from './ip'; +import lessThan from './lessThan'; +import notEmpty from './notEmpty'; +import numeric from './numeric'; +import promise from './promise'; +import regexp from './regexp'; +import remote from './remote'; +import stringCase from './stringCase'; +import stringLength from './stringLength'; +import uri from './uri'; + +export default { + between, + blank, + callback, + choice, + creditCard, + date, + different, + digits, + emailAddress, + file, + greaterThan, + identical, + integer, + ip, + lessThan, + notEmpty, + numeric, + promise, + regexp, + remote, + stringCase, + stringLength, + uri, +}; diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/integer.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/integer.ts new file mode 100644 index 0000000..96cbbe1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/integer.ts @@ -0,0 +1,72 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export interface IntegerOptions extends ValidateOptions { + // The decimal separator. It's '.' by default + decimalSeparator: string; + // The thousands separator. It's empty by default + thousandsSeparator: string; +} + +export default function integer(): ValidateFunctionInterface< + IntegerOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const opts = Object.assign( + {}, + { + decimalSeparator: '.', + thousandsSeparator: '', + }, + input.options + ); + + const decimalSeparator = + opts.decimalSeparator === '.' ? '\\.' : opts.decimalSeparator; + const thousandsSeparator = + opts.thousandsSeparator === '.' + ? '\\.' + : opts.thousandsSeparator; + const testRegexp = new RegExp( + `^-?[0-9]{1,3}(${thousandsSeparator}[0-9]{3})*(${decimalSeparator}[0-9]+)?$` + ); + const thousandsReplacer = new RegExp(thousandsSeparator, 'g'); + + let v = `${input.value}`; + if (!testRegexp.test(v)) { + return { valid: false }; + } + + // Replace thousands separator with blank + if (thousandsSeparator) { + v = v.replace(thousandsReplacer, ''); + } + // Replace decimal separator with a dot + if (decimalSeparator) { + v = v.replace(decimalSeparator, '.'); + } + + const n = parseFloat(v); + return { valid: !isNaN(n) && isFinite(n) && Math.floor(n) === n }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/ip.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/ip.ts new file mode 100644 index 0000000..f16191c --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/ip.ts @@ -0,0 +1,87 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export interface IpOptions extends ValidateOptions { + // Enable IPv4 validator, default to true + ipv4?: boolean; + // Enable IPv6 validator, default to true + ipv6?: boolean; +} +export interface IpLocalization extends Localization { + ip: { + default: string; + ipv4: string; + ipv6: string; + }; +} + +export default function ip(): ValidateFunctionInterface< + IpOptions, + ValidateResult +> { + return { + /** + * Return true if the input value is a IP address. + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const opts = Object.assign( + {}, + { + ipv4: true, + ipv6: true, + }, + input.options + ); + const ipv4Regex = + /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/([0-9]|[1-2][0-9]|3[0-2]))?$/; + const ipv6Regex = + /^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/(\d|\d\d|1[0-1]\d|12[0-8]))?$/; + + switch (true) { + case opts.ipv4 && !opts.ipv6: + return { + message: input.l10n + ? opts.message || input.l10n.ip.ipv4 + : opts.message, + valid: ipv4Regex.test(input.value), + }; + + case !opts.ipv4 && opts.ipv6: + return { + message: input.l10n + ? opts.message || input.l10n.ip.ipv6 + : opts.message, + valid: ipv6Regex.test(input.value), + }; + + case opts.ipv4 && opts.ipv6: + default: + return { + message: input.l10n + ? opts.message || input.l10n.ip.default + : opts.message, + valid: + ipv4Regex.test(input.value) || + ipv6Regex.test(input.value), + }; + } + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/isbn.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/isbn.ts new file mode 100644 index 0000000..b64fb6e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/isbn.ts @@ -0,0 +1,114 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function isbn(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Return true if the input value is a valid ISBN 10 or ISBN 13 number + * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { + meta: { + type: null, + }, + valid: true, + }; + } + + // http://en.wikipedia.org/wiki/International_Standard_Book_Number#Overview + // Groups are separated by a hyphen or a space + let tpe; + switch (true) { + case /^\d{9}[\dX]$/.test(input.value): + case input.value.length === 13 && + /^(\d+)-(\d+)-(\d+)-([\dX])$/.test(input.value): + case input.value.length === 13 && + /^(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(input.value): + tpe = 'ISBN10'; + break; + + case /^(978|979)\d{9}[\dX]$/.test(input.value): + case input.value.length === 17 && + /^(978|979)-(\d+)-(\d+)-(\d+)-([\dX])$/.test(input.value): + case input.value.length === 17 && + /^(978|979)\s(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test( + input.value + ): + tpe = 'ISBN13'; + break; + + default: + return { + meta: { + type: null, + }, + valid: false, + }; + } + + // Replace all special characters except digits and X + const chars = input.value.replace(/[^0-9X]/gi, '').split(''); + const length = chars.length; + let sum = 0; + let i; + let checksum; + + switch (tpe) { + case 'ISBN10': + sum = 0; + for (i = 0; i < length - 1; i++) { + sum += parseInt(chars[i], 10) * (10 - i); + } + checksum = 11 - (sum % 11); + if (checksum === 11) { + checksum = 0; + } else if (checksum === 10) { + checksum = 'X'; + } + return { + meta: { + type: tpe, + }, + valid: `${checksum}` === chars[length - 1], + }; + + case 'ISBN13': + sum = 0; + for (i = 0; i < length - 1; i++) { + sum += + i % 2 === 0 + ? parseInt(chars[i], 10) + : parseInt(chars[i], 10) * 3; + } + checksum = 10 - (sum % 10); + if (checksum === 10) { + checksum = '0'; + } + return { + meta: { + type: tpe, + }, + valid: `${checksum}` === chars[length - 1], + }; + } + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/isin.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/isin.ts new file mode 100644 index 0000000..4aa9d64 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/isin.ts @@ -0,0 +1,74 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function isin(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + // Available country codes + // See http://isin.net/country-codes/ + const COUNTRY_CODES = + 'AF|AX|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BQ|BA|BW|' + + 'BV|BR|IO|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CG|CD|CK|CR|CI|HR|CU|CW|CY|CZ|DK|DJ|DM|DO|EC|EG|' + + 'SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|GF|PF|TF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GP|GU|GT|GG|GN|GW|GY|HT|HM|VA|HN|HK|HU|IS|' + + 'IN|ID|IR|IQ|IE|IM|IL|IT|JM|JP|JE|JO|KZ|KE|KI|KP|KR|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|' + + 'MH|MQ|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|NC|NZ|NI|NE|NG|NU|NF|MP|NO|OM|PK|PW|PS|PA|PG|PY|PE|' + + 'PH|PN|PL|PT|PR|QA|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|GS|SS|ES|LK|' + + 'SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TL|TG|TK|TO|TT|TN|TR|TM|TC|TV|UG|UA|AE|GB|US|UM|UY|UZ|VU|VE|VN|VG|VI|WF|EH|' + + 'YE|ZM|ZW'; + + return { + /** + * Validate an ISIN (International Securities Identification Number) + * @see http://en.wikipedia.org/wiki/International_Securities_Identifying_Number + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const v = input.value.toUpperCase(); + const regex = new RegExp('^(' + COUNTRY_CODES + ')[0-9A-Z]{10}$'); + if (!regex.test(input.value)) { + return { valid: false }; + } + + const length = v.length; + let converted = ''; + let i; + // Convert letters to number + for (i = 0; i < length - 1; i++) { + const c = v.charCodeAt(i); + converted += c > 57 ? (c - 55).toString() : v.charAt(i); + } + + let digits = ''; + const n = converted.length; + const group = n % 2 !== 0 ? 0 : 1; + for (i = 0; i < n; i++) { + digits += + parseInt(converted[i], 10) * (i % 2 === group ? 2 : 1) + ''; + } + + let sum = 0; + for (i = 0; i < digits.length; i++) { + sum += parseInt(digits.charAt(i), 10); + } + sum = (10 - (sum % 10)) % 10; + return { valid: `${sum}` === v.charAt(length - 1) }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/ismn.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/ismn.ts new file mode 100644 index 0000000..77aa614 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/ismn.ts @@ -0,0 +1,78 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function ismn(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Validate ISMN (International Standard Music Number) + * @see http://en.wikipedia.org/wiki/International_Standard_Music_Number + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { + meta: null, + valid: true, + }; + } + + // Groups are separated by a hyphen or a space + let tpe; + switch (true) { + case /^M\d{9}$/.test(input.value): + case /^M-\d{4}-\d{4}-\d{1}$/.test(input.value): + case /^M\s\d{4}\s\d{4}\s\d{1}$/.test(input.value): + tpe = 'ISMN10'; + break; + + case /^9790\d{9}$/.test(input.value): + case /^979-0-\d{4}-\d{4}-\d{1}$/.test(input.value): + case /^979\s0\s\d{4}\s\d{4}\s\d{1}$/.test(input.value): + tpe = 'ISMN13'; + break; + + default: + return { + meta: null, + valid: false, + }; + } + + let v = input.value; + if ('ISMN10' === tpe) { + v = `9790${v.substr(1)}`; + } + + // Replace all special characters except digits + v = v.replace(/[^0-9]/gi, ''); + let sum = 0; + const length = v.length; + const weight = [1, 3]; + for (let i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i % 2]; + } + sum = (10 - (sum % 10)) % 10; + return { + meta: { + type: tpe, + }, + valid: `${sum}` === v.charAt(length - 1), + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/issn.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/issn.ts new file mode 100644 index 0000000..1864abd --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/issn.ts @@ -0,0 +1,50 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function issn(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Validate ISSN (International Standard Serial Number) + * @see http://en.wikipedia.org/wiki/International_Standard_Serial_Number + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + // Groups are separated by a hyphen or a space + if (!/^\d{4}-\d{3}[\dX]$/.test(input.value)) { + return { valid: false }; + } + + // Replace all special characters except digits and X + const chars = input.value.replace(/[^0-9X]/gi, '').split(''); + const length = chars.length; + let sum = 0; + + if (chars[7] === 'X') { + chars[7] = '10'; + } + for (let i = 0; i < length; i++) { + sum += parseInt(chars[i], 10) * (8 - i); + } + return { valid: sum % 11 === 0 }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/lessThan.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/lessThan.ts new file mode 100644 index 0000000..4ddfa3e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/lessThan.ts @@ -0,0 +1,67 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import format from '../utils/format'; + +export interface LessThanOptions extends ValidateOptions { + // Default is true + inclusive: boolean; + max?: number; +} +export interface LessThanLocalization extends Localization { + lessThan: { + default: string; + notInclusive: string; + }; +} + +export default function lessThan(): ValidateFunctionInterface< + LessThanOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const opts = Object.assign( + {}, + { inclusive: true, message: '' }, + input.options + ); + const maxValue = parseFloat(`${opts.max}`.replace(',', '.')); + return opts.inclusive + ? { + message: format( + input.l10n + ? opts.message || input.l10n.lessThan.default + : opts.message, + `${maxValue}` + ), + valid: parseFloat(input.value) <= maxValue, + } + : { + message: format( + input.l10n + ? opts.message || input.l10n.lessThan.notInclusive + : opts.message, + `${maxValue}` + ), + valid: parseFloat(input.value) < maxValue, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/mac.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/mac.ts new file mode 100644 index 0000000..7a1fe18 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/mac.ts @@ -0,0 +1,36 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function mac(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Return true if the input value is a MAC address. + */ + validate( + input: ValidateInput + ): ValidateResult { + return { + valid: + input.value === '' || + /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/.test( + input.value + ) || + /^([0-9A-Fa-f]{4}\.){2}([0-9A-Fa-f]{4})$/.test(input.value), + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/meid.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/meid.ts new file mode 100644 index 0000000..f1e0ab0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/meid.ts @@ -0,0 +1,86 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import luhn from '../algorithms/luhn'; +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function meid(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Validate MEID (Mobile Equipment Identifier) + * @see http://en.wikipedia.org/wiki/Mobile_equipment_identifier + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + let v = input.value; + if ( + /^[0-9A-F]{15}$/i.test(v) || + /^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}[- ][0-9A-F]$/i.test( + v + ) || + /^\d{19}$/.test(v) || + /^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}[- ]\d$/.test(v) + ) { + const cd = v.charAt(v.length - 1).toUpperCase(); + + v = v.replace(/[- ]/g, ''); + if (v.match(/^\d*$/i)) { + return { valid: luhn(v) }; + } + + v = v.slice(0, -1); + + let checkDigit = ''; + let i; + for (i = 1; i <= 13; i += 2) { + checkDigit += (parseInt(v.charAt(i), 16) * 2).toString(16); + } + + let sum = 0; + for (i = 0; i < checkDigit.length; i++) { + sum += parseInt(checkDigit.charAt(i), 16); + } + + return { + valid: + sum % 10 === 0 + ? cd === '0' + : // Subtract it from the next highest 10s number (64 goes to 70) and subtract the sum + // Double it and turn it into a hex char + cd === + ((Math.floor((sum + 10) / 10) * 10 - sum) * 2) + .toString(16) + .toUpperCase(), + }; + } + + if ( + /^[0-9A-F]{14}$/i.test(v) || + /^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}$/i.test(v) || + /^\d{18}$/.test(v) || + /^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}$/.test(v) + ) { + return { valid: true }; + } + + return { valid: false }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/notEmpty.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/notEmpty.ts new file mode 100644 index 0000000..8ca1e32 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/notEmpty.ts @@ -0,0 +1,36 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export interface NotEmptyOptions extends ValidateOptions { + trim?: boolean; +} + +export default function notEmpty(): ValidateFunctionInterface< + NotEmptyOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + const trim = !!input.options && !!input.options.trim; + const value = input.value; + return { + valid: + (!trim && value !== '') || + (trim && value !== '' && value.trim() !== ''), + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/numeric.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/numeric.ts new file mode 100644 index 0000000..22efb7d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/numeric.ts @@ -0,0 +1,79 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export interface NumericOptions extends ValidateOptions { + // The decimal separator. It's '.' by default + decimalSeparator: string; + // The thousands separator. It's empty by default + thousandsSeparator: string; +} + +export default function numeric(): ValidateFunctionInterface< + NumericOptions, + ValidateResult +> { + return { + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const opts = Object.assign( + {}, + { + decimalSeparator: '.', + thousandsSeparator: '', + }, + input.options + ); + + let v = `${input.value}`; + // Support preceding zero numbers such as .5, -.5 + if (v.substr(0, 1) === opts.decimalSeparator) { + v = `0${opts.decimalSeparator}${v.substr(1)}`; + } else if (v.substr(0, 2) === `-${opts.decimalSeparator}`) { + v = `-0${opts.decimalSeparator}${v.substr(2)}`; + } + + const decimalSeparator = + opts.decimalSeparator === '.' ? '\\.' : opts.decimalSeparator; + const thousandsSeparator = + opts.thousandsSeparator === '.' + ? '\\.' + : opts.thousandsSeparator; + const testRegexp = new RegExp( + `^-?[0-9]{1,3}(${thousandsSeparator}[0-9]{3})*(${decimalSeparator}[0-9]+)?$` + ); + const thousandsReplacer = new RegExp(thousandsSeparator, 'g'); + + if (!testRegexp.test(v)) { + return { valid: false }; + } + + // Replace thousands separator with blank + if (thousandsSeparator) { + v = v.replace(thousandsReplacer, ''); + } + // Replace decimal separator with a dot + if (decimalSeparator) { + v = v.replace(decimalSeparator, '.'); + } + + const n = parseFloat(v); + return { valid: !isNaN(n) && isFinite(n) }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/phone.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/phone.ts new file mode 100644 index 0000000..3f04803 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/phone.ts @@ -0,0 +1,280 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import format from '../utils/format'; + +export interface PhoneOptions extends ValidateOptions { + // The ISO 3166-1 country code. It can be + // - A country code + // - A callback function that returns the country code + country: string | (() => string); +} +export interface PhoneLocalization extends Localization { + phone: { + countries: { + [countryCode: string]: string; + }; + country: string; + default: string; + }; +} + +export default function phone(): ValidateFunctionInterface< + PhoneOptions, + ValidateResult +> { + // The supported countries + const COUNTRY_CODES = [ + 'AE', + 'BG', + 'BR', + 'CN', + 'CZ', + 'DE', + 'DK', + 'ES', + 'FR', + 'GB', + 'IN', + 'MA', + 'NL', + 'PK', + 'RO', + 'RU', + 'SK', + 'TH', + 'US', + 'VE', + ]; + + return { + /** + * Return true if the input value contains a valid phone number for the country + * selected in the options + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { + valid: true, + }; + } + const opts = Object.assign({}, { message: '' }, input.options); + + const v = input.value.trim(); + let country = v.substr(0, 2); + if ('function' === typeof opts.country) { + country = opts.country.call(this); + } else { + country = opts.country; + } + + if ( + !country || + COUNTRY_CODES.indexOf(country.toUpperCase()) === -1 + ) { + return { + valid: true, + }; + } + + let isValid = true; + switch (country.toUpperCase()) { + case 'AE': + // http://regexr.com/39tak + isValid = + /^(((\+|00)?971[\s.-]?(\(0\)[\s.-]?)?|0)(\(5(0|2|5|6)\)|5(0|2|5|6)|2|3|4|6|7|9)|60)([\s.-]?[0-9]){7}$/.test( + v + ); + break; + + case 'BG': + // https://regex101.com/r/yE6vN4/1 + // See http://en.wikipedia.org/wiki/Telephone_numbers_in_Bulgaria + isValid = + /^(0|359|00)(((700|900)[0-9]{5}|((800)[0-9]{5}|(800)[0-9]{4}))|(87|88|89)([0-9]{7})|((2[0-9]{7})|(([3-9][0-9])(([0-9]{6})|([0-9]{5})))))$/.test( + v.replace(/\+|\s|-|\/|\(|\)/gi, '') + ); + break; + + case 'BR': + // http://regexr.com/399m1 + isValid = + /^(([\d]{4}[-.\s]{1}[\d]{2,3}[-.\s]{1}[\d]{2}[-.\s]{1}[\d]{2})|([\d]{4}[-.\s]{1}[\d]{3}[-.\s]{1}[\d]{4})|((\(?\+?[0-9]{2}\)?\s?)?(\(?\d{2}\)?\s?)?\d{4,5}[-.\s]?\d{4}))$/.test( + v + ); + break; + + case 'CN': + // http://regexr.com/39dq4 + isValid = + /^((00|\+)?(86(?:-| )))?((\d{11})|(\d{3}[- ]{1}\d{4}[- ]{1}\d{4})|((\d{2,4}[- ]){1}(\d{7,8}|(\d{3,4}[- ]{1}\d{4}))([- ]{1}\d{1,4})?))$/.test( + v + ); + break; + + case 'CZ': + // http://regexr.com/39hhl + isValid = + /^(((00)([- ]?)|\+)(420)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test( + v + ); + break; + + case 'DE': + // http://regexr.com/39pkg + isValid = + /^(((((((00|\+)49[ \-/]?)|0)[1-9][0-9]{1,4})[ \-/]?)|((((00|\+)49\()|\(0)[1-9][0-9]{1,4}\)[ \-/]?))[0-9]{1,7}([ \-/]?[0-9]{1,5})?)$/.test( + v + ); + break; + + case 'DK': + // Mathing DK phone numbers with country code in 1 of 3 formats and an + // 8 digit phone number not starting with a 0 or 1. Can have 1 space + // between each character except inside the country code. + // http://regex101.com/r/sS8fO4/1 + isValid = /^(\+45|0045|\(45\))?\s?[2-9](\s?\d){7}$/.test(v); + break; + + case 'ES': + // http://regex101.com/r/rB9mA9/1 + // Telephone numbers in Spain go like this: + // 9: Landline phones and special prefixes. + // 6, 7: Mobile phones. + // 5: VoIP lines. + // 8: Premium-rate services. + // There are also special 5-digit and 3-digit numbers, but + // maybe it would be overkill to include them all. + isValid = + /^(?:(?:(?:\+|00)34\D?))?(?:5|6|7|8|9)(?:\d\D?){8}$/.test( + v + ); + break; + + case 'FR': + // http://regexr.com/39a2p + isValid = + /^(?:(?:(?:\+|00)33[ ]?(?:\(0\)[ ]?)?)|0){1}[1-9]{1}([ .-]?)(?:\d{2}\1?){3}\d{2}$/.test( + v + ); + break; + + case 'GB': + // http://aa-asterisk.org.uk/index.php/Regular_Expressions_for_Validating_and_Formatting_GB_Telephone_Numbers#Match_GB_telephone_number_in_any_format + // http://regexr.com/38uhv + isValid = + /^\(?(?:(?:0(?:0|11)\)?[\s-]?\(?|\+)44\)?[\s-]?\(?(?:0\)?[\s-]?\(?)?|0)(?:\d{2}\)?[\s-]?\d{4}[\s-]?\d{4}|\d{3}\)?[\s-]?\d{3}[\s-]?\d{3,4}|\d{4}\)?[\s-]?(?:\d{5}|\d{3}[\s-]?\d{3})|\d{5}\)?[\s-]?\d{4,5}|8(?:00[\s-]?11[\s-]?11|45[\s-]?46[\s-]?4\d))(?:(?:[\s-]?(?:x|ext\.?\s?|#)\d+)?)$/.test( + v + ); + break; + + case 'IN': + // http://stackoverflow.com/questions/18351553/regular-expression-validation-for-indian-phone-number-and-mobile-number + // http://regex101.com/r/qL6eZ5/1 + // May begin with +91. Supports mobile and land line numbers + isValid = + /((\+?)((0[ -]+)*|(91 )*)(\d{12}|\d{10}))|\d{5}([- ]*)\d{6}/.test( + v + ); + break; + + case 'MA': + // http://en.wikipedia.org/wiki/Telephone_numbers_in_Morocco + // http://regexr.com/399n8 + isValid = + /^(?:(?:(?:\+|00)212[\s]?(?:[\s]?\(0\)[\s]?)?)|0){1}(?:5[\s.-]?[2-3]|6[\s.-]?[13-9]){1}[0-9]{1}(?:[\s.-]?\d{2}){3}$/.test( + v + ); + break; + + case 'NL': + // http://en.wikipedia.org/wiki/Telephone_numbers_in_the_Netherlands + // http://regexr.com/3aevr + isValid = + /^((\+|00(\s|\s?-\s?)?)31(\s|\s?-\s?)?(\(0\)[-\s]?)?|0)[1-9]((\s|\s?-\s?)?[0-9])((\s|\s?-\s?)?[0-9])((\s|\s?-\s?)?[0-9])\s?[0-9]\s?[0-9]\s?[0-9]\s?[0-9]\s?[0-9]$/gm.test( + v + ); + break; + + case 'PK': + // http://regex101.com/r/yH8aV9/2 + isValid = /^0?3[0-9]{2}[0-9]{7}$/.test(v); + break; + + case 'RO': + // All mobile network and land line + // http://regexr.com/39fv1 + isValid = + /^(\+4|)?(07[0-8]{1}[0-9]{1}|02[0-9]{2}|03[0-9]{2}){1}?(\s|\.|-)?([0-9]{3}(\s|\.|-|)){2}$/g.test( + v + ); + break; + + case 'RU': + // http://regex101.com/r/gW7yT5/5 + isValid = + /^((8|\+7|007)[-./ ]?)?([(/.]?\d{3}[)/.]?[-./ ]?)?[\d\-./ ]{7,10}$/g.test( + v + ); + break; + + case 'SK': + // http://regexr.com/3a95f + isValid = + /^(((00)([- ]?)|\+)(421)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test( + v + ); + break; + + case 'TH': + // http://regex101.com/r/vM5mZ4/2 + isValid = /^0\(?([6|8-9]{2})*-([0-9]{3})*-([0-9]{4})$/.test( + v + ); + break; + + case 'VE': + // http://regex101.com/r/eM2yY0/6 + isValid = + /^0(?:2(?:12|4[0-9]|5[1-9]|6[0-9]|7[0-8]|8[1-35-8]|9[1-5]|3[45789])|4(?:1[246]|2[46]))\d{7}$/.test( + v + ); + break; + + case 'US': + default: + // Make sure US phone numbers have 10 digits + // May start with 1, +1, or 1-; should discard + // Area code may be delimited with (), & sections may be delimited with . or - + // http://regexr.com/38mqi + isValid = + /^(?:(1-?)|(\+1 ?))?\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}$/.test( + v + ); + break; + } + + return { + message: format( + input.l10n + ? opts.message || input.l10n.phone.country + : opts.message, + input.l10n ? input.l10n.phone.countries[country] : country + ), + valid: isValid, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/promise.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/promise.ts new file mode 100644 index 0000000..aeab7fd --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/promise.ts @@ -0,0 +1,61 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import call from '../utils/call'; + +export interface PromiseOptions extends ValidateOptions { + promise: (...arg: unknown[]) => unknown | string; +} + +export default function promise(): ValidateFunctionInterface< + PromiseOptions, + Promise +> { + return { + /** + * The following example demonstrates how to use a promise validator to requires both width and height + * of an image to be less than 300 px + * ``` + * const p = new Promise((resolve, reject) => { + * const img = new Image() + * img.addEventListener('load', function() { + * const w = this.width + * const h = this.height + * resolve({ + * valid: w <= 300 && h <= 300 + * meta: { + * source: img.src // So, you can reuse it later if you want + * } + * }) + * }) + * img.addEventListener('error', function() { + * reject({ + * valid: false, + * message: Please choose an image + * }) + * }) + * }) + * ``` + * + * @param input + * @return {Promise} + */ + validate( + input: ValidateInput + ): Promise { + return call(input.options.promise, [ + input, + ]) as Promise; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/regexp.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/regexp.ts new file mode 100644 index 0000000..9b695b2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/regexp.ts @@ -0,0 +1,52 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export interface RegexpOptions extends ValidateOptions { + // If specified, flags can have any combination of JavaScript regular expression flags such as: + // g: global match + // i: ignore case + // m: multiple line + flags?: string; + // The regular expression you need to check + regexp: string | RegExp; +} + +export default function regexp(): ValidateFunctionInterface< + RegexpOptions, + ValidateResult +> { + return { + /** + * Check if the element value matches given regular expression + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const reg = input.options.regexp; + if (reg instanceof RegExp) { + return { valid: reg.test(input.value) }; + } else { + const pattern = reg.toString(); + const exp = input.options.flags + ? new RegExp(pattern, input.options.flags) + : new RegExp(pattern); + return { valid: exp.test(input.value) }; + } + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/remote.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/remote.ts new file mode 100644 index 0000000..37a25e7 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/remote.ts @@ -0,0 +1,106 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import fetch from '../utils/fetch'; + +export interface RemoteOptions extends ValidateOptions { + url: string; + // Does it request to other domain? Default value is `false` + crossDomain?: boolean; + // By default, it will take the value `{ : }` + data?: Record | ((...arg: unknown[]) => unknown); + // Additional headers + headers?: { + [name: string]: string; + }; + // Override the field name for the request + name?: string; + // Can be GET or POST (default) + method?: string; + // The valid key. It's `valid` by default + // This is useful when connecting to external remote server or APIs provided by 3rd parties + validKey?: string; +} + +export default function remote(): ValidateFunctionInterface< + RemoteOptions, + Promise +> { + const DEFAULT_OPTIONS = { + crossDomain: false, + data: {}, + headers: {}, + method: 'GET', + validKey: 'valid', + }; + + return { + validate( + input: ValidateInput + ): Promise { + if (input.value === '') { + return Promise.resolve({ + valid: true, + }); + } + + const opts = Object.assign( + {}, + DEFAULT_OPTIONS, + input.options + ) as RemoteOptions; + + let data = opts.data; + // Support dynamic data + if ('function' === typeof opts.data) { + data = (opts.data as (...arg: unknown[]) => unknown).call( + this, + input + ); + } + // Parse string data from HTML5 attribute + if ('string' === typeof data) { + data = JSON.parse(data); + } + data[opts.name || input.field] = input.value; + + // Support dynamic url + const url = + 'function' === typeof opts.url + ? (opts.url as (...arg: unknown[]) => unknown).call( + this, + input + ) + : opts.url; + + return fetch(url, { + crossDomain: opts.crossDomain, + headers: opts.headers, + method: opts.method, + params: data as Record, + }) + .then((response) => { + return Promise.resolve({ + message: response['message'], + meta: response, + valid: `${response[opts.validKey]}` === 'true', + }); + }) + .catch((_reason) => { + return Promise.reject({ + valid: false, + }); + }); + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/rtn.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/rtn.ts new file mode 100644 index 0000000..84e468a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/rtn.ts @@ -0,0 +1,45 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function rtn(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Validate a RTN (Routing transit number) + * @see http://en.wikipedia.org/wiki/Routing_transit_number + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + if (!/^\d{9}$/.test(input.value)) { + return { valid: false }; + } + + let sum = 0; + for (let i = 0; i < input.value.length; i += 3) { + sum += + parseInt(input.value.charAt(i), 10) * 3 + + parseInt(input.value.charAt(i + 1), 10) * 7 + + parseInt(input.value.charAt(i + 2), 10); + } + return { valid: sum !== 0 && sum % 10 === 0 }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/sedol.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/sedol.ts new file mode 100644 index 0000000..d741ec3 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/sedol.ts @@ -0,0 +1,46 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function sedol(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Validate a SEDOL (Stock Exchange Daily Official List) + * @see http://en.wikipedia.org/wiki/SEDOL + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const v = input.value.toUpperCase(); + if (!/^[0-9A-Z]{7}$/.test(v)) { + return { valid: false }; + } + + const weight = [1, 3, 1, 7, 3, 9, 1]; + const length = v.length; + let sum = 0; + for (let i = 0; i < length - 1; i++) { + sum += weight[i] * parseInt(v.charAt(i), 36); + } + sum = (10 - (sum % 10)) % 10; + return { valid: `${sum}` === v.charAt(length - 1) }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/siren.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/siren.ts new file mode 100644 index 0000000..01e5530 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/siren.ts @@ -0,0 +1,34 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import luhn from '../algorithms/luhn'; +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function siren(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Check if a string is a siren number + */ + validate( + input: ValidateInput + ): ValidateResult { + return { + valid: + input.value === '' || + (/^\d{9}$/.test(input.value) && luhn(input.value)), + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/siret.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/siret.ts new file mode 100644 index 0000000..54155ae --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/siret.ts @@ -0,0 +1,46 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function siret(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Check if a string is a siret number + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const length = input.value.length; + let sum = 0; + let tmp; + for (let i = 0; i < length; i++) { + tmp = parseInt(input.value.charAt(i), 10); + if (i % 2 === 0) { + tmp = tmp * 2; + if (tmp > 9) { + tmp -= 9; + } + } + sum += tmp; + } + return { valid: sum % 10 === 0 }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/step.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/step.ts new file mode 100644 index 0000000..573d172 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/step.ts @@ -0,0 +1,99 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import format from '../utils/format'; + +export interface StepOptions extends ValidateOptions { + baseValue: number; + step: number; +} +export interface StepLocalization extends Localization { + step: { + default: string; + }; +} + +export default function step(): ValidateFunctionInterface< + StepOptions, + ValidateResult +> { + const round = (input: number, precision: number) => { + const m = Math.pow(10, precision); + const x = input * m; + let sign; + switch (true) { + case x === 0: + sign = 0; + break; + case x > 0: + sign = 1; + break; + case x < 0: + sign = -1; + break; + } + + const isHalf = x % 1 === 0.5 * sign; + return isHalf + ? (Math.floor(x) + (sign > 0 ? 1 : 0)) / m + : Math.round(x) / m; + }; + + const floatMod = (x: number, y: number) => { + if (y === 0.0) { + return 1.0; + } + const dotX = `${x}`.split('.'); + const dotY = `${y}`.split('.'); + const precision = + (dotX.length === 1 ? 0 : dotX[1].length) + + (dotY.length === 1 ? 0 : dotY[1].length); + return round(x - y * Math.floor(x / y), precision); + }; + + return { + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const v = parseFloat(input.value); + if (isNaN(v) || !isFinite(v)) { + return { valid: false }; + } + + const opts = Object.assign( + {}, + { + baseValue: 0, + message: '', + step: 1, + }, + input.options + ); + + const mod = floatMod(v - opts.baseValue, opts.step); + return { + message: format( + input.l10n + ? opts.message || input.l10n.step.default + : opts.message, + `${opts.step}` + ), + valid: mod === 0.0 || mod === opts.step, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/stringCase.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/stringCase.ts new file mode 100644 index 0000000..f4812e5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/stringCase.ts @@ -0,0 +1,58 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export interface StringCaseOptions extends ValidateOptions { + // Can be 'lower' (default) or 'upper' + case: string; +} +export interface StringCaseLocalization extends Localization { + stringCase: { + default: string; + upper: string; + }; +} + +export default function stringCase(): ValidateFunctionInterface< + StringCaseOptions, + ValidateResult +> { + return { + /** + * Check if a string is a lower or upper case one + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const opts = Object.assign({}, { case: 'lower' }, input.options); + const caseOpt = (opts.case || 'lower').toLowerCase(); + return { + message: + opts.message || + (input.l10n + ? 'upper' === caseOpt + ? input.l10n.stringCase.upper + : input.l10n.stringCase.default + : opts.message), + valid: + 'upper' === caseOpt + ? input.value === input.value.toUpperCase() + : input.value === input.value.toLowerCase(), + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/stringLength.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/stringLength.ts new file mode 100644 index 0000000..d747132 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/stringLength.ts @@ -0,0 +1,139 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import format from '../utils/format'; + +export interface StringLengthOptions extends ValidateOptions { + // At least one of two options is required + // The min, max keys define the number which the field value compares to. min, max can be + // - A number + // - Name of field which its value defines the number + // - Name of callback function that returns the number + // - A callback function that returns the number + max?: number | string; + min?: number | string; + // Indicate the length will be calculated after trimming the value or not. It is false, by default + trim?: boolean | string; + // Evaluate string length in UTF-8 bytes, default to false + utf8Bytes?: boolean | string; +} +export interface StringLengthLocalization extends Localization { + stringLength: { + between: string; + default: string; + less: string; + more: string; + }; +} + +export default function stringLength(): ValidateFunctionInterface< + StringLengthOptions, + ValidateResult +> { + // Credit to http://stackoverflow.com/a/23329386 (@lovasoa) for UTF-8 byte length code + const utf8Length = (str: string) => { + let s = str.length; + for (let i = str.length - 1; i >= 0; i--) { + const code = str.charCodeAt(i); + if (code > 0x7f && code <= 0x7ff) { + s++; + } else if (code > 0x7ff && code <= 0xffff) { + s += 2; + } + if (code >= 0xdc00 && code <= 0xdfff) { + i--; + } + } + return `${s}`; + }; + + return { + /** + * Check if the length of element value is less or more than given number + */ + validate( + input: ValidateInput + ): ValidateResult { + const opts = Object.assign( + {}, + { + message: '', + trim: false, + utf8Bytes: false, + }, + input.options + ); + const v = + opts.trim === true || `${opts.trim}` === 'true' + ? input.value.trim() + : input.value; + if (v === '') { + return { valid: true }; + } + + // TODO: `min`, `max` can be dynamic options + const min = opts.min ? `${opts.min}` : ''; + const max = opts.max ? `${opts.max}` : ''; + const length = opts.utf8Bytes ? utf8Length(v) : v.length; + + let isValid = true; + let msg = input.l10n + ? opts.message || input.l10n.stringLength.default + : opts.message; + + if ( + (min && length < parseInt(min, 10)) || + (max && length > parseInt(max, 10)) + ) { + isValid = false; + } + + switch (true) { + case !!min && !!max: + msg = format( + input.l10n + ? opts.message || input.l10n.stringLength.between + : opts.message, + [min, max] + ); + break; + + case !!min: + msg = format( + input.l10n + ? opts.message || input.l10n.stringLength.more + : opts.message, + `${parseInt(min, 10)}` + ); + break; + + case !!max: + msg = format( + input.l10n + ? opts.message || input.l10n.stringLength.less + : opts.message, + `${parseInt(max, 10)}` + ); + break; + + default: + break; + } + + return { + message: msg, + valid: isValid, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/uri.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/uri.ts new file mode 100644 index 0000000..c425746 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/uri.ts @@ -0,0 +1,134 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export interface UriOptions extends ValidateOptions { + // Allow the URI without protocol. Default to false + allowEmptyProtocol?: boolean | string; + // Allow the private and local network IP. Default to false + allowLocal?: boolean | string; + // The protocols, separated by a comma. Default to "http, https, ftp" + protocol?: string; +} + +export default function uri(): ValidateFunctionInterface< + UriOptions, + ValidateResult +> { + const DEFAULT_OPTIONS = { + allowEmptyProtocol: false, + allowLocal: false, + protocol: 'http, https, ftp', + }; + + return { + /** + * Return true if the input value is a valid URL + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + const opts = Object.assign({}, DEFAULT_OPTIONS, input.options); + + // Credit to https://gist.github.com/dperini/729294 + // + // Regular Expression for URL validation + // + // Author: Diego Perini + // Updated: 2010/12/05 + // + // the regular expression composed & commented + // could be easily tweaked for RFC compliance, + // it was expressly modified to fit & satisfy + // these test for an URL shortener: + // + // http://mathiasbynens.be/demo/url-regex + // + // Notes on possible differences from a standard/generic validation: + // + // - utf-8 char class take in consideration the full Unicode range + // - TLDs are mandatory unless `allowLocal` is true + // - protocols have been restricted to ftp, http and https only as requested + // + // Changes: + // + // - IP address dotted notation validation, range: 1.0.0.0 - 223.255.255.255 + // first and last IP address of each class is considered invalid + // (since they are broadcast/network addresses) + // + // - Added exclusion of private, reserved and/or local networks ranges + // unless `allowLocal` is true + // + // - Added possibility of choosing a custom protocol + // + // - Add option to validate without protocol + // + const allowLocal = + opts.allowLocal === true || `${opts.allowLocal}` === 'true'; + const allowEmptyProtocol = + opts.allowEmptyProtocol === true || + `${opts.allowEmptyProtocol}` === 'true'; + const protocol = opts.protocol + .split(',') + .join('|') + .replace(/\s/g, ''); + const urlExp = new RegExp( + '^' + + // protocol identifier + '(?:(?:' + + protocol + + ')://)' + + // allow empty protocol + (allowEmptyProtocol ? '?' : '') + + // user:pass authentication + '(?:\\S+(?::\\S*)?@)?' + + '(?:' + + // IP address exclusion + // private & local networks + (allowLocal + ? '' + : '(?!(?:10|127)(?:\\.\\d{1,3}){3})' + + '(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})' + + '(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})') + + // IP address dotted notation octets + // excludes loopback network 0.0.0.0 + // excludes reserved space >= 224.0.0.0 + // excludes network & broadcast addresses + // (first & last IP address of each class) + '(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])' + + '(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}' + + '(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))' + + '|' + + // host name + '(?:(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9]+)' + + // domain name + '(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9])*' + + // TLD identifier + '(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))' + + // Allow intranet sites (no TLD) if `allowLocal` is true + (allowLocal ? '?' : '') + + ')' + + // port number + '(?::\\d{2,5})?' + + // resource path + '(?:/[^\\s]*)?$', + 'i' + ); + + return { valid: urlExp.test(input.value) }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/uuid.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/uuid.ts new file mode 100644 index 0000000..253addb --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/uuid.ts @@ -0,0 +1,71 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import format from '../utils/format'; + +export interface UuidOptions extends ValidateOptions { + // Can be 3, 4, 5, null + version?: string; +} +export interface UuidLocalization extends Localization { + uuid: { + default: string; + version: string; + }; +} + +export default function uuid(): ValidateFunctionInterface< + UuidOptions, + ValidateResult +> { + return { + /** + * Return true if and only if the input value is a valid UUID string + * @see http://en.wikipedia.org/wiki/Universally_unique_identifier + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + const opts = Object.assign({}, { message: '' }, input.options); + + // See the format at http://en.wikipedia.org/wiki/Universally_unique_identifier#Variants_and_versions + const patterns = { + 3: /^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i, + 4: /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i, + 5: /^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i, + all: /^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i, + }; + const version = opts.version ? `${opts.version}` : 'all'; + return { + message: opts.version + ? format( + input.l10n + ? opts.message || input.l10n.uuid.version + : opts.message, + opts.version + ) + : input.l10n + ? input.l10n.uuid.default + : opts.message, + valid: + null === patterns[version] + ? true + : patterns[version].test(input.value), + }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/arVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/arVat.ts new file mode 100644 index 0000000..fa76c6e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/arVat.ts @@ -0,0 +1,40 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Argentinian VAT number + * + * @see https://es.wikipedia.org/wiki/Clave_%C3%9Anica_de_Identificaci%C3%B3n_Tributaria + * @returns {ValidateResult} + */ +export default function arVat(value: string): ValidateResult { + // Replace `-` with empty + let v = value.replace('-', ''); + if (/^AR[0-9]{11}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{11}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + const weight = [5, 4, 3, 2, 7, 6, 5, 4, 3, 2]; + let sum = 0; + for (let i = 0; i < 10; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + if (sum === 11) { + sum = 0; + } + return { + meta: {}, + valid: `${sum}` === v.substr(10), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/atVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/atVat.ts new file mode 100644 index 0000000..abde147 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/atVat.ts @@ -0,0 +1,47 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Austrian VAT number + * + * @returns {ValidateResult} + */ +export default function atVat(value: string): ValidateResult { + let v = value; + if (/^ATU[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^U[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + v = v.substr(1); + const weight = [1, 2, 1, 2, 1, 2, 1]; + let sum = 0; + let temp = 0; + for (let i = 0; i < 7; i++) { + temp = parseInt(v.charAt(i), 10) * weight[i]; + if (temp > 9) { + temp = Math.floor(temp / 10) + (temp % 10); + } + sum += temp; + } + + sum = 10 - ((sum + 4) % 10); + if (sum === 10) { + sum = 0; + } + + return { + meta: {}, + valid: `${sum}` === v.substr(7, 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/beVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/beVat.ts new file mode 100644 index 0000000..a413228 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/beVat.ts @@ -0,0 +1,41 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Belgian VAT number + * + * @returns {ValidateResult} + */ +export default function beVat(value: string): ValidateResult { + let v = value; + if (/^BE[0]?[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0]?[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + if (v.length === 9) { + v = `0${v}`; + } + if (v.substr(1, 1) === '0') { + return { + meta: {}, + valid: false, + }; + } + + const sum = parseInt(v.substr(0, 8), 10) + parseInt(v.substr(8, 2), 10); + return { + meta: {}, + valid: sum % 97 === 0, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/bgVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/bgVat.ts new file mode 100644 index 0000000..a5dead5 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/bgVat.ts @@ -0,0 +1,108 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Bulgarian VAT number + * + * @returns {ValidateResult} + */ +export default function bgVat(value: string): ValidateResult { + let v = value; + if (/^BG[0-9]{9,10}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9,10}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + let sum = 0; + let i = 0; + + // Legal entities + if (v.length === 9) { + for (i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * (i + 1); + } + sum = sum % 11; + if (sum === 10) { + sum = 0; + for (i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * (i + 3); + } + sum = sum % 11; + } + sum = sum % 10; + return { + meta: {}, + valid: `${sum}` === v.substr(8), + }; + } else { + // Physical persons, foreigners and others + // Validate Bulgarian national identification numbers + const isEgn = (input: string) => { + // Check the birth date + let year = parseInt(input.substr(0, 2), 10) + 1900; + let month = parseInt(input.substr(2, 2), 10); + const day = parseInt(input.substr(4, 2), 10); + if (month > 40) { + year += 100; + month -= 40; + } else if (month > 20) { + year -= 100; + month -= 20; + } + + if (!isValidDate(year, month, day)) { + return false; + } + + const weight = [2, 4, 8, 5, 10, 9, 7, 3, 6]; + let s = 0; + for (let j = 0; j < 9; j++) { + s += parseInt(input.charAt(j), 10) * weight[j]; + } + s = (s % 11) % 10; + return `${s}` === input.substr(9, 1); + }; + // Validate Bulgarian personal number of a foreigner + const isPnf = (input: string) => { + const weight = [21, 19, 17, 13, 11, 9, 7, 3, 1]; + let s = 0; + for (let j = 0; j < 9; j++) { + s += parseInt(input.charAt(j), 10) * weight[j]; + } + s = s % 10; + return `${s}` === input.substr(9, 1); + }; + // Finally, consider it as a VAT number + const isVat = (input: string) => { + const weight = [4, 3, 2, 7, 6, 5, 4, 3, 2]; + let s = 0; + for (let j = 0; j < 9; j++) { + s += parseInt(input.charAt(j), 10) * weight[j]; + } + s = 11 - (s % 11); + if (s === 10) { + return false; + } + if (s === 11) { + s = 0; + } + return `${s}` === input.substr(9, 1); + }; + + return { + meta: {}, + valid: isEgn(v) || isPnf(v) || isVat(v), + }; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/brVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/brVat.ts new file mode 100644 index 0000000..3880a26 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/brVat.ts @@ -0,0 +1,87 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Brazilian VAT number (CNPJ) + * + * @returns {ValidateResult} + */ +export default function brVat(value: string): ValidateResult { + if (value === '') { + return { + meta: {}, + valid: true, + }; + } + const cnpj = value.replace(/[^\d]+/g, ''); + if (cnpj === '' || cnpj.length !== 14) { + return { + meta: {}, + valid: false, + }; + } + + // Remove invalids CNPJs + if ( + cnpj === '00000000000000' || + cnpj === '11111111111111' || + cnpj === '22222222222222' || + cnpj === '33333333333333' || + cnpj === '44444444444444' || + cnpj === '55555555555555' || + cnpj === '66666666666666' || + cnpj === '77777777777777' || + cnpj === '88888888888888' || + cnpj === '99999999999999' + ) { + return { + meta: {}, + valid: false, + }; + } + + // Validate verification digits + let length = cnpj.length - 2; + let numbers = cnpj.substring(0, length); + const digits = cnpj.substring(length); + let sum = 0; + let pos = length - 7; + let i; + + for (i = length; i >= 1; i--) { + sum += parseInt(numbers.charAt(length - i), 10) * pos--; + if (pos < 2) { + pos = 9; + } + } + + let result = sum % 11 < 2 ? 0 : 11 - (sum % 11); + if (result !== parseInt(digits.charAt(0), 10)) { + return { + meta: {}, + valid: false, + }; + } + + length = length + 1; + numbers = cnpj.substring(0, length); + sum = 0; + pos = length - 7; + for (i = length; i >= 1; i--) { + sum += parseInt(numbers.charAt(length - i), 10) * pos--; + if (pos < 2) { + pos = 9; + } + } + + result = sum % 11 < 2 ? 0 : 11 - (sum % 11); + return { + meta: {}, + valid: result === parseInt(digits.charAt(1), 10), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/chVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/chVat.ts new file mode 100644 index 0000000..6106029 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/chVat.ts @@ -0,0 +1,48 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Swiss VAT number + * + * @returns {ValidateResult} + */ +export default function chVat(value: string): ValidateResult { + let v = value; + if (/^CHE[0-9]{9}(MWST|TVA|IVA|TPV)?$/.test(v)) { + v = v.substr(2); + } + if (!/^E[0-9]{9}(MWST|TVA|IVA|TPV)?$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + v = v.substr(1); + const weight = [5, 4, 3, 2, 7, 6, 5, 4]; + let sum = 0; + for (let i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + + sum = 11 - (sum % 11); + if (sum === 10) { + return { + meta: {}, + valid: false, + }; + } + if (sum === 11) { + sum = 0; + } + + return { + meta: {}, + valid: `${sum}` === v.substr(8, 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/cyVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/cyVat.ts new file mode 100644 index 0000000..59b286e --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/cyVat.ts @@ -0,0 +1,60 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Cypriot VAT number + * + * @returns {ValidateResult} + */ +export default function cyVat(value: string): ValidateResult { + let v = value; + if (/^CY[0-5|9][0-9]{7}[A-Z]$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-5|9][0-9]{7}[A-Z]$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + // Do not allow to start with "12" + if (v.substr(0, 2) === '12') { + return { + meta: {}, + valid: false, + }; + } + + // Extract the next digit and multiply by the counter. + let sum = 0; + const translation = { + 0: 1, + 1: 0, + 2: 5, + 3: 7, + 4: 9, + 5: 13, + 6: 15, + 7: 17, + 8: 19, + 9: 21, + }; + for (let i = 0; i < 8; i++) { + let temp = parseInt(v.charAt(i), 10); + if (i % 2 === 0) { + temp = translation[`${temp}`]; + } + sum += temp; + } + + return { + meta: {}, + valid: `${'ABCDEFGHIJKLMNOPQRSTUVWXYZ'[sum % 26]}` === v.substr(8, 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/czVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/czVat.ts new file mode 100644 index 0000000..66285e7 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/czVat.ts @@ -0,0 +1,120 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Czech Republic VAT number + * + * @returns {ValidateResult} + */ +export default function czVat(value: string): ValidateResult { + let v = value; + if (/^CZ[0-9]{8,10}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8,10}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + let sum = 0; + let i = 0; + if (v.length === 8) { + // Do not allow to start with '9' + if (`${v.charAt(0)}` === '9') { + return { + meta: {}, + valid: false, + }; + } + + sum = 0; + for (i = 0; i < 7; i++) { + sum += parseInt(v.charAt(i), 10) * (8 - i); + } + sum = 11 - (sum % 11); + if (sum === 10) { + sum = 0; + } + if (sum === 11) { + sum = 1; + } + + return { + meta: {}, + valid: `${sum}` === v.substr(7, 1), + }; + } else if (v.length === 9 && `${v.charAt(0)}` === '6') { + sum = 0; + // Skip the first (which is 6) + for (i = 0; i < 7; i++) { + sum += parseInt(v.charAt(i + 1), 10) * (8 - i); + } + sum = 11 - (sum % 11); + if (sum === 10) { + sum = 0; + } + if (sum === 11) { + sum = 1; + } + sum = [8, 7, 6, 5, 4, 3, 2, 1, 0, 9, 10][sum - 1]; + return { + meta: {}, + valid: `${sum}` === v.substr(8, 1), + }; + } else if (v.length === 9 || v.length === 10) { + // Validate Czech birth number (Rodné číslo), which is also national identifier + let year = 1900 + parseInt(v.substr(0, 2), 10); + const month = (parseInt(v.substr(2, 2), 10) % 50) % 20; + const day = parseInt(v.substr(4, 2), 10); + if (v.length === 9) { + if (year >= 1980) { + year -= 100; + } + if (year > 1953) { + return { + meta: {}, + valid: false, + }; + } + } else if (year < 1954) { + year += 100; + } + + if (!isValidDate(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + + // Check that the birth date is not in the future + if (v.length === 10) { + let check = parseInt(v.substr(0, 9), 10) % 11; + if (year < 1985) { + check = check % 10; + } + return { + meta: {}, + valid: `${check}` === v.substr(9, 1), + }; + } + + return { + meta: {}, + valid: true, + }; + } + + return { + meta: {}, + valid: false, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/deVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/deVat.ts new file mode 100644 index 0000000..5e74032 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/deVat.ts @@ -0,0 +1,31 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import mod11And10 from '../../algorithms/mod11And10'; +import { ValidateResult } from '../../core/Core'; + +/** + * Validate German VAT number + * + * @returns {ValidateResult} + */ +export default function deVat(value: string): ValidateResult { + let v = value; + if (/^DE[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + return { + meta: {}, + valid: mod11And10(v), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/dkVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/dkVat.ts new file mode 100644 index 0000000..480e084 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/dkVat.ts @@ -0,0 +1,36 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Danish VAT number + * + * @returns {ValidateResult} + */ +export default function dkVat(value: string): ValidateResult { + let v = value; + if (/^DK[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + let sum = 0; + const weight = [2, 7, 6, 5, 4, 3, 2, 1]; + for (let i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + + return { + meta: {}, + valid: sum % 11 === 0, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/eeVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/eeVat.ts new file mode 100644 index 0000000..ef09bfb --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/eeVat.ts @@ -0,0 +1,36 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Estonian VAT number + * + * @returns {ValidateResult} + */ +export default function eeVat(value: string): ValidateResult { + let v = value; + if (/^EE[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + let sum = 0; + const weight = [3, 7, 1, 3, 7, 1, 3, 7, 1]; + for (let i = 0; i < 9; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + + return { + meta: {}, + valid: sum % 10 === 0, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/esVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/esVat.ts new file mode 100644 index 0000000..ee6826b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/esVat.ts @@ -0,0 +1,100 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Spanish VAT number (NIF - Número de Identificación Fiscal) + * Can be: + * i) DNI (Documento nacional de identidad), for Spaniards + * ii) NIE (Número de Identificación de Extranjeros), for foreigners + * iii) CIF (Certificado de Identificación Fiscal), for legal entities and others + * + * @returns {ValidateResult} + */ +export default function esVat(value: string): ValidateResult { + let v = value; + if (/^ES[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const dni = (input: string) => { + const check = parseInt(input.substr(0, 8), 10); + return ( + `${'TRWAGMYFPDXBNJZSQVHLCKE'[check % 23]}` === input.substr(8, 1) + ); + }; + const nie = (input: string) => { + const check = ['XYZ'.indexOf(input.charAt(0)), input.substr(1)].join( + '' + ); + const cd = 'TRWAGMYFPDXBNJZSQVHLCKE'[parseInt(check, 10) % 23]; + return `${cd}` === input.substr(8, 1); + }; + const cif = (input: string) => { + const firstChar = input.charAt(0); + let check; + if ('KLM'.indexOf(firstChar) !== -1) { + // K: Spanish younger than 14 year old + // L: Spanish living outside Spain without DNI + // M: Granted the tax to foreigners who have no NIE + check = parseInt(input.substr(1, 8), 10); + check = 'TRWAGMYFPDXBNJZSQVHLCKE'[check % 23]; + return `${check}` === input.substr(8, 1); + } else if ('ABCDEFGHJNPQRSUVW'.indexOf(firstChar) !== -1) { + const weight = [2, 1, 2, 1, 2, 1, 2]; + let sum = 0; + let temp = 0; + for (let i = 0; i < 7; i++) { + temp = parseInt(input.charAt(i + 1), 10) * weight[i]; + if (temp > 9) { + temp = Math.floor(temp / 10) + (temp % 10); + } + sum += temp; + } + sum = 10 - (sum % 10); + if (sum === 10) { + sum = 0; + } + return ( + `${sum}` === input.substr(8, 1) || + 'JABCDEFGHI'[sum] === input.substr(8, 1) + ); + } + + return false; + }; + + const first = v.charAt(0); + if (/^[0-9]$/.test(first)) { + return { + meta: { + type: 'DNI', + }, + valid: dni(v), + }; + } else if (/^[XYZ]$/.test(first)) { + return { + meta: { + type: 'NIE', + }, + valid: nie(v), + }; + } else { + return { + meta: { + type: 'CIF', + }, + valid: cif(v), + }; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/fiVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/fiVat.ts new file mode 100644 index 0000000..3243124 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/fiVat.ts @@ -0,0 +1,36 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Finnish VAT number + * + * @returns {ValidateResult} + */ +export default function fiVat(value: string): ValidateResult { + let v = value; + if (/^FI[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const weight = [7, 9, 10, 5, 8, 4, 2, 1]; + let sum = 0; + for (let i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + + return { + meta: {}, + valid: sum % 11 === 0, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/frVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/frVat.ts new file mode 100644 index 0000000..ef171e2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/frVat.ts @@ -0,0 +1,66 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import luhn from '../../algorithms/luhn'; +import { ValidateResult } from '../../core/Core'; + +/** + * Validate French VAT number (TVA - taxe sur la valeur ajoutée) + * It's constructed by a SIREN number, prefixed by two characters. + * + * @returns {ValidateResult} + */ +export default function frVat(value: string): ValidateResult { + let v = value; + if (/^FR[0-9A-Z]{2}[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9A-Z]{2}[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + if (v.substr(2, 4) !== '000') { + return { + meta: {}, + valid: luhn(v.substr(2)), + }; + } + + if (/^[0-9]{2}$/.test(v.substr(0, 2))) { + // First two characters are digits + return { + meta: {}, + valid: + v.substr(0, 2) === `${parseInt(v.substr(2) + '12', 10) % 97}`, + }; + } else { + // The first characters cann't be O and I + const alphabet = '0123456789ABCDEFGHJKLMNPQRSTUVWXYZ'; + let check; + // First one is digit + if (/^[0-9]$/.test(v.charAt(0))) { + check = + alphabet.indexOf(v.charAt(0)) * 24 + + alphabet.indexOf(v.charAt(1)) - + 10; + } else { + check = + alphabet.indexOf(v.charAt(0)) * 34 + + alphabet.indexOf(v.charAt(1)) - + 100; + } + return { + meta: {}, + valid: + (parseInt(v.substr(2), 10) + 1 + Math.floor(check / 11)) % + 11 === + check % 11, + }; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/gbVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/gbVat.ts new file mode 100644 index 0000000..1a754de --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/gbVat.ts @@ -0,0 +1,89 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate United Kingdom VAT number + * + * @returns {ValidateResult} + */ +export default function gbVat(value: string): ValidateResult { + let v = value; + if ( + /^GB[0-9]{9}$/.test(v) /* Standard */ || + /^GB[0-9]{12}$/.test(v) /* Branches */ || + /^GBGD[0-9]{3}$/.test(v) /* Government department */ || + /^GBHA[0-9]{3}$/.test(v) /* Health authority */ || + /^GB(GD|HA)8888[0-9]{5}$/.test(v) + ) { + v = v.substr(2); + } + if ( + !/^[0-9]{9}$/.test(v) && + !/^[0-9]{12}$/.test(v) && + !/^GD[0-9]{3}$/.test(v) && + !/^HA[0-9]{3}$/.test(v) && + !/^(GD|HA)8888[0-9]{5}$/.test(v) + ) { + return { + meta: {}, + valid: false, + }; + } + + const length = v.length; + if (length === 5) { + const firstTwo = v.substr(0, 2); + const lastThree = parseInt(v.substr(2), 10); + return { + meta: {}, + valid: + ('GD' === firstTwo && lastThree < 500) || + ('HA' === firstTwo && lastThree >= 500), + }; + } else if ( + length === 11 && + ('GD8888' === v.substr(0, 6) || 'HA8888' === v.substr(0, 6)) + ) { + if ( + ('GD' === v.substr(0, 2) && parseInt(v.substr(6, 3), 10) >= 500) || + ('HA' === v.substr(0, 2) && parseInt(v.substr(6, 3), 10) < 500) + ) { + return { + meta: {}, + valid: false, + }; + } + return { + meta: {}, + valid: + parseInt(v.substr(6, 3), 10) % 97 === + parseInt(v.substr(9, 2), 10), + }; + } else if (length === 9 || length === 12) { + const weight = [8, 7, 6, 5, 4, 3, 2, 10, 1]; + let sum = 0; + for (let i = 0; i < 9; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = sum % 97; + + const isValid = + parseInt(v.substr(0, 3), 10) >= 100 + ? sum === 0 || sum === 42 || sum === 55 + : sum === 0; + return { + meta: {}, + valid: isValid, + }; + } + + return { + meta: {}, + valid: true, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/grVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/grVat.ts new file mode 100644 index 0000000..a0a70f2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/grVat.ts @@ -0,0 +1,41 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Greek VAT number + * + * @returns {ValidateResult} + */ +export default function grVat(value: string): ValidateResult { + let v = value; + if (/^(GR|EL)[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + if (v.length === 8) { + v = `0${v}`; + } + + const weight = [256, 128, 64, 32, 16, 8, 4, 2]; + let sum = 0; + for (let i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = (sum % 11) % 10; + + return { + meta: {}, + valid: `${sum}` === v.substr(8, 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/hrVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/hrVat.ts new file mode 100644 index 0000000..5e500ac --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/hrVat.ts @@ -0,0 +1,31 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import mod11And10 from '../../algorithms/mod11And10'; +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Croatian VAT number + * + * @returns {ValidateResult} + */ +export default function hrVat(value: string): ValidateResult { + let v = value; + if (/^HR[0-9]{11}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{11}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + return { + meta: {}, + valid: mod11And10(v), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/huVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/huVat.ts new file mode 100644 index 0000000..6484957 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/huVat.ts @@ -0,0 +1,36 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Hungarian VAT number + * + * @returns {ValidateResult} + */ +export default function huVat(value: string): ValidateResult { + let v = value; + if (/^HU[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const weight = [9, 7, 3, 1, 9, 7, 3, 1]; + let sum = 0; + for (let i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + + return { + meta: {}, + valid: sum % 10 === 0, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ieVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ieVat.ts new file mode 100644 index 0000000..d0c44e4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ieVat.ts @@ -0,0 +1,63 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Irish VAT number + * + * @returns {ValidateResult} + */ +export default function ieVat(value: string): ValidateResult { + let v = value; + if (/^IE[0-9][0-9A-Z*+][0-9]{5}[A-Z]{1,2}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9][0-9A-Z*+][0-9]{5}[A-Z]{1,2}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const getCheckDigit = (inp: string) => { + let input = inp; + while (input.length < 7) { + input = `0${input}`; + } + const alphabet = 'WABCDEFGHIJKLMNOPQRSTUV'; + let sum = 0; + for (let i = 0; i < 7; i++) { + sum += parseInt(input.charAt(i), 10) * (8 - i); + } + sum += 9 * alphabet.indexOf(input.substr(7)); + return alphabet[sum % 23]; + }; + + // The first 7 characters are digits + if (/^[0-9]+$/.test(v.substr(0, 7))) { + // New system + return { + meta: {}, + valid: + v.charAt(7) === + getCheckDigit(`${v.substr(0, 7)}${v.substr(8)}`), + }; + } else if ('ABCDEFGHIJKLMNOPQRSTUVWXYZ+*'.indexOf(v.charAt(1)) !== -1) { + // Old system + return { + meta: {}, + valid: + v.charAt(7) === + getCheckDigit(`${v.substr(2, 5)}${v.substr(0, 1)}`), + }; + } + + return { + meta: {}, + valid: true, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/index.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/index.ts new file mode 100644 index 0000000..05d7bbd --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/index.ts @@ -0,0 +1,279 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../../core/Core'; +import format from '../../utils/format'; + +// vat validators for supported countries +import arVat from './arVat'; +import atVat from './atVat'; +import beVat from './beVat'; +import bgVat from './bgVat'; +import brVat from './brVat'; +import chVat from './chVat'; +import cyVat from './cyVat'; +import czVat from './czVat'; +import deVat from './deVat'; +import dkVat from './dkVat'; +import eeVat from './eeVat'; +import esVat from './esVat'; +import fiVat from './fiVat'; +import frVat from './frVat'; +import gbVat from './gbVat'; +import grVat from './grVat'; +import hrVat from './hrVat'; +import huVat from './huVat'; +import ieVat from './ieVat'; +import isVat from './isVat'; +import itVat from './itVat'; +import ltVat from './ltVat'; +import luVat from './luVat'; +import lvVat from './lvVat'; +import mtVat from './mtVat'; +import nlVat from './nlVat'; +import noVat from './noVat'; +import plVat from './plVat'; +import ptVat from './ptVat'; +import roVat from './roVat'; +import rsVat from './rsVat'; +import ruVat from './ruVat'; +import seVat from './seVat'; +import siVat from './siVat'; +import skVat from './skVat'; +import veVat from './veVat'; +import zaVat from './zaVat'; + +export interface VatOptions extends ValidateOptions { + // The ISO 3166-1 country code. It can be + // - A country code + // - A callback function that returns the country code + country: string | (() => string); +} +export interface VatLocalization extends Localization { + vat: { + countries: { + [countryCode: string]: string; + }; + country: string; + default: string; + }; +} + +export default function vat(): ValidateFunctionInterface< + VatOptions, + ValidateResult +> { + // Supported country codes + const COUNTRY_CODES = [ + 'AR', + 'AT', + 'BE', + 'BG', + 'BR', + 'CH', + 'CY', + 'CZ', + 'DE', + 'DK', + 'EE', + 'EL', + 'ES', + 'FI', + 'FR', + 'GB', + 'GR', + 'HR', + 'HU', + 'IE', + 'IS', + 'IT', + 'LT', + 'LU', + 'LV', + 'MT', + 'NL', + 'NO', + 'PL', + 'PT', + 'RO', + 'RU', + 'RS', + 'SE', + 'SK', + 'SI', + 'VE', + 'ZA', + ]; + + return { + /** + * Validate an European VAT number + */ + validate( + input: ValidateInput + ): ValidateResult { + const value = input.value; + if (value === '') { + return { valid: true }; + } + + const opts = Object.assign({}, { message: '' }, input.options); + let country = value.substr(0, 2); + if ('function' === typeof opts.country) { + country = opts.country.call(this); + } else { + country = opts.country; + } + + if (COUNTRY_CODES.indexOf(country) === -1) { + return { valid: true }; + } + + let result: ValidateResult = { + meta: {}, + valid: true, + }; + switch (country.toLowerCase()) { + case 'ar': + result = arVat(value); + break; + case 'at': + result = atVat(value); + break; + case 'be': + result = beVat(value); + break; + case 'bg': + result = bgVat(value); + break; + case 'br': + result = brVat(value); + break; + case 'ch': + result = chVat(value); + break; + case 'cy': + result = cyVat(value); + break; + case 'cz': + result = czVat(value); + break; + case 'de': + result = deVat(value); + break; + case 'dk': + result = dkVat(value); + break; + case 'ee': + result = eeVat(value); + break; + + // EL is traditionally prefix of Greek VAT numbers + case 'el': + result = grVat(value); + break; + + case 'es': + result = esVat(value); + break; + case 'fi': + result = fiVat(value); + break; + case 'fr': + result = frVat(value); + break; + case 'gb': + result = gbVat(value); + break; + case 'gr': + result = grVat(value); + break; + case 'hr': + result = hrVat(value); + break; + case 'hu': + result = huVat(value); + break; + case 'ie': + result = ieVat(value); + break; + case 'is': + result = isVat(value); + break; + case 'it': + result = itVat(value); + break; + case 'lt': + result = ltVat(value); + break; + case 'lu': + result = luVat(value); + break; + case 'lv': + result = lvVat(value); + break; + case 'mt': + result = mtVat(value); + break; + case 'nl': + result = nlVat(value); + break; + case 'no': + result = noVat(value); + break; + case 'pl': + result = plVat(value); + break; + case 'pt': + result = ptVat(value); + break; + case 'ro': + result = roVat(value); + break; + case 'rs': + result = rsVat(value); + break; + case 'ru': + result = ruVat(value); + break; + case 'se': + result = seVat(value); + break; + case 'si': + result = siVat(value); + break; + case 'sk': + result = skVat(value); + break; + case 've': + result = veVat(value); + break; + case 'za': + result = zaVat(value); + break; + + default: + break; + } + + const message = format( + input.l10n + ? opts.message || input.l10n.vat.country + : opts.message, + input.l10n + ? input.l10n.vat.countries[country.toUpperCase()] + : country.toUpperCase() + ); + return Object.assign({}, { message }, result); + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/isVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/isVat.ts new file mode 100644 index 0000000..9c3cc51 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/isVat.ts @@ -0,0 +1,23 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Icelandic VAT (VSK) number + * + * @returns {ValidateResult} + */ +export default function isVat(value: string): ValidateResult { + let v = value; + if (/^IS[0-9]{5,6}$/.test(v)) { + v = v.substr(2); + } + return { + meta: {}, + valid: /^[0-9]{5,6}$/.test(v), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/itVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/itVat.ts new file mode 100644 index 0000000..5a0c877 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/itVat.ts @@ -0,0 +1,52 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import luhn from '../../algorithms/luhn'; +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Italian VAT number, which consists of 11 digits. + * - First 7 digits are a company identifier + * - Next 3 are the province of residence + * - The last one is a check digit + * + * @returns {ValidateResult} + */ +export default function itVat(value: string): ValidateResult { + let v = value; + if (/^IT[0-9]{11}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{11}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + if (parseInt(v.substr(0, 7), 10) === 0) { + return { + meta: {}, + valid: false, + }; + } + + const lastThree = parseInt(v.substr(7, 3), 10); + if ( + lastThree < 1 || + (lastThree > 201 && lastThree !== 999 && lastThree !== 888) + ) { + return { + meta: {}, + valid: false, + }; + } + + return { + meta: {}, + valid: luhn(v), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ltVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ltVat.ts new file mode 100644 index 0000000..a184100 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ltVat.ts @@ -0,0 +1,48 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Lithuanian VAT number + * It can be: + * - 9 digits, for legal entities + * - 12 digits, for temporarily registered taxpayers + * + * @returns {ValidateResult} + */ +export default function ltVat(value: string): ValidateResult { + let v = value; + if (/^LT([0-9]{7}1[0-9]|[0-9]{10}1[0-9])$/.test(v)) { + v = v.substr(2); + } + if (!/^([0-9]{7}1[0-9]|[0-9]{10}1[0-9])$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const length = v.length; + let sum = 0; + let i; + for (i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * (1 + (i % 9)); + } + let check = sum % 11; + if (check === 10) { + // FIXME: Why we need calculation because `sum` isn't used anymore + sum = 0; + for (i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * (1 + ((i + 2) % 9)); + } + } + check = (check % 11) % 10; + return { + meta: {}, + valid: `${check}` === v.charAt(length - 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/luVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/luVat.ts new file mode 100644 index 0000000..1b4e50b --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/luVat.ts @@ -0,0 +1,30 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Luxembourg VAT number + * + * @returns {ValidateResult} + */ +export default function luVat(value: string): ValidateResult { + let v = value; + if (/^LU[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + return { + meta: {}, + valid: `${parseInt(v.substr(0, 6), 10) % 89}` === v.substr(6, 2), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/lvVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/lvVat.ts new file mode 100644 index 0000000..7ecc3a4 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/lvVat.ts @@ -0,0 +1,70 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; +import isValidDate from '../../utils/isValidDate'; + +/** + * Validate Latvian VAT number + * + * @returns {ValidateResult} + */ +export default function lv(value: string): ValidateResult { + let v = value; + if (/^LV[0-9]{11}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{11}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const first = parseInt(v.charAt(0), 10); + const length = v.length; + let sum = 0; + let weight = []; + let i; + if (first > 3) { + // Legal entity + sum = 0; + weight = [9, 1, 4, 8, 3, 10, 2, 5, 7, 6, 1]; + for (i = 0; i < length; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + return { + meta: {}, + valid: sum === 3, + }; + } else { + // Check birth date + const day = parseInt(v.substr(0, 2), 10); + const month = parseInt(v.substr(2, 2), 10); + let year = parseInt(v.substr(4, 2), 10); + year = year + 1800 + parseInt(v.charAt(6), 10) * 100; + + if (!isValidDate(year, month, day)) { + return { + meta: {}, + valid: false, + }; + } + + // Check personal code + sum = 0; + weight = [10, 5, 8, 4, 2, 1, 6, 3, 7, 9]; + for (i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = ((sum + 1) % 11) % 10; + return { + meta: {}, + valid: `${sum}` === v.charAt(length - 1), + }; + } +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/mtVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/mtVat.ts new file mode 100644 index 0000000..19e919f --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/mtVat.ts @@ -0,0 +1,36 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Maltese VAT number + * + * @returns {ValidateResult} + */ +export default function mtVat(value: string): ValidateResult { + let v = value; + if (/^MT[0-9]{8}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{8}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const weight = [3, 4, 6, 7, 8, 9, 10, 1]; + let sum = 0; + for (let i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + + return { + meta: {}, + valid: sum % 37 === 0, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/nlVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/nlVat.ts new file mode 100644 index 0000000..91ecb9a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/nlVat.ts @@ -0,0 +1,33 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import mod97And10 from '../../algorithms/mod97And10'; +import { ValidateResult } from '../../core/Core'; +import nlId from '../id/nlId'; + +/** + * Validate Dutch VAT number + * + * @returns {ValidateResult} + */ +export default function nlVat(value: string): ValidateResult { + let v = value; + if (/^NL[0-9]{9}B[0-9]{2}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}B[0-9]{2}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const id = v.substr(0, 9); + return { + meta: {}, + valid: nlId(id).valid || mod97And10(`NL${v}`), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/noVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/noVat.ts new file mode 100644 index 0000000..3ecd9a2 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/noVat.ts @@ -0,0 +1,41 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Norwegian VAT number + * + * @see http://www.brreg.no/english/coordination/number.html + * @returns {ValidateResult} + */ +export default function noVat(value: string): ValidateResult { + let v = value; + if (/^NO[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const weight = [3, 2, 7, 6, 5, 4, 3, 2]; + let sum = 0; + for (let i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + + sum = 11 - (sum % 11); + if (sum === 11) { + sum = 0; + } + return { + meta: {}, + valid: `${sum}` === v.substr(8, 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/plVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/plVat.ts new file mode 100644 index 0000000..81fb28d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/plVat.ts @@ -0,0 +1,36 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Polish VAT number + * + * @returns {ValidateResult} + */ +export default function plVat(value: string): ValidateResult { + let v = value; + if (/^PL[0-9]{10}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{10}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const weight = [6, 5, 7, 2, 3, 4, 5, 6, 7, -1]; + let sum = 0; + for (let i = 0; i < 10; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + + return { + meta: {}, + valid: sum % 11 === 0, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ptVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ptVat.ts new file mode 100644 index 0000000..7380c37 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ptVat.ts @@ -0,0 +1,39 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Portuguese VAT number + * + * @returns {ValidateResult} + */ +export default function ptVat(value: string): ValidateResult { + let v = value; + if (/^PT[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const weight = [9, 8, 7, 6, 5, 4, 3, 2]; + let sum = 0; + for (let i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + if (sum > 9) { + sum = 0; + } + return { + meta: {}, + valid: `${sum}` === v.substr(8, 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/roVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/roVat.ts new file mode 100644 index 0000000..fe63af6 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/roVat.ts @@ -0,0 +1,38 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Romanian VAT number + * + * @returns {ValidateResult} + */ +export default function roVat(value: string): ValidateResult { + let v = value; + if (/^RO[1-9][0-9]{1,9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[1-9][0-9]{1,9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const length = v.length; + const weight = [7, 5, 3, 2, 1, 7, 5, 3, 2].slice(10 - length); + let sum = 0; + for (let i = 0; i < length - 1; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + + sum = ((10 * sum) % 11) % 10; + return { + meta: {}, + valid: `${sum}` === v.substr(length - 1, 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/rsVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/rsVat.ts new file mode 100644 index 0000000..903f15d --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/rsVat.ts @@ -0,0 +1,40 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Serbian VAT number + * + * @returns {ValidateResult} + */ +export default function rsVat(value: string): ValidateResult { + let v = value; + if (/^RS[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + let sum = 10; + let temp = 0; + for (let i = 0; i < 8; i++) { + temp = (parseInt(v.charAt(i), 10) + sum) % 10; + if (temp === 0) { + temp = 10; + } + sum = (2 * temp) % 11; + } + + return { + meta: {}, + valid: (sum + parseInt(v.substr(8, 1), 10)) % 10 === 1, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ruVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ruVat.ts new file mode 100644 index 0000000..b92ffc0 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/ruVat.ts @@ -0,0 +1,71 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Russian VAT number (Taxpayer Identification Number - INN) + * + * @returns {ValidateResult} + */ +export default function ruVat(value: string): ValidateResult { + let v = value; + if (/^RU([0-9]{10}|[0-9]{12})$/.test(v)) { + v = v.substr(2); + } + if (!/^([0-9]{10}|[0-9]{12})$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + let i = 0; + if (v.length === 10) { + const weight = [2, 4, 10, 3, 5, 9, 4, 6, 8, 0]; + let sum = 0; + for (i = 0; i < 10; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = sum % 11; + if (sum > 9) { + sum = sum % 10; + } + + return { + meta: {}, + valid: `${sum}` === v.substr(9, 1), + }; + } else if (v.length === 12) { + const weight1 = [7, 2, 4, 10, 3, 5, 9, 4, 6, 8, 0]; + const weight2 = [3, 7, 2, 4, 10, 3, 5, 9, 4, 6, 8, 0]; + let sum1 = 0; + let sum2 = 0; + for (i = 0; i < 11; i++) { + sum1 += parseInt(v.charAt(i), 10) * weight1[i]; + sum2 += parseInt(v.charAt(i), 10) * weight2[i]; + } + sum1 = sum1 % 11; + if (sum1 > 9) { + sum1 = sum1 % 10; + } + sum2 = sum2 % 11; + if (sum2 > 9) { + sum2 = sum2 % 10; + } + + return { + meta: {}, + valid: + `${sum1}` === v.substr(10, 1) && `${sum2}` === v.substr(11, 1), + }; + } + + return { + meta: {}, + valid: true, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/seVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/seVat.ts new file mode 100644 index 0000000..8d6a703 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/seVat.ts @@ -0,0 +1,32 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import luhn from '../../algorithms/luhn'; +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Swiss VAT number + * + * @returns {ValidateResult} + */ +export default function seVat(value: string): ValidateResult { + let v = value; + if (/^SE[0-9]{10}01$/.test(v)) { + v = v.substr(2); + } + if (!/^[0-9]{10}01$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + v = v.substr(0, 10); + return { + meta: {}, + valid: luhn(v), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/siVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/siVat.ts new file mode 100644 index 0000000..e026e9a --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/siVat.ts @@ -0,0 +1,37 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Slovenian VAT number + * + * @returns {ValidateResult} + */ +export default function siVat(value: string): ValidateResult { + // The Slovenian VAT numbers don't start with zero + const res = value.match(/^(SI)?([1-9][0-9]{7})$/); + if (!res) { + return { + meta: {}, + valid: false, + }; + } + const v = res[1] ? value.substr(2) : value; + const weight = [8, 7, 6, 5, 4, 3, 2]; + let sum = 0; + for (let i = 0; i < 7; i++) { + sum += parseInt(v.charAt(i), 10) * weight[i]; + } + sum = 11 - (sum % 11); + if (sum === 10) { + sum = 0; + } + return { + meta: {}, + valid: `${sum}` === v.substr(7, 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/skVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/skVat.ts new file mode 100644 index 0000000..549bfc1 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/skVat.ts @@ -0,0 +1,30 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Slovak VAT number + * + * @returns {ValidateResult} + */ +export default function skVat(value: string): ValidateResult { + let v = value; + if (/^SK[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(v)) { + v = v.substr(2); + } + if (!/^[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + return { + meta: {}, + valid: parseInt(v, 10) % 11 === 0, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/veVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/veVat.ts new file mode 100644 index 0000000..7459e29 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/veVat.ts @@ -0,0 +1,48 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate Venezuelan VAT number (RIF) + * + * @returns {ValidateResult} + */ +export default function veVat(value: string): ValidateResult { + let v = value; + if (/^VE[VEJPG][0-9]{9}$/.test(v)) { + v = v.substr(2); + } + if (!/^[VEJPG][0-9]{9}$/.test(v)) { + return { + meta: {}, + valid: false, + }; + } + + const types = { + E: 8, + G: 20, + J: 12, + P: 16, + V: 4, + }; + const weight = [3, 2, 7, 6, 5, 4, 3, 2]; + let sum = types[v.charAt(0)]; + + for (let i = 0; i < 8; i++) { + sum += parseInt(v.charAt(i + 1), 10) * weight[i]; + } + + sum = 11 - (sum % 11); + if (sum === 11 || sum === 10) { + sum = 0; + } + return { + meta: {}, + valid: `${sum}` === v.substr(9, 1), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vat/zaVat.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/zaVat.ts new file mode 100644 index 0000000..85185b8 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vat/zaVat.ts @@ -0,0 +1,24 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { ValidateResult } from '../../core/Core'; + +/** + * Validate South African VAT number + * + * @returns {ValidateResult} + */ +export default function zaVat(value: string): ValidateResult { + let v = value; + if (/^ZA4[0-9]{9}$/.test(v)) { + v = v.substr(2); + } + + return { + meta: {}, + valid: /^4[0-9]{9}$/.test(v), + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/vin.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/vin.ts new file mode 100644 index 0000000..e816e14 --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/vin.ts @@ -0,0 +1,92 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; + +export default function vin(): ValidateFunctionInterface< + ValidateOptions, + ValidateResult +> { + return { + /** + * Validate an US VIN (Vehicle Identification Number) + */ + validate( + input: ValidateInput + ): ValidateResult { + if (input.value === '') { + return { valid: true }; + } + + // Don't accept I, O, Q characters + if ( + !/^[a-hj-npr-z0-9]{8}[0-9xX][a-hj-npr-z0-9]{8}$/i.test( + input.value + ) + ) { + return { valid: false }; + } + + const v = input.value.toUpperCase(); + const chars = { + A: 1, + B: 2, + C: 3, + D: 4, + E: 5, + F: 6, + G: 7, + H: 8, + J: 1, + K: 2, + L: 3, + M: 4, + N: 5, + P: 7, + R: 9, + S: 2, + T: 3, + U: 4, + V: 5, + W: 6, + X: 7, + Y: 8, + Z: 9, + 0: 0, + 1: 1, + 2: 2, + 3: 3, + 4: 4, + 5: 5, + 6: 6, + 7: 7, + 8: 8, + 9: 9, + }; + const weights = [ + 8, 7, 6, 5, 4, 3, 2, 10, 0, 9, 8, 7, 6, 5, 4, 3, 2, + ]; + const length = v.length; + let sum = 0; + for (let i = 0; i < length; i++) { + sum += chars[`${v.charAt(i)}`] * weights[i]; + } + + let reminder = `${sum % 11}`; + if (reminder === '10') { + reminder = 'X'; + } + + return { valid: reminder === v.charAt(8) }; + }, + }; +} diff --git a/resources/assets/core/plugins/formvalidation/src/js/validators/zipCode.ts b/resources/assets/core/plugins/formvalidation/src/js/validators/zipCode.ts new file mode 100644 index 0000000..e1445de --- /dev/null +++ b/resources/assets/core/plugins/formvalidation/src/js/validators/zipCode.ts @@ -0,0 +1,286 @@ +/** + * FormValidation (https://formvalidation.io) + * The best validation library for JavaScript + * (c) 2013 - 2021 Nguyen Huu Phuoc + */ + +import { + Localization, + ValidateFunctionInterface, + ValidateInput, + ValidateOptions, + ValidateResult, +} from '../core/Core'; +import format from '../utils/format'; + +export interface ZipCodeOptions extends ValidateOptions { + // The ISO 3166-1 country code. It can be + // - A country code + // - A callback function that returns the country code + country: string | (() => string); +} +export interface ZipCodeLocalization extends Localization { + zipCode: { + countries: { + [countryCode: string]: string; + }; + country: string; + default: string; + }; +} + +export default function zipCode(): ValidateFunctionInterface< + ZipCodeOptions, + ValidateResult +> { + const COUNTRY_CODES = [ + 'AT', + 'BG', + 'BR', + 'CA', + 'CH', + 'CZ', + 'DE', + 'DK', + 'ES', + 'FR', + 'GB', + 'IE', + 'IN', + 'IT', + 'MA', + 'NL', + 'PL', + 'PT', + 'RO', + 'RU', + 'SE', + 'SG', + 'SK', + 'US', + ]; + + /** + * Validate United Kingdom postcode + * @returns {boolean} + */ + const gb = (value: string) => { + const firstChar = '[ABCDEFGHIJKLMNOPRSTUWYZ]'; // Does not accept QVX + const secondChar = '[ABCDEFGHKLMNOPQRSTUVWXY]'; // Does not accept IJZ + const thirdChar = '[ABCDEFGHJKPMNRSTUVWXY]'; + const fourthChar = '[ABEHMNPRVWXY]'; + const fifthChar = '[ABDEFGHJLNPQRSTUWXYZ]'; + const regexps = [ + // AN NAA, ANN NAA, AAN NAA, AANN NAA format + new RegExp( + `^(${firstChar}{1}${secondChar}?[0-9]{1,2})(\\s*)([0-9]{1}${fifthChar}{2})$`, + 'i' + ), + // ANA NAA + new RegExp( + `^(${firstChar}{1}[0-9]{1}${thirdChar}{1})(\\s*)([0-9]{1}${fifthChar}{2})$`, + 'i' + ), + // AANA NAA + new RegExp( + `^(${firstChar}{1}${secondChar}{1}?[0-9]{1}${fourthChar}{1})(\\s*)([0-9]{1}${fifthChar}{2})$`, + 'i' + ), + + // BFPO postcodes + new RegExp( + '^(BF1)(\\s*)([0-6]{1}[ABDEFGHJLNPQRST]{1}[ABDEFGHJLNPQRSTUWZYZ]{1})$', + 'i' + ), + /^(GIR)(\s*)(0AA)$/i, // Special postcode GIR 0AA + /^(BFPO)(\s*)([0-9]{1,4})$/i, // Standard BFPO numbers + /^(BFPO)(\s*)(c\/o\s*[0-9]{1,3})$/i, // c/o BFPO numbers + /^([A-Z]{4})(\s*)(1ZZ)$/i, // Overseas Territories + /^(AI-2640)$/i, // Anguilla + ]; + + for (const reg of regexps) { + if (reg.test(value)) { + return true; + } + } + + return false; + }; + + return { + /** + * Return true if and only if the input value is a valid country zip code + */ + validate( + input: ValidateInput + ): ValidateResult { + const opts = Object.assign({}, input.options); + if (input.value === '' || !opts.country) { + return { valid: true }; + } + + let country = input.value.substr(0, 2); + if ('function' === typeof opts.country) { + country = opts.country.call(this); + } else { + country = opts.country; + } + + if ( + !country || + COUNTRY_CODES.indexOf(country.toUpperCase()) === -1 + ) { + return { valid: true }; + } + + let isValid = false; + country = country.toUpperCase(); + switch (country) { + // http://en.wikipedia.org/wiki/List_of_postal_codes_in_Austria + case 'AT': + isValid = /^([1-9]{1})(\d{3})$/.test(input.value); + break; + + case 'BG': + isValid = /^([1-9]{1}[0-9]{3})$/.test(input.value); + break; + + case 'BR': + isValid = /^(\d{2})([.]?)(\d{3})([-]?)(\d{3})$/.test( + input.value + ); + break; + + case 'CA': + isValid = + /^(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|X|Y){1}[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}\s?[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}[0-9]{1}$/i.test( + input.value + ); + break; + + case 'CH': + isValid = /^([1-9]{1})(\d{3})$/.test(input.value); + break; + + case 'CZ': + // Test: http://regexr.com/39hhr + isValid = /^(\d{3})([ ]?)(\d{2})$/.test(input.value); + break; + + // http://stackoverflow.com/questions/7926687/regular-expression-german-zip-codes + case 'DE': + isValid = /^(?!01000|99999)(0[1-9]\d{3}|[1-9]\d{4})$/.test( + input.value + ); + break; + + case 'DK': + isValid = /^(DK(-|\s)?)?\d{4}$/i.test(input.value); + break; + + // Zip codes in Spain go from 01XXX to 52XXX. + // Test: http://refiddle.com/1ufo + case 'ES': + isValid = /^(?:0[1-9]|[1-4][0-9]|5[0-2])\d{3}$/.test( + input.value + ); + break; + + // http://en.wikipedia.org/wiki/Postal_codes_in_France + case 'FR': + isValid = /^[0-9]{5}$/i.test(input.value); + break; + + case 'GB': + isValid = gb(input.value); + break; + + // Indian PIN (Postal Index Number) validation + // http://en.wikipedia.org/wiki/Postal_Index_Number + // Test: http://regex101.com/r/kV0vH3/1 + case 'IN': + isValid = /^\d{3}\s?\d{3}$/.test(input.value); + break; + + // http://www.eircode.ie/docs/default-source/Common/ + // prepare-your-business-for-eircode---published-v2.pdf?sfvrsn=2 + // Test: http://refiddle.com/1kpl + case 'IE': + isValid = + /^(D6W|[ACDEFHKNPRTVWXY]\d{2})\s[0-9ACDEFHKNPRTVWXY]{4}$/.test( + input.value + ); + break; + + // http://en.wikipedia.org/wiki/List_of_postal_codes_in_Italy + case 'IT': + isValid = /^(I-|IT-)?\d{5}$/i.test(input.value); + break; + + // http://en.wikipedia.org/wiki/List_of_postal_codes_in_Morocco + case 'MA': + isValid = /^[1-9][0-9]{4}$/i.test(input.value); + break; + + // http://en.wikipedia.org/wiki/Postal_codes_in_the_Netherlands + case 'NL': + isValid = /^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i.test( + input.value + ); + break; + + // http://en.wikipedia.org/wiki/List_of_postal_codes_in_Poland + case 'PL': + isValid = /^[0-9]{2}-[0-9]{3}$/.test(input.value); + break; + + // Test: http://refiddle.com/1l2t + case 'PT': + isValid = /^[1-9]\d{3}-\d{3}$/.test(input.value); + break; + + case 'RO': + isValid = /^(0[1-8]{1}|[1-9]{1}[0-5]{1})?[0-9]{4}$/i.test( + input.value + ); + break; + + case 'RU': + isValid = /^[0-9]{6}$/i.test(input.value); + break; + + case 'SE': + isValid = /^(S-)?\d{3}\s?\d{2}$/i.test(input.value); + break; + + case 'SG': + isValid = + /^([0][1-9]|[1-6][0-9]|[7]([0-3]|[5-9])|[8][0-2])(\d{4})$/i.test( + input.value + ); + break; + + case 'SK': + // Test: http://regexr.com/39hhr + isValid = /^(\d{3})([ ]?)(\d{2})$/.test(input.value); + break; + + case 'US': + default: + isValid = /^\d{4,5}([-]?\d{4})?$/.test(input.value); + break; + } + + return { + message: format( + input.l10n + ? opts.message || input.l10n.zipCode.country + : opts.message, + input.l10n ? input.l10n.zipCode.countries[country] : country + ), + valid: isValid, + }; + }, + }; +} diff --git a/resources/assets/core/plugins/fslightbox/LICENSE b/resources/assets/core/plugins/fslightbox/LICENSE new file mode 100644 index 0000000..855d498 --- /dev/null +++ b/resources/assets/core/plugins/fslightbox/LICENSE @@ -0,0 +1,21 @@ +## The MIT License (MIT) ## + +Copyright (c) Piotr Zdziarski + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/resources/assets/core/plugins/fslightbox/README.md b/resources/assets/core/plugins/fslightbox/README.md new file mode 100644 index 0000000..6b3dac8 --- /dev/null +++ b/resources/assets/core/plugins/fslightbox/README.md @@ -0,0 +1,62 @@ +# Fullscreen Lightbox Basic + +## Description +Modern and easy plugin for displaying images and videos in clean overlaying box. +Display single source or create beautiful gallery with powerful lightbox. + +Website: https://fslightbox.com + +### No jQuery and other dependencies. + +## Basic usage + +### Installation + +``` +npm install --save-dev fslightbox +``` + +### Example + +In your application .js file: +```javascript +require('fslightbox'); +``` + +In HTML file +```html + + Open first slide (image) + + + Open second slide (YouTube) + + + Open third slide (HTML video) + + + Open fourth slide (custom source) + +