Compare commits
No commits in common. "gh-pages" and "main" have entirely different histories.
375
.all-contributorsrc
Normal file
@ -0,0 +1,375 @@
|
|||||||
|
{
|
||||||
|
"files": [
|
||||||
|
"README.md"
|
||||||
|
],
|
||||||
|
"imageSize": 100,
|
||||||
|
"commit": false,
|
||||||
|
"commitConvention": "angular",
|
||||||
|
"contributors": [
|
||||||
|
{
|
||||||
|
"login": "lordvlad",
|
||||||
|
"name": "Waldemar Reusch",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1217769?v=4",
|
||||||
|
"profile": "https://github.com/lordvlad",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "willwill96",
|
||||||
|
"name": "William Will",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/10997562?v=4",
|
||||||
|
"profile": "https://willwill96.github.io/the-ui-dawg-static-site/en/introduction/",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "Ann2827",
|
||||||
|
"name": "Bystrova Ann",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/32645809?v=4",
|
||||||
|
"profile": "https://github.com/Ann2827",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "mkreuzmayr",
|
||||||
|
"name": "Michael Kreuzmayr",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/20108212?v=4",
|
||||||
|
"profile": "https://github.com/mkreuzmayr",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "Mstrodl",
|
||||||
|
"name": "Mary ",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/6877780?v=4",
|
||||||
|
"profile": "https://coolmathgames.tech",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "Tasyp",
|
||||||
|
"name": "German Öö",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/6623212?v=4",
|
||||||
|
"profile": "https://tasyp.xyz/",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "revolunet",
|
||||||
|
"name": "Julien Bouquillon",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/124937?v=4",
|
||||||
|
"profile": "https://revolunet.com",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "aidangilmore",
|
||||||
|
"name": "Aidan Gilmore",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/32880357?v=4",
|
||||||
|
"profile": "https://github.com/aidangilmore",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "0x-Void",
|
||||||
|
"name": "Void",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/32745739?v=4",
|
||||||
|
"profile": "https://github.com/0x-Void",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "juffe",
|
||||||
|
"name": "juffe",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5393231?v=4",
|
||||||
|
"profile": "https://github.com/juffe",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "lazToum",
|
||||||
|
"name": "Lazaros Toumanidis",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/4764837?v=4",
|
||||||
|
"profile": "https://github.com/lazToum",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "marcmrf",
|
||||||
|
"name": "Marc",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/9928519?v=4",
|
||||||
|
"profile": "https://github.com/marcmrf",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "kasir-barati",
|
||||||
|
"name": "Kasir Barati",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/73785723?v=4",
|
||||||
|
"profile": "http://kasir-barati.github.io",
|
||||||
|
"contributions": [
|
||||||
|
"doc"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "asashay",
|
||||||
|
"name": "Alex Oliynyk",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/10714670?v=4",
|
||||||
|
"profile": "https://github.com/asashay",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "thosil",
|
||||||
|
"name": "Thomas Silvestre",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1140574?v=4",
|
||||||
|
"profile": "https://www.gravitysoftware.be",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "satanshiro",
|
||||||
|
"name": "satanshiro",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/38865738?v=4",
|
||||||
|
"profile": "https://github.com/satanshiro",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "kpoelhekke",
|
||||||
|
"name": "Koen Poelhekke",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1632377?v=4",
|
||||||
|
"profile": "https://poelhekke.dev",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "zavoloklom",
|
||||||
|
"name": "Sergey Kupletsky",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/4151869?v=4",
|
||||||
|
"profile": "https://github.com/zavoloklom",
|
||||||
|
"contributions": [
|
||||||
|
"test",
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "rome-user",
|
||||||
|
"name": "rome-user",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/114131048?v=4",
|
||||||
|
"profile": "https://github.com/rome-user",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "celinepelletier",
|
||||||
|
"name": "Céline Pelletier",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/82821620?v=4",
|
||||||
|
"profile": "https://github.com/celinepelletier",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "xgp",
|
||||||
|
"name": "Garth",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/244253?v=4",
|
||||||
|
"profile": "https://github.com/xgp",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "BlackVoid",
|
||||||
|
"name": "Felix Gustavsson",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/673720?v=4",
|
||||||
|
"profile": "https://github.com/BlackVoid",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "msiemens",
|
||||||
|
"name": "Markus Siemens",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1873922?v=4",
|
||||||
|
"profile": "https://m-siemens.de/",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "law108000",
|
||||||
|
"name": "Rlok",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/8112024?v=4",
|
||||||
|
"profile": "https://github.com/law108000",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "Moulyy",
|
||||||
|
"name": "Moulyy",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/115405804?v=4",
|
||||||
|
"profile": "https://github.com/Moulyy",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "madmadson",
|
||||||
|
"name": "Tobias Matt",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/798831?v=4",
|
||||||
|
"profile": "https://github.com/madmadson",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "oliviergoulet5",
|
||||||
|
"name": "Olivier Goulet",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/17685861?v=4",
|
||||||
|
"profile": "https://github.com/oliviergoulet5",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "liamlows",
|
||||||
|
"name": "Liam Lowsley-Williams",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1365914?v=4",
|
||||||
|
"profile": "https://github.com/liamlows",
|
||||||
|
"contributions": [
|
||||||
|
"code",
|
||||||
|
"doc"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "uchar",
|
||||||
|
"name": "Omid",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5172296?v=4",
|
||||||
|
"profile": "https://www.linkedin.com/in/oes-rioniz/",
|
||||||
|
"contributions": [
|
||||||
|
"test",
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "kathari00",
|
||||||
|
"name": "Katharina Eiserfey",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/42547712?v=4",
|
||||||
|
"profile": "https://github.com/kathari00",
|
||||||
|
"contributions": [
|
||||||
|
"code",
|
||||||
|
"test",
|
||||||
|
"doc"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "luca-peruzzo",
|
||||||
|
"name": "Luca Peruzzo",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/69015314?v=4",
|
||||||
|
"profile": "https://github.com/luca-peruzzo",
|
||||||
|
"contributions": [
|
||||||
|
"code",
|
||||||
|
"test"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "nima70",
|
||||||
|
"name": "Nima Shokouhfar",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/5094767?v=4",
|
||||||
|
"profile": "https://github.com/nima70",
|
||||||
|
"contributions": [
|
||||||
|
"code",
|
||||||
|
"test"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "marvinruder",
|
||||||
|
"name": "Marvin A. Ruder",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/18495294?v=4",
|
||||||
|
"profile": "https://mruder.dev",
|
||||||
|
"contributions": [
|
||||||
|
"bug"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "zvn2060",
|
||||||
|
"name": "HI_OuO",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/45450852?v=4",
|
||||||
|
"profile": "https://github.com/zvn2060",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "tripheo0412",
|
||||||
|
"name": "Tri Hoang",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/25382052?v=4",
|
||||||
|
"profile": "https://github.com/tripheo0412",
|
||||||
|
"contributions": [
|
||||||
|
"doc"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "EternalSide",
|
||||||
|
"name": "Lesha",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/118743608?v=4",
|
||||||
|
"profile": "http://t.me/AAT_L",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "bacongobbler",
|
||||||
|
"name": "Matthew Fisher",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1360539?v=4",
|
||||||
|
"profile": "https://blog.bacongobbler.com",
|
||||||
|
"contributions": [
|
||||||
|
"doc"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "kodebach",
|
||||||
|
"name": "Klemens Böswirth",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/23529132?v=4",
|
||||||
|
"profile": "https://github.com/kodebach",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "wnmzzzz",
|
||||||
|
"name": "wnmzzzz",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/117174301?v=4",
|
||||||
|
"profile": "https://github.com/wnmzzzz",
|
||||||
|
"contributions": [
|
||||||
|
"test"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"contributorsPerLine": 7,
|
||||||
|
"skipCi": true,
|
||||||
|
"repoType": "github",
|
||||||
|
"repoHost": "https://github.com",
|
||||||
|
"projectName": "keycloakify",
|
||||||
|
"projectOwner": "keycloakify",
|
||||||
|
"commitType": "docs"
|
||||||
|
}
|
3
.gitattributes
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
src/lib/i18n/generated_kcMessages/* linguist-documentation
|
||||||
|
src/bin/keycloakify/index.ts -linguist-detectable
|
||||||
|
src/bin/install-builtin-keycloak-themes.ts -linguist-detectable
|
3
.github/FUNDING.yaml
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# These are supported funding model platforms
|
||||||
|
|
||||||
|
github: [garronej]
|
139
.github/workflows/ci.yaml
vendored
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
name: ci
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
test_lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ !github.event.created && github.repository != 'garronej/ts-ci' }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
- uses: bahmutov/npm-install@v1
|
||||||
|
- name: If this step fails run 'npm run format' then commit again.
|
||||||
|
run: npm run _format --list-different
|
||||||
|
test:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
needs: test_lint
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node: [ '18' ]
|
||||||
|
os: [ ubuntu-latest ]
|
||||||
|
name: Test with Node v${{ matrix.node }} on ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node }}
|
||||||
|
- uses: bahmutov/npm-install@v1
|
||||||
|
- run: npm run build
|
||||||
|
- run: npm run test
|
||||||
|
|
||||||
|
storybook:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
|
needs: test
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '18'
|
||||||
|
- uses: bahmutov/npm-install@v1
|
||||||
|
- run: npm run build-storybook
|
||||||
|
- run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- run: npx -y -p gh-pages@3.1.0 gh-pages -d ./storybook-static -u "github-actions-bot <actions@github.com>"
|
||||||
|
|
||||||
|
check_if_version_upgraded:
|
||||||
|
name: Check if version upgrade
|
||||||
|
# When someone forks the repo and opens a PR we want to enables the tests to be run (the previous jobs)
|
||||||
|
# but obviously only us should be allowed to release.
|
||||||
|
# In the following check we make sure that we own the branch this CI workflow is running on before continuing.
|
||||||
|
# Without this check, trying to release would fail anyway because only us have the correct secret.NPM_TOKEN but
|
||||||
|
# it's cleaner to stop the execution instead of letting the CI crash.
|
||||||
|
if: |
|
||||||
|
github.event_name == 'push' ||
|
||||||
|
github.event.pull_request.head.repo.owner.login == github.event.pull_request.base.repo.owner.login
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: test
|
||||||
|
outputs:
|
||||||
|
from_version: ${{ steps.step1.outputs.from_version }}
|
||||||
|
to_version: ${{ steps.step1.outputs.to_version }}
|
||||||
|
is_upgraded_version: ${{ steps.step1.outputs.is_upgraded_version }}
|
||||||
|
is_pre_release: ${{steps.step1.outputs.is_pre_release }}
|
||||||
|
steps:
|
||||||
|
- uses: garronej/ts-ci@v2.1.2
|
||||||
|
id: step1
|
||||||
|
with:
|
||||||
|
action_name: is_package_json_version_upgraded
|
||||||
|
|
||||||
|
create_github_release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
# We create release only if the version in the package.json have been upgraded and this CI is running against the main branch.
|
||||||
|
# We allow branches with a PR open on main to publish pre-release (x.y.z-rc.u) but not actual releases.
|
||||||
|
if: |
|
||||||
|
needs.check_if_version_upgraded.outputs.is_upgraded_version == 'true' &&
|
||||||
|
(
|
||||||
|
github.event_name == 'push' ||
|
||||||
|
needs.check_if_version_upgraded.outputs.is_pre_release == 'true'
|
||||||
|
)
|
||||||
|
needs:
|
||||||
|
- check_if_version_upgraded
|
||||||
|
steps:
|
||||||
|
- uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
name: Release v${{ needs.check_if_version_upgraded.outputs.to_version }}
|
||||||
|
tag_name: v${{ needs.check_if_version_upgraded.outputs.to_version }}
|
||||||
|
target_commitish: ${{ github.head_ref || github.ref }}
|
||||||
|
generate_release_notes: true
|
||||||
|
draft: false
|
||||||
|
prerelease: ${{ needs.check_if_version_upgraded.outputs.is_pre_release == 'true' }}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
publish_on_npm:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs:
|
||||||
|
- create_github_release
|
||||||
|
- check_if_version_upgraded
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
registry-url: https://registry.npmjs.org/
|
||||||
|
- uses: bahmutov/npm-install@v1
|
||||||
|
- run: npm run build
|
||||||
|
- run: npx -y -p denoify@1.6.13 enable_short_npm_import_path
|
||||||
|
env:
|
||||||
|
DRY_RUN: "0"
|
||||||
|
- uses: garronej/ts-ci@v2.1.2
|
||||||
|
with:
|
||||||
|
action_name: remove_dark_mode_specific_images_from_readme
|
||||||
|
- name: Publishing on NPM
|
||||||
|
run: |
|
||||||
|
if [ "$(npm show . version)" = "$VERSION" ]; then
|
||||||
|
echo "This version is already published"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
if [ "$NODE_AUTH_TOKEN" = "" ]; then
|
||||||
|
echo "Can't publish on NPM, You must first create a secret called NPM_TOKEN that contains your NPM auth token. https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets"
|
||||||
|
false
|
||||||
|
fi
|
||||||
|
EXTRA_ARGS=""
|
||||||
|
if [ "$IS_PRE_RELEASE" = "true" ]; then
|
||||||
|
EXTRA_ARGS="--tag next"
|
||||||
|
fi
|
||||||
|
npm publish $EXTRA_ARGS
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
|
VERSION: ${{ needs.check_if_version_upgraded.outputs.to_version }}
|
||||||
|
IS_PRE_RELEASE: ${{ needs.check_if_version_upgraded.outputs.is_pre_release }}
|
61
.gitignore
vendored
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
|
||||||
|
# Runtime data
|
||||||
|
pids
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
|
||||||
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
|
lib-cov
|
||||||
|
|
||||||
|
# Coverage directory used by tools like istanbul
|
||||||
|
coverage
|
||||||
|
|
||||||
|
# nyc test coverage
|
||||||
|
.nyc_output
|
||||||
|
|
||||||
|
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
||||||
|
.grunt
|
||||||
|
|
||||||
|
# node-waf configuration
|
||||||
|
.lock-wscript
|
||||||
|
|
||||||
|
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
||||||
|
build/Release
|
||||||
|
|
||||||
|
# Dependency directories
|
||||||
|
node_modules
|
||||||
|
jspm_packages
|
||||||
|
|
||||||
|
# Optional npm cache directory
|
||||||
|
.npm
|
||||||
|
|
||||||
|
# Optional REPL history
|
||||||
|
.node_repl_history
|
||||||
|
|
||||||
|
.vscode
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
/dist
|
||||||
|
/keycloakify_starter_test/
|
||||||
|
/sample_custom_react_project/
|
||||||
|
/sample_react_project/
|
||||||
|
/.yarn_home/
|
||||||
|
|
||||||
|
.idea
|
||||||
|
|
||||||
|
/src/login/i18n/messages_defaultSet/
|
||||||
|
/src/account/i18n/
|
||||||
|
|
||||||
|
# VS Code devcontainers
|
||||||
|
.devcontainer
|
||||||
|
/.yarn
|
||||||
|
/.yarnrc.yml
|
||||||
|
|
||||||
|
/stories/assets/fonts/
|
||||||
|
/build_storybook/
|
||||||
|
/storybook-static/
|
16
.prettierignore
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
node_modules/
|
||||||
|
/dist/
|
||||||
|
/CHANGELOG.md
|
||||||
|
/.yarn_home/
|
||||||
|
/src/test/apps/
|
||||||
|
/src/tools/types/
|
||||||
|
/build_keycloak/
|
||||||
|
/.vscode/
|
||||||
|
/src/login/i18n/messages_defaultSet/
|
||||||
|
/src/account/i18n/messages_defaultSet/
|
||||||
|
/dist_test
|
||||||
|
/sample_react_project/
|
||||||
|
/sample_custom_react_project/
|
||||||
|
/keycloakify_starter_test/
|
||||||
|
/.storybook/static/keycloak-resources/
|
||||||
|
/src/bin/start-keycloak/*.json
|
24
.prettierrc.json
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"printWidth": 90,
|
||||||
|
"tabWidth": 4,
|
||||||
|
"useTabs": false,
|
||||||
|
"semi": true,
|
||||||
|
"singleQuote": false,
|
||||||
|
"trailingComma": "none",
|
||||||
|
"bracketSpacing": true,
|
||||||
|
"arrowParens": "avoid",
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": "*.tsx",
|
||||||
|
"options": {
|
||||||
|
"printWidth": 150
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"files": "useUserProfileForm.tsx",
|
||||||
|
"options": {
|
||||||
|
"printWidth": 150
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
33
.storybook/customTheme.ts
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
const brandImage = "logo.png";
|
||||||
|
const brandTitle = "Keycloakify";
|
||||||
|
const brandUrl = "https://github.com/keycloakify/keycloakify";
|
||||||
|
const fontBase = '"Work Sans", sans-serif';
|
||||||
|
const fontCode = "monospace";
|
||||||
|
|
||||||
|
export const darkTheme = {
|
||||||
|
base: "dark",
|
||||||
|
appBg: "#1E1E1E",
|
||||||
|
appContentBg: "#161616",
|
||||||
|
barBg: "#161616",
|
||||||
|
colorSecondary: "#8585F6",
|
||||||
|
textColor: "#FFFFFF",
|
||||||
|
brandImage,
|
||||||
|
brandTitle,
|
||||||
|
brandUrl,
|
||||||
|
fontBase,
|
||||||
|
fontCode
|
||||||
|
};
|
||||||
|
|
||||||
|
export const lightTheme: typeof darkTheme = {
|
||||||
|
base: "light",
|
||||||
|
appBg: "#F6F6F6",
|
||||||
|
appContentBg: "#FFFFFF",
|
||||||
|
barBg: "#FFFFFF",
|
||||||
|
colorSecondary: "#000091",
|
||||||
|
textColor: "#212121",
|
||||||
|
brandImage,
|
||||||
|
brandTitle,
|
||||||
|
brandUrl,
|
||||||
|
fontBase,
|
||||||
|
fontCode
|
||||||
|
};
|
13
.storybook/main.js
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
module.exports = {
|
||||||
|
stories: [
|
||||||
|
"../stories/**/*.stories.tsx"
|
||||||
|
],
|
||||||
|
addons: [
|
||||||
|
"storybook-dark-mode",
|
||||||
|
"@storybook/addon-a11y"
|
||||||
|
],
|
||||||
|
core: {
|
||||||
|
builder: "webpack5"
|
||||||
|
},
|
||||||
|
staticDirs: ["./static", "../dist/res/public"]
|
||||||
|
};
|
32
.storybook/manager-head.html
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<!-- start favicon -->
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="/favicon_package/apple-touch-icon.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon_package/favicon-32x32.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon_package/favicon-16x16.png">
|
||||||
|
<link rel="manifest" href="/favicon_package/site.webmanifest">
|
||||||
|
<link rel="mask-icon" href="/favicon_package/safari-pinned-tab.svg" color="#5bbad5">
|
||||||
|
<!-- end favicon -->
|
||||||
|
|
||||||
|
<!-- Meta tags generated by metatags.io -->
|
||||||
|
<!-- Primary Meta Tags -->
|
||||||
|
<title>Keycloakify Storybook</title>
|
||||||
|
<meta name="title" content="Keycloakify Storybook">
|
||||||
|
<meta name="description" content="Storybook of default components to use as a reference when building a custom Keycloak theme">
|
||||||
|
|
||||||
|
<!-- Facebook Meta Tags -->
|
||||||
|
<meta property="og:url" content="https://www.keycloakify.dev">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:title" content="Keycloakify Storybook">
|
||||||
|
<meta property="og:description" content="Storybook of default components to use as a reference when building a custom Keycloak theme">
|
||||||
|
<meta property="og:image" content="https://storybook.keycloakify.dev/preview.png">
|
||||||
|
|
||||||
|
<!-- Twitter Meta Tags -->
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:title" content="Keycloakify Storybook">
|
||||||
|
<meta name="twitter:description" content="Storybook of default components to use as a reference when building a custom Keycloak theme">
|
||||||
|
<meta name="twitter:image" content="https://storybook.keycloakify.dev/preview.png">
|
||||||
|
|
||||||
|
<link rel="preload" href="/fonts/WorkSans/worksans-bold-webfont.woff2" as="font" crossorigin="anonymous">
|
||||||
|
<link rel="preload" href="/fonts/WorkSans/worksans-medium-webfont.woff2" as="font" crossorigin="anonymous">
|
||||||
|
<link rel="preload" href="/fonts/WorkSans/worksans-regular-webfont.woff2" as="font" crossorigin="anonymous">
|
||||||
|
<link rel="preload" href="/fonts/WorkSans/worksans-semibold-webfont.woff2" as="font" crossorigin="anonymous">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/fonts/WorkSans/font.css">
|
6
.storybook/manager.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { addons } from '@storybook/addons';
|
||||||
|
|
||||||
|
addons.setConfig({
|
||||||
|
selectedPanel: 'storybook/a11y/panel',
|
||||||
|
showPanel: false
|
||||||
|
});
|
23
.storybook/preview-head.html
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<link rel="preload" href="/fonts/WorkSans/worksans-bold-webfont.woff2" as="font" crossorigin="anonymous">
|
||||||
|
<link rel="preload" href="/fonts/WorkSans/worksans-medium-webfont.woff2" as="font" crossorigin="anonymous">
|
||||||
|
<link rel="preload" href="/fonts/WorkSans/worksans-regular-webfont.woff2" as="font" crossorigin="anonymous">
|
||||||
|
<link rel="preload" href="/fonts/WorkSans/worksans-semibold-webfont.woff2" as="font" crossorigin="anonymous">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/fonts/WorkSans/font.css">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
body.sb-show-main.sb-main-padded {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body:not(.kcBodyClass) {
|
||||||
|
background-color: #393939;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.sb-show-preparing-docs > .sb-wrapper {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
body .sb-preparing-story {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
</style>
|
161
.storybook/preview.js
Normal file
@ -0,0 +1,161 @@
|
|||||||
|
import { darkTheme, lightTheme } from "./customTheme";
|
||||||
|
import { create as createTheme } from "@storybook/theming";
|
||||||
|
|
||||||
|
export const parameters = {
|
||||||
|
actions: { argTypesRegex: "^on[A-Z].*" },
|
||||||
|
controls: {
|
||||||
|
matchers: {
|
||||||
|
color: /(background|color)$/i,
|
||||||
|
date: /Date$/,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
backgrounds: { disable: true },
|
||||||
|
darkMode: {
|
||||||
|
light: createTheme(lightTheme),
|
||||||
|
dark: createTheme(darkTheme),
|
||||||
|
},
|
||||||
|
controls: {
|
||||||
|
disable: true,
|
||||||
|
},
|
||||||
|
actions: {
|
||||||
|
disable: true
|
||||||
|
},
|
||||||
|
viewport: {
|
||||||
|
viewports: {
|
||||||
|
"1440p": {
|
||||||
|
name: "1440p",
|
||||||
|
styles: {
|
||||||
|
width: "2560px",
|
||||||
|
height: "1440px",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
fullHD: {
|
||||||
|
name: "Full HD",
|
||||||
|
styles: {
|
||||||
|
width: "1920px",
|
||||||
|
height: "1080px",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
macBookProBig: {
|
||||||
|
name: "MacBook Pro Big",
|
||||||
|
styles: {
|
||||||
|
width: "1024px",
|
||||||
|
height: "640px",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
macBookProMedium: {
|
||||||
|
name: "MacBook Pro Medium",
|
||||||
|
styles: {
|
||||||
|
width: "1440px",
|
||||||
|
height: "900px",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
macBookProSmall: {
|
||||||
|
name: "MacBook Pro Small",
|
||||||
|
styles: {
|
||||||
|
width: "1680px",
|
||||||
|
height: "1050px",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
pcAgent: {
|
||||||
|
name: "PC Agent",
|
||||||
|
styles: {
|
||||||
|
width: "960px",
|
||||||
|
height: "540px",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
iphone12Pro: {
|
||||||
|
name: "Iphone 12 pro",
|
||||||
|
styles: {
|
||||||
|
width: "390px",
|
||||||
|
height: "844px",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
iphone5se: {
|
||||||
|
name: "Iphone 5/SE",
|
||||||
|
styles: {
|
||||||
|
width: "320px",
|
||||||
|
height: "568px",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
ipadPro: {
|
||||||
|
name: "Ipad pro",
|
||||||
|
styles: {
|
||||||
|
width: "1240px",
|
||||||
|
height: "1366px",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"Galaxy s9+": {
|
||||||
|
name: "Galaxy S9+",
|
||||||
|
styles: {
|
||||||
|
width: "320px",
|
||||||
|
height: "658px",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
options: {
|
||||||
|
storySort: (a, b) =>
|
||||||
|
getHardCodedWeight(b[1].kind) - getHardCodedWeight(a[1].kind),
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
const { getHardCodedWeight } = (() => {
|
||||||
|
|
||||||
|
const orderedPagesPrefix = [
|
||||||
|
"Introduction",
|
||||||
|
"login/login.ftl",
|
||||||
|
"login/register.ftl",
|
||||||
|
"login/terms.ftl",
|
||||||
|
"login/error.ftl",
|
||||||
|
"login/code.ftl",
|
||||||
|
"login/delete-account-confirm.ftl",
|
||||||
|
"login/delete-credential.ftl",
|
||||||
|
"login/frontchannel-logout.ftl",
|
||||||
|
"login/idp-review-user-profile.ftl",
|
||||||
|
"login/info.ftl",
|
||||||
|
"login/login-config-totp.ftl",
|
||||||
|
"login/login-idp-link-confirm.ftl",
|
||||||
|
"login/login-idp-link-email.ftl",
|
||||||
|
"login/login-oauth-grant.ftl",
|
||||||
|
"login/login-otp.ftl",
|
||||||
|
"login/login-page-expired.ftl",
|
||||||
|
"login/login-password.ftl",
|
||||||
|
"login/login-reset-otp.ftl",
|
||||||
|
"login/login-reset-password.ftl",
|
||||||
|
"login/login-update-password.ftl",
|
||||||
|
"login/login-update-profile.ftl",
|
||||||
|
"login/login-username.ftl",
|
||||||
|
"login/login-verify-email.ftl",
|
||||||
|
"login/login-x509-info.ftl",
|
||||||
|
"login/logout-confirm.ftl",
|
||||||
|
"login/saml-post-form.ftl",
|
||||||
|
"login/select-authenticator.ftl",
|
||||||
|
"login/update-email.ftl",
|
||||||
|
"login/webauthn-authenticate.ftl",
|
||||||
|
"login/webauthn-error.ftl",
|
||||||
|
"login/webauthn-register.ftl",
|
||||||
|
"login/login-oauth2-device-verify-user-code.ftl",
|
||||||
|
"login/login-recovery-authn-code-config.ftl",
|
||||||
|
"login/login-recovery-authn-code-input.ftl",
|
||||||
|
"account/account.ftl",
|
||||||
|
"account/password.ftl",
|
||||||
|
"account/federatedIdentity.ftl",
|
||||||
|
"account/log.ftl",
|
||||||
|
"account/sessions.ftl",
|
||||||
|
"account/totp.ftl",
|
||||||
|
];
|
||||||
|
|
||||||
|
function getHardCodedWeight(kind) {
|
||||||
|
|
||||||
|
for (let i = 0; i < orderedPagesPrefix.length; i++) {
|
||||||
|
if (kind.toLowerCase().startsWith(orderedPagesPrefix[i].toLowerCase())) {
|
||||||
|
return orderedPagesPrefix.length - i;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
return { getHardCodedWeight };
|
||||||
|
})();
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
@ -1 +0,0 @@
|
|||||||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[2837],{"./dist/account/pages/Log.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>Log});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-string.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_account_lib_kcClsx__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./dist/account/lib/kcClsx.js");function Log(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,classes=props.classes,Template=props.Template,kcClsx=(0,_account_lib_kcClsx__WEBPACK_IMPORTED_MODULE_4__.$)({doUseDefaultCss,classes}).kcClsx,log=kcContext.log,msg=i18n.msg;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(Template,Object.assign({},{kcContext,i18n,doUseDefaultCss,classes},{active:"log"},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div",Object.assign({className:kcClsx("kcContentWrapperClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div",Object.assign({className:"col-md-10"},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("h2",{children:msg("accountLogHtmlTitle")})})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("table",Object.assign({className:"table table-striped table-bordered"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("td",{children:msg("date")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("td",{children:msg("event")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("td",{children:msg("ip")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("td",{children:msg("client")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("td",{children:msg("details")})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("tbody",{children:log.events.map((function(event,index){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("td",{children:event.date?new Date(event.date).toLocaleString():""}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("td",{children:event.event}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("td",{children:event.ipAddress}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("td",{children:event.client||""}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("td",{children:event.details.map((function(detail,detailIndex){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("span",{children:[detail.key+" = "+detail.value,detailIndex<event.details.length-1&&", "]},detailIndex)}))})]},index)}))})]}))]}))}))}}}]);
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[2867],{"./dist/login/pages/FrontchannelLogout.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>FrontchannelLogout});__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/jsx-runtime.js"),react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/react/index.js");function FrontchannelLogout(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,logout=kcContext.logout,msg=i18n.msg,msgStr=i18n.msgStr;return(0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)((function(){logout.logoutRedirectUri&&window.location.replace(logout.logoutRedirectUri)}),[]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,documentTitle:msgStr("frontchannel-logout.title"),headerNode:msg("frontchannel-logout.title")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("p",{children:msg("frontchannel-logout.message")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("ul",{children:logout.clients.map((function(client){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("li",{children:[client.name,(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("iframe",{src:client.frontChannelLogoutUrl,style:{display:"none"}})]},client.name)}))}),logout.logoutRedirectUri&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("a",Object.assign({id:"continue",className:"btn btn-primary",href:logout.logoutRedirectUri},{children:msg("doContinue")}))]}))}}}]);
|
|
@ -1,12 +0,0 @@
|
|||||||
/*!
|
|
||||||
* OverlayScrollbars
|
|
||||||
* https://github.com/KingSora/OverlayScrollbars
|
|
||||||
*
|
|
||||||
* Version: 1.13.0
|
|
||||||
*
|
|
||||||
* Copyright KingSora | Rene Haas.
|
|
||||||
* https://github.com/KingSora
|
|
||||||
*
|
|
||||||
* Released under the MIT license.
|
|
||||||
* Date: 02.08.2020
|
|
||||||
*/
|
|
@ -1 +0,0 @@
|
|||||||
(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[295],{19295:module=>{module.exports=function(e,n){return n=n||{},new Promise((function(t,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var l in s.open(n.method||"get",e,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,n,t){o.push(n=n.toLowerCase()),u.push([n,t]),i[n]=i[n]?i[n]+","+t:t})),t(a())},s.onerror=r,s.withCredentials="include"==n.credentials,n.headers)s.setRequestHeader(l,n.headers[l]);s.send(n.body||null)}))}}}]);
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[3148],{"./dist/login/pages/Info.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>Info});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_lib_kcSanitize__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./dist/lib/kcSanitize/index.js");function Info(props){var _a,html,kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,advancedMsgStr=i18n.advancedMsgStr,msg=i18n.msg,messageHeader=kcContext.messageHeader,message=kcContext.message,requiredActions=kcContext.requiredActions,skipLink=kcContext.skipLink,pageRedirectUri=kcContext.pageRedirectUri,actionUri=kcContext.actionUri,client=kcContext.client;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,displayMessage:!1,headerNode:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,_lib_kcSanitize__WEBPACK_IMPORTED_MODULE_5__.p)(null!=messageHeader?messageHeader:message.summary)}})},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div",Object.assign({id:"kc-info-message"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("p",{className:"instruction",dangerouslySetInnerHTML:{__html:(0,_lib_kcSanitize__WEBPACK_IMPORTED_MODULE_5__.p)((html=null===(_a=message.summary)||void 0===_a?void 0:_a.trim(),requiredActions&&(html+=" <b>",html+=requiredActions.map((function(requiredAction){return advancedMsgStr("requiredAction."+requiredAction)})).join(", "),html+="</b>"),html))}}),skipLink?null:pageRedirectUri?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("a",Object.assign({href:pageRedirectUri},{children:msg("backToApplication")}))}):actionUri?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("a",Object.assign({href:actionUri},{children:msg("proceedWithAction")}))}):client.baseUrl?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("a",Object.assign({href:client.baseUrl},{children:msg("backToApplication")}))}):void 0]}))}))}}}]);
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[317],{"./dist/login/pages/DeleteCredential.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>DeleteCredential});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./dist/login/lib/kcClsx.js");function DeleteCredential(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,msgStr=i18n.msgStr,msg=i18n.msg,kcClsx=(0,_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__.$)({doUseDefaultCss,classes}).kcClsx,url=kcContext.url,credentialLabel=kcContext.credentialLabel;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,displayMessage:!1,headerNode:msg("deleteCredentialTitle",credentialLabel)},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({id:"kc-delete-text"},{children:msg("deleteCredentialMessage",credentialLabel)})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("form",Object.assign({className:"form-actions",action:url.loginAction,method:"POST"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{className:kcClsx("kcButtonClass","kcButtonPrimaryClass","kcButtonLargeClass"),name:"accept",id:"kc-accept",type:"submit",value:msgStr("doConfirmDelete")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{className:kcClsx("kcButtonClass","kcButtonDefaultClass","kcButtonLargeClass"),name:"cancel-aia",value:msgStr("doCancel"),id:"kc-decline",type:"submit"})]})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:"clearfix"})]}))}}}]);
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[3284],{"./dist/login/pages/LogoutConfirm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>LogoutConfirm});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./dist/login/lib/kcClsx.js");function LogoutConfirm(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,kcClsx=(0,_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__.$)({doUseDefaultCss,classes}).kcClsx,url=kcContext.url,client=kcContext.client,logoutConfirm=kcContext.logoutConfirm,msg=i18n.msg,msgStr=i18n.msgStr;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,headerNode:msg("logoutConfirmTitle")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",Object.assign({id:"kc-logout-confirm",className:"content-area"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",Object.assign({className:"instruction"},{children:msg("logoutConfirmHeader")})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("form",Object.assign({className:"form-actions",action:url.logoutConfirmAction,method:"POST"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{type:"hidden",name:"session_code",value:logoutConfirm.code}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",Object.assign({className:kcClsx("kcFormGroupClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({id:"kc-form-options"},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:kcClsx("kcFormOptionsWrapperClass")})})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({id:"kc-form-buttons",className:kcClsx("kcFormGroupClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{tabIndex:4,className:kcClsx("kcButtonClass","kcButtonPrimaryClass","kcButtonBlockClass","kcButtonLargeClass"),name:"confirmLogout",id:"kc-logout",type:"submit",value:msgStr("doLogout")})}))]}))]})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({id:"kc-info-message"},{children:!logoutConfirm.skipLink&&client.baseUrl&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a",Object.assign({href:client.baseUrl},{children:msg("backToApplication")}))})}))]}))}))}}}]);
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[3612],{"./dist/login/pages/SelectAuthenticator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>SelectAuthenticator});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./dist/login/lib/kcClsx.js");function SelectAuthenticator(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,url=kcContext.url,auth=kcContext.auth,kcClsx=(0,_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_3__.$)({doUseDefaultCss,classes}).kcClsx,msg=i18n.msg,advancedMsg=i18n.advancedMsg;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,displayInfo:!1,headerNode:msg("loginChooseAuthenticator")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("form",Object.assign({id:"kc-select-credential-form",className:kcClsx("kcFormClass"),action:url.loginAction,method:"post"},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",Object.assign({className:kcClsx("kcSelectAuthListClass")},{children:auth.authenticationSelections.map((function(authenticationSelection,i){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("button",Object.assign({className:kcClsx("kcSelectAuthListItemClass"),type:"submit",name:"authenticationExecution",value:authenticationSelection.authExecId},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",Object.assign({className:kcClsx("kcSelectAuthListItemIconClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("i",{className:kcClsx("kcSelectAuthListItemIconPropertyClass",authenticationSelection.iconCssClass)})})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",Object.assign({className:kcClsx("kcSelectAuthListItemBodyClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",Object.assign({className:kcClsx("kcSelectAuthListItemHeadingClass")},{children:advancedMsg(authenticationSelection.displayName)})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",Object.assign({className:kcClsx("kcSelectAuthListItemDescriptionClass")},{children:advancedMsg(authenticationSelection.helpText)}))]})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:kcClsx("kcSelectAuthListItemFillClass")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",Object.assign({className:kcClsx("kcSelectAuthListItemArrowClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("i",{className:kcClsx("kcSelectAuthListItemArrowIconClass")})}))]}),i)}))}))}))}))}}}]);
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[3744],{"./dist/login/pages/LoginVerifyEmail.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>LoginVerifyEmail});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js");function LoginVerifyEmail(props){var _a,kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,msg=i18n.msg,url=kcContext.url,user=kcContext.user;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,displayInfo:!0,headerNode:msg("emailVerifyTitle"),infoNode:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",Object.assign({className:"instruction"},{children:[msg("emailVerifyInstruction2"),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a",Object.assign({href:url.loginAction},{children:msg("doClickHere")}))," ",msg("emailVerifyInstruction3")]}))},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",Object.assign({className:"instruction"},{children:msg("emailVerifyInstruction1",null!==(_a=null==user?void 0:user.email)&&void 0!==_a?_a:"")}))}))}}}]);
|
|
@ -1 +0,0 @@
|
|||||||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[4174],{"./dist/login/pages/LoginIdpLinkConfirm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>LoginIdpLinkConfirm});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./dist/login/lib/kcClsx.js");function LoginIdpLinkConfirm(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,kcClsx=(0,_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__.$)({doUseDefaultCss,classes}).kcClsx,url=kcContext.url,idpAlias=kcContext.idpAlias,msg=i18n.msg;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,headerNode:msg("confirmLinkIdpTitle")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("form",Object.assign({id:"kc-register-form",action:url.loginAction,method:"post"},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",Object.assign({className:kcClsx("kcFormGroupClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button",Object.assign({type:"submit",className:kcClsx("kcButtonClass","kcButtonDefaultClass","kcButtonBlockClass","kcButtonLargeClass"),name:"submitAction",id:"updateProfile",value:"updateProfile"},{children:msg("confirmLinkIdpReviewProfile")})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button",Object.assign({type:"submit",className:kcClsx("kcButtonClass","kcButtonDefaultClass","kcButtonBlockClass","kcButtonLargeClass"),name:"submitAction",id:"linkAccount",value:"linkAccount"},{children:msg("confirmLinkIdpContinue",idpAlias)}))]}))}))}))}}}]);
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[4734],{"./dist/login/pages/LoginOauth2DeviceVerifyUserCode.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>LoginOauth2DeviceVerifyUserCode});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./dist/login/lib/kcClsx.js");function LoginOauth2DeviceVerifyUserCode(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,classes=props.classes,Template=props.Template,url=kcContext.url,msg=i18n.msg,msgStr=i18n.msgStr,kcClsx=(0,_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__.$)({doUseDefaultCss,classes}).kcClsx;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,headerNode:msg("oauth2DeviceVerificationTitle")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("form",Object.assign({id:"kc-user-verify-device-user-code-form",className:kcClsx("kcFormClass"),action:url.oauth2DeviceVerificationAction,method:"post"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",Object.assign({className:kcClsx("kcFormGroupClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({className:kcClsx("kcLabelWrapperClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("label",Object.assign({htmlFor:"device-user-code",className:kcClsx("kcLabelClass")},{children:msg("verifyOAuth2DeviceUserCode")}))})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({className:kcClsx("kcInputWrapperClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{id:"device-user-code",name:"device_user_code",autoComplete:"off",type:"text",className:kcClsx("kcInputClass"),autoFocus:!0})}))]})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",Object.assign({className:kcClsx("kcFormGroupClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({id:"kc-form-options",className:kcClsx("kcFormOptionsClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:kcClsx("kcFormOptionsWrapperClass")})})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({id:"kc-form-buttons",className:kcClsx("kcFormButtonsClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({className:kcClsx("kcFormButtonsWrapperClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{className:kcClsx("kcButtonClass","kcButtonPrimaryClass","kcButtonLargeClass"),type:"submit",value:msgStr("doSubmit")})}))}))]}))]}))}))}}}]);
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[4940],{"./dist/login/pages/DeleteAccountConfirm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>DeleteAccountConfirm});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./dist/login/lib/kcClsx.js");function DeleteAccountConfirm(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,kcClsx=(0,_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__.$)({doUseDefaultCss,classes}).kcClsx,url=kcContext.url,triggered_from_aia=kcContext.triggered_from_aia,msg=i18n.msg,msgStr=i18n.msgStr;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,headerNode:msg("deleteAccountConfirm")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("form",Object.assign({action:url.loginAction,className:"form-vertical",method:"post"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",Object.assign({className:"alert alert-warning",style:{marginTop:"0",marginBottom:"30px"}},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span",{className:"pficon pficon-warning-triangle-o"}),msg("irreversibleAction")]})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:msg("deletingImplies")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("ul",Object.assign({style:{color:"#72767b",listStyle:"disc",listStylePosition:"inside"}},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("li",{children:msg("loggingOutImmediately")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("li",{children:msg("errasingData")})]})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",Object.assign({className:"delete-account-text"},{children:msg("finalDeletionConfirmation")})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",Object.assign({id:"kc-form-buttons"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{className:kcClsx("kcButtonClass","kcButtonPrimaryClass","kcButtonLargeClass"),type:"submit",value:msgStr("doConfirmDelete")}),triggered_from_aia&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button",Object.assign({className:kcClsx("kcButtonClass","kcButtonDefaultClass","kcButtonLargeClass"),style:{marginLeft:"calc(100% - 220px)"},type:"submit",name:"cancel-aia",value:"true"},{children:msgStr("doCancel")}))]}))]}))}))}}}]);
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[5013],{"./dist/login/pages/Error.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>Error});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_lib_kcSanitize__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./dist/lib/kcSanitize/index.js");function Error(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,message=kcContext.message,client=kcContext.client,skipLink=kcContext.skipLink,msg=i18n.msg;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,displayMessage:!1,headerNode:msg("errorTitle")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",Object.assign({id:"kc-error-message"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{className:"instruction",dangerouslySetInnerHTML:{__html:(0,_lib_kcSanitize__WEBPACK_IMPORTED_MODULE_2__.p)(message.summary)}}),!skipLink&&void 0!==client&&void 0!==client.baseUrl&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a",Object.assign({id:"backToApplication",href:client.baseUrl},{children:msg("backToApplication")}))})]}))}))}}}]);
|
|
@ -1,8 +0,0 @@
|
|||||||
/**
|
|
||||||
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
||||||
*
|
|
||||||
* @license MIT <https://opensource.org/licenses/MIT>
|
|
||||||
* @author Lea Verou <https://lea.verou.me>
|
|
||||||
* @namespace
|
|
||||||
* @public
|
|
||||||
*/
|
|
@ -1,8 +0,0 @@
|
|||||||
/**
|
|
||||||
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
||||||
*
|
|
||||||
* @license MIT <https://opensource.org/licenses/MIT>
|
|
||||||
* @author Lea Verou <https://lea.verou.me>
|
|
||||||
* @namespace
|
|
||||||
* @public
|
|
||||||
*/
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[5460],{"./dist/login/pages/LoginRecoveryAuthnCodeInput.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>LoginRecoveryAuthnCodeInput});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./dist/login/lib/kcClsx.js"),_lib_kcSanitize__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./dist/lib/kcSanitize/index.js");function LoginRecoveryAuthnCodeInput(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,kcClsx=(0,_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_2__.$)({doUseDefaultCss,classes}).kcClsx,url=kcContext.url,messagesPerField=kcContext.messagesPerField,recoveryAuthnCodesInputBean=kcContext.recoveryAuthnCodesInputBean,msg=i18n.msg,msgStr=i18n.msgStr;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,headerNode:msg("auth-recovery-code-header"),displayMessage:!messagesPerField.existsError("recoveryCodeInput")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("form",Object.assign({id:"kc-recovery-code-login-form",className:kcClsx("kcFormClass"),action:url.loginAction,method:"post"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",Object.assign({className:kcClsx("kcFormGroupClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({className:kcClsx("kcLabelWrapperClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("label",Object.assign({htmlFor:"recoveryCodeInput",className:kcClsx("kcLabelClass")},{children:msg("auth-recovery-code-prompt",""+recoveryAuthnCodesInputBean.codeNumber)}))})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",Object.assign({className:kcClsx("kcInputWrapperClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{tabIndex:1,id:"recoveryCodeInput",name:"recoveryCodeInput","aria-invalid":messagesPerField.existsError("recoveryCodeInput"),autoComplete:"off",type:"text",className:kcClsx("kcInputClass"),autoFocus:!0}),messagesPerField.existsError("recoveryCodeInput")&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span",{id:"input-error",className:kcClsx("kcInputErrorMessageClass"),"aria-live":"polite",dangerouslySetInnerHTML:{__html:(0,_lib_kcSanitize__WEBPACK_IMPORTED_MODULE_3__.p)(messagesPerField.get("recoveryCodeInput"))}})]}))]})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",Object.assign({className:kcClsx("kcFormGroupClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({id:"kc-form-options",className:kcClsx("kcFormOptionsWrapperClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:kcClsx("kcFormOptionsWrapperClass")})})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",Object.assign({id:"kc-form-buttons",className:kcClsx("kcFormButtonsClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{className:kcClsx("kcButtonClass","kcButtonPrimaryClass","kcButtonBlockClass","kcButtonLargeClass"),name:"login",id:"kc-login",type:"submit",value:msgStr("doLogIn")})}))]}))]}))}))}}}]);
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[5550],{"./dist/login/pages/LoginResetOtp.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>LoginResetOtp});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js"),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/index.js"),_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./dist/login/lib/kcClsx.js");function LoginResetOtp(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,kcClsx=(0,_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_4__.$)({doUseDefaultCss,classes}).kcClsx,url=kcContext.url,messagesPerField=kcContext.messagesPerField,configuredOtpCredentials=kcContext.configuredOtpCredentials,msg=i18n.msg,msgStr=i18n.msgStr;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,displayMessage:!messagesPerField.existsError("totp"),headerNode:msg("doLogIn")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("form",Object.assign({id:"kc-otp-reset-form",className:kcClsx("kcFormClass"),action:url.loginAction,method:"post"},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",Object.assign({className:kcClsx("kcInputWrapperClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",Object.assign({className:kcClsx("kcInfoAreaWrapperClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("p",Object.assign({id:"kc-otp-reset-form-description"},{children:msg("otp-reset-description")})),configuredOtpCredentials.userOtpCredentials.map((function(otpCredential,index){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react__WEBPACK_IMPORTED_MODULE_3__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("input",{id:"kc-otp-credential-"+index,className:kcClsx("kcLoginOTPListInputClass"),type:"radio",name:"selectedCredentialId",value:otpCredential.id,defaultChecked:otpCredential.id===configuredOtpCredentials.selectedCredentialId}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("label",Object.assign({htmlFor:"kc-otp-credential-"+index,className:kcClsx("kcLoginOTPListClass"),tabIndex:index},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("span",Object.assign({className:kcClsx("kcLoginOTPListItemHeaderClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("span",Object.assign({className:kcClsx("kcLoginOTPListItemIconBodyClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("i",{className:kcClsx("kcLoginOTPListItemIconClass"),"aria-hidden":"true"})})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("span",Object.assign({className:kcClsx("kcLoginOTPListItemTitleClass")},{children:otpCredential.userLabel}))]}))}))]},otpCredential.id)})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",Object.assign({className:kcClsx("kcFormGroupClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",Object.assign({id:"kc-form-buttons",className:kcClsx("kcFormButtonsClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("input",{id:"kc-otp-reset-form-submit",className:kcClsx("kcButtonClass","kcButtonPrimaryClass","kcButtonBlockClass","kcButtonLargeClass"),type:"submit",value:msgStr("doSubmit")})}))}))]}))}))}))}))}}}]);
|
|
@ -1,97 +0,0 @@
|
|||||||
/*
|
|
||||||
object-assign
|
|
||||||
(c) Sindre Sorhus
|
|
||||||
@license MIT
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* Fuse.js v3.6.1 - Lightweight fuzzy-search (http://fusejs.io)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me)
|
|
||||||
* All Rights Reserved. Apache Software License 2.0
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* https://github.com/es-shims/es5-shim
|
|
||||||
* @license es5-shim Copyright 2009-2020 by contributors, MIT License
|
|
||||||
* see https://github.com/es-shims/es5-shim/blob/master/LICENSE
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* isobject <https://github.com/jonschlinkert/isobject>
|
|
||||||
*
|
|
||||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
||||||
* Released under the MIT License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation.
|
|
||||||
|
|
||||||
Permission to use, copy, modify, and/or distribute this software for any
|
|
||||||
purpose with or without fee is hereby granted.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
||||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
||||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
||||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
||||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
||||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
||||||
PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
/*! store2 - v2.13.1 - 2021-12-20
|
|
||||||
* Copyright (c) 2021 Nathan Bubna; Licensed (MIT OR GPL-3.0) */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license React
|
|
||||||
* react-dom.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license React
|
|
||||||
* react.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license React
|
|
||||||
* scheduler.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* React Router DOM v6.0.2
|
|
||||||
*
|
|
||||||
* Copyright (c) Remix Software Inc.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE.md file in the root directory of this source tree.
|
|
||||||
*
|
|
||||||
* @license MIT
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* React Router v6.0.2
|
|
||||||
*
|
|
||||||
* Copyright (c) Remix Software Inc.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE.md file in the root directory of this source tree.
|
|
||||||
*
|
|
||||||
* @license MIT
|
|
||||||
*/
|
|
@ -1 +0,0 @@
|
|||||||
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[5965],{"./dist/login/pages/IdpReviewUserProfile.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>IdpReviewUserProfile});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.is-array.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/react/jsx-runtime.js"),react__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/react/index.js"),_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./dist/login/lib/kcClsx.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_x,_r,_arr=[],_n=!0,_d=!1;try{if(_x=(_i=_i.call(arr)).next,0===i){if(Object(_i)!==_i)return;_n=!1}else for(;!(_n=(_s=_x.call(_i)).done)&&(_arr.push(_s.value),_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i.return&&(_r=_i.return(),Object(_r)!==_r))return}finally{if(_d)throw _e}}return _arr}}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function IdpReviewUserProfile(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,UserProfileFormFields=props.UserProfileFormFields,doMakeUserConfirmPassword=props.doMakeUserConfirmPassword,kcClsx=(0,_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_14__.$)({doUseDefaultCss,classes}).kcClsx,msg=i18n.msg,msgStr=i18n.msgStr,url=kcContext.url,messagesPerField=kcContext.messagesPerField,_useState2=_slicedToArray((0,react__WEBPACK_IMPORTED_MODULE_13__.useState)(!1),2),isFomSubmittable=_useState2[0],setIsFomSubmittable=_useState2[1];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,displayMessage:messagesPerField.exists("global"),displayRequiredFields:!0,headerNode:msg("loginIdpReviewProfileTitle")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("form",Object.assign({id:"kc-idp-review-profile-form",className:kcClsx("kcFormClass"),action:url.loginAction,method:"post"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(UserProfileFormFields,{kcContext,i18n,onIsFormSubmittableValueChange:setIsFomSubmittable,kcClsx,doMakeUserConfirmPassword}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("div",Object.assign({className:kcClsx("kcFormGroupClass")},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div",Object.assign({id:"kc-form-options",className:kcClsx("kcFormOptionsClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div",{className:kcClsx("kcFormOptionsWrapperClass")})})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div",Object.assign({id:"kc-form-buttons",className:kcClsx("kcFormButtonsClass")},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("input",{className:kcClsx("kcButtonClass","kcButtonPrimaryClass","kcButtonBlockClass","kcButtonLargeClass"),type:"submit",value:msgStr("doSubmit"),disabled:!isFomSubmittable})}))]}))]}))}))}}}]);
|
|