netzke-basepack 6.5.0.0.rc1 → 6.5.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abface49496fbac7db4c6a3ccbe7feba74ff737c
4
- data.tar.gz: 3f2d99ca02b0310ae057b6edfc720b4a2e813716
3
+ metadata.gz: 466d7d0c92b2341a000c7f9931f833acb3529b43
4
+ data.tar.gz: 475cbc128b6f078eb50c3336ccd0fa2957f94f07
5
5
  SHA512:
6
- metadata.gz: aec16ea92de9fe52f5dcd15ccd8a10cedeb95624fd0e3b5f699f71710053569a45f35fd5dcd4c33bb53c89931896de9fd2a5729e946c2c69d3002b74ef1ab8ef
7
- data.tar.gz: 0f18fb84455621cd1b9d721e36d8c89960f82d3d3cbf5b18368b2e66274ff66674eef7aaff4eca49815f8ae5c4b195b0aeb6346f69af9234e109440f4263ede0
6
+ metadata.gz: 69aaf8a7c3e7c00540dc7bd86aaf296cbdada4fcfafc2a1d2a2a2c31a04ca207f0a94a95baedfd79227c22db28ef0357ba52ab57747c8fe8b317fd0aee306b67
7
+ data.tar.gz: b879af62a8d4871d299a347792b7a96783caee05498eb4e6a85c653c2477e18971c8cbc3189a4684efed9052b479c0a5a6ce937f7ae7a5abee244158c74abe2d
@@ -1,16 +1,29 @@
1
- require 'netzke/basepack/version'
2
-
3
- require 'netzke/basepack/data_adapters/abstract_adapter'
4
-
5
- if defined? ActiveRecord
6
- require 'netzke/basepack/active_record'
7
- require 'netzke/basepack/data_adapters/active_record_adapter'
8
- end
9
-
10
- require 'netzke/basepack/item_persistence'
11
-
12
1
  module Netzke
13
2
  module Basepack
3
+ autoload :ActionColumn, 'netzke/basepack/action_column'
4
+ autoload :ActiveRecord, 'netzke/basepack/active_record'
5
+ autoload :AttrConfig, 'netzke/basepack/attr_config'
6
+ autoload :Attributes, 'netzke/basepack/attributes'
7
+ autoload :ColumnConfig, 'netzke/basepack/column_config'
8
+ autoload :Columns, 'netzke/basepack/columns'
9
+ autoload :DataAccessor, 'netzke/basepack/data_accessor'
10
+ autoload :DataAdapters, 'netzke/basepack/data_adapters'
11
+ autoload :DynamicTabPanel, 'netzke/basepack/dynamic_tab_panel'
12
+ autoload :FieldConfig, 'netzke/basepack/field_config'
13
+ autoload :Fields, 'netzke/basepack/fields'
14
+ autoload :GridLiveSearch, 'netzke/basepack/grid_live_search'
15
+ autoload :ItemPersistence, 'netzke/basepack/item_persistence'
16
+ autoload :PagingForm, 'netzke/basepack/paging_form'
17
+ autoload :QueryBuilder, 'netzke/basepack/query_builder'
18
+ autoload :RecordFormWindow, 'netzke/basepack/record_form_window'
19
+ autoload :SearchPanel, 'netzke/basepack/search_panel'
20
+ autoload :SearchWindow, 'netzke/basepack/search_window'
21
+ autoload :VERSION, 'netzke/basepack/version'
22
+
23
+ if defined? ActiveRecord
24
+ require 'netzke/basepack/data_adapters/active_record_adapter'
25
+ end
26
+
14
27
  mattr_accessor :with_icons
15
28
 
16
29
  mattr_accessor :icons_uri
@@ -0,0 +1,8 @@
1
+ module Netzke
2
+ module Basepack
3
+ module DataAdapters
4
+ autoload :AbstractAdapter, 'netzke/basepack/data_adapters/abstract_adapter'
5
+ autoload :ActiveRecordAdapter, 'netzke/basepack/data_adapters/active_record_adapter'
6
+ end
7
+ end
8
+ end
@@ -2,6 +2,8 @@ module Netzke
2
2
  module Basepack
