├── .github ├── ISSUE_TEMPLATE │ └── bug_report.md └── workflows │ └── compile-with-prettier.yml ├── .prettierrc ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── composer.json ├── dist ├── js │ ├── field.js │ └── field.js.LICENSE.txt └── mix-manifest.json ├── package.json ├── resources ├── js │ ├── field.js │ ├── mixins │ │ ├── FindsNovaElements.js │ │ └── UnpublishesModels.js │ ├── nova-draft-button │ │ └── components │ │ │ ├── DetailButton.vue │ │ │ └── FormButton.vue │ ├── nova-published-field │ │ └── components │ │ │ ├── DetailButton.vue │ │ │ ├── IndexField.vue │ │ │ ├── PublishButton.vue │ │ │ └── PublishIndicator.vue │ └── nova-unpublish-button │ │ ├── Detail.vue │ │ └── Form.vue └── lang │ └── en.json ├── routes └── api.php ├── src ├── Commands │ └── CreateDraftsMigration.php ├── DraftButton.php ├── FieldServiceProvider.php ├── Http │ └── DraftController.php ├── Models │ └── Draft.php ├── PublishedField.php ├── Stubs │ └── DraftMigrationStub.php ├── Traits │ └── HasDrafts.php └── UnpublishButton.php └── webpack.mix.js /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/workflows/compile-with-prettier.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/.github/workflows/compile-with-prettier.yml -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/composer.json -------------------------------------------------------------------------------- /dist/js/field.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/dist/js/field.js -------------------------------------------------------------------------------- /dist/js/field.js.LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/dist/js/field.js.LICENSE.txt -------------------------------------------------------------------------------- /dist/mix-manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/dist/mix-manifest.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/package.json -------------------------------------------------------------------------------- /resources/js/field.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/js/field.js -------------------------------------------------------------------------------- /resources/js/mixins/FindsNovaElements.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/js/mixins/FindsNovaElements.js -------------------------------------------------------------------------------- /resources/js/mixins/UnpublishesModels.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/js/mixins/UnpublishesModels.js -------------------------------------------------------------------------------- /resources/js/nova-draft-button/components/DetailButton.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/js/nova-draft-button/components/DetailButton.vue -------------------------------------------------------------------------------- /resources/js/nova-draft-button/components/FormButton.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/js/nova-draft-button/components/FormButton.vue -------------------------------------------------------------------------------- /resources/js/nova-published-field/components/DetailButton.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/js/nova-published-field/components/DetailButton.vue -------------------------------------------------------------------------------- /resources/js/nova-published-field/components/IndexField.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/js/nova-published-field/components/IndexField.vue -------------------------------------------------------------------------------- /resources/js/nova-published-field/components/PublishButton.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/js/nova-published-field/components/PublishButton.vue -------------------------------------------------------------------------------- /resources/js/nova-published-field/components/PublishIndicator.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/js/nova-published-field/components/PublishIndicator.vue -------------------------------------------------------------------------------- /resources/js/nova-unpublish-button/Detail.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/js/nova-unpublish-button/Detail.vue -------------------------------------------------------------------------------- /resources/js/nova-unpublish-button/Form.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/js/nova-unpublish-button/Form.vue -------------------------------------------------------------------------------- /resources/lang/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/resources/lang/en.json -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/routes/api.php -------------------------------------------------------------------------------- /src/Commands/CreateDraftsMigration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/src/Commands/CreateDraftsMigration.php -------------------------------------------------------------------------------- /src/DraftButton.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/src/DraftButton.php -------------------------------------------------------------------------------- /src/FieldServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/src/FieldServiceProvider.php -------------------------------------------------------------------------------- /src/Http/DraftController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/src/Http/DraftController.php -------------------------------------------------------------------------------- /src/Models/Draft.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/src/Models/Draft.php -------------------------------------------------------------------------------- /src/PublishedField.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/src/PublishedField.php -------------------------------------------------------------------------------- /src/Stubs/DraftMigrationStub.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/src/Stubs/DraftMigrationStub.php -------------------------------------------------------------------------------- /src/Traits/HasDrafts.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/src/Traits/HasDrafts.php -------------------------------------------------------------------------------- /src/UnpublishButton.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/src/UnpublishButton.php -------------------------------------------------------------------------------- /webpack.mix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outl1ne/nova-drafts/HEAD/webpack.mix.js --------------------------------------------------------------------------------