diff --git a/.github/renovate.json b/.github/renovate.json index df3d3d21ff4a..7d602be924f7 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -85,8 +85,7 @@ "devexpress-gantt", "devexpress-diagram", "rrule", - "sass-embedded", - "systemjs" + "sass-embedded" ], "enabled": false }, diff --git a/.github/workflows/publish-demos.yml b/.github/workflows/publish-demos.yml index 484f55024eee..a8ad68d8d561 100644 --- a/.github/workflows/publish-demos.yml +++ b/.github/workflows/publish-demos.yml @@ -150,10 +150,6 @@ jobs: working-directory: apps/demos run: pnpm add ../../devextreme-installer.tgz ../../devextreme-dist-installer.tgz ../../devextreme-react-installer.tgz ../../devextreme-vue-installer.tgz ../../devextreme-angular-installer.tgz - - name: Prepare configs - working-directory: apps/demos - run: pnpm run prepare-js - - name: Copy metadata working-directory: apps/demos run: pnpm run make-demos-bundle --copy-metadata @@ -249,10 +245,6 @@ jobs: working-directory: apps/demos run: pnpm add ../../devextreme-installer.tgz ../../devextreme-dist-installer.tgz ../../devextreme-react-installer.tgz ../../devextreme-vue-installer.tgz ../../devextreme-angular-installer.tgz - - name: Prepare configs - working-directory: apps/demos - run: pnpm run prepare-js - - name: Copy metadata working-directory: apps/demos run: pnpm run make-demos-bundle --copy-metadata diff --git a/.github/workflows/visual-tests-demos.yml b/.github/workflows/visual-tests-demos.yml index 97297cd1c895..b5968b51adb4 100644 --- a/.github/workflows/visual-tests-demos.yml +++ b/.github/workflows/visual-tests-demos.yml @@ -272,20 +272,90 @@ jobs: devextreme-react-installer.tgz devextreme-vue-installer.tgz retention-days: 1 + build-vendor-bundles: + name: Build vendor bundles (React, Vue) + runs-on: devextreme-shr2 + timeout-minutes: 15 + needs: [check-should-run, determine-framework-tests-scope, build-devextreme] + if: | + !cancelled() && + needs.check-should-run.outputs.should-run == 'true' && + needs.determine-framework-tests-scope.result == 'success' && + needs.determine-framework-tests-scope.outputs.framework-tests-scope != 'none' && + needs.build-devextreme.result == 'success' + env: + NODE_OPTIONS: --max-old-space-size=8192 + steps: + - name: Get sources + uses: actions/checkout@v6 + + - name: Use Node.js + uses: actions/setup-node@v6 + with: + node-version-file: '.node-version' + + - name: Download devextreme sources + uses: actions/download-artifact@v8 + with: + name: devextreme-sources + + - uses: pnpm/action-setup@v6 + with: + run_install: false + + - name: Get pnpm store directory + shell: bash + run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV + + - uses: actions/cache/restore@v5 + name: Restore pnpm cache + with: + path: ${{ env.STORE_PATH }} + key: ${{ runner.os }}-pnpm-cache-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-cache + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Install tgz + working-directory: apps/demos + run: pnpm add --ignore-workspace --allow-build=core-js --allow-build=inferno devextreme-aspnet-data@5.1.0 devextreme-aspnet-data-nojquery@5.1.0 ../../devextreme-installer.tgz ../../devextreme-dist-installer.tgz ../../devextreme-react-installer.tgz ../../devextreme-vue-installer.tgz ../../devextreme-angular-installer.tgz && rm -f pnpm-workspace.yaml pnpm-lock.yaml + + - name: Build vendor bundles + working-directory: apps/demos + run: node utils/server/build-vendor-bundles.js + + - name: Copy vendor bundles + uses: actions/upload-artifact@v7 + with: + name: devextreme-vendor-bundles + path: apps/demos/bundles/vendor + retention-days: 1 build-demos: + name: ${{ matrix.SHARD_TOTAL == 1 && format('Build demos ({0})', matrix.FRAMEWORK) || format('Build demos ({0} {1}/{2})', matrix.FRAMEWORK, matrix.SHARD_INDEX, matrix.SHARD_TOTAL) }} runs-on: devextreme-shr2 - name: Build Demos Bundles timeout-minutes: 30 - needs: [check-should-run, determine-framework-tests-scope, build-devextreme] + needs: [check-should-run, determine-framework-tests-scope, build-devextreme, build-vendor-bundles] if: | !cancelled() && needs.check-should-run.outputs.should-run == 'true' && needs.determine-framework-tests-scope.result == 'success' && needs.determine-framework-tests-scope.outputs.framework-tests-scope != 'none' && - needs.build-devextreme.result == 'success' + needs.build-devextreme.result == 'success' && + needs.build-vendor-bundles.result == 'success' env: NODE_OPTIONS: --max-old-space-size=8192 + strategy: + fail-fast: false + matrix: + include: + - { FRAMEWORK: React, SHARD_INDEX: 1, SHARD_TOTAL: 1 } + - { FRAMEWORK: Vue, SHARD_INDEX: 1, SHARD_TOTAL: 1 } + - { FRAMEWORK: Angular, SHARD_INDEX: 1, SHARD_TOTAL: 3 } + - { FRAMEWORK: Angular, SHARD_INDEX: 2, SHARD_TOTAL: 3 } + - { FRAMEWORK: Angular, SHARD_INDEX: 3, SHARD_TOTAL: 3 } steps: - name: Get sources @@ -331,20 +401,38 @@ jobs: # - name: Link wrappers packages # run: pnpm install --frozen-lockfile - - name: Prepare bundles + # No-op for Angular (no manifest — see build-vendor-bundles). + - name: Download vendor bundles + uses: actions/download-artifact@v8 + with: + name: devextreme-vendor-bundles + path: apps/demos/bundles/vendor + + - name: Build demo bundles working-directory: apps/demos - run: pnpm exec nx prepare-bundles + env: + CSP_SHARD_INDEX: ${{ matrix.SHARD_INDEX }} + CSP_SHARD_TOTAL: ${{ matrix.SHARD_TOTAL }} + run: node utils/server/csp-bundle.js --framework=${{ matrix.FRAMEWORK }} - name: Demos - Run tsc + if: matrix.FRAMEWORK == 'React' && matrix.SHARD_INDEX == 1 # global check, only needs to run once working-directory: apps/demos run: pnpm exec tsc --noEmit + # Packed into one tarball — a glob path would lose the Demos/ prefix on extract. + - name: Pack demo bundles + working-directory: apps/demos + run: | + find Demos \( -name 'bundle.js' -o -name 'bundle.css' -o -path '*/_chunks/*.js' -o -path '*/media/*' \) -print0 \ + | tar -czf demo-bundles.tgz --null --files-from - + tar -tzf demo-bundles.tgz | head -3 + - name: Copy build artifacts uses: actions/upload-artifact@v7 with: - name: devextreme-bundles - path: | - apps/demos/bundles/ + name: devextreme-bundles-${{ matrix.FRAMEWORK }}${{ matrix.SHARD_TOTAL != 1 && format('-shard{0}', matrix.SHARD_INDEX) || '' }} + path: apps/demos/demo-bundles.tgz retention-days: 1 lint: @@ -579,11 +667,6 @@ jobs: working-directory: apps/demos run: pnpm add --ignore-workspace --allow-build=core-js --allow-build=inferno devextreme-aspnet-data@5.1.0 devextreme-aspnet-data-nojquery@5.1.0 ../../devextreme-installer.tgz ../../devextreme-dist-installer.tgz ../../devextreme-react-installer.tgz ../../devextreme-vue-installer.tgz ../../devextreme-angular-installer.tgz && rm -f pnpm-workspace.yaml pnpm-lock.yaml - - name: Prepare JS - if: steps.changed-react-demos.outputs.has-react-demos == 'true' - working-directory: apps/demos - run: pnpm run prepare-js - - name: Check generated JS demos if: steps.changed-react-demos.outputs.has-react-demos == 'true' working-directory: apps/demos @@ -651,10 +734,6 @@ jobs: working-directory: apps/demos run: pnpm add --ignore-workspace --allow-build=core-js --allow-build=inferno devextreme-aspnet-data@5.1.0 devextreme-aspnet-data-nojquery@5.1.0 ../../devextreme-installer.tgz ../../devextreme-dist-installer.tgz ../../devextreme-react-installer.tgz ../../devextreme-vue-installer.tgz ../../devextreme-angular-installer.tgz && rm -f pnpm-workspace.yaml pnpm-lock.yaml - - name: Prepare JS - working-directory: apps/demos - run: pnpm run prepare-js - - name: Check generated JS demos working-directory: apps/demos run: | @@ -830,7 +909,7 @@ jobs: if-no-files-found: ignore testcafe-frameworks-all: - needs: [check-should-run, determine-framework-tests-scope, build-demos] + needs: [check-should-run, determine-framework-tests-scope, build-demos, build-vendor-bundles] if: | !cancelled() && needs.check-should-run.outputs.should-run == 'true' && @@ -909,22 +988,62 @@ jobs: working-directory: apps/demos run: pnpm add --ignore-workspace --allow-build=core-js --allow-build=inferno devextreme-aspnet-data@5.1.0 devextreme-aspnet-data-nojquery@5.1.0 ../../devextreme-installer.tgz ../../devextreme-dist-installer.tgz ../../devextreme-react-installer.tgz ../../devextreme-vue-installer.tgz ../../devextreme-angular-installer.tgz && rm -f pnpm-workspace.yaml pnpm-lock.yaml - - name: Prepare JS - working-directory: apps/demos - run: pnpm run prepare-js + - name: Download demo bundles (React) + if: startsWith(matrix.CONSTEL, 'react') + uses: actions/download-artifact@v8 + with: + name: devextreme-bundles-React + path: apps/demos/.demo-bundles/react - - name: Update bundles config - working-directory: apps/demos - run: pnpm run update-config + - name: Download demo bundles (Vue) + if: startsWith(matrix.CONSTEL, 'vue') + uses: actions/download-artifact@v8 + with: + name: devextreme-bundles-Vue + path: apps/demos/.demo-bundles/vue + + # Angular is built in 3 shards but tested in 10 — every test shard needs all 3. + - name: Download demo bundles (Angular shard 1) + if: startsWith(matrix.CONSTEL, 'angular') + uses: actions/download-artifact@v8 + with: + name: devextreme-bundles-Angular-shard1 + path: apps/demos/.demo-bundles/angular-shard1 + + - name: Download demo bundles (Angular shard 2) + if: startsWith(matrix.CONSTEL, 'angular') + uses: actions/download-artifact@v8 + with: + name: devextreme-bundles-Angular-shard2 + path: apps/demos/.demo-bundles/angular-shard2 - - name: Create bundles dir - run: mkdir -p apps/demos/bundles + - name: Download demo bundles (Angular shard 3) + if: startsWith(matrix.CONSTEL, 'angular') + uses: actions/download-artifact@v8 + with: + name: devextreme-bundles-Angular-shard3 + path: apps/demos/.demo-bundles/angular-shard3 - - name: Download bundles artifacts + # No-op for angular demos (no manifest — see build-vendor-bundles.js). + - name: Download vendor bundles uses: actions/download-artifact@v8 with: - name: devextreme-bundles - path: apps/demos/bundles + name: devextreme-vendor-bundles + path: apps/demos/bundles/vendor + + - name: Unpack demo bundles + run: | + shopt -s nullglob + archives=(apps/demos/.demo-bundles/*/demo-bundles.tgz) + if [ ${#archives[@]} -eq 0 ]; then + echo "No demo bundle archives downloaded for constellation '${{ matrix.CONSTEL }}'" >&2 + exit 1 + fi + for archive in "${archives[@]}"; do + tar -xzf "$archive" -C apps/demos + done + rm -rf apps/demos/.demo-bundles + echo "Unpacked $(find apps/demos/Demos -name 'bundle.js' | wc -l) demo bundle(s)" - name: Run Web Server run: | @@ -978,7 +1097,7 @@ jobs: if-no-files-found: ignore testcafe-frameworks-changed: - needs: [check-should-run, determine-framework-tests-scope, build-demos] + needs: [check-should-run, determine-framework-tests-scope, build-demos, build-vendor-bundles] if: | !cancelled() && needs.check-should-run.outputs.should-run == 'true' && @@ -1045,22 +1164,41 @@ jobs: working-directory: apps/demos run: pnpm add --ignore-workspace --allow-build=core-js --allow-build=inferno devextreme-aspnet-data@5.1.0 devextreme-aspnet-data-nojquery@5.1.0 ../../devextreme-installer.tgz ../../devextreme-dist-installer.tgz ../../devextreme-react-installer.tgz ../../devextreme-vue-installer.tgz ../../devextreme-angular-installer.tgz && rm -f pnpm-workspace.yaml pnpm-lock.yaml - - name: Prepare JS - working-directory: apps/demos - run: pnpm run prepare-js + - name: Download demo bundles (React) + if: matrix.CONSTEL == 'react' + uses: actions/download-artifact@v8 + with: + name: devextreme-bundles-React + path: apps/demos/.demo-bundles/react - - name: Update bundles config - working-directory: apps/demos - run: pnpm run update-config + - name: Download demo bundles (Vue) + if: matrix.CONSTEL == 'vue' + uses: actions/download-artifact@v8 + with: + name: devextreme-bundles-Vue + path: apps/demos/.demo-bundles/vue - - name: Create bundles dir - run: mkdir -p apps/demos/bundles + # build-demos shards Angular 3 ways regardless of how it's tested here. + - name: Download demo bundles (Angular shard 1) + if: matrix.CONSTEL == 'angular' + uses: actions/download-artifact@v8 + with: + name: devextreme-bundles-Angular-shard1 + path: apps/demos/.demo-bundles/angular-shard1 - - name: Download bundles artifacts + - name: Download demo bundles (Angular shard 2) + if: matrix.CONSTEL == 'angular' uses: actions/download-artifact@v8 with: - name: devextreme-bundles - path: apps/demos/bundles + name: devextreme-bundles-Angular-shard2 + path: apps/demos/.demo-bundles/angular-shard2 + + - name: Download demo bundles (Angular shard 3) + if: matrix.CONSTEL == 'angular' + uses: actions/download-artifact@v8 + with: + name: devextreme-bundles-Angular-shard3 + path: apps/demos/.demo-bundles/angular-shard3 - name: Download changes artifacts uses: actions/download-artifact@v8 @@ -1068,6 +1206,27 @@ jobs: name: changed-demos path: apps/demos + # No-op for angular demos (no manifest — see build-vendor-bundles.js). + - name: Download vendor bundles + uses: actions/download-artifact@v8 + with: + name: devextreme-vendor-bundles + path: apps/demos/bundles/vendor + + - name: Unpack demo bundles + run: | + shopt -s nullglob + archives=(apps/demos/.demo-bundles/*/demo-bundles.tgz) + if [ ${#archives[@]} -eq 0 ]; then + echo "No demo bundle archives downloaded for constellation '${{ matrix.CONSTEL }}'" >&2 + exit 1 + fi + for archive in "${archives[@]}"; do + tar -xzf "$archive" -C apps/demos + done + rm -rf apps/demos/.demo-bundles + echo "Unpacked $(find apps/demos/Demos -name 'bundle.js' | wc -l) demo bundle(s)" + - name: Run Web Server run: | python -m http.server 8080 & @@ -1163,8 +1322,6 @@ jobs: needs.build-devextreme.result == 'success' runs-on: devextreme-shr2 timeout-minutes: 60 - env: - CSP_USE_BUNDLED: '0' steps: - name: Get sources @@ -1251,8 +1408,6 @@ jobs: - { FRAMEWORK: Angular, SHARD_INDEX: 3, SHARD_TOTAL: 3 } runs-on: ${{ github.event_name == 'merge_group' && 'devextreme-shr2-ondemand' || 'devextreme-shr2' }} timeout-minutes: 60 - env: - CSP_USE_BUNDLED: '1' steps: - name: Get sources @@ -1296,10 +1451,8 @@ jobs: working-directory: apps/demos run: pnpm add --ignore-workspace --allow-build=core-js --allow-build=inferno devextreme-aspnet-data@5.1.0 devextreme-aspnet-data-nojquery@5.1.0 ../../devextreme-installer.tgz ../../devextreme-dist-installer.tgz ../../devextreme-react-installer.tgz ../../devextreme-vue-installer.tgz ../../devextreme-angular-installer.tgz && rm -f pnpm-workspace.yaml pnpm-lock.yaml - # Bundle production-style pages only when the CSP check is configured to - # read csp-bundled-demos; otherwise the checker uses SystemJS dev demos. + # Rebuilt independently rather than depending on build-demos, to keep timing decoupled. - name: Bundle demos for CSP check - if: env.CSP_USE_BUNDLED == '1' || env.CSP_USE_BUNDLED == 'true' working-directory: apps/demos env: CSP_SHARD_INDEX: ${{ matrix.SHARD_INDEX }} diff --git a/CLAUDE.md b/CLAUDE.md index a8006c507aab..57f24b7da5fb 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -114,7 +114,7 @@ packages/ testcafe-models/ # TestCafe page object models apps/ - demos/ # Technical demos (Angular, React, Vue, jQuery) + demos/ # Technical demos (Angular, React, Vue, jQuery) — esbuild on demand e2e/ testcafe-devextreme/ # E2E tests @@ -142,6 +142,31 @@ Do not edit directly: - `packages/devextreme/js/__internal/core/localization/default_messages.ts` - `packages/devextreme/js/__internal/core/localization/cldr-data/**/*` +## Demos + +Technical demos live in `apps/demos`. + +From the repo root: + +```bash +pnpm run demos:prepare # build DevExtreme, pack wrappers, vendor bundles +pnpm run demos:start # http://localhost:8080/ +``` + +`demos:start` is long-running. Do not start a second copy if the developer already has it running. + +Angular, React, and Vue demos bundle on demand with esbuild when a page is opened (`bundle.js` / `bundle.css` next to the demo source — gitignored, do not commit). jQuery demos load `dx.all.js` from `devextreme-dist`. + +### Editing demos + +From `apps/demos`: + +```bash +pnpm run add-demo # scaffold a new demo +pnpm run convert-to-js split # after React TypeScript changes +pnpm run fix-lint +``` + ## Code Style Conventions These rules apply to `packages/devextreme/js/**/*.d.ts` (see `.github/instructions/API_conventions.instructions.md`): diff --git a/apps/demos/.gitignore b/apps/demos/.gitignore index f6c9d4263dc9..efced17d0cd8 100644 --- a/apps/demos/.gitignore +++ b/apps/demos/.gitignore @@ -23,11 +23,15 @@ changed-files.json !.vscode/settings.json -shared/empty-file.js - -Demos/**/config.js Demos/**/tsconfig.json +Demos/**/bundle.js +Demos/**/bundle.css +Demos/**/media +Demos/**/demo.manifest.json +Demos/_chunks +Demos/**/_chunks + .DS_Store **/.DS_Store publish-demos @@ -39,5 +43,8 @@ csp-bundled-demos utils/server/.csp-bundle-angular-* Demos/**/.csp-bundle-angular-patched.*.ts +# Scratch entry files from utils/server/vendor-bundle.js (cleaned up on success). +.vendor-entry-tmp + .angular angular.json diff --git a/apps/demos/.prettierrc.json b/apps/demos/.prettierrc.json index b4c6d26502b7..4f5977701e68 100644 --- a/apps/demos/.prettierrc.json +++ b/apps/demos/.prettierrc.json @@ -16,13 +16,6 @@ "singleAttributePerLine": true, "trailingComma": "all" } - }, - { - "files": "**/ReactJs/**/*.html", - "options": { - "printWidth": 100, - "singleAttributePerLine": true - } } ] } diff --git a/apps/demos/Demos/Accordion/Overview/Angular/app/app.component.ts b/apps/demos/Demos/Accordion/Overview/Angular/app/app.component.ts index 6e3fec7d805d..17f2a91838cc 100644 --- a/apps/demos/Demos/Accordion/Overview/Angular/app/app.component.ts +++ b/apps/demos/Demos/Accordion/Overview/Angular/app/app.component.ts @@ -15,17 +15,11 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ changeDetection: ChangeDetectionStrategy.Eager, selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], providers: [Service], preserveWhitespaces: true, imports: [ diff --git a/apps/demos/Demos/Accordion/Overview/Angular/index.html b/apps/demos/Demos/Accordion/Overview/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Accordion/Overview/Angular/index.html +++ b/apps/demos/Demos/Accordion/Overview/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Accordion/Overview/React/index.html b/apps/demos/Demos/Accordion/Overview/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Accordion/Overview/React/index.html +++ b/apps/demos/Demos/Accordion/Overview/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/Accordion/Overview/ReactJs/index.html b/apps/demos/Demos/Accordion/Overview/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Accordion/Overview/ReactJs/index.html +++ b/apps/demos/Demos/Accordion/Overview/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/Accordion/Overview/Vue/App.vue b/apps/demos/Demos/Accordion/Overview/Vue/App.vue index bfc35834e3b7..289cc95a8518 100644 --- a/apps/demos/Demos/Accordion/Overview/Vue/App.vue +++ b/apps/demos/Demos/Accordion/Overview/Vue/App.vue @@ -90,7 +90,7 @@ const selectedCompanies = computed({ }); - + diff --git a/apps/demos/Demos/Common/ListsOverview/Vue/index.html b/apps/demos/Demos/Common/ListsOverview/Vue/index.html index c90687f1390f..c7abf5532cd1 100644 --- a/apps/demos/Demos/Common/ListsOverview/Vue/index.html +++ b/apps/demos/Demos/Common/ListsOverview/Vue/index.html @@ -6,22 +6,13 @@ - - - - - + -
+ + diff --git a/apps/demos/Demos/Common/ListsOverview/Vue/styles.css b/apps/demos/Demos/Common/ListsOverview/Vue/styles.css deleted file mode 100644 index bbf36965db97..000000000000 --- a/apps/demos/Demos/Common/ListsOverview/Vue/styles.css +++ /dev/null @@ -1,105 +0,0 @@ -.left { - float: left; - width: 330px; - height: 470px; - padding: 20px; - background: rgba(191, 191, 191, 0.15); - margin-right: 30px; -} - -.right { - overflow: hidden; -} - -.left .list .dx-list-group-header { - font-weight: normal; - font-size: 18px; -} - -.left .list .hotel { - float: left; -} - -.left .list .hotel .name { - font-weight: bold; -} - -.right .header { - height: 70px; -} - -.right .header .name-container { - float: left; -} - -.right .header .name { - font-size: 30px; - font-weight: bold; -} - -.right .header .price-container { - padding-top: 27px; -} - -.right .name-container .type { - margin-top: 0; -} - -.right .tile { - margin: 0 -12px; -} - -.right .tile-image { - height: 100%; - width: 100%; - object-fit: cover; -} - -.right .address { - padding-top: 30px; - font-size: 18px; - opacity: 0.7; -} - -.right .description { - margin: 10px 0; -} - -.type { - margin: 3px 0 5px; - height: 14px; - background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2218px%22%20height%3D%2214px%22%20%3E%3Cpolyline%20fill%3D%22%23F05B41%22%20points%3D%227.5%2C0%209.972%2C4.399%2014.999%2C5.348%2011.5%2C9.015%2012.135%2C14%207.5%2C11.866%202.865%2C14%203.5%2C9.015%200.001%2C5.348%205.028%2C4.399%207.5%2C0%20%22%2F%3E%3C%2Fsvg%3E'); - background-size: 18px 14px; -} - -.type.gold { - width: 54px; -} - -.type.platinum { - width: 72px; -} - -.type.diamond { - width: 90px; -} - -.price-container { - float: right; - padding-top: 13px; -} - -.price-container > div { - display: inline-block; -} - -.price-container .price { - font-size: 25px; -} - -.price-container .caption { - font-size: 11px; - line-height: 12px; - padding-left: 6px; - color: var(--dx-texteditor-label-color); -} diff --git a/apps/demos/Demos/Common/NavigationOverview/Angular/app/app.component.ts b/apps/demos/Demos/Common/NavigationOverview/Angular/app/app.component.ts index acffda7c19a0..1131820c4801 100644 --- a/apps/demos/Demos/Common/NavigationOverview/Angular/app/app.component.ts +++ b/apps/demos/Demos/Common/NavigationOverview/Angular/app/app.component.ts @@ -13,16 +13,10 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], providers: [Service], imports: [ DxTabPanelModule, diff --git a/apps/demos/Demos/Common/NavigationOverview/Angular/index.html b/apps/demos/Demos/Common/NavigationOverview/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Common/NavigationOverview/Angular/index.html +++ b/apps/demos/Demos/Common/NavigationOverview/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Common/NavigationOverview/React/index.html b/apps/demos/Demos/Common/NavigationOverview/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Common/NavigationOverview/React/index.html +++ b/apps/demos/Demos/Common/NavigationOverview/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/Common/NavigationOverview/ReactJs/index.html b/apps/demos/Demos/Common/NavigationOverview/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Common/NavigationOverview/ReactJs/index.html +++ b/apps/demos/Demos/Common/NavigationOverview/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/Common/NavigationOverview/Vue/App.vue b/apps/demos/Demos/Common/NavigationOverview/Vue/App.vue index 4e4d7bcc3c22..84a3a3cf3145 100644 --- a/apps/demos/Demos/Common/NavigationOverview/Vue/App.vue +++ b/apps/demos/Demos/Common/NavigationOverview/Vue/App.vue @@ -97,4 +97,138 @@ function changeSelection({ itemData }: DxTreeViewTypes.ItemSelectionChangedEvent } } - + diff --git a/apps/demos/Demos/Common/NavigationOverview/Vue/index.html b/apps/demos/Demos/Common/NavigationOverview/Vue/index.html index c90687f1390f..c7abf5532cd1 100644 --- a/apps/demos/Demos/Common/NavigationOverview/Vue/index.html +++ b/apps/demos/Demos/Common/NavigationOverview/Vue/index.html @@ -6,22 +6,13 @@ - - - - - + -
+ + diff --git a/apps/demos/Demos/Common/NavigationOverview/Vue/styles.css b/apps/demos/Demos/Common/NavigationOverview/Vue/styles.css deleted file mode 100644 index 711095c5f48f..000000000000 --- a/apps/demos/Demos/Common/NavigationOverview/Vue/styles.css +++ /dev/null @@ -1,133 +0,0 @@ -.container { - position: relative; -} - -.container, -.left-content { - min-height: 530px; -} - -.left-content { - display: inline-block; - width: 180px; - padding: 0 10px 10px; - background-color: rgba(191, 191, 191, 0.15); - box-shadow: -5px 0 14px -8px rgba(0, 0, 0, 0.25) inset; -} - -.right-content { - position: absolute; - right: 0; - left: 220px; - top: 0; - height: 100%; -} - -sup { - font-size: 0.8em; - vertical-align: super; - line-height: 0; -} - -.right-content .sub-title { - font-size: 120%; - color: var(--dx-texteditor-color-label); -} - -.title-container { - min-height: 140px; - margin-bottom: 10px; -} - -.title-container .country-name { - font-size: 240%; - font-weight: bold; - line-height: 34px; - margin-bottom: 10px; -} - -.title-container > div:not(.flag) { - margin-left: 204px; -} - -.stats { - display: table; - width: 100%; - margin-bottom: 20px; -} - -.stats > div { - display: table-cell; - text-align: center; - border: 1px solid rgba(191, 191, 191, 0.25); - padding: 20px 0 25px; - width: 33%; -} - -.stats > div:first-child, -.stats > div:last-child { - border-right-width: 0; - border-left-width: 0; -} - -.stats .stat-value { - font-size: 200%; -} - -#tabpanel { - margin-top: 10px; -} - -#tabpanel .dx-multiview-wrapper { - border-left: 0; - border-right: 0; - border-bottom: 0; -} - -#tabpanel .tab-panel-title { - font-size: 120%; - font-weight: 500; -} - -#tabpanel .dx-multiview-item-content { - padding: 20px 0 22px; - min-height: 178px; - position: relative; -} - -#tabpanel .right-content { - top: 15px; - left: 202px; -} - -#tabpanel .stats { - width: 398px; - margin-top: 20px; - border-top: 1px solid rgba(191, 191, 191, 0.25); -} - -#tabpanel .stats > div { - padding: 7px 0; - text-align: left; - border: 0; -} - -#tabpanel .stats > div:first-child { - width: 40%; -} - -#tabpanel .stats > div:not(:first-child) { - width: 30%; -} - -.flag { - width: 172px; - max-height: 122px; - border: 1px solid rgba(191, 191, 191, 0.25); - float: left; - margin: 0 30px 10px 0; -} - -.left-content .dx-treeview-node.dx-state-selected > .dx-item > .dx-item-content { - font-weight: 500; -} diff --git a/apps/demos/Demos/Common/NavigationRightToLeftSupport/Angular/app/app.component.ts b/apps/demos/Demos/Common/NavigationRightToLeftSupport/Angular/app/app.component.ts index c9ea863fc9af..f53b7e18aa08 100644 --- a/apps/demos/Demos/Common/NavigationRightToLeftSupport/Angular/app/app.component.ts +++ b/apps/demos/Demos/Common/NavigationRightToLeftSupport/Angular/app/app.component.ts @@ -13,16 +13,10 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], providers: [Service], imports: [ DxAccordionModule, diff --git a/apps/demos/Demos/Common/NavigationRightToLeftSupport/Angular/index.html b/apps/demos/Demos/Common/NavigationRightToLeftSupport/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Common/NavigationRightToLeftSupport/Angular/index.html +++ b/apps/demos/Demos/Common/NavigationRightToLeftSupport/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Common/NavigationRightToLeftSupport/React/index.html b/apps/demos/Demos/Common/NavigationRightToLeftSupport/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Common/NavigationRightToLeftSupport/React/index.html +++ b/apps/demos/Demos/Common/NavigationRightToLeftSupport/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/Common/NavigationRightToLeftSupport/ReactJs/index.html b/apps/demos/Demos/Common/NavigationRightToLeftSupport/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Common/NavigationRightToLeftSupport/ReactJs/index.html +++ b/apps/demos/Demos/Common/NavigationRightToLeftSupport/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/Common/NavigationRightToLeftSupport/Vue/App.vue b/apps/demos/Demos/Common/NavigationRightToLeftSupport/Vue/App.vue index 4b03b1698eab..68c031c1aa06 100644 --- a/apps/demos/Demos/Common/NavigationRightToLeftSupport/Vue/App.vue +++ b/apps/demos/Demos/Common/NavigationRightToLeftSupport/Vue/App.vue @@ -83,7 +83,7 @@ function selectLanguage(e: DxSelectBoxTypes.ValueChangedEvent) { rtlEnabled.value = e.value === languages[0]; } - + diff --git a/apps/demos/Demos/Common/PopupAndNotificationsOverview/Vue/index.html b/apps/demos/Demos/Common/PopupAndNotificationsOverview/Vue/index.html index c90687f1390f..c7abf5532cd1 100644 --- a/apps/demos/Demos/Common/PopupAndNotificationsOverview/Vue/index.html +++ b/apps/demos/Demos/Common/PopupAndNotificationsOverview/Vue/index.html @@ -6,22 +6,13 @@ - - - - - + -
+ + diff --git a/apps/demos/Demos/Common/PopupAndNotificationsOverview/Vue/styles.css b/apps/demos/Demos/Common/PopupAndNotificationsOverview/Vue/styles.css deleted file mode 100644 index ca4086485d13..000000000000 --- a/apps/demos/Demos/Common/PopupAndNotificationsOverview/Vue/styles.css +++ /dev/null @@ -1,135 +0,0 @@ -.large-text { - font-size: 24px; - color: #ff6a50; -} - -.opacity { - opacity: 0.5; -} - -.images { - font-size: 0; -} - -.images > div { - display: inline-block; - width: 33.3%; - vertical-align: top; -} - -.images .item-content { - position: relative; - margin: 5px; - color: #fff; - cursor: pointer; -} - -.images .item-content > img { - width: 100%; -} - -.item-content .item-options { - position: absolute; - top: 0; - left: 0; - height: 100%; - width: 100%; -} - -.images .item-content:hover > .item-options { - box-shadow: inset 0 0 0 2px #f05b41; -} - -.item-content .item-options > div { - position: absolute; - bottom: 0; - width: 100%; - height: 64px; - padding-top: 4px; - background-color: rgba(19, 32, 51, 0.8); - z-index: 1; - box-sizing: border-box; - border-left: 2px solid transparent; - border-right: 2px solid transparent; -} - -.images .item-content:hover > .item-options > div { - border-bottom: 2px solid #f05b41; - border-left: 2px solid #f05b41; - border-right: 2px solid #f05b41; -} - -.item-content .item-options .address, -.item-content .item-options .price { - max-width: 70%; - padding-left: 8px; -} - -.item-content .item-options .address { - font-size: 14px; -} - -.item-content .item-options .agent { - font-size: 12px; - width: 60px; - position: absolute; - right: -2px; - top: 0; - bottom: 0; - text-align: center; - border-left: 1px solid rgba(255, 255, 255, 0.4); - line-height: 13px; -} - -.item-content .item-options .agent > div:hover { - color: #f05b41; -} - -.item-content .item-options .agent img { - display: block; - width: 13px; - height: 16px; - margin: 8px auto 2px; -} - -.agent-details > img, -.agent-details > div { - display: inline-block; - vertical-align: top; - line-height: 26px; -} - -.agent-details > img { - width: 40px; - margin-right: 10px; -} - -.agent-details .phone { - font-size: 18px; -} - -.popup-property-details { - overflow: hidden; - position: relative; -} - -.popup-property-details .images { - width: 700px; -} - -.popup-property-details img { - height: 205px; - margin: 10px 10px 10px 0; -} - -.dx-button.favorites { - background-color: #f05b41; - color: #fff; - position: absolute; - top: 5px; - right: 0; -} - -.dx-button.favorites .dx-icon { - color: #fff; -} diff --git a/apps/demos/Demos/ContextMenu/Basics/Angular/app/app.component.ts b/apps/demos/Demos/ContextMenu/Basics/Angular/app/app.component.ts index 191643200c73..39bc597b9e8e 100644 --- a/apps/demos/Demos/ContextMenu/Basics/Angular/app/app.component.ts +++ b/apps/demos/Demos/ContextMenu/Basics/Angular/app/app.component.ts @@ -7,12 +7,6 @@ if (!document.location.host.includes('localhost')) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - class ContextMenuItem { text: string; @@ -21,8 +15,8 @@ class ContextMenuItem { @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], imports: [ DxContextMenuModule, ], diff --git a/apps/demos/Demos/ContextMenu/Basics/Angular/index.html b/apps/demos/Demos/ContextMenu/Basics/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/ContextMenu/Basics/Angular/index.html +++ b/apps/demos/Demos/ContextMenu/Basics/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/ContextMenu/Basics/React/index.html b/apps/demos/Demos/ContextMenu/Basics/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/ContextMenu/Basics/React/index.html +++ b/apps/demos/Demos/ContextMenu/Basics/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/ContextMenu/Basics/ReactJs/index.html b/apps/demos/Demos/ContextMenu/Basics/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/ContextMenu/Basics/ReactJs/index.html +++ b/apps/demos/Demos/ContextMenu/Basics/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/ContextMenu/Basics/Vue/index.html b/apps/demos/Demos/ContextMenu/Basics/Vue/index.html index c90687f1390f..c7abf5532cd1 100644 --- a/apps/demos/Demos/ContextMenu/Basics/Vue/index.html +++ b/apps/demos/Demos/ContextMenu/Basics/Vue/index.html @@ -6,22 +6,13 @@ - - - - - + -
+ + diff --git a/apps/demos/Demos/ContextMenu/Scrolling/Angular/app/app.component.ts b/apps/demos/Demos/ContextMenu/Scrolling/Angular/app/app.component.ts index 4674f154c5da..0c132ca3195c 100644 --- a/apps/demos/Demos/ContextMenu/Scrolling/Angular/app/app.component.ts +++ b/apps/demos/Demos/ContextMenu/Scrolling/Angular/app/app.component.ts @@ -9,17 +9,11 @@ if (!document.location.host.includes('localhost')) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', providers: [Service], - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], imports: [ DxContextMenuModule, ], diff --git a/apps/demos/Demos/ContextMenu/Scrolling/Angular/index.html b/apps/demos/Demos/ContextMenu/Scrolling/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/ContextMenu/Scrolling/Angular/index.html +++ b/apps/demos/Demos/ContextMenu/Scrolling/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/ContextMenu/Scrolling/React/index.html b/apps/demos/Demos/ContextMenu/Scrolling/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/ContextMenu/Scrolling/React/index.html +++ b/apps/demos/Demos/ContextMenu/Scrolling/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/ContextMenu/Scrolling/ReactJs/index.html b/apps/demos/Demos/ContextMenu/Scrolling/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/ContextMenu/Scrolling/ReactJs/index.html +++ b/apps/demos/Demos/ContextMenu/Scrolling/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/ContextMenu/Scrolling/Vue/index.html b/apps/demos/Demos/ContextMenu/Scrolling/Vue/index.html index c90687f1390f..c7abf5532cd1 100644 --- a/apps/demos/Demos/ContextMenu/Scrolling/Vue/index.html +++ b/apps/demos/Demos/ContextMenu/Scrolling/Vue/index.html @@ -6,22 +6,13 @@ - - - - - + -
+ + diff --git a/apps/demos/Demos/ContextMenu/Templates/Angular/app/app.component.ts b/apps/demos/Demos/ContextMenu/Templates/Angular/app/app.component.ts index e1ff52d8cb91..876ec22805d2 100644 --- a/apps/demos/Demos/ContextMenu/Templates/Angular/app/app.component.ts +++ b/apps/demos/Demos/ContextMenu/Templates/Angular/app/app.component.ts @@ -15,16 +15,10 @@ class ContextMenuItem { items?: ContextMenuItem[]; } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], imports: [ DxContextMenuModule, ], diff --git a/apps/demos/Demos/ContextMenu/Templates/Angular/index.html b/apps/demos/Demos/ContextMenu/Templates/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/ContextMenu/Templates/Angular/index.html +++ b/apps/demos/Demos/ContextMenu/Templates/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/ContextMenu/Templates/React/index.html b/apps/demos/Demos/ContextMenu/Templates/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/ContextMenu/Templates/React/index.html +++ b/apps/demos/Demos/ContextMenu/Templates/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/ContextMenu/Templates/ReactJs/index.html b/apps/demos/Demos/ContextMenu/Templates/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/ContextMenu/Templates/ReactJs/index.html +++ b/apps/demos/Demos/ContextMenu/Templates/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/ContextMenu/Templates/Vue/index.html b/apps/demos/Demos/ContextMenu/Templates/Vue/index.html index c90687f1390f..c7abf5532cd1 100644 --- a/apps/demos/Demos/ContextMenu/Templates/Vue/index.html +++ b/apps/demos/Demos/ContextMenu/Templates/Vue/index.html @@ -6,22 +6,13 @@ - - - - - + -
+ + diff --git a/apps/demos/Demos/DataGrid/AIAssistant/Angular/app/app.component.ts b/apps/demos/Demos/DataGrid/AIAssistant/Angular/app/app.component.ts index 211368ea2885..fd78001395ad 100644 --- a/apps/demos/Demos/DataGrid/AIAssistant/Angular/app/app.component.ts +++ b/apps/demos/Demos/DataGrid/AIAssistant/Angular/app/app.component.ts @@ -15,16 +15,10 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], providers: [Service, AiService], imports: [DxDataGridModule], }) diff --git a/apps/demos/Demos/DataGrid/AIAssistant/Angular/index.html b/apps/demos/Demos/DataGrid/AIAssistant/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/DataGrid/AIAssistant/Angular/index.html +++ b/apps/demos/Demos/DataGrid/AIAssistant/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/DataGrid/AIAssistant/React/index.html b/apps/demos/Demos/DataGrid/AIAssistant/React/index.html index 233b43f9b31e..195c267d55e3 100644 --- a/apps/demos/Demos/DataGrid/AIAssistant/React/index.html +++ b/apps/demos/Demos/DataGrid/AIAssistant/React/index.html @@ -6,21 +6,15 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/DataGrid/AIAssistant/ReactJs/index.html b/apps/demos/Demos/DataGrid/AIAssistant/ReactJs/index.html index 81e2f1d0c9d2..195c267d55e3 100644 --- a/apps/demos/Demos/DataGrid/AIAssistant/ReactJs/index.html +++ b/apps/demos/Demos/DataGrid/AIAssistant/ReactJs/index.html @@ -2,45 +2,19 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/DataGrid/AIAssistant/Vue/App.vue b/apps/demos/Demos/DataGrid/AIAssistant/Vue/App.vue index 78671c7dd2d0..5e1688f0d1e2 100644 --- a/apps/demos/Demos/DataGrid/AIAssistant/Vue/App.vue +++ b/apps/demos/Demos/DataGrid/AIAssistant/Vue/App.vue @@ -144,7 +144,7 @@ const chatOptions = { }; - + diff --git a/apps/demos/Demos/Gauges/Overview/Vue/index.html b/apps/demos/Demos/Gauges/Overview/Vue/index.html index c90687f1390f..c7abf5532cd1 100644 --- a/apps/demos/Demos/Gauges/Overview/Vue/index.html +++ b/apps/demos/Demos/Gauges/Overview/Vue/index.html @@ -6,22 +6,13 @@ - - - - - + -
+ + diff --git a/apps/demos/Demos/Gauges/Overview/Vue/styles.css b/apps/demos/Demos/Gauges/Overview/Vue/styles.css deleted file mode 100644 index 284d2c5b034f..000000000000 --- a/apps/demos/Demos/Gauges/Overview/Vue/styles.css +++ /dev/null @@ -1,70 +0,0 @@ -#gauge-demo { - height: 500px; -} - -#gauge-container { - text-align: center; - margin: 20px auto; - background-image: url('../../../../images/Gauges/mask.png'); - background-repeat: no-repeat; - width: 786px; - height: 500px; -} - -#gauge-container > div { - display: inline-block; - position: relative; -} - -.left-section { - top: -20px; - left: -44px; -} - -.center-section { - top: 25px; -} - -.right-section { - top: -20px; - right: -44px; -} - -#fuel-gauge { - position: absolute; - left: 34%; - bottom: 5%; -} - -#slider { - position: relative; - top: -105px; - margin: 0 auto; -} - -#slider .dx-slider-bar { - background-color: #fff; -} - -#slider .dx-slider-handle { - background-color: #f05b41; - width: 16px; - height: 16px; - margin-top: -8px; - margin-right: -8px; - border-radius: 50%; - border: none; -} - -#slider .dx-slider-handle .dx-inkripple-wave { - background: none; -} - -#slider .dx-slider-handle::after { - background-color: #f05b41; -} - -#slider .dx-slider-range.dx-slider-range-visible { - border-color: #f05b41; - background-color: #f05b41; -} diff --git a/apps/demos/Demos/Gauges/Palette/Angular/app/app.component.ts b/apps/demos/Demos/Gauges/Palette/Angular/app/app.component.ts index 92984901b8f0..0fc9ac38a26d 100644 --- a/apps/demos/Demos/Gauges/Palette/Angular/app/app.component.ts +++ b/apps/demos/Demos/Gauges/Palette/Angular/app/app.component.ts @@ -6,16 +6,10 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], imports: [ DxBarGaugeModule, ], diff --git a/apps/demos/Demos/Gauges/Palette/Angular/index.html b/apps/demos/Demos/Gauges/Palette/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Gauges/Palette/Angular/index.html +++ b/apps/demos/Demos/Gauges/Palette/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Gauges/Palette/React/index.html b/apps/demos/Demos/Gauges/Palette/React/index.html index 798562b68bc3..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Gauges/Palette/React/index.html +++ b/apps/demos/Demos/Gauges/Palette/React/index.html @@ -5,20 +5,14 @@ - - - - - - - + + -
+ + diff --git a/apps/demos/Demos/Gauges/Palette/ReactJs/index.html b/apps/demos/Demos/Gauges/Palette/ReactJs/index.html index 69766218ddb1..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Gauges/Palette/ReactJs/index.html +++ b/apps/demos/Demos/Gauges/Palette/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/Gauges/Palette/Vue/App.vue b/apps/demos/Demos/Gauges/Palette/Vue/App.vue index 32eb4d5d4451..19210ef98611 100644 --- a/apps/demos/Demos/Gauges/Palette/Vue/App.vue +++ b/apps/demos/Demos/Gauges/Palette/Vue/App.vue @@ -31,7 +31,7 @@ import { const values = [-2.13, 1.48, -3.09, 4.52, 4.9, 3.9]; - + diff --git a/apps/demos/Demos/Resizable/Overview/Vue/index.html b/apps/demos/Demos/Resizable/Overview/Vue/index.html index 53778bd14ad3..c7abf5532cd1 100644 --- a/apps/demos/Demos/Resizable/Overview/Vue/index.html +++ b/apps/demos/Demos/Resizable/Overview/Vue/index.html @@ -6,23 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/Resizable/Overview/Vue/styles.css b/apps/demos/Demos/Resizable/Overview/Vue/styles.css deleted file mode 100644 index fa101c9159ce..000000000000 --- a/apps/demos/Demos/Resizable/Overview/Vue/styles.css +++ /dev/null @@ -1,148 +0,0 @@ -.widget-container { - width: calc(100% - 360px); - height: 100%; - margin-right: 320px; - position: absolute; - z-index: 1501; -} - -.dx-fieldset, -.dx-field { - width: 100%; - height: calc(100% - 60px); -} - -.options { - padding: 20px; - background-color: rgba(191, 191, 191, 0.15); - position: absolute; - right: 0; - top: 0; - bottom: 0; - width: 260px; -} - -.caption { - font-weight: 500; - font-size: 18px; -} - -.option { - margin-top: 10px; -} - -#gridContainer { - padding: 10px; - height: 300px; -} - -#grid { - border: 1px solid black; -} - -.no-left-handle .dx-resizable-handle-top, -.no-left-handle .dx-resizable-handle-bottom { - left: 10px; - width: calc(100% - 10px); -} - -.no-right-handle .dx-resizable-handle-top, -.no-right-handle .dx-resizable-handle-bottom { - right: 10px; - width: calc(100% - 10px); -} - -.no-right-handle.no-left-handle .dx-resizable-handle-top, -.no-right-handle.no-left-handle .dx-resizable-handle-bottom { - left: 10px; - width: calc(100% - 20px); -} - -.no-top-handle .dx-resizable-handle-right, -.no-top-handle .dx-resizable-handle-left { - top: 10px; - height: calc(100% - 10px); -} - -.no-bottom-handle .dx-resizable-handle-right, -.no-bottom-handle .dx-resizable-handle-left { - bottom: 10px; - height: calc(100% - 10px); -} - -.no-top-handle.no-bottom-handle .dx-resizable-handle-left, -.no-top-handle.no-bottom-handle .dx-resizable-handle-right { - top: 10px; - height: calc(100% - 20px); -} - -.dx-resizable-handle-right { - border-right: 1px dotted #999; -} - -.dx-resizable-handle-top { - border-top: 1px dotted #999; -} - -.dx-resizable-handle-left { - border-left: 1px dotted #999; -} - -.dx-resizable-handle-bottom { - border-bottom: 1px dotted #999; -} - -.dx-resizable-handle::after { - content: ""; - position: absolute; - width: 9px; - height: 9px; - border: none; - border-radius: 50%; - background-color: #fff; - box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.24); -} - -.dx-resizable-handle-right::after { - top: 50%; - right: -5px; - transform: translateY(-50%); -} - -.dx-resizable-handle-left::after { - top: 50%; - left: -5px; - transform: translateY(-50%); -} - -.dx-resizable-handle-corner-top-left::after { - top: -4px; - left: -4px; -} - -.dx-resizable-handle-corner-top-right::after { - top: -4px; - right: -4px; -} - -.dx-resizable-handle-corner-bottom-left::after { - bottom: -4px; - left: -4px; -} - -.dx-resizable-handle-corner-bottom-right::after { - bottom: -4px; - right: -4px; -} - -.dx-resizable-handle-top::after { - top: -5px; - left: 50%; - transform: translateX(-50%); -} - -.dx-resizable-handle-bottom::after { - bottom: -5px; - left: 50%; - transform: translateX(-50%); -} diff --git a/apps/demos/Demos/ResponsiveBox/Overview/Angular/app/app.component.ts b/apps/demos/Demos/ResponsiveBox/Overview/Angular/app/app.component.ts index 284074e3168f..3522a8854d35 100644 --- a/apps/demos/Demos/ResponsiveBox/Overview/Angular/app/app.component.ts +++ b/apps/demos/Demos/ResponsiveBox/Overview/Angular/app/app.component.ts @@ -6,16 +6,10 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], imports: [ DxResponsiveBoxModule, ], diff --git a/apps/demos/Demos/ResponsiveBox/Overview/Angular/index.html b/apps/demos/Demos/ResponsiveBox/Overview/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/ResponsiveBox/Overview/Angular/index.html +++ b/apps/demos/Demos/ResponsiveBox/Overview/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/ResponsiveBox/Overview/React/index.html b/apps/demos/Demos/ResponsiveBox/Overview/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/ResponsiveBox/Overview/React/index.html +++ b/apps/demos/Demos/ResponsiveBox/Overview/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/ResponsiveBox/Overview/ReactJs/index.html b/apps/demos/Demos/ResponsiveBox/Overview/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/ResponsiveBox/Overview/ReactJs/index.html +++ b/apps/demos/Demos/ResponsiveBox/Overview/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/ResponsiveBox/Overview/Vue/index.html b/apps/demos/Demos/ResponsiveBox/Overview/Vue/index.html index c90687f1390f..c7abf5532cd1 100644 --- a/apps/demos/Demos/ResponsiveBox/Overview/Vue/index.html +++ b/apps/demos/Demos/ResponsiveBox/Overview/Vue/index.html @@ -6,22 +6,13 @@ - - - - - + -
+ + diff --git a/apps/demos/Demos/Scheduler/Adaptability/Angular/app/app.component.ts b/apps/demos/Demos/Scheduler/Adaptability/Angular/app/app.component.ts index 76eafcff624b..0d297d64d575 100644 --- a/apps/demos/Demos/Scheduler/Adaptability/Angular/app/app.component.ts +++ b/apps/demos/Demos/Scheduler/Adaptability/Angular/app/app.component.ts @@ -7,16 +7,10 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], providers: [Service], imports: [ DxSchedulerModule, diff --git a/apps/demos/Demos/Scheduler/Adaptability/Angular/index.html b/apps/demos/Demos/Scheduler/Adaptability/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Scheduler/Adaptability/Angular/index.html +++ b/apps/demos/Demos/Scheduler/Adaptability/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Scheduler/Adaptability/React/index.html b/apps/demos/Demos/Scheduler/Adaptability/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Scheduler/Adaptability/React/index.html +++ b/apps/demos/Demos/Scheduler/Adaptability/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/Scheduler/Adaptability/ReactJs/index.html b/apps/demos/Demos/Scheduler/Adaptability/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Scheduler/Adaptability/ReactJs/index.html +++ b/apps/demos/Demos/Scheduler/Adaptability/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/Scheduler/Adaptability/Vue/index.html b/apps/demos/Demos/Scheduler/Adaptability/Vue/index.html index 53778bd14ad3..c7abf5532cd1 100644 --- a/apps/demos/Demos/Scheduler/Adaptability/Vue/index.html +++ b/apps/demos/Demos/Scheduler/Adaptability/Vue/index.html @@ -6,23 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/Scheduler/Agenda/Angular/app/app.component.ts b/apps/demos/Demos/Scheduler/Agenda/Angular/app/app.component.ts index b124f3dc1ddd..95c79baef457 100644 --- a/apps/demos/Demos/Scheduler/Agenda/Angular/app/app.component.ts +++ b/apps/demos/Demos/Scheduler/Agenda/Angular/app/app.component.ts @@ -10,15 +10,9 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, + templateUrl: './app.component.html', providers: [Service], imports: [ DxSchedulerModule, diff --git a/apps/demos/Demos/Scheduler/Agenda/Angular/index.html b/apps/demos/Demos/Scheduler/Agenda/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Scheduler/Agenda/Angular/index.html +++ b/apps/demos/Demos/Scheduler/Agenda/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Scheduler/Agenda/React/index.html b/apps/demos/Demos/Scheduler/Agenda/React/index.html index cfb9b3aa6769..3551d62c9efe 100644 --- a/apps/demos/Demos/Scheduler/Agenda/React/index.html +++ b/apps/demos/Demos/Scheduler/Agenda/React/index.html @@ -6,18 +6,12 @@ - - - - - -
+ + diff --git a/apps/demos/Demos/Scheduler/Agenda/ReactJs/index.html b/apps/demos/Demos/Scheduler/Agenda/ReactJs/index.html index d6d83f735a76..3551d62c9efe 100644 --- a/apps/demos/Demos/Scheduler/Agenda/ReactJs/index.html +++ b/apps/demos/Demos/Scheduler/Agenda/ReactJs/index.html @@ -2,38 +2,16 @@ DevExtreme Demo - - - - - - - - - + + + + -
+ + diff --git a/apps/demos/Demos/Scheduler/Agenda/Vue/index.html b/apps/demos/Demos/Scheduler/Agenda/Vue/index.html index c90687f1390f..73454624c3fc 100644 --- a/apps/demos/Demos/Scheduler/Agenda/Vue/index.html +++ b/apps/demos/Demos/Scheduler/Agenda/Vue/index.html @@ -6,22 +6,12 @@ - - - - - -
+ + diff --git a/apps/demos/Demos/Scheduler/AllDayPanelMode/Angular/app/app.component.ts b/apps/demos/Demos/Scheduler/AllDayPanelMode/Angular/app/app.component.ts index c8ff3854b01a..bac3a6f108fc 100644 --- a/apps/demos/Demos/Scheduler/AllDayPanelMode/Angular/app/app.component.ts +++ b/apps/demos/Demos/Scheduler/AllDayPanelMode/Angular/app/app.component.ts @@ -8,16 +8,10 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], providers: [Service], imports: [ DxSchedulerModule, diff --git a/apps/demos/Demos/Scheduler/AllDayPanelMode/Angular/index.html b/apps/demos/Demos/Scheduler/AllDayPanelMode/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Scheduler/AllDayPanelMode/Angular/index.html +++ b/apps/demos/Demos/Scheduler/AllDayPanelMode/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Scheduler/AllDayPanelMode/React/index.html b/apps/demos/Demos/Scheduler/AllDayPanelMode/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Scheduler/AllDayPanelMode/React/index.html +++ b/apps/demos/Demos/Scheduler/AllDayPanelMode/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/Scheduler/AllDayPanelMode/ReactJs/index.html b/apps/demos/Demos/Scheduler/AllDayPanelMode/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Scheduler/AllDayPanelMode/ReactJs/index.html +++ b/apps/demos/Demos/Scheduler/AllDayPanelMode/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/Scheduler/AllDayPanelMode/Vue/index.html b/apps/demos/Demos/Scheduler/AllDayPanelMode/Vue/index.html index 53778bd14ad3..c7abf5532cd1 100644 --- a/apps/demos/Demos/Scheduler/AllDayPanelMode/Vue/index.html +++ b/apps/demos/Demos/Scheduler/AllDayPanelMode/Vue/index.html @@ -6,23 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Angular/app/app.component.ts b/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Angular/app/app.component.ts index 9152522a738e..c949cb951631 100644 --- a/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Angular/app/app.component.ts +++ b/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Angular/app/app.component.ts @@ -7,15 +7,9 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, + templateUrl: './app.component.html', providers: [Service], imports: [ DxSchedulerModule, diff --git a/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Angular/index.html b/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Angular/index.html +++ b/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Scheduler/AppointmentCountPerCell/React/index.html b/apps/demos/Demos/Scheduler/AppointmentCountPerCell/React/index.html index cfb9b3aa6769..3551d62c9efe 100644 --- a/apps/demos/Demos/Scheduler/AppointmentCountPerCell/React/index.html +++ b/apps/demos/Demos/Scheduler/AppointmentCountPerCell/React/index.html @@ -6,18 +6,12 @@ - - - - - -
+ + diff --git a/apps/demos/Demos/Scheduler/AppointmentCountPerCell/ReactJs/index.html b/apps/demos/Demos/Scheduler/AppointmentCountPerCell/ReactJs/index.html index d6d83f735a76..3551d62c9efe 100644 --- a/apps/demos/Demos/Scheduler/AppointmentCountPerCell/ReactJs/index.html +++ b/apps/demos/Demos/Scheduler/AppointmentCountPerCell/ReactJs/index.html @@ -2,38 +2,16 @@ DevExtreme Demo - - - - - - - - - + + + + -
+ + diff --git a/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Vue/index.html b/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Vue/index.html index c90687f1390f..73454624c3fc 100644 --- a/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Vue/index.html +++ b/apps/demos/Demos/Scheduler/AppointmentCountPerCell/Vue/index.html @@ -6,22 +6,12 @@ - - - - - -
+ + diff --git a/apps/demos/Demos/Scheduler/BasicViews/Angular/app/app.component.ts b/apps/demos/Demos/Scheduler/BasicViews/Angular/app/app.component.ts index 9b1b6f263ac4..2e5e78b448d8 100644 --- a/apps/demos/Demos/Scheduler/BasicViews/Angular/app/app.component.ts +++ b/apps/demos/Demos/Scheduler/BasicViews/Angular/app/app.component.ts @@ -7,15 +7,9 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, + templateUrl: './app.component.html', providers: [Service], imports: [ DxSchedulerModule, diff --git a/apps/demos/Demos/Scheduler/BasicViews/Angular/index.html b/apps/demos/Demos/Scheduler/BasicViews/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Scheduler/BasicViews/Angular/index.html +++ b/apps/demos/Demos/Scheduler/BasicViews/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Scheduler/BasicViews/React/index.html b/apps/demos/Demos/Scheduler/BasicViews/React/index.html index cfb9b3aa6769..3551d62c9efe 100644 --- a/apps/demos/Demos/Scheduler/BasicViews/React/index.html +++ b/apps/demos/Demos/Scheduler/BasicViews/React/index.html @@ -6,18 +6,12 @@ - - - - - -
+ + diff --git a/apps/demos/Demos/Scheduler/BasicViews/ReactJs/index.html b/apps/demos/Demos/Scheduler/BasicViews/ReactJs/index.html index d6d83f735a76..3551d62c9efe 100644 --- a/apps/demos/Demos/Scheduler/BasicViews/ReactJs/index.html +++ b/apps/demos/Demos/Scheduler/BasicViews/ReactJs/index.html @@ -2,38 +2,16 @@ DevExtreme Demo - - - - - - - - - + + + + -
+ + diff --git a/apps/demos/Demos/Scheduler/BasicViews/Vue/index.html b/apps/demos/Demos/Scheduler/BasicViews/Vue/index.html index c90687f1390f..73454624c3fc 100644 --- a/apps/demos/Demos/Scheduler/BasicViews/Vue/index.html +++ b/apps/demos/Demos/Scheduler/BasicViews/Vue/index.html @@ -6,22 +6,12 @@ - - - - - -
+ + diff --git a/apps/demos/Demos/Scheduler/CellTemplates/Angular/app/app.component.ts b/apps/demos/Demos/Scheduler/CellTemplates/Angular/app/app.component.ts index 8faf3b88f9cd..cf44c23044d7 100644 --- a/apps/demos/Demos/Scheduler/CellTemplates/Angular/app/app.component.ts +++ b/apps/demos/Demos/Scheduler/CellTemplates/Angular/app/app.component.ts @@ -17,16 +17,10 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], providers: [DataService], imports: [ DxSchedulerModule, diff --git a/apps/demos/Demos/Scheduler/CellTemplates/Angular/index.html b/apps/demos/Demos/Scheduler/CellTemplates/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Scheduler/CellTemplates/Angular/index.html +++ b/apps/demos/Demos/Scheduler/CellTemplates/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Scheduler/CellTemplates/React/index.html b/apps/demos/Demos/Scheduler/CellTemplates/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Scheduler/CellTemplates/React/index.html +++ b/apps/demos/Demos/Scheduler/CellTemplates/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/Scheduler/CellTemplates/ReactJs/index.html b/apps/demos/Demos/Scheduler/CellTemplates/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Scheduler/CellTemplates/ReactJs/index.html +++ b/apps/demos/Demos/Scheduler/CellTemplates/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/Scheduler/CellTemplates/Vue/index.html b/apps/demos/Demos/Scheduler/CellTemplates/Vue/index.html index a2bccf53dec3..c7abf5532cd1 100644 --- a/apps/demos/Demos/Scheduler/CellTemplates/Vue/index.html +++ b/apps/demos/Demos/Scheduler/CellTemplates/Vue/index.html @@ -6,28 +6,13 @@ - - - - - - - + -
+ + diff --git a/apps/demos/Demos/Scheduler/ContextMenu/Angular/app/app.component.ts b/apps/demos/Demos/Scheduler/ContextMenu/Angular/app/app.component.ts index dbb0f9ffb696..fa3b3230547d 100644 --- a/apps/demos/Demos/Scheduler/ContextMenu/Angular/app/app.component.ts +++ b/apps/demos/Demos/Scheduler/ContextMenu/Angular/app/app.component.ts @@ -13,16 +13,10 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], providers: [Service], imports: [ DxSchedulerModule, diff --git a/apps/demos/Demos/Scheduler/ContextMenu/Angular/index.html b/apps/demos/Demos/Scheduler/ContextMenu/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Scheduler/ContextMenu/Angular/index.html +++ b/apps/demos/Demos/Scheduler/ContextMenu/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Scheduler/ContextMenu/React/index.html b/apps/demos/Demos/Scheduler/ContextMenu/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Scheduler/ContextMenu/React/index.html +++ b/apps/demos/Demos/Scheduler/ContextMenu/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/Scheduler/ContextMenu/ReactJs/index.html b/apps/demos/Demos/Scheduler/ContextMenu/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Scheduler/ContextMenu/ReactJs/index.html +++ b/apps/demos/Demos/Scheduler/ContextMenu/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/Scheduler/ContextMenu/Vue/index.html b/apps/demos/Demos/Scheduler/ContextMenu/Vue/index.html index c90687f1390f..c7abf5532cd1 100644 --- a/apps/demos/Demos/Scheduler/ContextMenu/Vue/index.html +++ b/apps/demos/Demos/Scheduler/ContextMenu/Vue/index.html @@ -6,22 +6,13 @@ - - - - - + -
+ + diff --git a/apps/demos/Demos/Scheduler/CreateFromSelection/Angular/app/app.component.ts b/apps/demos/Demos/Scheduler/CreateFromSelection/Angular/app/app.component.ts index ca135b366a8b..2ee2e0d14b33 100644 --- a/apps/demos/Demos/Scheduler/CreateFromSelection/Angular/app/app.component.ts +++ b/apps/demos/Demos/Scheduler/CreateFromSelection/Angular/app/app.component.ts @@ -7,15 +7,9 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, + templateUrl: './app.component.html', providers: [Service], imports: [ DxSchedulerModule, diff --git a/apps/demos/Demos/Scheduler/CreateFromSelection/Angular/index.html b/apps/demos/Demos/Scheduler/CreateFromSelection/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Scheduler/CreateFromSelection/Angular/index.html +++ b/apps/demos/Demos/Scheduler/CreateFromSelection/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Scheduler/CreateFromSelection/React/index.html b/apps/demos/Demos/Scheduler/CreateFromSelection/React/index.html index ee451f8288ff..3551d62c9efe 100644 --- a/apps/demos/Demos/Scheduler/CreateFromSelection/React/index.html +++ b/apps/demos/Demos/Scheduler/CreateFromSelection/React/index.html @@ -6,19 +6,12 @@ - - - - - - -
+ + diff --git a/apps/demos/Demos/Scheduler/CreateFromSelection/ReactJs/index.html b/apps/demos/Demos/Scheduler/CreateFromSelection/ReactJs/index.html index db31b0fd60c6..3551d62c9efe 100644 --- a/apps/demos/Demos/Scheduler/CreateFromSelection/ReactJs/index.html +++ b/apps/demos/Demos/Scheduler/CreateFromSelection/ReactJs/index.html @@ -2,43 +2,16 @@ DevExtreme Demo - - - - - - - - - - + + + + -
+ + diff --git a/apps/demos/Demos/Scheduler/CreateFromSelection/Vue/index.html b/apps/demos/Demos/Scheduler/CreateFromSelection/Vue/index.html index c90687f1390f..73454624c3fc 100644 --- a/apps/demos/Demos/Scheduler/CreateFromSelection/Vue/index.html +++ b/apps/demos/Demos/Scheduler/CreateFromSelection/Vue/index.html @@ -6,22 +6,12 @@ - - - - - -
+ + diff --git a/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Angular/app/app.component.ts b/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Angular/app/app.component.ts index 1faa66173fb1..860074396dff 100644 --- a/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Angular/app/app.component.ts +++ b/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Angular/app/app.component.ts @@ -20,16 +20,10 @@ if (!/localhost/.test(document.location.host)) { enableProdMode(); } -let modulePrefix = ''; -// @ts-ignore -if (window && window.config?.packageConfigPaths) { - modulePrefix = '/app'; -} - @Component({ selector: 'demo-app', - templateUrl: `.${modulePrefix}/app.component.html`, - styleUrls: [`.${modulePrefix}/app.component.css`], + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], providers: [Service], preserveWhitespaces: true, imports: [ diff --git a/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Angular/index.html b/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Angular/index.html index 1ab1fb54a1df..7dd155b53981 100644 --- a/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Angular/index.html +++ b/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Angular/index.html @@ -1,26 +1,17 @@ - + DevExtreme Demo - - - - - - - - -
Loading...
+ + diff --git a/apps/demos/Demos/Scheduler/CurrentTimeIndicator/React/index.html b/apps/demos/Demos/Scheduler/CurrentTimeIndicator/React/index.html index ee451f8288ff..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Scheduler/CurrentTimeIndicator/React/index.html +++ b/apps/demos/Demos/Scheduler/CurrentTimeIndicator/React/index.html @@ -6,19 +6,13 @@ - - - - - - + -
+ + diff --git a/apps/demos/Demos/Scheduler/CurrentTimeIndicator/ReactJs/index.html b/apps/demos/Demos/Scheduler/CurrentTimeIndicator/ReactJs/index.html index db31b0fd60c6..b6ad2f9b1595 100644 --- a/apps/demos/Demos/Scheduler/CurrentTimeIndicator/ReactJs/index.html +++ b/apps/demos/Demos/Scheduler/CurrentTimeIndicator/ReactJs/index.html @@ -2,43 +2,17 @@ DevExtreme Demo - - - - - - - - - - + + + + + -
+ + diff --git a/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Vue/App.vue b/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Vue/App.vue index 922ef39e7bc8..283e18a558d3 100644 --- a/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Vue/App.vue +++ b/apps/demos/Demos/Scheduler/CurrentTimeIndicator/Vue/App.vue @@ -91,7 +91,7 @@ function onAppointmentDblClick(e: DxSchedulerTypes.AppointmentDblClickEvent) { } -