Initial Spark Install
This commit is contained in:
23
spark/install-stubs/resources/assets/js/app.js
vendored
Normal file
23
spark/install-stubs/resources/assets/js/app.js
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Laravel Spark Bootstrap
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| First, we will load all of the "core" dependencies for Spark which are
|
||||
| libraries such as Vue and jQuery. This also loads the Spark helpers
|
||||
| for things such as HTTP calls, forms, and form validation errors.
|
||||
|
|
||||
| Next, we'll create the root Vue application for Spark. This will start
|
||||
| the entire application and attach it to the DOM. Of course, you may
|
||||
| customize this script as you desire and load your own components.
|
||||
|
|
||||
*/
|
||||
|
||||
require('spark-bootstrap');
|
||||
|
||||
require('./components/bootstrap');
|
||||
|
||||
var app = new Vue({
|
||||
mixins: [require('spark')]
|
||||
});
|
14
spark/install-stubs/resources/assets/js/components/bootstrap.js
vendored
Normal file
14
spark/install-stubs/resources/assets/js/components/bootstrap.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Laravel Spark Components
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here we will load the Spark components which makes up the core client
|
||||
| application. This is also a convenient spot for you to load all of
|
||||
| your components that you write while building your applications.
|
||||
*/
|
||||
|
||||
require('./../spark-components/bootstrap');
|
||||
|
||||
require('./home');
|
7
spark/install-stubs/resources/assets/js/components/home.js
vendored
Normal file
7
spark/install-stubs/resources/assets/js/components/home.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Vue.component('home', {
|
||||
props: ['user'],
|
||||
|
||||
mounted() {
|
||||
//
|
||||
}
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/auth/register-braintree.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/auth/register-braintree.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('auth/register-braintree');
|
||||
|
||||
Vue.component('spark-register-braintree', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/auth/register-stripe.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/auth/register-stripe.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('auth/register-stripe');
|
||||
|
||||
Vue.component('spark-register-stripe', {
|
||||
mixins: [base]
|
||||
});
|
92
spark/install-stubs/resources/assets/js/spark-components/bootstrap.js
vendored
Normal file
92
spark/install-stubs/resources/assets/js/spark-components/bootstrap.js
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
|
||||
/**
|
||||
* Layout Components...
|
||||
*/
|
||||
require('./navbar/navbar');
|
||||
require('./notifications/notifications');
|
||||
|
||||
/**
|
||||
* Authentication Components...
|
||||
*/
|
||||
require('./auth/register-stripe');
|
||||
require('./auth/register-braintree');
|
||||
|
||||
/**
|
||||
* Settings Component...
|
||||
*/
|
||||
require('./settings/settings');
|
||||
|
||||
/**
|
||||
* Profile Settings Components...
|
||||
*/
|
||||
require('./settings/profile');
|
||||
require('./settings/profile/update-profile-photo');
|
||||
require('./settings/profile/update-contact-information');
|
||||
|
||||
/**
|
||||
* Teams Settings Components...
|
||||
*/
|
||||
require('./settings/teams');
|
||||
require('./settings/teams/create-team');
|
||||
require('./settings/teams/pending-invitations');
|
||||
require('./settings/teams/current-teams');
|
||||
require('./settings/teams/team-settings');
|
||||
require('./settings/teams/team-profile');
|
||||
require('./settings/teams/update-team-photo');
|
||||
require('./settings/teams/update-team-name');
|
||||
require('./settings/teams/team-membership');
|
||||
require('./settings/teams/send-invitation');
|
||||
require('./settings/teams/mailed-invitations');
|
||||
require('./settings/teams/team-members');
|
||||
|
||||
/**
|
||||
* Security Settings Components...
|
||||
*/
|
||||
require('./settings/security');
|
||||
require('./settings/security/update-password');
|
||||
require('./settings/security/enable-two-factor-auth');
|
||||
require('./settings/security/disable-two-factor-auth');
|
||||
|
||||
/**
|
||||
* API Settings Components...
|
||||
*/
|
||||
require('./settings/api');
|
||||
require('./settings/api/create-token');
|
||||
require('./settings/api/tokens');
|
||||
|
||||
/**
|
||||
* Subscription Settings Components...
|
||||
*/
|
||||
require('./settings/subscription');
|
||||
require('./settings/subscription/subscribe-stripe');
|
||||
require('./settings/subscription/subscribe-braintree');
|
||||
require('./settings/subscription/update-subscription');
|
||||
require('./settings/subscription/resume-subscription');
|
||||
require('./settings/subscription/cancel-subscription');
|
||||
|
||||
/**
|
||||
* Payment Method Components...
|
||||
*/
|
||||
require('./settings/payment-method-stripe');
|
||||
require('./settings/payment-method-braintree');
|
||||
require('./settings/payment-method/update-vat-id');
|
||||
require('./settings/payment-method/update-payment-method-stripe');
|
||||
require('./settings/payment-method/update-payment-method-braintree');
|
||||
require('./settings/payment-method/redeem-coupon');
|
||||
|
||||
/**
|
||||
* Billing History Components...
|
||||
*/
|
||||
require('./settings/invoices');
|
||||
require('./settings/invoices/update-extra-billing-information');
|
||||
require('./settings/invoices/invoice-list');
|
||||
|
||||
/**
|
||||
* Kiosk Components...
|
||||
*/
|
||||
require('./kiosk/kiosk');
|
||||
require('./kiosk/announcements');
|
||||
require('./kiosk/metrics');
|
||||
require('./kiosk/users');
|
||||
require('./kiosk/profile');
|
||||
require('./kiosk/add-discount');
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/add-discount.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/add-discount.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/add-discount');
|
||||
|
||||
Vue.component('spark-kiosk-add-discount', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/announcements.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/announcements.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/announcements');
|
||||
|
||||
Vue.component('spark-kiosk-announcements', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/kiosk.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/kiosk.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/kiosk');
|
||||
|
||||
Vue.component('spark-kiosk', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/metrics.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/metrics.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/metrics');
|
||||
|
||||
Vue.component('spark-kiosk-metrics', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/profile.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/profile.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/profile');
|
||||
|
||||
Vue.component('spark-kiosk-profile', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/users.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/users.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/users');
|
||||
|
||||
Vue.component('spark-kiosk-users', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/navbar/navbar.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/navbar/navbar.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('navbar/navbar');
|
||||
|
||||
Vue.component('spark-navbar', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/notifications/notifications.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/notifications/notifications.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('notifications/notifications');
|
||||
|
||||
Vue.component('spark-notifications', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/api.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/api.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/api');
|
||||
|
||||
Vue.component('spark-api', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/api/create-token.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/api/create-token.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/api/create-token');
|
||||
|
||||
Vue.component('spark-create-token', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/api/tokens.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/api/tokens.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/api/tokens');
|
||||
|
||||
Vue.component('spark-tokens', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/invoices.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/invoices.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/invoices');
|
||||
|
||||
Vue.component('spark-invoices', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/invoices/invoice-list.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/invoices/invoice-list.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/invoices/invoice-list');
|
||||
|
||||
Vue.component('spark-invoice-list', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/invoices/update-extra-billing-information');
|
||||
|
||||
Vue.component('spark-update-extra-billing-information', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method-braintree');
|
||||
|
||||
Vue.component('spark-payment-method-braintree', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/payment-method-stripe.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/payment-method-stripe.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method-stripe');
|
||||
|
||||
Vue.component('spark-payment-method-stripe', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method/redeem-coupon');
|
||||
|
||||
Vue.component('spark-redeem-coupon', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method/update-payment-method-braintree');
|
||||
|
||||
Vue.component('spark-update-payment-method-braintree', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method/update-payment-method-stripe');
|
||||
|
||||
Vue.component('spark-update-payment-method-stripe', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method/update-vat-id');
|
||||
|
||||
Vue.component('spark-update-vat-id', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/profile.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/profile.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/profile');
|
||||
|
||||
Vue.component('spark-profile', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/profile/update-contact-information');
|
||||
|
||||
Vue.component('spark-update-contact-information', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/profile/update-profile-photo');
|
||||
|
||||
Vue.component('spark-update-profile-photo', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/security.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/security.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/security');
|
||||
|
||||
Vue.component('spark-security', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/security/disable-two-factor-auth');
|
||||
|
||||
Vue.component('spark-disable-two-factor-auth', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/security/enable-two-factor-auth');
|
||||
|
||||
Vue.component('spark-enable-two-factor-auth', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/security/update-password');
|
||||
|
||||
Vue.component('spark-update-password', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/settings.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/settings.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/settings');
|
||||
|
||||
Vue.component('spark-settings', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/subscription.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/subscription.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription');
|
||||
|
||||
Vue.component('spark-subscription', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription/cancel-subscription');
|
||||
|
||||
Vue.component('spark-cancel-subscription', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription/resume-subscription');
|
||||
|
||||
Vue.component('spark-resume-subscription', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription/subscribe-braintree');
|
||||
|
||||
Vue.component('spark-subscribe-braintree', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription/subscribe-stripe');
|
||||
|
||||
Vue.component('spark-subscribe-stripe', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription/update-subscription');
|
||||
|
||||
Vue.component('spark-update-subscription', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams');
|
||||
|
||||
Vue.component('spark-teams', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/create-team.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/create-team.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/create-team');
|
||||
|
||||
Vue.component('spark-create-team', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/current-teams.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/current-teams.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/current-teams');
|
||||
|
||||
Vue.component('spark-current-teams', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/mailed-invitations');
|
||||
|
||||
Vue.component('spark-mailed-invitations', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/pending-invitations');
|
||||
|
||||
Vue.component('spark-pending-invitations', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/send-invitation.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/send-invitation.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/send-invitation');
|
||||
|
||||
Vue.component('spark-send-invitation', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-members.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-members.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/team-members');
|
||||
|
||||
Vue.component('spark-team-members', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-membership.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-membership.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/team-membership');
|
||||
|
||||
Vue.component('spark-team-membership', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-profile.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-profile.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/team-profile');
|
||||
|
||||
Vue.component('spark-team-profile', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-settings.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-settings.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/team-settings');
|
||||
|
||||
Vue.component('spark-team-settings', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/update-team-name.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/update-team-name.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/update-team-name');
|
||||
|
||||
Vue.component('spark-update-team-name', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/update-team-photo.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/update-team-photo.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/update-team-photo');
|
||||
|
||||
Vue.component('spark-update-team-photo', {
|
||||
mixins: [base]
|
||||
});
|
Reference in New Issue
Block a user