0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 02:50:28 +01:00
Dieser Commit ist enthalten in:
Angus McLeod 2020-05-28 13:06:06 +10:00
Ursprung afb543e0de
Commit 0c7d6f97fc
11 geänderte Dateien mit 11 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -6,6 +6,7 @@ import wizardSchema from '../lib/wizard-schema';
import UndoChanges from '../mixins/undo-changes'; import UndoChanges from '../mixins/undo-changes';
import Component from "@ember/component"; import Component from "@ember/component";
import { notificationLevels } from '../lib/wizard'; import { notificationLevels } from '../lib/wizard';
import I18n from "I18n";
export default Component.extend(UndoChanges, { export default Component.extend(UndoChanges, {
componentType: 'action', componentType: 'action',

Datei anzeigen

@ -1,5 +1,6 @@
import Component from "@ember/component"; import Component from "@ember/component";
import { A } from "@ember/array"; import { A } from "@ember/array";
import I18n from "I18n";
export default Component.extend({ export default Component.extend({
classNames: ['container', 'export'], classNames: ['container', 'export'],

Datei anzeigen

@ -2,6 +2,7 @@ import { ajax } from 'discourse/lib/ajax';
import { default as discourseComputed } from 'discourse-common/utils/decorators'; import { default as discourseComputed } from 'discourse-common/utils/decorators';
import { notEmpty } from "@ember/object/computed"; import { notEmpty } from "@ember/object/computed";
import Component from "@ember/component"; import Component from "@ember/component";
import I18n from "I18n";
export default Component.extend({ export default Component.extend({
classNames: ['container', 'import'], classNames: ['container', 'import'],

Datei anzeigen

@ -4,6 +4,7 @@ import { computed } from "@ember/object";
import { defaultConnector } from '../lib/wizard-mapper'; import { defaultConnector } from '../lib/wizard-mapper';
import { later } from "@ember/runloop"; import { later } from "@ember/runloop";
import { observes } from "discourse-common/utils/decorators"; import { observes } from "discourse-common/utils/decorators";
import I18n from "I18n";
export default Component.extend({ export default Component.extend({
classNameBindings: [':mapper-connector', ':mapper-block', 'hasMultiple::single'], classNameBindings: [':mapper-connector', ':mapper-block', 'hasMultiple::single'],

Datei anzeigen

@ -6,6 +6,7 @@ import { defaultSelectionType, selectionTypes } from '../lib/wizard-mapper';
import { snakeCase, generateName, userProperties } from '../lib/wizard'; import { snakeCase, generateName, userProperties } from '../lib/wizard';
import Component from "@ember/component"; import Component from "@ember/component";
import { bind, later } from "@ember/runloop"; import { bind, later } from "@ember/runloop";
import I18n from "I18n";
export default Component.extend({ export default Component.extend({
classNameBindings: [':mapper-selector', 'activeType'], classNameBindings: [':mapper-selector', 'activeType'],

Datei anzeigen

@ -1,5 +1,6 @@
import { default as discourseComputed } from 'discourse-common/utils/decorators'; import { default as discourseComputed } from 'discourse-common/utils/decorators';
import Component from "@ember/component"; import Component from "@ember/component";
import I18n from "I18n";
export default Component.extend({ export default Component.extend({
classNames: 'wizard-message', classNames: 'wizard-message',

Datei anzeigen

@ -3,6 +3,7 @@ import { notEmpty } from "@ember/object/computed";
import { userProperties } from '../lib/wizard'; import { userProperties } from '../lib/wizard';
import { scheduleOnce } from "@ember/runloop"; import { scheduleOnce } from "@ember/runloop";
import Component from "@ember/component"; import Component from "@ember/component";
import I18n from "I18n";
export default Component.extend({ export default Component.extend({
classNames: 'wizard-text-editor', classNames: 'wizard-text-editor',

Datei anzeigen

@ -5,6 +5,7 @@ import { default as discourseComputed } from 'discourse-common/utils/decorators'
import { not, and, equal } from "@ember/object/computed"; import { not, and, equal } from "@ember/object/computed";
import { selectKitContent } from '../lib/wizard'; import { selectKitContent } from '../lib/wizard';
import Controller from "@ember/controller"; import Controller from "@ember/controller";
import I18n from "I18n";
export default Controller.extend({ export default Controller.extend({
queryParams: ['refresh_list'], queryParams: ['refresh_list'],

Datei anzeigen

@ -9,6 +9,7 @@ import { scheduleOnce, later } from "@ember/runloop";
import Controller from "@ember/controller"; import Controller from "@ember/controller";
import copyText from "discourse/lib/copy-text"; import copyText from "discourse/lib/copy-text";
import CustomWizard from '../models/custom-wizard'; import CustomWizard from '../models/custom-wizard';
import I18n from "I18n";
export default Controller.extend({ export default Controller.extend({
hasName: notEmpty('wizard.name'), hasName: notEmpty('wizard.name'),

Datei anzeigen

@ -1,5 +1,6 @@
import EmberObject from "@ember/object"; import EmberObject from "@ember/object";
import { A } from "@ember/array"; import { A } from "@ember/array";
import I18n from "I18n";
// Inputs // Inputs

Datei anzeigen

@ -1,6 +1,7 @@
import CustomWizard from '../models/custom-wizard'; import CustomWizard from '../models/custom-wizard';
import { ajax } from 'discourse/lib/ajax'; import { ajax } from 'discourse/lib/ajax';
import DiscourseRoute from "discourse/routes/discourse"; import DiscourseRoute from "discourse/routes/discourse";
import I18n from "I18n";
export default DiscourseRoute.extend({ export default DiscourseRoute.extend({
model(params) { model(params) {