├── .eslintignore ├── .eslintrc.json ├── .github └── workflows │ └── azure-static-web-apps-mango-sea-05aa22700.yml ├── .gitignore ├── .prettierrc.json ├── .stylelintrc.json ├── LICENSE ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public ├── locales │ ├── en │ │ ├── ControlPane.json │ │ ├── Error.json │ │ ├── Header.json │ │ ├── ItemPane.json │ │ ├── MainArea.json │ │ ├── Note.json │ │ ├── NotificationPanel.json │ │ ├── PlacedItemPane.json │ │ └── Share.json │ ├── ja │ │ ├── ControlPane.json │ │ ├── Error.json │ │ ├── Header.json │ │ ├── ItemPane.json │ │ ├── MainArea.json │ │ ├── Note.json │ │ ├── NotificationPanel.json │ │ ├── PlacedItemPane.json │ │ └── Share.json │ ├── ko │ │ ├── ControlPane.json │ │ ├── Error.json │ │ ├── Header.json │ │ ├── ItemPane.json │ │ ├── MainArea.json │ │ ├── Note.json │ │ ├── NotificationPanel.json │ │ ├── PlacedItemPane.json │ │ └── Share.json │ └── zh-CN │ │ ├── ControlPane.json │ │ ├── Error.json │ │ ├── Header.json │ │ ├── ItemPane.json │ │ ├── MainArea.json │ │ ├── Note.json │ │ ├── NotificationPanel.json │ │ ├── PlacedItemPane.json │ │ └── Share.json └── vite.svg ├── simulator ├── Cargo.lock ├── Cargo.toml ├── result.txt └── src │ ├── generator.rs │ ├── main.rs │ └── simulator.rs ├── src ├── App.css ├── App.tsx ├── assets │ └── react.svg ├── components │ ├── Board.css │ ├── Board.tsx │ ├── ControlPane.tsx │ ├── Cover.tsx │ ├── Header.tsx │ ├── ItemPane.tsx │ ├── MainArea.tsx │ ├── Note.tsx │ ├── NotificationPanel.tsx │ ├── Overlay.css │ ├── Overlay.tsx │ ├── OverlayProvider.tsx │ ├── PlaceSelectHelper.tsx │ ├── PlacedItemPane.tsx │ ├── PlacedItemSquare.tsx │ ├── ShareButton.tsx │ └── workers │ │ └── ProbCalcWorker.ts ├── i18n.ts ├── index.css ├── main.tsx └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json ├── vite.config.ts └── wasm ├── .github └── dependabot.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── src ├── grid.rs ├── lib.rs ├── problem.rs ├── solver.rs ├── solver │ └── counter.rs └── utils.rs └── tests └── web.rs /.eslintignore: -------------------------------------------------------------------------------- 1 | vite.config.ts -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/azure-static-web-apps-mango-sea-05aa22700.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/.github/workflows/azure-static-web-apps-mango-sea-05aa22700.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.stylelintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/.stylelintrc.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/README.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/locales/en/ControlPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/en/ControlPane.json -------------------------------------------------------------------------------- /public/locales/en/Error.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/en/Error.json -------------------------------------------------------------------------------- /public/locales/en/Header.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/en/Header.json -------------------------------------------------------------------------------- /public/locales/en/ItemPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/en/ItemPane.json -------------------------------------------------------------------------------- /public/locales/en/MainArea.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/en/MainArea.json -------------------------------------------------------------------------------- /public/locales/en/Note.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/en/Note.json -------------------------------------------------------------------------------- /public/locales/en/NotificationPanel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/en/NotificationPanel.json -------------------------------------------------------------------------------- /public/locales/en/PlacedItemPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/en/PlacedItemPane.json -------------------------------------------------------------------------------- /public/locales/en/Share.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/en/Share.json -------------------------------------------------------------------------------- /public/locales/ja/ControlPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ja/ControlPane.json -------------------------------------------------------------------------------- /public/locales/ja/Error.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ja/Error.json -------------------------------------------------------------------------------- /public/locales/ja/Header.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ja/Header.json -------------------------------------------------------------------------------- /public/locales/ja/ItemPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ja/ItemPane.json -------------------------------------------------------------------------------- /public/locales/ja/MainArea.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ja/MainArea.json -------------------------------------------------------------------------------- /public/locales/ja/Note.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ja/Note.json -------------------------------------------------------------------------------- /public/locales/ja/NotificationPanel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ja/NotificationPanel.json -------------------------------------------------------------------------------- /public/locales/ja/PlacedItemPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ja/PlacedItemPane.json -------------------------------------------------------------------------------- /public/locales/ja/Share.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ja/Share.json -------------------------------------------------------------------------------- /public/locales/ko/ControlPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ko/ControlPane.json -------------------------------------------------------------------------------- /public/locales/ko/Error.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ko/Error.json -------------------------------------------------------------------------------- /public/locales/ko/Header.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ko/Header.json -------------------------------------------------------------------------------- /public/locales/ko/ItemPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ko/ItemPane.json -------------------------------------------------------------------------------- /public/locales/ko/MainArea.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ko/MainArea.json -------------------------------------------------------------------------------- /public/locales/ko/Note.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ko/Note.json -------------------------------------------------------------------------------- /public/locales/ko/NotificationPanel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ko/NotificationPanel.json -------------------------------------------------------------------------------- /public/locales/ko/PlacedItemPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ko/PlacedItemPane.json -------------------------------------------------------------------------------- /public/locales/ko/Share.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/ko/Share.json -------------------------------------------------------------------------------- /public/locales/zh-CN/ControlPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/zh-CN/ControlPane.json -------------------------------------------------------------------------------- /public/locales/zh-CN/Error.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/zh-CN/Error.json -------------------------------------------------------------------------------- /public/locales/zh-CN/Header.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/zh-CN/Header.json -------------------------------------------------------------------------------- /public/locales/zh-CN/ItemPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/zh-CN/ItemPane.json -------------------------------------------------------------------------------- /public/locales/zh-CN/MainArea.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/zh-CN/MainArea.json -------------------------------------------------------------------------------- /public/locales/zh-CN/Note.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/zh-CN/Note.json -------------------------------------------------------------------------------- /public/locales/zh-CN/NotificationPanel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/zh-CN/NotificationPanel.json -------------------------------------------------------------------------------- /public/locales/zh-CN/PlacedItemPane.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/zh-CN/PlacedItemPane.json -------------------------------------------------------------------------------- /public/locales/zh-CN/Share.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/locales/zh-CN/Share.json -------------------------------------------------------------------------------- /public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/public/vite.svg -------------------------------------------------------------------------------- /simulator/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/simulator/Cargo.lock -------------------------------------------------------------------------------- /simulator/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/simulator/Cargo.toml -------------------------------------------------------------------------------- /simulator/result.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/simulator/result.txt -------------------------------------------------------------------------------- /simulator/src/generator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/simulator/src/generator.rs -------------------------------------------------------------------------------- /simulator/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/simulator/src/main.rs -------------------------------------------------------------------------------- /simulator/src/simulator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/simulator/src/simulator.rs -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/App.css -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/assets/react.svg -------------------------------------------------------------------------------- /src/components/Board.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/Board.css -------------------------------------------------------------------------------- /src/components/Board.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/Board.tsx -------------------------------------------------------------------------------- /src/components/ControlPane.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/ControlPane.tsx -------------------------------------------------------------------------------- /src/components/Cover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/Cover.tsx -------------------------------------------------------------------------------- /src/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/Header.tsx -------------------------------------------------------------------------------- /src/components/ItemPane.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/ItemPane.tsx -------------------------------------------------------------------------------- /src/components/MainArea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/MainArea.tsx -------------------------------------------------------------------------------- /src/components/Note.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/Note.tsx -------------------------------------------------------------------------------- /src/components/NotificationPanel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/NotificationPanel.tsx -------------------------------------------------------------------------------- /src/components/Overlay.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/Overlay.css -------------------------------------------------------------------------------- /src/components/Overlay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/Overlay.tsx -------------------------------------------------------------------------------- /src/components/OverlayProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/OverlayProvider.tsx -------------------------------------------------------------------------------- /src/components/PlaceSelectHelper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/PlaceSelectHelper.tsx -------------------------------------------------------------------------------- /src/components/PlacedItemPane.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/PlacedItemPane.tsx -------------------------------------------------------------------------------- /src/components/PlacedItemSquare.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/PlacedItemSquare.tsx -------------------------------------------------------------------------------- /src/components/ShareButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/ShareButton.tsx -------------------------------------------------------------------------------- /src/components/workers/ProbCalcWorker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/components/workers/ProbCalcWorker.ts -------------------------------------------------------------------------------- /src/i18n.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/i18n.ts -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/index.css -------------------------------------------------------------------------------- /src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/src/main.tsx -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/vite.config.ts -------------------------------------------------------------------------------- /wasm/.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/wasm/.github/dependabot.yml -------------------------------------------------------------------------------- /wasm/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | pkg/ 3 | wasm-pack.log 4 | -------------------------------------------------------------------------------- /wasm/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/wasm/Cargo.lock -------------------------------------------------------------------------------- /wasm/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/wasm/Cargo.toml -------------------------------------------------------------------------------- /wasm/src/grid.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/wasm/src/grid.rs -------------------------------------------------------------------------------- /wasm/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/wasm/src/lib.rs -------------------------------------------------------------------------------- /wasm/src/problem.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/wasm/src/problem.rs -------------------------------------------------------------------------------- /wasm/src/solver.rs: -------------------------------------------------------------------------------- 1 | 2 | pub mod counter; 3 | -------------------------------------------------------------------------------- /wasm/src/solver/counter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/wasm/src/solver/counter.rs -------------------------------------------------------------------------------- /wasm/src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/wasm/src/utils.rs -------------------------------------------------------------------------------- /wasm/tests/web.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terry-u16/schale-inventory-management/HEAD/wasm/tests/web.rs --------------------------------------------------------------------------------