3
3
  # When mixed into a component with resizable layout (e.g. border layout), this module enables persistence for regions size and collapsed/expanded state.
4
4
  module ItemPersistence
5
+ autoload :EventsPlugin, 'netzke/basepack/item_persistence/events_plugin'
6
+
5
7
  extend ActiveSupport::Concern
6
8
 
7
9
  included do
@@ -18,7 +18,7 @@ module Netzke
18
18
  #
19
19
  # == ToDo
20
20
  # * Update the number of records after form submit
21
- class PagingForm < Form
21
+ class PagingForm < Form::Base
22
22
  # override
23
23
  def record
24
24
  @record ||= model_adapter.first
@@ -1,5 +1,5 @@
1
1
  module Netzke
2
2
  module Basepack
3
- VERSION = "6.5.0.0.rc1"
3
+ VERSION = "6.5.0.0.rc2"
4
4
  end
5
5
  end
@@ -52,6 +52,10 @@ module Netzke
52
52
  #
53
53
  # * +submit+ - gets called when the form gets submitted (e.g. by pressing the Apply button, or by calling netzkeOnApply)
54
54
  # * +get_combobox_options+ - gets called when a 'remote' combobox field gets expanded
55
+
56
+ autoload :Endpoints, 'netzke/form/endpoints'
57
+ autoload :Services, 'netzke/form/services'
58
+
55
59
  class Base < Netzke::Base
56
60
  include Netzke::Form::Endpoints
57
61
  include Netzke::Form::Services
@@ -300,6 +300,15 @@ module Netzke
300
300
  # [search]
301
301
  #
302
302
  # Show advanced search query builder
303
+
304
+ autoload :Actions, 'netzke/grid/actions'
305
+ autoload :Client, 'netzke/grid/client'
306
+ autoload :Components, 'netzke/grid/components'
307
+ autoload :Configuration, 'netzke/grid/configuration'
308
+ autoload :Endpoints, 'netzke/grid/endpoints'
309
+ autoload :Permissions, 'netzke/grid/permissions'
310
+ autoload :Services, 'netzke/grid/services'
311
+
303
312
  class Base < Netzke::Base
304
313
  include Netzke::Grid::Configuration
305
314
  include Netzke::Grid::Endpoints
@@ -137,7 +137,7 @@
137
137
  },
138
138
 
139
139
  // Modifies store, to avoid bugs in Ext.js
140
- netzkeApplyStoreBugfixes(store) {
140
+ netzkeApplyStoreBugfixes: function(store) {
141
141
  store.totalCount = store.totalCount === undefined ? 0 : store.totalCount;
142
142
 
143
143
  store._oldGetRange = store.getRange
@@ -84,6 +84,9 @@ module Netzke
84
84
  # == Persisting nodes' expand/collapse state
85
85
  #
86
86
  # If the model includes the `expanded` DB field, the expand/collapse state will get stored in the DB.
87
+
88
+ autoload :Endpoints, 'netzke/tree/endpoints'
89
+
87
90
  class Base < Netzke::Base
88
91
  NODE_ATTRS = {
89
92
  boolean: %w[leaf checked expanded expandable qtip qtitle],
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netzke-basepack
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.5.0.0.rc1
4
+ version: 6.5.0.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Gorin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-11 00:00:00.000000000 Z
11
+ date: 2017-08-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A set of feature-rich extendible Netzke components (such as Grid, Tree,
14
14
  Form, Window) and component extensions which can be used as building blocks for
@@ -40,6 +40,7 @@ files:
40
40
  - lib/netzke/basepack/column_config.rb
41
41
  - lib/netzke/basepack/columns.rb
42
42
  - lib/netzke/basepack/data_accessor.rb
43
+ - lib/netzke/basepack/data_adapters.rb
43
44
  - lib/netzke/basepack/data_adapters/abstract_adapter.rb
44
45
  - lib/netzke/basepack/data_adapters/active_record_adapter.rb
45
46
  - lib/netzke/basepack/dynamic_tab_panel.rb